X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..412b97cc9a807ebcecefb403c949597a9f3d2199:/include/wx/features.h?ds=sidebyside diff --git a/include/wx/features.h b/include/wx/features.h index dbf93b4ff7..637a50e77c 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -60,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_ */