git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65765
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxUnusedVar(convMem);
if ( !convFile )
convFile = &wxConvUTF8;
-#if 1
- // JACS test
- const wxWX2MBbuf buf(str.mb_str(*convFile));
- if (!buf.length())
- return false;
-
- stream.Write((const char*)buf, strlen((const char*)buf));
-#else
+
const wxScopedCharBuffer buf(str.mb_str(*convFile));
if ( !buf.length() )
{
}
stream.Write(buf, buf.length());
-#endif
-
#else // !wxUSE_UNICODE
if ( convFile && convMem )
{