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:
Stefan Csomor 2009-03-21 17:55:34 +00:00
parent a6ebdba66c
commit d421cbc78e

View File

@ -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)