On MacOSX 10.6 (Snow Leopard) with gcc 4.2.1 (the default compiler) I get the following error during the compilation:
gui/main.cpp: In member function ‘void ScummToolsFrame::CreateMenuBar()’:
gui/main.cpp:238: error: no match for ‘operator=’ in ‘wxApp::s_macHelpMenuTitleName = "Help"’
/usr/include/wx-2.8/wx/string.h:676: note: candidates are: wxString& wxString::operator=(int) <near match>
/usr/include/wx-2.8/wx/string.h:953: note: wxString& wxString::operator=(const wxStringBase&)
/usr/include/wx-2.8/wx/string.h:956: note: wxString& wxString::operator=(wxChar) <near match>
/usr/include/wx-2.8/wx/string.h:964: note: wxString& wxString::operator=(const wxChar*)
/usr/include/wx-2.8/wx/string.h:970: note: wxString& wxString::operator=(const wxWCharBuffer&)
/usr/include/wx-2.8/wx/string.h:660: note: wxString& wxString::operator=(const wxString&)
Using the wxT() macro seems to work: wxApp::s_macHelpMenuTitleName = wxT("Help");
The same code (without the modification) compiles file on MacOS X 10.4 with gcc 4.0
Thanks, fixed.