mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-15 02:59:25 +02:00
LCL: fixed range error when itemID is UINT(-1)
git-svn-id: trunk@10929 -
This commit is contained in:
parent
94c4bef7be
commit
e57532df45
@ -909,7 +909,7 @@ begin
|
||||
AHeight := Self.ItemHeight
|
||||
else
|
||||
Aheight := ItemHeight;
|
||||
MeasureItem(ItemId, AHeight);
|
||||
MeasureItem(Integer(ItemId), AHeight);
|
||||
if AHeight>0 then
|
||||
ItemHeight := AHeight;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user