MSW: Fix wxSpinButton background in dark mode (PR #26682)

4 views
Skip to first unread message

Steve Cornett

unread,
12:13 PM (9 hours ago) 12:13 PM
to wx-...@googlegroups.com, Subscribed

On Windows in dark mode, the wxSpinButton incorrectly had a white line between the up and down arrows. This is due to alpha transparency in the bitmap that gets drawn. The fix is to clear the DC to the background colour before drawing the bitmap.

Before:
image.png (view on web)

After:
image.png (view on web)


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

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

Commit Summary

  • fe3ac0d Fix wxSpinButton background in dark mode

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/26682@github.com>

Reply all
Reply to author
Forward
0 new messages