X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09fcd88955f6460d1f0d3d506118ce52c1090621..d2a533a059cb69c68ce3930556d802db0089d577:/include/wx/msw/font.h diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 90073aa564..8149aaa6af 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();