In a chain of event that updates grid, I always get this:
wxPython.wxc.wxPyAssertionError: C++ assertion "uiIndex < m_nCount" failed in c:\PROJECTS\wx\include\wx/dynarray.h(470)
Pls let me know if you need further info.
I see that you've solved this already but in the future please remember to specify the platform and version of wxPython you are using, and for things like this a full traceback should also be included. Finally if you can reduce the program to a minimal sample that shows just the problem then that is best.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!