X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66a77a748e5c8002f3f9ebd66f5457aca5aabad8..0240e8b1aa935d43689b0b8ec36de3c06c1a4758:/src/html/m_pre.cpp?ds=sidebyside diff --git a/src/html/m_pre.cpp b/src/html/m_pre.cpp index fdeaaf4a1f..e073b69a35 100644 --- a/src/html/m_pre.cpp +++ b/src/html/m_pre.cpp @@ -11,7 +11,7 @@ #pragma implementation #endif -#include +#include "wx/wxprec.h" #include "wx/defs.h" #if wxUSE_HTML @@ -20,7 +20,7 @@ #endif #ifndef WXPRECOMP -#include +#include "wx/wx.h" #endif @@ -28,7 +28,7 @@ #include "wx/html/m_templ.h" #include "wx/html/htmlcell.h" -#include +#include "wx/tokenzr.h" FORCE_LINK_ME(mod_pre) @@ -70,6 +70,7 @@ wxHtmlPRECell::wxHtmlPRECell(const wxString& s, wxDC& dc) : wxHtmlCell() while (tokenizer.HasMoreTokens()) { if (i % 10 == 0) m_Text = (wxString**) realloc(m_Text, sizeof(wxString*) * (i + 10)); tmp = tokenizer.NextToken(); + tmp.Replace(wxT("©"), wxT("(c)"), TRUE); tmp.Replace(wxT(" "), wxT(" "), TRUE); tmp.Replace(wxT("""), wxT("\""), TRUE); tmp.Replace(wxT("<"), wxT("<"), TRUE);