wxDropSource constructor segfaults?

Hi,

I'm running into a problem with the binary RPM for RedHat: (RH9, and
Fedora Core 1)

This is all it takes to reproduce the crash:

[ori@pessach ws]$ python
Python 2.2.3 (#1, Oct 15 2003, 23:33:35)
[GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from wxPython.wx import *
a=wxDropSource()

Segmentation fault
[ori@pessach ws]$ rpm -qa | grep wxPython
wxPythonGTK-py2.2-2.4.2.4-1
[ori@pessach ws]$

Other things seem to work fine, or mostly fine - I played with the grid,
tree, and other controls, and I have them all playing nicely together
and looking stable.

What's hapenning here?

Thanks,

- --
Ori Pessach

Ori Pessach wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm running into a problem with the binary RPM for RedHat: (RH9, and
Fedora Core 1)

This is all it takes to reproduce the crash:

[ori@pessach ws]$ python
Python 2.2.3 (#1, Oct 15 2003, 23:33:35)
[GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from wxPython.wx import *
>>> a=wxDropSource()
Segmentation fault
[ori@pessach ws]$ rpm -qa | grep wxPython
wxPythonGTK-py2.2-2.4.2.4-1
[ori@pessach ws]$

Other things seem to work fine, or mostly fine - I played with the grid,
tree, and other controls, and I have them all playing nicely together
and looking stable.

What's hapenning here?

Apparently a problem with not giving it a window for the first parameter. I'll fix the wrapper so it doesn't allow that.

ยทยทยท

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

Robin Dunn wrote:

Apparently a problem with not giving it a window for the first
parameter. I'll fix the wrapper so it doesn't allow that.

An exception there would be appreciated - it would have saved me some
head scratching.

Thanks!
- --
Ori Pessach