git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26054
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( (ControlHandle) m_macControl )
{
// in case the callback might be called during destruction
- ::SetControlColorProc( m_macControl , NULL ) ;
+ ::SetControlColorProc( (ControlHandle) m_macControl , NULL ) ;
::DisposeControl( (ControlHandle) m_macControl ) ;
m_macControl = NULL ;
}
if ( (ControlHandle) m_macControl )
{
// in case the callback might be called during destruction
- ::SetControlColorProc( m_macControl , NULL ) ;
+ ::SetControlColorProc( (ControlHandle) m_macControl , NULL ) ;
::DisposeControl( (ControlHandle) m_macControl ) ;
m_macControl = NULL ;
}