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