From 5f21cfa9f9a66ca3bdcd52393cdd6e4931a0aeea Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 20 Nov 2004 22:02:29 +0000 Subject: [PATCH] Fix wxInputStream out typemap to allow SWIG to determine if thisown 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/src/_streams.i b/wxPython/src/_streams.i index 225a0b901f..d8d9f26094 100644 --- a/wxPython/src/_streams.i +++ b/wxPython/src/_streams.i @@ -54,7 +54,7 @@ if ($1) { _ptr = new wxPyInputStream($1); } - $result = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true); + $result = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), $owner); } -- 2.47.2