X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c88293a4045cce459d50469d5cae27e8509570e1..80a24267cbc17d85e278e1f10cdfdaea12199639:/src/html/m_list.cpp diff --git a/src/html/m_list.cpp b/src/html/m_list.cpp index 4a374ced8c..3e4b9023e3 100644 --- a/src/html/m_list.cpp +++ b/src/html/m_list.cpp @@ -14,7 +14,7 @@ #include "wx/defs.h" -#if wxUSE_HTML +#if wxUSE_HTML && wxUSE_STREAMS #ifdef __BORDLANDC__ #pragma hdrstop @@ -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(); @@ -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();