fix SF bug 1236365 (tested in VC only)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott 2005-07-27 08:49:08 +00:00
parent a8f84bcded
commit 77380b5cba
2 changed files with 8 additions and 1 deletions

View File

@ -72,7 +72,7 @@ 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,6 +301,12 @@ 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,6 +46,7 @@ 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);