if ($1) {
_ptr = new wxPyInputStream($1);
}
- $result = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
+ $result = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), $owner);
}
};
-%name(InputStream) class wxPyInputStream {
+%rename(InputStream) wxPyInputStream;
+class wxPyInputStream
+{
public:
%extend {
wxPyInputStream(PyObject* p) {