mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 00:02:03 +02:00
fixed CachedDataSize for customlistbox from Vincent
git-svn-id: trunk@4932 -
This commit is contained in:
parent
c8a8052bd5
commit
7660812e1d
@ -382,7 +382,7 @@ begin
|
||||
inherited Create(AOwner);
|
||||
fCompStyle := csListBox;
|
||||
FBorderStyle:= bsSingle;
|
||||
FItems := TExtendedStringList.Create(SizeOf(TCustomListBoxItemRecord));
|
||||
FItems := TExtendedStringList.Create(GetCachedDataSize);
|
||||
FCacheValid := True;
|
||||
FItemIndex:=-1;
|
||||
FCanvas := TControlCanvas.Create;
|
||||
|
Loading…
Reference in New Issue
Block a user