[Scummvm-cvs-logs] SF.net SVN: scummvm:[43374] tools/branches/gsoc2009-gui/gui/main.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Fri Aug 14 18:38:09 CEST 2009
Revision: 43374
http://scummvm.svn.sourceforge.net/scummvm/?rev=43374&view=rev
Author: fingolfin
Date: 2009-08-14 16:38:08 +0000 (Fri, 14 Aug 2009)
Log Message:
-----------
Fix help menu item on OS X
Modified Paths:
--------------
tools/branches/gsoc2009-gui/gui/main.cpp
Modified: tools/branches/gsoc2009-gui/gui/main.cpp
===================================================================
--- tools/branches/gsoc2009-gui/gui/main.cpp 2009-08-14 16:32:07 UTC (rev 43373)
+++ tools/branches/gsoc2009-gui/gui/main.cpp 2009-08-14 16:38:08 UTC (rev 43374)
@@ -167,10 +167,14 @@
void ScummToolsFrame::CreateMenuBar() {
wxMenuBar *menubar = new wxMenuBar();
+#ifdef __WXMAC__
+ wxApp::s_macHelpMenuTitleName = "Help";
+#endif
+
// Name of this seems really inappropriate
wxMenu *helpmenu = new wxMenu();
//filemenu->Append(wxID_PREFERENCES, wxT("&Preferences"));
- helpmenu->Append(wxID_HELP, wxT("&Help"));
+ helpmenu->Append(wxID_HELP, wxT("Help"));
helpmenu->Append(wxID_ABOUT, wxT("&About ") + wxGetApp().GetAppName());
menubar->Append(helpmenu, wxT("Help"));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list