OGL attachment points

I am working with the wx.lib.ogl library in wxpython 2.8

I have some wx.CompositeShape figures which I need to connect by lines.

Can anyone please suggest on how do I specify my own attachment points on the
figues?

Thanks.

- Lokesh