]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/fontmap/fontmaptest.cpp
Alter focus handling to disable GTK+ standard
[wxWidgets.git] / tests / fontmap / fontmaptest.cpp
index 212f64c4344f403673f87996a1e5ec7c91f01721..7961eda949089fbab49d3adafd762081fbf07c56 100644 (file)
@@ -91,7 +91,7 @@ void FontMapperTestCase::NamesAndDesc()
 
     static const wxChar *descriptions[] =
     {
-        // some vali charsets
+        // some valid charsets
         _T("Default encoding"                  ),
         _T("Western European (ISO-8859-1)"     ),
         _T("Indian (ISO-8859-12)"              ),
@@ -109,9 +109,9 @@ void FontMapperTestCase::NamesAndDesc()
 
     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] );
     }
 }