]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/webkit.py
ad5e38d5d80b43763cc8392158f2ff2da1a3fefb
[wxWidgets.git] / wxPython / wxPython / webkit.py
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 BuildRenamers in config.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.
9 import sys
10 _wx = None
11 if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15 import wx.webkit
16
17 sys.modules['wxPython.wx'] = _wx
18 del sys, _wx
19
20
21 # Now assign all the reverse-renamed names:
22 wxWebKitNameStr = wx.webkit.WebKitNameStr
23 wxWebKitCtrl = wx.webkit.WebKitCtrl
24 wxWebKitCtrlPtr = wx.webkit.WebKitCtrlPtr
25 wxPreWebKitCtrl = wx.webkit.PreWebKitCtrl
26
27