mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 19:39:28 +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
|
if (DevCtx.BkMode = OPAQUE) then
|
||||||
begin
|
begin
|
||||||
EnsureGCColor(DC, dccCurrentBackColor, True, True);
|
AllocGDIColor(DC, @DevCtx.CurrentBackColor);
|
||||||
BackGroundColor := @DevCtx.CurrentBackColor.Color;
|
BackGroundColor := @DevCtx.CurrentBackColor.Color;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user