diff --git a/tests/streams/sstream.cpp b/tests/streams/sstream.cpp index 4e58062e84..f345a926df 100644 --- a/tests/streams/sstream.cpp +++ b/tests/streams/sstream.cpp @@ -106,7 +106,7 @@ void strStream::CheckString(const wxString& text) { wxStringOutputStream sos; - const wxScopedCharBuffer buf(text.mb_str()); + const wxCharBuffer buf(text.mb_str()); sos.Write(buf, buf.length()); CPPUNIT_ASSERT_EQUAL( text, sos.GetString() );