2 * FILE : src/msw/clip_dnd.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initclip_dndc
56 #define SWIG_name "clip_dndc"
59 #include <wx/dataobj.h>
60 #include <wx/clipbrd.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
110 // An alternate constructor...
111 wxDataFormat
* wxCustomDataFormat(const wxString
&id
) {
112 return new wxDataFormat(id
);
115 wxDataFormat wxPyFormatInvalid
;
116 // Create a new class for wxPython to use
117 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
119 wxPyDataObjectSimple(const wxDataFormat
& format
= wxPyFormatInvalid
)
120 : wxDataObjectSimple(format
) {}
122 DEC_PYCALLBACK_SIZET_(GetDataSize
);
123 bool GetDataHere(void *buf
);
124 bool SetData(size_t len
, const void *buf
);
128 IMP_PYCALLBACK_SIZET_(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
130 bool wxPyDataObjectSimple::GetDataHere(void *buf
) {
131 // We need to get the data for this object and write it to buf. I think
132 // the best way to do this for wxPython is to have the Python method
133 // return either a string or None and then act appropriately with the
137 bool doSave
= wxPyRestoreThread();
138 if (m_myInst
.findCallback("GetDataHere")) {
140 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
142 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
144 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
148 wxPySaveThread(doSave
);
152 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
153 // For this one we simply need to make a string from buf and len
154 // and send it to the Python method.
156 bool doSave
= wxPyRestoreThread();
157 if (m_myInst
.findCallback("SetData")) {
158 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
159 rval
= m_myInst
.callCallback(Py_BuildValue("(O)", data
));
162 wxPySaveThread(doSave
);
165 // Create a new class for wxPython to use
166 class wxPyTextDataObject
: public wxTextDataObject
{
168 wxPyTextDataObject(const wxString
& text
= wxEmptyString
)
169 : wxTextDataObject(text
) {}
171 DEC_PYCALLBACK_SIZET_(GetTextLength
);
172 DEC_PYCALLBACK_STRING_(GetText
);
173 DEC_PYCALLBACK__STRING(SetText
);
177 IMP_PYCALLBACK_SIZET_(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
178 IMP_PYCALLBACK_STRING_(wxPyTextDataObject
, wxTextDataObject
, GetText
);
179 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
181 // Create a new class for wxPython to use
182 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
184 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
185 : wxBitmapDataObject(bitmap
) {}
187 wxBitmap
GetBitmap();
188 void SetBitmap(const wxBitmap
& bitmap
);
192 wxBitmap
wxPyBitmapDataObject::GetBitmap() {
193 wxBitmap
* rval
= &wxNullBitmap
;
194 bool doSave
= wxPyRestoreThread();
195 if (m_myInst
.findCallback("GetBitmap")) {
198 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
200 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxBitmap_p"))
205 wxPySaveThread(doSave
);
209 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
210 bool doSave
= wxPyRestoreThread();
211 if (m_myInst
.findCallback("SetBitmap")) {
212 m_myInst
.callCallback(Py_BuildValue("(O)",
213 wxPyConstructObject((void*)&bitmap
, "wxBitmap")));
215 wxPySaveThread(doSave
);
218 // See below in the init function...
219 wxClipboard
* wxPyTheClipboard
;
221 class wxPyDropSource
: public wxDropSource
{
224 wxPyDropSource(wxWindow
*win
= NULL
,
225 const wxCursor
&cursorCopy
= wxNullCursor
,
226 const wxCursor
&cursorMove
= wxNullCursor
,
227 const wxCursor
&cursorStop
= wxNullCursor
)
228 : wxDropSource(win
, cursorCopy
, cursorMove
, cursorStop
) {}
230 wxPyDropSource(wxWindow
*win
= NULL
,
231 const wxIcon
&go
= wxNullIcon
)
232 : wxDropSource(win
, go
) {}
234 ~wxPyDropSource() { }
236 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
240 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
243 class wxPyDropTarget
: public wxDropTarget
{
245 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
246 : wxDropTarget(dataObject
) {}
248 // DEC_PYCALLBACK_SIZET_(GetFormatCount);
249 // DEC_PYCALLBACK_DATAFMT_SIZET(GetFormat);
251 DEC_PYCALLBACK__(OnLeave
);
252 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
253 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
254 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
255 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
260 // IMP_PYCALLBACK_SIZET_(wxPyDropTarget, wxDropTarget, GetFormatCount);
261 // IMP__PYCALLBACK_DATAFMT_SIZET(wxPyDropTarget, wxDropTarget, GetFormat);
263 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
264 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
265 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
266 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
267 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
270 class wxPyTextDropTarget
: public wxTextDropTarget
{
272 wxPyTextDropTarget() {}
274 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
276 DEC_PYCALLBACK__(OnLeave
);
277 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
278 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
279 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
280 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
285 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
286 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
287 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
288 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
289 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
290 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
293 class wxPyFileDropTarget
: public wxFileDropTarget
{
295 wxPyFileDropTarget() {}
297 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
299 DEC_PYCALLBACK__(OnLeave
);
300 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
301 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
302 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
303 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
308 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
309 const wxArrayString
& filenames
) {
311 bool doSave
= wxPyRestoreThread();
312 PyObject
* list
= PyList_New(0);
313 for (size_t i
=0; i
<filenames
.GetCount(); i
++) {
314 PyObject
* str
= PyString_FromString(filenames
[i
].c_str());
315 PyList_Append(list
, str
);
317 if (m_myInst
.findCallback("OnDropFiles"))
318 rval
= m_myInst
.callCallback(Py_BuildValue("(iiO)",x
,y
,list
));
320 wxPySaveThread(doSave
);
326 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
327 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
328 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
329 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
330 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
335 static PyObject
*_wrap_wxCustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
337 wxDataFormat
* _result
;
339 PyObject
* _obj0
= 0;
340 char *_kwnames
[] = { "id", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataFormat",_kwnames
,&_obj0
))
347 #if PYTHON_API_VERSION >= 1009
348 char* tmpPtr
; int tmpSize
;
349 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
350 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
353 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
355 _arg0
= new wxString(tmpPtr
, tmpSize
);
357 if (!PyString_Check(_obj0
)) {
358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
361 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
365 wxPy_BEGIN_ALLOW_THREADS
;
366 _result
= (wxDataFormat
*)wxCustomDataFormat(*_arg0
);
368 wxPy_END_ALLOW_THREADS
;
370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
371 _resultobj
= Py_BuildValue("s",_ptemp
);
374 _resultobj
= Py_None
;
383 static int _wrap_wxPyFormatInvalid_set(PyObject
*val
) {
385 PyErr_SetString(PyExc_TypeError
,"Variable wxFormatInvalid is read-only.");
389 static PyObject
*_wrap_wxPyFormatInvalid_get() {
393 SWIG_MakePtr(ptemp
,(char *) &wxPyFormatInvalid
,"_wxDataFormat_p");
394 pyobj
= PyString_FromString(ptemp
);
398 static int _wrap_wxPyTheClipboard_set(PyObject
*val
) {
400 PyErr_SetString(PyExc_TypeError
,"Variable wxTheClipboard is read-only.");
404 static PyObject
*_wrap_wxPyTheClipboard_get() {
408 SWIG_MakePtr(ptemp
, (char *) wxPyTheClipboard
,"_wxClipboard_p");
409 pyobj
= PyString_FromString(ptemp
);
413 static PyObject
*_wrap_wxIsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
414 PyObject
* _resultobj
;
417 char *_kwnames
[] = { "res", NULL
};
420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxIsDragResultOk",_kwnames
,&_arg0
))
423 wxPy_BEGIN_ALLOW_THREADS
;
424 _result
= (bool )wxIsDragResultOk(_arg0
);
426 wxPy_END_ALLOW_THREADS
;
427 } _resultobj
= Py_BuildValue("i",_result
);
431 #define new_wxDataFormat(_swigarg0) (new wxDataFormat(_swigarg0))
432 static PyObject
*_wrap_new_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
434 wxDataFormat
* _result
;
435 wxDataFormatId _arg0
;
436 char *_kwnames
[] = { "type", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDataFormat",_kwnames
,&_arg0
))
443 wxPy_BEGIN_ALLOW_THREADS
;
444 _result
= (wxDataFormat
*)new_wxDataFormat(_arg0
);
446 wxPy_END_ALLOW_THREADS
;
448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
449 _resultobj
= Py_BuildValue("s",_ptemp
);
452 _resultobj
= Py_None
;
457 #define delete_wxDataFormat(_swigobj) (delete _swigobj)
458 static PyObject
*_wrap_delete_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
460 wxDataFormat
* _arg0
;
461 PyObject
* _argo0
= 0;
462 char *_kwnames
[] = { "self", NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataFormat",_kwnames
,&_argo0
))
468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataFormat. Expected _wxDataFormat_p.");
475 wxPy_BEGIN_ALLOW_THREADS
;
476 delete_wxDataFormat(_arg0
);
478 wxPy_END_ALLOW_THREADS
;
479 } Py_INCREF(Py_None
);
480 _resultobj
= Py_None
;
484 #define wxDataFormat_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
485 static PyObject
*_wrap_wxDataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
486 PyObject
* _resultobj
;
487 wxDataFormat
* _arg0
;
488 wxDataFormatId _arg1
;
489 PyObject
* _argo0
= 0;
490 char *_kwnames
[] = { "self","format", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDataFormat_SetType",_kwnames
,&_argo0
,&_arg1
))
496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetType. Expected _wxDataFormat_p.");
503 wxPy_BEGIN_ALLOW_THREADS
;
504 wxDataFormat_SetType(_arg0
,_arg1
);
506 wxPy_END_ALLOW_THREADS
;
507 } Py_INCREF(Py_None
);
508 _resultobj
= Py_None
;
512 #define wxDataFormat_GetType(_swigobj) (_swigobj->GetType())
513 static PyObject
*_wrap_wxDataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
515 wxDataFormatId _result
;
516 wxDataFormat
* _arg0
;
517 PyObject
* _argo0
= 0;
518 char *_kwnames
[] = { "self", NULL
};
521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetType",_kwnames
,&_argo0
))
524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetType. Expected _wxDataFormat_p.");
531 wxPy_BEGIN_ALLOW_THREADS
;
532 _result
= (wxDataFormatId
)wxDataFormat_GetType(_arg0
);
534 wxPy_END_ALLOW_THREADS
;
535 } _resultobj
= Py_BuildValue("i",_result
);
539 #define wxDataFormat_GetId(_swigobj) (_swigobj->GetId())
540 static PyObject
*_wrap_wxDataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 wxDataFormat
* _arg0
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetId",_kwnames
,&_argo0
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetId. Expected _wxDataFormat_p.");
558 wxPy_BEGIN_ALLOW_THREADS
;
559 _result
= new wxString (wxDataFormat_GetId(_arg0
));
561 wxPy_END_ALLOW_THREADS
;
563 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
571 #define wxDataFormat_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
572 static PyObject
*_wrap_wxDataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 PyObject
* _resultobj
;
574 wxDataFormat
* _arg0
;
576 PyObject
* _argo0
= 0;
577 char *_kwnames
[] = { "self","format", NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDataFormat_SetId",_kwnames
,&_argo0
,&_arg1
))
583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetId. Expected _wxDataFormat_p.");
590 wxPy_BEGIN_ALLOW_THREADS
;
591 wxDataFormat_SetId(_arg0
,_arg1
);
593 wxPy_END_ALLOW_THREADS
;
594 } Py_INCREF(Py_None
);
595 _resultobj
= Py_None
;
599 #define delete_wxDataObject(_swigobj) (delete _swigobj)
600 static PyObject
*_wrap_delete_wxDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
601 PyObject
* _resultobj
;
602 wxDataObject
* _arg0
;
603 PyObject
* _argo0
= 0;
604 char *_kwnames
[] = { "self", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataObject",_kwnames
,&_argo0
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataObject. Expected _wxDataObject_p.");
617 wxPy_BEGIN_ALLOW_THREADS
;
618 delete_wxDataObject(_arg0
);
620 wxPy_END_ALLOW_THREADS
;
621 } Py_INCREF(Py_None
);
622 _resultobj
= Py_None
;
626 #define wxDataObject_GetPreferredFormat(_swigobj,_swigarg0) (_swigobj->GetPreferredFormat(_swigarg0))
627 static PyObject
*_wrap_wxDataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
629 wxDataFormat
* _result
;
630 wxDataObject
* _arg0
;
631 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
632 PyObject
* _argo0
= 0;
633 char *_kwnames
[] = { "self","dir", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetPreferredFormat",_kwnames
,&_argo0
,&_arg1
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetPreferredFormat. Expected _wxDataObject_p.");
647 wxPy_BEGIN_ALLOW_THREADS
;
648 _result
= new wxDataFormat (wxDataObject_GetPreferredFormat(_arg0
,_arg1
));
650 wxPy_END_ALLOW_THREADS
;
651 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDataFormat_p");
652 _resultobj
= Py_BuildValue("s",_ptemp
);
656 #define wxDataObject_GetFormatCount(_swigobj,_swigarg0) (_swigobj->GetFormatCount(_swigarg0))
657 static PyObject
*_wrap_wxDataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
660 wxDataObject
* _arg0
;
661 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self","dir", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetFormatCount",_kwnames
,&_argo0
,&_arg1
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetFormatCount. Expected _wxDataObject_p.");
676 wxPy_BEGIN_ALLOW_THREADS
;
677 _result
= (size_t )wxDataObject_GetFormatCount(_arg0
,_arg1
);
679 wxPy_END_ALLOW_THREADS
;
680 } _resultobj
= Py_BuildValue("i",_result
);
684 #define wxDataObject_GetAllFormats(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAllFormats(_swigarg0,_swigarg1))
685 static PyObject
*_wrap_wxDataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
687 wxDataObject
* _arg0
;
688 wxDataFormat
* _arg1
;
689 wxDataObject::Direction _arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
690 PyObject
* _argo0
= 0;
691 PyObject
* _argo1
= 0;
692 char *_kwnames
[] = { "self","formats","dir", NULL
};
695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObject_GetAllFormats",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetAllFormats. Expected _wxDataObject_p.");
705 if (_argo1
== Py_None
) { _arg1
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetAllFormats. Expected _wxDataFormat_p.");
712 wxPy_BEGIN_ALLOW_THREADS
;
713 wxDataObject_GetAllFormats(_arg0
,_arg1
,_arg2
);
715 wxPy_END_ALLOW_THREADS
;
716 } Py_INCREF(Py_None
);
717 _resultobj
= Py_None
;
721 #define wxDataObject_GetDataSize(_swigobj,_swigarg0) (_swigobj->GetDataSize(_swigarg0))
722 static PyObject
*_wrap_wxDataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
723 PyObject
* _resultobj
;
725 wxDataObject
* _arg0
;
726 wxDataFormat
* _arg1
;
727 PyObject
* _argo0
= 0;
728 PyObject
* _argo1
= 0;
729 char *_kwnames
[] = { "self","format", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_GetDataSize",_kwnames
,&_argo0
,&_argo1
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataSize. Expected _wxDataObject_p.");
742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataSize. Expected _wxDataFormat_p.");
749 wxPy_BEGIN_ALLOW_THREADS
;
750 _result
= (size_t )wxDataObject_GetDataSize(_arg0
,*_arg1
);
752 wxPy_END_ALLOW_THREADS
;
753 } _resultobj
= Py_BuildValue("i",_result
);
757 #define wxDataObject_GetDataHere(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDataHere(_swigarg0,_swigarg1))
758 static PyObject
*_wrap_wxDataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
761 wxDataObject
* _arg0
;
762 wxDataFormat
* _arg1
;
764 PyObject
* _argo0
= 0;
765 PyObject
* _argo1
= 0;
766 PyObject
* _argo2
= 0;
767 char *_kwnames
[] = { "self","format","buf", NULL
};
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDataObject_GetDataHere",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataHere. Expected _wxDataObject_p.");
780 if (_argo1
== Py_None
) { _arg1
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataHere. Expected _wxDataFormat_p.");
787 if (_argo2
== Py_None
) { _arg2
= NULL
; }
788 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDataObject_GetDataHere. Expected _void_p.");
794 wxPy_BEGIN_ALLOW_THREADS
;
795 _result
= (bool )wxDataObject_GetDataHere(_arg0
,*_arg1
,_arg2
);
797 wxPy_END_ALLOW_THREADS
;
798 } _resultobj
= Py_BuildValue("i",_result
);
802 #define wxDataObject_SetData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetData(_swigarg0,_swigarg1,_swigarg2))
803 static PyObject
*_wrap_wxDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 PyObject
* _resultobj
;
806 wxDataObject
* _arg0
;
807 wxDataFormat
* _arg1
;
810 PyObject
* _argo0
= 0;
811 PyObject
* _argo1
= 0;
812 PyObject
* _argo3
= 0;
813 char *_kwnames
[] = { "self","format","len","buf", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxDataObject_SetData",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_SetData. Expected _wxDataObject_p.");
826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_SetData. Expected _wxDataFormat_p.");
833 if (_argo3
== Py_None
) { _arg3
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,(char *) 0 )) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDataObject_SetData. Expected _void_p.");
840 wxPy_BEGIN_ALLOW_THREADS
;
841 _result
= (bool )wxDataObject_SetData(_arg0
,*_arg1
,_arg2
,_arg3
);
843 wxPy_END_ALLOW_THREADS
;
844 } _resultobj
= Py_BuildValue("i",_result
);
848 #define wxDataObject_IsSupportedFormat(_swigobj,_swigarg0) (_swigobj->IsSupportedFormat(_swigarg0))
849 static PyObject
*_wrap_wxDataObject_IsSupportedFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
850 PyObject
* _resultobj
;
852 wxDataObject
* _arg0
;
853 wxDataFormat
* _arg1
;
854 PyObject
* _argo0
= 0;
855 PyObject
* _argo1
= 0;
856 char *_kwnames
[] = { "self","format", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_IsSupportedFormat",_kwnames
,&_argo0
,&_argo1
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_IsSupportedFormat. Expected _wxDataObject_p.");
869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_IsSupportedFormat. Expected _wxDataFormat_p.");
876 wxPy_BEGIN_ALLOW_THREADS
;
877 _result
= (bool )wxDataObject_IsSupportedFormat(_arg0
,*_arg1
);
879 wxPy_END_ALLOW_THREADS
;
880 } _resultobj
= Py_BuildValue("i",_result
);
884 static void *SwigwxDataObjectSimpleTowxDataObject(void *ptr
) {
885 wxDataObjectSimple
*src
;
887 src
= (wxDataObjectSimple
*) ptr
;
888 dest
= (wxDataObject
*) src
;
889 return (void *) dest
;
892 #define new_wxDataObjectSimple(_swigarg0) (new wxDataObjectSimple(_swigarg0))
893 static PyObject
*_wrap_new_wxDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
895 wxDataObjectSimple
* _result
;
896 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
897 PyObject
* _argo0
= 0;
898 char *_kwnames
[] = { "format", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxDataObjectSimple",_kwnames
,&_argo0
))
905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDataObjectSimple. Expected _wxDataFormat_p.");
912 wxPy_BEGIN_ALLOW_THREADS
;
913 _result
= (wxDataObjectSimple
*)new_wxDataObjectSimple(*_arg0
);
915 wxPy_END_ALLOW_THREADS
;
917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectSimple_p");
918 _resultobj
= Py_BuildValue("s",_ptemp
);
921 _resultobj
= Py_None
;
926 #define wxDataObjectSimple_GetFormat(_swigobj) (_swigobj->GetFormat())
927 static PyObject
*_wrap_wxDataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
929 wxDataFormat
* _result
;
930 wxDataObjectSimple
* _arg0
;
931 PyObject
* _argo0
= 0;
932 char *_kwnames
[] = { "self", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataObjectSimple_GetFormat",_kwnames
,&_argo0
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_GetFormat. Expected _wxDataObjectSimple_p.");
946 wxPy_BEGIN_ALLOW_THREADS
;
947 const wxDataFormat
& _result_ref
= wxDataObjectSimple_GetFormat(_arg0
);
948 _result
= (wxDataFormat
*) &_result_ref
;
950 wxPy_END_ALLOW_THREADS
;
952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
953 _resultobj
= Py_BuildValue("s",_ptemp
);
956 _resultobj
= Py_None
;
961 #define wxDataObjectSimple_SetFormat(_swigobj,_swigarg0) (_swigobj->SetFormat(_swigarg0))
962 static PyObject
*_wrap_wxDataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
964 wxDataObjectSimple
* _arg0
;
965 wxDataFormat
* _arg1
;
966 PyObject
* _argo0
= 0;
967 PyObject
* _argo1
= 0;
968 char *_kwnames
[] = { "self","format", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObjectSimple_SetFormat",_kwnames
,&_argo0
,&_argo1
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_SetFormat. Expected _wxDataObjectSimple_p.");
981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectSimple_SetFormat. Expected _wxDataFormat_p.");
988 wxPy_BEGIN_ALLOW_THREADS
;
989 wxDataObjectSimple_SetFormat(_arg0
,*_arg1
);
991 wxPy_END_ALLOW_THREADS
;
992 } Py_INCREF(Py_None
);
993 _resultobj
= Py_None
;
997 static void *SwigwxPyDataObjectSimpleTowxDataObjectSimple(void *ptr
) {
998 wxPyDataObjectSimple
*src
;
999 wxDataObjectSimple
*dest
;
1000 src
= (wxPyDataObjectSimple
*) ptr
;
1001 dest
= (wxDataObjectSimple
*) src
;
1002 return (void *) dest
;
1005 static void *SwigwxPyDataObjectSimpleTowxDataObject(void *ptr
) {
1006 wxPyDataObjectSimple
*src
;
1008 src
= (wxPyDataObjectSimple
*) ptr
;
1009 dest
= (wxDataObject
*) src
;
1010 return (void *) dest
;
1013 #define new_wxPyDataObjectSimple(_swigarg0) (new wxPyDataObjectSimple(_swigarg0))
1014 static PyObject
*_wrap_new_wxPyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1016 wxPyDataObjectSimple
* _result
;
1017 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1018 PyObject
* _argo0
= 0;
1019 char *_kwnames
[] = { "format", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDataObjectSimple",_kwnames
,&_argo0
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDataObjectSimple. Expected _wxDataFormat_p.");
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 _result
= (wxPyDataObjectSimple
*)new_wxPyDataObjectSimple(*_arg0
);
1036 wxPy_END_ALLOW_THREADS
;
1038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDataObjectSimple_p");
1039 _resultobj
= Py_BuildValue("s",_ptemp
);
1042 _resultobj
= Py_None
;
1047 #define wxPyDataObjectSimple__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1048 static PyObject
*_wrap_wxPyDataObjectSimple__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1050 wxPyDataObjectSimple
* _arg0
;
1053 PyObject
* _argo0
= 0;
1054 PyObject
* _obj1
= 0;
1055 PyObject
* _obj2
= 0;
1056 char *_kwnames
[] = { "self","self","_class", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDataObjectSimple__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDataObjectSimple_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDataObjectSimple__setSelf. Expected _wxPyDataObjectSimple_p.");
1075 wxPy_BEGIN_ALLOW_THREADS
;
1076 wxPyDataObjectSimple__setSelf(_arg0
,_arg1
,_arg2
);
1078 wxPy_END_ALLOW_THREADS
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 static void *SwigwxDataObjectCompositeTowxDataObject(void *ptr
) {
1085 wxDataObjectComposite
*src
;
1087 src
= (wxDataObjectComposite
*) ptr
;
1088 dest
= (wxDataObject
*) src
;
1089 return (void *) dest
;
1092 #define new_wxDataObjectComposite() (new wxDataObjectComposite())
1093 static PyObject
*_wrap_new_wxDataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
* _resultobj
;
1095 wxDataObjectComposite
* _result
;
1096 char *_kwnames
[] = { NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDataObjectComposite",_kwnames
))
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 _result
= (wxDataObjectComposite
*)new_wxDataObjectComposite();
1106 wxPy_END_ALLOW_THREADS
;
1108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectComposite_p");
1109 _resultobj
= Py_BuildValue("s",_ptemp
);
1112 _resultobj
= Py_None
;
1117 #define wxDataObjectComposite_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1118 static PyObject
*_wrap_wxDataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1120 wxDataObjectComposite
* _arg0
;
1121 wxDataObjectSimple
* _arg1
;
1122 int _arg2
= (int ) FALSE
;
1123 PyObject
* _argo0
= 0;
1124 PyObject
* _argo1
= 0;
1125 char *_kwnames
[] = { "self","dataObject","preferred", NULL
};
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObjectComposite_Add",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectComposite_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectComposite_Add. Expected _wxDataObjectComposite_p.");
1138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObjectSimple_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectComposite_Add. Expected _wxDataObjectSimple_p.");
1145 wxPy_BEGIN_ALLOW_THREADS
;
1146 wxDataObjectComposite_Add(_arg0
,_arg1
,_arg2
);
1148 wxPy_END_ALLOW_THREADS
;
1149 } Py_INCREF(Py_None
);
1150 _resultobj
= Py_None
;
1154 static void *SwigwxTextDataObjectTowxDataObjectSimple(void *ptr
) {
1155 wxTextDataObject
*src
;
1156 wxDataObjectSimple
*dest
;
1157 src
= (wxTextDataObject
*) ptr
;
1158 dest
= (wxDataObjectSimple
*) src
;
1159 return (void *) dest
;
1162 static void *SwigwxTextDataObjectTowxDataObject(void *ptr
) {
1163 wxTextDataObject
*src
;
1165 src
= (wxTextDataObject
*) ptr
;
1166 dest
= (wxDataObject
*) src
;
1167 return (void *) dest
;
1170 #define new_wxTextDataObject(_swigarg0) (new wxTextDataObject(_swigarg0))
1171 static PyObject
*_wrap_new_wxTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
* _resultobj
;
1173 wxTextDataObject
* _result
;
1174 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1175 PyObject
* _obj0
= 0;
1176 char *_kwnames
[] = { "text", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTextDataObject",_kwnames
,&_obj0
))
1184 #if PYTHON_API_VERSION >= 1009
1185 char* tmpPtr
; int tmpSize
;
1186 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1187 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1190 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1192 _arg0
= new wxString(tmpPtr
, tmpSize
);
1194 if (!PyString_Check(_obj0
)) {
1195 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1198 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= (wxTextDataObject
*)new_wxTextDataObject(*_arg0
);
1205 wxPy_END_ALLOW_THREADS
;
1207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextDataObject_p");
1208 _resultobj
= Py_BuildValue("s",_ptemp
);
1211 _resultobj
= Py_None
;
1220 #define wxTextDataObject_GetTextLength(_swigobj) (_swigobj->GetTextLength())
1221 static PyObject
*_wrap_wxTextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1224 wxTextDataObject
* _arg0
;
1225 PyObject
* _argo0
= 0;
1226 char *_kwnames
[] = { "self", NULL
};
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetTextLength",_kwnames
,&_argo0
))
1232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetTextLength. Expected _wxTextDataObject_p.");
1239 wxPy_BEGIN_ALLOW_THREADS
;
1240 _result
= (size_t )wxTextDataObject_GetTextLength(_arg0
);
1242 wxPy_END_ALLOW_THREADS
;
1243 } _resultobj
= Py_BuildValue("i",_result
);
1247 #define wxTextDataObject_GetText(_swigobj) (_swigobj->GetText())
1248 static PyObject
*_wrap_wxTextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
* _resultobj
;
1251 wxTextDataObject
* _arg0
;
1252 PyObject
* _argo0
= 0;
1253 char *_kwnames
[] = { "self", NULL
};
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetText",_kwnames
,&_argo0
))
1259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetText. Expected _wxTextDataObject_p.");
1266 wxPy_BEGIN_ALLOW_THREADS
;
1267 _result
= new wxString (wxTextDataObject_GetText(_arg0
));
1269 wxPy_END_ALLOW_THREADS
;
1271 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1279 #define wxTextDataObject_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
1280 static PyObject
*_wrap_wxTextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
* _resultobj
;
1282 wxTextDataObject
* _arg0
;
1284 PyObject
* _argo0
= 0;
1285 PyObject
* _obj1
= 0;
1286 char *_kwnames
[] = { "self","text", NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDataObject_SetText",_kwnames
,&_argo0
,&_obj1
))
1292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_SetText. Expected _wxTextDataObject_p.");
1299 #if PYTHON_API_VERSION >= 1009
1300 char* tmpPtr
; int tmpSize
;
1301 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1302 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1305 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1307 _arg1
= new wxString(tmpPtr
, tmpSize
);
1309 if (!PyString_Check(_obj1
)) {
1310 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1313 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 wxTextDataObject_SetText(_arg0
,*_arg1
);
1320 wxPy_END_ALLOW_THREADS
;
1321 } Py_INCREF(Py_None
);
1322 _resultobj
= Py_None
;
1330 static void *SwigwxPyTextDataObjectTowxTextDataObject(void *ptr
) {
1331 wxPyTextDataObject
*src
;
1332 wxTextDataObject
*dest
;
1333 src
= (wxPyTextDataObject
*) ptr
;
1334 dest
= (wxTextDataObject
*) src
;
1335 return (void *) dest
;
1338 static void *SwigwxPyTextDataObjectTowxDataObjectSimple(void *ptr
) {
1339 wxPyTextDataObject
*src
;
1340 wxDataObjectSimple
*dest
;
1341 src
= (wxPyTextDataObject
*) ptr
;
1342 dest
= (wxDataObjectSimple
*) src
;
1343 return (void *) dest
;
1346 static void *SwigwxPyTextDataObjectTowxDataObject(void *ptr
) {
1347 wxPyTextDataObject
*src
;
1349 src
= (wxPyTextDataObject
*) ptr
;
1350 dest
= (wxDataObject
*) src
;
1351 return (void *) dest
;
1354 #define new_wxPyTextDataObject(_swigarg0) (new wxPyTextDataObject(_swigarg0))
1355 static PyObject
*_wrap_new_wxPyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxPyTextDataObject
* _result
;
1358 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1359 PyObject
* _obj0
= 0;
1360 char *_kwnames
[] = { "text", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyTextDataObject",_kwnames
,&_obj0
))
1368 #if PYTHON_API_VERSION >= 1009
1369 char* tmpPtr
; int tmpSize
;
1370 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1371 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1374 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1376 _arg0
= new wxString(tmpPtr
, tmpSize
);
1378 if (!PyString_Check(_obj0
)) {
1379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1382 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 _result
= (wxPyTextDataObject
*)new_wxPyTextDataObject(*_arg0
);
1389 wxPy_END_ALLOW_THREADS
;
1391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDataObject_p");
1392 _resultobj
= Py_BuildValue("s",_ptemp
);
1395 _resultobj
= Py_None
;
1404 #define wxPyTextDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1405 static PyObject
*_wrap_wxPyTextDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
* _resultobj
;
1407 wxPyTextDataObject
* _arg0
;
1410 PyObject
* _argo0
= 0;
1411 PyObject
* _obj1
= 0;
1412 PyObject
* _obj2
= 0;
1413 char *_kwnames
[] = { "self","self","_class", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTextDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDataObject_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextDataObject__setSelf. Expected _wxPyTextDataObject_p.");
1432 wxPy_BEGIN_ALLOW_THREADS
;
1433 wxPyTextDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1435 wxPy_END_ALLOW_THREADS
;
1436 } Py_INCREF(Py_None
);
1437 _resultobj
= Py_None
;
1441 static void *SwigwxBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1442 wxBitmapDataObject
*src
;
1443 wxDataObjectSimple
*dest
;
1444 src
= (wxBitmapDataObject
*) ptr
;
1445 dest
= (wxDataObjectSimple
*) src
;
1446 return (void *) dest
;
1449 static void *SwigwxBitmapDataObjectTowxDataObject(void *ptr
) {
1450 wxBitmapDataObject
*src
;
1452 src
= (wxBitmapDataObject
*) ptr
;
1453 dest
= (wxDataObject
*) src
;
1454 return (void *) dest
;
1457 #define new_wxBitmapDataObject(_swigarg0) (new wxBitmapDataObject(_swigarg0))
1458 static PyObject
*_wrap_new_wxBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1460 wxBitmapDataObject
* _result
;
1461 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1462 PyObject
* _argo0
= 0;
1463 char *_kwnames
[] = { "bitmap", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBitmapDataObject",_kwnames
,&_argo0
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapDataObject. Expected _wxBitmap_p.");
1477 wxPy_BEGIN_ALLOW_THREADS
;
1478 _result
= (wxBitmapDataObject
*)new_wxBitmapDataObject(*_arg0
);
1480 wxPy_END_ALLOW_THREADS
;
1482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapDataObject_p");
1483 _resultobj
= Py_BuildValue("s",_ptemp
);
1486 _resultobj
= Py_None
;
1491 #define wxBitmapDataObject_GetBitmap(_swigobj) (_swigobj->GetBitmap())
1492 static PyObject
*_wrap_wxBitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1495 wxBitmapDataObject
* _arg0
;
1496 PyObject
* _argo0
= 0;
1497 char *_kwnames
[] = { "self", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapDataObject_GetBitmap",_kwnames
,&_argo0
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_GetBitmap. Expected _wxBitmapDataObject_p.");
1511 wxPy_BEGIN_ALLOW_THREADS
;
1512 _result
= new wxBitmap (wxBitmapDataObject_GetBitmap(_arg0
));
1514 wxPy_END_ALLOW_THREADS
;
1515 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1516 _resultobj
= Py_BuildValue("s",_ptemp
);
1520 #define wxBitmapDataObject_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
1521 static PyObject
*_wrap_wxBitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1523 wxBitmapDataObject
* _arg0
;
1525 PyObject
* _argo0
= 0;
1526 PyObject
* _argo1
= 0;
1527 char *_kwnames
[] = { "self","bitmap", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapDataObject_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
1533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_SetBitmap. Expected _wxBitmapDataObject_p.");
1540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapDataObject_SetBitmap. Expected _wxBitmap_p.");
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 wxBitmapDataObject_SetBitmap(_arg0
,*_arg1
);
1550 wxPy_END_ALLOW_THREADS
;
1551 } Py_INCREF(Py_None
);
1552 _resultobj
= Py_None
;
1556 static void *SwigwxPyBitmapDataObjectTowxBitmapDataObject(void *ptr
) {
1557 wxPyBitmapDataObject
*src
;
1558 wxBitmapDataObject
*dest
;
1559 src
= (wxPyBitmapDataObject
*) ptr
;
1560 dest
= (wxBitmapDataObject
*) src
;
1561 return (void *) dest
;
1564 static void *SwigwxPyBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1565 wxPyBitmapDataObject
*src
;
1566 wxDataObjectSimple
*dest
;
1567 src
= (wxPyBitmapDataObject
*) ptr
;
1568 dest
= (wxDataObjectSimple
*) src
;
1569 return (void *) dest
;
1572 static void *SwigwxPyBitmapDataObjectTowxDataObject(void *ptr
) {
1573 wxPyBitmapDataObject
*src
;
1575 src
= (wxPyBitmapDataObject
*) ptr
;
1576 dest
= (wxDataObject
*) src
;
1577 return (void *) dest
;
1580 #define new_wxPyBitmapDataObject(_swigarg0) (new wxPyBitmapDataObject(_swigarg0))
1581 static PyObject
*_wrap_new_wxPyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1583 wxPyBitmapDataObject
* _result
;
1584 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "bitmap", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyBitmapDataObject",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyBitmapDataObject. Expected _wxBitmap_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= (wxPyBitmapDataObject
*)new_wxPyBitmapDataObject(*_arg0
);
1603 wxPy_END_ALLOW_THREADS
;
1605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyBitmapDataObject_p");
1606 _resultobj
= Py_BuildValue("s",_ptemp
);
1609 _resultobj
= Py_None
;
1614 #define wxPyBitmapDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1615 static PyObject
*_wrap_wxPyBitmapDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1617 wxPyBitmapDataObject
* _arg0
;
1620 PyObject
* _argo0
= 0;
1621 PyObject
* _obj1
= 0;
1622 PyObject
* _obj2
= 0;
1623 char *_kwnames
[] = { "self","self","_class", NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyBitmapDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyBitmapDataObject_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyBitmapDataObject__setSelf. Expected _wxPyBitmapDataObject_p.");
1642 wxPy_BEGIN_ALLOW_THREADS
;
1643 wxPyBitmapDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1645 wxPy_END_ALLOW_THREADS
;
1646 } Py_INCREF(Py_None
);
1647 _resultobj
= Py_None
;
1651 static void *SwigwxFileDataObjectTowxDataObjectSimple(void *ptr
) {
1652 wxFileDataObject
*src
;
1653 wxDataObjectSimple
*dest
;
1654 src
= (wxFileDataObject
*) ptr
;
1655 dest
= (wxDataObjectSimple
*) src
;
1656 return (void *) dest
;
1659 static void *SwigwxFileDataObjectTowxDataObject(void *ptr
) {
1660 wxFileDataObject
*src
;
1662 src
= (wxFileDataObject
*) ptr
;
1663 dest
= (wxDataObject
*) src
;
1664 return (void *) dest
;
1667 #define new_wxFileDataObject() (new wxFileDataObject())
1668 static PyObject
*_wrap_new_wxFileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1670 wxFileDataObject
* _result
;
1671 char *_kwnames
[] = { NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDataObject",_kwnames
))
1678 wxPy_BEGIN_ALLOW_THREADS
;
1679 _result
= (wxFileDataObject
*)new_wxFileDataObject();
1681 wxPy_END_ALLOW_THREADS
;
1683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDataObject_p");
1684 _resultobj
= Py_BuildValue("s",_ptemp
);
1687 _resultobj
= Py_None
;
1692 static PyObject
* wxFileDataObject_GetFilenames(wxFileDataObject
*self
) {
1693 const wxArrayString
& strings
= self
->GetFilenames();
1694 PyObject
* list
= PyList_New(0);
1695 for (size_t x
=0; x
<strings
.GetCount(); x
++)
1696 PyList_Append(list
, PyString_FromString(strings
[x
]));
1699 static PyObject
*_wrap_wxFileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1702 wxFileDataObject
* _arg0
;
1703 PyObject
* _argo0
= 0;
1704 char *_kwnames
[] = { "self", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDataObject_GetFilenames",_kwnames
,&_argo0
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_GetFilenames. Expected _wxFileDataObject_p.");
1717 wxPy_BEGIN_ALLOW_THREADS
;
1718 _result
= (PyObject
*)wxFileDataObject_GetFilenames(_arg0
);
1720 wxPy_END_ALLOW_THREADS
;
1722 _resultobj
= _result
;
1727 #define wxFileDataObject_AddFile(_swigobj,_swigarg0) (_swigobj->AddFile(_swigarg0))
1728 static PyObject
*_wrap_wxFileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1730 wxFileDataObject
* _arg0
;
1732 PyObject
* _argo0
= 0;
1733 PyObject
* _obj1
= 0;
1734 char *_kwnames
[] = { "self","filename", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDataObject_AddFile",_kwnames
,&_argo0
,&_obj1
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_AddFile. Expected _wxFileDataObject_p.");
1747 #if PYTHON_API_VERSION >= 1009
1748 char* tmpPtr
; int tmpSize
;
1749 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1750 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1753 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1755 _arg1
= new wxString(tmpPtr
, tmpSize
);
1757 if (!PyString_Check(_obj1
)) {
1758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1761 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1765 wxPy_BEGIN_ALLOW_THREADS
;
1766 wxFileDataObject_AddFile(_arg0
,*_arg1
);
1768 wxPy_END_ALLOW_THREADS
;
1769 } Py_INCREF(Py_None
);
1770 _resultobj
= Py_None
;
1778 static void *SwigwxCustomDataObjectTowxDataObjectSimple(void *ptr
) {
1779 wxCustomDataObject
*src
;
1780 wxDataObjectSimple
*dest
;
1781 src
= (wxCustomDataObject
*) ptr
;
1782 dest
= (wxDataObjectSimple
*) src
;
1783 return (void *) dest
;
1786 static void *SwigwxCustomDataObjectTowxDataObject(void *ptr
) {
1787 wxCustomDataObject
*src
;
1789 src
= (wxCustomDataObject
*) ptr
;
1790 dest
= (wxDataObject
*) src
;
1791 return (void *) dest
;
1794 #define new_wxCustomDataObject(_swigarg0) (new wxCustomDataObject(_swigarg0))
1795 static PyObject
*_wrap_new_wxCustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1797 wxCustomDataObject
* _result
;
1798 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1799 PyObject
* _argo0
= 0;
1800 char *_kwnames
[] = { "format", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxCustomDataObject",_kwnames
,&_argo0
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCustomDataObject. Expected _wxDataFormat_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 _result
= (wxCustomDataObject
*)new_wxCustomDataObject(*_arg0
);
1817 wxPy_END_ALLOW_THREADS
;
1819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCustomDataObject_p");
1820 _resultobj
= Py_BuildValue("s",_ptemp
);
1823 _resultobj
= Py_None
;
1828 static void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
* data
) {
1829 if (PyString_Check(data
)) {
1830 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1833 static PyObject
*_wrap_wxCustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1835 wxCustomDataObject
* _arg0
;
1837 PyObject
* _argo0
= 0;
1838 PyObject
* _obj1
= 0;
1839 char *_kwnames
[] = { "self","data", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_TakeData",_kwnames
,&_argo0
,&_obj1
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_TakeData. Expected _wxCustomDataObject_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 wxCustomDataObject_TakeData(_arg0
,_arg1
);
1858 wxPy_END_ALLOW_THREADS
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
* data
) {
1865 if (PyString_Check(data
)) {
1866 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1870 static PyObject
*_wrap_wxCustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1873 wxCustomDataObject
* _arg0
;
1875 PyObject
* _argo0
= 0;
1876 PyObject
* _obj1
= 0;
1877 char *_kwnames
[] = { "self","data", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_SetData",_kwnames
,&_argo0
,&_obj1
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_SetData. Expected _wxCustomDataObject_p.");
1893 wxPy_BEGIN_ALLOW_THREADS
;
1894 _result
= (bool )wxCustomDataObject_SetData(_arg0
,_arg1
);
1896 wxPy_END_ALLOW_THREADS
;
1897 } _resultobj
= Py_BuildValue("i",_result
);
1901 #define wxCustomDataObject_GetSize(_swigobj) (_swigobj->GetSize())
1902 static PyObject
*_wrap_wxCustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1905 wxCustomDataObject
* _arg0
;
1906 PyObject
* _argo0
= 0;
1907 char *_kwnames
[] = { "self", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetSize",_kwnames
,&_argo0
))
1913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetSize. Expected _wxCustomDataObject_p.");
1920 wxPy_BEGIN_ALLOW_THREADS
;
1921 _result
= (size_t )wxCustomDataObject_GetSize(_arg0
);
1923 wxPy_END_ALLOW_THREADS
;
1924 } _resultobj
= Py_BuildValue("i",_result
);
1928 static PyObject
* wxCustomDataObject_GetData(wxCustomDataObject
*self
) {
1929 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1931 static PyObject
*_wrap_wxCustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1934 wxCustomDataObject
* _arg0
;
1935 PyObject
* _argo0
= 0;
1936 char *_kwnames
[] = { "self", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetData",_kwnames
,&_argo0
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetData. Expected _wxCustomDataObject_p.");
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 _result
= (PyObject
*)wxCustomDataObject_GetData(_arg0
);
1952 wxPy_END_ALLOW_THREADS
;
1954 _resultobj
= _result
;
1959 #define new_wxClipboard() (new wxClipboard())
1960 static PyObject
*_wrap_new_wxClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1962 wxClipboard
* _result
;
1963 char *_kwnames
[] = { NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxClipboard",_kwnames
))
1970 wxPy_BEGIN_ALLOW_THREADS
;
1971 _result
= (wxClipboard
*)new_wxClipboard();
1973 wxPy_END_ALLOW_THREADS
;
1975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClipboard_p");
1976 _resultobj
= Py_BuildValue("s",_ptemp
);
1979 _resultobj
= Py_None
;
1984 #define wxClipboard_Open(_swigobj) (_swigobj->Open())
1985 static PyObject
*_wrap_wxClipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1988 wxClipboard
* _arg0
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Open",_kwnames
,&_argo0
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Open. Expected _wxClipboard_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (bool )wxClipboard_Open(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 } _resultobj
= Py_BuildValue("i",_result
);
2011 #define wxClipboard_Close(_swigobj) (_swigobj->Close())
2012 static PyObject
*_wrap_wxClipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2014 wxClipboard
* _arg0
;
2015 PyObject
* _argo0
= 0;
2016 char *_kwnames
[] = { "self", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Close",_kwnames
,&_argo0
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Close. Expected _wxClipboard_p.");
2029 wxPy_BEGIN_ALLOW_THREADS
;
2030 wxClipboard_Close(_arg0
);
2032 wxPy_END_ALLOW_THREADS
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 #define wxClipboard_IsOpened(_swigobj) (_swigobj->IsOpened())
2039 static PyObject
*_wrap_wxClipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2042 wxClipboard
* _arg0
;
2043 PyObject
* _argo0
= 0;
2044 char *_kwnames
[] = { "self", NULL
};
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_IsOpened",_kwnames
,&_argo0
))
2050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsOpened. Expected _wxClipboard_p.");
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 _result
= (bool )wxClipboard_IsOpened(_arg0
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } _resultobj
= Py_BuildValue("i",_result
);
2065 #define wxClipboard_AddData(_swigobj,_swigarg0) (_swigobj->AddData(_swigarg0))
2066 static PyObject
*_wrap_wxClipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2069 wxClipboard
* _arg0
;
2070 wxDataObject
* _arg1
;
2071 PyObject
* _argo0
= 0;
2072 PyObject
* _argo1
= 0;
2073 char *_kwnames
[] = { "self","data", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_AddData",_kwnames
,&_argo0
,&_argo1
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_AddData. Expected _wxClipboard_p.");
2086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_AddData. Expected _wxDataObject_p.");
2093 wxPy_BEGIN_ALLOW_THREADS
;
2094 _result
= (bool )wxClipboard_AddData(_arg0
,_arg1
);
2096 wxPy_END_ALLOW_THREADS
;
2097 } _resultobj
= Py_BuildValue("i",_result
);
2101 #define wxClipboard_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2102 static PyObject
*_wrap_wxClipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 wxClipboard
* _arg0
;
2106 wxDataObject
* _arg1
;
2107 PyObject
* _argo0
= 0;
2108 PyObject
* _argo1
= 0;
2109 char *_kwnames
[] = { "self","data", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_SetData",_kwnames
,&_argo0
,&_argo1
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_SetData. Expected _wxClipboard_p.");
2122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_SetData. Expected _wxDataObject_p.");
2129 wxPy_BEGIN_ALLOW_THREADS
;
2130 _result
= (bool )wxClipboard_SetData(_arg0
,_arg1
);
2132 wxPy_END_ALLOW_THREADS
;
2133 } _resultobj
= Py_BuildValue("i",_result
);
2137 #define wxClipboard_IsSupported(_swigobj,_swigarg0) (_swigobj->IsSupported(_swigarg0))
2138 static PyObject
*_wrap_wxClipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 wxClipboard
* _arg0
;
2142 wxDataFormat
* _arg1
;
2143 PyObject
* _argo0
= 0;
2144 PyObject
* _argo1
= 0;
2145 char *_kwnames
[] = { "self","format", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_IsSupported",_kwnames
,&_argo0
,&_argo1
))
2151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsSupported. Expected _wxClipboard_p.");
2158 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2159 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_IsSupported. Expected _wxDataFormat_p.");
2165 wxPy_BEGIN_ALLOW_THREADS
;
2166 _result
= (bool )wxClipboard_IsSupported(_arg0
,*_arg1
);
2168 wxPy_END_ALLOW_THREADS
;
2169 } _resultobj
= Py_BuildValue("i",_result
);
2173 #define wxClipboard_GetData(_swigobj,_swigarg0) (_swigobj->GetData(_swigarg0))
2174 static PyObject
*_wrap_wxClipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
* _resultobj
;
2177 wxClipboard
* _arg0
;
2178 wxDataObject
* _arg1
;
2179 PyObject
* _argo0
= 0;
2180 PyObject
* _argo1
= 0;
2181 char *_kwnames
[] = { "self","data", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_GetData",_kwnames
,&_argo0
,&_argo1
))
2187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_GetData. Expected _wxClipboard_p.");
2194 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_GetData. Expected _wxDataObject_p.");
2201 wxPy_BEGIN_ALLOW_THREADS
;
2202 _result
= (bool )wxClipboard_GetData(_arg0
,*_arg1
);
2204 wxPy_END_ALLOW_THREADS
;
2205 } _resultobj
= Py_BuildValue("i",_result
);
2209 #define wxClipboard_Clear(_swigobj) (_swigobj->Clear())
2210 static PyObject
*_wrap_wxClipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2212 wxClipboard
* _arg0
;
2213 PyObject
* _argo0
= 0;
2214 char *_kwnames
[] = { "self", NULL
};
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Clear",_kwnames
,&_argo0
))
2220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Clear. Expected _wxClipboard_p.");
2227 wxPy_BEGIN_ALLOW_THREADS
;
2228 wxClipboard_Clear(_arg0
);
2230 wxPy_END_ALLOW_THREADS
;
2231 } Py_INCREF(Py_None
);
2232 _resultobj
= Py_None
;
2236 #define wxClipboard_Flush(_swigobj) (_swigobj->Flush())
2237 static PyObject
*_wrap_wxClipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2240 wxClipboard
* _arg0
;
2241 PyObject
* _argo0
= 0;
2242 char *_kwnames
[] = { "self", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Flush",_kwnames
,&_argo0
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Flush. Expected _wxClipboard_p.");
2255 wxPy_BEGIN_ALLOW_THREADS
;
2256 _result
= (bool )wxClipboard_Flush(_arg0
);
2258 wxPy_END_ALLOW_THREADS
;
2259 } _resultobj
= Py_BuildValue("i",_result
);
2263 #define wxClipboard_UsePrimarySelection(_swigobj,_swigarg0) (_swigobj->UsePrimarySelection(_swigarg0))
2264 static PyObject
*_wrap_wxClipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2266 wxClipboard
* _arg0
;
2267 int _arg1
= (int ) FALSE
;
2268 PyObject
* _argo0
= 0;
2269 char *_kwnames
[] = { "self","primary", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxClipboard_UsePrimarySelection",_kwnames
,&_argo0
,&_arg1
))
2275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_UsePrimarySelection. Expected _wxClipboard_p.");
2282 wxPy_BEGIN_ALLOW_THREADS
;
2283 wxClipboard_UsePrimarySelection(_arg0
,_arg1
);
2285 wxPy_END_ALLOW_THREADS
;
2286 } Py_INCREF(Py_None
);
2287 _resultobj
= Py_None
;
2291 #define new_wxDropSource(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPyDropSource(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2292 static PyObject
*_wrap_new_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2294 wxPyDropSource
* _result
;
2295 wxWindow
* _arg0
= (wxWindow
*) NULL
;
2296 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
2297 wxCursor
* _arg2
= (wxCursor
*) &wxNullCursor
;
2298 wxCursor
* _arg3
= (wxCursor
*) &wxNullCursor
;
2299 PyObject
* _argo0
= 0;
2300 PyObject
* _argo1
= 0;
2301 PyObject
* _argo2
= 0;
2302 PyObject
* _argo3
= 0;
2303 char *_kwnames
[] = { "win","cursorCopy","cursorMove","cursorStop", NULL
};
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOO:new_wxDropSource",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
))
2310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDropSource. Expected _wxWindow_p.");
2317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDropSource. Expected _wxCursor_p.");
2324 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxDropSource. Expected _wxCursor_p.");
2331 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2332 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxCursor_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDropSource. Expected _wxCursor_p.");
2338 wxPy_BEGIN_ALLOW_THREADS
;
2339 _result
= (wxPyDropSource
*)new_wxDropSource(_arg0
,*_arg1
,*_arg2
,*_arg3
);
2341 wxPy_END_ALLOW_THREADS
;
2343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropSource_p");
2344 _resultobj
= Py_BuildValue("s",_ptemp
);
2347 _resultobj
= Py_None
;
2352 #define wxDropSource__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
2353 static PyObject
*_wrap_wxDropSource__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
* _resultobj
;
2355 wxPyDropSource
* _arg0
;
2359 PyObject
* _argo0
= 0;
2360 PyObject
* _obj1
= 0;
2361 PyObject
* _obj2
= 0;
2362 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxDropSource__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
2368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource__setSelf. Expected _wxPyDropSource_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 wxDropSource__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2390 #define delete_wxPyDropSource(_swigobj) (delete _swigobj)
2391 static PyObject
*_wrap_delete_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2393 wxPyDropSource
* _arg0
;
2394 PyObject
* _argo0
= 0;
2395 char *_kwnames
[] = { "self", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDropSource",_kwnames
,&_argo0
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDropSource. Expected _wxPyDropSource_p.");
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 delete_wxPyDropSource(_arg0
);
2411 wxPy_END_ALLOW_THREADS
;
2412 } Py_INCREF(Py_None
);
2413 _resultobj
= Py_None
;
2417 #define wxDropSource_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2418 static PyObject
*_wrap_wxDropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2420 wxPyDropSource
* _arg0
;
2421 wxDataObject
* _arg1
;
2422 PyObject
* _argo0
= 0;
2423 PyObject
* _argo1
= 0;
2424 char *_kwnames
[] = { "self","data", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource_SetData",_kwnames
,&_argo0
,&_argo1
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetData. Expected _wxPyDropSource_p.");
2437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDropSource_SetData. Expected _wxDataObject_p.");
2444 wxPy_BEGIN_ALLOW_THREADS
;
2445 wxDropSource_SetData(_arg0
,*_arg1
);
2447 wxPy_END_ALLOW_THREADS
;
2448 } Py_INCREF(Py_None
);
2449 _resultobj
= Py_None
;
2453 #define wxDropSource_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2454 static PyObject
*_wrap_wxDropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
* _resultobj
;
2456 wxDataObject
* _result
;
2457 wxPyDropSource
* _arg0
;
2458 PyObject
* _argo0
= 0;
2459 char *_kwnames
[] = { "self", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropSource_GetDataObject",_kwnames
,&_argo0
))
2466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_GetDataObject. Expected _wxPyDropSource_p.");
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 _result
= (wxDataObject
*)wxDropSource_GetDataObject(_arg0
);
2476 wxPy_END_ALLOW_THREADS
;
2478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2479 _resultobj
= Py_BuildValue("s",_ptemp
);
2482 _resultobj
= Py_None
;
2487 #define wxDropSource_SetCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursor(_swigarg0,_swigarg1))
2488 static PyObject
*_wrap_wxDropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2490 wxPyDropSource
* _arg0
;
2493 PyObject
* _argo0
= 0;
2494 PyObject
* _argo2
= 0;
2495 char *_kwnames
[] = { "self","res","cursor", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxDropSource_SetCursor",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetCursor. Expected _wxPyDropSource_p.");
2508 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2509 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDropSource_SetCursor. Expected _wxCursor_p.");
2515 wxPy_BEGIN_ALLOW_THREADS
;
2516 wxDropSource_SetCursor(_arg0
,_arg1
,*_arg2
);
2518 wxPy_END_ALLOW_THREADS
;
2519 } Py_INCREF(Py_None
);
2520 _resultobj
= Py_None
;
2524 #define wxDropSource_DoDragDrop(_swigobj,_swigarg0) (_swigobj->DoDragDrop(_swigarg0))
2525 static PyObject
*_wrap_wxDropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2527 wxDragResult _result
;
2528 wxPyDropSource
* _arg0
;
2529 int _arg1
= (int ) FALSE
;
2530 PyObject
* _argo0
= 0;
2531 char *_kwnames
[] = { "self","bAllowMove", NULL
};
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDropSource_DoDragDrop",_kwnames
,&_argo0
,&_arg1
))
2537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_DoDragDrop. Expected _wxPyDropSource_p.");
2544 wxPy_BEGIN_ALLOW_THREADS
;
2545 _result
= (wxDragResult
)wxDropSource_DoDragDrop(_arg0
,_arg1
);
2547 wxPy_END_ALLOW_THREADS
;
2548 } _resultobj
= Py_BuildValue("i",_result
);
2552 #define wxDropSource_base_GiveFeedback(_swigobj,_swigarg0) (_swigobj->base_GiveFeedback(_swigarg0))
2553 static PyObject
*_wrap_wxDropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2556 wxPyDropSource
* _arg0
;
2558 PyObject
* _argo0
= 0;
2559 char *_kwnames
[] = { "self","effect", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDropSource_base_GiveFeedback",_kwnames
,&_argo0
,&_arg1
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_base_GiveFeedback. Expected _wxPyDropSource_p.");
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 _result
= (bool )wxDropSource_base_GiveFeedback(_arg0
,_arg1
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 static void *SwigwxPyDropTargetTowxDropTarget(void *ptr
) {
2581 wxPyDropTarget
*src
;
2583 src
= (wxPyDropTarget
*) ptr
;
2584 dest
= (wxDropTarget
*) src
;
2585 return (void *) dest
;
2588 #define new_wxPyDropTarget(_swigarg0) (new wxPyDropTarget(_swigarg0))
2589 static PyObject
*_wrap_new_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxPyDropTarget
* _result
;
2592 wxDataObject
* _arg0
= (wxDataObject
*) NULL
;
2593 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "dataObject", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDropTarget",_kwnames
,&_argo0
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDropTarget. Expected _wxDataObject_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 _result
= (wxPyDropTarget
*)new_wxPyDropTarget(_arg0
);
2611 wxPy_END_ALLOW_THREADS
;
2613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropTarget_p");
2614 _resultobj
= Py_BuildValue("s",_ptemp
);
2617 _resultobj
= Py_None
;
2622 #define wxPyDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2623 static PyObject
*_wrap_wxPyDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2625 wxPyDropTarget
* _arg0
;
2628 PyObject
* _argo0
= 0;
2629 PyObject
* _obj1
= 0;
2630 PyObject
* _obj2
= 0;
2631 char *_kwnames
[] = { "self","self","_class", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget__setSelf. Expected _wxPyDropTarget_p.");
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 wxPyDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2653 wxPy_END_ALLOW_THREADS
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 #define delete_wxPyDropTarget(_swigobj) (delete _swigobj)
2660 static PyObject
*_wrap_delete_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2662 wxPyDropTarget
* _arg0
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyDropTarget",_kwnames
,&_argo0
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyDropTarget. Expected _wxPyDropTarget_p.");
2677 wxPy_BEGIN_ALLOW_THREADS
;
2678 delete_wxPyDropTarget(_arg0
);
2680 wxPy_END_ALLOW_THREADS
;
2681 } Py_INCREF(Py_None
);
2682 _resultobj
= Py_None
;
2686 #define wxPyDropTarget_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2687 static PyObject
*_wrap_wxPyDropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxDataObject
* _result
;
2690 wxPyDropTarget
* _arg0
;
2691 PyObject
* _argo0
= 0;
2692 char *_kwnames
[] = { "self", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetDataObject",_kwnames
,&_argo0
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetDataObject. Expected _wxPyDropTarget_p.");
2706 wxPy_BEGIN_ALLOW_THREADS
;
2707 _result
= (wxDataObject
*)wxPyDropTarget_GetDataObject(_arg0
);
2709 wxPy_END_ALLOW_THREADS
;
2711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2712 _resultobj
= Py_BuildValue("s",_ptemp
);
2715 _resultobj
= Py_None
;
2720 #define wxPyDropTarget_SetDataObject(_swigobj,_swigarg0) (_swigobj->SetDataObject(_swigarg0))
2721 static PyObject
*_wrap_wxPyDropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
* _resultobj
;
2723 wxPyDropTarget
* _arg0
;
2724 wxDataObject
* _arg1
;
2725 PyObject
* _argo0
= 0;
2726 PyObject
* _argo1
= 0;
2727 char *_kwnames
[] = { "self","dataObject", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget_SetDataObject",_kwnames
,&_argo0
,&_argo1
))
2733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_SetDataObject. Expected _wxPyDropTarget_p.");
2740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyDropTarget_SetDataObject. Expected _wxDataObject_p.");
2747 wxPy_BEGIN_ALLOW_THREADS
;
2748 wxPyDropTarget_SetDataObject(_arg0
,_arg1
);
2750 wxPy_END_ALLOW_THREADS
;
2751 } Py_INCREF(Py_None
);
2752 _resultobj
= Py_None
;
2756 #define wxPyDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2757 static PyObject
*_wrap_wxPyDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2759 wxDragResult _result
;
2760 wxPyDropTarget
* _arg0
;
2764 PyObject
* _argo0
= 0;
2765 char *_kwnames
[] = { "self","x","y","def", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnEnter. Expected _wxPyDropTarget_p.");
2778 wxPy_BEGIN_ALLOW_THREADS
;
2779 _result
= (wxDragResult
)wxPyDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2781 wxPy_END_ALLOW_THREADS
;
2782 } _resultobj
= Py_BuildValue("i",_result
);
2786 #define wxPyDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2787 static PyObject
*_wrap_wxPyDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2789 wxDragResult _result
;
2790 wxPyDropTarget
* _arg0
;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self","x","y","def", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDragOver. Expected _wxPyDropTarget_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 _result
= (wxDragResult
)wxPyDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } _resultobj
= Py_BuildValue("i",_result
);
2816 #define wxPyDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2817 static PyObject
*_wrap_wxPyDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2819 wxPyDropTarget
* _arg0
;
2820 PyObject
* _argo0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnLeave. Expected _wxPyDropTarget_p.");
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 wxPyDropTarget_base_OnLeave(_arg0
);
2837 wxPy_END_ALLOW_THREADS
;
2838 } Py_INCREF(Py_None
);
2839 _resultobj
= Py_None
;
2843 #define wxPyDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2844 static PyObject
*_wrap_wxPyDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2847 wxPyDropTarget
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self","x","y", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDrop. Expected _wxPyDropTarget_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 _result
= (bool )wxPyDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2867 wxPy_END_ALLOW_THREADS
;
2868 } _resultobj
= Py_BuildValue("i",_result
);
2872 #define wxPyDropTarget_GetData(_swigobj) (_swigobj->GetData())
2873 static PyObject
*_wrap_wxPyDropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2876 wxPyDropTarget
* _arg0
;
2877 PyObject
* _argo0
= 0;
2878 char *_kwnames
[] = { "self", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetData",_kwnames
,&_argo0
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetData. Expected _wxPyDropTarget_p.");
2891 wxPy_BEGIN_ALLOW_THREADS
;
2892 _result
= (bool )wxPyDropTarget_GetData(_arg0
);
2894 wxPy_END_ALLOW_THREADS
;
2895 } _resultobj
= Py_BuildValue("i",_result
);
2899 static void *SwigwxPyTextDropTargetTowxPyDropTarget(void *ptr
) {
2900 wxPyTextDropTarget
*src
;
2901 wxPyDropTarget
*dest
;
2902 src
= (wxPyTextDropTarget
*) ptr
;
2903 dest
= (wxPyDropTarget
*) src
;
2904 return (void *) dest
;
2907 static void *SwigwxPyTextDropTargetTowxDropTarget(void *ptr
) {
2908 wxPyTextDropTarget
*src
;
2910 src
= (wxPyTextDropTarget
*) ptr
;
2911 dest
= (wxDropTarget
*) src
;
2912 return (void *) dest
;
2915 #define new_wxTextDropTarget() (new wxPyTextDropTarget())
2916 static PyObject
*_wrap_new_wxTextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2918 wxPyTextDropTarget
* _result
;
2919 char *_kwnames
[] = { NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTextDropTarget",_kwnames
))
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 _result
= (wxPyTextDropTarget
*)new_wxTextDropTarget();
2929 wxPy_END_ALLOW_THREADS
;
2931 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDropTarget_p");
2932 _resultobj
= Py_BuildValue("s",_ptemp
);
2935 _resultobj
= Py_None
;
2940 #define wxTextDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2941 static PyObject
*_wrap_wxTextDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2943 wxPyTextDropTarget
* _arg0
;
2946 PyObject
* _argo0
= 0;
2947 PyObject
* _obj1
= 0;
2948 PyObject
* _obj2
= 0;
2949 char *_kwnames
[] = { "self","self","_class", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget__setSelf. Expected _wxPyTextDropTarget_p.");
2968 wxPy_BEGIN_ALLOW_THREADS
;
2969 wxTextDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2971 wxPy_END_ALLOW_THREADS
;
2972 } Py_INCREF(Py_None
);
2973 _resultobj
= Py_None
;
2977 #define wxTextDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2978 static PyObject
*_wrap_wxTextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2980 wxDragResult _result
;
2981 wxPyTextDropTarget
* _arg0
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self","x","y","def", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnEnter. Expected _wxPyTextDropTarget_p.");
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 _result
= (wxDragResult
)wxTextDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
3002 wxPy_END_ALLOW_THREADS
;
3003 } _resultobj
= Py_BuildValue("i",_result
);
3007 #define wxTextDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
3008 static PyObject
*_wrap_wxTextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3010 wxDragResult _result
;
3011 wxPyTextDropTarget
* _arg0
;
3015 PyObject
* _argo0
= 0;
3016 char *_kwnames
[] = { "self","x","y","def", NULL
};
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDragOver. Expected _wxPyTextDropTarget_p.");
3029 wxPy_BEGIN_ALLOW_THREADS
;
3030 _result
= (wxDragResult
)wxTextDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
3032 wxPy_END_ALLOW_THREADS
;
3033 } _resultobj
= Py_BuildValue("i",_result
);
3037 #define wxTextDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
3038 static PyObject
*_wrap_wxTextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3040 wxPyTextDropTarget
* _arg0
;
3041 PyObject
* _argo0
= 0;
3042 char *_kwnames
[] = { "self", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDropTarget_base_OnLeave",_kwnames
,&_argo0
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnLeave. Expected _wxPyTextDropTarget_p.");
3055 wxPy_BEGIN_ALLOW_THREADS
;
3056 wxTextDropTarget_base_OnLeave(_arg0
);
3058 wxPy_END_ALLOW_THREADS
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxTextDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3065 static PyObject
*_wrap_wxTextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3068 wxPyTextDropTarget
* _arg0
;
3071 PyObject
* _argo0
= 0;
3072 char *_kwnames
[] = { "self","x","y", NULL
};
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTextDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDrop. Expected _wxPyTextDropTarget_p.");
3085 wxPy_BEGIN_ALLOW_THREADS
;
3086 _result
= (bool )wxTextDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3088 wxPy_END_ALLOW_THREADS
;
3089 } _resultobj
= Py_BuildValue("i",_result
);
3093 #define wxTextDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3094 static PyObject
*_wrap_wxTextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
* _resultobj
;
3096 wxDragResult _result
;
3097 wxPyTextDropTarget
* _arg0
;
3101 PyObject
* _argo0
= 0;
3102 char *_kwnames
[] = { "self","x","y","def", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnData. Expected _wxPyTextDropTarget_p.");
3115 wxPy_BEGIN_ALLOW_THREADS
;
3116 _result
= (wxDragResult
)wxTextDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3118 wxPy_END_ALLOW_THREADS
;
3119 } _resultobj
= Py_BuildValue("i",_result
);
3123 static void *SwigwxPyFileDropTargetTowxPyDropTarget(void *ptr
) {
3124 wxPyFileDropTarget
*src
;
3125 wxPyDropTarget
*dest
;
3126 src
= (wxPyFileDropTarget
*) ptr
;
3127 dest
= (wxPyDropTarget
*) src
;
3128 return (void *) dest
;
3131 static void *SwigwxPyFileDropTargetTowxDropTarget(void *ptr
) {
3132 wxPyFileDropTarget
*src
;
3134 src
= (wxPyFileDropTarget
*) ptr
;
3135 dest
= (wxDropTarget
*) src
;
3136 return (void *) dest
;
3139 #define new_wxFileDropTarget() (new wxPyFileDropTarget())
3140 static PyObject
*_wrap_new_wxFileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3142 wxPyFileDropTarget
* _result
;
3143 char *_kwnames
[] = { NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDropTarget",_kwnames
))
3150 wxPy_BEGIN_ALLOW_THREADS
;
3151 _result
= (wxPyFileDropTarget
*)new_wxFileDropTarget();
3153 wxPy_END_ALLOW_THREADS
;
3155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileDropTarget_p");
3156 _resultobj
= Py_BuildValue("s",_ptemp
);
3159 _resultobj
= Py_None
;
3164 #define wxFileDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3165 static PyObject
*_wrap_wxFileDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3167 wxPyFileDropTarget
* _arg0
;
3170 PyObject
* _argo0
= 0;
3171 PyObject
* _obj1
= 0;
3172 PyObject
* _obj2
= 0;
3173 char *_kwnames
[] = { "self","self","_class", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget__setSelf. Expected _wxPyFileDropTarget_p.");
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 wxFileDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
3195 wxPy_END_ALLOW_THREADS
;
3196 } Py_INCREF(Py_None
);
3197 _resultobj
= Py_None
;
3201 #define wxFileDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
3202 static PyObject
*_wrap_wxFileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3204 wxDragResult _result
;
3205 wxPyFileDropTarget
* _arg0
;
3209 PyObject
* _argo0
= 0;
3210 char *_kwnames
[] = { "self","x","y","def", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnEnter. Expected _wxPyFileDropTarget_p.");
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 _result
= (wxDragResult
)wxFileDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
3226 wxPy_END_ALLOW_THREADS
;
3227 } _resultobj
= Py_BuildValue("i",_result
);
3231 #define wxFileDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
3232 static PyObject
*_wrap_wxFileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3234 wxDragResult _result
;
3235 wxPyFileDropTarget
* _arg0
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self","x","y","def", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDragOver. Expected _wxPyFileDropTarget_p.");
3253 wxPy_BEGIN_ALLOW_THREADS
;
3254 _result
= (wxDragResult
)wxFileDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
3256 wxPy_END_ALLOW_THREADS
;
3257 } _resultobj
= Py_BuildValue("i",_result
);
3261 #define wxFileDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
3262 static PyObject
*_wrap_wxFileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3264 wxPyFileDropTarget
* _arg0
;
3265 PyObject
* _argo0
= 0;
3266 char *_kwnames
[] = { "self", NULL
};
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDropTarget_base_OnLeave",_kwnames
,&_argo0
))
3272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnLeave. Expected _wxPyFileDropTarget_p.");
3279 wxPy_BEGIN_ALLOW_THREADS
;
3280 wxFileDropTarget_base_OnLeave(_arg0
);
3282 wxPy_END_ALLOW_THREADS
;
3283 } Py_INCREF(Py_None
);
3284 _resultobj
= Py_None
;
3288 #define wxFileDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3289 static PyObject
*_wrap_wxFileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3292 wxPyFileDropTarget
* _arg0
;
3295 PyObject
* _argo0
= 0;
3296 char *_kwnames
[] = { "self","x","y", NULL
};
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFileDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDrop. Expected _wxPyFileDropTarget_p.");
3309 wxPy_BEGIN_ALLOW_THREADS
;
3310 _result
= (bool )wxFileDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3312 wxPy_END_ALLOW_THREADS
;
3313 } _resultobj
= Py_BuildValue("i",_result
);
3317 #define wxFileDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3318 static PyObject
*_wrap_wxFileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3320 wxDragResult _result
;
3321 wxPyFileDropTarget
* _arg0
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self","x","y","def", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnData. Expected _wxPyFileDropTarget_p.");
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 _result
= (wxDragResult
)wxFileDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3342 wxPy_END_ALLOW_THREADS
;
3343 } _resultobj
= Py_BuildValue("i",_result
);
3347 static PyMethodDef clip_dndcMethods
[] = {
3348 { "wxFileDropTarget_base_OnData", (PyCFunction
) _wrap_wxFileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3349 { "wxFileDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3350 { "wxFileDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxFileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3351 { "wxFileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3352 { "wxFileDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxFileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3353 { "wxFileDropTarget__setSelf", (PyCFunction
) _wrap_wxFileDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3354 { "new_wxFileDropTarget", (PyCFunction
) _wrap_new_wxFileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3355 { "wxTextDropTarget_base_OnData", (PyCFunction
) _wrap_wxTextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3356 { "wxTextDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3357 { "wxTextDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxTextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3358 { "wxTextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3359 { "wxTextDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxTextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3360 { "wxTextDropTarget__setSelf", (PyCFunction
) _wrap_wxTextDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3361 { "new_wxTextDropTarget", (PyCFunction
) _wrap_new_wxTextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3362 { "wxPyDropTarget_GetData", (PyCFunction
) _wrap_wxPyDropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3363 { "wxPyDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3364 { "wxPyDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxPyDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3365 { "wxPyDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3366 { "wxPyDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxPyDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3367 { "wxPyDropTarget_SetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3368 { "wxPyDropTarget_GetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3369 { "delete_wxPyDropTarget", (PyCFunction
) _wrap_delete_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3370 { "wxPyDropTarget__setSelf", (PyCFunction
) _wrap_wxPyDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3371 { "new_wxPyDropTarget", (PyCFunction
) _wrap_new_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3372 { "wxDropSource_base_GiveFeedback", (PyCFunction
) _wrap_wxDropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
3373 { "wxDropSource_DoDragDrop", (PyCFunction
) _wrap_wxDropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
3374 { "wxDropSource_SetCursor", (PyCFunction
) _wrap_wxDropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
3375 { "wxDropSource_GetDataObject", (PyCFunction
) _wrap_wxDropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3376 { "wxDropSource_SetData", (PyCFunction
) _wrap_wxDropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3377 { "delete_wxDropSource", (PyCFunction
) _wrap_delete_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3378 { "wxDropSource__setSelf", (PyCFunction
) _wrap_wxDropSource__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3379 { "new_wxDropSource", (PyCFunction
) _wrap_new_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3380 { "wxClipboard_UsePrimarySelection", (PyCFunction
) _wrap_wxClipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
3381 { "wxClipboard_Flush", (PyCFunction
) _wrap_wxClipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
3382 { "wxClipboard_Clear", (PyCFunction
) _wrap_wxClipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3383 { "wxClipboard_GetData", (PyCFunction
) _wrap_wxClipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3384 { "wxClipboard_IsSupported", (PyCFunction
) _wrap_wxClipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
3385 { "wxClipboard_SetData", (PyCFunction
) _wrap_wxClipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3386 { "wxClipboard_AddData", (PyCFunction
) _wrap_wxClipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
3387 { "wxClipboard_IsOpened", (PyCFunction
) _wrap_wxClipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
3388 { "wxClipboard_Close", (PyCFunction
) _wrap_wxClipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
3389 { "wxClipboard_Open", (PyCFunction
) _wrap_wxClipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
3390 { "new_wxClipboard", (PyCFunction
) _wrap_new_wxClipboard
, METH_VARARGS
| METH_KEYWORDS
},
3391 { "wxCustomDataObject_GetData", (PyCFunction
) _wrap_wxCustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3392 { "wxCustomDataObject_GetSize", (PyCFunction
) _wrap_wxCustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3393 { "wxCustomDataObject_SetData", (PyCFunction
) _wrap_wxCustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3394 { "wxCustomDataObject_TakeData", (PyCFunction
) _wrap_wxCustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
3395 { "new_wxCustomDataObject", (PyCFunction
) _wrap_new_wxCustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3396 { "wxFileDataObject_AddFile", (PyCFunction
) _wrap_wxFileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
3397 { "wxFileDataObject_GetFilenames", (PyCFunction
) _wrap_wxFileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3398 { "new_wxFileDataObject", (PyCFunction
) _wrap_new_wxFileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3399 { "wxPyBitmapDataObject__setSelf", (PyCFunction
) _wrap_wxPyBitmapDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3400 { "new_wxPyBitmapDataObject", (PyCFunction
) _wrap_new_wxPyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3401 { "wxBitmapDataObject_SetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3402 { "wxBitmapDataObject_GetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3403 { "new_wxBitmapDataObject", (PyCFunction
) _wrap_new_wxBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3404 { "wxPyTextDataObject__setSelf", (PyCFunction
) _wrap_wxPyTextDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3405 { "new_wxPyTextDataObject", (PyCFunction
) _wrap_new_wxPyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3406 { "wxTextDataObject_SetText", (PyCFunction
) _wrap_wxTextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3407 { "wxTextDataObject_GetText", (PyCFunction
) _wrap_wxTextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3408 { "wxTextDataObject_GetTextLength", (PyCFunction
) _wrap_wxTextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
3409 { "new_wxTextDataObject", (PyCFunction
) _wrap_new_wxTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3410 { "wxDataObjectComposite_Add", (PyCFunction
) _wrap_wxDataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
3411 { "new_wxDataObjectComposite", (PyCFunction
) _wrap_new_wxDataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
3412 { "wxPyDataObjectSimple__setSelf", (PyCFunction
) _wrap_wxPyDataObjectSimple__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3413 { "new_wxPyDataObjectSimple", (PyCFunction
) _wrap_new_wxPyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3414 { "wxDataObjectSimple_SetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3415 { "wxDataObjectSimple_GetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3416 { "new_wxDataObjectSimple", (PyCFunction
) _wrap_new_wxDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3417 { "wxDataObject_IsSupportedFormat", (PyCFunction
) _wrap_wxDataObject_IsSupportedFormat
, METH_VARARGS
| METH_KEYWORDS
},
3418 { "wxDataObject_SetData", (PyCFunction
) _wrap_wxDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3419 { "wxDataObject_GetDataHere", (PyCFunction
) _wrap_wxDataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
3420 { "wxDataObject_GetDataSize", (PyCFunction
) _wrap_wxDataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
3421 { "wxDataObject_GetAllFormats", (PyCFunction
) _wrap_wxDataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
3422 { "wxDataObject_GetFormatCount", (PyCFunction
) _wrap_wxDataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
3423 { "wxDataObject_GetPreferredFormat", (PyCFunction
) _wrap_wxDataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
3424 { "delete_wxDataObject", (PyCFunction
) _wrap_delete_wxDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3425 { "wxDataFormat_SetId", (PyCFunction
) _wrap_wxDataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3426 { "wxDataFormat_GetId", (PyCFunction
) _wrap_wxDataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3427 { "wxDataFormat_GetType", (PyCFunction
) _wrap_wxDataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
3428 { "wxDataFormat_SetType", (PyCFunction
) _wrap_wxDataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
3429 { "delete_wxDataFormat", (PyCFunction
) _wrap_delete_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3430 { "new_wxDataFormat", (PyCFunction
) _wrap_new_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3431 { "wxIsDragResultOk", (PyCFunction
) _wrap_wxIsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
3432 { "wxCustomDataFormat", (PyCFunction
) _wrap_wxCustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3439 * This table is used by the pointer type-checker
3441 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3442 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3443 { "_signed_long","_long",0},
3444 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3445 { "_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3446 { "_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3447 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3448 { "_wxPrintQuality","_wxCoord",0},
3449 { "_wxPrintQuality","_int",0},
3450 { "_wxPrintQuality","_signed_int",0},
3451 { "_wxPrintQuality","_unsigned_int",0},
3452 { "_wxPrintQuality","_wxWindowID",0},
3453 { "_wxPrintQuality","_uint",0},
3454 { "_wxPrintQuality","_EBool",0},
3455 { "_wxPrintQuality","_size_t",0},
3456 { "_wxPrintQuality","_time_t",0},
3457 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3458 { "_class_wxRegionIterator","_wxRegionIterator",0},
3459 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3460 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3461 { "_wxCursor","_class_wxCursor",0},
3462 { "_wxMask","_class_wxMask",0},
3463 { "_wxPen","_class_wxPen",0},
3464 { "_byte","_unsigned_char",0},
3465 { "_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3466 { "_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3467 { "_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3468 { "_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3469 { "_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3470 { "_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3471 { "_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3472 { "_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3473 { "_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3474 { "_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3475 { "_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3476 { "_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3477 { "_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3478 { "_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3479 { "_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3480 { "_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3481 { "_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3482 { "_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3483 { "_wxDataObject","_class_wxDataObject",0},
3484 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3485 { "_wxPyDropSource","_class_wxPyDropSource",0},
3486 { "_long","_unsigned_long",0},
3487 { "_long","_signed_long",0},
3488 { "_wxImageList","_class_wxImageList",0},
3489 { "_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3490 { "_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3491 { "_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3492 { "_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3493 { "_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3494 { "_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3495 { "_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3496 { "_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3497 { "_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3498 { "_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3499 { "_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3500 { "_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3501 { "_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3502 { "_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3503 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3504 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3505 { "_class_wxClipboard","_wxClipboard",0},
3506 { "_wxDC","_class_wxDC",0},
3507 { "_class_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3508 { "_class_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3509 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3510 { "_size_t","_wxCoord",0},
3511 { "_size_t","_wxPrintQuality",0},
3512 { "_size_t","_time_t",0},
3513 { "_size_t","_unsigned_int",0},
3514 { "_size_t","_int",0},
3515 { "_size_t","_wxWindowID",0},
3516 { "_size_t","_uint",0},
3517 { "_class_wxRealPoint","_wxRealPoint",0},
3518 { "_wxPrinterDC","_class_wxPrinterDC",0},
3519 { "_class_wxMask","_wxMask",0},
3520 { "_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3521 { "_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3522 { "_wxTextDataObject","_class_wxTextDataObject",0},
3523 { "_wxColour","_class_wxColour",0},
3524 { "_class_wxFileDataObject","_wxFileDataObject",0},
3525 { "_class_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3526 { "_class_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3527 { "_class_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3528 { "_class_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3529 { "_class_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3530 { "_class_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3531 { "_class_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3532 { "_class_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3533 { "_class_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3534 { "_class_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3535 { "_class_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3536 { "_class_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3537 { "_class_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3538 { "_class_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3539 { "_class_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3540 { "_class_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3541 { "_class_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3542 { "_class_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3543 { "_class_wxDataObject","_wxDataObject",0},
3544 { "_wxBrush","_class_wxBrush",0},
3545 { "_wxDataFormat","_class_wxDataFormat",0},
3546 { "_class_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3547 { "_class_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3548 { "_class_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3549 { "_class_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3550 { "_class_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3551 { "_class_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3552 { "_class_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3553 { "_class_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3554 { "_class_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3555 { "_class_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3556 { "_class_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3557 { "_class_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3558 { "_class_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3559 { "_class_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3560 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3561 { "_uint","_wxCoord",0},
3562 { "_uint","_wxPrintQuality",0},
3563 { "_uint","_time_t",0},
3564 { "_uint","_size_t",0},
3565 { "_uint","_unsigned_int",0},
3566 { "_uint","_int",0},
3567 { "_uint","_wxWindowID",0},
3568 { "_wxChar","_char",0},
3569 { "_wxRect","_class_wxRect",0},
3570 { "_wxPoint","_class_wxPoint",0},
3571 { "_char","_wxChar",0},
3572 { "_wxBitmap","_class_wxBitmap",0},
3573 { "_wxWindowDC","_class_wxWindowDC",0},
3574 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3575 { "_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3576 { "_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3577 { "_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3578 { "_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3579 { "_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3580 { "_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3581 { "_wxDropTarget","_class_wxDropTarget",0},
3582 { "_EBool","_wxCoord",0},
3583 { "_EBool","_wxPrintQuality",0},
3584 { "_EBool","_signed_int",0},
3585 { "_EBool","_int",0},
3586 { "_EBool","_wxWindowID",0},
3587 { "_class_wxRegion","_wxRegion",0},
3588 { "_class_wxDataFormat","_wxDataFormat",0},
3589 { "_wxFont","_class_wxFont",0},
3590 { "_class_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3591 { "_class_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3592 { "_class_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3593 { "_class_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3594 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3595 { "_unsigned_long","_long",0},
3596 { "_class_wxRect","_wxRect",0},
3597 { "_class_wxDC","_wxDC",0},
3598 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3599 { "_signed_int","_wxCoord",0},
3600 { "_signed_int","_wxPrintQuality",0},
3601 { "_signed_int","_EBool",0},
3602 { "_signed_int","_wxWindowID",0},
3603 { "_signed_int","_int",0},
3604 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3605 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3606 { "_class_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3607 { "_class_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3608 { "_class_wxTextDataObject","_wxTextDataObject",0},
3609 { "_wxScreenDC","_class_wxScreenDC",0},
3610 { "_WXTYPE","_short",0},
3611 { "_WXTYPE","_signed_short",0},
3612 { "_WXTYPE","_unsigned_short",0},
3613 { "_class_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3614 { "_class_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3615 { "_class_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3616 { "_class_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3617 { "_class_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3618 { "_class_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3619 { "_class_wxDropTarget","_wxDropTarget",0},
3620 { "_class_wxBrush","_wxBrush",0},
3621 { "_unsigned_short","_WXTYPE",0},
3622 { "_unsigned_short","_short",0},
3623 { "_class_wxFont","_wxFont",0},
3624 { "_wxClipboard","_class_wxClipboard",0},
3625 { "_wxBusyInfo","_class_wxBusyInfo",0},
3626 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3627 { "_wxClientDC","_class_wxClientDC",0},
3628 { "_class_wxPoint","_wxPoint",0},
3629 { "_wxRealPoint","_class_wxRealPoint",0},
3630 { "_signed_short","_WXTYPE",0},
3631 { "_signed_short","_short",0},
3632 { "_wxMemoryDC","_class_wxMemoryDC",0},
3633 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3634 { "_wxPaintDC","_class_wxPaintDC",0},
3635 { "_class_wxWindowDC","_wxWindowDC",0},
3636 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3637 { "_class_wxCursor","_wxCursor",0},
3638 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3639 { "_unsigned_char","_byte",0},
3640 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3641 { "_unsigned_int","_wxCoord",0},
3642 { "_unsigned_int","_wxPrintQuality",0},
3643 { "_unsigned_int","_time_t",0},
3644 { "_unsigned_int","_size_t",0},
3645 { "_unsigned_int","_uint",0},
3646 { "_unsigned_int","_wxWindowID",0},
3647 { "_unsigned_int","_int",0},
3648 { "_wxIcon","_class_wxIcon",0},
3649 { "_class_wxPen","_wxPen",0},
3650 { "_short","_WXTYPE",0},
3651 { "_short","_unsigned_short",0},
3652 { "_short","_signed_short",0},
3653 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3654 { "_class_wxPyDropSource","_wxPyDropSource",0},
3655 { "_class_wxImageList","_wxImageList",0},
3656 { "_wxWindowID","_wxCoord",0},
3657 { "_wxWindowID","_wxPrintQuality",0},
3658 { "_wxWindowID","_time_t",0},
3659 { "_wxWindowID","_size_t",0},
3660 { "_wxWindowID","_EBool",0},
3661 { "_wxWindowID","_uint",0},
3662 { "_wxWindowID","_int",0},
3663 { "_wxWindowID","_signed_int",0},
3664 { "_wxWindowID","_unsigned_int",0},
3665 { "_int","_wxCoord",0},
3666 { "_int","_wxPrintQuality",0},
3667 { "_int","_time_t",0},
3668 { "_int","_size_t",0},
3669 { "_int","_EBool",0},
3670 { "_int","_uint",0},
3671 { "_int","_wxWindowID",0},
3672 { "_int","_unsigned_int",0},
3673 { "_int","_signed_int",0},
3674 { "_time_t","_wxCoord",0},
3675 { "_time_t","_wxPrintQuality",0},
3676 { "_time_t","_unsigned_int",0},
3677 { "_time_t","_int",0},
3678 { "_time_t","_wxWindowID",0},
3679 { "_time_t","_uint",0},
3680 { "_time_t","_size_t",0},
3681 { "_wxSize","_class_wxSize",0},
3682 { "_wxRegionIterator","_class_wxRegionIterator",0},
3683 { "_class_wxPrinterDC","_wxPrinterDC",0},
3684 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3685 { "_class_wxPaintDC","_wxPaintDC",0},
3686 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3687 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3688 { "_class_wxIcon","_wxIcon",0},
3689 { "_class_wxColour","_wxColour",0},
3690 { "_class_wxScreenDC","_wxScreenDC",0},
3691 { "_wxPalette","_class_wxPalette",0},
3692 { "_wxCoord","_int",0},
3693 { "_wxCoord","_signed_int",0},
3694 { "_wxCoord","_unsigned_int",0},
3695 { "_wxCoord","_wxWindowID",0},
3696 { "_wxCoord","_uint",0},
3697 { "_wxCoord","_EBool",0},
3698 { "_wxCoord","_size_t",0},
3699 { "_wxCoord","_time_t",0},
3700 { "_wxCoord","_wxPrintQuality",0},
3701 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3702 { "_wxRegion","_class_wxRegion",0},
3703 { "_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3704 { "_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3705 { "_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3706 { "_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3707 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3708 { "_class_wxBusyInfo","_wxBusyInfo",0},
3709 { "_class_wxClientDC","_wxClientDC",0},
3710 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3711 { "_class_wxSize","_wxSize",0},
3712 { "_class_wxBitmap","_wxBitmap",0},
3713 { "_class_wxMemoryDC","_wxMemoryDC",0},
3714 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3715 { "_class_wxPalette","_wxPalette",0},
3716 { "_wxFileDataObject","_class_wxFileDataObject",0},
3717 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3720 static PyObject
*SWIG_globals
;
3724 SWIGEXPORT(void) initclip_dndc() {
3726 SWIG_globals
= SWIG_newvarlink();
3727 m
= Py_InitModule("clip_dndc", clip_dndcMethods
);
3728 d
= PyModule_GetDict(m
);
3729 PyDict_SetItemString(d
,"wxDF_INVALID", PyInt_FromLong((long) wxDF_INVALID
));
3730 PyDict_SetItemString(d
,"wxDF_TEXT", PyInt_FromLong((long) wxDF_TEXT
));
3731 PyDict_SetItemString(d
,"wxDF_BITMAP", PyInt_FromLong((long) wxDF_BITMAP
));
3732 PyDict_SetItemString(d
,"wxDF_METAFILE", PyInt_FromLong((long) wxDF_METAFILE
));
3733 PyDict_SetItemString(d
,"wxDF_SYLK", PyInt_FromLong((long) wxDF_SYLK
));
3734 PyDict_SetItemString(d
,"wxDF_DIF", PyInt_FromLong((long) wxDF_DIF
));
3735 PyDict_SetItemString(d
,"wxDF_TIFF", PyInt_FromLong((long) wxDF_TIFF
));
3736 PyDict_SetItemString(d
,"wxDF_OEMTEXT", PyInt_FromLong((long) wxDF_OEMTEXT
));
3737 PyDict_SetItemString(d
,"wxDF_DIB", PyInt_FromLong((long) wxDF_DIB
));
3738 PyDict_SetItemString(d
,"wxDF_PALETTE", PyInt_FromLong((long) wxDF_PALETTE
));
3739 PyDict_SetItemString(d
,"wxDF_PENDATA", PyInt_FromLong((long) wxDF_PENDATA
));
3740 PyDict_SetItemString(d
,"wxDF_RIFF", PyInt_FromLong((long) wxDF_RIFF
));
3741 PyDict_SetItemString(d
,"wxDF_WAVE", PyInt_FromLong((long) wxDF_WAVE
));
3742 PyDict_SetItemString(d
,"wxDF_UNICODETEXT", PyInt_FromLong((long) wxDF_UNICODETEXT
));
3743 PyDict_SetItemString(d
,"wxDF_ENHMETAFILE", PyInt_FromLong((long) wxDF_ENHMETAFILE
));
3744 PyDict_SetItemString(d
,"wxDF_FILENAME", PyInt_FromLong((long) wxDF_FILENAME
));
3745 PyDict_SetItemString(d
,"wxDF_LOCALE", PyInt_FromLong((long) wxDF_LOCALE
));
3746 PyDict_SetItemString(d
,"wxDF_PRIVATE", PyInt_FromLong((long) wxDF_PRIVATE
));
3747 PyDict_SetItemString(d
,"wxDF_MAX", PyInt_FromLong((long) wxDF_MAX
));
3748 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
3749 SWIG_addvarlink(SWIG_globals
,"wxFormatInvalid",_wrap_wxPyFormatInvalid_get
, _wrap_wxPyFormatInvalid_set
);
3750 SWIG_addvarlink(SWIG_globals
,"wxTheClipboard",_wrap_wxPyTheClipboard_get
, _wrap_wxPyTheClipboard_set
);
3751 PyDict_SetItemString(d
,"wxDragError", PyInt_FromLong((long) wxDragError
));
3752 PyDict_SetItemString(d
,"wxDragNone", PyInt_FromLong((long) wxDragNone
));
3753 PyDict_SetItemString(d
,"wxDragCopy", PyInt_FromLong((long) wxDragCopy
));
3754 PyDict_SetItemString(d
,"wxDragMove", PyInt_FromLong((long) wxDragMove
));
3755 PyDict_SetItemString(d
,"wxDragCancel", PyInt_FromLong((long) wxDragCancel
));
3758 wxPyTheClipboard
= wxTheClipboard
;
3760 PyDict_SetItemString(d
,"wxDataObject_Get", PyInt_FromLong((long) wxDataObject::Get
));
3761 PyDict_SetItemString(d
,"wxDataObject_Set", PyInt_FromLong((long) wxDataObject::Set
));
3762 PyDict_SetItemString(d
,"wxDataObject_Both", PyInt_FromLong((long) wxDataObject::Both
));
3765 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3766 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);