MacOS Dark Mode doesn't work with 4.1.0

Hi folks,

I think that in theory wxpython 4.1.0 is supposed to respect Dark Mode on MacOS (see, for example: https://github.com/wxWidgets/Phoenix/issues/1132). But it doesn’t seem to be doing so for me. I’ve attached screenshots of the wxpython demo in light mode and dark mode and you can see that nothing is changing. Any thoughts on what’s going on?

More info:
OS: MacOS 10.14.6
Python: 3.7.6
wxpython: 4.1.0

Python installed via conda, wxpython installed via pip (doesn’t seem to be a 4.1.0 on any of the conda channels).


I am experiencing a similar thing. When I set my Info.plist in my application bundle to allow dark mode, the windows (sort of) appear in dark mode, but events (like clicking the mouse) don’t work properly.