#include "wx/fontmap.h"
#include "wx/fontutil.h"
+#include "wx/mac/private.h"
+
// ----------------------------------------------------------------------------
// private classes
// ----------------------------------------------------------------------------
wxNativeEncodingInfo info;
if ( !wxGetNativeFontEncoding(encoding, &info) )
{
- if ( !wxTheFontMapper->GetAltForEncoding(encoding, &info) )
+ if ( !wxFontMapper::Get()->GetAltForEncoding(encoding, &info) )
{
// no such encodings at all
return FALSE;