summaryrefslogtreecommitdiff
path: root/vcl/win/source/window
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2010-11-22 18:57:39 -0800
committerJoseph Powers <jpowers27@cox.net>2010-11-22 18:57:39 -0800
commitecdd2800f2e9a7749d5a1fcd05384b730bc07ca8 (patch)
tree3a96680b963d7f9b3868aac39703b231e2e0cd89 /vcl/win/source/window
parent6e8883ba743b7b2031f544bc2f8e08fd5ac04b43 (diff)
Remove last of the HC icons from libs-gui
Auto HC detection will set the icons to the HC set; since we no longer have HC icons in the normal sets.
Diffstat (limited to 'vcl/win/source/window')
-rw-r--r--vcl/win/source/window/salframe.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 6c002b673165..7e378cf7e58a 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -3009,11 +3009,14 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
// High contrast
HIGHCONTRAST hc;
hc.cbSize = sizeof( HIGHCONTRAST );
- if( SystemParametersInfo( SPI_GETHIGHCONTRAST, hc.cbSize, &hc, 0) && (hc.dwFlags & HCF_HIGHCONTRASTON) )
+ if( SystemParametersInfo( SPI_GETHIGHCONTRAST, hc.cbSize, &hc, 0)
+ && (hc.dwFlags & HCF_HIGHCONTRASTON)
+ ) {
aStyleSettings.SetHighContrastMode( 1 );
- else
+ aStyleSettings.SetSymbolsStyle( STYLE_SYMBOLS_HICONTRAST );
+ } else {
aStyleSettings.SetHighContrastMode( 0 );
-
+ }
// Query Fonts
Font aMenuFont = aStyleSettings.GetMenuFont();