X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bddd7a8d8953cf4c09e56c13e1bfcc594ba0267e..b3fcfa4d89d44425ed28050462c6064100fe7b05:/include/wx/regex.h diff --git a/include/wx/regex.h b/include/wx/regex.h index 99197c0bc0..1656008c5a 100644 --- a/include/wx/regex.h +++ b/include/wx/regex.h @@ -12,7 +12,7 @@ #ifndef _WX_REGEX_H_ #define _WX_REGEX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "regex.h" #endif @@ -29,8 +29,13 @@ class WXDLLIMPEXP_BASE wxString; // flags for regex compilation: these can be used with Compile() enum { - // use extended regex syntax (default) + // use extended regex syntax wxRE_EXTENDED = 0, + + // use advanced RE syntax (built-in regex only) +#ifdef wxHAS_REGEX_ADVANCED + wxRE_ADVANCED = 1, +#endif // use basic RE syntax wxRE_BASIC = 2,