Crash: wx.ToolTip sharing

If I assign the same wx.ToolTip() object to more than one window (for example the day, month and year boxes of a date in an entry form), this works fine functionality-wise, until the objects are destructed while the tooltip is still connected to them.

It results in a fatal exception. The C++ code is probably trying to free the tooltip multiple times.

Annius.

If I assign the same wx.ToolTip() object to more than one window (for
example the day, month and year boxes of a date in an entry form),
this works fine functionality-wise, until the objects are destructed
while the tooltip is still connected to them.

It results in a fatal exception.

Annius.

Hello Annius,

I tried it out, and yes you are right.
(I tried it in demo with the Radiobox sample).

The C++ code is probably trying to
free the tooltip multiple times.

It seems so.

I think, this is worth a bug report. :slight_smile:

ยทยทยท

On Thu, 01 Sep 2005 13:06:56 +0200, Annius Groenink <groenink@xs4all.nl> wrote:

--
Franz Steinhaeusler