summaryrefslogtreecommitdiff
path: root/vcl/source/window/toolbox.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-06-11 16:41:34 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-17 17:06:36 +0200
commit8806e00dbc14b55cff6072f0f6dcf90e0a11a079 (patch)
treee5fc0f2b640fab71fc38601830a1c0ae2636addf /vcl/source/window/toolbox.cxx
parent70ed7beae7b21e391df0a246078c2103f8b3fe3a (diff)
Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931 Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-rw-r--r--vcl/source/window/toolbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index c672c7aebead..8242ec9c9041 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -409,7 +409,7 @@ void ToolBox::ImplDrawGradientBackground( ToolBox* pThis, ImplDockingWindowWrapp
Gradient g;
g.SetAngle( pThis->mbHorz ? 0 : 900 );
- g.SetStyle( GRADIENT_LINEAR );
+ g.SetStyle( GradientStyle_LINEAR );
g.SetStartColor( startCol );
g.SetEndColor( endCol );