need to call method of a class

git-svn-id: trunk@6016 -
This commit is contained in:
micha 2004-09-16 14:52:20 +00:00
parent 8320028fd9
commit 810e39aa71

View File

@ -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;