X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/314260fbd07ecebb43c60d147e1f4580a7159e42..c6e7d14fa96da41236095a18ee8c1e3ad13d3dd0:/src/html/m_list.cpp diff --git a/src/html/m_list.cpp b/src/html/m_list.cpp index 05d7f3069a..58425f35c2 100644 --- a/src/html/m_list.cpp +++ b/src/html/m_list.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: mod_list.cpp +// Name: m_list.cpp // Purpose: wxHtml module for lists // Author: Vaclav Slavik // RCS-ID: $Id$ @@ -21,7 +21,7 @@ #endif #ifndef WXPRECOMP -#include +#include "wx/wx.h" #endif @@ -30,7 +30,7 @@ #include "wx/html/htmlcell.h" -FORCE_LINK_ME(mod_list) +FORCE_LINK_ME(m_list) //----------------------------------------------------------------------------- @@ -86,7 +86,7 @@ TAG_HANDLER_BEGIN(OLULLI, "OL,UL,LI") wxHtmlContainerCell *c; // List Item: - if (tag.GetName() == "LI") { + if (tag.GetName() == wxT("LI")) { if (!tag.IsEnding()) { m_WParser -> CloseContainer(); m_WParser -> CloseContainer(); @@ -98,7 +98,7 @@ TAG_HANDLER_BEGIN(OLULLI, "OL,UL,LI") c -> InsertCell(new wxHtmlListmarkCell(m_WParser -> GetDC(), m_WParser -> GetActualColor())); else { wxString mark; - mark.Printf("%i.", m_Numbering); + mark.Printf(wxT("%i."), m_Numbering); c -> InsertCell(new wxHtmlWordCell(mark, *(m_WParser -> GetDC()))); } m_WParser -> CloseContainer(); @@ -118,7 +118,7 @@ TAG_HANDLER_BEGIN(OLULLI, "OL,UL,LI") else { int oldnum = m_Numbering; - if (tag.GetName() == "UL") m_Numbering = 0; + if (tag.GetName() == wxT("UL")) m_Numbering = 0; else m_Numbering = 1; c = m_WParser -> GetContainer();