]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontutil.h
Added methods for folding
[wxWidgets.git] / include / wx / fontutil.h
index a6b149d018d6a959f55b0bd198d151853984e6cf..6eb762401dee2c2ab914dc6be74546293ae0cb17 100644 (file)
 // 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,