// QD selection algorithm is the fastest by orders of magnitude on 10.5
if ( m_faceName.IsAscii() )
{
- uint8 qdstyle = 0;
+ uint8_t qdstyle = 0;
if (m_weight == wxFONTWEIGHT_BOLD)
qdstyle |= bold;
if (m_style == wxFONTSTYLE_ITALIC || m_style == wxFONTSTYLE_SLANT)
#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