%addtofunc --> %pythonAppend

Also used %pythonPrepend to provide backwards compatibility for a few
parameter name changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-01-31 01:18:37 +00:00
parent d7f8258414
commit 2b9048c56f
65 changed files with 313 additions and 297 deletions

View File

@@ -118,7 +118,7 @@ IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
%name(DropTarget) class wxPyDropTarget // : public wxDropTarget
{
public:
%addtofunc wxPyDropTarget
%pythonAppend wxPyDropTarget
"self._setCallbackInfo(self, DropTarget)"
%apply SWIGTYPE *DISOWN { wxDataObject *dataObject };
@@ -180,7 +180,7 @@ IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
%name(TextDropTarget) class wxPyTextDropTarget : public wxPyDropTarget {
public:
%addtofunc wxPyTextDropTarget "self._setCallbackInfo(self, TextDropTarget)"
%pythonAppend wxPyTextDropTarget "self._setCallbackInfo(self, TextDropTarget)"
wxPyTextDropTarget();
void _setCallbackInfo(PyObject* self, PyObject* _class);
@@ -241,7 +241,7 @@ IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
%name(FileDropTarget) class wxPyFileDropTarget : public wxPyDropTarget
{
public:
%addtofunc wxPyFileDropTarget "self._setCallbackInfo(self, FileDropTarget)"
%pythonAppend wxPyFileDropTarget "self._setCallbackInfo(self, FileDropTarget)"
wxPyFileDropTarget();
void _setCallbackInfo(PyObject* self, PyObject* _class);