Hello,
I want to use the Snap method on ogl.wxDiagram and ogl.wxShapeCanvas in wxPython.
However, this method does not except any arguments in Python.
How do I define the input values to the function?
The result of the function is always (0, 0).
Is this a bug in wxPython or am I using the function in the wrong way?
Best regards,
Joerg
Robin
2
I want to use the Snap method on ogl.wxDiagram and ogl.wxShapeCanvas in
wxPython.
However, this method does not except any arguments in Python.
How do I define the input values to the function?
The result of the function is always (0, 0).
Is this a bug in wxPython or am I using the function in the wrong way?
It's a bug, and it's already been fixed in the 2.3 branch in CVS. The Snap
methods were defined in the SWIG interface file as
void Snap(double *OUTPUT, double *OUTPUT);
when they should be
void Snap(double *INOUT, double *INOUT);
ยทยทยท
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!