]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mdi/mdi.cpp
Script updates
[wxWidgets.git] / 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)