X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e99762c031bf2c71af7f856c1d713bce0422acaa..7826e2dd838d59c6a8061b4fdd9f7326a6e06de3:/include/wx/os2/font.h diff --git a/include/wx/os2/font.h b/include/wx/os2/font.h index 410e0bc200..94ec7c7bbb 100644 --- a/include/wx/os2/font.h +++ b/include/wx/os2/font.h @@ -42,6 +42,20 @@ 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 + ); + } + bool Create( int nSize ,int nFamily ,int nStyle