X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af673e0778622e442644e520d1cd5f62f92178ce..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/os2/font.h diff --git a/include/wx/os2/font.h b/include/wx/os2/font.h index bdbe4002c4..a40017aec1 100644 --- a/include/wx/os2/font.h +++ b/include/wx/os2/font.h @@ -43,19 +43,7 @@ public: (void)Create(nSize, nFamily, nStyle, nWeight, bUnderlined, rsFace, vEncoding); } - wxFont(const wxNativeFontInfo& rInfo) - { - Init(); - - (void)Create( rInfo.pointSize - ,rInfo.family - ,rInfo.style - ,rInfo.weight - ,rInfo.underlined - ,rInfo.faceName - ,rInfo.encoding - ); - } + wxFont(const wxNativeFontInfo& rInfo); bool Create( int nSize ,int nFamily @@ -107,6 +95,7 @@ public: virtual WXHANDLE GetResourceHandle(void); virtual bool FreeResource(bool bForce = FALSE); + WXHFONT GetHFONT(void) const; protected: // // Common part of all ctors