X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..553f11cdbfcb406a4bff16447a38595f0e05ca07:/wxPython/src/_streams.i?ds=inline 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();