]> git.saurik.com Git - wxWidgets.git/commitdiff
debug messages don't need translation
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 21 May 2007 14:27:16 +0000 (14:27 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 21 May 2007 14:27:16 +0000 (14:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/file.cpp
src/common/textbuf.cpp

index 2405ed9822351387f6f1423cf403732a4160ca86..45ab8ade8cff914a09e1f0602eaa2f6bc3ec17a5 100644 (file)
@@ -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;
 }
index 8c7253e8b666daeb0bc96bb958b1161a35a733ea..17e00fac4194717050a0eb14e802d38714b28d07 100644 (file)
@@ -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;