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