[wxPython-users] wx.lib.ogl - weirdness after LineShape.InsertLineControlPoint

Pierre Hjälm pierre.hjalm at dis.uu.se
Mon Jan 15 02:57:35 PST 2007


Gary Greyling <gary.greyling at gmail.com> writes:

 > Hello Pierre,
 > 
 > Pierre Hjälm wrote:
 > > You probably want to make it more compatible with the old method.
 > >
 > >     def InsertLineControlPoint(self, dc = None, point = None):
 > >   
 > Oops, my bad. You are 100% correct here.
 > > dc and point are optional. But otherwise it seems like a great idea, unless
 > > someone actually expects the old behaviour. Perhaps another argument could
 > > be added:
 > >
 > >     def InsertLineControlPoint(self, dc = None, point = None, inorder = False):
 > >
 > > where if inorder is set it uses your way and if false (the default) it uses the
 > > old way? Depending on how you interpret inorder, it could of course be the
 > > other way round :)
 > >   
 > Agreed, should i code it up and send it to you for inclusion ?
 > 
Well, if it's compatible with the original then just post it here
and Robin might be persuaded to include it :)

-- 
  Pierre Hjälm




More information about the wxpython-users mailing list