- win->Connect
- (
- wxEVT_DESTROY,
- wxWindowDestroyEventHandler(
- wxPersistentWindowBase::HandleDestroy),
- NULL,
- this
- );
+ wxBIND_OR_CONNECT_HACK(win, wxEVT_DESTROY, wxWindowDestroyEventHandler,
+ wxPersistentWindowBase::HandleDestroy, this);