diff --git a/wxPython/src/grid.i b/wxPython/src/grid.i index ec563fc7f2..a6d83e33e7 100644 --- a/wxPython/src/grid.i +++ b/wxPython/src/grid.i @@ -1127,7 +1127,7 @@ class wxGridTableBase : public wxObject { public: // wxGridTableBase(); This is an ABC - //~wxGridTableBase(); + ~wxGridTableBase(); %extend { void _setOORInfo(PyObject* _self) { @@ -1659,9 +1659,12 @@ public: wxGridTableBase * GetTable() const; + + %disownarg(wxGridTableBase *); bool SetTable( wxGridTableBase *table, bool takeOwnership=false, WXGRIDSELECTIONMODES selmode = wxGrid::wxGridSelectCells ); + %cleardisown(wxGridTableBase *); void ClearGrid(); bool InsertRows( int pos = 0, int numRows = 1, bool updateLabels=true );