From 6d50049a5c4a04f10df683482b51e10c2d65ef84 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 11 Mar 2007 23:15:17 +0000 Subject: [PATCH] use wxConvLibc, not wxConvCurrent, with regerror() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/regex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2