little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user