summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win')
-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);