cocoa: fix ETO_OPAQUE, and BkMode OPAQUE meaning in ExtTextOut

git-svn-id: trunk@38641 -
This commit is contained in:
paul 2012-09-13 12:54:25 +00:00
parent b61a389984
commit 38cd52da7d

View File

@ -1487,7 +1487,7 @@ begin
end;
end;
FillBg := not Assigned(Rect) and ((Options and ETO_OPAQUE) <> 0);
FillBg := BkMode = OPAQUE;
if FillBg then
FText.BackgroundColor := BkBrush.ColorRef;
FText.SetText(UTF8Chars, Count);