From: Vadim Zeitlin Date: Sun, 11 Mar 2007 23:15:17 +0000 (+0000) Subject: use wxConvLibc, not wxConvCurrent, with regerror() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6d50049a5c4a04f10df683482b51e10c2d65ef84 use wxConvLibc, not wxConvCurrent, with regerror() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/regex.cpp b/src/common/regex.cpp index 2e0068f0a3..7217296d2f 100644 --- a/src/common/regex.cpp +++ b/src/common/regex.cpp @@ -249,7 +249,7 @@ wxString wxRegExImpl::GetErrorMsg(int errorcode, bool badconv) const (void)wx_regerror(errorcode, &m_RegEx, szcmbError, len); - szError = wxConvertMB2WX(szcmbError); + szError = wxConvLibc.cMB2WX(szcmbError); delete [] szcmbError; } else // regerror() returned 0