From d5690a21e38bc2070a4b2924b23e011a6f32b03c Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 18 Jul 2004 21:58:28 +0000 Subject: [PATCH] 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 --- samples/taskbar/tbtest.cpp | 5 ----- 1 file changed, 5 deletions(-) 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&) -- 2.50.0