]> 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 3fbad4d47c714f7bb7d94265a361e403344bd8cd..9cc57b8ede7a24ae63b88b409982adb31c102d1a 100644 (file)
@@ -79,7 +79,7 @@ TAG_HANDLER_BEGIN(HR, "HR")
         c -> SetAlignHor(wxHTML_ALIGN_CENTER);
         c -> SetAlign(tag);
         c -> SetWidthFloat(tag);
         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));
 
         else sz = 1;
         c -> InsertCell(new wxHtmlLineCell(sz));