[wxPython-dev] Current trunk can't build
Robin Dunn
robin at alldunn.com
Tue Jul 24 13:13:07 PDT 2007
Chris Mellon wrote:
> A couple revisions ago, gdicmn.h was changed to make the operators for
> wxSize, wxPoint, and a few other similar classes into overloaded
> functions instead of methods (at least that appears to be it - I
> didn't realize this was possible in C++, but it seems to work). The
> SWIG wrappers currently in trunk, though, explicitly call
> obj->operator== (or whatever) which fails to compile because the
> operator is no longer overridden in the class.
>
> Since there's been a test build since then I assume that SWIG knows
> how to properly handle this, but I guess that you haven't checked in
> the wrappers from that build.
The preview build was made from the 2.8 branch, which comes from
wx/wxWidgets/branches/WX_2_8_BRANCH/ and
wx/wxPython/branches/WX_2_8_BRANCH/ in the svn repository. The trunk is
currently for 2.9, which I've only been paying minimal attention to so
far. You might want to switch to the branches if you're wanting to keep
up to date with the cutting edge, rather than the bleeding edge. ;-)
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-dev
mailing list