gtk2: allocate GdkColor when we need a BkColor

git-svn-id: trunk@38758 -
This commit is contained in:
paul 2012-09-20 01:21:06 +00:00
parent fcad341d6e
commit 06660654be

View File

@ -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;