2 * FILE : gtk/clip_dnd.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initclip_dndc
55 #define SWIG_name "clip_dndc"
58 #include <wx/dataobj.h>
59 #include <wx/clipbrd.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
108 static char* wxStringErrorMsg
= "string type is required for parameter";
109 // An alternate constructor...
110 wxDataFormat
* wxCustomDataFormat(const wxString
&id
) {
111 return new wxDataFormat(id
);
114 wxDataFormat wxPyFormatInvalid
;
115 // Create a new class for wxPython to use
116 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
118 wxPyDataObjectSimple(const wxDataFormat
& format
= wxPyFormatInvalid
)
119 : wxDataObjectSimple(format
) {}
121 DEC_PYCALLBACK_SIZET_(GetDataSize
);
122 bool GetDataHere(void *buf
);
123 bool SetData(size_t len
, const void *buf
);
127 IMP_PYCALLBACK_SIZET_(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
129 bool wxPyDataObjectSimple::GetDataHere(void *buf
) {
130 // We need to get the data for this object and write it to buf. I think
131 // the best way to do this for wxPython is to have the Python method
132 // return either a string or None and then act appropriately with the
136 bool doSave
= wxPyRestoreThread();
137 if (m_myInst
.findCallback("GetDataHere")) {
139 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
141 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
143 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
147 wxPySaveThread(doSave
);
151 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
152 // For this one we simply need to make a string from buf and len
153 // and send it to the Python method.
155 bool doSave
= wxPyRestoreThread();
156 if (m_myInst
.findCallback("SetData")) {
157 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
158 rval
= m_myInst
.callCallback(Py_BuildValue("(O)", data
));
161 wxPySaveThread(doSave
);
164 // Create a new class for wxPython to use
165 class wxPyTextDataObject
: public wxTextDataObject
{
167 wxPyTextDataObject(const wxString
& text
= wxEmptyString
)
168 : wxTextDataObject(text
) {}
170 DEC_PYCALLBACK_SIZET_(GetTextLength
);
171 DEC_PYCALLBACK_STRING_(GetText
);
172 DEC_PYCALLBACK__STRING(SetText
);
176 IMP_PYCALLBACK_SIZET_(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
177 IMP_PYCALLBACK_STRING_(wxPyTextDataObject
, wxTextDataObject
, GetText
);
178 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
180 // Create a new class for wxPython to use
181 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
183 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
184 : wxBitmapDataObject(bitmap
) {}
186 wxBitmap
GetBitmap();
187 void SetBitmap(const wxBitmap
& bitmap
);
191 wxBitmap
wxPyBitmapDataObject::GetBitmap() {
192 wxBitmap
* rval
= &wxNullBitmap
;
193 bool doSave
= wxPyRestoreThread();
194 if (m_myInst
.findCallback("GetBitmap")) {
197 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
199 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxBitmap_p"))
204 wxPySaveThread(doSave
);
208 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
209 bool doSave
= wxPyRestoreThread();
210 if (m_myInst
.findCallback("SetBitmap")) {
211 m_myInst
.callCallback(Py_BuildValue("(O)",
212 wxPyConstructObject((void*)&bitmap
, "wxBitmap")));
214 wxPySaveThread(doSave
);
217 // See below in the init function...
218 wxClipboard
* wxPyTheClipboard
;
220 class wxPyDropSource
: public wxDropSource
{
223 wxPyDropSource(wxWindow
*win
= NULL
,
224 const wxCursor
&cursorCopy
= wxNullCursor
,
225 const wxCursor
&cursorMove
= wxNullCursor
,
226 const wxCursor
&cursorStop
= wxNullCursor
)
227 : wxDropSource(win
, cursorCopy
, cursorMove
, cursorStop
) {}
229 wxPyDropSource(wxWindow
*win
= NULL
,
230 const wxIcon
&go
= wxNullIcon
)
231 : wxDropSource(win
, go
) {}
233 ~wxPyDropSource() { }
235 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
239 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
242 class wxPyDropTarget
: public wxDropTarget
{
244 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
245 : wxDropTarget(dataObject
) {}
247 // DEC_PYCALLBACK_SIZET_(GetFormatCount);
248 // DEC_PYCALLBACK_DATAFMT_SIZET(GetFormat);
250 DEC_PYCALLBACK__(OnLeave
);
251 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
252 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
253 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
254 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
259 // IMP_PYCALLBACK_SIZET_(wxPyDropTarget, wxDropTarget, GetFormatCount);
260 // IMP__PYCALLBACK_DATAFMT_SIZET(wxPyDropTarget, wxDropTarget, GetFormat);
262 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
263 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
264 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
265 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
266 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
269 class wxPyTextDropTarget
: public wxTextDropTarget
{
271 wxPyTextDropTarget() {}
273 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
275 DEC_PYCALLBACK__(OnLeave
);
276 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
277 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
278 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
279 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
284 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
285 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
286 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
287 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
288 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
289 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
292 class wxPyFileDropTarget
: public wxFileDropTarget
{
294 wxPyFileDropTarget() {}
296 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
298 DEC_PYCALLBACK__(OnLeave
);
299 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
300 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
301 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
302 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
307 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
308 const wxArrayString
& filenames
) {
310 bool doSave
= wxPyRestoreThread();
311 PyObject
* list
= PyList_New(0);
312 for (size_t i
=0; i
<filenames
.GetCount(); i
++) {
313 PyObject
* str
= PyString_FromString(filenames
[i
].c_str());
314 PyList_Append(list
, str
);
316 if (m_myInst
.findCallback("OnDropFiles"))
317 rval
= m_myInst
.callCallback(Py_BuildValue("(iiO)",x
,y
,list
));
319 wxPySaveThread(doSave
);
325 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
326 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
327 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
328 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
329 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
334 static PyObject
*_wrap_wxCustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
336 wxDataFormat
* _result
;
338 PyObject
* _obj0
= 0;
339 char *_kwnames
[] = { "id", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataFormat",_kwnames
,&_obj0
))
346 if (!PyString_Check(_obj0
)) {
347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
350 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
353 wxPy_BEGIN_ALLOW_THREADS
;
354 _result
= (wxDataFormat
*)wxCustomDataFormat(*_arg0
);
356 wxPy_END_ALLOW_THREADS
;
358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
359 _resultobj
= Py_BuildValue("s",_ptemp
);
362 _resultobj
= Py_None
;
371 static int _wrap_wxPyFormatInvalid_set(PyObject
*val
) {
373 PyErr_SetString(PyExc_TypeError
,"Variable wxFormatInvalid is read-only.");
377 static PyObject
*_wrap_wxPyFormatInvalid_get() {
381 SWIG_MakePtr(ptemp
,(char *) &wxPyFormatInvalid
,"_wxDataFormat_p");
382 pyobj
= PyString_FromString(ptemp
);
386 static int _wrap_wxPyTheClipboard_set(PyObject
*val
) {
388 PyErr_SetString(PyExc_TypeError
,"Variable wxTheClipboard is read-only.");
392 static PyObject
*_wrap_wxPyTheClipboard_get() {
396 SWIG_MakePtr(ptemp
, (char *) wxPyTheClipboard
,"_wxClipboard_p");
397 pyobj
= PyString_FromString(ptemp
);
401 static PyObject
*_wrap_wxIsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
405 char *_kwnames
[] = { "res", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxIsDragResultOk",_kwnames
,&_arg0
))
411 wxPy_BEGIN_ALLOW_THREADS
;
412 _result
= (bool )wxIsDragResultOk(_arg0
);
414 wxPy_END_ALLOW_THREADS
;
415 } _resultobj
= Py_BuildValue("i",_result
);
419 #define new_wxDataFormat(_swigarg0) (new wxDataFormat(_swigarg0))
420 static PyObject
*_wrap_new_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
422 wxDataFormat
* _result
;
423 wxDataFormatId _arg0
;
424 char *_kwnames
[] = { "type", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDataFormat",_kwnames
,&_arg0
))
431 wxPy_BEGIN_ALLOW_THREADS
;
432 _result
= (wxDataFormat
*)new_wxDataFormat(_arg0
);
434 wxPy_END_ALLOW_THREADS
;
436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
437 _resultobj
= Py_BuildValue("s",_ptemp
);
440 _resultobj
= Py_None
;
445 #define delete_wxDataFormat(_swigobj) (delete _swigobj)
446 static PyObject
*_wrap_delete_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
448 wxDataFormat
* _arg0
;
449 PyObject
* _argo0
= 0;
450 char *_kwnames
[] = { "self", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataFormat",_kwnames
,&_argo0
))
456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataFormat. Expected _wxDataFormat_p.");
463 wxPy_BEGIN_ALLOW_THREADS
;
464 delete_wxDataFormat(_arg0
);
466 wxPy_END_ALLOW_THREADS
;
467 } Py_INCREF(Py_None
);
468 _resultobj
= Py_None
;
472 #define wxDataFormat_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
473 static PyObject
*_wrap_wxDataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
475 wxDataFormat
* _arg0
;
476 wxDataFormatId _arg1
;
477 PyObject
* _argo0
= 0;
478 char *_kwnames
[] = { "self","format", NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDataFormat_SetType",_kwnames
,&_argo0
,&_arg1
))
484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetType. Expected _wxDataFormat_p.");
491 wxPy_BEGIN_ALLOW_THREADS
;
492 wxDataFormat_SetType(_arg0
,_arg1
);
494 wxPy_END_ALLOW_THREADS
;
495 } Py_INCREF(Py_None
);
496 _resultobj
= Py_None
;
500 #define wxDataFormat_GetType(_swigobj) (_swigobj->GetType())
501 static PyObject
*_wrap_wxDataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
502 PyObject
* _resultobj
;
503 wxDataFormatId _result
;
504 wxDataFormat
* _arg0
;
505 PyObject
* _argo0
= 0;
506 char *_kwnames
[] = { "self", NULL
};
509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetType",_kwnames
,&_argo0
))
512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetType. Expected _wxDataFormat_p.");
519 wxPy_BEGIN_ALLOW_THREADS
;
520 _result
= (wxDataFormatId
)wxDataFormat_GetType(_arg0
);
522 wxPy_END_ALLOW_THREADS
;
523 } _resultobj
= Py_BuildValue("i",_result
);
527 #define wxDataFormat_GetId(_swigobj) (_swigobj->GetId())
528 static PyObject
*_wrap_wxDataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
531 wxDataFormat
* _arg0
;
532 PyObject
* _argo0
= 0;
533 char *_kwnames
[] = { "self", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetId",_kwnames
,&_argo0
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetId. Expected _wxDataFormat_p.");
546 wxPy_BEGIN_ALLOW_THREADS
;
547 _result
= new wxString (wxDataFormat_GetId(_arg0
));
549 wxPy_END_ALLOW_THREADS
;
551 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
559 #define wxDataFormat_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
560 static PyObject
*_wrap_wxDataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
561 PyObject
* _resultobj
;
562 wxDataFormat
* _arg0
;
564 PyObject
* _argo0
= 0;
565 char *_kwnames
[] = { "self","format", NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDataFormat_SetId",_kwnames
,&_argo0
,&_arg1
))
571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetId. Expected _wxDataFormat_p.");
578 wxPy_BEGIN_ALLOW_THREADS
;
579 wxDataFormat_SetId(_arg0
,_arg1
);
581 wxPy_END_ALLOW_THREADS
;
582 } Py_INCREF(Py_None
);
583 _resultobj
= Py_None
;
587 #define delete_wxDataObject(_swigobj) (delete _swigobj)
588 static PyObject
*_wrap_delete_wxDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
590 wxDataObject
* _arg0
;
591 PyObject
* _argo0
= 0;
592 char *_kwnames
[] = { "self", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataObject",_kwnames
,&_argo0
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataObject. Expected _wxDataObject_p.");
605 wxPy_BEGIN_ALLOW_THREADS
;
606 delete_wxDataObject(_arg0
);
608 wxPy_END_ALLOW_THREADS
;
609 } Py_INCREF(Py_None
);
610 _resultobj
= Py_None
;
614 #define wxDataObject_GetPreferredFormat(_swigobj,_swigarg0) (_swigobj->GetPreferredFormat(_swigarg0))
615 static PyObject
*_wrap_wxDataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
617 wxDataFormat
* _result
;
618 wxDataObject
* _arg0
;
619 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
620 PyObject
* _argo0
= 0;
621 char *_kwnames
[] = { "self","dir", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetPreferredFormat",_kwnames
,&_argo0
,&_arg1
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetPreferredFormat. Expected _wxDataObject_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= new wxDataFormat (wxDataObject_GetPreferredFormat(_arg0
,_arg1
));
638 wxPy_END_ALLOW_THREADS
;
639 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDataFormat_p");
640 _resultobj
= Py_BuildValue("s",_ptemp
);
644 #define wxDataObject_GetFormatCount(_swigobj,_swigarg0) (_swigobj->GetFormatCount(_swigarg0))
645 static PyObject
*_wrap_wxDataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
648 wxDataObject
* _arg0
;
649 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
650 PyObject
* _argo0
= 0;
651 char *_kwnames
[] = { "self","dir", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetFormatCount",_kwnames
,&_argo0
,&_arg1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetFormatCount. Expected _wxDataObject_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 _result
= (size_t )wxDataObject_GetFormatCount(_arg0
,_arg1
);
667 wxPy_END_ALLOW_THREADS
;
668 } _resultobj
= Py_BuildValue("i",_result
);
672 #define wxDataObject_GetAllFormats(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAllFormats(_swigarg0,_swigarg1))
673 static PyObject
*_wrap_wxDataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
675 wxDataObject
* _arg0
;
676 wxDataFormat
* _arg1
;
677 wxDataObject::Direction _arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
678 PyObject
* _argo0
= 0;
679 PyObject
* _argo1
= 0;
680 char *_kwnames
[] = { "self","formats","dir", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObject_GetAllFormats",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetAllFormats. Expected _wxDataObject_p.");
693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetAllFormats. Expected _wxDataFormat_p.");
700 wxPy_BEGIN_ALLOW_THREADS
;
701 wxDataObject_GetAllFormats(_arg0
,_arg1
,_arg2
);
703 wxPy_END_ALLOW_THREADS
;
704 } Py_INCREF(Py_None
);
705 _resultobj
= Py_None
;
709 #define wxDataObject_GetDataSize(_swigobj,_swigarg0) (_swigobj->GetDataSize(_swigarg0))
710 static PyObject
*_wrap_wxDataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
713 wxDataObject
* _arg0
;
714 wxDataFormat
* _arg1
;
715 PyObject
* _argo0
= 0;
716 PyObject
* _argo1
= 0;
717 char *_kwnames
[] = { "self","format", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_GetDataSize",_kwnames
,&_argo0
,&_argo1
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataSize. Expected _wxDataObject_p.");
730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataSize. Expected _wxDataFormat_p.");
737 wxPy_BEGIN_ALLOW_THREADS
;
738 _result
= (size_t )wxDataObject_GetDataSize(_arg0
,*_arg1
);
740 wxPy_END_ALLOW_THREADS
;
741 } _resultobj
= Py_BuildValue("i",_result
);
745 #define wxDataObject_GetDataHere(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDataHere(_swigarg0,_swigarg1))
746 static PyObject
*_wrap_wxDataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
749 wxDataObject
* _arg0
;
750 wxDataFormat
* _arg1
;
752 PyObject
* _argo0
= 0;
753 PyObject
* _argo1
= 0;
754 PyObject
* _argo2
= 0;
755 char *_kwnames
[] = { "self","format","buf", NULL
};
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDataObject_GetDataHere",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataHere. Expected _wxDataObject_p.");
768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataHere. Expected _wxDataFormat_p.");
775 if (_argo2
== Py_None
) { _arg2
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDataObject_GetDataHere. Expected _void_p.");
782 wxPy_BEGIN_ALLOW_THREADS
;
783 _result
= (bool )wxDataObject_GetDataHere(_arg0
,*_arg1
,_arg2
);
785 wxPy_END_ALLOW_THREADS
;
786 } _resultobj
= Py_BuildValue("i",_result
);
790 #define wxDataObject_SetData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetData(_swigarg0,_swigarg1,_swigarg2))
791 static PyObject
*_wrap_wxDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
792 PyObject
* _resultobj
;
794 wxDataObject
* _arg0
;
795 wxDataFormat
* _arg1
;
798 PyObject
* _argo0
= 0;
799 PyObject
* _argo1
= 0;
800 PyObject
* _argo3
= 0;
801 char *_kwnames
[] = { "self","format","len","buf", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxDataObject_SetData",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_SetData. Expected _wxDataObject_p.");
814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_SetData. Expected _wxDataFormat_p.");
821 if (_argo3
== Py_None
) { _arg3
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,(char *) 0 )) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDataObject_SetData. Expected _void_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 _result
= (bool )wxDataObject_SetData(_arg0
,*_arg1
,_arg2
,_arg3
);
831 wxPy_END_ALLOW_THREADS
;
832 } _resultobj
= Py_BuildValue("i",_result
);
836 #define wxDataObject_IsSupportedFormat(_swigobj,_swigarg0) (_swigobj->IsSupportedFormat(_swigarg0))
837 static PyObject
*_wrap_wxDataObject_IsSupportedFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 PyObject
* _resultobj
;
840 wxDataObject
* _arg0
;
841 wxDataFormat
* _arg1
;
842 PyObject
* _argo0
= 0;
843 PyObject
* _argo1
= 0;
844 char *_kwnames
[] = { "self","format", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_IsSupportedFormat",_kwnames
,&_argo0
,&_argo1
))
850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_IsSupportedFormat. Expected _wxDataObject_p.");
857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_IsSupportedFormat. Expected _wxDataFormat_p.");
864 wxPy_BEGIN_ALLOW_THREADS
;
865 _result
= (bool )wxDataObject_IsSupportedFormat(_arg0
,*_arg1
);
867 wxPy_END_ALLOW_THREADS
;
868 } _resultobj
= Py_BuildValue("i",_result
);
872 static void *SwigwxDataObjectSimpleTowxDataObject(void *ptr
) {
873 wxDataObjectSimple
*src
;
875 src
= (wxDataObjectSimple
*) ptr
;
876 dest
= (wxDataObject
*) src
;
877 return (void *) dest
;
880 #define new_wxDataObjectSimple(_swigarg0) (new wxDataObjectSimple(_swigarg0))
881 static PyObject
*_wrap_new_wxDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 PyObject
* _resultobj
;
883 wxDataObjectSimple
* _result
;
884 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
885 PyObject
* _argo0
= 0;
886 char *_kwnames
[] = { "format", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxDataObjectSimple",_kwnames
,&_argo0
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDataObjectSimple. Expected _wxDataFormat_p.");
900 wxPy_BEGIN_ALLOW_THREADS
;
901 _result
= (wxDataObjectSimple
*)new_wxDataObjectSimple(*_arg0
);
903 wxPy_END_ALLOW_THREADS
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectSimple_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define wxDataObjectSimple_GetFormat(_swigobj) (_swigobj->GetFormat())
915 static PyObject
*_wrap_wxDataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
917 wxDataFormat
* _result
;
918 wxDataObjectSimple
* _arg0
;
919 PyObject
* _argo0
= 0;
920 char *_kwnames
[] = { "self", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataObjectSimple_GetFormat",_kwnames
,&_argo0
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_GetFormat. Expected _wxDataObjectSimple_p.");
934 wxPy_BEGIN_ALLOW_THREADS
;
935 const wxDataFormat
& _result_ref
= wxDataObjectSimple_GetFormat(_arg0
);
936 _result
= (wxDataFormat
*) &_result_ref
;
938 wxPy_END_ALLOW_THREADS
;
940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
941 _resultobj
= Py_BuildValue("s",_ptemp
);
944 _resultobj
= Py_None
;
949 #define wxDataObjectSimple_SetFormat(_swigobj,_swigarg0) (_swigobj->SetFormat(_swigarg0))
950 static PyObject
*_wrap_wxDataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 PyObject
* _resultobj
;
952 wxDataObjectSimple
* _arg0
;
953 wxDataFormat
* _arg1
;
954 PyObject
* _argo0
= 0;
955 PyObject
* _argo1
= 0;
956 char *_kwnames
[] = { "self","format", NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObjectSimple_SetFormat",_kwnames
,&_argo0
,&_argo1
))
962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_SetFormat. Expected _wxDataObjectSimple_p.");
969 if (_argo1
== Py_None
) { _arg1
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectSimple_SetFormat. Expected _wxDataFormat_p.");
976 wxPy_BEGIN_ALLOW_THREADS
;
977 wxDataObjectSimple_SetFormat(_arg0
,*_arg1
);
979 wxPy_END_ALLOW_THREADS
;
980 } Py_INCREF(Py_None
);
981 _resultobj
= Py_None
;
985 static void *SwigwxPyDataObjectSimpleTowxDataObjectSimple(void *ptr
) {
986 wxPyDataObjectSimple
*src
;
987 wxDataObjectSimple
*dest
;
988 src
= (wxPyDataObjectSimple
*) ptr
;
989 dest
= (wxDataObjectSimple
*) src
;
990 return (void *) dest
;
993 static void *SwigwxPyDataObjectSimpleTowxDataObject(void *ptr
) {
994 wxPyDataObjectSimple
*src
;
996 src
= (wxPyDataObjectSimple
*) ptr
;
997 dest
= (wxDataObject
*) src
;
998 return (void *) dest
;
1001 #define new_wxPyDataObjectSimple(_swigarg0) (new wxPyDataObjectSimple(_swigarg0))
1002 static PyObject
*_wrap_new_wxPyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1004 wxPyDataObjectSimple
* _result
;
1005 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1006 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "format", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDataObjectSimple",_kwnames
,&_argo0
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDataObjectSimple. Expected _wxDataFormat_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (wxPyDataObjectSimple
*)new_wxPyDataObjectSimple(*_arg0
);
1024 wxPy_END_ALLOW_THREADS
;
1026 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDataObjectSimple_p");
1027 _resultobj
= Py_BuildValue("s",_ptemp
);
1030 _resultobj
= Py_None
;
1035 #define wxPyDataObjectSimple__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1036 static PyObject
*_wrap_wxPyDataObjectSimple__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1038 wxPyDataObjectSimple
* _arg0
;
1041 PyObject
* _argo0
= 0;
1042 PyObject
* _obj1
= 0;
1043 PyObject
* _obj2
= 0;
1044 char *_kwnames
[] = { "self","self","_class", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDataObjectSimple__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDataObjectSimple_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDataObjectSimple__setSelf. Expected _wxPyDataObjectSimple_p.");
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 wxPyDataObjectSimple__setSelf(_arg0
,_arg1
,_arg2
);
1066 wxPy_END_ALLOW_THREADS
;
1067 } Py_INCREF(Py_None
);
1068 _resultobj
= Py_None
;
1072 static void *SwigwxDataObjectCompositeTowxDataObject(void *ptr
) {
1073 wxDataObjectComposite
*src
;
1075 src
= (wxDataObjectComposite
*) ptr
;
1076 dest
= (wxDataObject
*) src
;
1077 return (void *) dest
;
1080 #define new_wxDataObjectComposite() (new wxDataObjectComposite())
1081 static PyObject
*_wrap_new_wxDataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1083 wxDataObjectComposite
* _result
;
1084 char *_kwnames
[] = { NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDataObjectComposite",_kwnames
))
1091 wxPy_BEGIN_ALLOW_THREADS
;
1092 _result
= (wxDataObjectComposite
*)new_wxDataObjectComposite();
1094 wxPy_END_ALLOW_THREADS
;
1096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectComposite_p");
1097 _resultobj
= Py_BuildValue("s",_ptemp
);
1100 _resultobj
= Py_None
;
1105 #define wxDataObjectComposite_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1106 static PyObject
*_wrap_wxDataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1108 wxDataObjectComposite
* _arg0
;
1109 wxDataObjectSimple
* _arg1
;
1110 int _arg2
= (int ) FALSE
;
1111 PyObject
* _argo0
= 0;
1112 PyObject
* _argo1
= 0;
1113 char *_kwnames
[] = { "self","dataObject","preferred", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObjectComposite_Add",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectComposite_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectComposite_Add. Expected _wxDataObjectComposite_p.");
1126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObjectSimple_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectComposite_Add. Expected _wxDataObjectSimple_p.");
1133 wxPy_BEGIN_ALLOW_THREADS
;
1134 wxDataObjectComposite_Add(_arg0
,_arg1
,_arg2
);
1136 wxPy_END_ALLOW_THREADS
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 static void *SwigwxTextDataObjectTowxDataObjectSimple(void *ptr
) {
1143 wxTextDataObject
*src
;
1144 wxDataObjectSimple
*dest
;
1145 src
= (wxTextDataObject
*) ptr
;
1146 dest
= (wxDataObjectSimple
*) src
;
1147 return (void *) dest
;
1150 static void *SwigwxTextDataObjectTowxDataObject(void *ptr
) {
1151 wxTextDataObject
*src
;
1153 src
= (wxTextDataObject
*) ptr
;
1154 dest
= (wxDataObject
*) src
;
1155 return (void *) dest
;
1158 #define new_wxTextDataObject(_swigarg0) (new wxTextDataObject(_swigarg0))
1159 static PyObject
*_wrap_new_wxTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1161 wxTextDataObject
* _result
;
1162 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1163 PyObject
* _obj0
= 0;
1164 char *_kwnames
[] = { "text", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTextDataObject",_kwnames
,&_obj0
))
1172 if (!PyString_Check(_obj0
)) {
1173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1176 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1179 wxPy_BEGIN_ALLOW_THREADS
;
1180 _result
= (wxTextDataObject
*)new_wxTextDataObject(*_arg0
);
1182 wxPy_END_ALLOW_THREADS
;
1184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextDataObject_p");
1185 _resultobj
= Py_BuildValue("s",_ptemp
);
1188 _resultobj
= Py_None
;
1197 #define wxTextDataObject_GetTextLength(_swigobj) (_swigobj->GetTextLength())
1198 static PyObject
*_wrap_wxTextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1201 wxTextDataObject
* _arg0
;
1202 PyObject
* _argo0
= 0;
1203 char *_kwnames
[] = { "self", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetTextLength",_kwnames
,&_argo0
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetTextLength. Expected _wxTextDataObject_p.");
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= (size_t )wxTextDataObject_GetTextLength(_arg0
);
1219 wxPy_END_ALLOW_THREADS
;
1220 } _resultobj
= Py_BuildValue("i",_result
);
1224 #define wxTextDataObject_GetText(_swigobj) (_swigobj->GetText())
1225 static PyObject
*_wrap_wxTextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1228 wxTextDataObject
* _arg0
;
1229 PyObject
* _argo0
= 0;
1230 char *_kwnames
[] = { "self", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetText",_kwnames
,&_argo0
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetText. Expected _wxTextDataObject_p.");
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 _result
= new wxString (wxTextDataObject_GetText(_arg0
));
1246 wxPy_END_ALLOW_THREADS
;
1248 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1256 #define wxTextDataObject_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
1257 static PyObject
*_wrap_wxTextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1259 wxTextDataObject
* _arg0
;
1261 PyObject
* _argo0
= 0;
1262 PyObject
* _obj1
= 0;
1263 char *_kwnames
[] = { "self","text", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDataObject_SetText",_kwnames
,&_argo0
,&_obj1
))
1269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_SetText. Expected _wxTextDataObject_p.");
1276 if (!PyString_Check(_obj1
)) {
1277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1280 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 wxTextDataObject_SetText(_arg0
,*_arg1
);
1286 wxPy_END_ALLOW_THREADS
;
1287 } Py_INCREF(Py_None
);
1288 _resultobj
= Py_None
;
1296 static void *SwigwxPyTextDataObjectTowxTextDataObject(void *ptr
) {
1297 wxPyTextDataObject
*src
;
1298 wxTextDataObject
*dest
;
1299 src
= (wxPyTextDataObject
*) ptr
;
1300 dest
= (wxTextDataObject
*) src
;
1301 return (void *) dest
;
1304 static void *SwigwxPyTextDataObjectTowxDataObjectSimple(void *ptr
) {
1305 wxPyTextDataObject
*src
;
1306 wxDataObjectSimple
*dest
;
1307 src
= (wxPyTextDataObject
*) ptr
;
1308 dest
= (wxDataObjectSimple
*) src
;
1309 return (void *) dest
;
1312 static void *SwigwxPyTextDataObjectTowxDataObject(void *ptr
) {
1313 wxPyTextDataObject
*src
;
1315 src
= (wxPyTextDataObject
*) ptr
;
1316 dest
= (wxDataObject
*) src
;
1317 return (void *) dest
;
1320 #define new_wxPyTextDataObject(_swigarg0) (new wxPyTextDataObject(_swigarg0))
1321 static PyObject
*_wrap_new_wxPyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1323 wxPyTextDataObject
* _result
;
1324 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1325 PyObject
* _obj0
= 0;
1326 char *_kwnames
[] = { "text", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyTextDataObject",_kwnames
,&_obj0
))
1334 if (!PyString_Check(_obj0
)) {
1335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1338 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1341 wxPy_BEGIN_ALLOW_THREADS
;
1342 _result
= (wxPyTextDataObject
*)new_wxPyTextDataObject(*_arg0
);
1344 wxPy_END_ALLOW_THREADS
;
1346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDataObject_p");
1347 _resultobj
= Py_BuildValue("s",_ptemp
);
1350 _resultobj
= Py_None
;
1359 #define wxPyTextDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1360 static PyObject
*_wrap_wxPyTextDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1362 wxPyTextDataObject
* _arg0
;
1365 PyObject
* _argo0
= 0;
1366 PyObject
* _obj1
= 0;
1367 PyObject
* _obj2
= 0;
1368 char *_kwnames
[] = { "self","self","_class", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTextDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDataObject_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextDataObject__setSelf. Expected _wxPyTextDataObject_p.");
1387 wxPy_BEGIN_ALLOW_THREADS
;
1388 wxPyTextDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1390 wxPy_END_ALLOW_THREADS
;
1391 } Py_INCREF(Py_None
);
1392 _resultobj
= Py_None
;
1396 static void *SwigwxBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1397 wxBitmapDataObject
*src
;
1398 wxDataObjectSimple
*dest
;
1399 src
= (wxBitmapDataObject
*) ptr
;
1400 dest
= (wxDataObjectSimple
*) src
;
1401 return (void *) dest
;
1404 static void *SwigwxBitmapDataObjectTowxDataObject(void *ptr
) {
1405 wxBitmapDataObject
*src
;
1407 src
= (wxBitmapDataObject
*) ptr
;
1408 dest
= (wxDataObject
*) src
;
1409 return (void *) dest
;
1412 #define new_wxBitmapDataObject(_swigarg0) (new wxBitmapDataObject(_swigarg0))
1413 static PyObject
*_wrap_new_wxBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1415 wxBitmapDataObject
* _result
;
1416 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1417 PyObject
* _argo0
= 0;
1418 char *_kwnames
[] = { "bitmap", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBitmapDataObject",_kwnames
,&_argo0
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapDataObject. Expected _wxBitmap_p.");
1432 wxPy_BEGIN_ALLOW_THREADS
;
1433 _result
= (wxBitmapDataObject
*)new_wxBitmapDataObject(*_arg0
);
1435 wxPy_END_ALLOW_THREADS
;
1437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapDataObject_p");
1438 _resultobj
= Py_BuildValue("s",_ptemp
);
1441 _resultobj
= Py_None
;
1446 #define wxBitmapDataObject_GetBitmap(_swigobj) (_swigobj->GetBitmap())
1447 static PyObject
*_wrap_wxBitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1450 wxBitmapDataObject
* _arg0
;
1451 PyObject
* _argo0
= 0;
1452 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapDataObject_GetBitmap",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_GetBitmap. Expected _wxBitmapDataObject_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= new wxBitmap (wxBitmapDataObject_GetBitmap(_arg0
));
1469 wxPy_END_ALLOW_THREADS
;
1470 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1471 _resultobj
= Py_BuildValue("s",_ptemp
);
1475 #define wxBitmapDataObject_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
1476 static PyObject
*_wrap_wxBitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1478 wxBitmapDataObject
* _arg0
;
1480 PyObject
* _argo0
= 0;
1481 PyObject
* _argo1
= 0;
1482 char *_kwnames
[] = { "self","bitmap", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapDataObject_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
1488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_SetBitmap. Expected _wxBitmapDataObject_p.");
1495 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapDataObject_SetBitmap. Expected _wxBitmap_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 wxBitmapDataObject_SetBitmap(_arg0
,*_arg1
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } Py_INCREF(Py_None
);
1507 _resultobj
= Py_None
;
1511 static void *SwigwxPyBitmapDataObjectTowxBitmapDataObject(void *ptr
) {
1512 wxPyBitmapDataObject
*src
;
1513 wxBitmapDataObject
*dest
;
1514 src
= (wxPyBitmapDataObject
*) ptr
;
1515 dest
= (wxBitmapDataObject
*) src
;
1516 return (void *) dest
;
1519 static void *SwigwxPyBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1520 wxPyBitmapDataObject
*src
;
1521 wxDataObjectSimple
*dest
;
1522 src
= (wxPyBitmapDataObject
*) ptr
;
1523 dest
= (wxDataObjectSimple
*) src
;
1524 return (void *) dest
;
1527 static void *SwigwxPyBitmapDataObjectTowxDataObject(void *ptr
) {
1528 wxPyBitmapDataObject
*src
;
1530 src
= (wxPyBitmapDataObject
*) ptr
;
1531 dest
= (wxDataObject
*) src
;
1532 return (void *) dest
;
1535 #define new_wxPyBitmapDataObject(_swigarg0) (new wxPyBitmapDataObject(_swigarg0))
1536 static PyObject
*_wrap_new_wxPyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1538 wxPyBitmapDataObject
* _result
;
1539 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "bitmap", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyBitmapDataObject",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyBitmapDataObject. Expected _wxBitmap_p.");
1555 wxPy_BEGIN_ALLOW_THREADS
;
1556 _result
= (wxPyBitmapDataObject
*)new_wxPyBitmapDataObject(*_arg0
);
1558 wxPy_END_ALLOW_THREADS
;
1560 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyBitmapDataObject_p");
1561 _resultobj
= Py_BuildValue("s",_ptemp
);
1564 _resultobj
= Py_None
;
1569 #define wxPyBitmapDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1570 static PyObject
*_wrap_wxPyBitmapDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1572 wxPyBitmapDataObject
* _arg0
;
1575 PyObject
* _argo0
= 0;
1576 PyObject
* _obj1
= 0;
1577 PyObject
* _obj2
= 0;
1578 char *_kwnames
[] = { "self","self","_class", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyBitmapDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyBitmapDataObject_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyBitmapDataObject__setSelf. Expected _wxPyBitmapDataObject_p.");
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 wxPyBitmapDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1600 wxPy_END_ALLOW_THREADS
;
1601 } Py_INCREF(Py_None
);
1602 _resultobj
= Py_None
;
1606 static void *SwigwxFileDataObjectTowxDataObjectSimple(void *ptr
) {
1607 wxFileDataObject
*src
;
1608 wxDataObjectSimple
*dest
;
1609 src
= (wxFileDataObject
*) ptr
;
1610 dest
= (wxDataObjectSimple
*) src
;
1611 return (void *) dest
;
1614 static void *SwigwxFileDataObjectTowxDataObject(void *ptr
) {
1615 wxFileDataObject
*src
;
1617 src
= (wxFileDataObject
*) ptr
;
1618 dest
= (wxDataObject
*) src
;
1619 return (void *) dest
;
1622 #define new_wxFileDataObject() (new wxFileDataObject())
1623 static PyObject
*_wrap_new_wxFileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxFileDataObject
* _result
;
1626 char *_kwnames
[] = { NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDataObject",_kwnames
))
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (wxFileDataObject
*)new_wxFileDataObject();
1636 wxPy_END_ALLOW_THREADS
;
1638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDataObject_p");
1639 _resultobj
= Py_BuildValue("s",_ptemp
);
1642 _resultobj
= Py_None
;
1647 static PyObject
* wxFileDataObject_GetFilenames(wxFileDataObject
*self
) {
1648 const wxArrayString
& strings
= self
->GetFilenames();
1649 PyObject
* list
= PyList_New(0);
1650 for (size_t x
=0; x
<strings
.GetCount(); x
++)
1651 PyList_Append(list
, PyString_FromString(strings
[x
]));
1654 static PyObject
*_wrap_wxFileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1657 wxFileDataObject
* _arg0
;
1658 PyObject
* _argo0
= 0;
1659 char *_kwnames
[] = { "self", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDataObject_GetFilenames",_kwnames
,&_argo0
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_GetFilenames. Expected _wxFileDataObject_p.");
1672 wxPy_BEGIN_ALLOW_THREADS
;
1673 _result
= (PyObject
*)wxFileDataObject_GetFilenames(_arg0
);
1675 wxPy_END_ALLOW_THREADS
;
1677 _resultobj
= _result
;
1682 static void *SwigwxCustomDataObjectTowxDataObjectSimple(void *ptr
) {
1683 wxCustomDataObject
*src
;
1684 wxDataObjectSimple
*dest
;
1685 src
= (wxCustomDataObject
*) ptr
;
1686 dest
= (wxDataObjectSimple
*) src
;
1687 return (void *) dest
;
1690 static void *SwigwxCustomDataObjectTowxDataObject(void *ptr
) {
1691 wxCustomDataObject
*src
;
1693 src
= (wxCustomDataObject
*) ptr
;
1694 dest
= (wxDataObject
*) src
;
1695 return (void *) dest
;
1698 #define new_wxCustomDataObject(_swigarg0) (new wxCustomDataObject(_swigarg0))
1699 static PyObject
*_wrap_new_wxCustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1701 wxCustomDataObject
* _result
;
1702 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1703 PyObject
* _argo0
= 0;
1704 char *_kwnames
[] = { "format", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxCustomDataObject",_kwnames
,&_argo0
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCustomDataObject. Expected _wxDataFormat_p.");
1718 wxPy_BEGIN_ALLOW_THREADS
;
1719 _result
= (wxCustomDataObject
*)new_wxCustomDataObject(*_arg0
);
1721 wxPy_END_ALLOW_THREADS
;
1723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCustomDataObject_p");
1724 _resultobj
= Py_BuildValue("s",_ptemp
);
1727 _resultobj
= Py_None
;
1732 static void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
* data
) {
1733 if (PyString_Check(data
)) {
1734 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1737 static PyObject
*_wrap_wxCustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxCustomDataObject
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 PyObject
* _obj1
= 0;
1743 char *_kwnames
[] = { "self","data", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_TakeData",_kwnames
,&_argo0
,&_obj1
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_TakeData. Expected _wxCustomDataObject_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 wxCustomDataObject_TakeData(_arg0
,_arg1
);
1762 wxPy_END_ALLOW_THREADS
;
1763 } Py_INCREF(Py_None
);
1764 _resultobj
= Py_None
;
1768 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
* data
) {
1769 if (PyString_Check(data
)) {
1770 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1774 static PyObject
*_wrap_wxCustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1777 wxCustomDataObject
* _arg0
;
1779 PyObject
* _argo0
= 0;
1780 PyObject
* _obj1
= 0;
1781 char *_kwnames
[] = { "self","data", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_SetData",_kwnames
,&_argo0
,&_obj1
))
1787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_SetData. Expected _wxCustomDataObject_p.");
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 _result
= (bool )wxCustomDataObject_SetData(_arg0
,_arg1
);
1800 wxPy_END_ALLOW_THREADS
;
1801 } _resultobj
= Py_BuildValue("i",_result
);
1805 #define wxCustomDataObject_GetSize(_swigobj) (_swigobj->GetSize())
1806 static PyObject
*_wrap_wxCustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1809 wxCustomDataObject
* _arg0
;
1810 PyObject
* _argo0
= 0;
1811 char *_kwnames
[] = { "self", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetSize",_kwnames
,&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetSize. Expected _wxCustomDataObject_p.");
1824 wxPy_BEGIN_ALLOW_THREADS
;
1825 _result
= (size_t )wxCustomDataObject_GetSize(_arg0
);
1827 wxPy_END_ALLOW_THREADS
;
1828 } _resultobj
= Py_BuildValue("i",_result
);
1832 static PyObject
* wxCustomDataObject_GetData(wxCustomDataObject
*self
) {
1833 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1835 static PyObject
*_wrap_wxCustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1838 wxCustomDataObject
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetData",_kwnames
,&_argo0
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetData. Expected _wxCustomDataObject_p.");
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (PyObject
*)wxCustomDataObject_GetData(_arg0
);
1856 wxPy_END_ALLOW_THREADS
;
1858 _resultobj
= _result
;
1863 #define new_wxClipboard() (new wxClipboard())
1864 static PyObject
*_wrap_new_wxClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1866 wxClipboard
* _result
;
1867 char *_kwnames
[] = { NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxClipboard",_kwnames
))
1874 wxPy_BEGIN_ALLOW_THREADS
;
1875 _result
= (wxClipboard
*)new_wxClipboard();
1877 wxPy_END_ALLOW_THREADS
;
1879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClipboard_p");
1880 _resultobj
= Py_BuildValue("s",_ptemp
);
1883 _resultobj
= Py_None
;
1888 #define wxClipboard_Open(_swigobj) (_swigobj->Open())
1889 static PyObject
*_wrap_wxClipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1892 wxClipboard
* _arg0
;
1893 PyObject
* _argo0
= 0;
1894 char *_kwnames
[] = { "self", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Open",_kwnames
,&_argo0
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Open. Expected _wxClipboard_p.");
1907 wxPy_BEGIN_ALLOW_THREADS
;
1908 _result
= (bool )wxClipboard_Open(_arg0
);
1910 wxPy_END_ALLOW_THREADS
;
1911 } _resultobj
= Py_BuildValue("i",_result
);
1915 #define wxClipboard_Close(_swigobj) (_swigobj->Close())
1916 static PyObject
*_wrap_wxClipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1918 wxClipboard
* _arg0
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Close",_kwnames
,&_argo0
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Close. Expected _wxClipboard_p.");
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 wxClipboard_Close(_arg0
);
1936 wxPy_END_ALLOW_THREADS
;
1937 } Py_INCREF(Py_None
);
1938 _resultobj
= Py_None
;
1942 #define wxClipboard_IsOpened(_swigobj) (_swigobj->IsOpened())
1943 static PyObject
*_wrap_wxClipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1946 wxClipboard
* _arg0
;
1947 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_IsOpened",_kwnames
,&_argo0
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsOpened. Expected _wxClipboard_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (bool )wxClipboard_IsOpened(_arg0
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } _resultobj
= Py_BuildValue("i",_result
);
1969 #define wxClipboard_AddData(_swigobj,_swigarg0) (_swigobj->AddData(_swigarg0))
1970 static PyObject
*_wrap_wxClipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1973 wxClipboard
* _arg0
;
1974 wxDataObject
* _arg1
;
1975 PyObject
* _argo0
= 0;
1976 PyObject
* _argo1
= 0;
1977 char *_kwnames
[] = { "self","data", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_AddData",_kwnames
,&_argo0
,&_argo1
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_AddData. Expected _wxClipboard_p.");
1990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_AddData. Expected _wxDataObject_p.");
1997 wxPy_BEGIN_ALLOW_THREADS
;
1998 _result
= (bool )wxClipboard_AddData(_arg0
,_arg1
);
2000 wxPy_END_ALLOW_THREADS
;
2001 } _resultobj
= Py_BuildValue("i",_result
);
2005 #define wxClipboard_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2006 static PyObject
*_wrap_wxClipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2009 wxClipboard
* _arg0
;
2010 wxDataObject
* _arg1
;
2011 PyObject
* _argo0
= 0;
2012 PyObject
* _argo1
= 0;
2013 char *_kwnames
[] = { "self","data", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_SetData",_kwnames
,&_argo0
,&_argo1
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_SetData. Expected _wxClipboard_p.");
2026 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_SetData. Expected _wxDataObject_p.");
2033 wxPy_BEGIN_ALLOW_THREADS
;
2034 _result
= (bool )wxClipboard_SetData(_arg0
,_arg1
);
2036 wxPy_END_ALLOW_THREADS
;
2037 } _resultobj
= Py_BuildValue("i",_result
);
2041 #define wxClipboard_IsSupported(_swigobj,_swigarg0) (_swigobj->IsSupported(_swigarg0))
2042 static PyObject
*_wrap_wxClipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2045 wxClipboard
* _arg0
;
2046 wxDataFormat
* _arg1
;
2047 PyObject
* _argo0
= 0;
2048 PyObject
* _argo1
= 0;
2049 char *_kwnames
[] = { "self","format", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_IsSupported",_kwnames
,&_argo0
,&_argo1
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsSupported. Expected _wxClipboard_p.");
2062 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_IsSupported. Expected _wxDataFormat_p.");
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 _result
= (bool )wxClipboard_IsSupported(_arg0
,*_arg1
);
2072 wxPy_END_ALLOW_THREADS
;
2073 } _resultobj
= Py_BuildValue("i",_result
);
2077 #define wxClipboard_GetData(_swigobj,_swigarg0) (_swigobj->GetData(_swigarg0))
2078 static PyObject
*_wrap_wxClipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
* _resultobj
;
2081 wxClipboard
* _arg0
;
2082 wxDataObject
* _arg1
;
2083 PyObject
* _argo0
= 0;
2084 PyObject
* _argo1
= 0;
2085 char *_kwnames
[] = { "self","data", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_GetData",_kwnames
,&_argo0
,&_argo1
))
2091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_GetData. Expected _wxClipboard_p.");
2098 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_GetData. Expected _wxDataObject_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 _result
= (bool )wxClipboard_GetData(_arg0
,*_arg1
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } _resultobj
= Py_BuildValue("i",_result
);
2113 #define wxClipboard_Clear(_swigobj) (_swigobj->Clear())
2114 static PyObject
*_wrap_wxClipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2116 wxClipboard
* _arg0
;
2117 PyObject
* _argo0
= 0;
2118 char *_kwnames
[] = { "self", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Clear",_kwnames
,&_argo0
))
2124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Clear. Expected _wxClipboard_p.");
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 wxClipboard_Clear(_arg0
);
2134 wxPy_END_ALLOW_THREADS
;
2135 } Py_INCREF(Py_None
);
2136 _resultobj
= Py_None
;
2140 #define wxClipboard_Flush(_swigobj) (_swigobj->Flush())
2141 static PyObject
*_wrap_wxClipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2144 wxClipboard
* _arg0
;
2145 PyObject
* _argo0
= 0;
2146 char *_kwnames
[] = { "self", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Flush",_kwnames
,&_argo0
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Flush. Expected _wxClipboard_p.");
2159 wxPy_BEGIN_ALLOW_THREADS
;
2160 _result
= (bool )wxClipboard_Flush(_arg0
);
2162 wxPy_END_ALLOW_THREADS
;
2163 } _resultobj
= Py_BuildValue("i",_result
);
2167 #define wxClipboard_UsePrimarySelection(_swigobj,_swigarg0) (_swigobj->UsePrimarySelection(_swigarg0))
2168 static PyObject
*_wrap_wxClipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2170 wxClipboard
* _arg0
;
2171 int _arg1
= (int ) FALSE
;
2172 PyObject
* _argo0
= 0;
2173 char *_kwnames
[] = { "self","primary", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxClipboard_UsePrimarySelection",_kwnames
,&_argo0
,&_arg1
))
2179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_UsePrimarySelection. Expected _wxClipboard_p.");
2186 wxPy_BEGIN_ALLOW_THREADS
;
2187 wxClipboard_UsePrimarySelection(_arg0
,_arg1
);
2189 wxPy_END_ALLOW_THREADS
;
2190 } Py_INCREF(Py_None
);
2191 _resultobj
= Py_None
;
2195 #define new_wxDropSource(_swigarg0,_swigarg1) (new wxPyDropSource(_swigarg0,_swigarg1))
2196 static PyObject
*_wrap_new_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2198 wxPyDropSource
* _result
;
2199 wxWindow
* _arg0
= (wxWindow
*) NULL
;
2200 wxIcon
* _arg1
= (wxIcon
*) &wxNullIcon
;
2201 PyObject
* _argo0
= 0;
2202 PyObject
* _argo1
= 0;
2203 char *_kwnames
[] = { "win","go", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxDropSource",_kwnames
,&_argo0
,&_argo1
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDropSource. Expected _wxWindow_p.");
2217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDropSource. Expected _wxIcon_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 _result
= (wxPyDropSource
*)new_wxDropSource(_arg0
,*_arg1
);
2227 wxPy_END_ALLOW_THREADS
;
2229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropSource_p");
2230 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 _resultobj
= Py_None
;
2238 #define wxDropSource__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
2239 static PyObject
*_wrap_wxDropSource__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2241 wxPyDropSource
* _arg0
;
2245 PyObject
* _argo0
= 0;
2246 PyObject
* _obj1
= 0;
2247 PyObject
* _obj2
= 0;
2248 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxDropSource__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource__setSelf. Expected _wxPyDropSource_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 wxDropSource__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
2270 wxPy_END_ALLOW_THREADS
;
2271 } Py_INCREF(Py_None
);
2272 _resultobj
= Py_None
;
2276 #define delete_wxPyDropSource(_swigobj) (delete _swigobj)
2277 static PyObject
*_wrap_delete_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2279 wxPyDropSource
* _arg0
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDropSource",_kwnames
,&_argo0
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDropSource. Expected _wxPyDropSource_p.");
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 delete_wxPyDropSource(_arg0
);
2297 wxPy_END_ALLOW_THREADS
;
2298 } Py_INCREF(Py_None
);
2299 _resultobj
= Py_None
;
2303 #define wxDropSource_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2304 static PyObject
*_wrap_wxDropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2306 wxPyDropSource
* _arg0
;
2307 wxDataObject
* _arg1
;
2308 PyObject
* _argo0
= 0;
2309 PyObject
* _argo1
= 0;
2310 char *_kwnames
[] = { "self","data", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource_SetData",_kwnames
,&_argo0
,&_argo1
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetData. Expected _wxPyDropSource_p.");
2323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDropSource_SetData. Expected _wxDataObject_p.");
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 wxDropSource_SetData(_arg0
,*_arg1
);
2333 wxPy_END_ALLOW_THREADS
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxDropSource_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2340 static PyObject
*_wrap_wxDropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2342 wxDataObject
* _result
;
2343 wxPyDropSource
* _arg0
;
2344 PyObject
* _argo0
= 0;
2345 char *_kwnames
[] = { "self", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropSource_GetDataObject",_kwnames
,&_argo0
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_GetDataObject. Expected _wxPyDropSource_p.");
2359 wxPy_BEGIN_ALLOW_THREADS
;
2360 _result
= (wxDataObject
*)wxDropSource_GetDataObject(_arg0
);
2362 wxPy_END_ALLOW_THREADS
;
2364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2365 _resultobj
= Py_BuildValue("s",_ptemp
);
2368 _resultobj
= Py_None
;
2373 #define wxDropSource_SetCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursor(_swigarg0,_swigarg1))
2374 static PyObject
*_wrap_wxDropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2376 wxPyDropSource
* _arg0
;
2379 PyObject
* _argo0
= 0;
2380 PyObject
* _argo2
= 0;
2381 char *_kwnames
[] = { "self","res","cursor", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxDropSource_SetCursor",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetCursor. Expected _wxPyDropSource_p.");
2394 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDropSource_SetCursor. Expected _wxCursor_p.");
2401 wxPy_BEGIN_ALLOW_THREADS
;
2402 wxDropSource_SetCursor(_arg0
,_arg1
,*_arg2
);
2404 wxPy_END_ALLOW_THREADS
;
2405 } Py_INCREF(Py_None
);
2406 _resultobj
= Py_None
;
2410 #define wxDropSource_DoDragDrop(_swigobj,_swigarg0) (_swigobj->DoDragDrop(_swigarg0))
2411 static PyObject
*_wrap_wxDropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2413 wxDragResult _result
;
2414 wxPyDropSource
* _arg0
;
2415 int _arg1
= (int ) FALSE
;
2416 PyObject
* _argo0
= 0;
2417 char *_kwnames
[] = { "self","bAllowMove", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDropSource_DoDragDrop",_kwnames
,&_argo0
,&_arg1
))
2423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_DoDragDrop. Expected _wxPyDropSource_p.");
2430 wxPy_BEGIN_ALLOW_THREADS
;
2431 _result
= (wxDragResult
)wxDropSource_DoDragDrop(_arg0
,_arg1
);
2433 wxPy_END_ALLOW_THREADS
;
2434 } _resultobj
= Py_BuildValue("i",_result
);
2438 #define wxDropSource_base_GiveFeedback(_swigobj,_swigarg0) (_swigobj->base_GiveFeedback(_swigarg0))
2439 static PyObject
*_wrap_wxDropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
* _resultobj
;
2442 wxPyDropSource
* _arg0
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self","effect", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDropSource_base_GiveFeedback",_kwnames
,&_argo0
,&_arg1
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_base_GiveFeedback. Expected _wxPyDropSource_p.");
2458 wxPy_BEGIN_ALLOW_THREADS
;
2459 _result
= (bool )wxDropSource_base_GiveFeedback(_arg0
,_arg1
);
2461 wxPy_END_ALLOW_THREADS
;
2462 } _resultobj
= Py_BuildValue("i",_result
);
2466 static void *SwigwxPyDropTargetTowxDropTarget(void *ptr
) {
2467 wxPyDropTarget
*src
;
2469 src
= (wxPyDropTarget
*) ptr
;
2470 dest
= (wxDropTarget
*) src
;
2471 return (void *) dest
;
2474 #define new_wxPyDropTarget(_swigarg0) (new wxPyDropTarget(_swigarg0))
2475 static PyObject
*_wrap_new_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2477 wxPyDropTarget
* _result
;
2478 wxDataObject
* _arg0
= (wxDataObject
*) NULL
;
2479 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "dataObject", NULL
};
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDropTarget",_kwnames
,&_argo0
))
2487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDropTarget. Expected _wxDataObject_p.");
2494 wxPy_BEGIN_ALLOW_THREADS
;
2495 _result
= (wxPyDropTarget
*)new_wxPyDropTarget(_arg0
);
2497 wxPy_END_ALLOW_THREADS
;
2499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropTarget_p");
2500 _resultobj
= Py_BuildValue("s",_ptemp
);
2503 _resultobj
= Py_None
;
2508 #define wxPyDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2509 static PyObject
*_wrap_wxPyDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2511 wxPyDropTarget
* _arg0
;
2514 PyObject
* _argo0
= 0;
2515 PyObject
* _obj1
= 0;
2516 PyObject
* _obj2
= 0;
2517 char *_kwnames
[] = { "self","self","_class", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget__setSelf. Expected _wxPyDropTarget_p.");
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 wxPyDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2539 wxPy_END_ALLOW_THREADS
;
2540 } Py_INCREF(Py_None
);
2541 _resultobj
= Py_None
;
2545 #define delete_wxPyDropTarget(_swigobj) (delete _swigobj)
2546 static PyObject
*_wrap_delete_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2548 wxPyDropTarget
* _arg0
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyDropTarget",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyDropTarget. Expected _wxPyDropTarget_p.");
2563 wxPy_BEGIN_ALLOW_THREADS
;
2564 delete_wxPyDropTarget(_arg0
);
2566 wxPy_END_ALLOW_THREADS
;
2567 } Py_INCREF(Py_None
);
2568 _resultobj
= Py_None
;
2572 #define wxPyDropTarget_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2573 static PyObject
*_wrap_wxPyDropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2575 wxDataObject
* _result
;
2576 wxPyDropTarget
* _arg0
;
2577 PyObject
* _argo0
= 0;
2578 char *_kwnames
[] = { "self", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetDataObject",_kwnames
,&_argo0
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetDataObject. Expected _wxPyDropTarget_p.");
2592 wxPy_BEGIN_ALLOW_THREADS
;
2593 _result
= (wxDataObject
*)wxPyDropTarget_GetDataObject(_arg0
);
2595 wxPy_END_ALLOW_THREADS
;
2597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2598 _resultobj
= Py_BuildValue("s",_ptemp
);
2601 _resultobj
= Py_None
;
2606 #define wxPyDropTarget_SetDataObject(_swigobj,_swigarg0) (_swigobj->SetDataObject(_swigarg0))
2607 static PyObject
*_wrap_wxPyDropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2609 wxPyDropTarget
* _arg0
;
2610 wxDataObject
* _arg1
;
2611 PyObject
* _argo0
= 0;
2612 PyObject
* _argo1
= 0;
2613 char *_kwnames
[] = { "self","dataObject", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget_SetDataObject",_kwnames
,&_argo0
,&_argo1
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_SetDataObject. Expected _wxPyDropTarget_p.");
2626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyDropTarget_SetDataObject. Expected _wxDataObject_p.");
2633 wxPy_BEGIN_ALLOW_THREADS
;
2634 wxPyDropTarget_SetDataObject(_arg0
,_arg1
);
2636 wxPy_END_ALLOW_THREADS
;
2637 } Py_INCREF(Py_None
);
2638 _resultobj
= Py_None
;
2642 #define wxPyDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2643 static PyObject
*_wrap_wxPyDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2645 wxDragResult _result
;
2646 wxPyDropTarget
* _arg0
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self","x","y","def", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnEnter. Expected _wxPyDropTarget_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 _result
= (wxDragResult
)wxPyDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2667 wxPy_END_ALLOW_THREADS
;
2668 } _resultobj
= Py_BuildValue("i",_result
);
2672 #define wxPyDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2673 static PyObject
*_wrap_wxPyDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2675 wxDragResult _result
;
2676 wxPyDropTarget
* _arg0
;
2680 PyObject
* _argo0
= 0;
2681 char *_kwnames
[] = { "self","x","y","def", NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDragOver. Expected _wxPyDropTarget_p.");
2694 wxPy_BEGIN_ALLOW_THREADS
;
2695 _result
= (wxDragResult
)wxPyDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2697 wxPy_END_ALLOW_THREADS
;
2698 } _resultobj
= Py_BuildValue("i",_result
);
2702 #define wxPyDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2703 static PyObject
*_wrap_wxPyDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2705 wxPyDropTarget
* _arg0
;
2706 PyObject
* _argo0
= 0;
2707 char *_kwnames
[] = { "self", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnLeave. Expected _wxPyDropTarget_p.");
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 wxPyDropTarget_base_OnLeave(_arg0
);
2723 wxPy_END_ALLOW_THREADS
;
2724 } Py_INCREF(Py_None
);
2725 _resultobj
= Py_None
;
2729 #define wxPyDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2730 static PyObject
*_wrap_wxPyDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
* _resultobj
;
2733 wxPyDropTarget
* _arg0
;
2736 PyObject
* _argo0
= 0;
2737 char *_kwnames
[] = { "self","x","y", NULL
};
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDrop. Expected _wxPyDropTarget_p.");
2750 wxPy_BEGIN_ALLOW_THREADS
;
2751 _result
= (bool )wxPyDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2753 wxPy_END_ALLOW_THREADS
;
2754 } _resultobj
= Py_BuildValue("i",_result
);
2758 #define wxPyDropTarget_GetData(_swigobj) (_swigobj->GetData())
2759 static PyObject
*_wrap_wxPyDropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
* _resultobj
;
2762 wxPyDropTarget
* _arg0
;
2763 PyObject
* _argo0
= 0;
2764 char *_kwnames
[] = { "self", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetData",_kwnames
,&_argo0
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetData. Expected _wxPyDropTarget_p.");
2777 wxPy_BEGIN_ALLOW_THREADS
;
2778 _result
= (bool )wxPyDropTarget_GetData(_arg0
);
2780 wxPy_END_ALLOW_THREADS
;
2781 } _resultobj
= Py_BuildValue("i",_result
);
2785 static void *SwigwxPyTextDropTargetTowxPyDropTarget(void *ptr
) {
2786 wxPyTextDropTarget
*src
;
2787 wxPyDropTarget
*dest
;
2788 src
= (wxPyTextDropTarget
*) ptr
;
2789 dest
= (wxPyDropTarget
*) src
;
2790 return (void *) dest
;
2793 static void *SwigwxPyTextDropTargetTowxDropTarget(void *ptr
) {
2794 wxPyTextDropTarget
*src
;
2796 src
= (wxPyTextDropTarget
*) ptr
;
2797 dest
= (wxDropTarget
*) src
;
2798 return (void *) dest
;
2801 #define new_wxTextDropTarget() (new wxPyTextDropTarget())
2802 static PyObject
*_wrap_new_wxTextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2804 wxPyTextDropTarget
* _result
;
2805 char *_kwnames
[] = { NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTextDropTarget",_kwnames
))
2812 wxPy_BEGIN_ALLOW_THREADS
;
2813 _result
= (wxPyTextDropTarget
*)new_wxTextDropTarget();
2815 wxPy_END_ALLOW_THREADS
;
2817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDropTarget_p");
2818 _resultobj
= Py_BuildValue("s",_ptemp
);
2821 _resultobj
= Py_None
;
2826 #define wxTextDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2827 static PyObject
*_wrap_wxTextDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2829 wxPyTextDropTarget
* _arg0
;
2832 PyObject
* _argo0
= 0;
2833 PyObject
* _obj1
= 0;
2834 PyObject
* _obj2
= 0;
2835 char *_kwnames
[] = { "self","self","_class", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget__setSelf. Expected _wxPyTextDropTarget_p.");
2854 wxPy_BEGIN_ALLOW_THREADS
;
2855 wxTextDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2857 wxPy_END_ALLOW_THREADS
;
2858 } Py_INCREF(Py_None
);
2859 _resultobj
= Py_None
;
2863 #define wxTextDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2864 static PyObject
*_wrap_wxTextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2866 wxDragResult _result
;
2867 wxPyTextDropTarget
* _arg0
;
2871 PyObject
* _argo0
= 0;
2872 char *_kwnames
[] = { "self","x","y","def", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnEnter. Expected _wxPyTextDropTarget_p.");
2885 wxPy_BEGIN_ALLOW_THREADS
;
2886 _result
= (wxDragResult
)wxTextDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2888 wxPy_END_ALLOW_THREADS
;
2889 } _resultobj
= Py_BuildValue("i",_result
);
2893 #define wxTextDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2894 static PyObject
*_wrap_wxTextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
* _resultobj
;
2896 wxDragResult _result
;
2897 wxPyTextDropTarget
* _arg0
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self","x","y","def", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDragOver. Expected _wxPyTextDropTarget_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 _result
= (wxDragResult
)wxTextDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } _resultobj
= Py_BuildValue("i",_result
);
2923 #define wxTextDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2924 static PyObject
*_wrap_wxTextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2926 wxPyTextDropTarget
* _arg0
;
2927 PyObject
* _argo0
= 0;
2928 char *_kwnames
[] = { "self", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnLeave. Expected _wxPyTextDropTarget_p.");
2941 wxPy_BEGIN_ALLOW_THREADS
;
2942 wxTextDropTarget_base_OnLeave(_arg0
);
2944 wxPy_END_ALLOW_THREADS
;
2945 } Py_INCREF(Py_None
);
2946 _resultobj
= Py_None
;
2950 #define wxTextDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2951 static PyObject
*_wrap_wxTextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2954 wxPyTextDropTarget
* _arg0
;
2957 PyObject
* _argo0
= 0;
2958 char *_kwnames
[] = { "self","x","y", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTextDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDrop. Expected _wxPyTextDropTarget_p.");
2971 wxPy_BEGIN_ALLOW_THREADS
;
2972 _result
= (bool )wxTextDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2974 wxPy_END_ALLOW_THREADS
;
2975 } _resultobj
= Py_BuildValue("i",_result
);
2979 #define wxTextDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
2980 static PyObject
*_wrap_wxTextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2982 wxDragResult _result
;
2983 wxPyTextDropTarget
* _arg0
;
2987 PyObject
* _argo0
= 0;
2988 char *_kwnames
[] = { "self","x","y","def", NULL
};
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnData. Expected _wxPyTextDropTarget_p.");
3001 wxPy_BEGIN_ALLOW_THREADS
;
3002 _result
= (wxDragResult
)wxTextDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3004 wxPy_END_ALLOW_THREADS
;
3005 } _resultobj
= Py_BuildValue("i",_result
);
3009 static void *SwigwxPyFileDropTargetTowxPyDropTarget(void *ptr
) {
3010 wxPyFileDropTarget
*src
;
3011 wxPyDropTarget
*dest
;
3012 src
= (wxPyFileDropTarget
*) ptr
;
3013 dest
= (wxPyDropTarget
*) src
;
3014 return (void *) dest
;
3017 static void *SwigwxPyFileDropTargetTowxDropTarget(void *ptr
) {
3018 wxPyFileDropTarget
*src
;
3020 src
= (wxPyFileDropTarget
*) ptr
;
3021 dest
= (wxDropTarget
*) src
;
3022 return (void *) dest
;
3025 #define new_wxFileDropTarget() (new wxPyFileDropTarget())
3026 static PyObject
*_wrap_new_wxFileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3028 wxPyFileDropTarget
* _result
;
3029 char *_kwnames
[] = { NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDropTarget",_kwnames
))
3036 wxPy_BEGIN_ALLOW_THREADS
;
3037 _result
= (wxPyFileDropTarget
*)new_wxFileDropTarget();
3039 wxPy_END_ALLOW_THREADS
;
3041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileDropTarget_p");
3042 _resultobj
= Py_BuildValue("s",_ptemp
);
3045 _resultobj
= Py_None
;
3050 #define wxFileDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3051 static PyObject
*_wrap_wxFileDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3053 wxPyFileDropTarget
* _arg0
;
3056 PyObject
* _argo0
= 0;
3057 PyObject
* _obj1
= 0;
3058 PyObject
* _obj2
= 0;
3059 char *_kwnames
[] = { "self","self","_class", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget__setSelf. Expected _wxPyFileDropTarget_p.");
3078 wxPy_BEGIN_ALLOW_THREADS
;
3079 wxFileDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
3081 wxPy_END_ALLOW_THREADS
;
3082 } Py_INCREF(Py_None
);
3083 _resultobj
= Py_None
;
3087 #define wxFileDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
3088 static PyObject
*_wrap_wxFileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3090 wxDragResult _result
;
3091 wxPyFileDropTarget
* _arg0
;
3095 PyObject
* _argo0
= 0;
3096 char *_kwnames
[] = { "self","x","y","def", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnEnter. Expected _wxPyFileDropTarget_p.");
3109 wxPy_BEGIN_ALLOW_THREADS
;
3110 _result
= (wxDragResult
)wxFileDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
3112 wxPy_END_ALLOW_THREADS
;
3113 } _resultobj
= Py_BuildValue("i",_result
);
3117 #define wxFileDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
3118 static PyObject
*_wrap_wxFileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3120 wxDragResult _result
;
3121 wxPyFileDropTarget
* _arg0
;
3125 PyObject
* _argo0
= 0;
3126 char *_kwnames
[] = { "self","x","y","def", NULL
};
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDragOver. Expected _wxPyFileDropTarget_p.");
3139 wxPy_BEGIN_ALLOW_THREADS
;
3140 _result
= (wxDragResult
)wxFileDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
3142 wxPy_END_ALLOW_THREADS
;
3143 } _resultobj
= Py_BuildValue("i",_result
);
3147 #define wxFileDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
3148 static PyObject
*_wrap_wxFileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
* _resultobj
;
3150 wxPyFileDropTarget
* _arg0
;
3151 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDropTarget_base_OnLeave",_kwnames
,&_argo0
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnLeave. Expected _wxPyFileDropTarget_p.");
3165 wxPy_BEGIN_ALLOW_THREADS
;
3166 wxFileDropTarget_base_OnLeave(_arg0
);
3168 wxPy_END_ALLOW_THREADS
;
3169 } Py_INCREF(Py_None
);
3170 _resultobj
= Py_None
;
3174 #define wxFileDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3175 static PyObject
*_wrap_wxFileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3178 wxPyFileDropTarget
* _arg0
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self","x","y", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFileDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDrop. Expected _wxPyFileDropTarget_p.");
3195 wxPy_BEGIN_ALLOW_THREADS
;
3196 _result
= (bool )wxFileDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3198 wxPy_END_ALLOW_THREADS
;
3199 } _resultobj
= Py_BuildValue("i",_result
);
3203 #define wxFileDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3204 static PyObject
*_wrap_wxFileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
* _resultobj
;
3206 wxDragResult _result
;
3207 wxPyFileDropTarget
* _arg0
;
3211 PyObject
* _argo0
= 0;
3212 char *_kwnames
[] = { "self","x","y","def", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnData. Expected _wxPyFileDropTarget_p.");
3225 wxPy_BEGIN_ALLOW_THREADS
;
3226 _result
= (wxDragResult
)wxFileDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3228 wxPy_END_ALLOW_THREADS
;
3229 } _resultobj
= Py_BuildValue("i",_result
);
3233 static PyMethodDef clip_dndcMethods
[] = {
3234 { "wxFileDropTarget_base_OnData", (PyCFunction
) _wrap_wxFileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3235 { "wxFileDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3236 { "wxFileDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxFileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3237 { "wxFileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3238 { "wxFileDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxFileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3239 { "wxFileDropTarget__setSelf", (PyCFunction
) _wrap_wxFileDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3240 { "new_wxFileDropTarget", (PyCFunction
) _wrap_new_wxFileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3241 { "wxTextDropTarget_base_OnData", (PyCFunction
) _wrap_wxTextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3242 { "wxTextDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3243 { "wxTextDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxTextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3244 { "wxTextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3245 { "wxTextDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxTextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3246 { "wxTextDropTarget__setSelf", (PyCFunction
) _wrap_wxTextDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3247 { "new_wxTextDropTarget", (PyCFunction
) _wrap_new_wxTextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3248 { "wxPyDropTarget_GetData", (PyCFunction
) _wrap_wxPyDropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3249 { "wxPyDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3250 { "wxPyDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxPyDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3251 { "wxPyDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3252 { "wxPyDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxPyDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3253 { "wxPyDropTarget_SetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3254 { "wxPyDropTarget_GetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3255 { "delete_wxPyDropTarget", (PyCFunction
) _wrap_delete_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3256 { "wxPyDropTarget__setSelf", (PyCFunction
) _wrap_wxPyDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3257 { "new_wxPyDropTarget", (PyCFunction
) _wrap_new_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3258 { "wxDropSource_base_GiveFeedback", (PyCFunction
) _wrap_wxDropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
3259 { "wxDropSource_DoDragDrop", (PyCFunction
) _wrap_wxDropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
3260 { "wxDropSource_SetCursor", (PyCFunction
) _wrap_wxDropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
3261 { "wxDropSource_GetDataObject", (PyCFunction
) _wrap_wxDropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3262 { "wxDropSource_SetData", (PyCFunction
) _wrap_wxDropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3263 { "delete_wxDropSource", (PyCFunction
) _wrap_delete_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3264 { "wxDropSource__setSelf", (PyCFunction
) _wrap_wxDropSource__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3265 { "new_wxDropSource", (PyCFunction
) _wrap_new_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3266 { "wxClipboard_UsePrimarySelection", (PyCFunction
) _wrap_wxClipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
3267 { "wxClipboard_Flush", (PyCFunction
) _wrap_wxClipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
3268 { "wxClipboard_Clear", (PyCFunction
) _wrap_wxClipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3269 { "wxClipboard_GetData", (PyCFunction
) _wrap_wxClipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3270 { "wxClipboard_IsSupported", (PyCFunction
) _wrap_wxClipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
3271 { "wxClipboard_SetData", (PyCFunction
) _wrap_wxClipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3272 { "wxClipboard_AddData", (PyCFunction
) _wrap_wxClipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
3273 { "wxClipboard_IsOpened", (PyCFunction
) _wrap_wxClipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
3274 { "wxClipboard_Close", (PyCFunction
) _wrap_wxClipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
3275 { "wxClipboard_Open", (PyCFunction
) _wrap_wxClipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
3276 { "new_wxClipboard", (PyCFunction
) _wrap_new_wxClipboard
, METH_VARARGS
| METH_KEYWORDS
},
3277 { "wxCustomDataObject_GetData", (PyCFunction
) _wrap_wxCustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3278 { "wxCustomDataObject_GetSize", (PyCFunction
) _wrap_wxCustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3279 { "wxCustomDataObject_SetData", (PyCFunction
) _wrap_wxCustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3280 { "wxCustomDataObject_TakeData", (PyCFunction
) _wrap_wxCustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
3281 { "new_wxCustomDataObject", (PyCFunction
) _wrap_new_wxCustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3282 { "wxFileDataObject_GetFilenames", (PyCFunction
) _wrap_wxFileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3283 { "new_wxFileDataObject", (PyCFunction
) _wrap_new_wxFileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3284 { "wxPyBitmapDataObject__setSelf", (PyCFunction
) _wrap_wxPyBitmapDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3285 { "new_wxPyBitmapDataObject", (PyCFunction
) _wrap_new_wxPyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3286 { "wxBitmapDataObject_SetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3287 { "wxBitmapDataObject_GetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3288 { "new_wxBitmapDataObject", (PyCFunction
) _wrap_new_wxBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3289 { "wxPyTextDataObject__setSelf", (PyCFunction
) _wrap_wxPyTextDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3290 { "new_wxPyTextDataObject", (PyCFunction
) _wrap_new_wxPyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3291 { "wxTextDataObject_SetText", (PyCFunction
) _wrap_wxTextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3292 { "wxTextDataObject_GetText", (PyCFunction
) _wrap_wxTextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3293 { "wxTextDataObject_GetTextLength", (PyCFunction
) _wrap_wxTextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
3294 { "new_wxTextDataObject", (PyCFunction
) _wrap_new_wxTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3295 { "wxDataObjectComposite_Add", (PyCFunction
) _wrap_wxDataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
3296 { "new_wxDataObjectComposite", (PyCFunction
) _wrap_new_wxDataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
3297 { "wxPyDataObjectSimple__setSelf", (PyCFunction
) _wrap_wxPyDataObjectSimple__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3298 { "new_wxPyDataObjectSimple", (PyCFunction
) _wrap_new_wxPyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3299 { "wxDataObjectSimple_SetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3300 { "wxDataObjectSimple_GetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3301 { "new_wxDataObjectSimple", (PyCFunction
) _wrap_new_wxDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3302 { "wxDataObject_IsSupportedFormat", (PyCFunction
) _wrap_wxDataObject_IsSupportedFormat
, METH_VARARGS
| METH_KEYWORDS
},
3303 { "wxDataObject_SetData", (PyCFunction
) _wrap_wxDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3304 { "wxDataObject_GetDataHere", (PyCFunction
) _wrap_wxDataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
3305 { "wxDataObject_GetDataSize", (PyCFunction
) _wrap_wxDataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
3306 { "wxDataObject_GetAllFormats", (PyCFunction
) _wrap_wxDataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
3307 { "wxDataObject_GetFormatCount", (PyCFunction
) _wrap_wxDataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
3308 { "wxDataObject_GetPreferredFormat", (PyCFunction
) _wrap_wxDataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
3309 { "delete_wxDataObject", (PyCFunction
) _wrap_delete_wxDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3310 { "wxDataFormat_SetId", (PyCFunction
) _wrap_wxDataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3311 { "wxDataFormat_GetId", (PyCFunction
) _wrap_wxDataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3312 { "wxDataFormat_GetType", (PyCFunction
) _wrap_wxDataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
3313 { "wxDataFormat_SetType", (PyCFunction
) _wrap_wxDataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
3314 { "delete_wxDataFormat", (PyCFunction
) _wrap_delete_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3315 { "new_wxDataFormat", (PyCFunction
) _wrap_new_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3316 { "wxIsDragResultOk", (PyCFunction
) _wrap_wxIsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
3317 { "wxCustomDataFormat", (PyCFunction
) _wrap_wxCustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3324 * This table is used by the pointer type-checker
3326 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3327 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3328 { "_signed_long","_long",0},
3329 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3330 { "_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3331 { "_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3332 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3333 { "_wxPrintQuality","_wxCoord",0},
3334 { "_wxPrintQuality","_int",0},
3335 { "_wxPrintQuality","_signed_int",0},
3336 { "_wxPrintQuality","_unsigned_int",0},
3337 { "_wxPrintQuality","_wxWindowID",0},
3338 { "_wxPrintQuality","_uint",0},
3339 { "_wxPrintQuality","_EBool",0},
3340 { "_wxPrintQuality","_size_t",0},
3341 { "_wxPrintQuality","_time_t",0},
3342 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3343 { "_class_wxRegionIterator","_wxRegionIterator",0},
3344 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3345 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3346 { "_wxCursor","_class_wxCursor",0},
3347 { "_wxMask","_class_wxMask",0},
3348 { "_wxPen","_class_wxPen",0},
3349 { "_byte","_unsigned_char",0},
3350 { "_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3351 { "_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3352 { "_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3353 { "_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3354 { "_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3355 { "_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3356 { "_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3357 { "_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3358 { "_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3359 { "_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3360 { "_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3361 { "_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3362 { "_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3363 { "_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3364 { "_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3365 { "_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3366 { "_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3367 { "_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3368 { "_wxDataObject","_class_wxDataObject",0},
3369 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3370 { "_wxPyDropSource","_class_wxPyDropSource",0},
3371 { "_long","_unsigned_long",0},
3372 { "_long","_signed_long",0},
3373 { "_wxImageList","_class_wxImageList",0},
3374 { "_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3375 { "_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3376 { "_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3377 { "_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3378 { "_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3379 { "_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3380 { "_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3381 { "_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3382 { "_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3383 { "_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3384 { "_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3385 { "_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3386 { "_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3387 { "_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3388 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3389 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3390 { "_class_wxClipboard","_wxClipboard",0},
3391 { "_wxDC","_class_wxDC",0},
3392 { "_class_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3393 { "_class_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3394 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3395 { "_size_t","_wxCoord",0},
3396 { "_size_t","_wxPrintQuality",0},
3397 { "_size_t","_time_t",0},
3398 { "_size_t","_unsigned_int",0},
3399 { "_size_t","_int",0},
3400 { "_size_t","_wxWindowID",0},
3401 { "_size_t","_uint",0},
3402 { "_class_wxRealPoint","_wxRealPoint",0},
3403 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
3404 { "_class_wxMask","_wxMask",0},
3405 { "_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3406 { "_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3407 { "_wxTextDataObject","_class_wxTextDataObject",0},
3408 { "_wxColour","_class_wxColour",0},
3409 { "_class_wxFileDataObject","_wxFileDataObject",0},
3410 { "_class_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3411 { "_class_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3412 { "_class_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3413 { "_class_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3414 { "_class_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3415 { "_class_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3416 { "_class_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3417 { "_class_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3418 { "_class_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3419 { "_class_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3420 { "_class_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3421 { "_class_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3422 { "_class_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3423 { "_class_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3424 { "_class_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3425 { "_class_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3426 { "_class_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3427 { "_class_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3428 { "_class_wxDataObject","_wxDataObject",0},
3429 { "_wxBrush","_class_wxBrush",0},
3430 { "_wxDataFormat","_class_wxDataFormat",0},
3431 { "_class_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3432 { "_class_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3433 { "_class_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3434 { "_class_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3435 { "_class_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3436 { "_class_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3437 { "_class_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3438 { "_class_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3439 { "_class_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3440 { "_class_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3441 { "_class_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3442 { "_class_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3443 { "_class_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3444 { "_class_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3445 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3446 { "_uint","_wxCoord",0},
3447 { "_uint","_wxPrintQuality",0},
3448 { "_uint","_time_t",0},
3449 { "_uint","_size_t",0},
3450 { "_uint","_unsigned_int",0},
3451 { "_uint","_int",0},
3452 { "_uint","_wxWindowID",0},
3453 { "_wxChar","_char",0},
3454 { "_wxRect","_class_wxRect",0},
3455 { "_wxPoint","_class_wxPoint",0},
3456 { "_char","_wxChar",0},
3457 { "_wxBitmap","_class_wxBitmap",0},
3458 { "_wxWindowDC","_class_wxWindowDC",0},
3459 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3460 { "_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3461 { "_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3462 { "_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3463 { "_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3464 { "_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3465 { "_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3466 { "_wxDropTarget","_class_wxDropTarget",0},
3467 { "_EBool","_wxCoord",0},
3468 { "_EBool","_wxPrintQuality",0},
3469 { "_EBool","_signed_int",0},
3470 { "_EBool","_int",0},
3471 { "_EBool","_wxWindowID",0},
3472 { "_class_wxRegion","_wxRegion",0},
3473 { "_class_wxDataFormat","_wxDataFormat",0},
3474 { "_wxFont","_class_wxFont",0},
3475 { "_class_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3476 { "_class_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3477 { "_class_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3478 { "_class_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3479 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3480 { "_unsigned_long","_long",0},
3481 { "_class_wxRect","_wxRect",0},
3482 { "_class_wxDC","_wxDC",0},
3483 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3484 { "_signed_int","_wxCoord",0},
3485 { "_signed_int","_wxPrintQuality",0},
3486 { "_signed_int","_EBool",0},
3487 { "_signed_int","_wxWindowID",0},
3488 { "_signed_int","_int",0},
3489 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3490 { "_class_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3491 { "_class_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3492 { "_class_wxTextDataObject","_wxTextDataObject",0},
3493 { "_wxScreenDC","_class_wxScreenDC",0},
3494 { "_WXTYPE","_short",0},
3495 { "_WXTYPE","_signed_short",0},
3496 { "_WXTYPE","_unsigned_short",0},
3497 { "_class_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3498 { "_class_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3499 { "_class_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3500 { "_class_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3501 { "_class_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3502 { "_class_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3503 { "_class_wxDropTarget","_wxDropTarget",0},
3504 { "_class_wxBrush","_wxBrush",0},
3505 { "_unsigned_short","_WXTYPE",0},
3506 { "_unsigned_short","_short",0},
3507 { "_class_wxFont","_wxFont",0},
3508 { "_wxClipboard","_class_wxClipboard",0},
3509 { "_wxBusyInfo","_class_wxBusyInfo",0},
3510 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3511 { "_wxClientDC","_class_wxClientDC",0},
3512 { "_class_wxPoint","_wxPoint",0},
3513 { "_wxRealPoint","_class_wxRealPoint",0},
3514 { "_signed_short","_WXTYPE",0},
3515 { "_signed_short","_short",0},
3516 { "_wxMemoryDC","_class_wxMemoryDC",0},
3517 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3518 { "_wxPaintDC","_class_wxPaintDC",0},
3519 { "_class_wxWindowDC","_wxWindowDC",0},
3520 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3521 { "_class_wxCursor","_wxCursor",0},
3522 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
3523 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3524 { "_unsigned_char","_byte",0},
3525 { "_unsigned_int","_wxCoord",0},
3526 { "_unsigned_int","_wxPrintQuality",0},
3527 { "_unsigned_int","_time_t",0},
3528 { "_unsigned_int","_size_t",0},
3529 { "_unsigned_int","_uint",0},
3530 { "_unsigned_int","_wxWindowID",0},
3531 { "_unsigned_int","_int",0},
3532 { "_wxIcon","_class_wxIcon",0},
3533 { "_class_wxPen","_wxPen",0},
3534 { "_short","_WXTYPE",0},
3535 { "_short","_unsigned_short",0},
3536 { "_short","_signed_short",0},
3537 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3538 { "_class_wxPyDropSource","_wxPyDropSource",0},
3539 { "_class_wxImageList","_wxImageList",0},
3540 { "_wxWindowID","_wxCoord",0},
3541 { "_wxWindowID","_wxPrintQuality",0},
3542 { "_wxWindowID","_time_t",0},
3543 { "_wxWindowID","_size_t",0},
3544 { "_wxWindowID","_EBool",0},
3545 { "_wxWindowID","_uint",0},
3546 { "_wxWindowID","_int",0},
3547 { "_wxWindowID","_signed_int",0},
3548 { "_wxWindowID","_unsigned_int",0},
3549 { "_int","_wxCoord",0},
3550 { "_int","_wxPrintQuality",0},
3551 { "_int","_time_t",0},
3552 { "_int","_size_t",0},
3553 { "_int","_EBool",0},
3554 { "_int","_uint",0},
3555 { "_int","_wxWindowID",0},
3556 { "_int","_unsigned_int",0},
3557 { "_int","_signed_int",0},
3558 { "_time_t","_wxCoord",0},
3559 { "_time_t","_wxPrintQuality",0},
3560 { "_time_t","_unsigned_int",0},
3561 { "_time_t","_int",0},
3562 { "_time_t","_wxWindowID",0},
3563 { "_time_t","_uint",0},
3564 { "_time_t","_size_t",0},
3565 { "_wxSize","_class_wxSize",0},
3566 { "_wxRegionIterator","_class_wxRegionIterator",0},
3567 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3568 { "_class_wxPaintDC","_wxPaintDC",0},
3569 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3570 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3571 { "_class_wxIcon","_wxIcon",0},
3572 { "_class_wxColour","_wxColour",0},
3573 { "_class_wxScreenDC","_wxScreenDC",0},
3574 { "_wxPalette","_class_wxPalette",0},
3575 { "_wxCoord","_int",0},
3576 { "_wxCoord","_signed_int",0},
3577 { "_wxCoord","_unsigned_int",0},
3578 { "_wxCoord","_wxWindowID",0},
3579 { "_wxCoord","_uint",0},
3580 { "_wxCoord","_EBool",0},
3581 { "_wxCoord","_size_t",0},
3582 { "_wxCoord","_time_t",0},
3583 { "_wxCoord","_wxPrintQuality",0},
3584 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3585 { "_wxRegion","_class_wxRegion",0},
3586 { "_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3587 { "_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3588 { "_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3589 { "_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3590 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3591 { "_class_wxBusyInfo","_wxBusyInfo",0},
3592 { "_class_wxClientDC","_wxClientDC",0},
3593 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3594 { "_class_wxSize","_wxSize",0},
3595 { "_class_wxBitmap","_wxBitmap",0},
3596 { "_class_wxMemoryDC","_wxMemoryDC",0},
3597 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3598 { "_class_wxPalette","_wxPalette",0},
3599 { "_wxFileDataObject","_class_wxFileDataObject",0},
3600 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3603 static PyObject
*SWIG_globals
;
3607 SWIGEXPORT(void) initclip_dndc() {
3609 SWIG_globals
= SWIG_newvarlink();
3610 m
= Py_InitModule("clip_dndc", clip_dndcMethods
);
3611 d
= PyModule_GetDict(m
);
3612 PyDict_SetItemString(d
,"wxDF_INVALID", PyInt_FromLong((long) wxDF_INVALID
));
3613 PyDict_SetItemString(d
,"wxDF_TEXT", PyInt_FromLong((long) wxDF_TEXT
));
3614 PyDict_SetItemString(d
,"wxDF_BITMAP", PyInt_FromLong((long) wxDF_BITMAP
));
3615 PyDict_SetItemString(d
,"wxDF_METAFILE", PyInt_FromLong((long) wxDF_METAFILE
));
3616 PyDict_SetItemString(d
,"wxDF_SYLK", PyInt_FromLong((long) wxDF_SYLK
));
3617 PyDict_SetItemString(d
,"wxDF_DIF", PyInt_FromLong((long) wxDF_DIF
));
3618 PyDict_SetItemString(d
,"wxDF_TIFF", PyInt_FromLong((long) wxDF_TIFF
));
3619 PyDict_SetItemString(d
,"wxDF_OEMTEXT", PyInt_FromLong((long) wxDF_OEMTEXT
));
3620 PyDict_SetItemString(d
,"wxDF_DIB", PyInt_FromLong((long) wxDF_DIB
));
3621 PyDict_SetItemString(d
,"wxDF_PALETTE", PyInt_FromLong((long) wxDF_PALETTE
));
3622 PyDict_SetItemString(d
,"wxDF_PENDATA", PyInt_FromLong((long) wxDF_PENDATA
));
3623 PyDict_SetItemString(d
,"wxDF_RIFF", PyInt_FromLong((long) wxDF_RIFF
));
3624 PyDict_SetItemString(d
,"wxDF_WAVE", PyInt_FromLong((long) wxDF_WAVE
));
3625 PyDict_SetItemString(d
,"wxDF_UNICODETEXT", PyInt_FromLong((long) wxDF_UNICODETEXT
));
3626 PyDict_SetItemString(d
,"wxDF_ENHMETAFILE", PyInt_FromLong((long) wxDF_ENHMETAFILE
));
3627 PyDict_SetItemString(d
,"wxDF_FILENAME", PyInt_FromLong((long) wxDF_FILENAME
));
3628 PyDict_SetItemString(d
,"wxDF_LOCALE", PyInt_FromLong((long) wxDF_LOCALE
));
3629 PyDict_SetItemString(d
,"wxDF_PRIVATE", PyInt_FromLong((long) wxDF_PRIVATE
));
3630 PyDict_SetItemString(d
,"wxDF_MAX", PyInt_FromLong((long) wxDF_MAX
));
3631 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
3632 SWIG_addvarlink(SWIG_globals
,"wxFormatInvalid",_wrap_wxPyFormatInvalid_get
, _wrap_wxPyFormatInvalid_set
);
3633 SWIG_addvarlink(SWIG_globals
,"wxTheClipboard",_wrap_wxPyTheClipboard_get
, _wrap_wxPyTheClipboard_set
);
3634 PyDict_SetItemString(d
,"wxDragError", PyInt_FromLong((long) wxDragError
));
3635 PyDict_SetItemString(d
,"wxDragNone", PyInt_FromLong((long) wxDragNone
));
3636 PyDict_SetItemString(d
,"wxDragCopy", PyInt_FromLong((long) wxDragCopy
));
3637 PyDict_SetItemString(d
,"wxDragMove", PyInt_FromLong((long) wxDragMove
));
3638 PyDict_SetItemString(d
,"wxDragCancel", PyInt_FromLong((long) wxDragCancel
));
3641 wxPyTheClipboard
= wxTheClipboard
;
3643 PyDict_SetItemString(d
,"wxDataObject_Get", PyInt_FromLong((long) wxDataObject::Get
));
3644 PyDict_SetItemString(d
,"wxDataObject_Set", PyInt_FromLong((long) wxDataObject::Set
));
3645 PyDict_SetItemString(d
,"wxDataObject_Both", PyInt_FromLong((long) wxDataObject::Both
));
3648 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3649 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);