From: Ryan Norton <wxprojects@comcast.net>
Date: Mon, 15 Dec 2003 00:14:44 +0000 (+0000)
Subject: Fixed typo
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ebacd1fe81ff3a493980d4263826c2bc095d88e8

Fixed typo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/common/regex.cpp b/src/common/regex.cpp
index f499c1628d..2efc4a026b 100644
--- a/src/common/regex.cpp
+++ b/src/common/regex.cpp
@@ -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