]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_dnd.i
wxLogTrace API change
[wxWidgets.git] / wxPython / src / _dnd.i
index 8e2ce47ab7b94f001ee1641744fcbc96c4abf64a..15f0f187776fd814111ad906c736bce90df3f2ef 100644 (file)
@@ -121,7 +121,9 @@ IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
 %name(DropTarget) class wxPyDropTarget // : public wxDropTarget
 {
 public:
-    %addtofunc wxPyDropTarget "if args: args[1].thisown = 0; self._setCallbackInfo(self, DropTarget)"
+    %addtofunc wxPyDropTarget
+       "if args: args[0].thisown = 0;
+        self._setCallbackInfo(self, DropTarget)"
 
     wxPyDropTarget(wxDataObject *dataObject = NULL);
     void _setCallbackInfo(PyObject* self, PyObject* _class);