X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32c479fdf18dabe2719ea0a15ee2feae7d81a088..b5d43d1d73da3d4c690af39466fd1d73889df2db:/include/wx/features.h diff --git a/include/wx/features.h b/include/wx/features.h index c3341f0a95..fec65015ba 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -38,7 +38,7 @@ #endif /* taskbar is only implemented in wxMSW and X11 ports */ -#if defined(__WXMSW__) || defined(__DARWIN__) || \ +#if defined(__WXMSW__) || \ defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXX11__) #define wxHAS_TASK_BAR_ICON #else @@ -56,5 +56,13 @@ #undef wxHAS_CRASH_REPORT #endif +/* wxRE_ADVANCED is not always available, depending on regex library used + * (it's unavailable only if compiling via configure against system library) */ +#ifndef WX_NO_REGEX_ADVANCED + #define wxHAS_REGEX_ADVANCED +#else + #undef wxHAS_REGEX_ADVANCED +#endif + #endif /* _WX_FEATURES_H_ */