OnSize must not be skipped for non-wxX11 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -282,8 +282,13 @@ void MyFrame::OnSize(wxSizeEvent& event)
|
||||
|
||||
textWindow->SetSize(0, 0, 200, h);
|
||||
GetClientWindow()->SetSize(200, 0, w - 200, h);
|
||||
|
||||
|
||||
// FIXME: On wxX11, we need the MDI frame to process this
|
||||
// event, but on other platforms this should not
|
||||
// be done.
|
||||
#ifdef __WXX11__
|
||||
event.Skip();
|
||||
#endif
|
||||
}
|
||||
|
||||
void MyFrame::InitToolBar(wxToolBar* toolBar)
|
||||
|
Reference in New Issue
Block a user