git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35261
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// in case the callback might be called during destruction
wxRemoveMacControlAssociation( this) ;
{
// in case the callback might be called during destruction
wxRemoveMacControlAssociation( this) ;
+ ::RemoveEventHandler( (EventHandlerRef ) m_macControlEventHandler ) ;
// we currently are not using this hook
// ::SetControlColorProc( *m_peer , NULL ) ;
m_peer->Dispose() ;
// we currently are not using this hook
// ::SetControlColorProc( *m_peer , NULL ) ;
m_peer->Dispose() ;