]> git.saurik.com Git - wxWidgets.git/commitdiff
Use the correct accelerator for the "Preferences" Apple menu item.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 25 Oct 2010 20:46:18 +0000 (20:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 25 Oct 2010 20:46:18 +0000 (20:46 +0000)
Use the standard Command-, accelerator for the standard "Preferences" item in
the Apple menu.

Closes #12121.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/menu_osx.cpp

index 3c8220ef75b15424962b5eb909499ef09bedd743..c10dba486ec64294c524a93c0ebc11e8d4f87cd9 100644 (file)
@@ -533,7 +533,8 @@ void wxMenuBar::Init()
 #if !wxOSX_USE_CARBON
     if ( wxApp::s_macPreferencesMenuItemId != wxID_NONE )
     {
-        m_appleMenu->Append( wxApp::s_macPreferencesMenuItemId, "Preferences..." );
+        m_appleMenu->Append( wxApp::s_macPreferencesMenuItemId,
+                             "Preferences...\tCtrl+," );
         m_appleMenu->AppendSeparator();
     }