]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlfilter.cpp
remove MSVC warnings about DLL-exported class inheriting from non DLL-exported one...
[wxWidgets.git] / src / html / htmlfilter.cpp
index fbe7ba9bfa68ba2b61e7f50795bfa442d9503892..57508b1069a7386b9ec61df99769aeed5556c288 100644 (file)
@@ -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("<", "&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;
 }