Use correct background brush for erasing wxCheckBox and wxRadioButton background in dark mode even if no custom background brush is specified as we can't rely on the default behaviour, which uses white background brush, when using it.
This fixes incorrect flushes of white background when these controls were focused after the containing TLW got focus and before it got repainted again using a different code path which erased background correctly.
Closes #23380.
https://github.com/wxWidgets/wxWidgets/pull/26087
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Cherry picked in the commit referenced above.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()