X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..cbab1556578ae39b1f00e0c4f6ca8016ac8124ac:/src/common/sstream.cpp diff --git a/src/common/sstream.cpp b/src/common/sstream.cpp index 740ebbf551..80091ed143 100644 --- a/src/common/sstream.cpp +++ b/src/common/sstream.cpp @@ -37,7 +37,7 @@ // ---------------------------------------------------------------------------- // TODO: Do we want to include the null char in the stream? If so then -// just add +1 to m_len in the ctor +// just add +1 to m_len in the ctor wxStringInputStream::wxStringInputStream(const wxString& s) #if wxUSE_UNICODE // FIXME-UTF8: use wxCharBufferWithLength if we have it @@ -47,7 +47,7 @@ wxStringInputStream::wxStringInputStream(const wxString& s) #endif { #if wxUSE_UNICODE - wxASSERT_MSG(m_buf.data() != NULL, _T("Could not convert string to UTF8!")); + wxASSERT_MSG(m_buf.data() != NULL, wxT("Could not convert string to UTF8!")); #endif m_pos = 0; } @@ -56,9 +56,9 @@ wxStringInputStream::wxStringInputStream(const wxString& s) // getlength // ---------------------------------------------------------------------------- -wxFileOffset wxStringInputStream::GetLength() const -{ - return m_len; +wxFileOffset wxStringInputStream::GetLength() const +{ + return m_len; } // ---------------------------------------------------------------------------- @@ -82,7 +82,7 @@ wxFileOffset wxStringInputStream::OnSysSeek(wxFileOffset ofs, wxSeekMode mode) break; default: - wxFAIL_MSG( _T("invalid seek mode") ); + wxFAIL_MSG( wxT("invalid seek mode") ); return wxInvalidOffset; }