X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa146dd7132bf122d9645267529dde7b64039f48..4b7b750dd1ffd0d26b78728adb613b282a37c058:/src/html/m_meta.cpp?ds=inline diff --git a/src/html/m_meta.cpp b/src/html/m_meta.cpp index 7c0c379b88..50c100bc87 100644 --- a/src/html/m_meta.cpp +++ b/src/html/m_meta.cpp @@ -15,7 +15,7 @@ #include "wx/defs.h" -#if wxUSE_HTML +#if wxUSE_HTML && wxUSE_STREAMS #ifdef __BORDLANDC__ #pragma hdrstop @@ -47,13 +47,13 @@ TAG_HANDLER_BEGIN(META, "META") if (content.Left(19) == _T("text/html; charset=")) { wxFontEncoding enc = - wxTheFontMapper -> CharsetToEncoding(content.Mid(19)); + wxTheFontMapper->CharsetToEncoding(content.Mid(19)); if (enc == wxFONTENCODING_SYSTEM) return FALSE; - if (enc == m_WParser -> GetInputEncoding()) return FALSE; + if (enc == m_WParser->GetInputEncoding()) return FALSE; - m_WParser -> SetInputEncoding(enc); - m_WParser -> GetContainer() -> InsertCell( - new wxHtmlFontCell(m_WParser -> CreateCurrentFont())); + m_WParser->SetInputEncoding(enc); + m_WParser->GetContainer()->InsertCell( + new wxHtmlFontCell(m_WParser->CreateCurrentFont())); } } return FALSE;