X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..05fd1c9e8e20e959f894ecc300ee40232de38377:/wxPython/src/grid.i?ds=inline diff --git a/wxPython/src/grid.i b/wxPython/src/grid.i index 0c47eff96c..cebed93efa 100644 --- a/wxPython/src/grid.i +++ b/wxPython/src/grid.i @@ -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 );