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:
parent
a8f84bcded
commit
77380b5cba
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user