wxPoint wxHtmlListBox::GetRootCellCoords(size_t n) const { wxPoint pos(CELL_BORDER, CELL_BORDER); pos += GetMargins(); pos.y += GetRowsHeight(GetVisibleBegin(), n); return pos; }
wxPoint ContentBoxCtrol::GetRootCellCoords(size_t n) const { wxPoint pos(CELL_BORDER, CELL_BORDER); pos += GetMargins(); //pos.y += GetRowHeight(GetVisibleRowsBegin(), n); pos.y += GetRowsHeight(GetVisibleBegin(), n); return pos; }