X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c5cd6e9ad02d43ad2d25565d36414c45ff917aa..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/features.h diff --git a/include/wx/features.h b/include/wx/features.h index 14f0f1821a..9d400205f2 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 @@ -37,6 +38,8 @@ || defined(__WXMAC_OSX__) || defined(__WXCOCOA__) #define wxHAS_TASK_BAR_ICON #else + #undef wxUSE_TASKBARICON + #define wxUSE_TASKBARICON 0 #undef wxHAS_TASK_BAR_ICON #endif @@ -59,5 +62,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_ */