summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fd7c5da)
To conform to Apple UI guidelines the application name should be included in
the "About" menu item label in the Apple menu.
See #12121.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65922
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// recommended, sometimes these items really don't make sense.
if ( wxApp::s_macAboutMenuItemId != wxID_NONE )
{
// recommended, sometimes these items really don't make sense.
if ( wxApp::s_macAboutMenuItemId != wxID_NONE )
{
- m_appleMenu->Append( wxApp::s_macAboutMenuItemId, "About..." );
+ wxString aboutLabel("About");
+ if ( wxTheApp )
+ aboutLabel << ' ' << wxTheApp->GetAppDisplayName();
+ else
+ aboutLabel << "...";
+ m_appleMenu->Append( wxApp::s_macAboutMenuItemId, aboutLabel);
m_appleMenu->AppendSeparator();
}
m_appleMenu->AppendSeparator();
}