mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 17:40:40 +02:00
LCL: TCustomForm.BeforeDestruction calling inherited
git-svn-id: trunk@26714 -
This commit is contained in:
parent
ed89031721
commit
34fde7fc8c
@ -90,9 +90,11 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TCustomForm.BeforeDestruction;
|
||||
begin
|
||||
// set csDestroying
|
||||
inherited BeforeDestruction;
|
||||
//debugln(['TCustomForm.BeforeDestruction ',DbgSName(Self),' ',csDestroying in ComponentState]);
|
||||
// EndWrite will happen in the destructor
|
||||
GlobalNameSpace.BeginWrite;
|
||||
Destroying;
|
||||
Screen.FSaveFocusedList.Remove(Self);
|
||||
RemoveFixupReferences(Self, '');
|
||||
if FormStyle <> fsMDIChild then Hide;
|
||||
|
Loading…
Reference in New Issue
Block a user