* Apply patch #735595. Add miminumAcceptable{Height,Width}
[wxWidgets.git] / 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();