]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlfilter.cpp
Corrections to config checking; tweaking wxUniv's setup.h; added fix to makeb32.env
[wxWidgets.git] / src / html / htmlfilter.cpp
index fbe7ba9bfa68ba2b61e7f50795bfa442d9503892..683d6a62fc12882ddc99a4068dc5c8906666f9e8 100644 (file)
@@ -62,9 +62,9 @@ wxString wxHtmlFilterPlainText::ReadFile(const wxFSFile& file) const
     doc = src;
     delete [] src;
 
-    doc.Replace("<", "&lt;", TRUE);
-    doc.Replace(">", "&gt;", TRUE);
-    doc2 = "<HTML><BODY><PRE>\n" + doc + "\n</PRE></BODY></HTML>";
+    doc.Replace(_T("<"), _T("&lt;"), TRUE);
+    doc.Replace(_T(">"), _T("&gt;"), TRUE);
+    doc2 = _T("<HTML><BODY><PRE>\n") + doc + _T("\n</PRE></BODY></HTML>");
     return doc2;
 }