]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/font.cpp
Corrected accidental pointer arithmetic in ClientToScreen and vice versa
[wxWidgets.git] / src / mac / carbon / font.cpp
index eec71c52eedae360d9e3ac3e1e6b585aa8b2ba28..d1b4798cc40e0bf630f2eabf58f5409118611bc7 100644 (file)
@@ -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
        {