From 377771d93a85a645eac8b41355983e3934fbcadf Mon Sep 17 00:00:00 2001 From: David Webster Date: Mon, 18 Dec 2000 20:04:50 +0000 Subject: [PATCH] Update to allow new wxNativeFontInfo stuff to compile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/os2/font.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.47.2