From 177f8e8bbdc2a554f3f795e4e766c2e184410f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20N=C3=A9meth?= Date: Thu, 4 Jun 2015 18:01:55 +0200 Subject: [PATCH] fix rendercontext rendering of standard toolbar icons Change-Id: I6e0399c16d3e900fbca56fc757f342ea893d0ad4 --- vcl/source/window/paint.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx index ccd2029c7cce..ad7fb721728b 100644 --- a/vcl/source/window/paint.cxx +++ b/vcl/source/window/paint.cxx @@ -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; }