compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1917,7 +1917,7 @@ void wxListCtrl::OnPaint(wxPaintEvent& event)
|
|||||||
dc.DrawLine(0, cy, clientSize.x, cy);
|
dc.DrawLine(0, cy, clientSize.x, cy);
|
||||||
}
|
}
|
||||||
// Draw last line
|
// Draw last line
|
||||||
if (i == (GetItemCount() - 1))
|
if (i == itemCount - 1)
|
||||||
{
|
{
|
||||||
cy = itemRect.GetBottom();
|
cy = itemRect.GetBottom();
|
||||||
dc.DrawLine(0, cy, clientSize.x, cy);
|
dc.DrawLine(0, cy, clientSize.x, cy);
|
||||||
@@ -1925,7 +1925,7 @@ void wxListCtrl::OnPaint(wxPaintEvent& event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
i = (GetItemCount() - 1);
|
i = itemCount - 1;
|
||||||
if (drawVRules && (i > -1))
|
if (drawVRules && (i > -1))
|
||||||
{
|
{
|
||||||
wxRect firstItemRect;
|
wxRect firstItemRect;
|
||||||
|
Reference in New Issue
Block a user