X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/439b3bf1f5c9a92218d84d6b8bfacb4d07a50829..54f04bc0abe1a34979b3879a81bbeab59ef518f4:/src/common/framecmn.cpp 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()