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:
Stefan Csomor 2004-03-03 09:39:51 +00:00
parent d206654397
commit 6898822480
2 changed files with 2 additions and 2 deletions

View File

@ -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 ;
}

View File

@ -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 ;
}