wxLineShape::GetNextControlPoint return value.

Dear wxPython members,

I make some experiences with the OGL library and I experience some problem
with the
     wxLineShape::GetNextControlPoint
function.

When reading the sources it seems to me that may be the problem arise from
a misstyping in oglshape2.i
the line
     wxPoint * GetNextControlPoint(wxPyShape *shape);
should maybe be replaced by
     wxRealPoint * GetNextControlPoint(wxPyShape *shape);

Since the declaration of the wxLineShapeGetNextControlPoint is
     wxRealPoint *wxLineShape::GetNextControlPoint(wxShape *nodeObject);

Tell me what do you think about that.

Vivian.

Yes, it should be done.

···

Vivian.DeSmedt@aisystems.be wrote:

Dear wxPython members,

I make some experiences with the OGL library and I experience some problem
with the
     wxLineShape::GetNextControlPoint
function.

When reading the sources it seems to me that may be the problem arise from
a misstyping in oglshape2.i
the line
     wxPoint * GetNextControlPoint(wxPyShape *shape);
should maybe be replaced by
     wxRealPoint * GetNextControlPoint(wxPyShape *shape);

Since the declaration of the wxLineShapeGetNextControlPoint is
     wxRealPoint *wxLineShape::GetNextControlPoint(wxShape *nodeObject);

Tell me what do you think about that.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!