]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_meta.cpp
Don't complain under MicroWindows if a wxDC's HDC is NULL - it happens
[wxWidgets.git] / src / html / m_meta.cpp
index bcb95e58402e4623e6f61165cc10892e68123ea9..50c100bc87ab08ceacc567330e80e39cba8cb098 100644 (file)
@@ -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;