Allow both SetCurrent() and SetCurrent(context)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)"""
|
||||
|
Reference in New Issue
Block a user