UltimateListCtrl: InsertItem bug

Hi,

when inserting an item to an UltimateListCtrl, using InsertItem(item) with an item id somewhere in the middle of the item list, it can happen that afterwards two rows are diplayed on top of each other ( I saw this problem when playing around with additional code for drag and drop in the report style). In order to find the reason for this behaviour, I displayed the y positions of items in the list and saw that normally all items have y=-1, but after the insertion some y-values were positive. This can lead to lines displayed at the wrong position. The bug can be worked around by adding the following lines to the InsertItem method:

for line in self._lines:

line.SetY(-1)

Raphael