X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a9819026e56a43892e3f291215022a9df33a52f..05ac7ac5785ef0ddb1bd04585f3c59c5d53089be:/src/mac/carbon/font.cpp diff --git a/src/mac/carbon/font.cpp b/src/mac/carbon/font.cpp index eec71c52ee..d1b4798cc4 100644 --- a/src/mac/carbon/font.cpp +++ b/src/mac/carbon/font.cpp @@ -89,6 +89,10 @@ void wxFontRefData::MacFindFont() ::GetFNum( "\pMonaco" , &m_macFontNum) ; break ; } + Str255 name ; + GetFontName( m_macFontNum , name ) ; + CopyPascalStringToC( name , (char*) name ) ; + m_faceName = (char*) name ; } else {