X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c550516dd99c384eb376c9b9a51f92b1cd19e1a..179dbf40de2fb6268b85374552a9bf3084c7aab9:/tests/streams/sstream.cpp diff --git a/tests/streams/sstream.cpp b/tests/streams/sstream.cpp index 4e58062e84..3d65dd7eae 100644 --- a/tests/streams/sstream.cpp +++ b/tests/streams/sstream.cpp @@ -4,7 +4,7 @@ // Author: Vadim Zeitlin // RCS-ID: $Id$ // Copyright: (c) 2004 Vadim Zeitlin -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx/wx.h". @@ -106,7 +106,7 @@ void strStream::CheckString(const wxString& text) { wxStringOutputStream sos; - const wxScopedCharBuffer buf(text.mb_str()); + const wxCharBuffer buf(text.To8BitData()); sos.Write(buf, buf.length()); CPPUNIT_ASSERT_EQUAL( text, sos.GetString() );