mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-26 03:02:15 -05:00
Added destructor for the paramhints.
This commit is contained in:
parent
7007f28939
commit
6fe68d1267
@ -99,6 +99,7 @@ type
|
|||||||
procedure DrawHints(var MaxWidth, MaxHeight: Integer; Draw: boolean);
|
procedure DrawHints(var MaxWidth, MaxHeight: Integer; Draw: boolean);
|
||||||
function PrepareParamString(out Str : string; out MustHide : boolean) : integer;
|
function PrepareParamString(out Str : string; out MustHide : boolean) : integer;
|
||||||
public
|
public
|
||||||
|
destructor Destroy; override;
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
procedure CalculateBounds;
|
procedure CalculateBounds;
|
||||||
procedure UpdateHint;
|
procedure UpdateHint;
|
||||||
@ -706,6 +707,12 @@ begin
|
|||||||
Parser.Free;
|
Parser.Free;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
destructor TParamHint.Destroy;
|
||||||
|
begin
|
||||||
|
Application.RemoveOnIdleHandler(@ApplicationIdle);
|
||||||
|
inherited Destroy;
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
constructor TParamHint.Create(TheOwner: TComponent);
|
constructor TParamHint.Create(TheOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user