From ae662096c3e8548c37e5c8a8a9cb43d62bb543a4 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 22 May 2004 02:58:08 +0000 Subject: [PATCH] Add PreGrid() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/grid.i | 10 ++++++++++ wxPython/wxPython/grid.py | 1 + 2 files changed, 11 insertions(+) diff --git a/wxPython/src/grid.i b/wxPython/src/grid.i index 0d0f37e65b..bf6b371d04 100644 --- a/wxPython/src/grid.i +++ b/wxPython/src/grid.i @@ -1558,7 +1558,17 @@ public: long style = wxWANTS_CHARS, const wxString& name = wxPyPanelNameStr); + %name(PreGrid) wxGrid(); + + + bool Create( wxWindow *parent, + wxWindowID id, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxWANTS_CHARS, + const wxString& name = wxPyPanelNameStr ); + enum wxGridSelectionModes { wxGridSelectCells, wxGridSelectRows, diff --git a/wxPython/wxPython/grid.py b/wxPython/wxPython/grid.py index fc0bb6d9fd..a792cbafdd 100644 --- a/wxPython/wxPython/grid.py +++ b/wxPython/wxPython/grid.py @@ -93,6 +93,7 @@ wxGridCellCoords = wx.grid.GridCellCoords wxGridCellCoordsPtr = wx.grid.GridCellCoordsPtr wxGrid = wx.grid.Grid wxGridPtr = wx.grid.GridPtr +wxPreGrid = wx.grid.PreGrid wxGrid_GetClassDefaultAttributes = wx.grid.Grid_GetClassDefaultAttributes wxGridEvent = wx.grid.GridEvent wxGridEventPtr = wx.grid.GridEventPtr -- 2.47.2