case wxFONTFAMILY_MODERN :
case wxFONTFAMILY_TELETYPE:
m_faceName = wxT("Courier");
- if ( m_style == wxFONTFAMILY_ITALIC && m_weight == wxFONTFAMILY_NORMAL )
+ if ( m_style == wxFONTSTYLE_ITALIC && m_weight == wxFONTWEIGHT_NORMAL )
{
- m_style = wxFONTFAMILY_ITALIC;
+ m_style = wxFONTSTYLE_ITALIC;
}
break ;
#endif
-#if wxOSX_USE_CARBON
+#if wxOSX_USE_ATSU_TEXT
bool wxFont::MacCreateFromThemeFont(wxUint16 themeFontID)
{
#if wxOSX_USE_CORE_TEXT
return MacCreateFromUIFont(HIThemeGetUIFontType(themeFontID));
}
#endif
-#if wxOSX_USE_ATSU_TEXT
{
UnRef();
RealizeResource();
return true;
}
-#endif
return false;
}
#endif