casting for CW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d206654397
commit
6898822480
@ -197,7 +197,7 @@ wxControl::~wxControl()
|
||||
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 ;
|
||||
}
|
||||
|
@ -197,7 +197,7 @@ wxControl::~wxControl()
|
||||
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 ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user