]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_meta.cpp
better focus handling (blind fix)
[wxWidgets.git] / src / html / m_meta.cpp
index 50c100bc87ab08ceacc567330e80e39cba8cb098..2c707c6c824e0415607462f974ce2ba393c1d02b 100644 (file)
@@ -22,7 +22,6 @@
 #endif
 
 #ifndef WXPRECOMP
 #endif
 
 #ifndef WXPRECOMP
-#include "wx/wx.h"
 #endif
 
 #include "wx/fontmap.h"
 #endif
 
 #include "wx/fontmap.h"
@@ -39,14 +38,14 @@ TAG_HANDLER_BEGIN(META, "META")
 
     TAG_HANDLER_PROC(tag)
     {
 
     TAG_HANDLER_PROC(tag)
     {
-        if (tag.HasParam(_T("HTTP-EQUIV")) && 
+        if (tag.HasParam(_T("HTTP-EQUIV")) &&
             tag.GetParam(_T("HTTP-EQUIV")) == _T("Content-Type") &&
             tag.HasParam(_T("CONTENT")))
         {
             wxString content = tag.GetParam(_T("CONTENT"));
             if (content.Left(19) == _T("text/html; charset="))
             {
             tag.GetParam(_T("HTTP-EQUIV")) == _T("Content-Type") &&
             tag.HasParam(_T("CONTENT")))
         {
             wxString content = tag.GetParam(_T("CONTENT"));
             if (content.Left(19) == _T("text/html; charset="))
             {
-                wxFontEncoding enc = 
+                wxFontEncoding enc =
                     wxTheFontMapper->CharsetToEncoding(content.Mid(19));
                 if (enc == wxFONTENCODING_SYSTEM) return FALSE;
                 if (enc == m_WParser->GetInputEncoding()) return FALSE;
                     wxTheFontMapper->CharsetToEncoding(content.Mid(19));
                 if (enc == wxFONTENCODING_SYSTEM) return FALSE;
                 if (enc == m_WParser->GetInputEncoding()) return FALSE;