]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/features.h
Prevent seg fault for older GTK+
[wxWidgets.git] / include / wx / features.h
index dbf93b4ff733839825e07ffc9cfb9896827feb8c..13fb102e924cc67cb9d294a308cc80fe33562b96 100644 (file)
     #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_ */