X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7beba2fc73283f5b750227459da57e66bcd475f5..9f303149a0ce649d8ce2fa2f3e1aff97aacd078d:/include/wx/fontutil.h?ds=inline diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index a6b149d018..6eb762401d 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -49,11 +49,14 @@ // 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,