mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +02:00
gtk2: allocate GdkColor when we need a BkColor
git-svn-id: trunk@38758 -
This commit is contained in:
parent
fcad341d6e
commit
06660654be
@ -3898,7 +3898,7 @@ begin
|
||||
|
||||
if (DevCtx.BkMode = OPAQUE) then
|
||||
begin
|
||||
EnsureGCColor(DC, dccCurrentBackColor, True, True);
|
||||
AllocGDIColor(DC, @DevCtx.CurrentBackColor);
|
||||
BackGroundColor := @DevCtx.CurrentBackColor.Color;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user