]> git.saurik.com Git - wxWidgets.git/commitdiff
Dtor for wxHtmlCell
authorRobin Dunn <robin@alldunn.com>
Mon, 13 Mar 2006 23:11:35 +0000 (23:11 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 13 Mar 2006 23:11:35 +0000 (23:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/html.i

index 12396332c1bd643edb8a2cb68acf5cb91c03c320..b2a8fd5f1286be05ae5f560626a2b557e59943d5 100644 (file)
@@ -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);