Phoenix - wx._core.SearchCtrl.GetValue() - python crashes

Hi,

In MediaLocker we use the wx.SearchCtrl when pressing enter in the control I get a Python crash with no traceback.

Doing this in the WingIDE debug probe:

self.search
<wx._core.SearchCtrl object at 0x04936F18>
self.search.GetValue
<built-in method GetValue of SearchCtrl object at 0x04936F18>
self.search.GetValue()

At this point it crashes.

Werner

Werner wrote:

Hi,

In MediaLocker we use the wx.SearchCtrl when pressing enter in the
control I get a Python crash with no traceback.

Doing this in the WingIDE debug probe:

self.search
<wx._core.SearchCtrl object at 0x04936F18>
self.search.GetValue
<built-in method GetValue of SearchCtrl object at 0x04936F18>
self.search.GetValue()

At this point it crashes.

Hmmm... It looks like different base classes are used so the wrapper is probably trying to call the wrong version of GetValue. I'll see what I can do about that.

···

--
Robin Dunn
Software Craftsman

Robin Dunn wrote:

Werner wrote:

Hi,

In MediaLocker we use the wx.SearchCtrl when pressing enter in the
control I get a Python crash with no traceback.

Doing this in the WingIDE debug probe:

self.search
<wx._core.SearchCtrl object at 0x04936F18>
self.search.GetValue
<built-in method GetValue of SearchCtrl object at 0x04936F18>
self.search.GetValue()

At this point it crashes.

Hmmm... It looks like different base classes are used so the wrapper is
probably trying to call the wrong version of GetValue. I'll see what I
can do about that.

Fixed.

···

--
Robin Dunn
Software Craftsman