X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4314b7e4865907dafdc1402ca767c5287614015..0a5bb138a71dfc1c706fc0858fb2801500e2c2e8:/wxPython/src/_app_ex.py?ds=sidebyside diff --git a/wxPython/src/_app_ex.py b/wxPython/src/_app_ex.py index fc84315a09..a7fef27613 100644 --- a/wxPython/src/_app_ex.py +++ b/wxPython/src/_app_ex.py @@ -172,6 +172,9 @@ in on the main display of your Mac.""" # Use Python's install prefix as the default wx.StandardPaths.Get().SetInstallPrefix(_sys.prefix) + # Until the new native control for wxMac is up to par, still use the generic one. + wx.SystemOptions.SetOptionInt("mac.listctrl.always_use_generic", 1) + # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class self._BootstrapApp() @@ -191,8 +194,8 @@ in on the main display of your Mac.""" destroy(self) def Destroy(self): + self.this.own(False) wx.PyApp.Destroy(self) - self.thisown = 0 def SetTopWindow(self, frame): """Set the \"main\" top level window"""