X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c5cd6e9ad02d43ad2d25565d36414c45ff917aa..992527a5738f7fb629d2aaeee64cfc733ddb7e1c:/include/wx/features.h?ds=inline diff --git a/include/wx/features.h b/include/wx/features.h index 14f0f1821a..637a50e77c 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,11 @@ #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 + #endif /* _WX_FEATURES_H_ */