vcl/win/gdi/salnativewidgets-luna.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aa347a75ed7138328c084fdde30dd3f4937f31c3
Author:     Heiko Tietze <[email protected]>
AuthorDate: Mon Dec 8 16:31:26 2025 +0100
Commit:     Heiko Tietze <[email protected]>
CommitDate: Wed Dec 10 12:41:57 2025 +0100

    Resolves tdf#165225 - Correct theme color for disabled menu items on Windows
    
    Change-Id: I18c6baf2b60feea1fe9098319c5f1c0778451b4a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195234
    Reviewed-by: Heiko Tietze <[email protected]>
    Tested-by: Jenkins
    (cherry picked from commit b03fc7bb20902d47f4b4cee70229d831d64401f1)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195285

diff --git a/vcl/win/gdi/salnativewidgets-luna.cxx 
b/vcl/win/gdi/salnativewidgets-luna.cxx
index 0aca470e6f76..16d8887e3dad 100644
--- a/vcl/win/gdi/salnativewidgets-luna.cxx
+++ b/vcl/win/gdi/salnativewidgets-luna.cxx
@@ -642,7 +642,7 @@ static bool drawThemedControl(HDC hDC, ControlType nType, 
int iPart, int iState,
             if (iState == MPI_HOT || iState == MPI_NORMAL)
                 aBackgroundColor = 
ThemeColors::GetThemeColors().GetMenuHighlightColor();
             else if (iState == MPI_DISABLEDHOT || MPI_DISABLED)
-                aBackgroundColor = 
ThemeColors::GetThemeColors().GetDisabledColor();
+                aBackgroundColor = 
ThemeColors::GetThemeColors().GetMenuColor();
 
             ScopedHBRUSH hbrush(CreateSolidBrush(RGB(aBackgroundColor.GetRed(),
                                                      
aBackgroundColor.GetGreen(),

Reply via email to