]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/studio/mainfrm.cpp
reSWIGged for new runtime, etc.
[wxWidgets.git] / contrib / samples / ogl / studio / mainfrm.cpp
index 4000fc7e02bbcb594f291977c68bd18fff33ddce..3f4ab32ae551968e5ed5f2e378de5c9704f5b676 100644 (file)
@@ -141,10 +141,11 @@ void csFrame::OnCloseWindow(wxCloseEvent& event)
     wxDocMDIParentFrame::OnCloseWindow(event);
 }
 
-void csFrame::OnSize(wxSizeEvent& WXUNUSED(event))
+void csFrame::OnSize(wxSizeEvent& event)
 {
     wxLayoutAlgorithm layout;
     layout.LayoutMDIFrame(this);
+    event.Skip();
 }
 
 // Make sure the correct toolbars are showing for the active view