[wxPython] Bug in wxListCtrl.SetStringItem ???

Dear all,

I have wxListCtrl in wxLC_REPORT style. I want to update the content of some parts of the list items using the call to SetStringItem(index, column, string).

This works fine with all index except 0 (the first entry). Such a call does not update the control. The old text still shows.

I am using Python 2.0 with wxPython 2.2.5 on a Windows NT machine.

Is this a known bug???

Is there a way to force the control to update it contents?

Thanks for your help.

Joerg

I have wxListCtrl in wxLC_REPORT style. I want to update the content of

some parts of the list items using the call to SetStringItem(index, column,
string).

This works fine with all index except 0 (the first entry). Such a call

does not update the control. The old text still shows.

I am using Python 2.0 with wxPython 2.2.5 on a Windows NT machine.

Works for me in 2.3.x, but I don't recall anything in 2.2.x that would cause
this.

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

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

Hi,

Is it possible that the field editor is active, while the data is being
updated. The table, I believe consists of two components, the cell
itself,
and the field editor on top of it. Do you have the problem updating cell
0, when
you are say .... editing cell 1.

Kevin

Joerg Hackenberg wrote:

···

Dear all,

I have wxListCtrl in wxLC_REPORT style. I want to update the content of some parts of the list items using the call to SetStringItem(index, column, string).

This works fine with all index except 0 (the first entry). Such a call does not update the control. The old text still shows.

I am using Python 2.0 with wxPython 2.2.5 on a Windows NT machine.

Is this a known bug???

Is there a way to force the control to update it contents?

Thanks for your help.

Joerg

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users