From 7bfad4984c7973653c56cf0a9cfb514475940680 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 24 Jul 2022 19:12:03 +0200 Subject: [PATCH] Make generic wxListCtrl lines more visible Use wxSYS_COLOUR_GRAYTEXT, as wxSYS_COLOUR_3DLIGHT is not visible at all on the default white background under macOS and is barely visible with the default GTK theme. On the flip side, it's too bright in the dark themes, but this is, arguably, better than not being visible at all. See #22664. --- include/wx/generic/private/listctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/generic/private/listctrl.h b/include/wx/generic/private/listctrl.h index 62e66edea0..fa2e725aff 100644 --- a/include/wx/generic/private/listctrl.h +++ b/include/wx/generic/private/listctrl.h @@ -893,7 +893,7 @@ protected: // get the colour to be used for drawing the rules wxColour GetRuleColour() const { - return wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT); + return wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT); } private: