Fix
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user