class WXDLLEXPORT wxFontRefData: public wxGDIRefData
{
- friend class WXDLLEXPORT wxFont;
+ friend class wxFont;
public:
wxFontRefData()
break ;
case wxMODERN :
+ case wxTELETYPE:
m_faceName = wxT("Monaco");
break ;
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
dc->GetTextExtent( wxT("g"), &width, &height, NULL, NULL);
return wxSize((int)width, (int)height);
#else
- wxFontBase::GetPixelSize();
+ return wxFontBase::GetPixelSize();
#endif
}