If I close the app using alt+F4, the app closes, but do I need to handle that close event and close() or destroy() something in that close handler?

I've mentioned this before in reply to a similar message.
This has helped me in the past (many, many versions ago) and I think it's worth a try:

EVT_CLOSE($self, \&OnClose );

sub OnClose {
 my( $self, $event ) = @_;
 $self->Destroy();
 Wx::wxTheApp()->ExitMainLoop;
}

Please let us know if it makes any difference.

Cheers,
Huub Peters

Reply via email to