From f81f59012de49a6d6e1d760d245e802592c1d65f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 24 Aug 2004 19:30:13 +0000 Subject: [PATCH] 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 --- src/common/strconv.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2