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:
Stefan Csomor 2005-03-30 08:29:33 +00:00
parent d51305e81e
commit d60f41f2b4

View File

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