]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
new makefile
[wxWidgets.git] / src / msw / utils.cpp
index 8c8e1086504f70830dc2480b2c1a89f580a85ae2..117a19c12d6347d751480fa91b53b5f9d3f1e35c 100644 (file)
@@ -1592,7 +1592,7 @@ extern long wxCharsetToCodepage(const wxChar *name)
     if ( !name )
         return -1;
 
     if ( !name )
         return -1;
 
-    wxFontEncoding enc = wxTheFontMapper->CharsetToEncoding(name, FALSE);
+    wxFontEncoding enc = wxFontMapper::Get()->CharsetToEncoding(name, FALSE);
     if ( enc == wxFONTENCODING_SYSTEM )
         return -1;
 
     if ( enc == wxFONTENCODING_SYSTEM )
         return -1;