summaryrefslogtreecommitdiff
path: root/vcl/os2
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-10-29 09:25:50 +0000
committerRüdiger Timm <rt@openoffice.org>2008-10-29 09:25:50 +0000
commit011bcd1ea1e8ce10f6b9946d8d44d05a59387b8c (patch)
tree8037c716c846e504acc22b8082c5b886f661203d /vcl/os2
parent0b3f346d173ae177ab2656b5e9953e5a310eebe1 (diff)
CWS-TOOLING: integrate CWS vcl95
Diffstat (limited to 'vcl/os2')
-rw-r--r--vcl/os2/source/window/salframe.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/os2/source/window/salframe.cxx b/vcl/os2/source/window/salframe.cxx
index 474a87f9d1bf..e90c7f9bf4af 100644
--- a/vcl/os2/source/window/salframe.cxx
+++ b/vcl/os2/source/window/salframe.cxx
@@ -2123,6 +2123,7 @@ void Os2SalFrame::UpdateSettings( AllSettings& rSettings )
if ( bCompBorder )
{
aStyleSettings.SetFaceColor( ImplOS2ColorToSal( WinQuerySysColor( HWND_DESKTOP, SYSCLR_BUTTONMIDDLE, 0 ) ) );
+ aStyleSettings.SetInactiveTabColor( aStyleSettings.GetFaceColor() );
aStyleSettings.SetLightColor( ImplOS2ColorToSal( WinQuerySysColor( HWND_DESKTOP, SYSCLR_BUTTONLIGHT, 0 ) ) );
aStyleSettings.SetLightBorderColor( ImplOS2ColorToSal( WinQuerySysColor( HWND_DESKTOP, SYSCLR_BUTTONMIDDLE, 0 ) ) );
aStyleSettings.SetShadowColor( ImplOS2ColorToSal( WinQuerySysColor( HWND_DESKTOP, SYSCLR_BUTTONDARK, 0 ) ) );
@@ -2144,6 +2145,7 @@ void Os2SalFrame::UpdateSettings( AllSettings& rSettings )
aStyleSettings.SetLabelTextColor( aStyleSettings.GetGroupTextColor() );
aStyleSettings.SetInfoTextColor( aStyleSettings.GetGroupTextColor() );
aStyleSettings.SetWindowColor( ImplOS2ColorToSal( WinQuerySysColor( HWND_DESKTOP, SYSCLR_WINDOW, 0 ) ) );
+ aStyleSettings.SetActiveTabColor( aStyleSettings.GetWindowColor() );
aStyleSettings.SetWindowTextColor( ImplOS2ColorToSal( WinQuerySysColor( HWND_DESKTOP, SYSCLR_WINDOWTEXT, 0 ) ) );
aStyleSettings.SetFieldColor( ImplOS2ColorToSal( WinQuerySysColor( HWND_DESKTOP, SYSCLR_ENTRYFIELD, 0 ) ) );
aStyleSettings.SetFieldTextColor( aStyleSettings.GetWindowTextColor() );