]> git.saurik.com Git - wxWidgets.git/commitdiff
OSX only (a runtime check would be preferable as Kevin mentioned
authorRyan Norton <wxprojects@comcast.net>
Fri, 1 Oct 2004 03:09:42 +0000 (03:09 +0000)
committerRyan Norton <wxprojects@comcast.net>
Fri, 1 Oct 2004 03:09:42 +0000 (03:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/menu.cpp

index dc06d386d0d37ff13a38dc953df51e91bda44490..1f7242fb2efbf7e9a47cbc13c2c0f0b8b54a26b9 100644 (file)
@@ -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 )
+//RN: under 10.3 it is a standard to include a seperator between About and Preferences
+//    10.2 and less are inconsistant about this, but in the interest of being more
+//    consistant with future OS's, we're choosing to include the seperator.
+#if TARGET_API_MAC_OSX
     MacInsertMenuItem( appleMenu , "\p-" , 0 ) ;
 #endif