X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..1823fbb47a1d5ec4f706dc68929e7538463da556:/wxPython/src/_streams.i diff --git a/wxPython/src/_streams.i b/wxPython/src/_streams.i index ed762b075e..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); } @@ -79,7 +79,8 @@ public: return NULL; } } - + ~wxPyInputStream(); + void close(); void flush(); bool eof();