#ifndef _WX_ENCCONV_H_
#define _WX_ENCCONV_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "encconv.h"
#endif
#include "wx/defs.h"
+
+#if wxUSE_FONTMAP
+
#include "wx/object.h"
#include "wx/fontenc.h"
#include "wx/dynarray.h"
// types
// ----------------------------------------------------------------------------
-WX_DEFINE_ARRAY(wxFontEncoding, wxFontEncodingArray);
+WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray);
//--------------------------------------------------------------------------------
// wxEncodingConverter
};
+#endif // wxUSE_FONTMAP
#endif // _WX_ENCCONV_H_