fixed MSW crashes when choosing Exit in popup menu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-07-18 21:58:28 +00:00
parent fdc2232aba
commit d5690a21e3

View File

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