Re: dynamic panel destruction

Dietmar Schwertberger <[email protected]> Mon, 10 Jun 2024 20:58:10 +0200
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
When destroying windows or widgets, you need to be sure that there are 
no pending events.

So, e.g. call .Hide() and then .DestroyLater() or use wx.CallAfter to 
call .Destroy()

Regards,

Dietmar

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/aebaee9b-5fb5-4a04-9475-80d103e1a30c%40schwertberger.de.