]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/ogl/samples/studio/mainfrm.cpp
Some OGl updates:
[wxWidgets.git] / utils / ogl / samples / studio / mainfrm.cpp
index 0364cdbd4facf7c8fb11a27d015cc82ea338f94e..eb0560ca41d7e64d2102731a2822bedd742222e6 100644 (file)
@@ -150,7 +150,7 @@ void csFrame::OnSize(wxSizeEvent& event)
 // Make sure the correct toolbars are showing for the active view
 void csFrame::OnIdle(wxIdleEvent& event)
 {
-    wxFrame::OnIdle(event);
+    wxDocMDIParentFrame::OnIdle(event);
 
     wxSashLayoutWindow* paletteWin = wxGetApp().GetDiagramPaletteSashWindow();
     wxSashLayoutWindow* diagramToolBarWin = wxGetApp().GetDiagramToolBarSashWindow();