Cocoa: fix the callback call for cocoa tabcontrol mouseup event (never happens, but sanity is the best), issue #39731

This commit is contained in:
Dmitry Boyarintsev 2022-05-08 00:48:00 -04:00 committed by Maxim Ganetsky
parent 7ee95e21d0
commit a1b0518709

View File

@ -615,7 +615,7 @@ begin
Exit; Exit;
end; end;
if not Assigned(callback) then callback.MouseUpDownEvent(event); if not Assigned(callback) or not callback.MouseUpDownEvent(event) then
inherited mouseUp(event); inherited mouseUp(event);
end; end;