From 4f97b3bcad3c2b138ec5d752f28c8032f34150b5 Mon Sep 17 00:00:00 2001 From: Ruslan Kabatsayev Date: Tue, 31 Jul 2012 17:07:37 +0400 Subject: Revert "Enable native background rendering for ToolBox" This reverts commit 0714d191e7273c3b32837834f9a37867b81cb78a. --- vcl/source/window/toolbox.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'vcl') diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index b89d3118472c..7608e5f79f70 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -542,12 +542,6 @@ void ToolBox::ImplDrawBackground( ToolBox* pThis, const Rectangle &rRect ) // execute pending paint requests ImplCheckUpdate( pThis ); - if ( pThis->IsNativeControlSupported(CTRL_WINDOW_BACKGROUND,PART_ENTIRE_CONTROL) && - pThis->DrawNativeControl(CTRL_WINDOW_BACKGROUND,PART_ENTIRE_CONTROL,rRect, - CTRL_STATE_ENABLED,ImplControlValue(0),rtl::OUString()) - ) - return; - ImplDockingWindowWrapper *pWrapper = ImplGetDockingManager()->GetDockingWindowWrapper( pThis ); sal_Bool bIsInPopupMode = pThis->ImplIsInPopupMode(); -- cgit