added wxFontMapper::Get/Set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user