Fixed typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2003-12-15 00:14:44 +00:00
parent e5804ce70a
commit ebacd1fe81

View File

@@ -188,7 +188,7 @@ bool wxRegExImpl::Compile(const wxString& expr, int flags)
// compile it
#ifdef wx_wchar
int errorcode = wx_regcomp(&m_RegEx, expr, expr.Length(), REG_ADVANCED);
int errorcode = wx_regcomp(&m_RegEx, expr, expr.Length(), flagsRE);
#else
int errorcode = regcomp(&m_RegEx, expr.mb_str(), flagsRE);
#endif