mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 15:33:46 +02:00
lcl: destroy canvas handle on statusbar window destruction (bug #0019497)
git-svn-id: trunk@33342 -
This commit is contained in:
parent
84fd8c7545
commit
1e70708349
@ -146,6 +146,8 @@ end;
|
||||
procedure TStatusBar.DestroyWnd;
|
||||
begin
|
||||
inherited DestroyWnd;
|
||||
if FCanvas <> nil then
|
||||
TControlCanvas(FCanvas).FreeHandle;
|
||||
FHandlePanelCount:=0;
|
||||
FHandleObjectNeedsUpdate:=false;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user