]> git.saurik.com Git - wxWidgets.git/commitdiff
unicode compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 15 May 2003 22:38:32 +0000 (22:38 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 15 May 2003 22:38:32 +0000 (22:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/m_layout.cpp

index 15aa9a2fa4eb7bdf5447d041afe7d34f61011869..e501f1f6dc7a3853bf7239dd3b19d31c74c3643c 100644 (file)
@@ -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();