Fixed compilation of OGL samples

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-08-17 11:14:08 +00:00
parent c80217d107
commit 34f7e40fa9
13 changed files with 435 additions and 381 deletions

View File

@@ -150,8 +150,6 @@ void csFrame::OnSize(wxSizeEvent& event)
// Make sure the correct toolbars are showing for the active view
void csFrame::OnIdle(wxIdleEvent& event)
{
wxDocMDIParentFrame::OnIdle(event);
wxSashLayoutWindow* paletteWin = wxGetApp().GetDiagramPaletteSashWindow();
wxSashLayoutWindow* diagramToolBarWin = wxGetApp().GetDiagramToolBarSashWindow();
if (!paletteWin || !diagramToolBarWin)
@@ -201,6 +199,7 @@ void csFrame::OnIdle(wxIdleEvent& event)
#endif
#endif
}
event.Skip();
}
// General handler for disabling items