X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04dbb6467be8f564f380bd9a1106fbdecbd26a98..211cc8dc907ee50ca6d383b8df16bba9a4d3ce2d:/src/html/m_image.cpp?ds=sidebyside diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index 85e8f274d7..2445a8fe8a 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -337,7 +337,7 @@ wxHtmlImageCell::wxHtmlImageCell(wxFSFile *input, int w, int h, double scale, in -void wxHtmlImageCell::Draw(wxDC& dc, int x, int y, int view_y1, int view_y2) +void wxHtmlImageCell::Draw(wxDC& dc, int x, int y, int WXUNUSED(view_y1), int WXUNUSED(view_y2)) { if (m_Image) { @@ -350,7 +350,6 @@ void wxHtmlImageCell::Draw(wxDC& dc, int x, int y, int view_y1, int view_y2) (int) ((y + m_PosY) / m_Scale), TRUE); dc.SetUserScale(us_x, us_y); } - wxHtmlCell::Draw(dc, x, y, view_y1, view_y2); } wxHtmlLinkInfo *wxHtmlImageCell::GetLink( int x, int y ) const