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 wxClipboard
* wxPyTheClipboard
;
213 class wxPyDropSource
: public wxDropSource
{
216 wxPyDropSource(wxWindow
*win
= NULL
,
217 const wxCursor
&cursorCopy
= wxNullCursor
,
218 const wxCursor
&cursorMove
= wxNullCursor
,
219 const wxCursor
&cursorStop
= wxNullCursor
)
220 : wxDropSource(win
, cursorCopy
, cursorMove
, cursorStop
) {}
222 wxPyDropSource(wxWindow
*win
= NULL
,
223 const wxIcon
&go
= wxNullIcon
)
224 : wxDropSource(win
, go
) {}
226 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
230 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
233 class wxPyDropTarget
: public wxDropTarget
{
235 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
236 : wxDropTarget(dataObject
) {}
238 // DEC_PYCALLBACK_SIZET_(GetFormatCount);
239 // DEC_PYCALLBACK_DATAFMT_SIZET(GetFormat);
241 DEC_PYCALLBACK__(OnLeave
);
242 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
243 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
244 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
245 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
250 // IMP_PYCALLBACK_SIZET_(wxPyDropTarget, wxDropTarget, GetFormatCount);
251 // IMP__PYCALLBACK_DATAFMT_SIZET(wxPyDropTarget, wxDropTarget, GetFormat);
253 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
254 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
255 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
256 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
257 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
260 class wxPyTextDropTarget
: public wxTextDropTarget
{
262 wxPyTextDropTarget() {}
264 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
266 DEC_PYCALLBACK__(OnLeave
);
267 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
268 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
269 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
270 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
275 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
276 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
277 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
278 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
279 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
280 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
283 class wxPyFileDropTarget
: public wxFileDropTarget
{
285 wxPyFileDropTarget() {}
287 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
289 DEC_PYCALLBACK__(OnLeave
);
290 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
291 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
292 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
293 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
298 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
299 const wxArrayString
& filenames
) {
301 bool doSave
= wxPyRestoreThread();
302 PyObject
* list
= PyList_New(0);
303 for (size_t i
=0; i
<filenames
.GetCount(); i
++) {
304 PyObject
* str
= PyString_FromString(filenames
[i
].c_str());
305 PyList_Append(list
, str
);
307 if (m_myInst
.findCallback("OnDropFiles"))
308 rval
= m_myInst
.callCallback(Py_BuildValue("(iiO)",x
,y
,list
));
310 wxPySaveThread(doSave
);
316 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
317 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
318 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
319 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
320 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
325 static PyObject
*_wrap_wxCustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
326 PyObject
* _resultobj
;
327 wxDataFormat
* _result
;
329 PyObject
* _obj0
= 0;
330 char *_kwnames
[] = { "id", NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataFormat",_kwnames
,&_obj0
))
337 if (!PyString_Check(_obj0
)) {
338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
341 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
344 wxPy_BEGIN_ALLOW_THREADS
;
345 _result
= (wxDataFormat
*)wxCustomDataFormat(*_arg0
);
347 wxPy_END_ALLOW_THREADS
;
349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
350 _resultobj
= Py_BuildValue("s",_ptemp
);
353 _resultobj
= Py_None
;
362 static int _wrap_wxPyFormatInvalid_set(PyObject
*val
) {
364 PyErr_SetString(PyExc_TypeError
,"Variable wxFormatInvalid is read-only.");
368 static PyObject
*_wrap_wxPyFormatInvalid_get() {
372 SWIG_MakePtr(ptemp
,(char *) &wxPyFormatInvalid
,"_wxDataFormat_p");
373 pyobj
= PyString_FromString(ptemp
);
377 static int _wrap_wxPyTheClipboard_set(PyObject
*val
) {
379 PyErr_SetString(PyExc_TypeError
,"Variable wxTheClipboard is read-only.");
383 static PyObject
*_wrap_wxPyTheClipboard_get() {
387 SWIG_MakePtr(ptemp
, (char *) wxPyTheClipboard
,"_wxClipboard_p");
388 pyobj
= PyString_FromString(ptemp
);
392 static PyObject
*_wrap_wxIsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
396 char *_kwnames
[] = { "res", NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxIsDragResultOk",_kwnames
,&_arg0
))
402 wxPy_BEGIN_ALLOW_THREADS
;
403 _result
= (bool )wxIsDragResultOk(_arg0
);
405 wxPy_END_ALLOW_THREADS
;
406 } _resultobj
= Py_BuildValue("i",_result
);
410 #define new_wxDataFormat(_swigarg0) (new wxDataFormat(_swigarg0))
411 static PyObject
*_wrap_new_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
413 wxDataFormat
* _result
;
414 wxDataFormatId _arg0
;
415 char *_kwnames
[] = { "type", NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDataFormat",_kwnames
,&_arg0
))
422 wxPy_BEGIN_ALLOW_THREADS
;
423 _result
= (wxDataFormat
*)new_wxDataFormat(_arg0
);
425 wxPy_END_ALLOW_THREADS
;
427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
428 _resultobj
= Py_BuildValue("s",_ptemp
);
431 _resultobj
= Py_None
;
436 #define delete_wxDataFormat(_swigobj) (delete _swigobj)
437 static PyObject
*_wrap_delete_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
438 PyObject
* _resultobj
;
439 wxDataFormat
* _arg0
;
440 PyObject
* _argo0
= 0;
441 char *_kwnames
[] = { "self", NULL
};
444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataFormat",_kwnames
,&_argo0
))
447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataFormat. Expected _wxDataFormat_p.");
454 wxPy_BEGIN_ALLOW_THREADS
;
455 delete_wxDataFormat(_arg0
);
457 wxPy_END_ALLOW_THREADS
;
458 } Py_INCREF(Py_None
);
459 _resultobj
= Py_None
;
463 #define wxDataFormat_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
464 static PyObject
*_wrap_wxDataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
466 wxDataFormat
* _arg0
;
467 wxDataFormatId _arg1
;
468 PyObject
* _argo0
= 0;
469 char *_kwnames
[] = { "self","format", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDataFormat_SetType",_kwnames
,&_argo0
,&_arg1
))
475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetType. Expected _wxDataFormat_p.");
482 wxPy_BEGIN_ALLOW_THREADS
;
483 wxDataFormat_SetType(_arg0
,_arg1
);
485 wxPy_END_ALLOW_THREADS
;
486 } Py_INCREF(Py_None
);
487 _resultobj
= Py_None
;
491 #define wxDataFormat_GetType(_swigobj) (_swigobj->GetType())
492 static PyObject
*_wrap_wxDataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
494 wxDataFormatId _result
;
495 wxDataFormat
* _arg0
;
496 PyObject
* _argo0
= 0;
497 char *_kwnames
[] = { "self", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetType",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetType. Expected _wxDataFormat_p.");
510 wxPy_BEGIN_ALLOW_THREADS
;
511 _result
= (wxDataFormatId
)wxDataFormat_GetType(_arg0
);
513 wxPy_END_ALLOW_THREADS
;
514 } _resultobj
= Py_BuildValue("i",_result
);
518 #define wxDataFormat_GetId(_swigobj) (_swigobj->GetId())
519 static PyObject
*_wrap_wxDataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 wxDataFormat
* _arg0
;
523 PyObject
* _argo0
= 0;
524 char *_kwnames
[] = { "self", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetId",_kwnames
,&_argo0
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetId. Expected _wxDataFormat_p.");
537 wxPy_BEGIN_ALLOW_THREADS
;
538 _result
= new wxString (wxDataFormat_GetId(_arg0
));
540 wxPy_END_ALLOW_THREADS
;
542 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
550 #define wxDataFormat_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
551 static PyObject
*_wrap_wxDataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
553 wxDataFormat
* _arg0
;
555 PyObject
* _argo0
= 0;
556 char *_kwnames
[] = { "self","format", NULL
};
559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDataFormat_SetId",_kwnames
,&_argo0
,&_arg1
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetId. Expected _wxDataFormat_p.");
569 wxPy_BEGIN_ALLOW_THREADS
;
570 wxDataFormat_SetId(_arg0
,_arg1
);
572 wxPy_END_ALLOW_THREADS
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
578 #define delete_wxDataObject(_swigobj) (delete _swigobj)
579 static PyObject
*_wrap_delete_wxDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
581 wxDataObject
* _arg0
;
582 PyObject
* _argo0
= 0;
583 char *_kwnames
[] = { "self", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataObject",_kwnames
,&_argo0
))
589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataObject. Expected _wxDataObject_p.");
596 wxPy_BEGIN_ALLOW_THREADS
;
597 delete_wxDataObject(_arg0
);
599 wxPy_END_ALLOW_THREADS
;
600 } Py_INCREF(Py_None
);
601 _resultobj
= Py_None
;
605 #define wxDataObject_GetPreferredFormat(_swigobj,_swigarg0) (_swigobj->GetPreferredFormat(_swigarg0))
606 static PyObject
*_wrap_wxDataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
608 wxDataFormat
* _result
;
609 wxDataObject
* _arg0
;
610 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
611 PyObject
* _argo0
= 0;
612 char *_kwnames
[] = { "self","dir", NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetPreferredFormat",_kwnames
,&_argo0
,&_arg1
))
619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetPreferredFormat. Expected _wxDataObject_p.");
626 wxPy_BEGIN_ALLOW_THREADS
;
627 _result
= new wxDataFormat (wxDataObject_GetPreferredFormat(_arg0
,_arg1
));
629 wxPy_END_ALLOW_THREADS
;
630 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDataFormat_p");
631 _resultobj
= Py_BuildValue("s",_ptemp
);
635 #define wxDataObject_GetFormatCount(_swigobj,_swigarg0) (_swigobj->GetFormatCount(_swigarg0))
636 static PyObject
*_wrap_wxDataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
637 PyObject
* _resultobj
;
639 wxDataObject
* _arg0
;
640 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
641 PyObject
* _argo0
= 0;
642 char *_kwnames
[] = { "self","dir", NULL
};
645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetFormatCount",_kwnames
,&_argo0
,&_arg1
))
648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetFormatCount. Expected _wxDataObject_p.");
655 wxPy_BEGIN_ALLOW_THREADS
;
656 _result
= (size_t )wxDataObject_GetFormatCount(_arg0
,_arg1
);
658 wxPy_END_ALLOW_THREADS
;
659 } _resultobj
= Py_BuildValue("i",_result
);
663 #define wxDataObject_GetAllFormats(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAllFormats(_swigarg0,_swigarg1))
664 static PyObject
*_wrap_wxDataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
666 wxDataObject
* _arg0
;
667 wxDataFormat
* _arg1
;
668 wxDataObject::Direction _arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
669 PyObject
* _argo0
= 0;
670 PyObject
* _argo1
= 0;
671 char *_kwnames
[] = { "self","formats","dir", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObject_GetAllFormats",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetAllFormats. Expected _wxDataObject_p.");
684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetAllFormats. Expected _wxDataFormat_p.");
691 wxPy_BEGIN_ALLOW_THREADS
;
692 wxDataObject_GetAllFormats(_arg0
,_arg1
,_arg2
);
694 wxPy_END_ALLOW_THREADS
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
700 #define wxDataObject_GetDataSize(_swigobj,_swigarg0) (_swigobj->GetDataSize(_swigarg0))
701 static PyObject
*_wrap_wxDataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
704 wxDataObject
* _arg0
;
705 wxDataFormat
* _arg1
;
706 PyObject
* _argo0
= 0;
707 PyObject
* _argo1
= 0;
708 char *_kwnames
[] = { "self","format", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_GetDataSize",_kwnames
,&_argo0
,&_argo1
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataSize. Expected _wxDataObject_p.");
721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataSize. Expected _wxDataFormat_p.");
728 wxPy_BEGIN_ALLOW_THREADS
;
729 _result
= (size_t )wxDataObject_GetDataSize(_arg0
,*_arg1
);
731 wxPy_END_ALLOW_THREADS
;
732 } _resultobj
= Py_BuildValue("i",_result
);
736 #define wxDataObject_GetDataHere(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDataHere(_swigarg0,_swigarg1))
737 static PyObject
*_wrap_wxDataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 wxDataObject
* _arg0
;
741 wxDataFormat
* _arg1
;
743 PyObject
* _argo0
= 0;
744 PyObject
* _argo1
= 0;
745 PyObject
* _argo2
= 0;
746 char *_kwnames
[] = { "self","format","buf", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDataObject_GetDataHere",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataHere. Expected _wxDataObject_p.");
759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataHere. Expected _wxDataFormat_p.");
766 if (_argo2
== Py_None
) { _arg2
= NULL
; }
767 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDataObject_GetDataHere. Expected _void_p.");
773 wxPy_BEGIN_ALLOW_THREADS
;
774 _result
= (bool )wxDataObject_GetDataHere(_arg0
,*_arg1
,_arg2
);
776 wxPy_END_ALLOW_THREADS
;
777 } _resultobj
= Py_BuildValue("i",_result
);
781 #define wxDataObject_SetData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetData(_swigarg0,_swigarg1,_swigarg2))
782 static PyObject
*_wrap_wxDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
785 wxDataObject
* _arg0
;
786 wxDataFormat
* _arg1
;
789 PyObject
* _argo0
= 0;
790 PyObject
* _argo1
= 0;
791 PyObject
* _argo3
= 0;
792 char *_kwnames
[] = { "self","format","len","buf", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxDataObject_SetData",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_SetData. Expected _wxDataObject_p.");
805 if (_argo1
== Py_None
) { _arg1
= NULL
; }
806 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_SetData. Expected _wxDataFormat_p.");
812 if (_argo3
== Py_None
) { _arg3
= NULL
; }
813 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,(char *) 0 )) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDataObject_SetData. Expected _void_p.");
819 wxPy_BEGIN_ALLOW_THREADS
;
820 _result
= (bool )wxDataObject_SetData(_arg0
,*_arg1
,_arg2
,_arg3
);
822 wxPy_END_ALLOW_THREADS
;
823 } _resultobj
= Py_BuildValue("i",_result
);
827 #define wxDataObject_IsSupportedFormat(_swigobj,_swigarg0) (_swigobj->IsSupportedFormat(_swigarg0))
828 static PyObject
*_wrap_wxDataObject_IsSupportedFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
831 wxDataObject
* _arg0
;
832 wxDataFormat
* _arg1
;
833 PyObject
* _argo0
= 0;
834 PyObject
* _argo1
= 0;
835 char *_kwnames
[] = { "self","format", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_IsSupportedFormat",_kwnames
,&_argo0
,&_argo1
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_IsSupportedFormat. Expected _wxDataObject_p.");
848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_IsSupportedFormat. Expected _wxDataFormat_p.");
855 wxPy_BEGIN_ALLOW_THREADS
;
856 _result
= (bool )wxDataObject_IsSupportedFormat(_arg0
,*_arg1
);
858 wxPy_END_ALLOW_THREADS
;
859 } _resultobj
= Py_BuildValue("i",_result
);
863 static void *SwigwxDataObjectSimpleTowxDataObject(void *ptr
) {
864 wxDataObjectSimple
*src
;
866 src
= (wxDataObjectSimple
*) ptr
;
867 dest
= (wxDataObject
*) src
;
868 return (void *) dest
;
871 #define new_wxDataObjectSimple(_swigarg0) (new wxDataObjectSimple(_swigarg0))
872 static PyObject
*_wrap_new_wxDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
874 wxDataObjectSimple
* _result
;
875 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
876 PyObject
* _argo0
= 0;
877 char *_kwnames
[] = { "format", NULL
};
881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxDataObjectSimple",_kwnames
,&_argo0
))
884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDataObjectSimple. Expected _wxDataFormat_p.");
891 wxPy_BEGIN_ALLOW_THREADS
;
892 _result
= (wxDataObjectSimple
*)new_wxDataObjectSimple(*_arg0
);
894 wxPy_END_ALLOW_THREADS
;
896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectSimple_p");
897 _resultobj
= Py_BuildValue("s",_ptemp
);
900 _resultobj
= Py_None
;
905 #define wxDataObjectSimple_GetFormat(_swigobj) (_swigobj->GetFormat())
906 static PyObject
*_wrap_wxDataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
908 wxDataFormat
* _result
;
909 wxDataObjectSimple
* _arg0
;
910 PyObject
* _argo0
= 0;
911 char *_kwnames
[] = { "self", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataObjectSimple_GetFormat",_kwnames
,&_argo0
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_GetFormat. Expected _wxDataObjectSimple_p.");
925 wxPy_BEGIN_ALLOW_THREADS
;
926 const wxDataFormat
& _result_ref
= wxDataObjectSimple_GetFormat(_arg0
);
927 _result
= (wxDataFormat
*) &_result_ref
;
929 wxPy_END_ALLOW_THREADS
;
931 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
932 _resultobj
= Py_BuildValue("s",_ptemp
);
935 _resultobj
= Py_None
;
940 #define wxDataObjectSimple_SetFormat(_swigobj,_swigarg0) (_swigobj->SetFormat(_swigarg0))
941 static PyObject
*_wrap_wxDataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
943 wxDataObjectSimple
* _arg0
;
944 wxDataFormat
* _arg1
;
945 PyObject
* _argo0
= 0;
946 PyObject
* _argo1
= 0;
947 char *_kwnames
[] = { "self","format", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObjectSimple_SetFormat",_kwnames
,&_argo0
,&_argo1
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_SetFormat. Expected _wxDataObjectSimple_p.");
960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectSimple_SetFormat. Expected _wxDataFormat_p.");
967 wxPy_BEGIN_ALLOW_THREADS
;
968 wxDataObjectSimple_SetFormat(_arg0
,*_arg1
);
970 wxPy_END_ALLOW_THREADS
;
971 } Py_INCREF(Py_None
);
972 _resultobj
= Py_None
;
976 static void *SwigwxPyDataObjectSimpleTowxDataObjectSimple(void *ptr
) {
977 wxPyDataObjectSimple
*src
;
978 wxDataObjectSimple
*dest
;
979 src
= (wxPyDataObjectSimple
*) ptr
;
980 dest
= (wxDataObjectSimple
*) src
;
981 return (void *) dest
;
984 static void *SwigwxPyDataObjectSimpleTowxDataObject(void *ptr
) {
985 wxPyDataObjectSimple
*src
;
987 src
= (wxPyDataObjectSimple
*) ptr
;
988 dest
= (wxDataObject
*) src
;
989 return (void *) dest
;
992 #define new_wxPyDataObjectSimple(_swigarg0) (new wxPyDataObjectSimple(_swigarg0))
993 static PyObject
*_wrap_new_wxPyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 PyObject
* _resultobj
;
995 wxPyDataObjectSimple
* _result
;
996 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
997 PyObject
* _argo0
= 0;
998 char *_kwnames
[] = { "format", NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDataObjectSimple",_kwnames
,&_argo0
))
1005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDataObjectSimple. Expected _wxDataFormat_p.");
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 _result
= (wxPyDataObjectSimple
*)new_wxPyDataObjectSimple(*_arg0
);
1015 wxPy_END_ALLOW_THREADS
;
1017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDataObjectSimple_p");
1018 _resultobj
= Py_BuildValue("s",_ptemp
);
1021 _resultobj
= Py_None
;
1026 #define wxPyDataObjectSimple__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1027 static PyObject
*_wrap_wxPyDataObjectSimple__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1029 wxPyDataObjectSimple
* _arg0
;
1031 PyObject
* _argo0
= 0;
1032 PyObject
* _obj1
= 0;
1033 char *_kwnames
[] = { "self","self", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDataObjectSimple__setSelf",_kwnames
,&_argo0
,&_obj1
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDataObjectSimple_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDataObjectSimple__setSelf. Expected _wxPyDataObjectSimple_p.");
1049 wxPy_BEGIN_ALLOW_THREADS
;
1050 wxPyDataObjectSimple__setSelf(_arg0
,_arg1
);
1052 wxPy_END_ALLOW_THREADS
;
1053 } Py_INCREF(Py_None
);
1054 _resultobj
= Py_None
;
1058 static void *SwigwxDataObjectCompositeTowxDataObject(void *ptr
) {
1059 wxDataObjectComposite
*src
;
1061 src
= (wxDataObjectComposite
*) ptr
;
1062 dest
= (wxDataObject
*) src
;
1063 return (void *) dest
;
1066 #define new_wxDataObjectComposite() (new wxDataObjectComposite())
1067 static PyObject
*_wrap_new_wxDataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1069 wxDataObjectComposite
* _result
;
1070 char *_kwnames
[] = { NULL
};
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDataObjectComposite",_kwnames
))
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 _result
= (wxDataObjectComposite
*)new_wxDataObjectComposite();
1080 wxPy_END_ALLOW_THREADS
;
1082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectComposite_p");
1083 _resultobj
= Py_BuildValue("s",_ptemp
);
1086 _resultobj
= Py_None
;
1091 #define wxDataObjectComposite_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1092 static PyObject
*_wrap_wxDataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
* _resultobj
;
1094 wxDataObjectComposite
* _arg0
;
1095 wxDataObjectSimple
* _arg1
;
1096 int _arg2
= (int ) FALSE
;
1097 PyObject
* _argo0
= 0;
1098 PyObject
* _argo1
= 0;
1099 char *_kwnames
[] = { "self","dataObject","preferred", NULL
};
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObjectComposite_Add",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectComposite_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectComposite_Add. Expected _wxDataObjectComposite_p.");
1112 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObjectSimple_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectComposite_Add. Expected _wxDataObjectSimple_p.");
1119 wxPy_BEGIN_ALLOW_THREADS
;
1120 wxDataObjectComposite_Add(_arg0
,_arg1
,_arg2
);
1122 wxPy_END_ALLOW_THREADS
;
1123 } Py_INCREF(Py_None
);
1124 _resultobj
= Py_None
;
1128 static void *SwigwxTextDataObjectTowxDataObjectSimple(void *ptr
) {
1129 wxTextDataObject
*src
;
1130 wxDataObjectSimple
*dest
;
1131 src
= (wxTextDataObject
*) ptr
;
1132 dest
= (wxDataObjectSimple
*) src
;
1133 return (void *) dest
;
1136 static void *SwigwxTextDataObjectTowxDataObject(void *ptr
) {
1137 wxTextDataObject
*src
;
1139 src
= (wxTextDataObject
*) ptr
;
1140 dest
= (wxDataObject
*) src
;
1141 return (void *) dest
;
1144 #define new_wxTextDataObject(_swigarg0) (new wxTextDataObject(_swigarg0))
1145 static PyObject
*_wrap_new_wxTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
* _resultobj
;
1147 wxTextDataObject
* _result
;
1148 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1149 PyObject
* _obj0
= 0;
1150 char *_kwnames
[] = { "text", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTextDataObject",_kwnames
,&_obj0
))
1158 if (!PyString_Check(_obj0
)) {
1159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1162 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1165 wxPy_BEGIN_ALLOW_THREADS
;
1166 _result
= (wxTextDataObject
*)new_wxTextDataObject(*_arg0
);
1168 wxPy_END_ALLOW_THREADS
;
1170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextDataObject_p");
1171 _resultobj
= Py_BuildValue("s",_ptemp
);
1174 _resultobj
= Py_None
;
1183 #define wxTextDataObject_GetTextLength(_swigobj) (_swigobj->GetTextLength())
1184 static PyObject
*_wrap_wxTextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1187 wxTextDataObject
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetTextLength",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetTextLength. Expected _wxTextDataObject_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= (size_t )wxTextDataObject_GetTextLength(_arg0
);
1205 wxPy_END_ALLOW_THREADS
;
1206 } _resultobj
= Py_BuildValue("i",_result
);
1210 #define wxTextDataObject_GetText(_swigobj) (_swigobj->GetText())
1211 static PyObject
*_wrap_wxTextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
* _resultobj
;
1214 wxTextDataObject
* _arg0
;
1215 PyObject
* _argo0
= 0;
1216 char *_kwnames
[] = { "self", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetText",_kwnames
,&_argo0
))
1222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetText. Expected _wxTextDataObject_p.");
1229 wxPy_BEGIN_ALLOW_THREADS
;
1230 _result
= new wxString (wxTextDataObject_GetText(_arg0
));
1232 wxPy_END_ALLOW_THREADS
;
1234 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1242 #define wxTextDataObject_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
1243 static PyObject
*_wrap_wxTextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1245 wxTextDataObject
* _arg0
;
1247 PyObject
* _argo0
= 0;
1248 PyObject
* _obj1
= 0;
1249 char *_kwnames
[] = { "self","text", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDataObject_SetText",_kwnames
,&_argo0
,&_obj1
))
1255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_SetText. Expected _wxTextDataObject_p.");
1262 if (!PyString_Check(_obj1
)) {
1263 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1266 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1269 wxPy_BEGIN_ALLOW_THREADS
;
1270 wxTextDataObject_SetText(_arg0
,*_arg1
);
1272 wxPy_END_ALLOW_THREADS
;
1273 } Py_INCREF(Py_None
);
1274 _resultobj
= Py_None
;
1282 static void *SwigwxPyTextDataObjectTowxTextDataObject(void *ptr
) {
1283 wxPyTextDataObject
*src
;
1284 wxTextDataObject
*dest
;
1285 src
= (wxPyTextDataObject
*) ptr
;
1286 dest
= (wxTextDataObject
*) src
;
1287 return (void *) dest
;
1290 static void *SwigwxPyTextDataObjectTowxDataObjectSimple(void *ptr
) {
1291 wxPyTextDataObject
*src
;
1292 wxDataObjectSimple
*dest
;
1293 src
= (wxPyTextDataObject
*) ptr
;
1294 dest
= (wxDataObjectSimple
*) src
;
1295 return (void *) dest
;
1298 static void *SwigwxPyTextDataObjectTowxDataObject(void *ptr
) {
1299 wxPyTextDataObject
*src
;
1301 src
= (wxPyTextDataObject
*) ptr
;
1302 dest
= (wxDataObject
*) src
;
1303 return (void *) dest
;
1306 #define new_wxPyTextDataObject(_swigarg0) (new wxPyTextDataObject(_swigarg0))
1307 static PyObject
*_wrap_new_wxPyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1309 wxPyTextDataObject
* _result
;
1310 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1311 PyObject
* _obj0
= 0;
1312 char *_kwnames
[] = { "text", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyTextDataObject",_kwnames
,&_obj0
))
1320 if (!PyString_Check(_obj0
)) {
1321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1324 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1327 wxPy_BEGIN_ALLOW_THREADS
;
1328 _result
= (wxPyTextDataObject
*)new_wxPyTextDataObject(*_arg0
);
1330 wxPy_END_ALLOW_THREADS
;
1332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDataObject_p");
1333 _resultobj
= Py_BuildValue("s",_ptemp
);
1336 _resultobj
= Py_None
;
1345 #define wxPyTextDataObject__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1346 static PyObject
*_wrap_wxPyTextDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1348 wxPyTextDataObject
* _arg0
;
1350 PyObject
* _argo0
= 0;
1351 PyObject
* _obj1
= 0;
1352 char *_kwnames
[] = { "self","self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDataObject_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextDataObject__setSelf. Expected _wxPyTextDataObject_p.");
1368 wxPy_BEGIN_ALLOW_THREADS
;
1369 wxPyTextDataObject__setSelf(_arg0
,_arg1
);
1371 wxPy_END_ALLOW_THREADS
;
1372 } Py_INCREF(Py_None
);
1373 _resultobj
= Py_None
;
1377 static void *SwigwxBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1378 wxBitmapDataObject
*src
;
1379 wxDataObjectSimple
*dest
;
1380 src
= (wxBitmapDataObject
*) ptr
;
1381 dest
= (wxDataObjectSimple
*) src
;
1382 return (void *) dest
;
1385 static void *SwigwxBitmapDataObjectTowxDataObject(void *ptr
) {
1386 wxBitmapDataObject
*src
;
1388 src
= (wxBitmapDataObject
*) ptr
;
1389 dest
= (wxDataObject
*) src
;
1390 return (void *) dest
;
1393 #define new_wxBitmapDataObject(_swigarg0) (new wxBitmapDataObject(_swigarg0))
1394 static PyObject
*_wrap_new_wxBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1396 wxBitmapDataObject
* _result
;
1397 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1398 PyObject
* _argo0
= 0;
1399 char *_kwnames
[] = { "bitmap", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBitmapDataObject",_kwnames
,&_argo0
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapDataObject. Expected _wxBitmap_p.");
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 _result
= (wxBitmapDataObject
*)new_wxBitmapDataObject(*_arg0
);
1416 wxPy_END_ALLOW_THREADS
;
1418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapDataObject_p");
1419 _resultobj
= Py_BuildValue("s",_ptemp
);
1422 _resultobj
= Py_None
;
1427 #define wxBitmapDataObject_GetBitmap(_swigobj) (_swigobj->GetBitmap())
1428 static PyObject
*_wrap_wxBitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1431 wxBitmapDataObject
* _arg0
;
1432 PyObject
* _argo0
= 0;
1433 char *_kwnames
[] = { "self", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapDataObject_GetBitmap",_kwnames
,&_argo0
))
1440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_GetBitmap. Expected _wxBitmapDataObject_p.");
1447 wxPy_BEGIN_ALLOW_THREADS
;
1448 _result
= new wxBitmap (wxBitmapDataObject_GetBitmap(_arg0
));
1450 wxPy_END_ALLOW_THREADS
;
1451 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1452 _resultobj
= Py_BuildValue("s",_ptemp
);
1456 #define wxBitmapDataObject_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
1457 static PyObject
*_wrap_wxBitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1459 wxBitmapDataObject
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 PyObject
* _argo1
= 0;
1463 char *_kwnames
[] = { "self","bitmap", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapDataObject_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
1469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_SetBitmap. Expected _wxBitmapDataObject_p.");
1476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapDataObject_SetBitmap. Expected _wxBitmap_p.");
1483 wxPy_BEGIN_ALLOW_THREADS
;
1484 wxBitmapDataObject_SetBitmap(_arg0
,*_arg1
);
1486 wxPy_END_ALLOW_THREADS
;
1487 } Py_INCREF(Py_None
);
1488 _resultobj
= Py_None
;
1492 static void *SwigwxPyBitmapDataObjectTowxBitmapDataObject(void *ptr
) {
1493 wxPyBitmapDataObject
*src
;
1494 wxBitmapDataObject
*dest
;
1495 src
= (wxPyBitmapDataObject
*) ptr
;
1496 dest
= (wxBitmapDataObject
*) src
;
1497 return (void *) dest
;
1500 static void *SwigwxPyBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1501 wxPyBitmapDataObject
*src
;
1502 wxDataObjectSimple
*dest
;
1503 src
= (wxPyBitmapDataObject
*) ptr
;
1504 dest
= (wxDataObjectSimple
*) src
;
1505 return (void *) dest
;
1508 static void *SwigwxPyBitmapDataObjectTowxDataObject(void *ptr
) {
1509 wxPyBitmapDataObject
*src
;
1511 src
= (wxPyBitmapDataObject
*) ptr
;
1512 dest
= (wxDataObject
*) src
;
1513 return (void *) dest
;
1516 #define new_wxPyBitmapDataObject(_swigarg0) (new wxPyBitmapDataObject(_swigarg0))
1517 static PyObject
*_wrap_new_wxPyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1519 wxPyBitmapDataObject
* _result
;
1520 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "bitmap", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyBitmapDataObject",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyBitmapDataObject. Expected _wxBitmap_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= (wxPyBitmapDataObject
*)new_wxPyBitmapDataObject(*_arg0
);
1539 wxPy_END_ALLOW_THREADS
;
1541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyBitmapDataObject_p");
1542 _resultobj
= Py_BuildValue("s",_ptemp
);
1545 _resultobj
= Py_None
;
1550 #define wxPyBitmapDataObject__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1551 static PyObject
*_wrap_wxPyBitmapDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
* _resultobj
;
1553 wxPyBitmapDataObject
* _arg0
;
1555 PyObject
* _argo0
= 0;
1556 PyObject
* _obj1
= 0;
1557 char *_kwnames
[] = { "self","self", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyBitmapDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyBitmapDataObject_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyBitmapDataObject__setSelf. Expected _wxPyBitmapDataObject_p.");
1573 wxPy_BEGIN_ALLOW_THREADS
;
1574 wxPyBitmapDataObject__setSelf(_arg0
,_arg1
);
1576 wxPy_END_ALLOW_THREADS
;
1577 } Py_INCREF(Py_None
);
1578 _resultobj
= Py_None
;
1582 static void *SwigwxFileDataObjectTowxDataObjectSimple(void *ptr
) {
1583 wxFileDataObject
*src
;
1584 wxDataObjectSimple
*dest
;
1585 src
= (wxFileDataObject
*) ptr
;
1586 dest
= (wxDataObjectSimple
*) src
;
1587 return (void *) dest
;
1590 static void *SwigwxFileDataObjectTowxDataObject(void *ptr
) {
1591 wxFileDataObject
*src
;
1593 src
= (wxFileDataObject
*) ptr
;
1594 dest
= (wxDataObject
*) src
;
1595 return (void *) dest
;
1598 #define new_wxFileDataObject() (new wxFileDataObject())
1599 static PyObject
*_wrap_new_wxFileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1601 wxFileDataObject
* _result
;
1602 char *_kwnames
[] = { NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDataObject",_kwnames
))
1609 wxPy_BEGIN_ALLOW_THREADS
;
1610 _result
= (wxFileDataObject
*)new_wxFileDataObject();
1612 wxPy_END_ALLOW_THREADS
;
1614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDataObject_p");
1615 _resultobj
= Py_BuildValue("s",_ptemp
);
1618 _resultobj
= Py_None
;
1623 static PyObject
* wxFileDataObject_GetFilenames(wxFileDataObject
*self
) {
1624 const wxArrayString
& strings
= self
->GetFilenames();
1625 PyObject
* list
= PyList_New(0);
1626 for (size_t x
=0; x
<strings
.GetCount(); x
++)
1627 PyList_Append(list
, PyString_FromString(strings
[x
]));
1630 static PyObject
*_wrap_wxFileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1633 wxFileDataObject
* _arg0
;
1634 PyObject
* _argo0
= 0;
1635 char *_kwnames
[] = { "self", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDataObject_GetFilenames",_kwnames
,&_argo0
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_GetFilenames. Expected _wxFileDataObject_p.");
1648 wxPy_BEGIN_ALLOW_THREADS
;
1649 _result
= (PyObject
*)wxFileDataObject_GetFilenames(_arg0
);
1651 wxPy_END_ALLOW_THREADS
;
1653 _resultobj
= _result
;
1658 static void *SwigwxCustomDataObjectTowxDataObjectSimple(void *ptr
) {
1659 wxCustomDataObject
*src
;
1660 wxDataObjectSimple
*dest
;
1661 src
= (wxCustomDataObject
*) ptr
;
1662 dest
= (wxDataObjectSimple
*) src
;
1663 return (void *) dest
;
1666 static void *SwigwxCustomDataObjectTowxDataObject(void *ptr
) {
1667 wxCustomDataObject
*src
;
1669 src
= (wxCustomDataObject
*) ptr
;
1670 dest
= (wxDataObject
*) src
;
1671 return (void *) dest
;
1674 #define new_wxCustomDataObject(_swigarg0) (new wxCustomDataObject(_swigarg0))
1675 static PyObject
*_wrap_new_wxCustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1677 wxCustomDataObject
* _result
;
1678 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1679 PyObject
* _argo0
= 0;
1680 char *_kwnames
[] = { "format", NULL
};
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxCustomDataObject",_kwnames
,&_argo0
))
1687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCustomDataObject. Expected _wxDataFormat_p.");
1694 wxPy_BEGIN_ALLOW_THREADS
;
1695 _result
= (wxCustomDataObject
*)new_wxCustomDataObject(*_arg0
);
1697 wxPy_END_ALLOW_THREADS
;
1699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCustomDataObject_p");
1700 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 _resultobj
= Py_None
;
1708 static void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
* data
) {
1709 if (PyString_Check(data
)) {
1710 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1713 static PyObject
*_wrap_wxCustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1715 wxCustomDataObject
* _arg0
;
1717 PyObject
* _argo0
= 0;
1718 PyObject
* _obj1
= 0;
1719 char *_kwnames
[] = { "self","data", NULL
};
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_TakeData",_kwnames
,&_argo0
,&_obj1
))
1725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_TakeData. Expected _wxCustomDataObject_p.");
1735 wxPy_BEGIN_ALLOW_THREADS
;
1736 wxCustomDataObject_TakeData(_arg0
,_arg1
);
1738 wxPy_END_ALLOW_THREADS
;
1739 } Py_INCREF(Py_None
);
1740 _resultobj
= Py_None
;
1744 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
* data
) {
1745 if (PyString_Check(data
)) {
1746 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1750 static PyObject
*_wrap_wxCustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1753 wxCustomDataObject
* _arg0
;
1755 PyObject
* _argo0
= 0;
1756 PyObject
* _obj1
= 0;
1757 char *_kwnames
[] = { "self","data", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_SetData",_kwnames
,&_argo0
,&_obj1
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_SetData. Expected _wxCustomDataObject_p.");
1773 wxPy_BEGIN_ALLOW_THREADS
;
1774 _result
= (bool )wxCustomDataObject_SetData(_arg0
,_arg1
);
1776 wxPy_END_ALLOW_THREADS
;
1777 } _resultobj
= Py_BuildValue("i",_result
);
1781 #define wxCustomDataObject_GetSize(_swigobj) (_swigobj->GetSize())
1782 static PyObject
*_wrap_wxCustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1785 wxCustomDataObject
* _arg0
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetSize",_kwnames
,&_argo0
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetSize. Expected _wxCustomDataObject_p.");
1800 wxPy_BEGIN_ALLOW_THREADS
;
1801 _result
= (size_t )wxCustomDataObject_GetSize(_arg0
);
1803 wxPy_END_ALLOW_THREADS
;
1804 } _resultobj
= Py_BuildValue("i",_result
);
1808 static PyObject
* wxCustomDataObject_GetData(wxCustomDataObject
*self
) {
1809 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1811 static PyObject
*_wrap_wxCustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1814 wxCustomDataObject
* _arg0
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetData",_kwnames
,&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetData. Expected _wxCustomDataObject_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (PyObject
*)wxCustomDataObject_GetData(_arg0
);
1832 wxPy_END_ALLOW_THREADS
;
1834 _resultobj
= _result
;
1839 #define new_wxClipboard() (new wxClipboard())
1840 static PyObject
*_wrap_new_wxClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1842 wxClipboard
* _result
;
1843 char *_kwnames
[] = { NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxClipboard",_kwnames
))
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= (wxClipboard
*)new_wxClipboard();
1853 wxPy_END_ALLOW_THREADS
;
1855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClipboard_p");
1856 _resultobj
= Py_BuildValue("s",_ptemp
);
1859 _resultobj
= Py_None
;
1864 #define wxClipboard_Open(_swigobj) (_swigobj->Open())
1865 static PyObject
*_wrap_wxClipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1868 wxClipboard
* _arg0
;
1869 PyObject
* _argo0
= 0;
1870 char *_kwnames
[] = { "self", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Open",_kwnames
,&_argo0
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Open. Expected _wxClipboard_p.");
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 _result
= (bool )wxClipboard_Open(_arg0
);
1886 wxPy_END_ALLOW_THREADS
;
1887 } _resultobj
= Py_BuildValue("i",_result
);
1891 #define wxClipboard_Close(_swigobj) (_swigobj->Close())
1892 static PyObject
*_wrap_wxClipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1894 wxClipboard
* _arg0
;
1895 PyObject
* _argo0
= 0;
1896 char *_kwnames
[] = { "self", NULL
};
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Close",_kwnames
,&_argo0
))
1902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Close. Expected _wxClipboard_p.");
1909 wxPy_BEGIN_ALLOW_THREADS
;
1910 wxClipboard_Close(_arg0
);
1912 wxPy_END_ALLOW_THREADS
;
1913 } Py_INCREF(Py_None
);
1914 _resultobj
= Py_None
;
1918 #define wxClipboard_IsOpened(_swigobj) (_swigobj->IsOpened())
1919 static PyObject
*_wrap_wxClipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1922 wxClipboard
* _arg0
;
1923 PyObject
* _argo0
= 0;
1924 char *_kwnames
[] = { "self", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_IsOpened",_kwnames
,&_argo0
))
1930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsOpened. Expected _wxClipboard_p.");
1937 wxPy_BEGIN_ALLOW_THREADS
;
1938 _result
= (bool )wxClipboard_IsOpened(_arg0
);
1940 wxPy_END_ALLOW_THREADS
;
1941 } _resultobj
= Py_BuildValue("i",_result
);
1945 #define wxClipboard_AddData(_swigobj,_swigarg0) (_swigobj->AddData(_swigarg0))
1946 static PyObject
*_wrap_wxClipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1949 wxClipboard
* _arg0
;
1950 wxDataObject
* _arg1
;
1951 PyObject
* _argo0
= 0;
1952 PyObject
* _argo1
= 0;
1953 char *_kwnames
[] = { "self","data", NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_AddData",_kwnames
,&_argo0
,&_argo1
))
1959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_AddData. Expected _wxClipboard_p.");
1966 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1967 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_AddData. Expected _wxDataObject_p.");
1973 wxPy_BEGIN_ALLOW_THREADS
;
1974 _result
= (bool )wxClipboard_AddData(_arg0
,_arg1
);
1976 wxPy_END_ALLOW_THREADS
;
1977 } _resultobj
= Py_BuildValue("i",_result
);
1981 #define wxClipboard_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
1982 static PyObject
*_wrap_wxClipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1985 wxClipboard
* _arg0
;
1986 wxDataObject
* _arg1
;
1987 PyObject
* _argo0
= 0;
1988 PyObject
* _argo1
= 0;
1989 char *_kwnames
[] = { "self","data", NULL
};
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_SetData",_kwnames
,&_argo0
,&_argo1
))
1995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_SetData. Expected _wxClipboard_p.");
2002 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_SetData. Expected _wxDataObject_p.");
2009 wxPy_BEGIN_ALLOW_THREADS
;
2010 _result
= (bool )wxClipboard_SetData(_arg0
,_arg1
);
2012 wxPy_END_ALLOW_THREADS
;
2013 } _resultobj
= Py_BuildValue("i",_result
);
2017 #define wxClipboard_IsSupported(_swigobj,_swigarg0) (_swigobj->IsSupported(_swigarg0))
2018 static PyObject
*_wrap_wxClipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2021 wxClipboard
* _arg0
;
2022 wxDataFormat
* _arg1
;
2023 PyObject
* _argo0
= 0;
2024 PyObject
* _argo1
= 0;
2025 char *_kwnames
[] = { "self","format", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_IsSupported",_kwnames
,&_argo0
,&_argo1
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsSupported. Expected _wxClipboard_p.");
2038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_IsSupported. Expected _wxDataFormat_p.");
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= (bool )wxClipboard_IsSupported(_arg0
,*_arg1
);
2048 wxPy_END_ALLOW_THREADS
;
2049 } _resultobj
= Py_BuildValue("i",_result
);
2053 #define wxClipboard_GetData(_swigobj,_swigarg0) (_swigobj->GetData(_swigarg0))
2054 static PyObject
*_wrap_wxClipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2057 wxClipboard
* _arg0
;
2058 wxDataObject
* _arg1
;
2059 PyObject
* _argo0
= 0;
2060 PyObject
* _argo1
= 0;
2061 char *_kwnames
[] = { "self","data", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_GetData",_kwnames
,&_argo0
,&_argo1
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_GetData. Expected _wxClipboard_p.");
2074 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_GetData. Expected _wxDataObject_p.");
2081 wxPy_BEGIN_ALLOW_THREADS
;
2082 _result
= (bool )wxClipboard_GetData(_arg0
,*_arg1
);
2084 wxPy_END_ALLOW_THREADS
;
2085 } _resultobj
= Py_BuildValue("i",_result
);
2089 #define wxClipboard_Clear(_swigobj) (_swigobj->Clear())
2090 static PyObject
*_wrap_wxClipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2092 wxClipboard
* _arg0
;
2093 PyObject
* _argo0
= 0;
2094 char *_kwnames
[] = { "self", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Clear",_kwnames
,&_argo0
))
2100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Clear. Expected _wxClipboard_p.");
2107 wxPy_BEGIN_ALLOW_THREADS
;
2108 wxClipboard_Clear(_arg0
);
2110 wxPy_END_ALLOW_THREADS
;
2111 } Py_INCREF(Py_None
);
2112 _resultobj
= Py_None
;
2116 #define wxClipboard_Flush(_swigobj) (_swigobj->Flush())
2117 static PyObject
*_wrap_wxClipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2120 wxClipboard
* _arg0
;
2121 PyObject
* _argo0
= 0;
2122 char *_kwnames
[] = { "self", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Flush",_kwnames
,&_argo0
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Flush. Expected _wxClipboard_p.");
2135 wxPy_BEGIN_ALLOW_THREADS
;
2136 _result
= (bool )wxClipboard_Flush(_arg0
);
2138 wxPy_END_ALLOW_THREADS
;
2139 } _resultobj
= Py_BuildValue("i",_result
);
2143 #define wxClipboard_UsePrimarySelection(_swigobj,_swigarg0) (_swigobj->UsePrimarySelection(_swigarg0))
2144 static PyObject
*_wrap_wxClipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2146 wxClipboard
* _arg0
;
2147 int _arg1
= (int ) FALSE
;
2148 PyObject
* _argo0
= 0;
2149 char *_kwnames
[] = { "self","primary", NULL
};
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxClipboard_UsePrimarySelection",_kwnames
,&_argo0
,&_arg1
))
2155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_UsePrimarySelection. Expected _wxClipboard_p.");
2162 wxPy_BEGIN_ALLOW_THREADS
;
2163 wxClipboard_UsePrimarySelection(_arg0
,_arg1
);
2165 wxPy_END_ALLOW_THREADS
;
2166 } Py_INCREF(Py_None
);
2167 _resultobj
= Py_None
;
2171 #define new_wxDropSource(_swigarg0,_swigarg1) (new wxPyDropSource(_swigarg0,_swigarg1))
2172 static PyObject
*_wrap_new_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
* _resultobj
;
2174 wxPyDropSource
* _result
;
2175 wxWindow
* _arg0
= (wxWindow
*) NULL
;
2176 wxIcon
* _arg1
= (wxIcon
*) &wxNullIcon
;
2177 PyObject
* _argo0
= 0;
2178 PyObject
* _argo1
= 0;
2179 char *_kwnames
[] = { "win","go", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxDropSource",_kwnames
,&_argo0
,&_argo1
))
2186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDropSource. Expected _wxWindow_p.");
2193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDropSource. Expected _wxIcon_p.");
2200 wxPy_BEGIN_ALLOW_THREADS
;
2201 _result
= (wxPyDropSource
*)new_wxDropSource(_arg0
,*_arg1
);
2203 wxPy_END_ALLOW_THREADS
;
2205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropSource_p");
2206 _resultobj
= Py_BuildValue("s",_ptemp
);
2209 _resultobj
= Py_None
;
2214 #define wxDropSource__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2215 static PyObject
*_wrap_wxDropSource__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2217 wxPyDropSource
* _arg0
;
2219 PyObject
* _argo0
= 0;
2220 PyObject
* _obj1
= 0;
2221 char *_kwnames
[] = { "self","self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource__setSelf",_kwnames
,&_argo0
,&_obj1
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource__setSelf. Expected _wxPyDropSource_p.");
2237 wxPy_BEGIN_ALLOW_THREADS
;
2238 wxDropSource__setSelf(_arg0
,_arg1
);
2240 wxPy_END_ALLOW_THREADS
;
2241 } Py_INCREF(Py_None
);
2242 _resultobj
= Py_None
;
2246 #define delete_wxPyDropSource(_swigobj) (delete _swigobj)
2247 static PyObject
*_wrap_delete_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2249 wxPyDropSource
* _arg0
;
2250 PyObject
* _argo0
= 0;
2251 char *_kwnames
[] = { "self", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDropSource",_kwnames
,&_argo0
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDropSource. Expected _wxPyDropSource_p.");
2264 wxPy_BEGIN_ALLOW_THREADS
;
2265 delete_wxPyDropSource(_arg0
);
2267 wxPy_END_ALLOW_THREADS
;
2268 } Py_INCREF(Py_None
);
2269 _resultobj
= Py_None
;
2273 #define wxDropSource_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2274 static PyObject
*_wrap_wxDropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
* _resultobj
;
2276 wxPyDropSource
* _arg0
;
2277 wxDataObject
* _arg1
;
2278 PyObject
* _argo0
= 0;
2279 PyObject
* _argo1
= 0;
2280 char *_kwnames
[] = { "self","data", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource_SetData",_kwnames
,&_argo0
,&_argo1
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetData. Expected _wxPyDropSource_p.");
2293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDropSource_SetData. Expected _wxDataObject_p.");
2300 wxPy_BEGIN_ALLOW_THREADS
;
2301 wxDropSource_SetData(_arg0
,*_arg1
);
2303 wxPy_END_ALLOW_THREADS
;
2304 } Py_INCREF(Py_None
);
2305 _resultobj
= Py_None
;
2309 #define wxDropSource_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2310 static PyObject
*_wrap_wxDropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2312 wxDataObject
* _result
;
2313 wxPyDropSource
* _arg0
;
2314 PyObject
* _argo0
= 0;
2315 char *_kwnames
[] = { "self", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropSource_GetDataObject",_kwnames
,&_argo0
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_GetDataObject. Expected _wxPyDropSource_p.");
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 _result
= (wxDataObject
*)wxDropSource_GetDataObject(_arg0
);
2332 wxPy_END_ALLOW_THREADS
;
2334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2335 _resultobj
= Py_BuildValue("s",_ptemp
);
2338 _resultobj
= Py_None
;
2343 #define wxDropSource_SetCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursor(_swigarg0,_swigarg1))
2344 static PyObject
*_wrap_wxDropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2346 wxPyDropSource
* _arg0
;
2349 PyObject
* _argo0
= 0;
2350 PyObject
* _argo2
= 0;
2351 char *_kwnames
[] = { "self","res","cursor", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxDropSource_SetCursor",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetCursor. Expected _wxPyDropSource_p.");
2364 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDropSource_SetCursor. Expected _wxCursor_p.");
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 wxDropSource_SetCursor(_arg0
,_arg1
,*_arg2
);
2374 wxPy_END_ALLOW_THREADS
;
2375 } Py_INCREF(Py_None
);
2376 _resultobj
= Py_None
;
2380 #define wxDropSource_DoDragDrop(_swigobj,_swigarg0) (_swigobj->DoDragDrop(_swigarg0))
2381 static PyObject
*_wrap_wxDropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2383 wxDragResult _result
;
2384 wxPyDropSource
* _arg0
;
2385 int _arg1
= (int ) FALSE
;
2386 PyObject
* _argo0
= 0;
2387 char *_kwnames
[] = { "self","bAllowMove", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDropSource_DoDragDrop",_kwnames
,&_argo0
,&_arg1
))
2393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_DoDragDrop. Expected _wxPyDropSource_p.");
2400 wxPy_BEGIN_ALLOW_THREADS
;
2401 _result
= (wxDragResult
)wxDropSource_DoDragDrop(_arg0
,_arg1
);
2403 wxPy_END_ALLOW_THREADS
;
2404 } _resultobj
= Py_BuildValue("i",_result
);
2408 #define wxDropSource_base_GiveFeedback(_swigobj,_swigarg0) (_swigobj->base_GiveFeedback(_swigarg0))
2409 static PyObject
*_wrap_wxDropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2412 wxPyDropSource
* _arg0
;
2414 PyObject
* _argo0
= 0;
2415 char *_kwnames
[] = { "self","effect", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDropSource_base_GiveFeedback",_kwnames
,&_argo0
,&_arg1
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_base_GiveFeedback. Expected _wxPyDropSource_p.");
2428 wxPy_BEGIN_ALLOW_THREADS
;
2429 _result
= (bool )wxDropSource_base_GiveFeedback(_arg0
,_arg1
);
2431 wxPy_END_ALLOW_THREADS
;
2432 } _resultobj
= Py_BuildValue("i",_result
);
2436 static void *SwigwxPyDropTargetTowxDropTarget(void *ptr
) {
2437 wxPyDropTarget
*src
;
2439 src
= (wxPyDropTarget
*) ptr
;
2440 dest
= (wxDropTarget
*) src
;
2441 return (void *) dest
;
2444 #define new_wxPyDropTarget(_swigarg0) (new wxPyDropTarget(_swigarg0))
2445 static PyObject
*_wrap_new_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2447 wxPyDropTarget
* _result
;
2448 wxDataObject
* _arg0
= (wxDataObject
*) NULL
;
2449 PyObject
* _argo0
= 0;
2450 char *_kwnames
[] = { "dataObject", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDropTarget",_kwnames
,&_argo0
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDropTarget. Expected _wxDataObject_p.");
2464 wxPy_BEGIN_ALLOW_THREADS
;
2465 _result
= (wxPyDropTarget
*)new_wxPyDropTarget(_arg0
);
2467 wxPy_END_ALLOW_THREADS
;
2469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropTarget_p");
2470 _resultobj
= Py_BuildValue("s",_ptemp
);
2473 _resultobj
= Py_None
;
2478 #define wxPyDropTarget__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2479 static PyObject
*_wrap_wxPyDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2481 wxPyDropTarget
* _arg0
;
2483 PyObject
* _argo0
= 0;
2484 PyObject
* _obj1
= 0;
2485 char *_kwnames
[] = { "self","self", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget__setSelf. Expected _wxPyDropTarget_p.");
2501 wxPy_BEGIN_ALLOW_THREADS
;
2502 wxPyDropTarget__setSelf(_arg0
,_arg1
);
2504 wxPy_END_ALLOW_THREADS
;
2505 } Py_INCREF(Py_None
);
2506 _resultobj
= Py_None
;
2510 #define delete_wxPyDropTarget(_swigobj) (delete _swigobj)
2511 static PyObject
*_wrap_delete_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2513 wxPyDropTarget
* _arg0
;
2514 PyObject
* _argo0
= 0;
2515 char *_kwnames
[] = { "self", NULL
};
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyDropTarget",_kwnames
,&_argo0
))
2521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyDropTarget. Expected _wxPyDropTarget_p.");
2528 wxPy_BEGIN_ALLOW_THREADS
;
2529 delete_wxPyDropTarget(_arg0
);
2531 wxPy_END_ALLOW_THREADS
;
2532 } Py_INCREF(Py_None
);
2533 _resultobj
= Py_None
;
2537 #define wxPyDropTarget_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2538 static PyObject
*_wrap_wxPyDropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
* _resultobj
;
2540 wxDataObject
* _result
;
2541 wxPyDropTarget
* _arg0
;
2542 PyObject
* _argo0
= 0;
2543 char *_kwnames
[] = { "self", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetDataObject",_kwnames
,&_argo0
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetDataObject. Expected _wxPyDropTarget_p.");
2557 wxPy_BEGIN_ALLOW_THREADS
;
2558 _result
= (wxDataObject
*)wxPyDropTarget_GetDataObject(_arg0
);
2560 wxPy_END_ALLOW_THREADS
;
2562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2563 _resultobj
= Py_BuildValue("s",_ptemp
);
2566 _resultobj
= Py_None
;
2571 #define wxPyDropTarget_SetDataObject(_swigobj,_swigarg0) (_swigobj->SetDataObject(_swigarg0))
2572 static PyObject
*_wrap_wxPyDropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2574 wxPyDropTarget
* _arg0
;
2575 wxDataObject
* _arg1
;
2576 PyObject
* _argo0
= 0;
2577 PyObject
* _argo1
= 0;
2578 char *_kwnames
[] = { "self","dataObject", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget_SetDataObject",_kwnames
,&_argo0
,&_argo1
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_SetDataObject. Expected _wxPyDropTarget_p.");
2591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyDropTarget_SetDataObject. Expected _wxDataObject_p.");
2598 wxPy_BEGIN_ALLOW_THREADS
;
2599 wxPyDropTarget_SetDataObject(_arg0
,_arg1
);
2601 wxPy_END_ALLOW_THREADS
;
2602 } Py_INCREF(Py_None
);
2603 _resultobj
= Py_None
;
2607 #define wxPyDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2608 static PyObject
*_wrap_wxPyDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2610 wxDragResult _result
;
2611 wxPyDropTarget
* _arg0
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self","x","y","def", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnEnter. Expected _wxPyDropTarget_p.");
2629 wxPy_BEGIN_ALLOW_THREADS
;
2630 _result
= (wxDragResult
)wxPyDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2632 wxPy_END_ALLOW_THREADS
;
2633 } _resultobj
= Py_BuildValue("i",_result
);
2637 #define wxPyDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2638 static PyObject
*_wrap_wxPyDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2640 wxDragResult _result
;
2641 wxPyDropTarget
* _arg0
;
2645 PyObject
* _argo0
= 0;
2646 char *_kwnames
[] = { "self","x","y","def", NULL
};
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDragOver. Expected _wxPyDropTarget_p.");
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 _result
= (wxDragResult
)wxPyDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2662 wxPy_END_ALLOW_THREADS
;
2663 } _resultobj
= Py_BuildValue("i",_result
);
2667 #define wxPyDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2668 static PyObject
*_wrap_wxPyDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2670 wxPyDropTarget
* _arg0
;
2671 PyObject
* _argo0
= 0;
2672 char *_kwnames
[] = { "self", NULL
};
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnLeave. Expected _wxPyDropTarget_p.");
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 wxPyDropTarget_base_OnLeave(_arg0
);
2688 wxPy_END_ALLOW_THREADS
;
2689 } Py_INCREF(Py_None
);
2690 _resultobj
= Py_None
;
2694 #define wxPyDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2695 static PyObject
*_wrap_wxPyDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
* _resultobj
;
2698 wxPyDropTarget
* _arg0
;
2701 PyObject
* _argo0
= 0;
2702 char *_kwnames
[] = { "self","x","y", NULL
};
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDrop. Expected _wxPyDropTarget_p.");
2715 wxPy_BEGIN_ALLOW_THREADS
;
2716 _result
= (bool )wxPyDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2718 wxPy_END_ALLOW_THREADS
;
2719 } _resultobj
= Py_BuildValue("i",_result
);
2723 #define wxPyDropTarget_GetData(_swigobj) (_swigobj->GetData())
2724 static PyObject
*_wrap_wxPyDropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2727 wxPyDropTarget
* _arg0
;
2728 PyObject
* _argo0
= 0;
2729 char *_kwnames
[] = { "self", NULL
};
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetData",_kwnames
,&_argo0
))
2735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetData. Expected _wxPyDropTarget_p.");
2742 wxPy_BEGIN_ALLOW_THREADS
;
2743 _result
= (bool )wxPyDropTarget_GetData(_arg0
);
2745 wxPy_END_ALLOW_THREADS
;
2746 } _resultobj
= Py_BuildValue("i",_result
);
2750 static void *SwigwxPyTextDropTargetTowxPyDropTarget(void *ptr
) {
2751 wxPyTextDropTarget
*src
;
2752 wxPyDropTarget
*dest
;
2753 src
= (wxPyTextDropTarget
*) ptr
;
2754 dest
= (wxPyDropTarget
*) src
;
2755 return (void *) dest
;
2758 static void *SwigwxPyTextDropTargetTowxDropTarget(void *ptr
) {
2759 wxPyTextDropTarget
*src
;
2761 src
= (wxPyTextDropTarget
*) ptr
;
2762 dest
= (wxDropTarget
*) src
;
2763 return (void *) dest
;
2766 #define new_wxTextDropTarget() (new wxPyTextDropTarget())
2767 static PyObject
*_wrap_new_wxTextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2769 wxPyTextDropTarget
* _result
;
2770 char *_kwnames
[] = { NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTextDropTarget",_kwnames
))
2777 wxPy_BEGIN_ALLOW_THREADS
;
2778 _result
= (wxPyTextDropTarget
*)new_wxTextDropTarget();
2780 wxPy_END_ALLOW_THREADS
;
2782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDropTarget_p");
2783 _resultobj
= Py_BuildValue("s",_ptemp
);
2786 _resultobj
= Py_None
;
2791 #define wxTextDropTarget__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2792 static PyObject
*_wrap_wxTextDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2794 wxPyTextDropTarget
* _arg0
;
2796 PyObject
* _argo0
= 0;
2797 PyObject
* _obj1
= 0;
2798 char *_kwnames
[] = { "self","self", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
))
2804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget__setSelf. Expected _wxPyTextDropTarget_p.");
2814 wxPy_BEGIN_ALLOW_THREADS
;
2815 wxTextDropTarget__setSelf(_arg0
,_arg1
);
2817 wxPy_END_ALLOW_THREADS
;
2818 } Py_INCREF(Py_None
);
2819 _resultobj
= Py_None
;
2823 #define wxTextDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2824 static PyObject
*_wrap_wxTextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2826 wxDragResult _result
;
2827 wxPyTextDropTarget
* _arg0
;
2831 PyObject
* _argo0
= 0;
2832 char *_kwnames
[] = { "self","x","y","def", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnEnter. Expected _wxPyTextDropTarget_p.");
2845 wxPy_BEGIN_ALLOW_THREADS
;
2846 _result
= (wxDragResult
)wxTextDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2848 wxPy_END_ALLOW_THREADS
;
2849 } _resultobj
= Py_BuildValue("i",_result
);
2853 #define wxTextDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2854 static PyObject
*_wrap_wxTextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2856 wxDragResult _result
;
2857 wxPyTextDropTarget
* _arg0
;
2861 PyObject
* _argo0
= 0;
2862 char *_kwnames
[] = { "self","x","y","def", NULL
};
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDragOver. Expected _wxPyTextDropTarget_p.");
2875 wxPy_BEGIN_ALLOW_THREADS
;
2876 _result
= (wxDragResult
)wxTextDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2878 wxPy_END_ALLOW_THREADS
;
2879 } _resultobj
= Py_BuildValue("i",_result
);
2883 #define wxTextDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2884 static PyObject
*_wrap_wxTextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2886 wxPyTextDropTarget
* _arg0
;
2887 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self", NULL
};
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnLeave. Expected _wxPyTextDropTarget_p.");
2901 wxPy_BEGIN_ALLOW_THREADS
;
2902 wxTextDropTarget_base_OnLeave(_arg0
);
2904 wxPy_END_ALLOW_THREADS
;
2905 } Py_INCREF(Py_None
);
2906 _resultobj
= Py_None
;
2910 #define wxTextDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2911 static PyObject
*_wrap_wxTextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2914 wxPyTextDropTarget
* _arg0
;
2917 PyObject
* _argo0
= 0;
2918 char *_kwnames
[] = { "self","x","y", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTextDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDrop. Expected _wxPyTextDropTarget_p.");
2931 wxPy_BEGIN_ALLOW_THREADS
;
2932 _result
= (bool )wxTextDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2934 wxPy_END_ALLOW_THREADS
;
2935 } _resultobj
= Py_BuildValue("i",_result
);
2939 #define wxTextDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
2940 static PyObject
*_wrap_wxTextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2942 wxDragResult _result
;
2943 wxPyTextDropTarget
* _arg0
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self","x","y","def", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnData. Expected _wxPyTextDropTarget_p.");
2961 wxPy_BEGIN_ALLOW_THREADS
;
2962 _result
= (wxDragResult
)wxTextDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
2964 wxPy_END_ALLOW_THREADS
;
2965 } _resultobj
= Py_BuildValue("i",_result
);
2969 static void *SwigwxPyFileDropTargetTowxPyDropTarget(void *ptr
) {
2970 wxPyFileDropTarget
*src
;
2971 wxPyDropTarget
*dest
;
2972 src
= (wxPyFileDropTarget
*) ptr
;
2973 dest
= (wxPyDropTarget
*) src
;
2974 return (void *) dest
;
2977 static void *SwigwxPyFileDropTargetTowxDropTarget(void *ptr
) {
2978 wxPyFileDropTarget
*src
;
2980 src
= (wxPyFileDropTarget
*) ptr
;
2981 dest
= (wxDropTarget
*) src
;
2982 return (void *) dest
;
2985 #define new_wxFileDropTarget() (new wxPyFileDropTarget())
2986 static PyObject
*_wrap_new_wxFileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2988 wxPyFileDropTarget
* _result
;
2989 char *_kwnames
[] = { NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDropTarget",_kwnames
))
2996 wxPy_BEGIN_ALLOW_THREADS
;
2997 _result
= (wxPyFileDropTarget
*)new_wxFileDropTarget();
2999 wxPy_END_ALLOW_THREADS
;
3001 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileDropTarget_p");
3002 _resultobj
= Py_BuildValue("s",_ptemp
);
3005 _resultobj
= Py_None
;
3010 #define wxFileDropTarget__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
3011 static PyObject
*_wrap_wxFileDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3013 wxPyFileDropTarget
* _arg0
;
3015 PyObject
* _argo0
= 0;
3016 PyObject
* _obj1
= 0;
3017 char *_kwnames
[] = { "self","self", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget__setSelf. Expected _wxPyFileDropTarget_p.");
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 wxFileDropTarget__setSelf(_arg0
,_arg1
);
3036 wxPy_END_ALLOW_THREADS
;
3037 } Py_INCREF(Py_None
);
3038 _resultobj
= Py_None
;
3042 #define wxFileDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
3043 static PyObject
*_wrap_wxFileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3045 wxDragResult _result
;
3046 wxPyFileDropTarget
* _arg0
;
3050 PyObject
* _argo0
= 0;
3051 char *_kwnames
[] = { "self","x","y","def", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnEnter. Expected _wxPyFileDropTarget_p.");
3064 wxPy_BEGIN_ALLOW_THREADS
;
3065 _result
= (wxDragResult
)wxFileDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
3067 wxPy_END_ALLOW_THREADS
;
3068 } _resultobj
= Py_BuildValue("i",_result
);
3072 #define wxFileDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
3073 static PyObject
*_wrap_wxFileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
* _resultobj
;
3075 wxDragResult _result
;
3076 wxPyFileDropTarget
* _arg0
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self","x","y","def", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDragOver. Expected _wxPyFileDropTarget_p.");
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 _result
= (wxDragResult
)wxFileDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
3097 wxPy_END_ALLOW_THREADS
;
3098 } _resultobj
= Py_BuildValue("i",_result
);
3102 #define wxFileDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
3103 static PyObject
*_wrap_wxFileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
* _resultobj
;
3105 wxPyFileDropTarget
* _arg0
;
3106 PyObject
* _argo0
= 0;
3107 char *_kwnames
[] = { "self", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDropTarget_base_OnLeave",_kwnames
,&_argo0
))
3113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnLeave. Expected _wxPyFileDropTarget_p.");
3120 wxPy_BEGIN_ALLOW_THREADS
;
3121 wxFileDropTarget_base_OnLeave(_arg0
);
3123 wxPy_END_ALLOW_THREADS
;
3124 } Py_INCREF(Py_None
);
3125 _resultobj
= Py_None
;
3129 #define wxFileDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3130 static PyObject
*_wrap_wxFileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
* _resultobj
;
3133 wxPyFileDropTarget
* _arg0
;
3136 PyObject
* _argo0
= 0;
3137 char *_kwnames
[] = { "self","x","y", NULL
};
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFileDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDrop. Expected _wxPyFileDropTarget_p.");
3150 wxPy_BEGIN_ALLOW_THREADS
;
3151 _result
= (bool )wxFileDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3153 wxPy_END_ALLOW_THREADS
;
3154 } _resultobj
= Py_BuildValue("i",_result
);
3158 #define wxFileDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3159 static PyObject
*_wrap_wxFileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3161 wxDragResult _result
;
3162 wxPyFileDropTarget
* _arg0
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "self","x","y","def", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnData. Expected _wxPyFileDropTarget_p.");
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 _result
= (wxDragResult
)wxFileDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3183 wxPy_END_ALLOW_THREADS
;
3184 } _resultobj
= Py_BuildValue("i",_result
);
3188 static PyMethodDef clip_dndcMethods
[] = {
3189 { "wxFileDropTarget_base_OnData", (PyCFunction
) _wrap_wxFileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3190 { "wxFileDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3191 { "wxFileDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxFileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3192 { "wxFileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3193 { "wxFileDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxFileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3194 { "wxFileDropTarget__setSelf", (PyCFunction
) _wrap_wxFileDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3195 { "new_wxFileDropTarget", (PyCFunction
) _wrap_new_wxFileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3196 { "wxTextDropTarget_base_OnData", (PyCFunction
) _wrap_wxTextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3197 { "wxTextDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3198 { "wxTextDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxTextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3199 { "wxTextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3200 { "wxTextDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxTextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3201 { "wxTextDropTarget__setSelf", (PyCFunction
) _wrap_wxTextDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3202 { "new_wxTextDropTarget", (PyCFunction
) _wrap_new_wxTextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3203 { "wxPyDropTarget_GetData", (PyCFunction
) _wrap_wxPyDropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3204 { "wxPyDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3205 { "wxPyDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxPyDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3206 { "wxPyDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3207 { "wxPyDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxPyDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3208 { "wxPyDropTarget_SetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3209 { "wxPyDropTarget_GetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3210 { "delete_wxPyDropTarget", (PyCFunction
) _wrap_delete_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3211 { "wxPyDropTarget__setSelf", (PyCFunction
) _wrap_wxPyDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3212 { "new_wxPyDropTarget", (PyCFunction
) _wrap_new_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3213 { "wxDropSource_base_GiveFeedback", (PyCFunction
) _wrap_wxDropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
3214 { "wxDropSource_DoDragDrop", (PyCFunction
) _wrap_wxDropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
3215 { "wxDropSource_SetCursor", (PyCFunction
) _wrap_wxDropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
3216 { "wxDropSource_GetDataObject", (PyCFunction
) _wrap_wxDropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3217 { "wxDropSource_SetData", (PyCFunction
) _wrap_wxDropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3218 { "delete_wxDropSource", (PyCFunction
) _wrap_delete_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3219 { "wxDropSource__setSelf", (PyCFunction
) _wrap_wxDropSource__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3220 { "new_wxDropSource", (PyCFunction
) _wrap_new_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3221 { "wxClipboard_UsePrimarySelection", (PyCFunction
) _wrap_wxClipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
3222 { "wxClipboard_Flush", (PyCFunction
) _wrap_wxClipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
3223 { "wxClipboard_Clear", (PyCFunction
) _wrap_wxClipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3224 { "wxClipboard_GetData", (PyCFunction
) _wrap_wxClipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3225 { "wxClipboard_IsSupported", (PyCFunction
) _wrap_wxClipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
3226 { "wxClipboard_SetData", (PyCFunction
) _wrap_wxClipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3227 { "wxClipboard_AddData", (PyCFunction
) _wrap_wxClipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
3228 { "wxClipboard_IsOpened", (PyCFunction
) _wrap_wxClipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
3229 { "wxClipboard_Close", (PyCFunction
) _wrap_wxClipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
3230 { "wxClipboard_Open", (PyCFunction
) _wrap_wxClipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
3231 { "new_wxClipboard", (PyCFunction
) _wrap_new_wxClipboard
, METH_VARARGS
| METH_KEYWORDS
},
3232 { "wxCustomDataObject_GetData", (PyCFunction
) _wrap_wxCustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3233 { "wxCustomDataObject_GetSize", (PyCFunction
) _wrap_wxCustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3234 { "wxCustomDataObject_SetData", (PyCFunction
) _wrap_wxCustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3235 { "wxCustomDataObject_TakeData", (PyCFunction
) _wrap_wxCustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
3236 { "new_wxCustomDataObject", (PyCFunction
) _wrap_new_wxCustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3237 { "wxFileDataObject_GetFilenames", (PyCFunction
) _wrap_wxFileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3238 { "new_wxFileDataObject", (PyCFunction
) _wrap_new_wxFileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3239 { "wxPyBitmapDataObject__setSelf", (PyCFunction
) _wrap_wxPyBitmapDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3240 { "new_wxPyBitmapDataObject", (PyCFunction
) _wrap_new_wxPyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3241 { "wxBitmapDataObject_SetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3242 { "wxBitmapDataObject_GetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3243 { "new_wxBitmapDataObject", (PyCFunction
) _wrap_new_wxBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3244 { "wxPyTextDataObject__setSelf", (PyCFunction
) _wrap_wxPyTextDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3245 { "new_wxPyTextDataObject", (PyCFunction
) _wrap_new_wxPyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3246 { "wxTextDataObject_SetText", (PyCFunction
) _wrap_wxTextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3247 { "wxTextDataObject_GetText", (PyCFunction
) _wrap_wxTextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3248 { "wxTextDataObject_GetTextLength", (PyCFunction
) _wrap_wxTextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
3249 { "new_wxTextDataObject", (PyCFunction
) _wrap_new_wxTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3250 { "wxDataObjectComposite_Add", (PyCFunction
) _wrap_wxDataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
3251 { "new_wxDataObjectComposite", (PyCFunction
) _wrap_new_wxDataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
3252 { "wxPyDataObjectSimple__setSelf", (PyCFunction
) _wrap_wxPyDataObjectSimple__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3253 { "new_wxPyDataObjectSimple", (PyCFunction
) _wrap_new_wxPyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3254 { "wxDataObjectSimple_SetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3255 { "wxDataObjectSimple_GetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3256 { "new_wxDataObjectSimple", (PyCFunction
) _wrap_new_wxDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3257 { "wxDataObject_IsSupportedFormat", (PyCFunction
) _wrap_wxDataObject_IsSupportedFormat
, METH_VARARGS
| METH_KEYWORDS
},
3258 { "wxDataObject_SetData", (PyCFunction
) _wrap_wxDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3259 { "wxDataObject_GetDataHere", (PyCFunction
) _wrap_wxDataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
3260 { "wxDataObject_GetDataSize", (PyCFunction
) _wrap_wxDataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
3261 { "wxDataObject_GetAllFormats", (PyCFunction
) _wrap_wxDataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
3262 { "wxDataObject_GetFormatCount", (PyCFunction
) _wrap_wxDataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
3263 { "wxDataObject_GetPreferredFormat", (PyCFunction
) _wrap_wxDataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
3264 { "delete_wxDataObject", (PyCFunction
) _wrap_delete_wxDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3265 { "wxDataFormat_SetId", (PyCFunction
) _wrap_wxDataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3266 { "wxDataFormat_GetId", (PyCFunction
) _wrap_wxDataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3267 { "wxDataFormat_GetType", (PyCFunction
) _wrap_wxDataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
3268 { "wxDataFormat_SetType", (PyCFunction
) _wrap_wxDataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
3269 { "delete_wxDataFormat", (PyCFunction
) _wrap_delete_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3270 { "new_wxDataFormat", (PyCFunction
) _wrap_new_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3271 { "wxIsDragResultOk", (PyCFunction
) _wrap_wxIsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
3272 { "wxCustomDataFormat", (PyCFunction
) _wrap_wxCustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3279 * This table is used by the pointer type-checker
3281 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3282 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3283 { "_signed_long","_long",0},
3284 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3285 { "_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3286 { "_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3287 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3288 { "_wxPrintQuality","_wxCoord",0},
3289 { "_wxPrintQuality","_int",0},
3290 { "_wxPrintQuality","_signed_int",0},
3291 { "_wxPrintQuality","_unsigned_int",0},
3292 { "_wxPrintQuality","_wxWindowID",0},
3293 { "_wxPrintQuality","_uint",0},
3294 { "_wxPrintQuality","_EBool",0},
3295 { "_wxPrintQuality","_size_t",0},
3296 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3297 { "_class_wxRegionIterator","_wxRegionIterator",0},
3298 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3299 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3300 { "_wxCursor","_class_wxCursor",0},
3301 { "_wxMask","_class_wxMask",0},
3302 { "_wxPen","_class_wxPen",0},
3303 { "_byte","_unsigned_char",0},
3304 { "_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3305 { "_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3306 { "_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3307 { "_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3308 { "_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3309 { "_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3310 { "_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3311 { "_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3312 { "_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3313 { "_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3314 { "_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3315 { "_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3316 { "_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3317 { "_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3318 { "_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3319 { "_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3320 { "_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3321 { "_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3322 { "_wxDataObject","_class_wxDataObject",0},
3323 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3324 { "_wxPyDropSource","_class_wxPyDropSource",0},
3325 { "_long","_wxDash",0},
3326 { "_long","_unsigned_long",0},
3327 { "_long","_signed_long",0},
3328 { "_wxImageList","_class_wxImageList",0},
3329 { "_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3330 { "_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3331 { "_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3332 { "_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3333 { "_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3334 { "_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3335 { "_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3336 { "_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3337 { "_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3338 { "_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3339 { "_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3340 { "_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3341 { "_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3342 { "_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3343 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3344 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3345 { "_class_wxClipboard","_wxClipboard",0},
3346 { "_wxDC","_class_wxDC",0},
3347 { "_class_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3348 { "_class_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3349 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3350 { "_size_t","_wxCoord",0},
3351 { "_size_t","_wxPrintQuality",0},
3352 { "_size_t","_unsigned_int",0},
3353 { "_size_t","_int",0},
3354 { "_size_t","_wxWindowID",0},
3355 { "_size_t","_uint",0},
3356 { "_class_wxRealPoint","_wxRealPoint",0},
3357 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
3358 { "_class_wxMask","_wxMask",0},
3359 { "_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3360 { "_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3361 { "_wxTextDataObject","_class_wxTextDataObject",0},
3362 { "_wxColour","_class_wxColour",0},
3363 { "_class_wxFileDataObject","_wxFileDataObject",0},
3364 { "_class_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3365 { "_class_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3366 { "_class_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3367 { "_class_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3368 { "_class_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3369 { "_class_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3370 { "_class_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3371 { "_class_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3372 { "_class_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3373 { "_class_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3374 { "_class_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3375 { "_class_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3376 { "_class_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3377 { "_class_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3378 { "_class_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3379 { "_class_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3380 { "_class_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3381 { "_class_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3382 { "_class_wxDataObject","_wxDataObject",0},
3383 { "_wxBrush","_class_wxBrush",0},
3384 { "_wxDataFormat","_class_wxDataFormat",0},
3385 { "_class_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3386 { "_class_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3387 { "_class_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3388 { "_class_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3389 { "_class_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3390 { "_class_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3391 { "_class_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3392 { "_class_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3393 { "_class_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3394 { "_class_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3395 { "_class_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3396 { "_class_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3397 { "_class_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3398 { "_class_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3399 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3400 { "_uint","_wxCoord",0},
3401 { "_uint","_wxPrintQuality",0},
3402 { "_uint","_size_t",0},
3403 { "_uint","_unsigned_int",0},
3404 { "_uint","_int",0},
3405 { "_uint","_wxWindowID",0},
3406 { "_wxRect","_class_wxRect",0},
3407 { "_wxPoint","_class_wxPoint",0},
3408 { "_wxBitmap","_class_wxBitmap",0},
3409 { "_wxPyTimer","_class_wxPyTimer",0},
3410 { "_wxWindowDC","_class_wxWindowDC",0},
3411 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3412 { "_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3413 { "_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3414 { "_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3415 { "_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3416 { "_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3417 { "_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3418 { "_wxDropTarget","_class_wxDropTarget",0},
3419 { "_EBool","_wxCoord",0},
3420 { "_EBool","_wxPrintQuality",0},
3421 { "_EBool","_signed_int",0},
3422 { "_EBool","_int",0},
3423 { "_EBool","_wxWindowID",0},
3424 { "_class_wxRegion","_wxRegion",0},
3425 { "_class_wxDataFormat","_wxDataFormat",0},
3426 { "_wxFont","_class_wxFont",0},
3427 { "_class_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3428 { "_class_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3429 { "_class_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3430 { "_class_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3431 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3432 { "_unsigned_long","_wxDash",0},
3433 { "_unsigned_long","_long",0},
3434 { "_class_wxRect","_wxRect",0},
3435 { "_class_wxDC","_wxDC",0},
3436 { "_class_wxPyTimer","_wxPyTimer",0},
3437 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3438 { "_signed_int","_wxCoord",0},
3439 { "_signed_int","_wxPrintQuality",0},
3440 { "_signed_int","_EBool",0},
3441 { "_signed_int","_wxWindowID",0},
3442 { "_signed_int","_int",0},
3443 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3444 { "_class_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3445 { "_class_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3446 { "_class_wxTextDataObject","_wxTextDataObject",0},
3447 { "_wxScreenDC","_class_wxScreenDC",0},
3448 { "_WXTYPE","_short",0},
3449 { "_WXTYPE","_signed_short",0},
3450 { "_WXTYPE","_unsigned_short",0},
3451 { "_class_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3452 { "_class_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3453 { "_class_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3454 { "_class_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3455 { "_class_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3456 { "_class_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3457 { "_class_wxDropTarget","_wxDropTarget",0},
3458 { "_class_wxBrush","_wxBrush",0},
3459 { "_unsigned_short","_WXTYPE",0},
3460 { "_unsigned_short","_short",0},
3461 { "_class_wxFont","_wxFont",0},
3462 { "_wxClipboard","_class_wxClipboard",0},
3463 { "_wxBusyInfo","_class_wxBusyInfo",0},
3464 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3465 { "_wxClientDC","_class_wxClientDC",0},
3466 { "_class_wxPoint","_wxPoint",0},
3467 { "_wxRealPoint","_class_wxRealPoint",0},
3468 { "_signed_short","_WXTYPE",0},
3469 { "_signed_short","_short",0},
3470 { "_wxMemoryDC","_class_wxMemoryDC",0},
3471 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3472 { "_wxPaintDC","_class_wxPaintDC",0},
3473 { "_class_wxWindowDC","_wxWindowDC",0},
3474 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3475 { "_class_wxCursor","_wxCursor",0},
3476 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
3477 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3478 { "_unsigned_char","_byte",0},
3479 { "_unsigned_int","_wxCoord",0},
3480 { "_unsigned_int","_wxPrintQuality",0},
3481 { "_unsigned_int","_size_t",0},
3482 { "_unsigned_int","_uint",0},
3483 { "_unsigned_int","_wxWindowID",0},
3484 { "_unsigned_int","_int",0},
3485 { "_wxIcon","_class_wxIcon",0},
3486 { "_class_wxPen","_wxPen",0},
3487 { "_short","_WXTYPE",0},
3488 { "_short","_unsigned_short",0},
3489 { "_short","_signed_short",0},
3490 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3491 { "_class_wxPyDropSource","_wxPyDropSource",0},
3492 { "_class_wxImageList","_wxImageList",0},
3493 { "_wxWindowID","_wxCoord",0},
3494 { "_wxWindowID","_wxPrintQuality",0},
3495 { "_wxWindowID","_size_t",0},
3496 { "_wxWindowID","_EBool",0},
3497 { "_wxWindowID","_uint",0},
3498 { "_wxWindowID","_int",0},
3499 { "_wxWindowID","_signed_int",0},
3500 { "_wxWindowID","_unsigned_int",0},
3501 { "_int","_wxCoord",0},
3502 { "_int","_wxPrintQuality",0},
3503 { "_int","_size_t",0},
3504 { "_int","_EBool",0},
3505 { "_int","_uint",0},
3506 { "_int","_wxWindowID",0},
3507 { "_int","_unsigned_int",0},
3508 { "_int","_signed_int",0},
3509 { "_wxSize","_class_wxSize",0},
3510 { "_wxRegionIterator","_class_wxRegionIterator",0},
3511 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3512 { "_class_wxPaintDC","_wxPaintDC",0},
3513 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3514 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3515 { "_class_wxIcon","_wxIcon",0},
3516 { "_class_wxColour","_wxColour",0},
3517 { "_class_wxScreenDC","_wxScreenDC",0},
3518 { "_wxPalette","_class_wxPalette",0},
3519 { "_wxCoord","_int",0},
3520 { "_wxCoord","_signed_int",0},
3521 { "_wxCoord","_unsigned_int",0},
3522 { "_wxCoord","_wxWindowID",0},
3523 { "_wxCoord","_uint",0},
3524 { "_wxCoord","_EBool",0},
3525 { "_wxCoord","_size_t",0},
3526 { "_wxCoord","_wxPrintQuality",0},
3527 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3528 { "_wxRegion","_class_wxRegion",0},
3529 { "_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3530 { "_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3531 { "_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3532 { "_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3533 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3534 { "_class_wxBusyInfo","_wxBusyInfo",0},
3535 { "_class_wxClientDC","_wxClientDC",0},
3536 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3537 { "_class_wxSize","_wxSize",0},
3538 { "_class_wxBitmap","_wxBitmap",0},
3539 { "_class_wxMemoryDC","_wxMemoryDC",0},
3540 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3541 { "_wxDash","_unsigned_long",0},
3542 { "_wxDash","_long",0},
3543 { "_class_wxPalette","_wxPalette",0},
3544 { "_wxFileDataObject","_class_wxFileDataObject",0},
3545 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3548 static PyObject
*SWIG_globals
;
3552 SWIGEXPORT(void) initclip_dndc() {
3554 SWIG_globals
= SWIG_newvarlink();
3555 m
= Py_InitModule("clip_dndc", clip_dndcMethods
);
3556 d
= PyModule_GetDict(m
);
3557 PyDict_SetItemString(d
,"wxDF_INVALID", PyInt_FromLong((long) wxDF_INVALID
));
3558 PyDict_SetItemString(d
,"wxDF_TEXT", PyInt_FromLong((long) wxDF_TEXT
));
3559 PyDict_SetItemString(d
,"wxDF_BITMAP", PyInt_FromLong((long) wxDF_BITMAP
));
3560 PyDict_SetItemString(d
,"wxDF_METAFILE", PyInt_FromLong((long) wxDF_METAFILE
));
3561 PyDict_SetItemString(d
,"wxDF_SYLK", PyInt_FromLong((long) wxDF_SYLK
));
3562 PyDict_SetItemString(d
,"wxDF_DIF", PyInt_FromLong((long) wxDF_DIF
));
3563 PyDict_SetItemString(d
,"wxDF_TIFF", PyInt_FromLong((long) wxDF_TIFF
));
3564 PyDict_SetItemString(d
,"wxDF_OEMTEXT", PyInt_FromLong((long) wxDF_OEMTEXT
));
3565 PyDict_SetItemString(d
,"wxDF_DIB", PyInt_FromLong((long) wxDF_DIB
));
3566 PyDict_SetItemString(d
,"wxDF_PALETTE", PyInt_FromLong((long) wxDF_PALETTE
));
3567 PyDict_SetItemString(d
,"wxDF_PENDATA", PyInt_FromLong((long) wxDF_PENDATA
));
3568 PyDict_SetItemString(d
,"wxDF_RIFF", PyInt_FromLong((long) wxDF_RIFF
));
3569 PyDict_SetItemString(d
,"wxDF_WAVE", PyInt_FromLong((long) wxDF_WAVE
));
3570 PyDict_SetItemString(d
,"wxDF_UNICODETEXT", PyInt_FromLong((long) wxDF_UNICODETEXT
));
3571 PyDict_SetItemString(d
,"wxDF_ENHMETAFILE", PyInt_FromLong((long) wxDF_ENHMETAFILE
));
3572 PyDict_SetItemString(d
,"wxDF_FILENAME", PyInt_FromLong((long) wxDF_FILENAME
));
3573 PyDict_SetItemString(d
,"wxDF_LOCALE", PyInt_FromLong((long) wxDF_LOCALE
));
3574 PyDict_SetItemString(d
,"wxDF_PRIVATE", PyInt_FromLong((long) wxDF_PRIVATE
));
3575 PyDict_SetItemString(d
,"wxDF_MAX", PyInt_FromLong((long) wxDF_MAX
));
3576 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
3577 SWIG_addvarlink(SWIG_globals
,"wxFormatInvalid",_wrap_wxPyFormatInvalid_get
, _wrap_wxPyFormatInvalid_set
);
3578 SWIG_addvarlink(SWIG_globals
,"wxTheClipboard",_wrap_wxPyTheClipboard_get
, _wrap_wxPyTheClipboard_set
);
3579 PyDict_SetItemString(d
,"wxDragError", PyInt_FromLong((long) wxDragError
));
3580 PyDict_SetItemString(d
,"wxDragNone", PyInt_FromLong((long) wxDragNone
));
3581 PyDict_SetItemString(d
,"wxDragCopy", PyInt_FromLong((long) wxDragCopy
));
3582 PyDict_SetItemString(d
,"wxDragMove", PyInt_FromLong((long) wxDragMove
));
3583 PyDict_SetItemString(d
,"wxDragCancel", PyInt_FromLong((long) wxDragCancel
));
3586 wxPyTheClipboard
= wxTheClipboard
;
3588 PyDict_SetItemString(d
,"wxDataObject_Get", PyInt_FromLong((long) wxDataObject::Get
));
3589 PyDict_SetItemString(d
,"wxDataObject_Set", PyInt_FromLong((long) wxDataObject::Set
));
3590 PyDict_SetItemString(d
,"wxDataObject_Both", PyInt_FromLong((long) wxDataObject::Both
));
3593 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3594 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);