]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlpars.cpp
Fix incomplete stripping of menu text.
[wxWidgets.git] / src / html / htmlpars.cpp
index 9718c67ee37d7ee5e45979a1364e2e417e21c520..42101a4c0eb77c35db67b7fa87f71662b0f7b8ee 100644 (file)
@@ -35,6 +35,9 @@
 #include "wx/dynarray.h"
 #include "wx/arrimpl.cpp"
 
+#ifdef __WXWINCE__
+    #include "wx/msw/wince/missing.h"       // for bsearch()
+#endif
 
 // DLL options compatibility check:
 #include "wx/app.h"
@@ -899,7 +902,7 @@ bool wxMetaTagHandler::HandleTag(const wxHtmlTag& tag)
         tag.GetParam(_T("HTTP-EQUIV")).IsSameAs(_T("Content-Type"), false) &&
         tag.HasParam(_T("CONTENT")))
     {
-        wxString content = tag.GetParam(_T("CONTENT"));
+        wxString content = tag.GetParam(_T("CONTENT")).Lower();
         if (content.Left(19) == _T("text/html; charset="))
         {
             *m_retval = content.Mid(19);