X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09fcd88955f6460d1f0d3d506118ce52c1090621..dc0bedff0c90235ee845936035db5218a0b68a3e:/include/wx/msw/font.h diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 90073aa564..06c17b10b1 100644 --- a/include/wx/msw/font.h +++ b/include/wx/msw/font.h @@ -40,11 +40,11 @@ public: (void)Create(size, family, style, weight, underlined, face, encoding); } - wxFont(const wxNativeFontInfo& info) + wxFont(const wxNativeFontInfo& info, WXHFONT hFont = 0) { Init(); - Create(info); + Create(info, hFont); } wxFont(const wxString& fontDesc); @@ -57,7 +57,7 @@ public: const wxString& face = wxEmptyString, wxFontEncoding encoding = wxFONTENCODING_DEFAULT); - bool Create(const wxNativeFontInfo& info); + bool Create(const wxNativeFontInfo& info, WXHFONT hFont = 0); virtual ~wxFont(); @@ -83,10 +83,11 @@ public: virtual void SetEncoding(wxFontEncoding encoding); virtual void SetNativeFontInfo(const wxNativeFontInfo& info); + virtual bool IsFixedWidth() const; + // implementation only from now on // ------------------------------- - int GetFontId() const; virtual bool IsFree() const; virtual bool RealizeResource(); virtual WXHANDLE GetResourceHandle();