Spin control colors break in MSW dark mode (Issue #26198)

24 views
Skip to first unread message

dsa-t

unread,
Feb 17, 2026, 1:05:05 AM (4 days ago) Feb 17
to wx-...@googlegroups.com, Subscribed
dsa-t created an issue (wxWidgets/wxWidgets#26198)

Description

Hover over spin controls in widgets sample Spin page in dark mode:

https://github.com/user-attachments/assets/b48af05c-4849-4af3-8029-d454cb883694

Platform and version information

  • wxWidgets version you use: master (3.3)
  • wxWidgets port you use: wxMSW
  • OS and its version: Windows 11


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

VZ

unread,
Feb 18, 2026, 10:09:58 AM (3 days ago) Feb 18
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26198)

I see this even under Windows 10. I think I've already fixed this once but clearly it's broken again, will look...


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/issues/26198/3921366850@github.com>

VZ

unread,
Feb 18, 2026, 11:07:00 AM (2 days ago) Feb 18
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26198)

OK, I think this was only "fixed" as a side effect of using WS_EX_COMPOSITE, as light background was drawn as a side effect of using tooltips. The real fix is in the (first commit of) #26203, please let me know if you still see anything wrong with it.

Appearance of the control in "hot" (hover) state is not ideal, I suspect we may want to switch to just drawing it ourselves instead of inverting the bitmap drawn by the control itself but it's probably acceptable for now.


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/issues/26198/3921693211@github.com>

VZ

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

Closed #26198 as completed via 802e310.


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/issue/26198/issue_event/22950346789@github.com>

Reply all
Reply to author
Forward
0 new messages