[C++-sig] boost.python class inheritance
Florian Delizy
florian.delizy at unfreeze.net
Thu Apr 26 16:27:37 CEST 2007
> Boost.Python requires base class to be exposed before derived. Because
> you
> don't want to expose wxFrame ( I perfectly understand why ) the only
> choice
> left is to derive from class defined in Python.
OK I see, there is still an ugly solution: having a method return the
wxObject version of the object, I think that's the only easy way for now.
> P.S. May be you should consider to use SWIG to expose the class.
If you ask me, SWIG binding really looks ugly, it even look worse than
the conversion method ... I'll do that so
Thanks,
Florian
More information about the Cplusplus-sig
mailing list