#include "wx/wxprec.h"
#ifndef WX_PRECOMP
+ #include "wx/app.h"
#include "wx/string.h"
#include "wx/log.h"
#include "wx/intl.h"
,&vInfo
))
{
- if ( !wxTheFontMapper->GetAltForEncoding( vEncoding
- ,&vInfo
- ))
+#if wxUSE_FONTMAP
+ if (!wxTheFontMapper->GetAltForEncoding(vEncoding, &vInfo))
+#endif // wxUSE_FONTMAP
{
//
// Unsupported encoding, replace with the default