#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
#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_ */