X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4314b7e4865907dafdc1402ca767c5287614015..9ac884500ce30c58e24b0a6af1288b576d2e03e4:/wxPython/src/_app_ex.py?ds=sidebyside 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"""