X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e758b8f74153e43b785e6e9d1d014e51c752f35f..7c99eaa1f887bbde4e8cd45d9e8f34c62240f629:/src/common/framecmn.cpp diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index edb60fb2c9..f050c1eb84 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -26,6 +26,7 @@ #include "wx/frame.h" #ifndef WX_PRECOMP + #include "wx/app.h" #include "wx/menu.h" #include "wx/menuitem.h" #include "wx/dcclient.h" @@ -58,7 +59,7 @@ bool wxFrameBase::ShouldUpdateMenuFromIdle() // check if we're using the global menu bar as we don't get EVT_MENU_OPEN // for it and need to fall back to idle time updating even if normally // wxUSE_IDLEMENUUPDATES is set to 0 for wxGTK. -#ifdef __WXGTK__ +#ifdef __WXGTK20__ if ( wxApp::GTKIsUsingGlobalMenu() ) return true; #endif // !__WXGTK__