On 10/4/12 9:41 AM, sebasti�n wrote:
> Hi
>
> I've create a sheet and a context menu to delete columns,but if I want
> to delete a column that has a custom attribute then the aplication will
> crash, in the other hand if I want to delete an standar column - a
> column without a custom attribute, then the aplication will continue
> working ok
It is probably trying to delete the custom attribute twice. Try calling
IncRef on it before you give it to the grid. Otherwise:
http://wiki.wxpython.org/MakingSampleApps
--
Robin Dunn
Software Craftsman
http://wxPython.org