]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_streams.i
Added a note to self to look at adding ProvidesBackground in the future
[wxWidgets.git] / wxPython / src / _streams.i
index d92f5eb225a4f30a86697efb926a98cd7bc631b4..d8d9f26094f814d95f3d25e77fedb5c98eaeea89 100644 (file)
@@ -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();