Disown using .this.own(False) instead of .thisown = False

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-10 03:30:33 +00:00
parent 7661255894
commit 4b5a79cf54
12 changed files with 23 additions and 15 deletions

View File

@@ -750,7 +750,7 @@ public:
virtual void StartingClick();
virtual void HandleReturn(wxKeyEvent& event);
%pythonAppend Destroy "args[0].thisown = 0"
%pythonPrepend Destroy "args[0].this.own(False)"
virtual void Destroy();
%property(CellAttr, GetCellAttr, SetCellAttr, doc="See `GetCellAttr` and `SetCellAttr`");
@@ -1345,7 +1345,7 @@ public:
wxPyGridTableBase();
void _setCallbackInfo(PyObject* self, PyObject* _class);
%pythonAppend Destroy "args[0].thisown = 0"
%pythonPrepend Destroy "args[0].this.own(False)"
%extend { void Destroy() { delete self; } }
wxString GetTypeName( int row, int col );