X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90c1d2a19361551eb07778280f22be3e759cf64..270a909e20a2c652fd816ad14407113ad0319c9d:/src/common/textfile.cpp diff --git a/src/common/textfile.cpp b/src/common/textfile.cpp index 95dd05b357..9b35dfd8de 100644 --- a/src/common/textfile.cpp +++ b/src/common/textfile.cpp @@ -64,13 +64,13 @@ const wxChar *wxTextFile::GetEOL(wxTextFileType type) { switch ( type ) { default: - wxFAIL_MSG(T("bad file type in wxTextFile::GetEOL.")); + wxFAIL_MSG(wxT("bad file type in wxTextFile::GetEOL.")); // fall through nevertheless - we must return something... - case wxTextFileType_None: return T(""); - case wxTextFileType_Unix: return T("\n"); - case wxTextFileType_Dos: return T("\r\n"); - case wxTextFileType_Mac: return T("\r"); + case wxTextFileType_None: return wxT(""); + case wxTextFileType_Unix: return wxT("\n"); + case wxTextFileType_Dos: return wxT("\r\n"); + case wxTextFileType_Mac: return wxT("\r"); } }