// wxFont
// ----------------------------------------------------------------------------
+wxFont::wxFont(const wxNativeFontInfo& rInfo)
+ {
+ Init();
+
+ (void)Create( rInfo.pointSize
+ ,rInfo.family
+ ,rInfo.style
+ ,rInfo.weight
+ ,rInfo.underlined
+ ,rInfo.faceName
+ ,rInfo.encoding
+ );
+ }
+
+
void wxFont::Init()
{
if ( wxTheFontList )
vError = ::WinGetLastError(vHabmain);
}
- strcpy(zFacename, M_FONTDATA->m_vFattrs.szFacename);
+ M_FONTDATA->m_sFaceName = zFacename;
if(::GpiCreateLogFont( M_FONTDATA->m_hPS
,NULL