X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e99762c031bf2c71af7f856c1d713bce0422acaa..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/os2/font.h diff --git a/include/wx/os2/font.h b/include/wx/os2/font.h index 410e0bc200..a40017aec1 100644 --- a/include/wx/os2/font.h +++ b/include/wx/os2/font.h @@ -14,6 +14,7 @@ #include "wx/gdiobj.h" #include "wx/os2/private.h" +#include "wx/fontutil.h" WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; @@ -42,6 +43,8 @@ public: (void)Create(nSize, nFamily, nStyle, nWeight, bUnderlined, rsFace, vEncoding); } + wxFont(const wxNativeFontInfo& rInfo); + bool Create( int nSize ,int nFamily ,int nStyle @@ -92,6 +95,7 @@ public: virtual WXHANDLE GetResourceHandle(void); virtual bool FreeResource(bool bForce = FALSE); + WXHFONT GetHFONT(void) const; protected: // // Common part of all ctors