X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..40f7145ca55ccf1b197e70acf79bbd4aa5d85145:/src/mac/carbon/fontenum.cpp?ds=sidebyside diff --git a/src/mac/carbon/fontenum.cpp b/src/mac/carbon/fontenum.cpp index 14491d79e9..4720cc4a75 100644 --- a/src/mac/carbon/fontenum.cpp +++ b/src/mac/carbon/fontenum.cpp @@ -37,6 +37,8 @@ #include "wx/fontmap.h" #include "wx/fontutil.h" +#include "wx/mac/private.h" + // ---------------------------------------------------------------------------- // private classes // ---------------------------------------------------------------------------- @@ -87,7 +89,7 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding) wxNativeEncodingInfo info; if ( !wxGetNativeFontEncoding(encoding, &info) ) { - if ( !wxTheFontMapper->GetAltForEncoding(encoding, &info) ) + if ( !wxFontMapper::Get()->GetAltForEncoding(encoding, &info) ) { // no such encodings at all return FALSE;