1 ## This file reverse renames symbols in the wx package to give
2 ## them their wx prefix again, for backwards compatibility.
4 ## Generated by BuildRenamers in config.py
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.
11 if sys
.modules
.has_key('wxPython.wx'):
12 _wx
= sys
.modules
['wxPython.wx']
13 del sys
.modules
['wxPython.wx']
17 sys
.modules
['wxPython.wx'] = _wx
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 wxWEBKIT_STATE_START
= wx
.webkit
.WEBKIT_STATE_START
27 wxWEBKIT_STATE_NEGOTIATING
= wx
.webkit
.WEBKIT_STATE_NEGOTIATING
28 wxWEBKIT_STATE_REDIRECTING
= wx
.webkit
.WEBKIT_STATE_REDIRECTING
29 wxWEBKIT_STATE_TRANSFERRING
= wx
.webkit
.WEBKIT_STATE_TRANSFERRING
30 wxWEBKIT_STATE_STOP
= wx
.webkit
.WEBKIT_STATE_STOP
31 wxWEBKIT_STATE_FAILED
= wx
.webkit
.WEBKIT_STATE_FAILED
32 wxEVT_WEBKIT_STATE_CHANGED
= wx
.webkit
.wxEVT_WEBKIT_STATE_CHANGED
33 wxWebKitStateChangedEvent
= wx
.webkit
.WebKitStateChangedEvent
34 wxWebKitStateChangedEventPtr
= wx
.webkit
.WebKitStateChangedEventPtr
38 for k
, v
in wx
.webkit
.__dict
__.iteritems():
39 if k
.startswith('EVT'):