X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4f4d3dd610a29a7be3c7a5f165520438d0328bb..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/html/m_hline.cpp diff --git a/src/html/m_hline.cpp b/src/html/m_hline.cpp index 5a975bea23..c83704ad4c 100644 --- a/src/html/m_hline.cpp +++ b/src/html/m_hline.cpp @@ -46,7 +46,7 @@ class wxHtmlLineCell : public wxHtmlCell // Should we draw 3-D shading or not bool m_HasShading; - DECLARE_NO_COPY_CLASS(wxHtmlLineCell) + wxDECLARE_NO_COPY_CLASS(wxHtmlLineCell); }; @@ -54,8 +54,8 @@ void wxHtmlLineCell::Draw(wxDC& dc, int x, int y, int WXUNUSED(view_y1), int WXUNUSED(view_y2), wxHtmlRenderingInfo& WXUNUSED(info)) { - wxBrush mybrush(wxT("GREY"), (m_HasShading) ? wxTRANSPARENT : wxSOLID); - wxPen mypen(wxT("GREY"), 1, wxSOLID); + wxBrush mybrush(wxT("GREY"), (m_HasShading) ? wxBRUSHSTYLE_TRANSPARENT : wxBRUSHSTYLE_SOLID); + wxPen mypen(wxT("GREY"), 1, wxPENSTYLE_SOLID); dc.SetBrush(mybrush); dc.SetPen(mypen); dc.DrawRectangle(x + m_PosX, y + m_PosY, m_Width, m_Height);