commented out controlDef for carbon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-08-10 19:00:34 +00:00
parent 43d99b6dc0
commit b6f5f27a33
2 changed files with 6 additions and 0 deletions

View File

@@ -401,8 +401,11 @@ void wxControl::MacPostControlCreate()
wxMacControlActionUPP = NewControlDefUPP( wxMacControlDefintion ) ;
}
#if TARGET_CARBON
/*
only working under classic carbon
m_macControlAction = *(**(ControlHandle)m_macControl).contrlDefProc ;
(**(ControlHandle)m_macControl).contrlDefProc = (Handle) &wxMacControlActionUPP ;
*/
#else
m_macControlAction = *(**(ControlHandle)m_macControl).contrlDefProc ;

View File

@@ -401,8 +401,11 @@ void wxControl::MacPostControlCreate()
wxMacControlActionUPP = NewControlDefUPP( wxMacControlDefintion ) ;
}
#if TARGET_CARBON
/*
only working under classic carbon
m_macControlAction = *(**(ControlHandle)m_macControl).contrlDefProc ;
(**(ControlHandle)m_macControl).contrlDefProc = (Handle) &wxMacControlActionUPP ;
*/
#else
m_macControlAction = *(**(ControlHandle)m_macControl).contrlDefProc ;