diff --git a/utils/makegen/makegen.cpp b/utils/makegen/makegen.cpp index 7db8b972a7..424d3257c7 100644 --- a/utils/makegen/makegen.cpp +++ b/utils/makegen/makegen.cpp @@ -83,7 +83,7 @@ bool MakeGenApp::GenerateMakefile(const wxString& filename) wxString fileOutName; fileOutName << m_outdir << _T('/') << filename; - wxFFile fileOut(fileOutName, "w"); + wxFFile fileOut(fileOutName, _T("w")); if ( !fileOut.IsOpened() ) { wxLogError(_T("Makefile '%s' couldn't be generated."), filename.c_str());