Thomas,
You may have other nasty surprises ahead of you due to the line not
pointing to shapes. Search the OGL C++ source code for...
GetFrom()->
... and ...
GetTo()->
... and you'll find some possible places where the app will crash.
Matthew
···
-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Tuesday, August 26, 2003 10:36 AM
To: wxPython-users@lists.wxwindows.org
Subject: Re: [wxPython-users] Re: wxLineShape straight line
Thomas Aanensen wrote:
I don't know. Please provide a small sample.
Ok. I've made a small code sample and the same thing happens:
Stupid OGL does not create control points for the line endings
automatically, so you have to do it yourself by calling
line.MakeLineControlPoints(2)
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org