[wxPython] Bug in wxListCtrl.SetStringItem ???

...Hmm... Works for me on 2.2.5 also. Can you reduce it to a small sample
that shows the problem?>

Dear Robin,

after examining my programm a little further I found that the problem lies not in wxListCtrl.SetStringItem but in wxListCtrl.FindItemData(start, data).

The latter function does not work as said in the docs. There it is stated that in wxMSW version 2.2.0 and later the search will include the item at index start. However, the function still excludes the first item.

A look at the wxWindows source I got from cvs sometimes this year revealed that this is a bug there. They adjusted only the implementation of the first variant (start, string, partial) of this overloaded method. The other two implementations have not changed.

Can somebody check if this is still the case in the current wxWindows sources? If it is, please inform the developers about the bug.

The strange behavior of wxListCtrl.SetStringItem was due to calling it on the index -1.

Thanks for your efforts Robin.

Best regards,

Joerg