]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
A few tweaks and cleanups
[wxWidgets.git] / src / msw / font.cpp
index 16993de87863b1204a6446b825911d04b69749ae..25ff0295e3fcabadfc2880e5a4fefdcb6f2ca6f4 100644 (file)
@@ -523,7 +523,7 @@ void wxNativeFontInfo::SetEncoding(wxFontEncoding encoding)
     if ( !wxGetNativeFontEncoding(encoding, &info) )
     {
 #if wxUSE_FONTMAP
-        if ( wxTheFontMapper->GetAltForEncoding(encoding, &info) )
+        if ( wxFontMapper::Get()->GetAltForEncoding(encoding, &info) )
         {
             if ( !info.facename.empty() )
             {