From c4e4d633817d17670c527748b2b4e222565bf600 Mon Sep 17 00:00:00 2001 From: oltolm Date: Sat, 3 Jan 2026 01:07:21 +0100 Subject: [PATCH] UI: use SelectLightDark --- src/gui/wxgui/debugger/DisasmCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/wxgui/debugger/DisasmCtrl.cpp b/src/gui/wxgui/debugger/DisasmCtrl.cpp index 850d29c2..08f254d6 100644 --- a/src/gui/wxgui/debugger/DisasmCtrl.cpp +++ b/src/gui/wxgui/debugger/DisasmCtrl.cpp @@ -72,7 +72,7 @@ static wxColour theme_patchedData; static void InitSyntaxColors() { theme_textForeground = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT); - theme_textForegroundMuted = wxSystemSettings::GetAppearance().IsDark() ? wxColour(140,142,145) : wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT); + theme_textForegroundMuted = wxSystemSettings::SelectLightDark(wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT), wxColour(140, 142, 145)); theme_background = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW); // line background highlights