X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b881fc787d2823bdd8a415080b82feee90804a17..959b1a338e3b7c0e237b53ef3d7c9b51f4063eb6:/wxPython/wx/lib/activexwrapper.py diff --git a/wxPython/wx/lib/activexwrapper.py b/wxPython/wx/lib/activexwrapper.py index 9ebbf63cdf..81a5d455c4 100644 --- a/wxPython/wx/lib/activexwrapper.py +++ b/wxPython/wx/lib/activexwrapper.py @@ -63,7 +63,7 @@ def MakeActiveXClass(CoClass, eventClass=None, eventObj=None): # determine the base classes axEventClass = CoClass.default_source - baseClasses = [wx.Window, pywin.mfc.activex.Control, CoClass, axEventClass] + baseClasses = [pywin.mfc.activex.Control, wx.Window, CoClass, axEventClass] if eventClass: baseClasses.append(eventClass) baseClasses = tuple(baseClasses) @@ -135,7 +135,7 @@ def axw_OEB(self, event): def axw_Cleanup(self): - del self._wnd + #del self._wnd self.close() pass