I found a work-around (which I needed because somehow my application
was crashing hard instead of getting the exception the small example
throws): put empty values in the new column right after adding it so
that subsequent calls to GetItemText don't fail.
Cheers, Frank
···
2007/3/23, Frank Niessink <frank@niessink.com>:
Hi Robin et al.,
Attached sample raises a PyAssertionError (wxPy 2.8.1 on Windows XP).
Similar code with a wx.ListCtrl in report mode works fine and returns
an empty string for the empty column. Should I enter a bug report? In
the mean time, is there a work-around, besides catching
PyAssertionError?