Fix flushing white background for check/radio buttons in dark mode (PR #26087)

14 views
Skip to first unread message

VZ

unread,
Jan 9, 2026, 6:26:42 PM (2 days ago) Jan 9
to wx-...@googlegroups.com, Subscribed

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.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26087

Commit Summary

  • 853eb3f Fix flushing white background for check/radio buttons in dark mode

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26087@github.com>

VZ

unread,
Jan 10, 2026, 10:32:32 AM (yesterday) Jan 10
to wx-...@googlegroups.com, Subscribed

Closed #26087.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26087/issue_event/21964083357@github.com>

VZ

unread,
Jan 10, 2026, 10:32:33 AM (yesterday) Jan 10
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26087)

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.Message ID: <wxWidgets/wxWidgets/pull/26087/c3733040839@github.com>

Reply all
Reply to author
Forward
0 new messages