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
This commit is contained in:
David Webster 2000-12-18 20:04:50 +00:00
parent afaee31547
commit 377771d93a

View File

@ -42,6 +42,20 @@ public:
(void)Create(nSize, nFamily, nStyle, nWeight, bUnderlined, rsFace, vEncoding); (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 bool Create( int nSize
,int nFamily ,int nFamily
,int nStyle ,int nStyle