unicode wxMac CW fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -580,7 +580,13 @@ inline static void OutputString(wxOutputStream& stream, const wxString& str,
|
|||||||
{
|
{
|
||||||
if (str.IsEmpty()) return;
|
if (str.IsEmpty()) return;
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
const wxWX2MBbuf buf(str.mb_str(convFile ? *convFile : wxConvUTF8));
|
const wxWX2MBbuf buf(str.mb_str(
|
||||||
|
#ifdef __MWERKS__
|
||||||
|
*(convFile ? convFile : &wxConvUTF8)
|
||||||
|
#else
|
||||||
|
convFile ? *convFile : wxConvUTF8
|
||||||
|
#endif
|
||||||
|
));
|
||||||
stream.Write((const char*)buf, strlen((const char*)buf));
|
stream.Write((const char*)buf, strlen((const char*)buf));
|
||||||
#else
|
#else
|
||||||
if ( convFile == NULL )
|
if ( convFile == NULL )
|
||||||
|
Reference in New Issue
Block a user