wx.grid Destroy Problem

Try using wx.CallAfter so the Destroy is sure to happen after any pending events for the grid have been processed.

···

On 10/13/11 2:39 AM, Alex Hefner wrote:

Hi
i hope someone can help me.
I have a wx.grid.Grid in a notebookpanel and when i call Destroy for the
grid python crashs.
I tried to call DestroyChildren on the panel but with the same issue.

--
Robin Dunn
Software Craftsman

Still doesn’t work, but i dont need it anymore.

Thanks anyway
Alex