]> git.saurik.com Git - wxWidgets.git/commitdiff
Do not use GTKIsUsingGlobalMenu when compiled against gtk1.x
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 29 Nov 2012 07:00:39 +0000 (07:00 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 29 Nov 2012 07:00:39 +0000 (07:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/framecmn.cpp

index 29cc46a368f2af2cddf0921268f971831e3681f8..f050c1eb8403799505cc8feb6574f6aa48f397b4 100644 (file)
@@ -59,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__