mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-29 16:42:44 +02:00
fix inability to uncheck checkbox
git-svn-id: trunk@7508 -
This commit is contained in:
parent
d7584d0c80
commit
76838c6238
@ -185,13 +185,6 @@ begin
|
||||
inherited Loaded;
|
||||
end;
|
||||
|
||||
procedure TCustomCheckBox.MouseUp(Button: TMouseButton; Shift: TShiftState; X,
|
||||
Y: Integer);
|
||||
begin
|
||||
inherited MouseUp(Button, Shift, X, Y);
|
||||
if State=cbGrayed then State:=cbChecked;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
procedure TCustomCheckBox.RealSetText(const Value: TCaption);
|
||||
------------------------------------------------------------------------------}
|
||||
|
@ -887,8 +887,6 @@ type
|
||||
procedure RealSetText(const Value: TCaption); override;
|
||||
procedure ApplyChanges; virtual;
|
||||
procedure Loaded; override;
|
||||
procedure MouseUp(Button: TMouseButton; Shift: TShiftState;
|
||||
X, Y: Integer); override;
|
||||
public
|
||||
constructor Create(TheOwner: TComponent); override;
|
||||
public
|
||||
|
Loading…
Reference in New Issue
Block a user