There are two different EVT_ signatures, EVT_(self, func)
and EVT_(self, id, func) but there is no EVT_(id, func).
Both _CLOSE and _LEAVE_WINDOW are of the first kind.
There is one example in the demo dir, wxDragImage.py which
uses EVT_LEAVE_WINDOW.
HTH, /Jean Brouwers
···
On Sunday, November 23, 2003, at 12:52 PM, C. Iacob wrote:
- I wouldn't pass an integer instead of 'self' when hooking an event
- if I pass 'id' as parameter to __init__() only it still doesn't work.
Cheers,
Cristina.
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org