From: Václav Slavík Date: Sun, 18 Jul 2004 21:58:28 +0000 (+0000) Subject: fixed MSW crashes when choosing Exit in popup menu X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d5690a21e38bc2070a4b2924b23e011a6f32b03c 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 --- diff --git a/samples/taskbar/tbtest.cpp b/samples/taskbar/tbtest.cpp index 00835d7a7d..7b6a80b834 100644 --- a/samples/taskbar/tbtest.cpp +++ b/samples/taskbar/tbtest.cpp @@ -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&)