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.
https://github.com/wxWidgets/wxWidgets/pull/26685
(2 files)
—
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.![]()