>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
|