X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63fec618dcf7313de03a6912b9e0d3f5c5c6535a..eeccd5d94ce6b11f36af95db4ac528a2e2e0c4c5:/src/common/framecmn.cpp diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 59e2c3c868..aa326ecdf8 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -3,15 +3,28 @@ // Purpose: common (for all platforms) wxFrame functions // Author: Julian Smart, Vadim Zeitlin // Created: 01/02/97 -// Id: +// Id: $Id$ // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -void wxFrame::OnIdle(wxIdleEvent& event) +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#include "wx/frame.h" +#include "wx/menu.h" +#include "wx/menuitem.h" + +#ifndef __WXGTK__ +void wxFrame::OnIdle(wxIdleEvent& WXUNUSED(event) ) { DoMenuUpdates(); } +#endif // update all menus void wxFrame::DoMenuUpdates()