X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1484b5cc701329c54bbe70f2a155119fd86945c7..83448d71476c44b449f09395cda06fa72b19a50e:/contrib/samples/ogl/studio/mainfrm.cpp diff --git a/contrib/samples/ogl/studio/mainfrm.cpp b/contrib/samples/ogl/studio/mainfrm.cpp index 4000fc7e02..3f4ab32ae5 100644 --- a/contrib/samples/ogl/studio/mainfrm.cpp +++ b/contrib/samples/ogl/studio/mainfrm.cpp @@ -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