02-26-2010, 10:15 PM
(02-26-2010, 09:54 PM)Nyx- Wrote: ohhh its difficult but i had to create a custom wxpython event that got the information from my threaded getInfo() and it would use that to update the GUI On the same thread.Hmm that's a good idea.
The only thing I don't quite understand is this:
Code:
def EVT_RELOAD(win,func):
win.Connect(-1,-1,111,func)
Code:
class RELOAD(wx.PyEvent):
def __init__(self, data):
wx.PyEvent.__init__(self)
self.SetEventType(111)
self.data = data