gtk: undo the DC offset before returning the adjusted rect value in DrawEdge

git-svn-id: trunk@23271 -
This commit is contained in:
blikblum 2009-12-25 10:54:14 +00:00
parent eda58ffd42
commit b07215ffad

View File

@ -2922,9 +2922,11 @@ begin
end;
// adjust rect if needed
if (grfFlags and BF_ADJUST) = BF_ADJUST
then ARect := R;
if (grfFlags and BF_ADJUST) = BF_ADJUST then
begin
OffsetRect(R, -DCOrigin.X, -DCOrigin.Y);
ARect := R;
end;
Result := True;
end;
end;