summaryrefslogtreecommitdiff
authorRuslan Kabatsayev <b7.10110111@gmail.com>2012-07-31 13:07:37 (GMT)
committer Noel Power <noel.power@novell.com>2012-07-31 13:43:21 (GMT)
commit4f97b3bcad3c2b138ec5d752f28c8032f34150b5 (patch) (side-by-side diff)
tree41ab51e21c38cd8547d397e74f978df06e790c8e
parent02a7dfb729799f9e1437a718951566640d0fde02 (diff)
downloadcore-4f97b3bcad3c2b138ec5d752f28c8032f34150b5.zip
core-4f97b3bcad3c2b138ec5d752f28c8032f34150b5.tar.gz
Revert "Enable native background rendering for ToolBox"
This reverts commit 0714d191e7273c3b32837834f9a37867b81cb78a.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--vcl/source/window/toolbox.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index b89d311..7608e5f 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();