- if (_argo1 == Py_None) { _arg1 = NULL; }
- else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDropSource. Expected _wxIcon_p.");
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDropSource. Expected _wxCursor_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxCursor_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxDropSource. Expected _wxCursor_p.");
+ return NULL;
+ }
+ }
+ if (_argo3) {
+ if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxCursor_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxDropSource. Expected _wxCursor_p.");