X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63fec618dcf7313de03a6912b9e0d3f5c5c6535a..6f34921d9369a31de14e4b07e4824e2d701710f0:/src/common/framecmn.cpp diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 59e2c3c868..e76404c9c9 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -3,12 +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" + +// wxGTK is a special case because it doesn't use the generic wxMenuItem +// class, but it's own (already defined in wx/menu.h) one +#ifndef __WXGTK__ + #include "wx/menuitem.h" +#endif //WXGTK + +void wxFrame::OnIdle(wxIdleEvent& WXUNUSED(event) ) { DoMenuUpdates(); }