little tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-01-15 01:08:37 +00:00
parent b856768b04
commit d2f9bbfd43
2 changed files with 3 additions and 5 deletions

View File

@@ -33,9 +33,8 @@ class CalcBarThread:
def Run(self):
while self.keepGoing:
evt = UpdateBarEvent(barNum = self.barNum, value = int(self.val))
wx.PostEvent(self.win.GetEventHandler(), evt)
#del evt
wx.PostEvent(self.win, evt)
sleeptime = (random.random() * 2) + 0.5
time.sleep(sleeptime/4)