Re: SlashScreen and Exit Event
Thank you Mark, My mistake was that I tried this construction: $splash->GetSplashWindow->PushEventHandler($closehandler);
Re: SlashScreen and Exit Event
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