ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved