corrected wxUSE_UNICODE conditional compilation tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
87ec9b8f6f
commit
79f2eb8055
@ -49,7 +49,7 @@
|
||||
|
||||
#include "wx/regex.h"
|
||||
|
||||
#ifdef wxUSE_UNICODE
|
||||
#if wxUSE_UNICODE
|
||||
#define regerror wx_regerror
|
||||
#define regfree wx_regfree
|
||||
#endif
|
||||
@ -266,7 +266,7 @@ bool wxRegExImpl::Matches(const wxChar *str, int flags) const
|
||||
}
|
||||
|
||||
// do match it
|
||||
#ifdef wxUSE_UNICODE
|
||||
#if wxUSE_UNICODE
|
||||
rm_detail_t rd;
|
||||
int rc = wx_regexec(&self->m_RegEx, str, wxStrlen(str), &rd, m_nMatches, m_Matches, flagsRE);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user