- int itemHeight = itemRect.GetHeight();
- wxRect rcClient = GetRect();
- wxRect itemRect;
- int cy=0;
- wxTreeItemId h, lastH;
- for(h=GetFirstVisibleItem();h;h=GetNextVisible(h))
- {
- if (GetBoundingRect(h, itemRect))
- {
- cy = itemRect.GetTop();
- dc.DrawLine(rcClient.x, cy, rcClient.x + rcClient.width, cy);
- lastH = h;
- //cy += itemHeight;
- }
- }
- if (GetBoundingRect(lastH, itemRect))