LCL: Set right cursor in TCoolbar.MouseDown. Patch from Balázs Székely.

git-svn-id: trunk@48610 -
This commit is contained in:
juha 2015-04-03 16:26:03 +00:00
parent ebcbe939e6
commit eb89d4043b

View File

@ -843,6 +843,11 @@ var aBand: Integer;
aGrabber: Boolean;
begin
inherited MouseDown(Button, Shift, X, Y);
if Button = mbRight then
begin
Cursor := crDefault;
Exit;
end;
MouseToBandPos(X, Y, aBand, aGrabber);
FDraggedBandIndex := aBand;
if (aBand >= 0) and (length(FVisiBands) > 1) then begin //hit any Band