All pastes #790066 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-20 01:32 UTC
rendered paste body
Traceback (most recent call last):
  File "threading.py", line 460, in __bootstrap
    self.run()
  File "./hattix.py", line 90, in run
    wx.PostEvent(self.win, LogoutEvent(name = message['src']))
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7537, in PostEvent
    return _core_.PostEvent(*args, **kwargs)
TypeError: in method 'PostEvent', expected argument 1 of type 'wxEvtHandler *'


Line 90:
    wx.PostEvent(self.win, LogoutEvent(name = message['src']))


This event works:
                wx.PostEvent(self.win, SwitchToEvent(to = CONTACT))

self.win is of type wx.Frame