Skip to content

Commit

Permalink
Merge pull request #2324 from cwensley/curtis/mac-fix-gridview-mouse-up
Browse files Browse the repository at this point in the history
Mac: Fix Tree/GridView MouseUp events
  • Loading branch information
cwensley authored Sep 28, 2022
2 parents 0617159 + 9e12e2a commit 86f8ba2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Eto.Mac/Forms/Controls/GridHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,13 @@ public override void AttachEvent(string id)
AddMethod(MacView.selMouseDown, MacView.TriggerMouseDown_Delegate, "v@:@", Control.HeaderView);
AddMethod(MacView.selRightMouseDown, MacView.TriggerMouseDown_Delegate, "v@:@", Control.HeaderView);
AddMethod(MacView.selOtherMouseDown, MacView.TriggerMouseDown_Delegate, "v@:@", Control.HeaderView);
base.AttachEvent(id);
break;
case Eto.Forms.Control.MouseUpEvent:
AddMethod(MacView.selMouseUp, MacView.TriggerMouseUp_Delegate, "v@:@", Control.HeaderView);
AddMethod(MacView.selRightMouseUp, MacView.TriggerMouseUp_Delegate, "v@:@", Control.HeaderView);
AddMethod(MacView.selOtherMouseUp, MacView.TriggerMouseUp_Delegate, "v@:@", Control.HeaderView);
base.AttachEvent(id);
break;
default:
base.AttachEvent(id);
Expand Down

0 comments on commit 86f8ba2

Please sign in to comment.