wxGrid and calling SetTable multiple times

The Wiki includes a list-serv posting from Robin confirming that multiple
calls to SetTable for a wxGrid are not allowed. The note indicates that
this might be changed in future releases of wxPython. By any chance has
this been done or is the only option to use some variant of the workaround
that was suggested in that note?

1 Like

Zatz, Steve wrote:

The Wiki includes a list-serv posting from Robin confirming that multiple
calls to SetTable for a wxGrid are not allowed. The note indicates that
this might be changed in future releases of wxPython. By any chance has
this been done or is the only option to use some variant of the workaround
that was suggested in that note?

With Python delegation this is very easy. Make small proxy which delegates all methods.

HTH
Niki Spahiev

Zatz, Steve wrote:

The Wiki includes a list-serv posting from Robin confirming that multiple
calls to SetTable for a wxGrid are not allowed. The note indicates that
this might be changed in future releases of wxPython. By any chance has
this been done or is the only option to use some variant of the workaround
that was suggested in that note?

I think that it has been done, but only for 2.5. You'll need to check the sources to be sure though as my memory of it is a bit foggy.

···

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