diff --git a/lcl/include/customcombobox.inc b/lcl/include/customcombobox.inc index 8d63265737..f254dcd00f 100644 --- a/lcl/include/customcombobox.inc +++ b/lcl/include/customcombobox.inc @@ -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;