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