]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/fontenum.cpp
ignore process serial number command line argument (-psn) passed to application
[wxWidgets.git] / src / mac / carbon / fontenum.cpp
index e1b1347c6de9e4f302a7a3448d155e41fee75acb..4720cc4a759e4fff7099fe62ec8e5d15f71363f8 100644 (file)
@@ -89,7 +89,7 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding)
     wxNativeEncodingInfo info;
     if ( !wxGetNativeFontEncoding(encoding, &info) )
     {
-        if ( !wxTheFontMapper->GetAltForEncoding(encoding, &info) )
+        if ( !wxFontMapper::Get()->GetAltForEncoding(encoding, &info) )
         {
             // no such encodings at all
             return FALSE;