]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/dc.cpp
cleaned up the checkbox creation code (~70 lines of code became 3)
[wxWidgets.git] / src / mgl / dc.cpp
index e38597f4194a84c86c188b257bd0ed61af6291ed..4a2a4909ec10484ae491edc7eda9827bf55cd51d 100644 (file)
@@ -759,7 +759,7 @@ bool wxDC::SelectMGLFont()
              !wxTestFontEncoding(nativeEnc) )
         {
 #if wxUSE_FONTMAP
-            if ( !wxTheFontMapper->GetAltForEncoding(encoding, &nativeEnc) )
+            if ( !wxFontMapper::Get()->GetAltForEncoding(encoding, &nativeEnc) )
 #endif
             {
                 nativeEnc.mglEncoding = MGL_ENCODING_ASCII;