Put Services submenu into the Apple menu on OS X.

Native applications have a Services submenu in the apple menu.  wx
applications didn't until now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2013-11-17 18:02:13 +00:00
parent 6027243d2d
commit 857281b6b9
3 changed files with 13 additions and 1 deletions

View File

@@ -615,6 +615,9 @@ static wxMenu *CreateAppleMenu()
appleMenu->AppendSeparator();
}
appleMenu->Append(wxID_OSX_SERVICES, _("Services"), new wxMenu());
appleMenu->AppendSeparator();
// standard menu items, handled in wxMenu::HandleCommandProcess(), see above:
wxString hideLabel;
hideLabel = wxString::Format(_("Hide %s"), wxTheApp ? wxTheApp->GetAppDisplayName() : _("Application"));