constraints in wxOGL

I'm working with wxOGL. I import it as "from wx import ogl". I want to make an ogl.CompositeShape. I add the cilds but when I want to add the constraints I can't use any type because I get an error like: "'module' object has no atribute 'gyCONSTRAINT_CENTRED_VERTICALLY'". How should I use it?

Other question: I'm making an electronic component diagram editor and I want to know how to draw an 'AND' (semicircle attached to a line) and an 'OR' (strange arrow head). I want to know how to select the exact attachment points in a shape.

Perhaps ther are too much question, but if I can't get any solution I'll post more questions.

Thanks.
David Asensio Ortega

ยทยทยท

_________________________________________________________________
Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/

I'm working with wxOGL. I import it as "from wx import ogl".
I want to make
an ogl.CompositeShape. I add the cilds but when I want to add the
constraints I can't use any type because I get an error like:
"'module'
object has no atribute 'gyCONSTRAINT_CENTRED_VERTICALLY'".
How should I use
it?

ogl.CONSTRAINT_CENTRED_VERTICALLY