X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/196addbfe0f00b96fdeff1f6f29dae33cf95d071..f659339e93d0fb3eca717f4c5c23d1a3c41d6af7:/wxPython/src/gtk/grid.py diff --git a/wxPython/src/gtk/grid.py b/wxPython/src/gtk/grid.py index 7658820a81..2041b17b10 100644 --- a/wxPython/src/gtk/grid.py +++ b/wxPython/src/gtk/grid.py @@ -58,6 +58,7 @@ class GridCellRendererPtr(GridCellRenderer): self.__class__ = GridCellRenderer _grid.GridCellRenderer_swigregister(GridCellRendererPtr) cvar = _grid.cvar +DateTimeFormatStr = cvar.DateTimeFormatStr GridNoCellCoords = cvar.GridNoCellCoords GridNoCellRect = cvar.GridNoCellRect @@ -184,7 +185,7 @@ class GridCellDateTimeRenderer(GridCellStringRenderer): def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(String outformat=wxPyDateTimeFormatStr, String informat=wxPyDateTimeFormatStr) -> GridCellDateTimeRenderer""" + """__init__(String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer""" newobj = _grid.new_GridCellDateTimeRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1223,6 +1224,10 @@ class Grid(windows.ScrolledWindow): wxGridSelectCells = _grid.Grid_wxGridSelectCells wxGridSelectRows = _grid.Grid_wxGridSelectRows wxGridSelectColumns = _grid.Grid_wxGridSelectColumns + SelectCells = wxGridSelectCells + SelectRows = wxGridSelectRows + SelectColumns = wxGridSelectColumns, + def CreateGrid(*args, **kwargs): """CreateGrid(int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" return _grid.Grid_CreateGrid(*args, **kwargs)