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
This commit is contained in:
@@ -1785,6 +1785,8 @@ size_t wxCSConv::WC2MB(char *buf, const wchar_t *psz, size_t n) const
|
|||||||
|
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
static wxMBConv_win32 wxConvLibcObj;
|
static wxMBConv_win32 wxConvLibcObj;
|
||||||
|
#elif defined(__WXMAC__) && !defined(__MACH__)
|
||||||
|
static wxMBConv_mac wxConvLibcObj ;
|
||||||
#else
|
#else
|
||||||
static wxMBConvLibc wxConvLibcObj;
|
static wxMBConvLibc wxConvLibcObj;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user