]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/grid.py
Various tweaks, docstring fixes, etc.
[wxWidgets.git] / wxPython / src / msw / grid.py
index 79aaf7c929e8878e45b56d79220eb2f15ec7db6e..54276f68310791882fe68a14860044ee81b78e98 100644 (file)
@@ -447,7 +447,7 @@ class GridCellFloatEditor(GridCellTextEditor):
     def __repr__(self):
         return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
     def __init__(self, *args, **kwargs):
-        """__init__() -> GridCellFloatEditor"""
+        """__init__(int width=-1, int precision=-1) -> GridCellFloatEditor"""
         newobj = _grid.new_GridCellFloatEditor(*args, **kwargs)
         self.this = newobj.this
         self.thisown = 1
@@ -1224,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)
@@ -1315,10 +1319,6 @@ class Grid(windows.ScrolledWindow):
         """ForceRefresh()"""
         return _grid.Grid_ForceRefresh(*args, **kwargs)
 
-    def Refresh(*args, **kwargs):
-        """Refresh(bool eraseb=True, Rect rect=None)"""
-        return _grid.Grid_Refresh(*args, **kwargs)
-
     def IsEditable(*args, **kwargs):
         """IsEditable() -> bool"""
         return _grid.Grid_IsEditable(*args, **kwargs)