]>
Commit | Line | Data |
---|---|---|
d14a1e28 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. | |
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.glcanvas | |
16 | ||
17 | sys.modules['wxPython.wx'] = _wx | |
18 | del sys, _wx | |
19 | ||
20 | ||
21 | # Now assign all the reverse-renamed names: | |
b2dc1044 | 22 | wxGLCanvasNameStr = wx.glcanvas.GLCanvasNameStr |
d14a1e28 | 23 | wxGLContext = wx.glcanvas.GLContext |
423af76e | 24 | wxGLContextPtr = wx.glcanvas.GLContextPtr |
d14a1e28 RD |
25 | WX_GL_RGBA = wx.glcanvas.WX_GL_RGBA |
26 | WX_GL_BUFFER_SIZE = wx.glcanvas.WX_GL_BUFFER_SIZE | |
27 | WX_GL_LEVEL = wx.glcanvas.WX_GL_LEVEL | |
28 | WX_GL_DOUBLEBUFFER = wx.glcanvas.WX_GL_DOUBLEBUFFER | |
29 | WX_GL_STEREO = wx.glcanvas.WX_GL_STEREO | |
30 | WX_GL_AUX_BUFFERS = wx.glcanvas.WX_GL_AUX_BUFFERS | |
31 | WX_GL_MIN_RED = wx.glcanvas.WX_GL_MIN_RED | |
32 | WX_GL_MIN_GREEN = wx.glcanvas.WX_GL_MIN_GREEN | |
33 | WX_GL_MIN_BLUE = wx.glcanvas.WX_GL_MIN_BLUE | |
34 | WX_GL_MIN_ALPHA = wx.glcanvas.WX_GL_MIN_ALPHA | |
35 | WX_GL_DEPTH_SIZE = wx.glcanvas.WX_GL_DEPTH_SIZE | |
36 | WX_GL_STENCIL_SIZE = wx.glcanvas.WX_GL_STENCIL_SIZE | |
37 | WX_GL_MIN_ACCUM_RED = wx.glcanvas.WX_GL_MIN_ACCUM_RED | |
38 | WX_GL_MIN_ACCUM_GREEN = wx.glcanvas.WX_GL_MIN_ACCUM_GREEN | |
39 | WX_GL_MIN_ACCUM_BLUE = wx.glcanvas.WX_GL_MIN_ACCUM_BLUE | |
40 | WX_GL_MIN_ACCUM_ALPHA = wx.glcanvas.WX_GL_MIN_ACCUM_ALPHA | |
d14a1e28 | 41 | wxGLCanvas = wx.glcanvas.GLCanvas |
423af76e | 42 | wxGLCanvasPtr = wx.glcanvas.GLCanvasPtr |
bf5ff0c3 | 43 | wxGLCanvasWithContext = wx.glcanvas.GLCanvasWithContext |
d14a1e28 RD |
44 | |
45 |