X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b68e0b5b90ed63309f02f30e33b884eeaec5a3d..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/font.h diff --git a/include/wx/font.h b/include/wx/font.h index 4afebcc07d..6b1737db51 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -27,6 +27,7 @@ // forward declarations // ---------------------------------------------------------------------------- +class WXDLLEXPORT wxFontData; class WXDLLEXPORT wxFontBase; class WXDLLEXPORT wxFont; @@ -89,6 +90,7 @@ enum wxFontEncoding wxFONTENCODING_ISO8859_13, // Latin7 wxFONTENCODING_ISO8859_14, // Latin8 wxFONTENCODING_ISO8859_15, // Latin9 (a.k.a. Latin0, includes euro) + wxFONTENCODING_ISO8859_MAX, // Cyrillic charset soup (see http://czyborra.com/charsets/cyrillic.html) wxFONTENCODING_KOI8, // we don't support any of KOI8 variants @@ -103,9 +105,19 @@ enum wxFontEncoding wxFONTENCODING_CP855, // another cyrillic encoding wxFONTENCODING_CP866, // and another one // and for Windows + wxFONTENCODING_CP874, // WinThai wxFONTENCODING_CP1250, // WinLatin2 wxFONTENCODING_CP1251, // WinCyrillic wxFONTENCODING_CP1252, // WinLatin1 + wxFONTENCODING_CP1253, // WinGreek (8859-7) + wxFONTENCODING_CP1254, // WinTurkish + wxFONTENCODING_CP1255, // WinHebrew + wxFONTENCODING_CP1256, // WinArabic + wxFONTENCODING_CP1257, // WinBaltic (same as Latin 7) + wxFONTENCODING_CP12_MAX, + + wxFONTENCODING_UNICODE, // Unicode - currently used only by + // wxEncodingConverter class wxFONTENCODING_MAX }; @@ -114,7 +126,9 @@ enum wxFontEncoding // wxFontBase represents a font object // ---------------------------------------------------------------------------- -class wxFontBase : public wxGDIObject +class WXDLLEXPORT wxFontRefData; + +class WXDLLEXPORT wxFontBase : public wxGDIObject { public: // creator function @@ -167,7 +181,7 @@ public: protected: // get the internal data - class WXDLLEXPORT wxFontRefData *GetFontData() const + wxFontRefData *GetFontData() const { return (wxFontRefData *)m_refData; } private: