mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 22:58:14 +02:00
Fixed my own error in r32355 #ae9dead608. The original patch from Andrew G. Khodotov was correct.
git-svn-id: trunk@32371 -
This commit is contained in:
parent
6ddc1c8152
commit
9c295a44e2
@ -738,6 +738,7 @@ begin
|
||||
ACanvas.Brush.Color := clWindow;
|
||||
ACanvas.Font.Color := clWindowText;
|
||||
end;
|
||||
S := TListBox(Control).Items[Index];
|
||||
R := ARect;
|
||||
dh := R.Bottom - R.Top;
|
||||
ACanvas.FillRect(R);
|
||||
@ -745,7 +746,6 @@ begin
|
||||
if (TListBox(Control).Items.Objects[Index] is TCustomAction)
|
||||
and (FActionList.Images <> nil) then begin
|
||||
AAction := TListBox(Control).Items.Objects[Index] as TCustomAction;
|
||||
S := TListBox(Control).Items[Index];
|
||||
R.Right := R.Left + dh;
|
||||
if AAction.ImageIndex <> -1 then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user