]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/font.cpp
fixing the shrinking embedded controls
[wxWidgets.git] / src / mac / carbon / font.cpp
index 3c63ecb23b8959a6df7a7339c1311b0b5208cf43..fe8a315e25a9ad7d58437cda7cf616f235a9d13c 100644 (file)
@@ -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