static const wxChar *descriptions[] =
{
- // some vali charsets
+ // some valid charsets
_T("Default encoding" ),
_T("Western European (ISO-8859-1)" ),
_T("Indian (ISO-8859-12)" ),
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] );
}
}