]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_hline.cpp
Warning fix.
[wxWidgets.git] / src / html / m_hline.cpp
index 76a8db4aec291caa275078ff57bb30291eeca3f7..d629fda7bc613b961d78dd3bd1f438546647e7b7 100644 (file)
@@ -56,11 +56,9 @@ class wxHtmlLineCell : public wxHtmlCell
 
 
 void wxHtmlLineCell::Draw(wxDC& dc, int x, int y,
-                          int WXUNUSED(view_y1), int view_y2,
+                          int WXUNUSED(view_y1), int WXUNUSED(view_y2),
                           wxHtmlRenderingInfo& WXUNUSED(info))
 {
-    if (y+m_PosY+m_Height > view_y2) return;
-    
     wxBrush mybrush(wxT("GREY"), (m_HasShading) ? wxTRANSPARENT : wxSOLID);
     wxPen mypen(wxT("GREY"), 1, wxSOLID);
     dc.SetBrush(mybrush);