]> git.saurik.com Git - wxWidgets.git/commitdiff
OnSize must not be skipped for non-wxX11 platforms
authorJulian Smart <julian@anthemion.co.uk>
Thu, 22 Aug 2002 15:44:34 +0000 (15:44 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 22 Aug 2002 15:44:34 +0000 (15:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/mdi/mdi.cpp

index 06b778e8e4984c6a26278d9cb39322936a40a964..e5833ef4e8deca54f45449928abad42dddee57e8 100644 (file)
@@ -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)