X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51072df23ffcf5bdd4651dbe0ad5143b1e360119..7fb8086de8d53e3fbf70813f5dfd8e6621dd82ae:/src/html/m_hline.cpp diff --git a/src/html/m_hline.cpp b/src/html/m_hline.cpp index b9df229000..9679129adc 100644 --- a/src/html/m_hline.cpp +++ b/src/html/m_hline.cpp @@ -16,7 +16,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -42,7 +42,8 @@ class wxHtmlLineCell : public wxHtmlCell { public: wxHtmlLineCell(int size, bool shading) : wxHtmlCell() {m_Height = size; m_HasShading = shading;} - void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2); + void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2, + wxHtmlRenderingState& state); void Layout(int w) { m_Width = w; wxHtmlCell::Layout(w); } @@ -52,7 +53,9 @@ class wxHtmlLineCell : public wxHtmlCell }; -void wxHtmlLineCell::Draw(wxDC& dc, int x, int y, int WXUNUSED(view_y1), int WXUNUSED(view_y2)) +void wxHtmlLineCell::Draw(wxDC& dc, int x, int y, + int WXUNUSED(view_y1), int WXUNUSED(view_y2), + wxHtmlRenderingState& WXUNUSED(state)) { wxBrush mybrush(wxT("GREY"), (m_HasShading) ? wxTRANSPARENT : wxSOLID); wxPen mypen(wxT("GREY"), 1, wxSOLID);