wx: fix compilation, + operator doesn't know what to do with string literals

This commit is contained in:
riccardom 2010-12-31 15:27:19 +00:00
parent 5fa4217abf
commit e82f680e48
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ bool Desmume::OnInit()
#endif #endif
SetAppName(_T("desmume")); SetAppName(_T("desmume"));
wxString iniFileName = wxPathOnly(wxStandardPaths::Get().GetExecutablePath()) + "\\desmume.ini"; wxString iniFileName = wxPathOnly(wxStandardPaths::Get().GetExecutablePath()) + _T("\\desmume.ini");
wxConfigBase *pConfig = new wxFileConfig(wxEmptyString,wxEmptyString,iniFileName,wxEmptyString,wxCONFIG_USE_LOCAL_FILE | wxCONFIG_USE_RELATIVE_PATH); wxConfigBase *pConfig = new wxFileConfig(wxEmptyString,wxEmptyString,iniFileName,wxEmptyString,wxCONFIG_USE_LOCAL_FILE | wxCONFIG_USE_RELATIVE_PATH);
wxConfigBase::Set(pConfig); wxConfigBase::Set(pConfig);
wxString emu_version(EMU_DESMUME_NAME_AND_VERSION(), wxConvUTF8); wxString emu_version(EMU_DESMUME_NAME_AND_VERSION(), wxConvUTF8);