X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd916794f0569dae37121d8eea77464e12e8e0f4..0e878cfcc6486c7903ae89b316bc71700320199d:/src/common/textcmn.cpp diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index c7bb1f7f46..437334ff5d 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -173,7 +173,7 @@ bool wxTextCtrlBase::SaveFile(const wxString& filename) } #if wxUSE_FFILE - wxFFile file(filename, "w"); + wxFFile file(filename, _T("w")); if ( file.IsOpened() && file.Write(GetValue()) ) { // it's not modified any longer