]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/grid.i
wxGTK has SetSelection now
[wxWidgets.git] / wxPython / src / grid.i
index 0c47eff96cb7ad937245bc8e230acbee190c5ee5..cebed93efa21a7d169a702f07617d6adbba83573 100644 (file)
@@ -1543,9 +1543,16 @@ public:
             const wxString& name = wxPyPanelNameStr);
 
 
-    enum wxGridSelectionModes {wxGridSelectCells,
-                               wxGridSelectRows,
-                               wxGridSelectColumns};
+    enum wxGridSelectionModes {
+        wxGridSelectCells,
+        wxGridSelectRows,
+        wxGridSelectColumns
+    };
+    %pythoncode {
+        SelectCells =   wxGridSelectCells
+        SelectRows =    wxGridSelectRows
+        SelectColumns = wxGridSelectColumns,
+    }
 
     bool CreateGrid( int numRows, int numCols,
                      WXGRIDSELECTIONMODES selmode = wxGrid::wxGridSelectCells );