X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69941f05864fa8b37856ccc1338124bfac756a2b..354aa1e366a57d896e2cf0943c687b24e8db688c:/src/html/m_hline.cpp diff --git a/src/html/m_hline.cpp b/src/html/m_hline.cpp index 76130b09d3..9cc57b8ede 100644 --- a/src/html/m_hline.cpp +++ b/src/html/m_hline.cpp @@ -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));