X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c5cd6e9ad02d43ad2d25565d36414c45ff917aa..af57c51ab758ad9810ea5bbb3703341cd5f367b1:/include/wx/features.h diff --git a/include/wx/features.h b/include/wx/features.h index 14f0f1821a..13fb102e92 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -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 @@ -59,5 +60,17 @@ #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_ */