mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-30 09:02:48 +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;
|
inherited Loaded;
|
||||||
end;
|
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);
|
procedure TCustomCheckBox.RealSetText(const Value: TCaption);
|
||||||
------------------------------------------------------------------------------}
|
------------------------------------------------------------------------------}
|
||||||
|
@ -887,8 +887,6 @@ type
|
|||||||
procedure RealSetText(const Value: TCaption); override;
|
procedure RealSetText(const Value: TCaption); override;
|
||||||
procedure ApplyChanges; virtual;
|
procedure ApplyChanges; virtual;
|
||||||
procedure Loaded; override;
|
procedure Loaded; override;
|
||||||
procedure MouseUp(Button: TMouseButton; Shift: TShiftState;
|
|
||||||
X, Y: Integer); override;
|
|
||||||
public
|
public
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
public
|
public
|
||||||
|
Loading…
Reference in New Issue
Block a user