Hello Robin & NG,
Probably the grid is making some call to a control method after the
event happens, so the solution is to do your destruction after the grid
is done with it. This is what wx.CallAfter is for.
Thank you Robin, your suggestion works like a charm.
Andrea.