]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxInputStream out typemap to allow SWIG to determine if thisown
authorRobin Dunn <robin@alldunn.com>
Sat, 20 Nov 2004 22:02:29 +0000 (22:02 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 20 Nov 2004 22:02:29 +0000 (22:02 +0000)
should be set or not.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_streams.i

index 225a0b901f6b335857fbc1a6e7733de333ab7b52..d8d9f26094f814d95f3d25e77fedb5c98eaeea89 100644 (file)
@@ -54,7 +54,7 @@
     if ($1) {
         _ptr = new wxPyInputStream($1);
     }
-    $result = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
+    $result = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), $owner);
 }