X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50de831a51782467b8092757bd4375ab9ed717fc..43c5b6e808f083617eb42cb48e77366844f8fb5c:/src/generic/graphicc.cpp diff --git a/src/generic/graphicc.cpp b/src/generic/graphicc.cpp index 6642ea5a45..e2e63d632f 100644 --- a/src/generic/graphicc.cpp +++ b/src/generic/graphicc.cpp @@ -692,7 +692,7 @@ wxCairoFontData::wxCairoFontData( wxGraphicsRenderer* renderer, const wxFont &fo 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