overview = """\
-This demo shows Drand and Drop using a custom data type and a custom data object. A type called "DoodleLines" is created and a Python Pickle of a list is actually transfered in the drag and drop opperation.
+This demo shows Drag and Drop using a custom data type and a custom data object. A type called "DoodleLines" is created and a Python Pickle of a list is actually transfered in the drag and drop opperation.
A second data object is also created containing a bitmap of the image and is made available to any drop target that accepts bitmaps, such as MS Word.
const wxIcon &go = wxNullIcon)
: wxDropSource(win, go) {}
#endif
+ ~wxPyDropSource() { printf("dtor\n"); }
+
DEC_PYCALLBACK_BOOL_DR(GiveFeedback);
PYPRIVATE;
};
const wxIcon &go = wxNullIcon);
#endif
- void _setSelf(PyObject* self);
- %pragma(python) addtomethod = "__init__:self._setSelf(self)"
+ void _setSelf(PyObject* self, int incref);
+ %pragma(python) addtomethod = "__init__:self._setSelf(self, 0)"
~wxPyDropSource();
void SetData(wxDataObject& data);