From 3cbd0f604b6a0d257dfddd608aedc87f7067f50a Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 26 Feb 2008 04:22:19 +0000 Subject: [PATCH] fix range check error (0010888) git-svn-id: trunk@14252 - --- lcl/include/customcombobox.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/include/customcombobox.inc b/lcl/include/customcombobox.inc index 23508a793f..0e27351d44 100644 --- a/lcl/include/customcombobox.inc +++ b/lcl/include/customcombobox.inc @@ -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;