From 68988224809ee7bd6c3c517e7ac5a3ab6c2b4ab9 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 3 Mar 2004 09:39:51 +0000 Subject: [PATCH] casting for CW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/control.cpp | 2 +- src/mac/control.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/control.cpp b/src/mac/carbon/control.cpp index a2ad5d4e16..033c3bde05 100644 --- a/src/mac/carbon/control.cpp +++ b/src/mac/carbon/control.cpp @@ -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 ; } diff --git a/src/mac/control.cpp b/src/mac/control.cpp index a2ad5d4e16..033c3bde05 100644 --- a/src/mac/control.cpp +++ b/src/mac/control.cpp @@ -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 ; }