From 23c6ddc89c834bf5e75afd316f9a0e2c703efdd0 Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Fri, 1 Oct 2004 02:49:16 +0000 Subject: [PATCH] only do the seperator between about and preferences on 10.3 and up git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/menu.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index c56f39efa6..dc06d386d0 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -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 ) ; -- 2.47.2