From: Stefan Csomor Date: Tue, 24 Aug 2004 19:30:13 +0000 (+0000) Subject: metrowerks is not implementing the mb calls in libc correctly (always needs correct... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f81f59012de49a6d6e1d760d245e802592c1d65f metrowerks is not implementing the mb calls in libc correctly (always needs correct length param), so we switch to our own conversion code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index ff16d13d00..6623da650c 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -1785,6 +1785,8 @@ size_t wxCSConv::WC2MB(char *buf, const wchar_t *psz, size_t n) const #ifdef __WINDOWS__ static wxMBConv_win32 wxConvLibcObj; +#elif defined(__WXMAC__) && !defined(__MACH__) + static wxMBConv_mac wxConvLibcObj ; #else static wxMBConvLibc wxConvLibcObj; #endif