X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2059910d0ba5e3b581ba94bc0c31c03197802a62..3e33568e0bd8416417916d194fc9a50cab9636bf:/src/common/textfile.cpp?ds=inline diff --git a/src/common/textfile.cpp b/src/common/textfile.cpp index 79d837f631..4c7d4c330c 100644 --- a/src/common/textfile.cpp +++ b/src/common/textfile.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 03.04.98 -// RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -64,7 +63,7 @@ bool wxTextFile::OnOpen(const wxString &strBufferName, wxTextBufferOpenMode Open switch ( OpenMode ) { default: - wxFAIL_MSG( _T("unknown open mode in wxTextFile::Open") ); + wxFAIL_MSG( wxT("unknown open mode in wxTextFile::Open") ); // fall through case ReadAccess : @@ -89,7 +88,7 @@ bool wxTextFile::OnClose() bool wxTextFile::OnRead(const wxMBConv& conv) { // file should be opened - wxASSERT_MSG( m_file.IsOpened(), _T("can't read closed file") ); + wxASSERT_MSG( m_file.IsOpened(), wxT("can't read closed file") ); // read the entire file in memory: this is not the most efficient thing to // do it but there is no good way to avoid it in Unicode build because if @@ -124,7 +123,7 @@ bool wxTextFile::OnRead(const wxMBConv& conv) return false; // if the file is seekable, also check that we're at its beginning - wxASSERT_MSG( m_file.Tell() == 0, _T("should be at start of file") ); + wxASSERT_MSG( m_file.Tell() == 0, wxT("should be at start of file") ); char *dst = buf.data(); for ( size_t nRemaining = bufSize; nRemaining > 0; ) @@ -156,7 +155,7 @@ bool wxTextFile::OnRead(const wxMBConv& conv) } wxASSERT_MSG( dst - buf.data() == (wxFileOffset)bufSize, - _T("logic error") ); + wxT("logic error") ); } else // file is not seekable {