diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2009-12-08 18:43:39 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2009-12-08 18:43:39 +0100 |
commit | ad7022af48b1b91e605c86ebf1eb91ce66635385 (patch) | |
tree | 2382a7b2752ca9a113da661c11be5d6e3789622d /vcl/win | |
parent | 6265bf19dd38b9c3dfd81828dc07ad579d02065d (diff) |
vcl108: #i104264# use caret width setting from system
Diffstat (limited to 'vcl/win')
-rwxr-xr-x[-rw-r--r--] | vcl/win/source/window/salframe.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 53f822a1e409..77d9a702d186 100644..100755 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -2977,6 +2977,11 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings ) aStyleSettings.SetCheckedColor( Color( nRed, nGreen, nBlue ) ); } + // caret width + DWORD nCaretWidth = 2; + if( SystemParametersInfo( SPI_GETCARETWIDTH, 0, &nCaretWidth, 0 ) ) + aStyleSettings.SetCursorSize( nCaretWidth ); + // High contrast HIGHCONTRAST hc; hc.cbSize = sizeof( HIGHCONTRAST ); |