]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_hline.cpp
Some work on tabbing and menu accels,
[wxWidgets.git] / src / html / m_hline.cpp
index 76130b09d3d44e5c626f77dc1a73d56029f2f88a..9cc57b8ede7a24ae63b88b409982adb31c102d1a 100644 (file)
@@ -75,11 +75,11 @@ TAG_HANDLER_BEGIN(HR, "HR")
         m_WParser -> CloseContainer();
         c = m_WParser -> OpenContainer();
 
-        c -> SetIndent(m_WParser -> GetCharHeight(), HTML_INDENT_VERTICAL);
-        c -> SetAlignHor(HTML_ALIGN_CENTER);
+        c -> SetIndent(m_WParser -> GetCharHeight(), wxHTML_INDENT_VERTICAL);
+        c -> SetAlignHor(wxHTML_ALIGN_CENTER);
         c -> SetAlign(tag);
         c -> SetWidthFloat(tag);
-        if (tag.HasParam("SIZE") && tag.ScanParam("SIZE", "%i", &sz) == 1) {}
+        if (tag.HasParam(wxT("SIZE")) && tag.ScanParam(wxT("SIZE"), wxT("%i"), &sz) == 1) {}
         else sz = 1;
         c -> InsertCell(new wxHtmlLineCell(sz));