X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/439b3bf1f5c9a92218d84d6b8bfacb4d07a50829..6f34921d9369a31de14e4b07e4824e2d701710f0:/src/common/framecmn.cpp?ds=sidebyside diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 19985714d3..e76404c9c9 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -8,9 +8,23 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +// 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& event) +void wxFrame::OnIdle(wxIdleEvent& WXUNUSED(event) ) { DoMenuUpdates(); }