[wxPython-dev] wx.GraphicsPath.GetBox not wrapped properly,
20061129 preview
Robin Dunn
robin at alldunn.com
Wed Dec 6 14:46:57 PST 2006
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.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-dev
mailing list