]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/menu.cpp
fixed fatal bug when moving the control after itself in tab order
[wxWidgets.git] / src / mac / carbon / menu.cpp
index 1aab98b958183f8bf0d71f34fef6205d3d5db296..37e4141243a6f47951472945a1a52867506d458c 100644 (file)
@@ -550,6 +550,14 @@ void wxMenuBar::MacInstallMenuBar()
 
     verify_noerr( CreateNewMenu( kwxMacAppleMenuId , 0 , &appleMenu ) ) ;
     verify_noerr( SetMenuTitle( appleMenu , (ConstStr255Param) appleMenuTitle ) );
+
+    // 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
+
     MacInsertMenuItem( appleMenu , "\pAbout..." , 0 ) ;
     MacInsertMenu( appleMenu , 0 ) ;