]> git.saurik.com Git - wxWidgets.git/commitdiff
only do the seperator between about and preferences on 10.3 and up
authorRyan Norton <wxprojects@comcast.net>
Fri, 1 Oct 2004 02:49:16 +0000 (02:49 +0000)
committerRyan Norton <wxprojects@comcast.net>
Fri, 1 Oct 2004 02:49:16 +0000 (02:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/menu.cpp

index c56f39efa6b164b7de30815d4cb65f9743a73bf5..dc06d386d0d37ff13a38dc953df51e91bda44490 100644 (file)
@@ -550,7 +550,12 @@ 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 )
     MacInsertMenuItem( appleMenu , "\p-" , 0 ) ;
+#endif
+
     MacInsertMenuItem( appleMenu , "\pAbout..." , 0 ) ;
     MacInsertMenu( appleMenu , 0 ) ;