diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-05 07:42:49 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-05 07:42:49 +0000 |
commit | 662a366c16717f570f8c815b6042c93c730cbddc (patch) | |
tree | 0ccfc5515e4de017ec734046cb0bcf4ff883fd11 /vcl | |
parent | 2833f285e73f2da1ebd26229aa910234bdfeb1cb (diff) |
INTEGRATION: CWS aquavcl01 (1.21.52); FILE MERGED
2007/06/22 07:07:51 pl 1.21.52.1: #i77552# add: native window background
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/status.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx index b42023cb8573..e8abbd1ddd23 100644 --- a/vcl/source/window/status.cxx +++ b/vcl/source/window/status.cxx @@ -4,9 +4,9 @@ * * $RCSfile: status.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: hr $ $Date: 2007-06-27 20:33:57 $ + * last change: $Author: rt $ $Date: 2007-07-05 08:42:49 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -67,7 +67,7 @@ #ifndef _SV_VIRDEV_HXX #include <vcl/virdev.hxx> #endif - +#include <window.h> // ======================================================================= @@ -278,6 +278,14 @@ void StatusBar::ImplInitSettings( BOOL bFont, aColor = rStyleSettings.GetWindowColor(); SetBackground( aColor ); mpImplData->mpVirDev->SetBackground( GetBackground() ); + + // NWF background + if( ! IsControlBackground() && + IsNativeControlSupported( CTRL_WINDOW_BACKGROUND, PART_BACKGROUND_WINDOW ) ) + { + ImplGetWindowImpl()->mnNativeBackground = PART_BACKGROUND_WINDOW; + EnableChildTransparentMode( TRUE ); + } } } |