diff --git a/src/common/file.cpp b/src/common/file.cpp index 2405ed9822..45ab8ade8c 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -367,7 +367,7 @@ wxFileOffset wxFile::Seek(wxFileOffset ofs, wxSeekMode mode) int origin; switch ( mode ) { default: - wxFAIL_MSG(_("unknown seek origin")); + wxFAIL_MSG(_T("unknown seek origin")); case wxFromStart: origin = SEEK_SET; @@ -459,7 +459,7 @@ bool wxFile::Eof() const else if ( iRc == wxInvalidOffset ) wxLogSysError(_("can't determine if the end of file is reached on descriptor %d"), m_fd); else - wxFAIL_MSG(_("invalid eof() return value.")); + wxFAIL_MSG(_T("invalid eof() return value.")); return true; } diff --git a/src/common/textbuf.cpp b/src/common/textbuf.cpp index 8c7253e8b6..17e00fac41 100644 --- a/src/common/textbuf.cpp +++ b/src/common/textbuf.cpp @@ -226,7 +226,7 @@ wxTextFileType wxTextBuffer::GuessType() const case wxTextFileType_Unix: nUnix++; break; \ case wxTextFileType_Dos: nDos++; break; \ case wxTextFileType_Mac: nMac++; break; \ - default: wxFAIL_MSG(_("unknown line terminator")); \ + default: wxFAIL_MSG(_T("unknown line terminator")); \ } size_t n;