mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 15:59:13 +02:00
LCL: fixed Close button glyph transparency (proper transparency mask should be assigned to HBitmap too), bug #19295
git-svn-id: trunk@31384 -
This commit is contained in:
parent
3526858f4e
commit
443af0046a
@ -1910,8 +1910,8 @@ begin
|
|||||||
img.Canvas.Pen.Width:=2;
|
img.Canvas.Pen.Width:=2;
|
||||||
img.Canvas.Line(4,4,img.Width-3, img.Height-3);
|
img.Canvas.Line(4,4,img.Width-3, img.Height-3);
|
||||||
img.Canvas.Line(img.Width-4, 4, 3, img.Height-3);
|
img.Canvas.Line(img.Width-4, 4, 3, img.Height-3);
|
||||||
Image:=img.ReleaseHandle;
|
Mask:=img.ReleaseMaskHandle;
|
||||||
Mask:=0;
|
Image:=img.ReleaseHandle;
|
||||||
img.Free;
|
img.Free;
|
||||||
Result:=True;
|
Result:=True;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user