mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 22:59:27 +02:00
remove reference when invalid
git-svn-id: trunk@8388 -
This commit is contained in:
parent
b1e71c9fca
commit
f10347d0a9
@ -73,6 +73,7 @@ end;
|
||||
procedure TBitmapCanvas.DeselectHandles;
|
||||
begin
|
||||
if HandleAllocated then begin
|
||||
FBitmap.FImage.BitmapCanvas := nil;
|
||||
if FOldBitmapValid then begin
|
||||
SelectObject(FHandle, FOldBitmap);
|
||||
FOldBitmap:=0;
|
||||
|
Loading…
Reference in New Issue
Block a user