this feature would need an additional flag when adding a handler to a window: void wxWindowBase::PushEventHandler(wxEvtHandler *handler, const bool& shouldBeDeletedWithWindow = false); implementation seems to be easy. I would do it if there is some interest in it. regards chris