fix range check error (0010888)

git-svn-id: trunk@14252 -
This commit is contained in:
paul 2008-02-26 04:22:19 +00:00
parent 7b7eafc985
commit 3cbd0f604b

View File

@ -945,7 +945,7 @@ begin
else
AHeight := ItemHeight;
if FStyle = csOwnerDrawVariable then
MeasureItem(ItemId, AHeight);
MeasureItem(Integer(ItemId), AHeight);
if AHeight > 0 then
ItemHeight := AHeight;
end;