From 54e0d4ab33473d702cad16498cb4894b9776ba1a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 20 Feb 2003 19:34:44 +0000 Subject: [PATCH] __del__ is no longer needed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/lib/throbber.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wxPython/wxPython/lib/throbber.py b/wxPython/wxPython/lib/throbber.py index f7de6044c9..7f887c0016 100644 --- a/wxPython/wxPython/lib/throbber.py +++ b/wxPython/wxPython/lib/throbber.py @@ -18,7 +18,6 @@ processing can continue unencumbered. # import threading, os -##os.putenv('LANG', 'C') # for running on GTK2 from wxPython.wx import * # ------------------------------------------------------------------------------ @@ -124,12 +123,6 @@ class Throbber(wxPanel): self.event.set() # we start out in the "resting" state - def __del__(self): - # make sure it's stopped, since EVT_WINDOW_DESTROY may not be sent - # on all platforms - self.Stop() - - def OnDestroyWindow(self, event): # this is currently broken due to a bug in wxWindows... hopefully # it'll be fixed soon. Meanwhile be sure to explicitly call Stop()