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:
parent
afaee31547
commit
377771d93a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user