X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4c970041c50477c181eaf7bd974e320c74cd6e8..a5de860f0b8994b2d87d0a0d3c3dedf750fa7ddb:/src/html/htmlfilter.cpp diff --git a/src/html/htmlfilter.cpp b/src/html/htmlfilter.cpp index fbe7ba9bfa..57508b1069 100644 --- a/src/html/htmlfilter.cpp +++ b/src/html/htmlfilter.cpp @@ -20,7 +20,6 @@ #endif #ifndef WXPRECOMP -#include "wx/wx.h" #endif #include "wx/html/htmlfilter.h" @@ -62,9 +61,9 @@ wxString wxHtmlFilterPlainText::ReadFile(const wxFSFile& file) const doc = src; delete [] src; - doc.Replace("<", "<", TRUE); - doc.Replace(">", ">", TRUE); - doc2 = "
\n" + doc + "\n
"; + doc.Replace(_T("<"), _T("<"), TRUE); + doc.Replace(_T(">"), _T(">"), TRUE); + doc2 = _T("
\n") + doc + _T("\n
"); return doc2; }