mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 19:56:03 +02:00
lcl: add TListItems.BeginUpdate, TListItems.EndUpdate with empty implementation to simplify delphi project conversion
git-svn-id: trunk@16941 -
This commit is contained in:
parent
11ae1cd3fc
commit
7b0a85df11
@ -739,10 +739,12 @@ type
|
||||
public
|
||||
function Add: TListItem;
|
||||
procedure AddItem(AItem: TListItem);
|
||||
procedure BeginUpdate;
|
||||
procedure Clear;
|
||||
constructor Create(AOwner : TCustomListView);
|
||||
destructor Destroy; override;
|
||||
procedure Delete(const AIndex : Integer);
|
||||
procedure EndUpdate;
|
||||
function FindCaption(StartIndex: Integer; Value: string;
|
||||
Partial, Inclusive, Wrap: Boolean;
|
||||
PartStart: Boolean = True): TListItem;
|
||||
|
@ -104,6 +104,11 @@ begin
|
||||
then FOwner.ItemInserted(AItem);
|
||||
end;
|
||||
|
||||
procedure TListItems.BeginUpdate;
|
||||
begin
|
||||
// todo:
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
TListItems Clear
|
||||
------------------------------------------------------------------------------}
|
||||
@ -121,6 +126,11 @@ begin
|
||||
TListItem(FItems.Items[AIndex]).Delete;
|
||||
end;
|
||||
|
||||
procedure TListItems.EndUpdate;
|
||||
begin
|
||||
// todo:
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
{ TListItems IntfCreateItem }
|
||||
{------------------------------------------------------------------------------}
|
||||
|
Loading…
Reference in New Issue
Block a user