X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..1a6a6043f79b8b12958e6cb09d443213a969507d:/include/wx/fontmap.h diff --git a/include/wx/fontmap.h b/include/wx/fontmap.h index 920733ed35..70691e8afb 100644 --- a/include/wx/fontmap.h +++ b/include/wx/fontmap.h @@ -20,8 +20,14 @@ // headers // ---------------------------------------------------------------------------- +#if wxUSE_FONTMAP + #include "wx/fontenc.h" // for wxFontEncoding +#if wxUSE_GUI + #include "wx/fontutil.h" // for wxNativeEncodingInfo +#endif // wxUSE_GUI + #if wxUSE_CONFIG class WXDLLEXPORT wxConfigBase; #endif // wxUSE_CONFIG @@ -160,6 +166,7 @@ protected: #if wxUSE_CONFIG // config object and path (in it) to use wxConfigBase *m_config; + bool m_configIsDummy; #endif wxString m_configRootPath; @@ -182,4 +189,6 @@ protected: // the default font mapper for wxWindows programs WXDLLEXPORT_DATA(extern wxFontMapper *) wxTheFontMapper; +#endif // wxUSE_FONTMAP + #endif // _WX_FONTMAPPER_H_