fix rendercontext rendering of standard toolbar icons

Change-Id: I6e0399c16d3e900fbca56fc757f342ea893d0ad4
This commit is contained in:
László Németh
2015-06-04 18:01:55 +02:00
parent cd17c9f96a
commit 177f8e8bbd

View File

@@ -177,7 +177,7 @@ void PaintHelper::DoPaint(const vcl::Region* pRegion)
{
WindowImpl* pWindowImpl = m_pWindow->ImplGetWindowImpl();
vcl::Region* pWinChildClipRegion = m_pWindow->ImplGetWinChildClipRegion();
if (pWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL)
if (pWindowImpl->mnPaintFlags & IMPL_PAINT_PAINTALL || m_pBuffer)
{
pWindowImpl->maInvalidateRegion = *pWinChildClipRegion;
}