mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 13:00:17 +02:00
lcl: TCheckListBox: call event handlers after widgetset changes
git-svn-id: trunk@22038 -
This commit is contained in:
parent
c8b4ccad1f
commit
a35abe991c
@ -278,11 +278,10 @@ end;
|
||||
procedure TCustomCheckListBox.SetState(AIndex: Integer;
|
||||
const AValue: TCheckBoxState);
|
||||
begin
|
||||
CheckIndex(AIndex);
|
||||
|
||||
if HandleAllocated
|
||||
then SendItemState(AIndex, AValue)
|
||||
else PCachedItemData(GetCachedData(AIndex) + FItemDataOffset)^.State := AValue;
|
||||
CheckIndex(AIndex);
|
||||
end;
|
||||
|
||||
class procedure TCustomCheckListBox.WSRegisterClass;
|
||||
|
Loading…
Reference in New Issue
Block a user