fixing the type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a6ebdba66c
commit
d421cbc78e
@ -156,7 +156,7 @@ WX_NSFont wxFont::CreateNSFont(wxOSXSystemFont font, wxNativeFontInfo* info)
|
||||
|
||||
void wxNativeFontInfo::ValidateNSFontDescriptor()
|
||||
{
|
||||
NSFontDescriptor* desc = [NSFont fontWithName:wxCFStringRef(m_faceName).AsNSString() size:m_pointSize];
|
||||
NSFontDescriptor* desc = [NSFontDescriptor fontDescriptorWithName:wxCFStringRef(m_faceName).AsNSString() size:m_pointSize];
|
||||
NSFontSymbolicTraits traits = 0;
|
||||
|
||||
if (m_weight == wxFONTWEIGHT_BOLD)
|
||||
|
Loading…
Reference in New Issue
Block a user