From ef6c08e5c36f7f7be3b4a4f3583311c1ad7f46d1 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 6 Jan 2004 21:33:34 +0000 Subject: [PATCH] Rename the grid selection mode flags git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/grid.i | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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 );