X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d2ad2f1dbd4f6d54b67a5b26913c96767cdeca6..d2b23b67301bd2d286366d4326a21da3132558fa:/src/mac/carbon/font.cpp?ds=sidebyside diff --git a/src/mac/carbon/font.cpp b/src/mac/carbon/font.cpp index 3c63ecb23b..fe8a315e25 100644 --- a/src/mac/carbon/font.cpp +++ b/src/mac/carbon/font.cpp @@ -254,6 +254,7 @@ void wxFontRefData::MacFindFont() break ; case wxMODERN : + case wxTELETYPE: m_faceName = wxT("Monaco"); break ; @@ -266,7 +267,7 @@ void wxFontRefData::MacFindFont() m_macFontFamily = FMGetFontFamilyFromName( qdFontName ); if ( m_macFontFamily == kInvalidFontFamily ) { - wxLogDebug( wxT("ATSFontFamilyFindFromName failed for %s"), m_faceName ); + wxLogDebug( wxT("ATSFontFamilyFindFromName failed for %s"), m_faceName.c_str() ); m_macFontFamily = GetAppFont(); } #endif