X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96c21216a6d792546bc37c09aa9729e3d6a605d6..6cc687bfee071b5328f9e48d1708795287006bb7:/src/msw/utils.cpp diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 8c8e108650..117a19c12d 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -1592,7 +1592,7 @@ extern long wxCharsetToCodepage(const wxChar *name) if ( !name ) return -1; - wxFontEncoding enc = wxTheFontMapper->CharsetToEncoding(name, FALSE); + wxFontEncoding enc = wxFontMapper::Get()->CharsetToEncoding(name, FALSE); if ( enc == wxFONTENCODING_SYSTEM ) return -1;