Re: SlashScreen and Exit Event

2010-10-28 Thread Alexander
Thank you Mark, My mistake was that I tried this construction: $splash->GetSplashWindow->PushEventHandler($closehandler);

Re: SlashScreen and Exit Event

2010-10-27 Thread Mark Dootson
Hi, You could catch the close event in the same manner you use to catch mouse events, although you'll need to catch the close event for the Wx::Frame. e.g. my $mouseevthandler = Wx::EvtHandler->new; EVT_MOUSE_EVENTS($evthandler, sub { 1 } ); my $closeevthandler = Wx::EvtHandler->new; EVT_C