[wxPython] Hooking into the window destruction sequence
by Jeff Kotula other posts by this author
Apr 25 2002 5:33PM messages near this date
Re: [wxPython] wxToolBar and wxBitmaps
|
Re: [wxPython] Hooking into the window destruction sequence
I would like to hook some cleanup code into the window destruction
activities such that when a wxPanel-derived class is destroyed
(from whatever cause) the cleanup code is executed. I've tried
overriding the Destroy() function but that doesn't seem to be
executed when the parent widget is destroyed.
Any help with this would be greatly appreciated. If I can't do this,
then
the cleanup code must be done explicitly by any and all clients of
my panel and in my environment that is sub-optimal. Thanks!
------------------------------------------------------------------------
-------------
Jeff Kotula Sr. Principal Software Engineer
Vital Images jkotula@[...].com
Renunciation is not giving up the things of this world,
but accepting that they go away.
-- Suzuki Roshi
Attachments:
unknown1
Thread:
Jeff Kotula
Robin Dunn
Matthew Sherborne
Robin Dunn
Robin Dunn
Bernhard Herzog
Bernhard Herzog
Mike C. Fletcher
Steve Holden
|