#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
// 8bit encodings/charsets. It can also convert from/to Unicode
//--------------------------------------------------------------------------------
-class WXDLLEXPORT wxEncodingConverter : public wxObject
+class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject
{
public:
wxEncodingConverter();
~wxEncodingConverter() { if (m_Table) delete[] m_Table; }
- // Initialize convertion. Both output or input encoding may
+ // Initialize conversion. Both output or input encoding may
// be wxFONTENCODING_UNICODE, but only if wxUSE_WCHAR_T is set to 1.
//
// All subsequent calls to Convert() will interpret it's argument
bool m_UnicodeInput, m_UnicodeOutput;
bool m_JustCopy;
+ DECLARE_NO_COPY_CLASS(wxEncodingConverter)
};
+#endif // wxUSE_FONTMAP
#endif // _WX_ENCCONV_H_