MSW: Fix wxNotebook dark mode spin control upon AddPage() (PR #26685)

2 views
Skip to first unread message

Steve Cornett

unread,
7:30 PM (3 hours ago) 7:30 PM
to wx-...@googlegroups.com, Subscribed

In dark mode, when the wxNotebook spin control appears as a result of AddPage(), it is light mode. The fix is to subclass the spin control from both OnSize() and AddPage().

The method of finding the spin control is simplified to use FindWindowEx() rather than enumerating child windows with a loop.


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

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

Commit Summary

  • 06a0be1 Fix wxNotebook dark mode spin control upon AddPage()

File Changes

(2 files)

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

Reply all
Reply to author
Forward
0 new messages