]> git.saurik.com Git - wxWidgets.git/commitdiff
Rename the grid selection mode flags
authorRobin Dunn <robin@alldunn.com>
Tue, 6 Jan 2004 21:33:34 +0000 (21:33 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 6 Jan 2004 21:33:34 +0000 (21:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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 );