datetimectrls: datetimepicker: use Self as Sender for OnCheckBoxChange.

Reason: do not expose check box to public methods.

git-svn-id: trunk@54496 -
This commit is contained in:
ondrej 2017-03-28 19:32:46 +00:00
parent bf733a19c0
commit 3764df3f2c

View File

@ -3444,7 +3444,7 @@ begin
SetFocusIfPossible;
if Assigned(FOnCheckBoxChange) then
FOnCheckBoxChange(Sender);
FOnCheckBoxChange(Self);
Invalidate;
end;