X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53f6aab75294c585e53e02b618a09dcb1dd97fb8..59840ba3b16e4baf3228dd79c6b7ae40b55cf488:/include/wx/gtk/font.h?ds=sidebyside diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index de17523e9f..90448b3704 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -36,12 +36,13 @@ public: // ctors and such wxFont() { Init(); } wxFont(const wxFont& font) : wxFontBase() { Init(); Ref(font); } - wxFont(const wxString& fontname, - wxFontEncoding fontenc = wxFONTENCODING_DEFAULT) + + // wxGTK-specific + wxFont(const wxString& fontname) { Init(); - Create(fontname, fontenc); + Create(fontname); } wxFont(const wxNativeFontInfo& info); @@ -68,9 +69,7 @@ public: wxFontEncoding encoding = wxFONTENCODING_DEFAULT); // wxGTK-specific - bool Create(const wxString& fontname, - wxFontEncoding fontenc = wxFONTENCODING_DEFAULT); - bool Create(const wxNativeFontInfo& fontinfo); + bool Create(const wxString& fontname); ~wxFont(); @@ -108,9 +107,6 @@ protected: // common part of all ctors void Init(); - // do we have the XFLD for this font (or just wxWin description)? - inline bool HasNativeFont() const; - private: DECLARE_DYNAMIC_CLASS(wxFont) };