mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 17:20:55 +02:00
MG: fixed removing TSpeedButton
git-svn-id: trunk@2391 -
This commit is contained in:
parent
1057c266a2
commit
41ae32b3ad
@ -59,7 +59,7 @@ end;
|
|||||||
------------------------------------------------------------------------------}
|
------------------------------------------------------------------------------}
|
||||||
destructor TSpeedbutton.Destroy;
|
destructor TSpeedbutton.Destroy;
|
||||||
begin
|
begin
|
||||||
FGlyph.Free;
|
FreeAndNil(FGlyph);
|
||||||
inherited Destroy;
|
inherited Destroy;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -290,6 +290,7 @@ begin
|
|||||||
else FState := bsUp;
|
else FState := bsUp;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
if FGlyph=nil then exit;
|
||||||
|
|
||||||
PaintRect := Bounds(Left, Top, Width, Height);
|
PaintRect := Bounds(Left, Top, Width, Height);
|
||||||
// PaintRect := Rect(0, 0, Width, Height);
|
// PaintRect := Rect(0, 0, Width, Height);
|
||||||
@ -656,6 +657,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.25 2002/09/06 16:14:19 lazarus
|
||||||
|
MG: fixed removing TSpeedButton
|
||||||
|
|
||||||
Revision 1.24 2002/09/03 22:31:25 lazarus
|
Revision 1.24 2002/09/03 22:31:25 lazarus
|
||||||
MG: removed old workaround in TSpeedButton
|
MG: removed old workaround in TSpeedButton
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user