// headers
// ----------------------------------------------------------------------------
-#include "wx/wxprec.h"
+#include "testprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#include "wx/fontmap.h"
-#include "wx/cppunit.h"
-
// ----------------------------------------------------------------------------
// test class
// ----------------------------------------------------------------------------
for ( size_t n = 0; n < WXSIZEOF(charsets); n++ )
{
- wxFontEncoding enc = wxFontMapper::Get()->CharsetToEncoding(charsets[n]);
- CPPUNIT_ASSERT( wxFontMapper::Get()->GetEncodingName(enc) == names[n] );
- CPPUNIT_ASSERT( wxFontMapper::Get()->GetEncodingDescription(enc) == descriptions[n] );
+ wxFontEncoding enc = wxFontMapperBase::Get()->CharsetToEncoding(charsets[n]);
+ CPPUNIT_ASSERT( wxFontMapperBase::Get()->GetEncodingName(enc) == names[n] );
+ CPPUNIT_ASSERT( wxFontMapperBase::Get()->GetEncodingDescription(enc) == descriptions[n] );
}
}