diff options
-rw-r--r-- | vcl/source/window/dockingarea.cxx | 1 | ||||
-rw-r--r-- | vcl/source/window/menu.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx index 33b1c22da6af..5c744a2cd445 100644 --- a/vcl/source/window/dockingarea.cxx +++ b/vcl/source/window/dockingarea.cxx @@ -64,6 +64,7 @@ static void ImplInitBackground( DockingAreaWindow* pThis ) { Wallpaper aWallpaper( rPersonaBitmap ); aWallpaper.SetStyle( WALLPAPER_TOPRIGHT ); + aWallpaper.SetColor( Application::GetSettings().GetStyleSettings().GetWorkspaceColor() ); // we need to shift the bitmap vertically so that it spans over the // menubar conveniently diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 66de4bfcc193..e379523c76a3 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -3870,6 +3870,8 @@ static void ImplInitMenuWindow( Window* pWin, sal_Bool bFont, sal_Bool bMenuBar { Wallpaper aWallpaper( rPersonaBitmap ); aWallpaper.SetStyle( WALLPAPER_TOPRIGHT ); + aWallpaper.SetColor( Application::GetSettings().GetStyleSettings().GetWorkspaceColor() ); + pWin->SetBackground( aWallpaper ); pWin->SetPaintTransparent( sal_False ); pWin->SetParentClipMode( 0 ); |