]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/activex/activex.py
Corrected _setCallbackInfo code so GiveFeedback can work
[wxWidgets.git] / wxPython / contrib / activex / activex.py
index 98e87b2e7226d741a8e4eac073f21e557587dee4..1573f35d7fa2c10907d43d518448e0e126aabd0a 100644 (file)
@@ -3,9 +3,9 @@
 
 import _activex
 
-import core
-wx = core 
-__docfilter__ = wx.__docfilter__ 
+import _core
+wx = _core 
+__docfilter__ = wx.__DocFilter(globals()) 
 #---------------------------------------------------------------------------
 
 class CLSID(object):
@@ -195,7 +195,7 @@ _activex.PropXArray_swigregister(PropXArrayPtr)
 
 #---------------------------------------------------------------------------
 
-class ActiveXWindow(core.Window):
+class ActiveXWindow(_core.Window):
     """
     ActiveXWindow derives from wxWindow and the constructor accepts a
     CLSID for the ActiveX Control that should be created.  The
@@ -355,13 +355,13 @@ def RegisterActiveXEvent(*args, **kwargs):
     Creates a standard wx event ID for the given eventName.
     """
     return _activex.RegisterActiveXEvent(*args, **kwargs)
-class ActiveXEvent(core.CommandEvent):
+class ActiveXEvent(_core.CommandEvent):
     """
     An instance of ActiveXEvent is sent to the handler for all bound
     ActiveX events.  Any event parameters from the ActiveX cntrol are
     turned into attributes of the Python proxy for this event object.
     Additionally, there is a property called eventName that will
-    return (suprizingly <wink>) the name of the ActiveX event.
+    return (surprisingly <wink>) the name of the ActiveX event.
     """
     def __init__(self): raise RuntimeError, "No constructor defined"
     def __repr__(self):