dc.DrawLine(0, cy, clientSize.x, cy);
}
// Draw last line
- if (i == (GetItemCount() - 1))
+ if (i == itemCount - 1)
{
cy = itemRect.GetBottom();
dc.DrawLine(0, cy, clientSize.x, cy);
}
}
}
- i = (GetItemCount() - 1);
+ i = itemCount - 1;
if (drawVRules && (i > -1))
{
wxRect firstItemRect;