mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 05:49:11 +02:00
LCL: TCanvas.CreateBrush using TRANSPARENT, OPAQUE depending on Brush.Style=bsSolid
git-svn-id: trunk@10583 -
This commit is contained in:
parent
3691fb6111
commit
8d75f957cf
@ -135,7 +135,10 @@ begin
|
||||
FSavedBrushHandle:=OldHandle;
|
||||
Include(FState, csBrushValid);
|
||||
SetBkColor(FHandle, Brush.Color);
|
||||
SetBkMode(FHandle, TRANSPARENT);
|
||||
if Brush.Style=bsSolid then
|
||||
SetBkMode(FHandle, OPAQUE)
|
||||
else
|
||||
SetBkMode(FHandle, TRANSPARENT);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user