]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/iewin.py
Demo tweaks to correct some visual glitches and event order issues
[wxWidgets.git] / wxPython / wxPython / iewin.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 ./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.
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.iewin
16
17 sys.modules['wxPython.wx'] = _wx
18 del sys, _wx
19
20
21 # Now assign all the reverse-renamed names:
22 wxMSHTMLEvent = wx.iewin.MSHTMLEvent
23 wxMSHTMLEventPtr = wx.iewin.MSHTMLEventPtr
24 wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2 = wx.iewin.wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
25 wxEVT_COMMAND_MSHTML_NEWWINDOW2 = wx.iewin.wxEVT_COMMAND_MSHTML_NEWWINDOW2
26 wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE = wx.iewin.wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
27 wxEVT_COMMAND_MSHTML_PROGRESSCHANGE = wx.iewin.wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
28 wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE = wx.iewin.wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
29 wxEVT_COMMAND_MSHTML_TITLECHANGE = wx.iewin.wxEVT_COMMAND_MSHTML_TITLECHANGE
30 wxIEHTML_REFRESH_NORMAL = wx.iewin.IEHTML_REFRESH_NORMAL
31 wxIEHTML_REFRESH_IFEXPIRED = wx.iewin.IEHTML_REFRESH_IFEXPIRED
32 wxIEHTML_REFRESH_CONTINUE = wx.iewin.IEHTML_REFRESH_CONTINUE
33 wxIEHTML_REFRESH_COMPLETELY = wx.iewin.IEHTML_REFRESH_COMPLETELY
34 wxIEHtmlWin = wx.iewin.IEHtmlWin
35 wxIEHtmlWinPtr = wx.iewin.IEHtmlWinPtr
36
37
38 d = globals()
39 for k, v in wx.iewin.__dict__.iteritems():
40 if k.startswith('EVT'):
41 d[k] = v
42 del d, k, v
43
44
45