]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/console/console.cpp
update from gtk/changes.txt to changes.txt (sic...)
[wxWidgets.git] / samples / console / console.cpp
index 53990de434bb43a85091f3fcb74c47ccf0e761ef..7a9e0bb1afb4c270c46d65c967ecaab6fbe00283 100644 (file)
@@ -184,11 +184,11 @@ static void TestCharset()
 
     for ( size_t n = 0; n < WXSIZEOF(charsets); n++ )
     {
-        wxFontEncoding enc = wxTheFontMapper->CharsetToEncoding(charsets[n]);
+        wxFontEncoding enc = wxFontMapper::Get()->CharsetToEncoding(charsets[n]);
         wxPrintf(_T("Charset: %s\tEncoding: %s (%s)\n"),
                  charsets[n],
-                 wxTheFontMapper->GetEncodingName(enc).c_str(),
-                 wxTheFontMapper->GetEncodingDescription(enc).c_str());
+                 wxFontMapper::Get()->GetEncodingName(enc).c_str(),
+                 wxFontMapper::Get()->GetEncodingDescription(enc).c_str());
     }
 }