X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..4aaef122cbbd5bbe0e70b824e320458e2329dd13:/include/wx/font.h?ds=sidebyside diff --git a/include/wx/font.h b/include/wx/font.h index c5bc183ad6..f324d115c9 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -78,8 +78,8 @@ class WXDLLEXPORT wxFontBase : public wxGDIObject { public: // creator function -#ifdef __WXMAC_X__ - virtual ~wxFontBase() {} // Added min for Mac X +#ifdef __DARWIN__ + virtual ~wxFontBase() { } #endif // from the font components @@ -114,7 +114,9 @@ public: virtual wxString GetFaceName() const = 0; virtual wxFontEncoding GetEncoding() const = 0; virtual wxNativeFontInfo *GetNativeFontInfo() const; + wxString GetNativeFontInfoDesc() const; + wxString GetNativeFontInfoUserDesc() const; // change the font characteristics virtual void SetPointSize( int pointSize ) = 0; @@ -126,7 +128,8 @@ public: virtual void SetEncoding(wxFontEncoding encoding) = 0; virtual void SetNativeFontInfo(const wxNativeFontInfo& info); - // VZ: there is no void SetNativeFontInfo(const wxString& info), needed? + void SetNativeFontInfo(const wxString& info); + void SetNativeFontInfoUserDesc(const wxString& info); // translate the fonts into human-readable string (i.e. GetStyleString() // will return "wxITALIC" for an italic font, ...) @@ -163,8 +166,6 @@ private: #include "wx/gtk/font.h" #elif defined(__WXMGL__) #include "wx/mgl/font.h" -#elif defined(__WXQT__) - #include "wx/qt/font.h" #elif defined(__WXMAC__) #include "wx/mac/font.h" #elif defined(__WXPM__)