Kaydet (Commit) 0394b69c authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Revert "rendercontext: Fix borderwindow rendering when called from class Edit."

This is not necessary for double-buffering anyway (since
891304bb), and breaks the non-double-buffered
case.

This reverts commit 1926cfb9.
üst a3088628
......@@ -1078,16 +1078,16 @@ void Edit::ImplPaintBorder(vcl::RenderContext& rRenderContext, long nXStart, lon
aClipRgn.Move(aBorderOffs.X(), aBorderOffs.Y());
}
vcl::Region oldRgn(rRenderContext.GetClipRegion());
rRenderContext.SetClipRegion(aClipRgn);
vcl::Region oldRgn(pBorder->GetClipRegion());
pBorder->SetClipRegion(aClipRgn);
pBorder->Paint(rRenderContext, Rectangle());
pBorder->Paint(*pBorder, Rectangle()); // FIXME
rRenderContext.SetClipRegion(oldRgn);
pBorder->SetClipRegion(oldRgn);
}
else
{
pBorder->Paint(rRenderContext, Rectangle());
pBorder->Paint(*pBorder, Rectangle()); // FIXME
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment