possible 2.7.0pre bug with activex
roee88 shlomo
roee88 at gmail.com
Sun Aug 13 21:55:39 PDT 2006
Anyone checked this out?
On 8/1/06, roee88 shlomo <roee88 at gmail.com> wrote:
>
> I'm using a mini "web browser" I have made using
> wx.lib.activexwrapper.MakeActiveXClass and win32com.
> There seems to be a problem destroying the activex class in 2.7.0pre (It
> works perfectly with 2.6).
> Attached is a sample app (just click on "GO" and then hit the "X" of the
> tab).
> Please look at the notes at the top of browser.py too.
>
> Here is the Traceback ("..." =3D hundreds of the same line):
>
> > Traceback (most recent call
> > last):
> > File "browser.py", line 62, in OnLeftClick
> > self.notebook.DeletePage(event.GetSelection())
> > File "NotebookCtrl.py ", line 4129, in DeletePage
> > panel.Destroy()
> >
> > File "C:\Python25\lib\site-packages\wx-2.7.0-msw-unicode\wx\_core.py",
> > line 7470, in Destroy
> > args[0].thisown =3D
> > 0
> > File "C:\Python25\Lib\site-packages\pythonwin\pywin\mfc\activex.py",
> > line 47, in __setattr__
> > if
> > self._dispobj_:
> > File "C:\Python25\Lib\site-packages\wx-
> > 2.7.0-msw-unicode\wx\lib\activexwrapper.py", line 119, in axw__getattr__
> > return pywin.mfc.activex.Control.__getattr__(self,
> > attr)
> > File "C:\Python25\Lib\site-packages\pythonwin\pywin\mfc\activex.py",
> > line 41, in __getattr__
> > return getattr(self._dispobj_,
> > attr)
> > File "C:\Python25\Lib\site-packages\wx-
> > 2.7.0-msw-unicode\wx\lib\activexwrapper.py", line 119, in axw__getattr__
> > return pywin.mfc.activex.Control.__getattr_ _(self,
> > attr)
> > File "C:\Python25\Lib\site-packages\pythonwin\pywin\mfc\activex.py",
> > line 41, in __getattr__
> > return getattr(self._dispobj_, attr)
> > ...
> >
> > File "C:\Python25\Lib\site-packages\wx-
> > 2.7.0-msw-unicode\wx\lib\activexwrapper.py", line 119, in axw__getattr__
> > return pywin.mfc.activex.Control.__getattr__(self,
> > attr)
> > File "C:\Python25\Lib\site-packages\wx-
> > 2.7.0-msw-unicode\wx\lib\activexwrapper.py", line 119, in axw__getattr__
> > return pywin.mfc.activex.Control.__getattr__(self, attr)
> > ...
> >
> > File "C:\Python25\Lib\site-packages\pythonwin\pywin\mfc\activex.py",
> > line 38, in __getattr__
> > return window.Wnd.__getattr__(self,
> > attr)
> > RuntimeError: maximum recursion depth exceeded
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/20060814=
/40afca70/attachment.htm
More information about the wxpython-dev
mailing list