Add missing "public" so wxGridCellRenderer methods will have wrappers

generated for them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-27 01:41:43 +00:00
parent e0e6ac8acc
commit a5f9094e25
6 changed files with 957 additions and 249 deletions

View File

@@ -111,6 +111,21 @@ class GridCellRenderer(GridCellWorker):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
def Draw(*args, **kwargs):
"""
Draw(self, Grid grid, GridCellAttr attr, DC dc, Rect rect, int row,
int col, bool isSelected)
"""
return _grid.GridCellRenderer_Draw(*args, **kwargs)
def GetBestSize(*args, **kwargs):
"""GetBestSize(self, Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size"""
return _grid.GridCellRenderer_GetBestSize(*args, **kwargs)
def Clone(*args, **kwargs):
"""Clone(self) -> GridCellRenderer"""
return _grid.GridCellRenderer_Clone(*args, **kwargs)
_grid.GridCellRenderer_swigregister(GridCellRenderer)
class PyGridCellRenderer(GridCellRenderer):