X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97ab0f6ab4898d6ee1e2cad716643cabe40e3268..b40bf35c764d09ff7d745df9eeddd9f3b419e204:/wxPython/contrib/glcanvas/msw/glcanvas.py diff --git a/wxPython/contrib/glcanvas/msw/glcanvas.py b/wxPython/contrib/glcanvas/msw/glcanvas.py index 4460eec341..dabff1a972 100644 --- a/wxPython/contrib/glcanvas/msw/glcanvas.py +++ b/wxPython/contrib/glcanvas/msw/glcanvas.py @@ -104,9 +104,12 @@ class GLCanvas(_core.Window): _glcanvas.GLCanvas_swiginit(self,_glcanvas.new_GLCanvas(*args, **kwargs)) self._setOORInfo(self) - def SetCurrent(*args, **kwargs): - """SetCurrent(self, GLContext RC)""" - return _glcanvas.GLCanvas_SetCurrent(*args, **kwargs) + def SetCurrent(*args): + """ + SetCurrent(self) + SetCurrent(self, GLContext RC) + """ + return _glcanvas.GLCanvas_SetCurrent(*args) def SetColour(*args, **kwargs): """SetColour(self, String colour)""" @@ -136,6 +139,7 @@ class GLCanvas(_core.Window): """GetPalette(self) -> Palette""" return _glcanvas.GLCanvas_GetPalette(*args, **kwargs) + Context = property(GetContext,doc="See `GetContext`") _glcanvas.GLCanvas_swigregister(GLCanvas) def GLCanvasWithContext(*args, **kwargs):