I have a problem with OGL's wxLineShape.GetLineControlPoints. When this
operation is called, python crashes. After a little searching I found a hint on
the wxPython-dev list where Matthew Thornley reported the same problem. He
found out that what happens is, wxPython assumes GetLineControlPoints returns a
wxList of wxLineControlPoint* (or rather wxShape*) when really it returns a
wxList containing wxRealPoint* objects.
Is there any fix to this? Even if there is a fix for GetLineControlPoints,
would this enable me to change the coordinates of the LineControlPoints? For
this to work, the operation must not return copies of the elements in the list
but references to the wxRealPoint objects. I am not into the depths of wxPython
and SWIG, so I would appreciate if someone could point me to a solution.
Thanks,
Roland
Dr. Roland Baumann
DaimlerChrysler AG
Research and Technology
Software Architecture
096/U800 - RIC/SA
89013 Ulm/Germany
I have a problem with OGL's wxLineShape.GetLineControlPoints. When this operation is called, python crashes. After a little searching I found a hint on the wxPython-dev list where Matthew Thornley reported the same problem. He found out that what happens is, wxPython assumes GetLineControlPoints returns a wxList of wxLineControlPoint* (or rather wxShape*) when really it returns a wxList containing wxRealPoint* objects.
Is there any fix to this?
Well, if you noticed the timestamp on the messages in wxpython-dev then you'll see that it's been less than 24 hours since I saw the message and said that I would look into it. Give me a little time.
Even if there is a fix for GetLineControlPoints, would this enable me to change the coordinates of the LineControlPoints?
I don't know the guts of OGL much at all, so we'll see.
ยทยทยท
roland.baumann@daimlerchrysler.com wrote:
For this to work, the operation must not return copies of the elements in the list but references to the wxRealPoint objects. I am not into the depths of wxPython and SWIG, so I would appreciate if someone could point me to a solution.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!