X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..553f11cdbfcb406a4bff16447a38595f0e05ca07:/wxPython/src/_streams.i diff --git a/wxPython/src/_streams.i b/wxPython/src/_streams.i index d92f5eb225..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); } @@ -68,7 +68,6 @@ enum wxSeekMode }; - %name(InputStream) class wxPyInputStream { public: %extend { @@ -80,7 +79,8 @@ public: return NULL; } } - + ~wxPyInputStream(); + void close(); void flush(); bool eof();