X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04dbb6467be8f564f380bd9a1106fbdecbd26a98..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/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;