X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b881fc787d2823bdd8a415080b82feee90804a17..c7cf7a783becd1e88bc548dbd99b8b37e7e11f48:/wxPython/wx/lib/activexwrapper.py diff --git a/wxPython/wx/lib/activexwrapper.py b/wxPython/wx/lib/activexwrapper.py index 9ebbf63cdf..e4e66f445e 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)