]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlfilt.cpp
Adding MSVC makefile support for building the TIFF library
[wxWidgets.git] / src / html / htmlfilt.cpp
index 3dfac30ec748ae6870e978d499ceb4ab23878564..4f885e47c95ef582d6509b095d8985d624d7061f 100644 (file)
@@ -64,8 +64,8 @@ wxString wxHtmlFilterPlainText::ReadFile(const wxFSFile& file) const
     doc = src;
     delete [] src;
 
-    doc.Replace("<", "&lt;", TRUE);
-    doc.Replace(">", "&gt;", TRUE);
+    doc.Replace(wxT("<"), wxT("&lt;"), TRUE);
+    doc.Replace(wxT(">"), wxT("&gt;"), TRUE);
     doc2 = "<HTML><BODY><PRE>\n" + doc + "\n</PRE></BODY></HTML>";
     return doc2;
 }