[wxPython] Setting Constraints on wxCompositeShape
I am trying to create a wxCompositeShape of two wxRectangleShapes. I
want these rectangles, and hopefully more, to track together and act as
one. Unfortunately, when I try to set the
[self.body])) for the composite shape, the program core dumps.
def __init__(self, parent, frame):
I'm guessing the problem centers around the third argument of
wxOGLConstraint. It asks for a wxList object. I tried a python list,
tuple or just the object itself, all with the same core dump results. I
also tried to create a wxList object but I just get a nameError. I guess
wxPython does not support wxList.
Any help or example code I could look at, would be extremely helpful.