mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 05:21:25 +02:00
need to call method of a class
git-svn-id: trunk@6016 -
This commit is contained in:
parent
8320028fd9
commit
810e39aa71
@ -217,7 +217,7 @@ procedure TCustomListBox.SendItemSelected(Index: integer; IsSelected: boolean);
|
||||
begin
|
||||
if HandleAllocated then begin
|
||||
LockSelectionChange;
|
||||
TWSCustomListBox(WidgetSetClass).SelectItem(Self, Index, IsSelected);
|
||||
TWSCustomListBoxClass(WidgetSetClass).SelectItem(Self, Index, IsSelected);
|
||||
UnlockSelectionChange;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user