mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 21:56:00 +02:00
lcl: remove workaround to old fpc bug in BeforeDestruction
git-svn-id: trunk@25837 -
This commit is contained in:
parent
ef82b1fefd
commit
8450373c5d
@ -44,7 +44,6 @@ type
|
||||
public
|
||||
constructor Create(TheOwner: TComponent); override;
|
||||
destructor Destroy; override;
|
||||
procedure BeforeDestruction; override; // fixes missing call to Destroying in FPC
|
||||
class function NewInstance: TObject; override;
|
||||
procedure RemoveAllHandlersOfObject(AnObject: TObject); virtual;
|
||||
procedure IncLCLRefCount;
|
||||
@ -112,12 +111,6 @@ begin
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
procedure TLCLComponent.BeforeDestruction;
|
||||
begin
|
||||
inherited BeforeDestruction;
|
||||
Destroying;
|
||||
end;
|
||||
|
||||
class function TLCLComponent.NewInstance: TObject;
|
||||
begin
|
||||
Result := inherited NewInstance;
|
||||
|
Loading…
Reference in New Issue
Block a user