From c3b7706c4f3c34dfe552726c4438a1565a9944b0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 11 Aug 2005 13:29:28 +0000 Subject: [PATCH] don't override OnIconized() in the sample, the bug this was working around is now fixed in wxMSW itself git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/mdi/mdi.cpp | 7 ------- samples/mdi/mdi.h | 1 - 2 files changed, 8 deletions(-) diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index 24f0741ccb..6c521e7a9d 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -72,7 +72,6 @@ BEGIN_EVENT_TABLE(MyFrame, wxMDIParentFrame) EVT_MENU(MDI_QUIT, MyFrame::OnQuit) EVT_CLOSE(MyFrame::OnClose) - EVT_ICONIZE(MyFrame::OnIconize) EVT_SIZE(MyFrame::OnSize) END_EVENT_TABLE() @@ -301,12 +300,6 @@ void MyFrame::OnSize(wxSizeEvent& #endif } -void MyFrame::OnIconize(wxIconizeEvent& event) -{ - wxSizeEvent e; - OnSize (e) ; -} - #if wxUSE_TOOLBAR void MyFrame::InitToolBar(wxToolBar* toolBar) { diff --git a/samples/mdi/mdi.h b/samples/mdi/mdi.h index 62e3551f24..d0d6c422e1 100644 --- a/samples/mdi/mdi.h +++ b/samples/mdi/mdi.h @@ -46,7 +46,6 @@ public: void InitToolBar(wxToolBar* toolBar); void OnSize(wxSizeEvent& event); - void OnIconize(wxIconizeEvent& event); void OnAbout(wxCommandEvent& event); void OnNewWindow(wxCommandEvent& event); void OnQuit(wxCommandEvent& event); -- 2.50.0