]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/regex.cpp
extract setters from wxHeaderColumnBase into a separate wxSettableHeaderColumn class...
[wxWidgets.git] / src / common / regex.cpp
index 7a7029c8b562846622156fb0598ffcf16ed6e797..40dff4df7073d021a788530f5c15462fe759a2db 100644 (file)
@@ -378,7 +378,7 @@ static int ReSearch(const regex_t *preg,
                     re_registers *matches,
                     int eflags)
 {
-    regex_t *pattern = wx_const_cast(regex_t*, preg);
+    regex_t *pattern = const_cast<regex_t*>(preg);
 
     pattern->not_bol = (eflags & REG_NOTBOL) != 0;
     pattern->not_eol = (eflags & REG_NOTEOL) != 0;