X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..be7a101366995b7b7bb76e3d5b1e7dd8fc9a1af8:/include/wx/fontmap.h diff --git a/include/wx/fontmap.h b/include/wx/fontmap.h index 5957456414..af3e7b5603 100644 --- a/include/wx/fontmap.h +++ b/include/wx/fontmap.h @@ -200,6 +200,13 @@ private: // do NOT use! This is for backward compatibility, use wxFontMapper::Get() instead #define wxTheFontMapper (wxFontMapper::Get()) -#endif // wxUSE_FONTMAP +#else // !wxUSE_FONTMAP + +#if wxUSE_GUI + // wxEncodingToCodepage (utils.cpp) needs wxGetNativeFontEncoding + #include "wx/fontutil.h" +#endif + +#endif // wxUSE_FONTMAP/!wxUSE_FONTMAP #endif // _WX_FONTMAPPER_H_