]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mdi/mdi.cpp
fixed status bar positioning to work both with and without sizers (patch 1199639...
[wxWidgets.git] / samples / mdi / mdi.cpp
index 24f0741ccb4358acc927e15d40dad52e5ae4a2e1..6c521e7a9d8046c6cd92d635e914768426d3b9e5 100644 (file)
@@ -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)
 {