Files
wxWidgets/wxPython/wxPython/glcanvas.py
Robin Dunn b2dc104421 More changes to make the autodocs be better, made all the namestrings
and such be visible to swig so the autodoc generator knows how to
rename them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 01:01:49 +00:00

46 lines
1.6 KiB
Python

## This file reverse renames symbols in the wx package to give
## them their wx prefix again, for backwards compatibility.
##
## Generated by ./distrib/build_renamers.py
# This silly stuff here is so the wxPython.wx module doesn't conflict
# with the wx package. We need to import modules from the wx package
# here, then we'll put the wxPython.wx entry back in sys.modules.
import sys
_wx = None
if sys.modules.has_key('wxPython.wx'):
_wx = sys.modules['wxPython.wx']
del sys.modules['wxPython.wx']
import wx.glcanvas
sys.modules['wxPython.wx'] = _wx
del sys, _wx
# Now assign all the reverse-renamed names:
wxGLCanvasNameStr = wx.glcanvas.GLCanvasNameStr
wxGLContext = wx.glcanvas.GLContext
wxGLContextPtr = wx.glcanvas.GLContextPtr
WX_GL_RGBA = wx.glcanvas.WX_GL_RGBA
WX_GL_BUFFER_SIZE = wx.glcanvas.WX_GL_BUFFER_SIZE
WX_GL_LEVEL = wx.glcanvas.WX_GL_LEVEL
WX_GL_DOUBLEBUFFER = wx.glcanvas.WX_GL_DOUBLEBUFFER
WX_GL_STEREO = wx.glcanvas.WX_GL_STEREO
WX_GL_AUX_BUFFERS = wx.glcanvas.WX_GL_AUX_BUFFERS
WX_GL_MIN_RED = wx.glcanvas.WX_GL_MIN_RED
WX_GL_MIN_GREEN = wx.glcanvas.WX_GL_MIN_GREEN
WX_GL_MIN_BLUE = wx.glcanvas.WX_GL_MIN_BLUE
WX_GL_MIN_ALPHA = wx.glcanvas.WX_GL_MIN_ALPHA
WX_GL_DEPTH_SIZE = wx.glcanvas.WX_GL_DEPTH_SIZE
WX_GL_STENCIL_SIZE = wx.glcanvas.WX_GL_STENCIL_SIZE
WX_GL_MIN_ACCUM_RED = wx.glcanvas.WX_GL_MIN_ACCUM_RED
WX_GL_MIN_ACCUM_GREEN = wx.glcanvas.WX_GL_MIN_ACCUM_GREEN
WX_GL_MIN_ACCUM_BLUE = wx.glcanvas.WX_GL_MIN_ACCUM_BLUE
WX_GL_MIN_ACCUM_ALPHA = wx.glcanvas.WX_GL_MIN_ACCUM_ALPHA
wxGLCanvas = wx.glcanvas.GLCanvas
wxGLCanvasPtr = wx.glcanvas.GLCanvasPtr
wxGLCanvasWithContext = wx.glcanvas.GLCanvasWithContext