X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04dbb6467be8f564f380bd9a1106fbdecbd26a98..19e30148e18cc99296b26503c155e5cef59045f4:/src/html/m_meta.cpp diff --git a/src/html/m_meta.cpp b/src/html/m_meta.cpp index 2c707c6c82..9ad9eb7c4b 100644 --- a/src/html/m_meta.cpp +++ b/src/html/m_meta.cpp @@ -46,7 +46,7 @@ TAG_HANDLER_BEGIN(META, "META") if (content.Left(19) == _T("text/html; charset=")) { wxFontEncoding enc = - wxTheFontMapper->CharsetToEncoding(content.Mid(19)); + wxFontMapper::Get()->CharsetToEncoding(content.Mid(19)); if (enc == wxFONTENCODING_SYSTEM) return FALSE; if (enc == m_WParser->GetInputEncoding()) return FALSE;