[wxPython-dev] wx.GraphicsPath.GetBox not wrapped properly, 20061129 preview

Chris Mellon arkanes at gmail.com
Mon Dec 11 05:44:07 PST 2006


On 12/6/06, Robin Dunn <robin at alldunn.com> wrote:
> Chris Mellon wrote:
> > Appears to be returning a raw SWIG object, not wrapped as a wx.Rect2D.
> > I took a look at the .i files via viewcvs (I don't have source here)
> > and I can't see anything wrong, maybe it's already fixed?
>
> No, it's still a problem (until I check in the fix later today.)  The
> problem is that SWIG only knows about my wxRect2D typedef, not the real
> wxRect2DDouble type.  So since GetBox was defined to return a
> wxRect2DDouble all it could do is give you an unwrapped SwigObject for it.
>
> Thanks for reporting this.
>

Working perfectly in latest preview build, thanks.

> --




More information about the wxpython-dev mailing list