]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/ogl/samples/studio/mainfrm.cpp
Added dummy OnIdle to wxWindow in wxGTK; doc tweaks
[wxWidgets.git] / utils / ogl / samples / studio / mainfrm.cpp
index e681b8c5be15ff2b1e1e7076f8ce5da6645ec7aa..eb0560ca41d7e64d2102731a2822bedd742222e6 100644 (file)
@@ -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)