X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..6aa3ea889af9d1da98061a2ddad0550105703b73:/include/wx/encconv.h diff --git a/include/wx/encconv.h b/include/wx/encconv.h index 13dc535342..84d2677175 100644 --- a/include/wx/encconv.h +++ b/include/wx/encconv.h @@ -15,6 +15,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_FONTMAP + #include "wx/object.h" #include "wx/fontenc.h" #include "wx/dynarray.h" @@ -44,7 +47,7 @@ enum // types // ---------------------------------------------------------------------------- -WX_DEFINE_ARRAY(wxFontEncoding, wxFontEncodingArray); +WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); //-------------------------------------------------------------------------------- // wxEncodingConverter @@ -147,5 +150,6 @@ class WXDLLEXPORT wxEncodingConverter : public wxObject }; +#endif // wxUSE_FONTMAP #endif // _WX_ENCCONV_H_