// 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".
{
wxStringOutputStream sos;
- const wxScopedCharBuffer buf(text.mb_str());
+ const wxCharBuffer buf(text.To8BitData());
sos.Write(buf, buf.length());
CPPUNIT_ASSERT_EQUAL( text, sos.GetString() );