[wxPython] ActiveX

Damien Metzler dmetzler.nospam at partner.auchan.fr
Thu Mar 27 03:36:11 EST 2003


Hello,

I try to make a frame which contains an Acrobat ActiveX control. I do it 
  like in the demo sample. The problem is that when i quit the 
application, the activeX control is not properly destroyed and the 
application doesn't quit. I tried with the demo sample and in fact it 
reacts like my soft.

i put the following code in the frame

def OnDestroy(self, evt):
         if self.pdf:
             print "CleanUp PDF"
             self.pdf.Cleanup()
             self.pdf = None

but the self.pdf doesn't exists anymore at this thime. Can anyone help 
me on this problem ?


Thanks





More information about the Python-list mailing list