wxNativeFontInfo *fontInfo = new wxNativeFontInfo();
fontInfo->SetPointSize(GetPointSize());
- fontInfo->SetFamily(GetFamily());
+ fontInfo->SetFamily((wxFontFamily)GetFamily());
fontInfo->SetStyle((wxFontStyle)GetStyle());
fontInfo->SetWeight((wxFontWeight)GetWeight());
fontInfo->SetUnderlined(GetUnderlined());
token = tokenizer.GetNextToken();
if ( !token.ToLong(&l) )
return FALSE;
- family = (int)l;
+ family = (wxFontFamily)l;
token = tokenizer.GetNextToken();
if ( !token.ToLong(&l) )
void wxNativeFontInfo::SetFaceName(wxString facename_)
{
- facename = facename_;
+ faceName = facename_;
}
void wxNativeFontInfo::SetFamily(wxFontFamily family_)