Revert "rendercontext: Fix borderwindow rendering when called from class Edit."
This is not necessary for double-buffering anyway (since891304bb0a
), and breaks the non-double-buffered case. This reverts commit1926cfb938
.
This commit is contained in:
@@ -1078,16 +1078,16 @@ void Edit::ImplPaintBorder(vcl::RenderContext& rRenderContext, long nXStart, lon
|
|||||||
aClipRgn.Move(aBorderOffs.X(), aBorderOffs.Y());
|
aClipRgn.Move(aBorderOffs.X(), aBorderOffs.Y());
|
||||||
}
|
}
|
||||||
|
|
||||||
vcl::Region oldRgn(rRenderContext.GetClipRegion());
|
vcl::Region oldRgn(pBorder->GetClipRegion());
|
||||||
rRenderContext.SetClipRegion(aClipRgn);
|
pBorder->SetClipRegion(aClipRgn);
|
||||||
|
|
||||||
pBorder->Paint(rRenderContext, Rectangle());
|
pBorder->Paint(*pBorder, Rectangle()); // FIXME
|
||||||
|
|
||||||
rRenderContext.SetClipRegion(oldRgn);
|
pBorder->SetClipRegion(oldRgn);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
pBorder->Paint(rRenderContext, Rectangle());
|
pBorder->Paint(*pBorder, Rectangle()); // FIXME
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user