- Fixed thread button update problem.

This commit is contained in:
ccremers 2006-08-08 21:49:37 +00:00
parent 529892e640
commit 1f99ec6947

View File

@ -107,9 +107,9 @@ class AttackThread(threading.Thread):
self.makeImage(attack) self.makeImage(attack)
done += 1 done += 1
if self.callbackattack: if self.callbackattack:
self.callbackattack(attack,self.totalattacks,done) wx.CallAfter(self.callbackattack,attack,self.totalattacks,done)
if self.callbackclaim: if self.callbackclaim:
self.callbackclaim(cl) wx.CallAfter(self.callbackclaim,cl)
def makeImage(self,attack): def makeImage(self,attack):
""" create image for this particular attack """ """ create image for this particular attack """