summaryrefslogtreecommitdiff
path: root/vcl/win/window/salframe.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-12-12 15:31:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-12-13 10:59:50 +0000
commit36898ea11bb4b51c54429648bd45f5c5b7f020d6 (patch)
treed6e0bfe837ca8322330735298b027c361fde03c8 /vcl/win/window/salframe.cxx
parent9d3c6d56cee179ac01b2ff57a4129fc4c0a3da83 (diff)
MBI_NORMAL should be PBS_NORMAL
Change-Id: I263d96e50699fe878ce153dc88ebfd00cd92415b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143999 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/win/window/salframe.cxx')
-rw-r--r--vcl/win/window/salframe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 60df85ba814e..b77942ed7885 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -2662,9 +2662,9 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
CloseThemeData(hTheme);
hTheme = OpenThemeData(mhWnd, L"Button");
- GetThemeColor(hTheme, BP_PUSHBUTTON, MBI_NORMAL, TMT_TEXTCOLOR, &color);
+ GetThemeColor(hTheme, BP_PUSHBUTTON, PBS_NORMAL, TMT_TEXTCOLOR, &color);
aControlTextColor = ImplWinColorToSal(color);
- GetThemeColor(hTheme, BP_CHECKBOX, MBI_NORMAL, TMT_TEXTCOLOR, &color);
+ GetThemeColor(hTheme, BP_CHECKBOX, PBS_NORMAL, TMT_TEXTCOLOR, &color);
aStyleSettings.SetRadioCheckTextColor( ImplWinColorToSal( color ) );
CloseThemeData(hTheme);