From: Vadim Zeitlin Date: Fri, 13 Jul 2001 18:59:12 +0000 (+0000) Subject: added wxUSE_REGEX X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/208750a5615834659d2e22a090b96a5d8cf0f6fa added wxUSE_REGEX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 339deef635..01ca99e4c5 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -336,6 +336,14 @@ # endif #endif /* !defined(wxUSE_RADIOBTN) */ +#ifndef wxUSE_REGEX +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_REGEX must be defined." +# else +# define wxUSE_REGEX 0 +# endif +#endif /* !defined(wxUSE_REGEX) */ + #ifndef wxUSE_SASH # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_SASH must be defined." diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index d398e60385..4e8e6215fd 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -386,6 +386,16 @@ // wxSystemOptions class #define wxUSE_SYSTEM_OPTIONS 1 +// Support for regular expression matching via wxRegEx class: enable this to +// use POSIX regular expressions in your code. You need to compile regex +// library from src/regex to use it under Windows. +// +// Default is 0 +// +// Recommended setting: 1 if your compiler supports it, if it doesn't please +// contribute us a makefile for src/regex for it +#define wxUSE_REGEX 0 + // ---------------------------------------------------------------------------- // Individual GUI controls // ----------------------------------------------------------------------------