%rename(DropSource) wxPyDropSource;
class wxPyDropSource {
public:
- %pythonAppend wxPyDropSource "self._setCallbackInfo(self, DropSource, 0)"
+ %pythonAppend wxPyDropSource setCallbackInfo(DropSource)
#ifndef __WXGTK__
wxPyDropSource(wxWindow *win,
const wxCursor © = wxNullCursor,
const wxIcon& none = wxNullIcon);
#endif
- void _setCallbackInfo(PyObject* self, PyObject* _class, int incref);
+ void _setCallbackInfo(PyObject* self, PyObject* _class, int incref=0);
~wxPyDropSource();
// set the data which is transfered by drag and drop
class wxPyDropTarget // : public wxDropTarget
{
public:
- %pythonAppend wxPyDropTarget
- "self._setCallbackInfo(self, DropTarget)"
+ %pythonAppend wxPyDropTarget setCallbackInfo(DropTarget)
%disownarg( wxDataObject *dataObject );
%rename(TextDropTarget) wxPyTextDropTarget;
class wxPyTextDropTarget : public wxPyDropTarget {
public:
- %pythonAppend wxPyTextDropTarget "self._setCallbackInfo(self, TextDropTarget)"
+ %pythonAppend wxPyTextDropTarget setCallbackInfo(TextDropTarget)
wxPyTextDropTarget();
void _setCallbackInfo(PyObject* self, PyObject* _class);
class wxPyFileDropTarget : public wxPyDropTarget
{
public:
- %pythonAppend wxPyFileDropTarget "self._setCallbackInfo(self, FileDropTarget)"
+ %pythonAppend wxPyFileDropTarget setCallbackInfo(FileDropTarget)
wxPyFileDropTarget();
void _setCallbackInfo(PyObject* self, PyObject* _class);