summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-06-21 14:08:46 +0200
committerobo <obo@openoffice.org>2010-06-21 14:08:46 +0200
commit7909970540ae7c31fe8b93705b50dd93e9208f85 (patch)
treeec606be5181556970d81b2dd06f33814e2aa27c7 /svtools
parent72166dc9c74df9bf4680f88a749cfd979b5b6737 (diff)
parent2a28988178dd09dd437f726df8263d6659478c27 (diff)
CWS-TOOLING: integrate CWS renaissance2b
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/toolbarmenu.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx
index f07ebd7fe8cd..fa393da3d5a8 100644
--- a/svtools/source/control/toolbarmenu.cxx
+++ b/svtools/source/control/toolbarmenu.cxx
@@ -481,6 +481,9 @@ void ToolbarMenu::implInit(const Reference< XFrame >& rFrame)
{
mpImpl = new ToolbarMenu_Impl( *this, rFrame );
+ const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
+ SetControlBackground( rStyleSettings.GetMenuColor() );
+
initWindow();
Window* pWindow = GetTopMostParentSystemWindow( this );
@@ -638,8 +641,6 @@ void ToolbarMenu::initWindow()
{
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
- SetControlBackground( GetSettings().GetStyleSettings().GetFaceGradientColor() );
-
SetPointFont( rStyleSettings.GetMenuFont() );
SetBackground( Wallpaper( GetControlBackground() ) );
SetTextColor( rStyleSettings.GetMenuTextColor() );