}
}
- %pythonAppend Destroy "args[0].thisown = 0";
+ %pythonPrepend Destroy "args[0].this.own(False)";
%extend { void Destroy() { delete self; } }
};
// Now tell SWIG about it
class wxPyLog : public wxLog {
public:
- %pythonAppend wxPyLog "self._setCallbackInfo(self, PyLog)"
+ %pythonAppend wxPyLog setCallbackInfo(PyLog)
wxPyLog();