]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxPython/activex.py
added defines for wxchar workaround
[wxWidgets.git] / wxPython / wxPython / activex.py
CommitLineData
b7c75283
RD
1## This file reverse renames symbols in the wx package to give
2## them their wx prefix again, for backwards compatibility.
3##
4## Generated by ./distrib/build_renamers.py
5
6# This silly stuff here is so the wxPython.wx module doesn't conflict
7# with the wx package. We need to import modules from the wx package
8# here, then we'll put the wxPython.wx entry back in sys.modules.
9import sys
10_wx = None
11if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15import wx.activex
16
17sys.modules['wxPython.wx'] = _wx
18del sys, _wx
19
20
21# Now assign all the reverse-renamed names:
22CLSID = wx.activex.CLSID
23CLSIDPtr = wx.activex.CLSIDPtr
24wxParamX = wx.activex.ParamX
25wxParamXPtr = wx.activex.ParamXPtr
26wxFuncX = wx.activex.FuncX
27wxFuncXPtr = wx.activex.FuncXPtr
28wxPropX = wx.activex.PropX
29wxPropXPtr = wx.activex.PropXPtr
30wxParamXArray = wx.activex.ParamXArray
31wxParamXArrayPtr = wx.activex.ParamXArrayPtr
32wxFuncXArray = wx.activex.FuncXArray
33wxFuncXArrayPtr = wx.activex.FuncXArrayPtr
34wxPropXArray = wx.activex.PropXArray
35wxPropXArrayPtr = wx.activex.PropXArrayPtr
36wxActiveXWindow = wx.activex.ActiveXWindow
37wxActiveXWindowPtr = wx.activex.ActiveXWindowPtr
38RegisterActiveXEvent = wx.activex.RegisterActiveXEvent
39wxActiveXEvent = wx.activex.ActiveXEvent
40wxActiveXEventPtr = wx.activex.ActiveXEventPtr
41wxIEHtmlWindowBase = wx.activex.IEHtmlWindowBase
42wxIEHtmlWindowBasePtr = wx.activex.IEHtmlWindowBasePtr
43
44
45d = globals()
46for k, v in wx.activex.__dict__.iteritems():
47 if k.startswith('EVT'):
48 d[k] = v
49del d, k, v
50
51
52