mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 20:04:00 +02:00
parent
bd6f6bf6dd
commit
1775e611f6
@ -2760,8 +2760,9 @@ end;
|
||||
|
||||
procedure TCocoaListBox.mouseDown(event: NSEvent);
|
||||
begin
|
||||
if not Assigned(callback) or not callback.MouseUpDownEvent(event) then
|
||||
inherited mouseDown(event);
|
||||
if Assigned(callback) then callback.MouseUpDownEvent(event);
|
||||
// Always call inherited, otherwise clicking stops working, see bug 30297
|
||||
inherited mouseDown(event);
|
||||
end;
|
||||
|
||||
procedure TCocoaListBox.rightMouseDown(event: NSEvent);
|
||||
|
Loading…
Reference in New Issue
Block a user