From: Gilles Depeyrot Date: Sun, 13 May 2001 13:09:41 +0000 (+0000) Subject: applied SourceForge patch #423532 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/82ca6dbcf42b5ce574a34144c8e8f47990f05821?ds=inline applied SourceForge patch #423532 ensure that menus appear correctly under Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index 621494b83d..fe599686ad 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -56,7 +56,11 @@ const short kwxMacAppleMenuId = 1 ; // Construct a menu with optional title (then use append) +#ifdef __UNIX__ +short wxMenu::s_macNextMenuId = 3 ; +#else short wxMenu::s_macNextMenuId = 2 ; +#endif void wxMenu::Init() { diff --git a/src/mac/menu.cpp b/src/mac/menu.cpp index 621494b83d..fe599686ad 100644 --- a/src/mac/menu.cpp +++ b/src/mac/menu.cpp @@ -56,7 +56,11 @@ const short kwxMacAppleMenuId = 1 ; // Construct a menu with optional title (then use append) +#ifdef __UNIX__ +short wxMenu::s_macNextMenuId = 3 ; +#else short wxMenu::s_macNextMenuId = 2 ; +#endif void wxMenu::Init() {