Pushing the same event handler More than once
Robin Dunn
robin at alldunn.com
Tue Sep 5 09:01:06 PDT 2006
Laurent Humbertclaude wrote:
> Did I make something wrong ? Quoting the wxDoc :
> " This way, you can avoid a lot of class derivation, and use the same
> event handler object to handle events from instances of different
> classes. "
That should probably say class instead of object.
>
> Do I need to have a different wxEvtHandler per instance ?
A new instance of your wxEvtHandler class for each time you Push it on
to another object.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-users
mailing list