X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/439b3bf1f5c9a92218d84d6b8bfacb4d07a50829..56b9c74101566aa241d1846a148d3a01980b7431:/src/common/framecmn.cpp?ds=inline diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 19985714d3..aa326ecdf8 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -8,12 +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" +#include "wx/menuitem.h" -void wxFrame::OnIdle(wxIdleEvent& event) +#ifndef __WXGTK__ +void wxFrame::OnIdle(wxIdleEvent& WXUNUSED(event) ) { DoMenuUpdates(); } +#endif // update all menus void wxFrame::DoMenuUpdates()