fix inability to uncheck checkbox

git-svn-id: trunk@7508 -
This commit is contained in:
micha 2005-08-16 09:27:22 +00:00
parent d7584d0c80
commit 76838c6238
2 changed files with 0 additions and 9 deletions

View File

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

View File

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