summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-12-15 19:38:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-12-16 08:51:09 +0000
commit1f59a2abcd68aab710e9502b1e00f172f569cb67 (patch)
tree0a812b445ced6d8b4d2094e1bd978df187915ef6 /vcl/win
parente717f3a49f700e2e8fdc3c2ba239619e2e1ba2bc (diff)
BP_CHECKBOX should be teamed with some CBS_* part
noticed by Julien at https://gerrit.libreoffice.org/c/core/+/143999 Change-Id: Ic17834d503f174f91200614cd48e6771835cc08d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144252 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/window/salframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 290c3588de11..1f8c02f66927 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -2664,7 +2664,7 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
hTheme = OpenThemeData(mhWnd, L"Button");
GetThemeColor(hTheme, BP_PUSHBUTTON, PBS_NORMAL, TMT_TEXTCOLOR, &color);
aControlTextColor = ImplWinColorToSal(color);
- GetThemeColor(hTheme, BP_CHECKBOX, PBS_NORMAL, TMT_TEXTCOLOR, &color);
+ GetThemeColor(hTheme, BP_CHECKBOX, CBS_CHECKEDNORMAL, TMT_TEXTCOLOR, &color);
aStyleSettings.SetRadioCheckTextColor( ImplWinColorToSal( color ) );
CloseThemeData(hTheme);