]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/features.h
made wxString::Replace, Matches and Find work with any form of string argument
[wxWidgets.git] / include / wx / features.h
index 14f0f1821a2729604ce3b566800b31b30a4ebfb8..13fb102e924cc67cb9d294a308cc80fe33562b96 100644 (file)
@@ -25,7 +25,8 @@
 #endif
 
 /*  the raw keyboard codes are generated under wxGTK and wxMSW only */
-#if defined(__WXGTK__) || defined(__WXMSW__) || defined(__WXMAC__)
+#if defined(__WXGTK__) || defined(__WXMSW__) || defined(__WXMAC__) \
+    || defined(__WXDFB__)
     #define wxHAS_RAW_KEY_CODES
 #else
     #undef wxHAS_RAW_KEY_CODES
     #undef wxHAS_REGEX_ADVANCED
 #endif
 
+/* Pango-based ports and wxDFB use UTF-8 for text and font encodings
+ * internally and so their fonts can handle any encodings: */
+#if wxUSE_PANGO || defined(__WXDFB__)
+    #define wxHAS_UTF8_FONTS
+#endif
+
+/* This is defined when the underlying toolkit handles tab traversal natively.
+   Otherwise we implement it ourselves in wxControlContainer. */
+#ifdef __WXGTK20__
+    #define wxHAS_NATIVE_TAB_TRAVERSAL
+#endif
+
 #endif /*  _WX_FEATURES_H_ */