X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6688c3fd28581a9f438cb2c56030e107593bb5e..4bc67cc550bcd9d5f93f88ae22a4f6ac7fafb5f7:/src/common/framecmn.cpp diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index e76404c9c9..aa326ecdf8 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -17,17 +17,14 @@ #include "wx/frame.h" #include "wx/menu.h" +#include "wx/menuitem.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(); } +#endif // update all menus void wxFrame::DoMenuUpdates()