X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f464a4f2afba29d9ef07a33a9ead0c118dbdca1c..6bda7508c6e41365b69fdf690b3070991098a7af:/wxPython/src/_streams.i 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); }