[wxPython-dev] Re: possible 2.7.0pre bug with activex
roee88 shlomo
roee88 at gmail.com
Sat Oct 14 12:52:44 PDT 2006
Thank you Robin :)
On 10/9/06, Robin Dunn <robin at alldunn.com> wrote:
>
> roee88 shlomo wrote:
> > wx\_core.py", line 7470, in Destroy
> > args[0].thisown =3D 0
> >
> > Is this line really neccacery?
>
> Yes. Otherwise for objects that swig thinks are owned by the Python
> proxy object it will try to destroy the C++ object again when the proxy
> is destroyed, resulting in a potential heap corruption and/or a crash.
> Currently all wx.Window objects are already not owned by the proxy, but
> that could change in the future.
>
> > I removed it (even though I should'nt touch this file) and all works
> > well, but I'm afraid there would be side effects.
>
> I've made a change that should take care of the problem.
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-dev-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/20061014=
/e7a70494/attachment.htm
More information about the wxpython-dev
mailing list