X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62038e5976965767ea0ec64c6992878457ddd59a..eedf3bcbb39a0881f065e124ab3aadbf725dcbca:/wxPython/src/_app_ex.py diff --git a/wxPython/src/_app_ex.py b/wxPython/src/_app_ex.py index bae7df624e..98b35efc21 100644 --- a/wxPython/src/_app_ex.py +++ b/wxPython/src/_app_ex.py @@ -176,9 +176,12 @@ your Mac.""" def __del__(self): try: self.RestoreStdio() # Just in case the MainLoop was overridden - except: - pass + finally: + wx.PyApp.__del__(self) + def Destroy(self): + wx.PyApp.Destroy(self) + self.thisown = 0 def SetTopWindow(self, frame): """Set the \"main\" top level window"""