Fix generic calendar day colour painting (PR #26671)

9 views
Skip to first unread message

Richard Thomson

unread,
Jul 8, 2026, 5:19:04 PM (yesterday) Jul 8
to wx-...@googlegroups.com, Subscribed

Reset the default text foreground and background before drawing each calendar day, using the control colours instead of the cached system background. This prevents selected, surrounding, or attributed dates from leaking colour state into neighbouring day cells on non-default colours.

Fixes #21885


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

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

Commit Summary

  • a7470c7 Fix generic calendar day colour painting

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26671@github.com>

Reply all
Reply to author
Forward
0 new messages