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
This commit is contained in:
Vadim Zeitlin
2005-08-11 13:29:28 +00:00
parent 6bbe97b71d
commit c3b7706c4f
2 changed files with 0 additions and 8 deletions

View 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)
{

View File

@@ -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);