diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-22 18:22:00 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-22 18:22:00 +0100 |
commit | 53ae62d5761034e808596816fd36475a8e02de73 (patch) | |
tree | 0ee0b6a40bfae458ffaae79e38a20859f4c92caf /vcl | |
parent | 3ce65cb358dfd070224d59a34b55a5068fdbf527 (diff) |
'SetSymbolsStyle' : is not a member of 'StyleSettings'. Remove the call.
Something similar was done in vcl/source/window/window.cxx in commit
076a7eacca48f203f0a8b9aa537e88fea9a88409 so hopefully this fix is enough.
Change-Id: I11eb3c2d315a918056ffdee16c98c1430e174ed9
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index a2171127a1b5..77528383e6cb 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -2862,14 +2862,11 @@ 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) - ) { - aStyleSettings.SetHighContrastMode( 1 ); - aStyleSettings.SetSymbolsStyle( STYLE_SYMBOLS_HICONTRAST ); - } else { - aStyleSettings.SetHighContrastMode( 0 ); - } + if( SystemParametersInfo( SPI_GETHIGHCONTRAST, hc.cbSize, &hc, 0 ) + && (hc.dwFlags & HCF_HIGHCONTRASTON) ) + aStyleSettings.SetHighContrastMode( true ); + else + aStyleSettings.SetHighContrastMode( false ); // Query Fonts Font aMenuFont = aStyleSettings.GetMenuFont(); |