X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4314b7e4865907dafdc1402ca767c5287614015..5f2502393e042e6e2c871ff94b7ccaf7a78b264d:/wxPython/src/_app_ex.py diff --git a/wxPython/src/_app_ex.py b/wxPython/src/_app_ex.py index fc84315a09..f6f7a5ac3e 100644 --- a/wxPython/src/_app_ex.py +++ b/wxPython/src/_app_ex.py @@ -191,8 +191,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"""