From: Robin Dunn Date: Mon, 13 Mar 2006 23:11:35 +0000 (+0000) Subject: Dtor for wxHtmlCell X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/226de48a85fdfc8ada9c5fa942f94eecc7dc7f8c Dtor for wxHtmlCell git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/html.i b/wxPython/src/html.i index 12396332c1..b2a8fd5f12 100644 --- a/wxPython/src/html.i +++ b/wxPython/src/html.i @@ -506,7 +506,8 @@ public: %typemap(out) wxHtmlCell*; // turn off this typemap wxHtmlCell(); - + ~wxHtmlCell(); + // Turn it back on again %typemap(out) wxHtmlCell* { $result = wxPyMake_wxObject($1, $owner); } @@ -536,7 +537,11 @@ public: void SetLink(const wxHtmlLinkInfo& link); + + %disownarg(wxHtmlCell*); void SetNext(wxHtmlCell *cell); + %cleardisown(wxHtmlCell*); + void SetParent(wxHtmlContainerCell *p); void SetPos(int x, int y); void Layout(int w); @@ -601,7 +606,10 @@ class wxHtmlContainerCell : public wxHtmlCell { public: wxHtmlContainerCell(wxHtmlContainerCell *parent); + %disownarg(wxHtmlCell*); void InsertCell(wxHtmlCell *cell); + %cleardisown(wxHtmlCell*); + void SetAlignHor(int al); int GetAlignHor(); void SetAlignVer(int al);