]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontutil.cpp
applied patch to build wxMSW with CW7 (patch 550445)
[wxWidgets.git] / src / unix / fontutil.cpp
index e161707732df204498842a5d85085b082612800f..9501ea5ee70c38940700053ee0a66b543721a3e5 100644 (file)
@@ -425,7 +425,7 @@ wxNativeFont wxLoadQueryNearestFont(int pointSize,
              !wxTestFontEncoding(info) )
         {
 #if wxUSE_FONTMAP
-            if ( !wxTheFontMapper->GetAltForEncoding(encoding, &info) )
+            if ( !wxFontMapper::Get()->GetAltForEncoding(encoding, &info) )
 #endif // wxUSE_FONTMAP
             {
                 // unspported encoding - replace it with the default