[wxPython-users] "thisown" attribute error?
Robin Dunn
robin at alldunn.com
Mon Sep 24 15:07:01 PDT 2007
Abe Stephens wrote:
> Can anyone help guide me through how this is supposed to work (assuming
> multiple inheritance is actually supposed to work in this sort of
> situation)?
I doubt multiple inheritance with SWIGged objects will work unless the
two sets of code are using the same version of swig and also are sharing
the swig type table (and wxPython explicitly uses it's own, named
_wxPython_table, in case there is an incompatible swig used in other
modules.)
Try using a has-a relationship instead and adding delegation if needed.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list