mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 21:50:18 +02:00
lcl: fix TCustomImageList.AddImages (fixes bug #0014289)
git-svn-id: trunk@21554 -
This commit is contained in:
parent
095869caaf
commit
0bf3e3af55
@ -108,10 +108,10 @@ begin
|
||||
if HandleAllocated
|
||||
then begin
|
||||
p := @FData[OldCount];
|
||||
for n := OldCount to FCount - AValue.FCount - 1 do
|
||||
for n := OldCount to FCount - 1 do
|
||||
begin
|
||||
TWSCustomImageListClass(WidgetSetClass).Insert(Self, n, p);
|
||||
Inc(p, DataSize);
|
||||
Inc(PByte(p), DataSize);
|
||||
end;
|
||||
end;
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user