]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/grid.py
Remove some extra Refreshes and such
[wxWidgets.git] / wxPython / src / gtk / grid.py
index 79aaf7c929e8878e45b56d79220eb2f15ec7db6e..7fb1c3163928514cf5e6db0c670d644ba1980fe9 100644 (file)
@@ -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)
@@ -1316,7 +1320,13 @@ class Grid(windows.ScrolledWindow):
         return _grid.Grid_ForceRefresh(*args, **kwargs)
 
     def Refresh(*args, **kwargs):
-        """Refresh(bool eraseb=True, Rect rect=None)"""
+        """
+        Refresh(bool eraseb=True, Rect rect=None)
+
+        Mark the specified rectangle (or the whole window) as "dirty" so it
+        will be repainted.  Causes an EVT_PAINT event to be generated and sent
+        to the window.
+        """
         return _grid.Grid_Refresh(*args, **kwargs)
 
     def IsEditable(*args, **kwargs):