X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23c6ddc89c834bf5e75afd316f9a0e2c703efdd0..ef6816ef25f4d5e0ff0100fd7e402419e9c0a794:/src/mac/carbon/menu.cpp diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index dc06d386d0..37e4141243 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -551,8 +551,10 @@ void wxMenuBar::MacInstallMenuBar() verify_noerr( CreateNewMenu( kwxMacAppleMenuId , 0 , &appleMenu ) ) ; verify_noerr( SetMenuTitle( appleMenu , (ConstStr255Param) appleMenuTitle ) ); -//under 10.3 it is a standard to include a seperator between About and Preferences -#if ( MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2 ) + // Add About/Preferences separator only on OS X + // KH/RN: Separator is always present on 10.3 but not on 10.2 + // However, the change from 10.2 to 10.3 suggests it is preferred +#if TARGET_API_MAC_OSX MacInsertMenuItem( appleMenu , "\p-" , 0 ) ; #endif