On Fri, 10 Jul 2020, Michel Le Bihan wrote:

In dark GTK themes the caption background correctly changes to the dark color,
but the text stays black resulting in it being unreadable. The text color
should also change.

I opened a PR upstream https://github.com/wxWidgets/wxWidgets/pull/1791 and my
changes got merged in
https://github.com/AliKet/wxWidgets/commit/1e25f0d966b7539fee93a67671f7834db38c3d5c.
I think that this change should be backported to the version of wxWidgets in
testing because currently some wxWidgets apps are barely usable with a dark GTK
theme.

It appears the actual upstream commit is:
https://github.com/wxWidgets/wxWidgets/commit/697bd0744159e8c0ded7fb4174eecbfa41700e7c

I will look into it. It looks like it may take a bit more work to backport as, e.g., the IsDark() method doesn't exist in wx 3.0.

Scott

Reply via email to