giving correct 'pressed' visual feedback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d51305e81e
commit
d60f41f2b4
@ -170,7 +170,7 @@ static pascal OSStatus wxMacToolBarToolControlEventHandler( EventHandlerCallRef
|
||||
|
||||
ControlPartCode pc = kControlNoPart ;
|
||||
if ( CGRectContainsPoint( rect , pt ) )
|
||||
pc = kControlButtonPart ;
|
||||
pc = kControlIconPart ;
|
||||
cEvent.SetParameter( kEventParamControlPart , typeControlPartCode, pc ) ;
|
||||
result = noErr ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user