> >When I try to close the TopWindow Frame it would have to call the
> >EVT_QUERY_END_SESSION, don't?
> >
> >What I'm doing wrong?
> >
> > use Wx ;
> > use Wx::Event qw(EVT_QUERY_END_SESSION) ;
> >
> > EVT_QUERY_END_SESSION( $app , \&OnTryExit ) ;
> >
> >But the sub OnTryExit() was never called!
>
> use:
> use Wx::Event qw(EVT_CLOSE);
> EVT_CLOSE($app, \&OnTryExit);
This doesn't work too!I tried this 3 events and nothing:
EVT_END_SESSION EVT_QUERY_END_SESSION EVT_CLOSE
I'm using wxPerl 0.11 (final release) and Perl-5.8.0
Graciliano M. P.
|