- def SetColour(*args, **kwargs):
- """SetColour(self, String colour)"""
- return _glcanvas.GLContext_SetColour(*args, **kwargs)
-
- def SwapBuffers(*args, **kwargs):
- """SwapBuffers(self)"""
- return _glcanvas.GLContext_SwapBuffers(*args, **kwargs)
-
- def SetupPixelFormat(*args, **kwargs):
- """SetupPixelFormat(self)"""
- return _glcanvas.GLContext_SetupPixelFormat(*args, **kwargs)
-
- def SetupPalette(*args, **kwargs):
- """SetupPalette(self, wxPalette palette)"""
- return _glcanvas.GLContext_SetupPalette(*args, **kwargs)
-
- def CreateDefaultPalette(*args, **kwargs):
- """CreateDefaultPalette(self) -> wxPalette"""
- return _glcanvas.GLContext_CreateDefaultPalette(*args, **kwargs)
-
- def GetPalette(*args, **kwargs):
- """GetPalette(self) -> wxPalette"""
- return _glcanvas.GLContext_GetPalette(*args, **kwargs)
-
- def GetWindow(*args, **kwargs):
- """GetWindow(self) -> Window"""
- return _glcanvas.GLContext_GetWindow(*args, **kwargs)
-
-
-class GLContextPtr(GLContext):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = GLContext
-_glcanvas.GLContext_swigregister(GLContextPtr)