[wxPython] Bug in call of ogl.wxShapeEvtHandler.OnDragLeft

Hello Robin,

I have looked into the sources of wxPython.

It seems to be that the bug is in

line 624 of helpers.h

where you define the macro IMP_PYCALLBACK__BOOL2DBL2INT,
if I understand the code right the first argument to Py_BuildValue should not be

"(idii)"

but

"(iddii)"

.

Can you please correct this bug? Since I do not have SWIG or a C++ compiler on my MSW NT machine I would appreciate if you could build an interims MS Windows version of wxPython with the bug fix. The bug is crucial to the look and feel of my application. I don't know a work-around which I could use until the next release of wxPython.

You might put the build to http://alldunn.com/wxPython/interim/ .

Thanks in advance.

Best regards,

Joerg

where you define the macro IMP_PYCALLBACK__BOOL2DBL2INT,
if I understand the code right the first argument to Py_BuildValue should

not be

"(idii)"

but

"(iddii)"

Thanks, good catch. It's also already been fixed in the 2.3 branch of CVS.

Can you please correct this bug? Since I do not have SWIG or a C++
compiler on my MSW NT machine I would appreciate if you could build
an interims MS Windows version of wxPython with the bug fix. The bug
is crucial to the look and feel of my application. I don't know a
work-around which I could use until the next release of wxPython.

Unfortunatly I've got so much ripped up and in the middle of changes that an
interim release right now would probably cause more problems than it fixed.
I expect it all to come together in just a few days though and so will be
releasing 2.3.0, or at least a solid pre-release. If I can't get it ready
by the weekend then I'll go back to my last known good tag in CVS and make a
interim release then without my current set of changes.

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!