X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..98c4eb39105531b0316a9d8dbf87d7939e4c4270:/include/wx/features.h 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_ */