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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initclip_dndc
54 #define SWIG_name "clip_dndc"
57 #include <wx/dataobj.h>
58 #include <wx/clipbrd.h>
61 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("()"));
140 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
142 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
144 wxPySaveThread(doSave
);
148 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
149 // For this one we simply need to make a string from buf and len
150 // and send it to the Python method.
152 bool doSave
= wxPyRestoreThread();
153 if (m_myInst
.findCallback("SetData")) {
154 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
155 rval
= m_myInst
.callCallback(Py_BuildValue("(O)", data
));
158 wxPySaveThread(doSave
);
161 // Create a new class for wxPython to use
162 class wxPyTextDataObject
: public wxTextDataObject
{
164 wxPyTextDataObject(const wxString
& text
= wxEmptyString
)
165 : wxTextDataObject(text
) {}
167 DEC_PYCALLBACK_SIZET_(GetTextLength
);
168 DEC_PYCALLBACK_STRING_(GetText
);
169 DEC_PYCALLBACK__STRING(SetText
);
173 IMP_PYCALLBACK_SIZET_(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
174 IMP_PYCALLBACK_STRING_(wxPyTextDataObject
, wxTextDataObject
, GetText
);
175 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
177 // Create a new class for wxPython to use
178 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
180 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
181 : wxBitmapDataObject(bitmap
) {}
183 wxBitmap
GetBitmap();
184 void SetBitmap(const wxBitmap
& bitmap
);
188 wxBitmap
wxPyBitmapDataObject::GetBitmap() {
189 wxBitmap
* rval
= &wxNullBitmap
;
190 bool doSave
= wxPyRestoreThread();
191 if (m_myInst
.findCallback("GetBitmap")) {
194 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
195 if (! SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxBitmap_p"))
198 wxPySaveThread(doSave
);
202 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
203 bool doSave
= wxPyRestoreThread();
204 if (m_myInst
.findCallback("SetBitmap")) {
205 m_myInst
.callCallback(Py_BuildValue("(O)",
206 wxPyConstructObject((void*)&bitmap
, "wxBitmap")));
208 wxPySaveThread(doSave
);
211 // See below in the init function...
212 wxClipboard
* wxPyTheClipboard
;
214 class wxPyDropSource
: public wxDropSource
{
217 wxPyDropSource(wxWindow
*win
= NULL
,
218 const wxCursor
&cursorCopy
= wxNullCursor
,
219 const wxCursor
&cursorMove
= wxNullCursor
,
220 const wxCursor
&cursorStop
= wxNullCursor
)
221 : wxDropSource(win
, cursorCopy
, cursorMove
, cursorStop
) {}
223 wxPyDropSource(wxWindow
*win
= NULL
,
224 const wxIcon
&go
= wxNullIcon
)
225 : wxDropSource(win
, go
) {}
227 ~wxPyDropSource() { }
229 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
233 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
236 class wxPyDropTarget
: public wxDropTarget
{
238 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
239 : wxDropTarget(dataObject
) {}
241 // DEC_PYCALLBACK_SIZET_(GetFormatCount);
242 // DEC_PYCALLBACK_DATAFMT_SIZET(GetFormat);
244 DEC_PYCALLBACK__(OnLeave
);
245 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
246 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
247 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
248 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
253 // IMP_PYCALLBACK_SIZET_(wxPyDropTarget, wxDropTarget, GetFormatCount);
254 // IMP__PYCALLBACK_DATAFMT_SIZET(wxPyDropTarget, wxDropTarget, GetFormat);
256 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
257 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
258 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
259 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
260 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
263 class wxPyTextDropTarget
: public wxTextDropTarget
{
265 wxPyTextDropTarget() {}
267 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
269 DEC_PYCALLBACK__(OnLeave
);
270 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
271 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
272 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
273 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
278 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
279 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
280 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
281 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
282 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
283 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
286 class wxPyFileDropTarget
: public wxFileDropTarget
{
288 wxPyFileDropTarget() {}
290 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
292 DEC_PYCALLBACK__(OnLeave
);
293 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
294 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
295 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
296 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
301 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
302 const wxArrayString
& filenames
) {
304 bool doSave
= wxPyRestoreThread();
305 PyObject
* list
= PyList_New(0);
306 for (size_t i
=0; i
<filenames
.GetCount(); i
++) {
307 PyObject
* str
= PyString_FromString(filenames
[i
].c_str());
308 PyList_Append(list
, str
);
310 if (m_myInst
.findCallback("OnDropFiles"))
311 rval
= m_myInst
.callCallback(Py_BuildValue("(iiO)",x
,y
,list
));
313 wxPySaveThread(doSave
);
319 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
320 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
321 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
322 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
323 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
328 static PyObject
*_wrap_wxCustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
330 wxDataFormat
* _result
;
332 PyObject
* _obj0
= 0;
333 char *_kwnames
[] = { "id", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataFormat",_kwnames
,&_obj0
))
340 if (!PyString_Check(_obj0
)) {
341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
344 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
347 wxPy_BEGIN_ALLOW_THREADS
;
348 _result
= (wxDataFormat
*)wxCustomDataFormat(*_arg0
);
350 wxPy_END_ALLOW_THREADS
;
352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
353 _resultobj
= Py_BuildValue("s",_ptemp
);
356 _resultobj
= Py_None
;
365 static int _wrap_wxPyFormatInvalid_set(PyObject
*val
) {
367 PyErr_SetString(PyExc_TypeError
,"Variable wxFormatInvalid is read-only.");
371 static PyObject
*_wrap_wxPyFormatInvalid_get() {
375 SWIG_MakePtr(ptemp
,(char *) &wxPyFormatInvalid
,"_wxDataFormat_p");
376 pyobj
= PyString_FromString(ptemp
);
380 static int _wrap_wxPyTheClipboard_set(PyObject
*val
) {
382 PyErr_SetString(PyExc_TypeError
,"Variable wxTheClipboard is read-only.");
386 static PyObject
*_wrap_wxPyTheClipboard_get() {
390 SWIG_MakePtr(ptemp
, (char *) wxPyTheClipboard
,"_wxClipboard_p");
391 pyobj
= PyString_FromString(ptemp
);
395 static PyObject
*_wrap_wxIsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
399 char *_kwnames
[] = { "res", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxIsDragResultOk",_kwnames
,&_arg0
))
405 wxPy_BEGIN_ALLOW_THREADS
;
406 _result
= (bool )wxIsDragResultOk(_arg0
);
408 wxPy_END_ALLOW_THREADS
;
409 } _resultobj
= Py_BuildValue("i",_result
);
413 #define new_wxDataFormat(_swigarg0) (new wxDataFormat(_swigarg0))
414 static PyObject
*_wrap_new_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
416 wxDataFormat
* _result
;
417 wxDataFormatId _arg0
;
418 char *_kwnames
[] = { "type", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDataFormat",_kwnames
,&_arg0
))
425 wxPy_BEGIN_ALLOW_THREADS
;
426 _result
= (wxDataFormat
*)new_wxDataFormat(_arg0
);
428 wxPy_END_ALLOW_THREADS
;
430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
431 _resultobj
= Py_BuildValue("s",_ptemp
);
434 _resultobj
= Py_None
;
439 #define delete_wxDataFormat(_swigobj) (delete _swigobj)
440 static PyObject
*_wrap_delete_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
442 wxDataFormat
* _arg0
;
443 PyObject
* _argo0
= 0;
444 char *_kwnames
[] = { "self", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataFormat",_kwnames
,&_argo0
))
450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataFormat. Expected _wxDataFormat_p.");
457 wxPy_BEGIN_ALLOW_THREADS
;
458 delete_wxDataFormat(_arg0
);
460 wxPy_END_ALLOW_THREADS
;
461 } Py_INCREF(Py_None
);
462 _resultobj
= Py_None
;
466 #define wxDataFormat_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
467 static PyObject
*_wrap_wxDataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
469 wxDataFormat
* _arg0
;
470 wxDataFormatId _arg1
;
471 PyObject
* _argo0
= 0;
472 char *_kwnames
[] = { "self","format", NULL
};
475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDataFormat_SetType",_kwnames
,&_argo0
,&_arg1
))
478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetType. Expected _wxDataFormat_p.");
485 wxPy_BEGIN_ALLOW_THREADS
;
486 wxDataFormat_SetType(_arg0
,_arg1
);
488 wxPy_END_ALLOW_THREADS
;
489 } Py_INCREF(Py_None
);
490 _resultobj
= Py_None
;
494 #define wxDataFormat_GetType(_swigobj) (_swigobj->GetType())
495 static PyObject
*_wrap_wxDataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
497 wxDataFormatId _result
;
498 wxDataFormat
* _arg0
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "self", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetType",_kwnames
,&_argo0
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetType. Expected _wxDataFormat_p.");
513 wxPy_BEGIN_ALLOW_THREADS
;
514 _result
= (wxDataFormatId
)wxDataFormat_GetType(_arg0
);
516 wxPy_END_ALLOW_THREADS
;
517 } _resultobj
= Py_BuildValue("i",_result
);
521 #define wxDataFormat_GetId(_swigobj) (_swigobj->GetId())
522 static PyObject
*_wrap_wxDataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
523 PyObject
* _resultobj
;
525 wxDataFormat
* _arg0
;
526 PyObject
* _argo0
= 0;
527 char *_kwnames
[] = { "self", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetId",_kwnames
,&_argo0
))
533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetId. Expected _wxDataFormat_p.");
540 wxPy_BEGIN_ALLOW_THREADS
;
541 _result
= new wxString (wxDataFormat_GetId(_arg0
));
543 wxPy_END_ALLOW_THREADS
;
545 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
553 #define wxDataFormat_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
554 static PyObject
*_wrap_wxDataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxDataFormat
* _arg0
;
558 PyObject
* _argo0
= 0;
559 char *_kwnames
[] = { "self","format", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDataFormat_SetId",_kwnames
,&_argo0
,&_arg1
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetId. Expected _wxDataFormat_p.");
572 wxPy_BEGIN_ALLOW_THREADS
;
573 wxDataFormat_SetId(_arg0
,_arg1
);
575 wxPy_END_ALLOW_THREADS
;
576 } Py_INCREF(Py_None
);
577 _resultobj
= Py_None
;
581 #define delete_wxDataObject(_swigobj) (delete _swigobj)
582 static PyObject
*_wrap_delete_wxDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
583 PyObject
* _resultobj
;
584 wxDataObject
* _arg0
;
585 PyObject
* _argo0
= 0;
586 char *_kwnames
[] = { "self", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataObject",_kwnames
,&_argo0
))
592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataObject. Expected _wxDataObject_p.");
599 wxPy_BEGIN_ALLOW_THREADS
;
600 delete_wxDataObject(_arg0
);
602 wxPy_END_ALLOW_THREADS
;
603 } Py_INCREF(Py_None
);
604 _resultobj
= Py_None
;
608 #define wxDataObject_GetPreferredFormat(_swigobj,_swigarg0) (_swigobj->GetPreferredFormat(_swigarg0))
609 static PyObject
*_wrap_wxDataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
610 PyObject
* _resultobj
;
611 wxDataFormat
* _result
;
612 wxDataObject
* _arg0
;
613 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
614 PyObject
* _argo0
= 0;
615 char *_kwnames
[] = { "self","dir", NULL
};
619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetPreferredFormat",_kwnames
,&_argo0
,&_arg1
))
622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetPreferredFormat. Expected _wxDataObject_p.");
629 wxPy_BEGIN_ALLOW_THREADS
;
630 _result
= new wxDataFormat (wxDataObject_GetPreferredFormat(_arg0
,_arg1
));
632 wxPy_END_ALLOW_THREADS
;
633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDataFormat_p");
634 _resultobj
= Py_BuildValue("s",_ptemp
);
638 #define wxDataObject_GetFormatCount(_swigobj,_swigarg0) (_swigobj->GetFormatCount(_swigarg0))
639 static PyObject
*_wrap_wxDataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
642 wxDataObject
* _arg0
;
643 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
644 PyObject
* _argo0
= 0;
645 char *_kwnames
[] = { "self","dir", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetFormatCount",_kwnames
,&_argo0
,&_arg1
))
651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetFormatCount. Expected _wxDataObject_p.");
658 wxPy_BEGIN_ALLOW_THREADS
;
659 _result
= (size_t )wxDataObject_GetFormatCount(_arg0
,_arg1
);
661 wxPy_END_ALLOW_THREADS
;
662 } _resultobj
= Py_BuildValue("i",_result
);
666 #define wxDataObject_GetAllFormats(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAllFormats(_swigarg0,_swigarg1))
667 static PyObject
*_wrap_wxDataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
669 wxDataObject
* _arg0
;
670 wxDataFormat
* _arg1
;
671 wxDataObject::Direction _arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
672 PyObject
* _argo0
= 0;
673 PyObject
* _argo1
= 0;
674 char *_kwnames
[] = { "self","formats","dir", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObject_GetAllFormats",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetAllFormats. Expected _wxDataObject_p.");
687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetAllFormats. Expected _wxDataFormat_p.");
694 wxPy_BEGIN_ALLOW_THREADS
;
695 wxDataObject_GetAllFormats(_arg0
,_arg1
,_arg2
);
697 wxPy_END_ALLOW_THREADS
;
698 } Py_INCREF(Py_None
);
699 _resultobj
= Py_None
;
703 #define wxDataObject_GetDataSize(_swigobj,_swigarg0) (_swigobj->GetDataSize(_swigarg0))
704 static PyObject
*_wrap_wxDataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
707 wxDataObject
* _arg0
;
708 wxDataFormat
* _arg1
;
709 PyObject
* _argo0
= 0;
710 PyObject
* _argo1
= 0;
711 char *_kwnames
[] = { "self","format", NULL
};
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_GetDataSize",_kwnames
,&_argo0
,&_argo1
))
717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataSize. Expected _wxDataObject_p.");
724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataSize. Expected _wxDataFormat_p.");
731 wxPy_BEGIN_ALLOW_THREADS
;
732 _result
= (size_t )wxDataObject_GetDataSize(_arg0
,*_arg1
);
734 wxPy_END_ALLOW_THREADS
;
735 } _resultobj
= Py_BuildValue("i",_result
);
739 #define wxDataObject_GetDataHere(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDataHere(_swigarg0,_swigarg1))
740 static PyObject
*_wrap_wxDataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
741 PyObject
* _resultobj
;
743 wxDataObject
* _arg0
;
744 wxDataFormat
* _arg1
;
746 PyObject
* _argo0
= 0;
747 PyObject
* _argo1
= 0;
748 PyObject
* _argo2
= 0;
749 char *_kwnames
[] = { "self","format","buf", NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDataObject_GetDataHere",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataHere. Expected _wxDataObject_p.");
762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataHere. Expected _wxDataFormat_p.");
769 if (_argo2
== Py_None
) { _arg2
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDataObject_GetDataHere. Expected _void_p.");
776 wxPy_BEGIN_ALLOW_THREADS
;
777 _result
= (bool )wxDataObject_GetDataHere(_arg0
,*_arg1
,_arg2
);
779 wxPy_END_ALLOW_THREADS
;
780 } _resultobj
= Py_BuildValue("i",_result
);
784 #define wxDataObject_SetData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetData(_swigarg0,_swigarg1,_swigarg2))
785 static PyObject
*_wrap_wxDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
786 PyObject
* _resultobj
;
788 wxDataObject
* _arg0
;
789 wxDataFormat
* _arg1
;
792 PyObject
* _argo0
= 0;
793 PyObject
* _argo1
= 0;
794 PyObject
* _argo3
= 0;
795 char *_kwnames
[] = { "self","format","len","buf", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxDataObject_SetData",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_SetData. Expected _wxDataObject_p.");
808 if (_argo1
== Py_None
) { _arg1
= NULL
; }
809 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_SetData. Expected _wxDataFormat_p.");
815 if (_argo3
== Py_None
) { _arg3
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,(char *) 0 )) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDataObject_SetData. Expected _void_p.");
822 wxPy_BEGIN_ALLOW_THREADS
;
823 _result
= (bool )wxDataObject_SetData(_arg0
,*_arg1
,_arg2
,_arg3
);
825 wxPy_END_ALLOW_THREADS
;
826 } _resultobj
= Py_BuildValue("i",_result
);
830 #define wxDataObject_IsSupportedFormat(_swigobj,_swigarg0) (_swigobj->IsSupportedFormat(_swigarg0))
831 static PyObject
*_wrap_wxDataObject_IsSupportedFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
834 wxDataObject
* _arg0
;
835 wxDataFormat
* _arg1
;
836 PyObject
* _argo0
= 0;
837 PyObject
* _argo1
= 0;
838 char *_kwnames
[] = { "self","format", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_IsSupportedFormat",_kwnames
,&_argo0
,&_argo1
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_IsSupportedFormat. Expected _wxDataObject_p.");
851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_IsSupportedFormat. Expected _wxDataFormat_p.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 _result
= (bool )wxDataObject_IsSupportedFormat(_arg0
,*_arg1
);
861 wxPy_END_ALLOW_THREADS
;
862 } _resultobj
= Py_BuildValue("i",_result
);
866 static void *SwigwxDataObjectSimpleTowxDataObject(void *ptr
) {
867 wxDataObjectSimple
*src
;
869 src
= (wxDataObjectSimple
*) ptr
;
870 dest
= (wxDataObject
*) src
;
871 return (void *) dest
;
874 #define new_wxDataObjectSimple(_swigarg0) (new wxDataObjectSimple(_swigarg0))
875 static PyObject
*_wrap_new_wxDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
877 wxDataObjectSimple
* _result
;
878 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
879 PyObject
* _argo0
= 0;
880 char *_kwnames
[] = { "format", NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxDataObjectSimple",_kwnames
,&_argo0
))
887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDataObjectSimple. Expected _wxDataFormat_p.");
894 wxPy_BEGIN_ALLOW_THREADS
;
895 _result
= (wxDataObjectSimple
*)new_wxDataObjectSimple(*_arg0
);
897 wxPy_END_ALLOW_THREADS
;
899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectSimple_p");
900 _resultobj
= Py_BuildValue("s",_ptemp
);
903 _resultobj
= Py_None
;
908 #define wxDataObjectSimple_GetFormat(_swigobj) (_swigobj->GetFormat())
909 static PyObject
*_wrap_wxDataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
911 wxDataFormat
* _result
;
912 wxDataObjectSimple
* _arg0
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataObjectSimple_GetFormat",_kwnames
,&_argo0
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_GetFormat. Expected _wxDataObjectSimple_p.");
928 wxPy_BEGIN_ALLOW_THREADS
;
929 const wxDataFormat
& _result_ref
= wxDataObjectSimple_GetFormat(_arg0
);
930 _result
= (wxDataFormat
*) &_result_ref
;
932 wxPy_END_ALLOW_THREADS
;
934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
935 _resultobj
= Py_BuildValue("s",_ptemp
);
938 _resultobj
= Py_None
;
943 #define wxDataObjectSimple_SetFormat(_swigobj,_swigarg0) (_swigobj->SetFormat(_swigarg0))
944 static PyObject
*_wrap_wxDataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
946 wxDataObjectSimple
* _arg0
;
947 wxDataFormat
* _arg1
;
948 PyObject
* _argo0
= 0;
949 PyObject
* _argo1
= 0;
950 char *_kwnames
[] = { "self","format", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObjectSimple_SetFormat",_kwnames
,&_argo0
,&_argo1
))
956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_SetFormat. Expected _wxDataObjectSimple_p.");
963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectSimple_SetFormat. Expected _wxDataFormat_p.");
970 wxPy_BEGIN_ALLOW_THREADS
;
971 wxDataObjectSimple_SetFormat(_arg0
,*_arg1
);
973 wxPy_END_ALLOW_THREADS
;
974 } Py_INCREF(Py_None
);
975 _resultobj
= Py_None
;
979 static void *SwigwxPyDataObjectSimpleTowxDataObjectSimple(void *ptr
) {
980 wxPyDataObjectSimple
*src
;
981 wxDataObjectSimple
*dest
;
982 src
= (wxPyDataObjectSimple
*) ptr
;
983 dest
= (wxDataObjectSimple
*) src
;
984 return (void *) dest
;
987 static void *SwigwxPyDataObjectSimpleTowxDataObject(void *ptr
) {
988 wxPyDataObjectSimple
*src
;
990 src
= (wxPyDataObjectSimple
*) ptr
;
991 dest
= (wxDataObject
*) src
;
992 return (void *) dest
;
995 #define new_wxPyDataObjectSimple(_swigarg0) (new wxPyDataObjectSimple(_swigarg0))
996 static PyObject
*_wrap_new_wxPyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
998 wxPyDataObjectSimple
* _result
;
999 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1000 PyObject
* _argo0
= 0;
1001 char *_kwnames
[] = { "format", NULL
};
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDataObjectSimple",_kwnames
,&_argo0
))
1008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDataObjectSimple. Expected _wxDataFormat_p.");
1015 wxPy_BEGIN_ALLOW_THREADS
;
1016 _result
= (wxPyDataObjectSimple
*)new_wxPyDataObjectSimple(*_arg0
);
1018 wxPy_END_ALLOW_THREADS
;
1020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDataObjectSimple_p");
1021 _resultobj
= Py_BuildValue("s",_ptemp
);
1024 _resultobj
= Py_None
;
1029 #define wxPyDataObjectSimple__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1030 static PyObject
*_wrap_wxPyDataObjectSimple__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1032 wxPyDataObjectSimple
* _arg0
;
1034 PyObject
* _argo0
= 0;
1035 PyObject
* _obj1
= 0;
1036 char *_kwnames
[] = { "self","self", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDataObjectSimple__setSelf",_kwnames
,&_argo0
,&_obj1
))
1042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDataObjectSimple_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDataObjectSimple__setSelf. Expected _wxPyDataObjectSimple_p.");
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 wxPyDataObjectSimple__setSelf(_arg0
,_arg1
);
1055 wxPy_END_ALLOW_THREADS
;
1056 } Py_INCREF(Py_None
);
1057 _resultobj
= Py_None
;
1061 static void *SwigwxDataObjectCompositeTowxDataObject(void *ptr
) {
1062 wxDataObjectComposite
*src
;
1064 src
= (wxDataObjectComposite
*) ptr
;
1065 dest
= (wxDataObject
*) src
;
1066 return (void *) dest
;
1069 #define new_wxDataObjectComposite() (new wxDataObjectComposite())
1070 static PyObject
*_wrap_new_wxDataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1072 wxDataObjectComposite
* _result
;
1073 char *_kwnames
[] = { NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDataObjectComposite",_kwnames
))
1080 wxPy_BEGIN_ALLOW_THREADS
;
1081 _result
= (wxDataObjectComposite
*)new_wxDataObjectComposite();
1083 wxPy_END_ALLOW_THREADS
;
1085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectComposite_p");
1086 _resultobj
= Py_BuildValue("s",_ptemp
);
1089 _resultobj
= Py_None
;
1094 #define wxDataObjectComposite_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1095 static PyObject
*_wrap_wxDataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1097 wxDataObjectComposite
* _arg0
;
1098 wxDataObjectSimple
* _arg1
;
1099 int _arg2
= (int ) FALSE
;
1100 PyObject
* _argo0
= 0;
1101 PyObject
* _argo1
= 0;
1102 char *_kwnames
[] = { "self","dataObject","preferred", NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObjectComposite_Add",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectComposite_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectComposite_Add. Expected _wxDataObjectComposite_p.");
1115 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1116 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObjectSimple_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectComposite_Add. Expected _wxDataObjectSimple_p.");
1122 wxPy_BEGIN_ALLOW_THREADS
;
1123 wxDataObjectComposite_Add(_arg0
,_arg1
,_arg2
);
1125 wxPy_END_ALLOW_THREADS
;
1126 } Py_INCREF(Py_None
);
1127 _resultobj
= Py_None
;
1131 static void *SwigwxTextDataObjectTowxDataObjectSimple(void *ptr
) {
1132 wxTextDataObject
*src
;
1133 wxDataObjectSimple
*dest
;
1134 src
= (wxTextDataObject
*) ptr
;
1135 dest
= (wxDataObjectSimple
*) src
;
1136 return (void *) dest
;
1139 static void *SwigwxTextDataObjectTowxDataObject(void *ptr
) {
1140 wxTextDataObject
*src
;
1142 src
= (wxTextDataObject
*) ptr
;
1143 dest
= (wxDataObject
*) src
;
1144 return (void *) dest
;
1147 #define new_wxTextDataObject(_swigarg0) (new wxTextDataObject(_swigarg0))
1148 static PyObject
*_wrap_new_wxTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1150 wxTextDataObject
* _result
;
1151 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1152 PyObject
* _obj0
= 0;
1153 char *_kwnames
[] = { "text", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTextDataObject",_kwnames
,&_obj0
))
1161 if (!PyString_Check(_obj0
)) {
1162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1165 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= (wxTextDataObject
*)new_wxTextDataObject(*_arg0
);
1171 wxPy_END_ALLOW_THREADS
;
1173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextDataObject_p");
1174 _resultobj
= Py_BuildValue("s",_ptemp
);
1177 _resultobj
= Py_None
;
1186 #define wxTextDataObject_GetTextLength(_swigobj) (_swigobj->GetTextLength())
1187 static PyObject
*_wrap_wxTextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
* _resultobj
;
1190 wxTextDataObject
* _arg0
;
1191 PyObject
* _argo0
= 0;
1192 char *_kwnames
[] = { "self", NULL
};
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetTextLength",_kwnames
,&_argo0
))
1198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetTextLength. Expected _wxTextDataObject_p.");
1205 wxPy_BEGIN_ALLOW_THREADS
;
1206 _result
= (size_t )wxTextDataObject_GetTextLength(_arg0
);
1208 wxPy_END_ALLOW_THREADS
;
1209 } _resultobj
= Py_BuildValue("i",_result
);
1213 #define wxTextDataObject_GetText(_swigobj) (_swigobj->GetText())
1214 static PyObject
*_wrap_wxTextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1217 wxTextDataObject
* _arg0
;
1218 PyObject
* _argo0
= 0;
1219 char *_kwnames
[] = { "self", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetText",_kwnames
,&_argo0
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetText. Expected _wxTextDataObject_p.");
1232 wxPy_BEGIN_ALLOW_THREADS
;
1233 _result
= new wxString (wxTextDataObject_GetText(_arg0
));
1235 wxPy_END_ALLOW_THREADS
;
1237 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1245 #define wxTextDataObject_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
1246 static PyObject
*_wrap_wxTextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1248 wxTextDataObject
* _arg0
;
1250 PyObject
* _argo0
= 0;
1251 PyObject
* _obj1
= 0;
1252 char *_kwnames
[] = { "self","text", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDataObject_SetText",_kwnames
,&_argo0
,&_obj1
))
1258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_SetText. Expected _wxTextDataObject_p.");
1265 if (!PyString_Check(_obj1
)) {
1266 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1269 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 wxTextDataObject_SetText(_arg0
,*_arg1
);
1275 wxPy_END_ALLOW_THREADS
;
1276 } Py_INCREF(Py_None
);
1277 _resultobj
= Py_None
;
1285 static void *SwigwxPyTextDataObjectTowxTextDataObject(void *ptr
) {
1286 wxPyTextDataObject
*src
;
1287 wxTextDataObject
*dest
;
1288 src
= (wxPyTextDataObject
*) ptr
;
1289 dest
= (wxTextDataObject
*) src
;
1290 return (void *) dest
;
1293 static void *SwigwxPyTextDataObjectTowxDataObjectSimple(void *ptr
) {
1294 wxPyTextDataObject
*src
;
1295 wxDataObjectSimple
*dest
;
1296 src
= (wxPyTextDataObject
*) ptr
;
1297 dest
= (wxDataObjectSimple
*) src
;
1298 return (void *) dest
;
1301 static void *SwigwxPyTextDataObjectTowxDataObject(void *ptr
) {
1302 wxPyTextDataObject
*src
;
1304 src
= (wxPyTextDataObject
*) ptr
;
1305 dest
= (wxDataObject
*) src
;
1306 return (void *) dest
;
1309 #define new_wxPyTextDataObject(_swigarg0) (new wxPyTextDataObject(_swigarg0))
1310 static PyObject
*_wrap_new_wxPyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxPyTextDataObject
* _result
;
1313 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1314 PyObject
* _obj0
= 0;
1315 char *_kwnames
[] = { "text", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyTextDataObject",_kwnames
,&_obj0
))
1323 if (!PyString_Check(_obj0
)) {
1324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1327 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 _result
= (wxPyTextDataObject
*)new_wxPyTextDataObject(*_arg0
);
1333 wxPy_END_ALLOW_THREADS
;
1335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDataObject_p");
1336 _resultobj
= Py_BuildValue("s",_ptemp
);
1339 _resultobj
= Py_None
;
1348 #define wxPyTextDataObject__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1349 static PyObject
*_wrap_wxPyTextDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxPyTextDataObject
* _arg0
;
1353 PyObject
* _argo0
= 0;
1354 PyObject
* _obj1
= 0;
1355 char *_kwnames
[] = { "self","self", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDataObject_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextDataObject__setSelf. Expected _wxPyTextDataObject_p.");
1371 wxPy_BEGIN_ALLOW_THREADS
;
1372 wxPyTextDataObject__setSelf(_arg0
,_arg1
);
1374 wxPy_END_ALLOW_THREADS
;
1375 } Py_INCREF(Py_None
);
1376 _resultobj
= Py_None
;
1380 static void *SwigwxBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1381 wxBitmapDataObject
*src
;
1382 wxDataObjectSimple
*dest
;
1383 src
= (wxBitmapDataObject
*) ptr
;
1384 dest
= (wxDataObjectSimple
*) src
;
1385 return (void *) dest
;
1388 static void *SwigwxBitmapDataObjectTowxDataObject(void *ptr
) {
1389 wxBitmapDataObject
*src
;
1391 src
= (wxBitmapDataObject
*) ptr
;
1392 dest
= (wxDataObject
*) src
;
1393 return (void *) dest
;
1396 #define new_wxBitmapDataObject(_swigarg0) (new wxBitmapDataObject(_swigarg0))
1397 static PyObject
*_wrap_new_wxBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1399 wxBitmapDataObject
* _result
;
1400 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1401 PyObject
* _argo0
= 0;
1402 char *_kwnames
[] = { "bitmap", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBitmapDataObject",_kwnames
,&_argo0
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapDataObject. Expected _wxBitmap_p.");
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 _result
= (wxBitmapDataObject
*)new_wxBitmapDataObject(*_arg0
);
1419 wxPy_END_ALLOW_THREADS
;
1421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapDataObject_p");
1422 _resultobj
= Py_BuildValue("s",_ptemp
);
1425 _resultobj
= Py_None
;
1430 #define wxBitmapDataObject_GetBitmap(_swigobj) (_swigobj->GetBitmap())
1431 static PyObject
*_wrap_wxBitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1434 wxBitmapDataObject
* _arg0
;
1435 PyObject
* _argo0
= 0;
1436 char *_kwnames
[] = { "self", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapDataObject_GetBitmap",_kwnames
,&_argo0
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_GetBitmap. Expected _wxBitmapDataObject_p.");
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 _result
= new wxBitmap (wxBitmapDataObject_GetBitmap(_arg0
));
1453 wxPy_END_ALLOW_THREADS
;
1454 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1455 _resultobj
= Py_BuildValue("s",_ptemp
);
1459 #define wxBitmapDataObject_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
1460 static PyObject
*_wrap_wxBitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1462 wxBitmapDataObject
* _arg0
;
1464 PyObject
* _argo0
= 0;
1465 PyObject
* _argo1
= 0;
1466 char *_kwnames
[] = { "self","bitmap", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapDataObject_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_SetBitmap. Expected _wxBitmapDataObject_p.");
1479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapDataObject_SetBitmap. Expected _wxBitmap_p.");
1486 wxPy_BEGIN_ALLOW_THREADS
;
1487 wxBitmapDataObject_SetBitmap(_arg0
,*_arg1
);
1489 wxPy_END_ALLOW_THREADS
;
1490 } Py_INCREF(Py_None
);
1491 _resultobj
= Py_None
;
1495 static void *SwigwxPyBitmapDataObjectTowxBitmapDataObject(void *ptr
) {
1496 wxPyBitmapDataObject
*src
;
1497 wxBitmapDataObject
*dest
;
1498 src
= (wxPyBitmapDataObject
*) ptr
;
1499 dest
= (wxBitmapDataObject
*) src
;
1500 return (void *) dest
;
1503 static void *SwigwxPyBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1504 wxPyBitmapDataObject
*src
;
1505 wxDataObjectSimple
*dest
;
1506 src
= (wxPyBitmapDataObject
*) ptr
;
1507 dest
= (wxDataObjectSimple
*) src
;
1508 return (void *) dest
;
1511 static void *SwigwxPyBitmapDataObjectTowxDataObject(void *ptr
) {
1512 wxPyBitmapDataObject
*src
;
1514 src
= (wxPyBitmapDataObject
*) ptr
;
1515 dest
= (wxDataObject
*) src
;
1516 return (void *) dest
;
1519 #define new_wxPyBitmapDataObject(_swigarg0) (new wxPyBitmapDataObject(_swigarg0))
1520 static PyObject
*_wrap_new_wxPyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1522 wxPyBitmapDataObject
* _result
;
1523 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1524 PyObject
* _argo0
= 0;
1525 char *_kwnames
[] = { "bitmap", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyBitmapDataObject",_kwnames
,&_argo0
))
1532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyBitmapDataObject. Expected _wxBitmap_p.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 _result
= (wxPyBitmapDataObject
*)new_wxPyBitmapDataObject(*_arg0
);
1542 wxPy_END_ALLOW_THREADS
;
1544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyBitmapDataObject_p");
1545 _resultobj
= Py_BuildValue("s",_ptemp
);
1548 _resultobj
= Py_None
;
1553 #define wxPyBitmapDataObject__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1554 static PyObject
*_wrap_wxPyBitmapDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1556 wxPyBitmapDataObject
* _arg0
;
1558 PyObject
* _argo0
= 0;
1559 PyObject
* _obj1
= 0;
1560 char *_kwnames
[] = { "self","self", NULL
};
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyBitmapDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
))
1566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyBitmapDataObject_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyBitmapDataObject__setSelf. Expected _wxPyBitmapDataObject_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 wxPyBitmapDataObject__setSelf(_arg0
,_arg1
);
1579 wxPy_END_ALLOW_THREADS
;
1580 } Py_INCREF(Py_None
);
1581 _resultobj
= Py_None
;
1585 static void *SwigwxFileDataObjectTowxDataObjectSimple(void *ptr
) {
1586 wxFileDataObject
*src
;
1587 wxDataObjectSimple
*dest
;
1588 src
= (wxFileDataObject
*) ptr
;
1589 dest
= (wxDataObjectSimple
*) src
;
1590 return (void *) dest
;
1593 static void *SwigwxFileDataObjectTowxDataObject(void *ptr
) {
1594 wxFileDataObject
*src
;
1596 src
= (wxFileDataObject
*) ptr
;
1597 dest
= (wxDataObject
*) src
;
1598 return (void *) dest
;
1601 #define new_wxFileDataObject() (new wxFileDataObject())
1602 static PyObject
*_wrap_new_wxFileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1604 wxFileDataObject
* _result
;
1605 char *_kwnames
[] = { NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDataObject",_kwnames
))
1612 wxPy_BEGIN_ALLOW_THREADS
;
1613 _result
= (wxFileDataObject
*)new_wxFileDataObject();
1615 wxPy_END_ALLOW_THREADS
;
1617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDataObject_p");
1618 _resultobj
= Py_BuildValue("s",_ptemp
);
1621 _resultobj
= Py_None
;
1626 static PyObject
* wxFileDataObject_GetFilenames(wxFileDataObject
*self
) {
1627 const wxArrayString
& strings
= self
->GetFilenames();
1628 PyObject
* list
= PyList_New(0);
1629 for (size_t x
=0; x
<strings
.GetCount(); x
++)
1630 PyList_Append(list
, PyString_FromString(strings
[x
]));
1633 static PyObject
*_wrap_wxFileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1636 wxFileDataObject
* _arg0
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDataObject_GetFilenames",_kwnames
,&_argo0
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_GetFilenames. Expected _wxFileDataObject_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 _result
= (PyObject
*)wxFileDataObject_GetFilenames(_arg0
);
1654 wxPy_END_ALLOW_THREADS
;
1656 _resultobj
= _result
;
1661 static void *SwigwxCustomDataObjectTowxDataObjectSimple(void *ptr
) {
1662 wxCustomDataObject
*src
;
1663 wxDataObjectSimple
*dest
;
1664 src
= (wxCustomDataObject
*) ptr
;
1665 dest
= (wxDataObjectSimple
*) src
;
1666 return (void *) dest
;
1669 static void *SwigwxCustomDataObjectTowxDataObject(void *ptr
) {
1670 wxCustomDataObject
*src
;
1672 src
= (wxCustomDataObject
*) ptr
;
1673 dest
= (wxDataObject
*) src
;
1674 return (void *) dest
;
1677 #define new_wxCustomDataObject(_swigarg0) (new wxCustomDataObject(_swigarg0))
1678 static PyObject
*_wrap_new_wxCustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1680 wxCustomDataObject
* _result
;
1681 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1682 PyObject
* _argo0
= 0;
1683 char *_kwnames
[] = { "format", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxCustomDataObject",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCustomDataObject. Expected _wxDataFormat_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (wxCustomDataObject
*)new_wxCustomDataObject(*_arg0
);
1700 wxPy_END_ALLOW_THREADS
;
1702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCustomDataObject_p");
1703 _resultobj
= Py_BuildValue("s",_ptemp
);
1706 _resultobj
= Py_None
;
1711 static void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
* data
) {
1712 if (PyString_Check(data
)) {
1713 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1716 static PyObject
*_wrap_wxCustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1718 wxCustomDataObject
* _arg0
;
1720 PyObject
* _argo0
= 0;
1721 PyObject
* _obj1
= 0;
1722 char *_kwnames
[] = { "self","data", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_TakeData",_kwnames
,&_argo0
,&_obj1
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_TakeData. Expected _wxCustomDataObject_p.");
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 wxCustomDataObject_TakeData(_arg0
,_arg1
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } Py_INCREF(Py_None
);
1743 _resultobj
= Py_None
;
1747 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
* data
) {
1748 if (PyString_Check(data
)) {
1749 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1753 static PyObject
*_wrap_wxCustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
* _resultobj
;
1756 wxCustomDataObject
* _arg0
;
1758 PyObject
* _argo0
= 0;
1759 PyObject
* _obj1
= 0;
1760 char *_kwnames
[] = { "self","data", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_SetData",_kwnames
,&_argo0
,&_obj1
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_SetData. Expected _wxCustomDataObject_p.");
1776 wxPy_BEGIN_ALLOW_THREADS
;
1777 _result
= (bool )wxCustomDataObject_SetData(_arg0
,_arg1
);
1779 wxPy_END_ALLOW_THREADS
;
1780 } _resultobj
= Py_BuildValue("i",_result
);
1784 #define wxCustomDataObject_GetSize(_swigobj) (_swigobj->GetSize())
1785 static PyObject
*_wrap_wxCustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1788 wxCustomDataObject
* _arg0
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetSize",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetSize. Expected _wxCustomDataObject_p.");
1803 wxPy_BEGIN_ALLOW_THREADS
;
1804 _result
= (size_t )wxCustomDataObject_GetSize(_arg0
);
1806 wxPy_END_ALLOW_THREADS
;
1807 } _resultobj
= Py_BuildValue("i",_result
);
1811 static PyObject
* wxCustomDataObject_GetData(wxCustomDataObject
*self
) {
1812 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1814 static PyObject
*_wrap_wxCustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1817 wxCustomDataObject
* _arg0
;
1818 PyObject
* _argo0
= 0;
1819 char *_kwnames
[] = { "self", NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetData",_kwnames
,&_argo0
))
1825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetData. Expected _wxCustomDataObject_p.");
1832 wxPy_BEGIN_ALLOW_THREADS
;
1833 _result
= (PyObject
*)wxCustomDataObject_GetData(_arg0
);
1835 wxPy_END_ALLOW_THREADS
;
1837 _resultobj
= _result
;
1842 #define new_wxClipboard() (new wxClipboard())
1843 static PyObject
*_wrap_new_wxClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1845 wxClipboard
* _result
;
1846 char *_kwnames
[] = { NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxClipboard",_kwnames
))
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (wxClipboard
*)new_wxClipboard();
1856 wxPy_END_ALLOW_THREADS
;
1858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClipboard_p");
1859 _resultobj
= Py_BuildValue("s",_ptemp
);
1862 _resultobj
= Py_None
;
1867 #define wxClipboard_Open(_swigobj) (_swigobj->Open())
1868 static PyObject
*_wrap_wxClipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1871 wxClipboard
* _arg0
;
1872 PyObject
* _argo0
= 0;
1873 char *_kwnames
[] = { "self", NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Open",_kwnames
,&_argo0
))
1879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Open. Expected _wxClipboard_p.");
1886 wxPy_BEGIN_ALLOW_THREADS
;
1887 _result
= (bool )wxClipboard_Open(_arg0
);
1889 wxPy_END_ALLOW_THREADS
;
1890 } _resultobj
= Py_BuildValue("i",_result
);
1894 #define wxClipboard_Close(_swigobj) (_swigobj->Close())
1895 static PyObject
*_wrap_wxClipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1897 wxClipboard
* _arg0
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Close",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Close. Expected _wxClipboard_p.");
1912 wxPy_BEGIN_ALLOW_THREADS
;
1913 wxClipboard_Close(_arg0
);
1915 wxPy_END_ALLOW_THREADS
;
1916 } Py_INCREF(Py_None
);
1917 _resultobj
= Py_None
;
1921 #define wxClipboard_IsOpened(_swigobj) (_swigobj->IsOpened())
1922 static PyObject
*_wrap_wxClipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1925 wxClipboard
* _arg0
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_IsOpened",_kwnames
,&_argo0
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsOpened. Expected _wxClipboard_p.");
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 _result
= (bool )wxClipboard_IsOpened(_arg0
);
1943 wxPy_END_ALLOW_THREADS
;
1944 } _resultobj
= Py_BuildValue("i",_result
);
1948 #define wxClipboard_AddData(_swigobj,_swigarg0) (_swigobj->AddData(_swigarg0))
1949 static PyObject
*_wrap_wxClipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1952 wxClipboard
* _arg0
;
1953 wxDataObject
* _arg1
;
1954 PyObject
* _argo0
= 0;
1955 PyObject
* _argo1
= 0;
1956 char *_kwnames
[] = { "self","data", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_AddData",_kwnames
,&_argo0
,&_argo1
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_AddData. Expected _wxClipboard_p.");
1969 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_AddData. Expected _wxDataObject_p.");
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 _result
= (bool )wxClipboard_AddData(_arg0
,_arg1
);
1979 wxPy_END_ALLOW_THREADS
;
1980 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxClipboard_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
1985 static PyObject
*_wrap_wxClipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1988 wxClipboard
* _arg0
;
1989 wxDataObject
* _arg1
;
1990 PyObject
* _argo0
= 0;
1991 PyObject
* _argo1
= 0;
1992 char *_kwnames
[] = { "self","data", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_SetData",_kwnames
,&_argo0
,&_argo1
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_SetData. Expected _wxClipboard_p.");
2005 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_SetData. Expected _wxDataObject_p.");
2012 wxPy_BEGIN_ALLOW_THREADS
;
2013 _result
= (bool )wxClipboard_SetData(_arg0
,_arg1
);
2015 wxPy_END_ALLOW_THREADS
;
2016 } _resultobj
= Py_BuildValue("i",_result
);
2020 #define wxClipboard_IsSupported(_swigobj,_swigarg0) (_swigobj->IsSupported(_swigarg0))
2021 static PyObject
*_wrap_wxClipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2024 wxClipboard
* _arg0
;
2025 wxDataFormat
* _arg1
;
2026 PyObject
* _argo0
= 0;
2027 PyObject
* _argo1
= 0;
2028 char *_kwnames
[] = { "self","format", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_IsSupported",_kwnames
,&_argo0
,&_argo1
))
2034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsSupported. Expected _wxClipboard_p.");
2041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_IsSupported. Expected _wxDataFormat_p.");
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 _result
= (bool )wxClipboard_IsSupported(_arg0
,*_arg1
);
2051 wxPy_END_ALLOW_THREADS
;
2052 } _resultobj
= Py_BuildValue("i",_result
);
2056 #define wxClipboard_GetData(_swigobj,_swigarg0) (_swigobj->GetData(_swigarg0))
2057 static PyObject
*_wrap_wxClipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2060 wxClipboard
* _arg0
;
2061 wxDataObject
* _arg1
;
2062 PyObject
* _argo0
= 0;
2063 PyObject
* _argo1
= 0;
2064 char *_kwnames
[] = { "self","data", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_GetData",_kwnames
,&_argo0
,&_argo1
))
2070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_GetData. Expected _wxClipboard_p.");
2077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_GetData. Expected _wxDataObject_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 _result
= (bool )wxClipboard_GetData(_arg0
,*_arg1
);
2087 wxPy_END_ALLOW_THREADS
;
2088 } _resultobj
= Py_BuildValue("i",_result
);
2092 #define wxClipboard_Clear(_swigobj) (_swigobj->Clear())
2093 static PyObject
*_wrap_wxClipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2095 wxClipboard
* _arg0
;
2096 PyObject
* _argo0
= 0;
2097 char *_kwnames
[] = { "self", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Clear",_kwnames
,&_argo0
))
2103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Clear. Expected _wxClipboard_p.");
2110 wxPy_BEGIN_ALLOW_THREADS
;
2111 wxClipboard_Clear(_arg0
);
2113 wxPy_END_ALLOW_THREADS
;
2114 } Py_INCREF(Py_None
);
2115 _resultobj
= Py_None
;
2119 #define wxClipboard_Flush(_swigobj) (_swigobj->Flush())
2120 static PyObject
*_wrap_wxClipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2123 wxClipboard
* _arg0
;
2124 PyObject
* _argo0
= 0;
2125 char *_kwnames
[] = { "self", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Flush",_kwnames
,&_argo0
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Flush. Expected _wxClipboard_p.");
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 _result
= (bool )wxClipboard_Flush(_arg0
);
2141 wxPy_END_ALLOW_THREADS
;
2142 } _resultobj
= Py_BuildValue("i",_result
);
2146 #define wxClipboard_UsePrimarySelection(_swigobj,_swigarg0) (_swigobj->UsePrimarySelection(_swigarg0))
2147 static PyObject
*_wrap_wxClipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2149 wxClipboard
* _arg0
;
2150 int _arg1
= (int ) FALSE
;
2151 PyObject
* _argo0
= 0;
2152 char *_kwnames
[] = { "self","primary", NULL
};
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxClipboard_UsePrimarySelection",_kwnames
,&_argo0
,&_arg1
))
2158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_UsePrimarySelection. Expected _wxClipboard_p.");
2165 wxPy_BEGIN_ALLOW_THREADS
;
2166 wxClipboard_UsePrimarySelection(_arg0
,_arg1
);
2168 wxPy_END_ALLOW_THREADS
;
2169 } Py_INCREF(Py_None
);
2170 _resultobj
= Py_None
;
2174 #define new_wxDropSource(_swigarg0,_swigarg1) (new wxPyDropSource(_swigarg0,_swigarg1))
2175 static PyObject
*_wrap_new_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
* _resultobj
;
2177 wxPyDropSource
* _result
;
2178 wxWindow
* _arg0
= (wxWindow
*) NULL
;
2179 wxIcon
* _arg1
= (wxIcon
*) &wxNullIcon
;
2180 PyObject
* _argo0
= 0;
2181 PyObject
* _argo1
= 0;
2182 char *_kwnames
[] = { "win","go", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxDropSource",_kwnames
,&_argo0
,&_argo1
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDropSource. Expected _wxWindow_p.");
2196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDropSource. Expected _wxIcon_p.");
2203 wxPy_BEGIN_ALLOW_THREADS
;
2204 _result
= (wxPyDropSource
*)new_wxDropSource(_arg0
,*_arg1
);
2206 wxPy_END_ALLOW_THREADS
;
2208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropSource_p");
2209 _resultobj
= Py_BuildValue("s",_ptemp
);
2212 _resultobj
= Py_None
;
2217 #define wxDropSource__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2218 static PyObject
*_wrap_wxDropSource__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
* _resultobj
;
2220 wxPyDropSource
* _arg0
;
2223 PyObject
* _argo0
= 0;
2224 PyObject
* _obj1
= 0;
2225 char *_kwnames
[] = { "self","self","incref", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDropSource__setSelf",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource__setSelf. Expected _wxPyDropSource_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 wxDropSource__setSelf(_arg0
,_arg1
,_arg2
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } Py_INCREF(Py_None
);
2246 _resultobj
= Py_None
;
2250 #define delete_wxPyDropSource(_swigobj) (delete _swigobj)
2251 static PyObject
*_wrap_delete_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2253 wxPyDropSource
* _arg0
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDropSource",_kwnames
,&_argo0
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDropSource. Expected _wxPyDropSource_p.");
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 delete_wxPyDropSource(_arg0
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } Py_INCREF(Py_None
);
2273 _resultobj
= Py_None
;
2277 #define wxDropSource_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2278 static PyObject
*_wrap_wxDropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2280 wxPyDropSource
* _arg0
;
2281 wxDataObject
* _arg1
;
2282 PyObject
* _argo0
= 0;
2283 PyObject
* _argo1
= 0;
2284 char *_kwnames
[] = { "self","data", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource_SetData",_kwnames
,&_argo0
,&_argo1
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetData. Expected _wxPyDropSource_p.");
2297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDropSource_SetData. Expected _wxDataObject_p.");
2304 wxPy_BEGIN_ALLOW_THREADS
;
2305 wxDropSource_SetData(_arg0
,*_arg1
);
2307 wxPy_END_ALLOW_THREADS
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2313 #define wxDropSource_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2314 static PyObject
*_wrap_wxDropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2316 wxDataObject
* _result
;
2317 wxPyDropSource
* _arg0
;
2318 PyObject
* _argo0
= 0;
2319 char *_kwnames
[] = { "self", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropSource_GetDataObject",_kwnames
,&_argo0
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_GetDataObject. Expected _wxPyDropSource_p.");
2333 wxPy_BEGIN_ALLOW_THREADS
;
2334 _result
= (wxDataObject
*)wxDropSource_GetDataObject(_arg0
);
2336 wxPy_END_ALLOW_THREADS
;
2338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2339 _resultobj
= Py_BuildValue("s",_ptemp
);
2342 _resultobj
= Py_None
;
2347 #define wxDropSource_SetCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursor(_swigarg0,_swigarg1))
2348 static PyObject
*_wrap_wxDropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2350 wxPyDropSource
* _arg0
;
2353 PyObject
* _argo0
= 0;
2354 PyObject
* _argo2
= 0;
2355 char *_kwnames
[] = { "self","res","cursor", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxDropSource_SetCursor",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetCursor. Expected _wxPyDropSource_p.");
2368 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2369 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDropSource_SetCursor. Expected _wxCursor_p.");
2375 wxPy_BEGIN_ALLOW_THREADS
;
2376 wxDropSource_SetCursor(_arg0
,_arg1
,*_arg2
);
2378 wxPy_END_ALLOW_THREADS
;
2379 } Py_INCREF(Py_None
);
2380 _resultobj
= Py_None
;
2384 #define wxDropSource_DoDragDrop(_swigobj,_swigarg0) (_swigobj->DoDragDrop(_swigarg0))
2385 static PyObject
*_wrap_wxDropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2387 wxDragResult _result
;
2388 wxPyDropSource
* _arg0
;
2389 int _arg1
= (int ) FALSE
;
2390 PyObject
* _argo0
= 0;
2391 char *_kwnames
[] = { "self","bAllowMove", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDropSource_DoDragDrop",_kwnames
,&_argo0
,&_arg1
))
2397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_DoDragDrop. Expected _wxPyDropSource_p.");
2404 wxPy_BEGIN_ALLOW_THREADS
;
2405 _result
= (wxDragResult
)wxDropSource_DoDragDrop(_arg0
,_arg1
);
2407 wxPy_END_ALLOW_THREADS
;
2408 } _resultobj
= Py_BuildValue("i",_result
);
2412 #define wxDropSource_base_GiveFeedback(_swigobj,_swigarg0) (_swigobj->base_GiveFeedback(_swigarg0))
2413 static PyObject
*_wrap_wxDropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2416 wxPyDropSource
* _arg0
;
2418 PyObject
* _argo0
= 0;
2419 char *_kwnames
[] = { "self","effect", NULL
};
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDropSource_base_GiveFeedback",_kwnames
,&_argo0
,&_arg1
))
2425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_base_GiveFeedback. Expected _wxPyDropSource_p.");
2432 wxPy_BEGIN_ALLOW_THREADS
;
2433 _result
= (bool )wxDropSource_base_GiveFeedback(_arg0
,_arg1
);
2435 wxPy_END_ALLOW_THREADS
;
2436 } _resultobj
= Py_BuildValue("i",_result
);
2440 static void *SwigwxPyDropTargetTowxDropTarget(void *ptr
) {
2441 wxPyDropTarget
*src
;
2443 src
= (wxPyDropTarget
*) ptr
;
2444 dest
= (wxDropTarget
*) src
;
2445 return (void *) dest
;
2448 #define new_wxPyDropTarget(_swigarg0) (new wxPyDropTarget(_swigarg0))
2449 static PyObject
*_wrap_new_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2451 wxPyDropTarget
* _result
;
2452 wxDataObject
* _arg0
= (wxDataObject
*) NULL
;
2453 PyObject
* _argo0
= 0;
2454 char *_kwnames
[] = { "dataObject", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDropTarget",_kwnames
,&_argo0
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDropTarget. Expected _wxDataObject_p.");
2468 wxPy_BEGIN_ALLOW_THREADS
;
2469 _result
= (wxPyDropTarget
*)new_wxPyDropTarget(_arg0
);
2471 wxPy_END_ALLOW_THREADS
;
2473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropTarget_p");
2474 _resultobj
= Py_BuildValue("s",_ptemp
);
2477 _resultobj
= Py_None
;
2482 #define wxPyDropTarget__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2483 static PyObject
*_wrap_wxPyDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2485 wxPyDropTarget
* _arg0
;
2487 PyObject
* _argo0
= 0;
2488 PyObject
* _obj1
= 0;
2489 char *_kwnames
[] = { "self","self", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget__setSelf. Expected _wxPyDropTarget_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 wxPyDropTarget__setSelf(_arg0
,_arg1
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } Py_INCREF(Py_None
);
2510 _resultobj
= Py_None
;
2514 #define delete_wxPyDropTarget(_swigobj) (delete _swigobj)
2515 static PyObject
*_wrap_delete_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2517 wxPyDropTarget
* _arg0
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyDropTarget",_kwnames
,&_argo0
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyDropTarget. Expected _wxPyDropTarget_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 delete_wxPyDropTarget(_arg0
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxPyDropTarget_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2542 static PyObject
*_wrap_wxPyDropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2544 wxDataObject
* _result
;
2545 wxPyDropTarget
* _arg0
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetDataObject",_kwnames
,&_argo0
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetDataObject. Expected _wxPyDropTarget_p.");
2561 wxPy_BEGIN_ALLOW_THREADS
;
2562 _result
= (wxDataObject
*)wxPyDropTarget_GetDataObject(_arg0
);
2564 wxPy_END_ALLOW_THREADS
;
2566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2567 _resultobj
= Py_BuildValue("s",_ptemp
);
2570 _resultobj
= Py_None
;
2575 #define wxPyDropTarget_SetDataObject(_swigobj,_swigarg0) (_swigobj->SetDataObject(_swigarg0))
2576 static PyObject
*_wrap_wxPyDropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2578 wxPyDropTarget
* _arg0
;
2579 wxDataObject
* _arg1
;
2580 PyObject
* _argo0
= 0;
2581 PyObject
* _argo1
= 0;
2582 char *_kwnames
[] = { "self","dataObject", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget_SetDataObject",_kwnames
,&_argo0
,&_argo1
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_SetDataObject. Expected _wxPyDropTarget_p.");
2595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyDropTarget_SetDataObject. Expected _wxDataObject_p.");
2602 wxPy_BEGIN_ALLOW_THREADS
;
2603 wxPyDropTarget_SetDataObject(_arg0
,_arg1
);
2605 wxPy_END_ALLOW_THREADS
;
2606 } Py_INCREF(Py_None
);
2607 _resultobj
= Py_None
;
2611 #define wxPyDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2612 static PyObject
*_wrap_wxPyDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2614 wxDragResult _result
;
2615 wxPyDropTarget
* _arg0
;
2619 PyObject
* _argo0
= 0;
2620 char *_kwnames
[] = { "self","x","y","def", NULL
};
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnEnter. Expected _wxPyDropTarget_p.");
2633 wxPy_BEGIN_ALLOW_THREADS
;
2634 _result
= (wxDragResult
)wxPyDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2636 wxPy_END_ALLOW_THREADS
;
2637 } _resultobj
= Py_BuildValue("i",_result
);
2641 #define wxPyDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2642 static PyObject
*_wrap_wxPyDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2644 wxDragResult _result
;
2645 wxPyDropTarget
* _arg0
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self","x","y","def", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDragOver. Expected _wxPyDropTarget_p.");
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 _result
= (wxDragResult
)wxPyDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2666 wxPy_END_ALLOW_THREADS
;
2667 } _resultobj
= Py_BuildValue("i",_result
);
2671 #define wxPyDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2672 static PyObject
*_wrap_wxPyDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2674 wxPyDropTarget
* _arg0
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnLeave. Expected _wxPyDropTarget_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 wxPyDropTarget_base_OnLeave(_arg0
);
2692 wxPy_END_ALLOW_THREADS
;
2693 } Py_INCREF(Py_None
);
2694 _resultobj
= Py_None
;
2698 #define wxPyDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2699 static PyObject
*_wrap_wxPyDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2702 wxPyDropTarget
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self","x","y", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDrop. Expected _wxPyDropTarget_p.");
2719 wxPy_BEGIN_ALLOW_THREADS
;
2720 _result
= (bool )wxPyDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2722 wxPy_END_ALLOW_THREADS
;
2723 } _resultobj
= Py_BuildValue("i",_result
);
2727 #define wxPyDropTarget_GetData(_swigobj) (_swigobj->GetData())
2728 static PyObject
*_wrap_wxPyDropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
* _resultobj
;
2731 wxPyDropTarget
* _arg0
;
2732 PyObject
* _argo0
= 0;
2733 char *_kwnames
[] = { "self", NULL
};
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetData",_kwnames
,&_argo0
))
2739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetData. Expected _wxPyDropTarget_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (bool )wxPyDropTarget_GetData(_arg0
);
2749 wxPy_END_ALLOW_THREADS
;
2750 } _resultobj
= Py_BuildValue("i",_result
);
2754 static void *SwigwxPyTextDropTargetTowxPyDropTarget(void *ptr
) {
2755 wxPyTextDropTarget
*src
;
2756 wxPyDropTarget
*dest
;
2757 src
= (wxPyTextDropTarget
*) ptr
;
2758 dest
= (wxPyDropTarget
*) src
;
2759 return (void *) dest
;
2762 static void *SwigwxPyTextDropTargetTowxDropTarget(void *ptr
) {
2763 wxPyTextDropTarget
*src
;
2765 src
= (wxPyTextDropTarget
*) ptr
;
2766 dest
= (wxDropTarget
*) src
;
2767 return (void *) dest
;
2770 #define new_wxTextDropTarget() (new wxPyTextDropTarget())
2771 static PyObject
*_wrap_new_wxTextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2773 wxPyTextDropTarget
* _result
;
2774 char *_kwnames
[] = { NULL
};
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTextDropTarget",_kwnames
))
2781 wxPy_BEGIN_ALLOW_THREADS
;
2782 _result
= (wxPyTextDropTarget
*)new_wxTextDropTarget();
2784 wxPy_END_ALLOW_THREADS
;
2786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDropTarget_p");
2787 _resultobj
= Py_BuildValue("s",_ptemp
);
2790 _resultobj
= Py_None
;
2795 #define wxTextDropTarget__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2796 static PyObject
*_wrap_wxTextDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2798 wxPyTextDropTarget
* _arg0
;
2800 PyObject
* _argo0
= 0;
2801 PyObject
* _obj1
= 0;
2802 char *_kwnames
[] = { "self","self", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget__setSelf. Expected _wxPyTextDropTarget_p.");
2818 wxPy_BEGIN_ALLOW_THREADS
;
2819 wxTextDropTarget__setSelf(_arg0
,_arg1
);
2821 wxPy_END_ALLOW_THREADS
;
2822 } Py_INCREF(Py_None
);
2823 _resultobj
= Py_None
;
2827 #define wxTextDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2828 static PyObject
*_wrap_wxTextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2830 wxDragResult _result
;
2831 wxPyTextDropTarget
* _arg0
;
2835 PyObject
* _argo0
= 0;
2836 char *_kwnames
[] = { "self","x","y","def", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnEnter. Expected _wxPyTextDropTarget_p.");
2849 wxPy_BEGIN_ALLOW_THREADS
;
2850 _result
= (wxDragResult
)wxTextDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2852 wxPy_END_ALLOW_THREADS
;
2853 } _resultobj
= Py_BuildValue("i",_result
);
2857 #define wxTextDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2858 static PyObject
*_wrap_wxTextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2860 wxDragResult _result
;
2861 wxPyTextDropTarget
* _arg0
;
2865 PyObject
* _argo0
= 0;
2866 char *_kwnames
[] = { "self","x","y","def", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDragOver. Expected _wxPyTextDropTarget_p.");
2879 wxPy_BEGIN_ALLOW_THREADS
;
2880 _result
= (wxDragResult
)wxTextDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2882 wxPy_END_ALLOW_THREADS
;
2883 } _resultobj
= Py_BuildValue("i",_result
);
2887 #define wxTextDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2888 static PyObject
*_wrap_wxTextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2890 wxPyTextDropTarget
* _arg0
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnLeave. Expected _wxPyTextDropTarget_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 wxTextDropTarget_base_OnLeave(_arg0
);
2908 wxPy_END_ALLOW_THREADS
;
2909 } Py_INCREF(Py_None
);
2910 _resultobj
= Py_None
;
2914 #define wxTextDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2915 static PyObject
*_wrap_wxTextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2918 wxPyTextDropTarget
* _arg0
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self","x","y", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTextDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDrop. Expected _wxPyTextDropTarget_p.");
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 _result
= (bool )wxTextDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2938 wxPy_END_ALLOW_THREADS
;
2939 } _resultobj
= Py_BuildValue("i",_result
);
2943 #define wxTextDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
2944 static PyObject
*_wrap_wxTextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2946 wxDragResult _result
;
2947 wxPyTextDropTarget
* _arg0
;
2951 PyObject
* _argo0
= 0;
2952 char *_kwnames
[] = { "self","x","y","def", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnData. Expected _wxPyTextDropTarget_p.");
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 _result
= (wxDragResult
)wxTextDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
2968 wxPy_END_ALLOW_THREADS
;
2969 } _resultobj
= Py_BuildValue("i",_result
);
2973 static void *SwigwxPyFileDropTargetTowxPyDropTarget(void *ptr
) {
2974 wxPyFileDropTarget
*src
;
2975 wxPyDropTarget
*dest
;
2976 src
= (wxPyFileDropTarget
*) ptr
;
2977 dest
= (wxPyDropTarget
*) src
;
2978 return (void *) dest
;
2981 static void *SwigwxPyFileDropTargetTowxDropTarget(void *ptr
) {
2982 wxPyFileDropTarget
*src
;
2984 src
= (wxPyFileDropTarget
*) ptr
;
2985 dest
= (wxDropTarget
*) src
;
2986 return (void *) dest
;
2989 #define new_wxFileDropTarget() (new wxPyFileDropTarget())
2990 static PyObject
*_wrap_new_wxFileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2992 wxPyFileDropTarget
* _result
;
2993 char *_kwnames
[] = { NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDropTarget",_kwnames
))
3000 wxPy_BEGIN_ALLOW_THREADS
;
3001 _result
= (wxPyFileDropTarget
*)new_wxFileDropTarget();
3003 wxPy_END_ALLOW_THREADS
;
3005 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileDropTarget_p");
3006 _resultobj
= Py_BuildValue("s",_ptemp
);
3009 _resultobj
= Py_None
;
3014 #define wxFileDropTarget__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
3015 static PyObject
*_wrap_wxFileDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3017 wxPyFileDropTarget
* _arg0
;
3019 PyObject
* _argo0
= 0;
3020 PyObject
* _obj1
= 0;
3021 char *_kwnames
[] = { "self","self", NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
))
3027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget__setSelf. Expected _wxPyFileDropTarget_p.");
3037 wxPy_BEGIN_ALLOW_THREADS
;
3038 wxFileDropTarget__setSelf(_arg0
,_arg1
);
3040 wxPy_END_ALLOW_THREADS
;
3041 } Py_INCREF(Py_None
);
3042 _resultobj
= Py_None
;
3046 #define wxFileDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
3047 static PyObject
*_wrap_wxFileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3049 wxDragResult _result
;
3050 wxPyFileDropTarget
* _arg0
;
3054 PyObject
* _argo0
= 0;
3055 char *_kwnames
[] = { "self","x","y","def", NULL
};
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnEnter. Expected _wxPyFileDropTarget_p.");
3068 wxPy_BEGIN_ALLOW_THREADS
;
3069 _result
= (wxDragResult
)wxFileDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
3071 wxPy_END_ALLOW_THREADS
;
3072 } _resultobj
= Py_BuildValue("i",_result
);
3076 #define wxFileDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
3077 static PyObject
*_wrap_wxFileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3079 wxDragResult _result
;
3080 wxPyFileDropTarget
* _arg0
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self","x","y","def", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDragOver. Expected _wxPyFileDropTarget_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 _result
= (wxDragResult
)wxFileDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } _resultobj
= Py_BuildValue("i",_result
);
3106 #define wxFileDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
3107 static PyObject
*_wrap_wxFileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3109 wxPyFileDropTarget
* _arg0
;
3110 PyObject
* _argo0
= 0;
3111 char *_kwnames
[] = { "self", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDropTarget_base_OnLeave",_kwnames
,&_argo0
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnLeave. Expected _wxPyFileDropTarget_p.");
3124 wxPy_BEGIN_ALLOW_THREADS
;
3125 wxFileDropTarget_base_OnLeave(_arg0
);
3127 wxPy_END_ALLOW_THREADS
;
3128 } Py_INCREF(Py_None
);
3129 _resultobj
= Py_None
;
3133 #define wxFileDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3134 static PyObject
*_wrap_wxFileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
* _resultobj
;
3137 wxPyFileDropTarget
* _arg0
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self","x","y", NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFileDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDrop. Expected _wxPyFileDropTarget_p.");
3154 wxPy_BEGIN_ALLOW_THREADS
;
3155 _result
= (bool )wxFileDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3157 wxPy_END_ALLOW_THREADS
;
3158 } _resultobj
= Py_BuildValue("i",_result
);
3162 #define wxFileDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3163 static PyObject
*_wrap_wxFileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3165 wxDragResult _result
;
3166 wxPyFileDropTarget
* _arg0
;
3170 PyObject
* _argo0
= 0;
3171 char *_kwnames
[] = { "self","x","y","def", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnData. Expected _wxPyFileDropTarget_p.");
3184 wxPy_BEGIN_ALLOW_THREADS
;
3185 _result
= (wxDragResult
)wxFileDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3187 wxPy_END_ALLOW_THREADS
;
3188 } _resultobj
= Py_BuildValue("i",_result
);
3192 static PyMethodDef clip_dndcMethods
[] = {
3193 { "wxFileDropTarget_base_OnData", (PyCFunction
) _wrap_wxFileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3194 { "wxFileDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3195 { "wxFileDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxFileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3196 { "wxFileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3197 { "wxFileDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxFileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3198 { "wxFileDropTarget__setSelf", (PyCFunction
) _wrap_wxFileDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3199 { "new_wxFileDropTarget", (PyCFunction
) _wrap_new_wxFileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3200 { "wxTextDropTarget_base_OnData", (PyCFunction
) _wrap_wxTextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3201 { "wxTextDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3202 { "wxTextDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxTextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3203 { "wxTextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3204 { "wxTextDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxTextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3205 { "wxTextDropTarget__setSelf", (PyCFunction
) _wrap_wxTextDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3206 { "new_wxTextDropTarget", (PyCFunction
) _wrap_new_wxTextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3207 { "wxPyDropTarget_GetData", (PyCFunction
) _wrap_wxPyDropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3208 { "wxPyDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3209 { "wxPyDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxPyDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3210 { "wxPyDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3211 { "wxPyDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxPyDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3212 { "wxPyDropTarget_SetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3213 { "wxPyDropTarget_GetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3214 { "delete_wxPyDropTarget", (PyCFunction
) _wrap_delete_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3215 { "wxPyDropTarget__setSelf", (PyCFunction
) _wrap_wxPyDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3216 { "new_wxPyDropTarget", (PyCFunction
) _wrap_new_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3217 { "wxDropSource_base_GiveFeedback", (PyCFunction
) _wrap_wxDropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
3218 { "wxDropSource_DoDragDrop", (PyCFunction
) _wrap_wxDropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
3219 { "wxDropSource_SetCursor", (PyCFunction
) _wrap_wxDropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
3220 { "wxDropSource_GetDataObject", (PyCFunction
) _wrap_wxDropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3221 { "wxDropSource_SetData", (PyCFunction
) _wrap_wxDropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3222 { "delete_wxDropSource", (PyCFunction
) _wrap_delete_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3223 { "wxDropSource__setSelf", (PyCFunction
) _wrap_wxDropSource__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3224 { "new_wxDropSource", (PyCFunction
) _wrap_new_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3225 { "wxClipboard_UsePrimarySelection", (PyCFunction
) _wrap_wxClipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
3226 { "wxClipboard_Flush", (PyCFunction
) _wrap_wxClipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
3227 { "wxClipboard_Clear", (PyCFunction
) _wrap_wxClipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3228 { "wxClipboard_GetData", (PyCFunction
) _wrap_wxClipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3229 { "wxClipboard_IsSupported", (PyCFunction
) _wrap_wxClipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
3230 { "wxClipboard_SetData", (PyCFunction
) _wrap_wxClipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3231 { "wxClipboard_AddData", (PyCFunction
) _wrap_wxClipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
3232 { "wxClipboard_IsOpened", (PyCFunction
) _wrap_wxClipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
3233 { "wxClipboard_Close", (PyCFunction
) _wrap_wxClipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
3234 { "wxClipboard_Open", (PyCFunction
) _wrap_wxClipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
3235 { "new_wxClipboard", (PyCFunction
) _wrap_new_wxClipboard
, METH_VARARGS
| METH_KEYWORDS
},
3236 { "wxCustomDataObject_GetData", (PyCFunction
) _wrap_wxCustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3237 { "wxCustomDataObject_GetSize", (PyCFunction
) _wrap_wxCustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3238 { "wxCustomDataObject_SetData", (PyCFunction
) _wrap_wxCustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3239 { "wxCustomDataObject_TakeData", (PyCFunction
) _wrap_wxCustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
3240 { "new_wxCustomDataObject", (PyCFunction
) _wrap_new_wxCustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3241 { "wxFileDataObject_GetFilenames", (PyCFunction
) _wrap_wxFileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3242 { "new_wxFileDataObject", (PyCFunction
) _wrap_new_wxFileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3243 { "wxPyBitmapDataObject__setSelf", (PyCFunction
) _wrap_wxPyBitmapDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3244 { "new_wxPyBitmapDataObject", (PyCFunction
) _wrap_new_wxPyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3245 { "wxBitmapDataObject_SetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3246 { "wxBitmapDataObject_GetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3247 { "new_wxBitmapDataObject", (PyCFunction
) _wrap_new_wxBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3248 { "wxPyTextDataObject__setSelf", (PyCFunction
) _wrap_wxPyTextDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3249 { "new_wxPyTextDataObject", (PyCFunction
) _wrap_new_wxPyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3250 { "wxTextDataObject_SetText", (PyCFunction
) _wrap_wxTextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3251 { "wxTextDataObject_GetText", (PyCFunction
) _wrap_wxTextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3252 { "wxTextDataObject_GetTextLength", (PyCFunction
) _wrap_wxTextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
3253 { "new_wxTextDataObject", (PyCFunction
) _wrap_new_wxTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3254 { "wxDataObjectComposite_Add", (PyCFunction
) _wrap_wxDataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
3255 { "new_wxDataObjectComposite", (PyCFunction
) _wrap_new_wxDataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
3256 { "wxPyDataObjectSimple__setSelf", (PyCFunction
) _wrap_wxPyDataObjectSimple__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3257 { "new_wxPyDataObjectSimple", (PyCFunction
) _wrap_new_wxPyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3258 { "wxDataObjectSimple_SetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3259 { "wxDataObjectSimple_GetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3260 { "new_wxDataObjectSimple", (PyCFunction
) _wrap_new_wxDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3261 { "wxDataObject_IsSupportedFormat", (PyCFunction
) _wrap_wxDataObject_IsSupportedFormat
, METH_VARARGS
| METH_KEYWORDS
},
3262 { "wxDataObject_SetData", (PyCFunction
) _wrap_wxDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3263 { "wxDataObject_GetDataHere", (PyCFunction
) _wrap_wxDataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
3264 { "wxDataObject_GetDataSize", (PyCFunction
) _wrap_wxDataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
3265 { "wxDataObject_GetAllFormats", (PyCFunction
) _wrap_wxDataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
3266 { "wxDataObject_GetFormatCount", (PyCFunction
) _wrap_wxDataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
3267 { "wxDataObject_GetPreferredFormat", (PyCFunction
) _wrap_wxDataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
3268 { "delete_wxDataObject", (PyCFunction
) _wrap_delete_wxDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3269 { "wxDataFormat_SetId", (PyCFunction
) _wrap_wxDataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3270 { "wxDataFormat_GetId", (PyCFunction
) _wrap_wxDataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3271 { "wxDataFormat_GetType", (PyCFunction
) _wrap_wxDataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
3272 { "wxDataFormat_SetType", (PyCFunction
) _wrap_wxDataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
3273 { "delete_wxDataFormat", (PyCFunction
) _wrap_delete_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3274 { "new_wxDataFormat", (PyCFunction
) _wrap_new_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3275 { "wxIsDragResultOk", (PyCFunction
) _wrap_wxIsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
3276 { "wxCustomDataFormat", (PyCFunction
) _wrap_wxCustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3283 * This table is used by the pointer type-checker
3285 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3286 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3287 { "_signed_long","_long",0},
3288 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3289 { "_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3290 { "_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3291 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3292 { "_wxPrintQuality","_wxCoord",0},
3293 { "_wxPrintQuality","_int",0},
3294 { "_wxPrintQuality","_signed_int",0},
3295 { "_wxPrintQuality","_unsigned_int",0},
3296 { "_wxPrintQuality","_wxWindowID",0},
3297 { "_wxPrintQuality","_uint",0},
3298 { "_wxPrintQuality","_EBool",0},
3299 { "_wxPrintQuality","_size_t",0},
3300 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3301 { "_class_wxRegionIterator","_wxRegionIterator",0},
3302 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3303 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3304 { "_wxCursor","_class_wxCursor",0},
3305 { "_wxMask","_class_wxMask",0},
3306 { "_wxPen","_class_wxPen",0},
3307 { "_byte","_unsigned_char",0},
3308 { "_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3309 { "_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3310 { "_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3311 { "_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3312 { "_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3313 { "_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3314 { "_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3315 { "_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3316 { "_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3317 { "_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3318 { "_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3319 { "_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3320 { "_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3321 { "_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3322 { "_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3323 { "_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3324 { "_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3325 { "_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3326 { "_wxDataObject","_class_wxDataObject",0},
3327 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3328 { "_wxPyDropSource","_class_wxPyDropSource",0},
3329 { "_long","_unsigned_long",0},
3330 { "_long","_signed_long",0},
3331 { "_wxImageList","_class_wxImageList",0},
3332 { "_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3333 { "_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3334 { "_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3335 { "_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3336 { "_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3337 { "_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3338 { "_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3339 { "_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3340 { "_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3341 { "_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3342 { "_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3343 { "_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3344 { "_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3345 { "_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3346 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3347 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3348 { "_class_wxClipboard","_wxClipboard",0},
3349 { "_wxDC","_class_wxDC",0},
3350 { "_class_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3351 { "_class_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3352 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3353 { "_size_t","_wxCoord",0},
3354 { "_size_t","_wxPrintQuality",0},
3355 { "_size_t","_unsigned_int",0},
3356 { "_size_t","_int",0},
3357 { "_size_t","_wxWindowID",0},
3358 { "_size_t","_uint",0},
3359 { "_class_wxRealPoint","_wxRealPoint",0},
3360 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
3361 { "_class_wxMask","_wxMask",0},
3362 { "_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3363 { "_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3364 { "_wxTextDataObject","_class_wxTextDataObject",0},
3365 { "_wxColour","_class_wxColour",0},
3366 { "_class_wxFileDataObject","_wxFileDataObject",0},
3367 { "_class_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3368 { "_class_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3369 { "_class_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3370 { "_class_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3371 { "_class_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3372 { "_class_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3373 { "_class_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3374 { "_class_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3375 { "_class_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3376 { "_class_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3377 { "_class_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3378 { "_class_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3379 { "_class_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3380 { "_class_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3381 { "_class_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3382 { "_class_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3383 { "_class_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3384 { "_class_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3385 { "_class_wxDataObject","_wxDataObject",0},
3386 { "_wxBrush","_class_wxBrush",0},
3387 { "_wxDataFormat","_class_wxDataFormat",0},
3388 { "_class_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3389 { "_class_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3390 { "_class_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3391 { "_class_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3392 { "_class_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3393 { "_class_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3394 { "_class_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3395 { "_class_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3396 { "_class_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3397 { "_class_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3398 { "_class_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3399 { "_class_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3400 { "_class_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3401 { "_class_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3402 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3403 { "_uint","_wxCoord",0},
3404 { "_uint","_wxPrintQuality",0},
3405 { "_uint","_size_t",0},
3406 { "_uint","_unsigned_int",0},
3407 { "_uint","_int",0},
3408 { "_uint","_wxWindowID",0},
3409 { "_wxRect","_class_wxRect",0},
3410 { "_wxPoint","_class_wxPoint",0},
3411 { "_wxBitmap","_class_wxBitmap",0},
3412 { "_char","_wxDash",0},
3413 { "_wxPyTimer","_class_wxPyTimer",0},
3414 { "_wxWindowDC","_class_wxWindowDC",0},
3415 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3416 { "_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3417 { "_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3418 { "_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3419 { "_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3420 { "_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3421 { "_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3422 { "_wxDropTarget","_class_wxDropTarget",0},
3423 { "_EBool","_wxCoord",0},
3424 { "_EBool","_wxPrintQuality",0},
3425 { "_EBool","_signed_int",0},
3426 { "_EBool","_int",0},
3427 { "_EBool","_wxWindowID",0},
3428 { "_class_wxRegion","_wxRegion",0},
3429 { "_class_wxDataFormat","_wxDataFormat",0},
3430 { "_wxFont","_class_wxFont",0},
3431 { "_class_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3432 { "_class_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3433 { "_class_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3434 { "_class_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3435 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3436 { "_unsigned_long","_long",0},
3437 { "_class_wxRect","_wxRect",0},
3438 { "_class_wxDC","_wxDC",0},
3439 { "_class_wxPyTimer","_wxPyTimer",0},
3440 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3441 { "_signed_int","_wxCoord",0},
3442 { "_signed_int","_wxPrintQuality",0},
3443 { "_signed_int","_EBool",0},
3444 { "_signed_int","_wxWindowID",0},
3445 { "_signed_int","_int",0},
3446 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3447 { "_class_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3448 { "_class_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3449 { "_class_wxTextDataObject","_wxTextDataObject",0},
3450 { "_wxScreenDC","_class_wxScreenDC",0},
3451 { "_WXTYPE","_short",0},
3452 { "_WXTYPE","_signed_short",0},
3453 { "_WXTYPE","_unsigned_short",0},
3454 { "_class_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3455 { "_class_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3456 { "_class_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3457 { "_class_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3458 { "_class_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3459 { "_class_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3460 { "_class_wxDropTarget","_wxDropTarget",0},
3461 { "_class_wxBrush","_wxBrush",0},
3462 { "_unsigned_short","_WXTYPE",0},
3463 { "_unsigned_short","_short",0},
3464 { "_class_wxFont","_wxFont",0},
3465 { "_wxClipboard","_class_wxClipboard",0},
3466 { "_wxBusyInfo","_class_wxBusyInfo",0},
3467 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3468 { "_wxClientDC","_class_wxClientDC",0},
3469 { "_class_wxPoint","_wxPoint",0},
3470 { "_wxRealPoint","_class_wxRealPoint",0},
3471 { "_signed_short","_WXTYPE",0},
3472 { "_signed_short","_short",0},
3473 { "_wxMemoryDC","_class_wxMemoryDC",0},
3474 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3475 { "_wxPaintDC","_class_wxPaintDC",0},
3476 { "_class_wxWindowDC","_wxWindowDC",0},
3477 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3478 { "_class_wxCursor","_wxCursor",0},
3479 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
3480 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3481 { "_unsigned_char","_byte",0},
3482 { "_unsigned_int","_wxCoord",0},
3483 { "_unsigned_int","_wxPrintQuality",0},
3484 { "_unsigned_int","_size_t",0},
3485 { "_unsigned_int","_uint",0},
3486 { "_unsigned_int","_wxWindowID",0},
3487 { "_unsigned_int","_int",0},
3488 { "_wxIcon","_class_wxIcon",0},
3489 { "_class_wxPen","_wxPen",0},
3490 { "_short","_WXTYPE",0},
3491 { "_short","_unsigned_short",0},
3492 { "_short","_signed_short",0},
3493 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3494 { "_class_wxPyDropSource","_wxPyDropSource",0},
3495 { "_class_wxImageList","_wxImageList",0},
3496 { "_wxWindowID","_wxCoord",0},
3497 { "_wxWindowID","_wxPrintQuality",0},
3498 { "_wxWindowID","_size_t",0},
3499 { "_wxWindowID","_EBool",0},
3500 { "_wxWindowID","_uint",0},
3501 { "_wxWindowID","_int",0},
3502 { "_wxWindowID","_signed_int",0},
3503 { "_wxWindowID","_unsigned_int",0},
3504 { "_int","_wxCoord",0},
3505 { "_int","_wxPrintQuality",0},
3506 { "_int","_size_t",0},
3507 { "_int","_EBool",0},
3508 { "_int","_uint",0},
3509 { "_int","_wxWindowID",0},
3510 { "_int","_unsigned_int",0},
3511 { "_int","_signed_int",0},
3512 { "_wxSize","_class_wxSize",0},
3513 { "_wxRegionIterator","_class_wxRegionIterator",0},
3514 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3515 { "_class_wxPaintDC","_wxPaintDC",0},
3516 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3517 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3518 { "_class_wxIcon","_wxIcon",0},
3519 { "_class_wxColour","_wxColour",0},
3520 { "_class_wxScreenDC","_wxScreenDC",0},
3521 { "_wxPalette","_class_wxPalette",0},
3522 { "_wxCoord","_int",0},
3523 { "_wxCoord","_signed_int",0},
3524 { "_wxCoord","_unsigned_int",0},
3525 { "_wxCoord","_wxWindowID",0},
3526 { "_wxCoord","_uint",0},
3527 { "_wxCoord","_EBool",0},
3528 { "_wxCoord","_size_t",0},
3529 { "_wxCoord","_wxPrintQuality",0},
3530 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3531 { "_wxRegion","_class_wxRegion",0},
3532 { "_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3533 { "_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3534 { "_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3535 { "_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3536 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3537 { "_class_wxBusyInfo","_wxBusyInfo",0},
3538 { "_class_wxClientDC","_wxClientDC",0},
3539 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3540 { "_class_wxSize","_wxSize",0},
3541 { "_class_wxBitmap","_wxBitmap",0},
3542 { "_class_wxMemoryDC","_wxMemoryDC",0},
3543 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3544 { "_wxDash","_char",0},
3545 { "_class_wxPalette","_wxPalette",0},
3546 { "_wxFileDataObject","_class_wxFileDataObject",0},
3547 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3550 static PyObject
*SWIG_globals
;
3554 SWIGEXPORT(void) initclip_dndc() {
3556 SWIG_globals
= SWIG_newvarlink();
3557 m
= Py_InitModule("clip_dndc", clip_dndcMethods
);
3558 d
= PyModule_GetDict(m
);
3559 PyDict_SetItemString(d
,"wxDF_INVALID", PyInt_FromLong((long) wxDF_INVALID
));
3560 PyDict_SetItemString(d
,"wxDF_TEXT", PyInt_FromLong((long) wxDF_TEXT
));
3561 PyDict_SetItemString(d
,"wxDF_BITMAP", PyInt_FromLong((long) wxDF_BITMAP
));
3562 PyDict_SetItemString(d
,"wxDF_METAFILE", PyInt_FromLong((long) wxDF_METAFILE
));
3563 PyDict_SetItemString(d
,"wxDF_SYLK", PyInt_FromLong((long) wxDF_SYLK
));
3564 PyDict_SetItemString(d
,"wxDF_DIF", PyInt_FromLong((long) wxDF_DIF
));
3565 PyDict_SetItemString(d
,"wxDF_TIFF", PyInt_FromLong((long) wxDF_TIFF
));
3566 PyDict_SetItemString(d
,"wxDF_OEMTEXT", PyInt_FromLong((long) wxDF_OEMTEXT
));
3567 PyDict_SetItemString(d
,"wxDF_DIB", PyInt_FromLong((long) wxDF_DIB
));
3568 PyDict_SetItemString(d
,"wxDF_PALETTE", PyInt_FromLong((long) wxDF_PALETTE
));
3569 PyDict_SetItemString(d
,"wxDF_PENDATA", PyInt_FromLong((long) wxDF_PENDATA
));
3570 PyDict_SetItemString(d
,"wxDF_RIFF", PyInt_FromLong((long) wxDF_RIFF
));
3571 PyDict_SetItemString(d
,"wxDF_WAVE", PyInt_FromLong((long) wxDF_WAVE
));
3572 PyDict_SetItemString(d
,"wxDF_UNICODETEXT", PyInt_FromLong((long) wxDF_UNICODETEXT
));
3573 PyDict_SetItemString(d
,"wxDF_ENHMETAFILE", PyInt_FromLong((long) wxDF_ENHMETAFILE
));
3574 PyDict_SetItemString(d
,"wxDF_FILENAME", PyInt_FromLong((long) wxDF_FILENAME
));
3575 PyDict_SetItemString(d
,"wxDF_LOCALE", PyInt_FromLong((long) wxDF_LOCALE
));
3576 PyDict_SetItemString(d
,"wxDF_PRIVATE", PyInt_FromLong((long) wxDF_PRIVATE
));
3577 PyDict_SetItemString(d
,"wxDF_MAX", PyInt_FromLong((long) wxDF_MAX
));
3578 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
3579 SWIG_addvarlink(SWIG_globals
,"wxFormatInvalid",_wrap_wxPyFormatInvalid_get
, _wrap_wxPyFormatInvalid_set
);
3580 SWIG_addvarlink(SWIG_globals
,"wxTheClipboard",_wrap_wxPyTheClipboard_get
, _wrap_wxPyTheClipboard_set
);
3581 PyDict_SetItemString(d
,"wxDragError", PyInt_FromLong((long) wxDragError
));
3582 PyDict_SetItemString(d
,"wxDragNone", PyInt_FromLong((long) wxDragNone
));
3583 PyDict_SetItemString(d
,"wxDragCopy", PyInt_FromLong((long) wxDragCopy
));
3584 PyDict_SetItemString(d
,"wxDragMove", PyInt_FromLong((long) wxDragMove
));
3585 PyDict_SetItemString(d
,"wxDragCancel", PyInt_FromLong((long) wxDragCancel
));
3588 wxPyTheClipboard
= wxTheClipboard
;
3590 PyDict_SetItemString(d
,"wxDataObject_Get", PyInt_FromLong((long) wxDataObject::Get
));
3591 PyDict_SetItemString(d
,"wxDataObject_Set", PyInt_FromLong((long) wxDataObject::Set
));
3592 PyDict_SetItemString(d
,"wxDataObject_Both", PyInt_FromLong((long) wxDataObject::Both
));
3595 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3596 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);