X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d427503c3696486ef84cd0e5081884ccd8d6b434..cc985face55ed02c310860afefc8e6d656fb849d:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 7153596262..020bd9be8b 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -517,7 +517,7 @@ const wxMB2WXbuf wxLocale::GetString(const wxChar *szOrigString, return szDomain; const char *pszTrans = NULL; - const wxWX2MBbuf szOrgString = wxConv_libc.cWX2MB(szOrigString); + const wxWX2MBbuf szOrgString = wxConvCurrent->cWX2MB(szOrigString); wxMsgCatalog *pMsgCat; if ( szDomain != NULL ) { @@ -564,7 +564,7 @@ const wxMB2WXbuf wxLocale::GetString(const wxChar *szOrigString, return (wxMB2WXbuf)(szOrigString); } else - return (wxMB2WXbuf)(wxConv_libc.cMB2WX(pszTrans)); + return (wxMB2WXbuf)(wxConvCurrent->cMB2WX(pszTrans)); } // find catalog by name in a linked list, return NULL if !found