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.
This commit is contained in:
Vadim Zeitlin 2022-07-24 19:12:03 +02:00
parent 43d0eb48c1
commit 7bfad4984c

View file

@ -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: