From: Václav Slavík Date: Thu, 15 May 2003 22:38:32 +0000 (+0000) Subject: unicode compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/92337e39b91b3928cfa8e71803da2a1e9506eb75?hp=c09615b8ed48b6203e7c239fd74d1799e34cfe79 unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 15aa9a2fa4..e501f1f6dc 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -205,9 +205,9 @@ TAG_HANDLER_BEGIN(DIV, "DIV") TAG_HANDLER_PROC(tag) { - if(tag.HasParam("STYLE")) + if(tag.HasParam(wxT("STYLE"))) { - if(tag.GetParam("STYLE").IsSameAs(wxString("PAGE-BREAK-BEFORE:ALWAYS"), FALSE)) + if(tag.GetParam(wxT("STYLE")).IsSameAs(wxT("PAGE-BREAK-BEFORE:ALWAYS"), FALSE)) { m_WParser->CloseContainer(); m_WParser->OpenContainer()->InsertCell(new wxHtmlPageBreakCell); @@ -221,7 +221,7 @@ TAG_HANDLER_BEGIN(DIV, "DIV") return FALSE; } } - else if(tag.HasParam("ALIGN")) + else if(tag.HasParam(wxT("ALIGN"))) { int old = m_WParser->GetAlign(); wxHtmlContainerCell *c = m_WParser->GetContainer();