use wxConvLibc, not wxConvCurrent, with regerror()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
92f4e151a6
commit
6d50049a5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user