If anyone would like to test these scripts on their system and let me know if they work, I would be very grateful (please provide me with the following information: wxPython, wxWidgets, operating system version, etc.).
Also, like many other users, I would like to see an example of using dark mode as soon as possible to begin various tests.
@Zig_Zag you may want to read the wxWidgets documentation for now until wxPython documentation is updated. Note the MSW specifics there about IsDark().