// to create a font of non-standard encoding (like KOI8) under Windows - the
// facename specifies the encoding then)
-struct wxNativeEncodingInfo
+struct WXDLLEXPORT wxNativeEncodingInfo
{
wxString facename; // may be empty meaning "any"
-#if defined(__WXMSW__)
+#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXMAC__)
wxNativeEncodingInfo() { charset = 0; /* ANSI_CHARSET */ }
int charset;