mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 04:19:19 +02:00
lcl: remove TCustomListBox.Loaded. ItemIndex is initialized in InitializeWnd
git-svn-id: trunk@36756 -
This commit is contained in:
parent
d54734d4eb
commit
03e0cafaf9
@ -61,17 +61,6 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TCustomListBox.Loaded;
|
||||
begin
|
||||
inherited Loaded;
|
||||
if HandleAllocated then
|
||||
begin
|
||||
LockSelectionChange;
|
||||
SendItemIndex;
|
||||
UnlockSelectionChange;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TCustomListBox.CreateParams(var Params: TCreateParams);
|
||||
const
|
||||
MultiSelectStyle: array[Boolean] of DWord = (LBS_MULTIPLESEL, LBS_EXTENDEDSEL);
|
||||
|
@ -522,7 +522,6 @@ type
|
||||
procedure AssignCacheToItemData(const AIndex: Integer; const AData: Pointer); virtual; // called to restore the itemdata after a handle is created
|
||||
procedure BeginAutoDrag; override;
|
||||
function CalculateStandardItemHeight: Integer;
|
||||
procedure Loaded; override;
|
||||
procedure CreateParams(var Params: TCreateParams); override;
|
||||
procedure InitializeWnd; override;
|
||||
procedure FinalizeWnd; override;
|
||||
|
Loading…
Reference in New Issue
Block a user