]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/mac/glcanvas.py
Add properties
[wxWidgets.git] / wxPython / contrib / glcanvas / mac / glcanvas.py
index 95b33f2621bd3a22106485ada5aeeb7d360065b9..f72b0d71f611a85bc530a946166cfcf96e8ae623 100644 (file)
@@ -119,6 +119,7 @@ class GLCanvas(_core.Window):
         """GetContext(self) -> GLContext"""
         return _glcanvas.GLCanvas_GetContext(*args, **kwargs)
 
+    Context = property(GetContext,doc="See `GetContext`") 
 _glcanvas.GLCanvas_swigregister(GLCanvas)
 
 def GLCanvasWithContext(*args, **kwargs):