projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update from herbert breunung
[wxWidgets.git]
/
wxPython
/
src
/
_dnd.i
diff --git
a/wxPython/src/_dnd.i
b/wxPython/src/_dnd.i
index cf7c3c84b946b9a00101a4264a627539ea73e02d..9c2ade6aa3a32bad05781600b886298eef1bf6de 100644
(file)
--- a/
wxPython/src/_dnd.i
+++ b/
wxPython/src/_dnd.i
@@
-57,6
+57,7
@@
IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
%name(DropSource) class wxPyDropSource {
public:
%name(DropSource) class wxPyDropSource {
public:
+ %pythonAppend wxPyDropSource "self._setCallbackInfo(self, DropSource, 0)"
#ifndef __WXGTK__
wxPyDropSource(wxWindow *win,
const wxCursor © = wxNullCursor,
#ifndef __WXGTK__
wxPyDropSource(wxWindow *win,
const wxCursor © = wxNullCursor,
@@
-70,14
+71,13
@@
public:
#endif
void _setCallbackInfo(PyObject* self, PyObject* _class, int incref);
#endif
void _setCallbackInfo(PyObject* self, PyObject* _class, int incref);
- %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxDropSource, 0)"
~wxPyDropSource();
// set the data which is transfered by drag and drop
void SetData(wxDataObject& data);
~wxPyDropSource();
// set the data which is transfered by drag and drop
void SetData(wxDataObject& data);
-
+
wxDataObject *GetDataObject();
wxDataObject *GetDataObject();
-
+
// set the icon corresponding to given drag result
void SetCursor(wxDragResult res, const wxCursor& cursor);
// set the icon corresponding to given drag result
void SetCursor(wxDragResult res, const wxCursor& cursor);