From: Jouke V. <jo...@pv...> - 2002-09-05 11:25:57
|
Nope...I'm looking for wxYES, wxNO and wxCANCEL, which should be valid returnvalues for a wxMessageBox (see the wxWindows documentation). wxYES works, but what about wxNO? so...@bl... wrote: >>I've just tried to use the wxNO to check the returnvalue of a >>wxMessageBox, where Perl told me that my 'bareword wxNO' wasn't allowed >>while use strict. Which is perfectly OK, if it weren't the case that i >>had declared use Wx qw(:everything). Changing the check to see if it >>didn't equal wxYES (one way or the other, if you have two possibilities >>to click on, it would give the same result...), the script compiles >>perfectly. >> > >think you're looking for: >wxID_OK and wxID_CANCEL > >hope it helps > >greeting >Marco > > > >------------------------------------------------------- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r_______________________________________________ >wxperl-users mailing list >wxp...@li... >https://lists.sourceforge.net/lists/listinfo/wxperl-users > -- ---------------------------------------------------------------------- | Jouke Visser | http://jouke.pvoice.org (personal) | | | http://www.pvoice.org (pVoice & pStory) | | Perl GUI Geek | http://wxperl.pvoice.org (wxPerl) | ---------------------------------------------------------------------- |