fixing the carbon cfm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1307,9 +1307,13 @@ OSStatus wxMacControl::SetData(ControlPartCode inPartCode , ResType inTag , Size
|
||||
|
||||
OSStatus wxMacControl::SendEvent( EventRef event , OptionBits inOptions )
|
||||
{
|
||||
#if TARGET_API_MAC_OSX
|
||||
return SendEventToEventTargetWithOptions( event,
|
||||
HIObjectGetEventTarget( (HIObjectRef) m_controlRef ),
|
||||
inOptions );
|
||||
HIObjectGetEventTarget( (HIObjectRef) m_controlRef ), inOptions );
|
||||
#else
|
||||
#pragma unused(inOptions)
|
||||
return SendEventToEventTarget(event,GetControlEventTarget( m_controlRef ) ) ;
|
||||
#endif
|
||||
}
|
||||
|
||||
OSStatus wxMacControl::SendHICommand( HICommand &command , OptionBits inOptions )
|
||||
|
Reference in New Issue
Block a user