X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/mac/fontenum.cpp diff --git a/src/mac/fontenum.cpp b/src/mac/fontenum.cpp index 14491d79e9..4720cc4a75 100644 --- a/src/mac/fontenum.cpp +++ b/src/mac/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;