vcl/win/window/salframe.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 36898ea11bb4b51c54429648bd45f5c5b7f020d6
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Dec 12 15:31:22 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Dec 13 10:59:50 2022 +0000

    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 <caol...@redhat.com>

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);
 

Reply via email to