// 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"
+ wxFontEncoding encoding; // so that we know what this struct represents
+
+#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXMAC__)
+ wxNativeEncodingInfo() { charset = 0; /* ANSI_CHARSET */ }
-#if defined(__WXMSW__)
int charset;
#elif defined(_WX_X_FONTLIKE)
wxString xregistry,