mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 07:08:21 +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.Line(4,4,img.Width-3, img.Height-3);
|
||||
img.Canvas.Line(img.Width-4, 4, 3, img.Height-3);
|
||||
Image:=img.ReleaseHandle;
|
||||
Mask:=0;
|
||||
Mask:=img.ReleaseMaskHandle;
|
||||
Image:=img.ReleaseHandle;
|
||||
img.Free;
|
||||
Result:=True;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user