X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09fcd88955f6460d1f0d3d506118ce52c1090621..a5d46b7362198fd94a5fd3b751df86287f2187bc:/include/wx/msw/font.h diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 90073aa564..f1b3c0fb88 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(); @@ -86,7 +86,6 @@ public: // implementation only from now on // ------------------------------- - int GetFontId() const; virtual bool IsFree() const; virtual bool RealizeResource(); virtual WXHANDLE GetResourceHandle();