fix for #1106519
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
61c747cda0
commit
b343fb9fb9
@ -308,6 +308,10 @@ static void SetupMouseEvent( wxMouseEvent &wxevent , wxMacCarbonEvent &cEvent )
|
||||
button = kEventMouseButtonSecondary ;
|
||||
}
|
||||
|
||||
// otherwise we report double clicks by connecting a left click with a ctrl-left click
|
||||
if ( clickCount > 1 && button != lastButton )
|
||||
clickCount = 1 ;
|
||||
|
||||
// we must make sure that our synthetic 'right' button corresponds in
|
||||
// mouse down, moved and mouse up, and does not deliver a right down and left up
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user