X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af6c301b9578285c4ec941ee25d50b50fec518a1..a097c93d4feee4f424476b5e8a91a5c1c52e1c1e:/utils/ogl/samples/studio/mainfrm.cpp?ds=inline diff --git a/utils/ogl/samples/studio/mainfrm.cpp b/utils/ogl/samples/studio/mainfrm.cpp index e681b8c5be..eb0560ca41 100644 --- a/utils/ogl/samples/studio/mainfrm.cpp +++ b/utils/ogl/samples/studio/mainfrm.cpp @@ -150,10 +150,8 @@ void csFrame::OnSize(wxSizeEvent& event) // Make sure the correct toolbars are showing for the active view void csFrame::OnIdle(wxIdleEvent& event) { -/* HH: gtk's wxFrame nor wxWindow have an OnIdle method. Is this a bug? */ -#ifndef __WXGTK__ wxDocMDIParentFrame::OnIdle(event); -#endif + wxSashLayoutWindow* paletteWin = wxGetApp().GetDiagramPaletteSashWindow(); wxSashLayoutWindow* diagramToolBarWin = wxGetApp().GetDiagramToolBarSashWindow(); if (!paletteWin || !diagramToolBarWin)