X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/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_