I've solved this problem as belowed.
wxpython\lib\activexwrapper.py's the last part of codes modified,
(before)
def axw_Cleanup(self):
# del self._wnd
self.close()
(after)
def axw_Cleanup(self):
del self._wnd
self.close()
Robin? is this alright?
thanks
···
----- Original Message -----
From: "Song" <bagdadcafe59@hotmail.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Friday, September 14, 2001 10:42 AM
Subject: Why cannot "ActiveXWrapper_Acrobat.py" be destroyed?
Hi
Im trying to add this module in my app.
But the module cannot be quitted perfectly after opening a PDF.
The "pythonw.exe" and "AcroRD32.exe" is remained the process of memory
after
quitted it.
class TestFrame(wxFrame):
def __init__(self):
wxFrame.__init__(self, None, -1, "ActiveX test -- Acrobat",
size=(640, 480),style=wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE)
self.tp = TestPanel(self, sys.stdout)
EVT_CLOSE(self, self.OnCloseWindow)def OnCloseWindow(self, event):
self.tp.pdf.Cleanup()
self.Destroy()The window cannot be destroyed correctly. Why?
Another ActiveXWrapper module "ActiveXWrapper_IE.py" is ok.
Would you mind checking it?
Regards
Chang Mok Song