]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/graphicc.cpp
better native types for carbon
[wxWidgets.git] / src / generic / graphicc.cpp
index 6642ea5a45e38bdb9ba07955e7aea40719146c74..e2e63d632f66ca1b9a2552e327fc7df42022efc7 100644 (file)
@@ -692,7 +692,7 @@ wxCairoFontData::wxCairoFontData( wxGraphicsRenderer* renderer, const wxFont &fo
     m_underlined = font.GetUnderlined();
 
 #ifdef __WXMAC__
     m_underlined = font.GetUnderlined();
 
 #ifdef __WXMAC__
-    m_font = cairo_atsui_font_face_create_for_atsu_font_id( font.MacGetATSUFontID() );
+    m_font = cairo_quartz_font_face_create_for_cgfont( font.OSXGetCGFont() );
 #elif defined(__WXGTK__)
     m_font = pango_font_description_copy( font.GetNativeFontInfo()->description );
 #else
 #elif defined(__WXGTK__)
     m_font = pango_font_description_copy( font.GetNativeFontInfo()->description );
 #else