LCL: fixed range error when itemID is UINT(-1)

git-svn-id: trunk@10929 -
This commit is contained in:
vincents 2007-04-10 12:38:18 +00:00
parent 94c4bef7be
commit e57532df45

View File

@ -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;