__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
This commit is contained in:
Robin Dunn
2003-02-20 19:34:44 +00:00
parent 8f14f1266a
commit 54e0d4ab33

View File

@@ -18,7 +18,6 @@ processing can continue unencumbered.
# #
import threading, os import threading, os
##os.putenv('LANG', 'C') # for running on GTK2
from wxPython.wx import * from wxPython.wx import *
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@@ -124,12 +123,6 @@ class Throbber(wxPanel):
self.event.set() # we start out in the "resting" state 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): def OnDestroyWindow(self, event):
# this is currently broken due to a bug in wxWindows... hopefully # this is currently broken due to a bug in wxWindows... hopefully
# it'll be fixed soon. Meanwhile be sure to explicitly call Stop() # it'll be fixed soon. Meanwhile be sure to explicitly call Stop()