git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27137
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
%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,
#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);