Defining a wx.Panel destructor in wxpython
Defining a wx.Panel destructor in wxpython Question: How do you define a destructor for a wx.Panel in wxpython? META: After inheriting a code base which uses wxpython and PyPubSub I’ve discovered a huge number of pubsub subscriptions in the __init__ functions of wx.Panel‘s that are never unsubscribed and cause errors later on in the program. …