Commit 3cc37e83 authored by Jerry Jacobs's avatar Jerry Jacobs

Fix the mac application menubar preferences default OS X shortcut

parent 2571080e
......@@ -401,15 +401,17 @@ void SCH_EDIT_FRAME::ReCreateMenuBar()
palette_xpm );
// Options (Preferences on WXMAC)
ADD_MENUITEM_WITH_HELP( preferencesMenu,
wxID_PREFERENCES,
#ifdef __WXMAC__
_( "&Preferences..." ),
preferencesMenu->Append(wxID_PREFERENCES);
#else
ADD_MENUITEM_WITH_HELP( preferencesMenu,
wxID_PREFERENCES,
_( "&Options" ),
#endif // __WXMAC__
_( "EESchema preferences" ),
preference_xpm );
#endif // __WXMAC__
// Language submenu
wxGetApp().AddMenuLanguageList( preferencesMenu );
......
......@@ -133,15 +133,17 @@ void GERBVIEW_FRAME::ReCreateMenuBar( void )
layers_manager_xpm );
// Options (Preferences on WXMAC)
ADD_MENUITEM_WITH_HELP( configMenu,
wxID_PREFERENCES,
#ifdef __WXMAC__
_( "Preferences..." ),
configMenu->Append(wxID_PREFERENCES);
#else
ADD_MENUITEM_WITH_HELP( configMenu,
wxID_PREFERENCES,
_( "&Options" ),
#endif // __WXMAC__
_( "Set options to draw items" ),
preference_xpm );
#endif // __WXMAC__
// Language submenu
wxGetApp().AddMenuLanguageList( configMenu );
......
......@@ -497,17 +497,16 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
configmenu->Append( item );
// General
item = new wxMenuItem( configmenu, wxID_PREFERENCES,
#ifdef __WXMAC__
_( "&Preferences..." ),
configmenu->Append(wxID_PREFERENCES);
#else
item = new wxMenuItem( configmenu, wxID_PREFERENCES,
_( "&General" ),
#endif
_( "Select general options for PCBnew" ) );
SET_BITMAP( preference_xpm );
configmenu->Append( item );
#endif
// Display
item = new wxMenuItem( configmenu, ID_PCB_DISPLAY_OPTIONS_SETUP,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment