git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-04-21 19:17:34 +00:00
parent f9bcbc2e9c
commit 076d7d4005

View File

@@ -111,6 +111,11 @@ void MyTaskBarIcon::OnMenuRestore(wxCommandEvent& )
void MyTaskBarIcon::OnMenuExit(wxCommandEvent& )
{
dialog->Close(TRUE);
// Nudge wxWindows into destroying the dialog, since
// with a hidden window no messages will get sent to put
// it into idle processing.
wxGetApp().ProcessIdle();
}