Use the correct accelerator for the "Preferences" Apple menu item.
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
This commit is contained in:
@@ -533,7 +533,8 @@ void wxMenuBar::Init()
|
|||||||
#if !wxOSX_USE_CARBON
|
#if !wxOSX_USE_CARBON
|
||||||
if ( wxApp::s_macPreferencesMenuItemId != wxID_NONE )
|
if ( wxApp::s_macPreferencesMenuItemId != wxID_NONE )
|
||||||
{
|
{
|
||||||
m_appleMenu->Append( wxApp::s_macPreferencesMenuItemId, "Preferences..." );
|
m_appleMenu->Append( wxApp::s_macPreferencesMenuItemId,
|
||||||
|
"Preferences...\tCtrl+," );
|
||||||
m_appleMenu->AppendSeparator();
|
m_appleMenu->AppendSeparator();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user