+static PyObject *_wrap_FileDropTarget_OnDropFiles(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxArrayString *arg4 = 0 ;
+ bool result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ if (! PySequence_Check(obj3)) {
+ PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
+ SWIG_fail;
+ }
+ arg4 = new wxArrayString;
+ temp4 = true;
+ int i, len=PySequence_Length(obj3);
+ for (i=0; i<len; i++) {
+ PyObject* item = PySequence_GetItem(obj3, i);
+ wxString* s = wxString_in_helper(item);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg4->Add(*s);
+ delete s;
+ Py_DECREF(item);
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->OnDropFiles(arg2,arg3,(wxArrayString const &)*arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4) delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4) delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_FileDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {