- How to react to dark mode change? -- https://discuss.wxpython.org/t/how-to-react-to-dark-mode-change/35905 def OnColourChanged(self, event): sys_appearance = wx.SystemSettings.GetAppearance() dark = sys_appearance.IsDark() print("dark = %s" % dark) |