2 * FILE : msw/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("()"));
141 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
143 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
147 wxPySaveThread(doSave
);
151 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
152 // For this one we simply need to make a string from buf and len
153 // and send it to the Python method.
155 bool doSave
= wxPyRestoreThread();
156 if (m_myInst
.findCallback("SetData")) {
157 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
158 rval
= m_myInst
.callCallback(Py_BuildValue("(O)", data
));
161 wxPySaveThread(doSave
);
164 // Create a new class for wxPython to use
165 class wxPyTextDataObject
: public wxTextDataObject
{
167 wxPyTextDataObject(const wxString
& text
= wxEmptyString
)
168 : wxTextDataObject(text
) {}
170 DEC_PYCALLBACK_SIZET_(GetTextLength
);
171 DEC_PYCALLBACK_STRING_(GetText
);
172 DEC_PYCALLBACK__STRING(SetText
);
176 IMP_PYCALLBACK_SIZET_(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
177 IMP_PYCALLBACK_STRING_(wxPyTextDataObject
, wxTextDataObject
, GetText
);
178 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
180 // Create a new class for wxPython to use
181 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
183 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
184 : wxBitmapDataObject(bitmap
) {}
186 wxBitmap
GetBitmap();
187 void SetBitmap(const wxBitmap
& bitmap
);
191 wxBitmap
wxPyBitmapDataObject::GetBitmap() {
192 wxBitmap
* rval
= &wxNullBitmap
;
193 bool doSave
= wxPyRestoreThread();
194 if (m_myInst
.findCallback("GetBitmap")) {
197 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
199 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxBitmap_p"))
204 wxPySaveThread(doSave
);
208 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
209 bool doSave
= wxPyRestoreThread();
210 if (m_myInst
.findCallback("SetBitmap")) {
211 m_myInst
.callCallback(Py_BuildValue("(O)",
212 wxPyConstructObject((void*)&bitmap
, "wxBitmap")));
214 wxPySaveThread(doSave
);
217 // See below in the init function...
218 wxClipboard
* wxPyTheClipboard
;
220 class wxPyDropSource
: public wxDropSource
{
223 wxPyDropSource(wxWindow
*win
= NULL
,
224 const wxCursor
&cursorCopy
= wxNullCursor
,
225 const wxCursor
&cursorMove
= wxNullCursor
,
226 const wxCursor
&cursorStop
= wxNullCursor
)
227 : wxDropSource(win
, cursorCopy
, cursorMove
, cursorStop
) {}
229 wxPyDropSource(wxWindow
*win
= NULL
,
230 const wxIcon
&go
= wxNullIcon
)
231 : wxDropSource(win
, go
) {}
233 ~wxPyDropSource() { }
235 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
239 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
242 class wxPyDropTarget
: public wxDropTarget
{
244 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
245 : wxDropTarget(dataObject
) {}
247 // DEC_PYCALLBACK_SIZET_(GetFormatCount);
248 // DEC_PYCALLBACK_DATAFMT_SIZET(GetFormat);
250 DEC_PYCALLBACK__(OnLeave
);
251 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
252 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
253 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
254 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
259 // IMP_PYCALLBACK_SIZET_(wxPyDropTarget, wxDropTarget, GetFormatCount);
260 // IMP__PYCALLBACK_DATAFMT_SIZET(wxPyDropTarget, wxDropTarget, GetFormat);
262 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
263 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
264 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
265 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
266 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
269 class wxPyTextDropTarget
: public wxTextDropTarget
{
271 wxPyTextDropTarget() {}
273 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
275 DEC_PYCALLBACK__(OnLeave
);
276 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
277 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
278 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
279 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
284 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
285 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
286 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
287 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
288 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
289 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
292 class wxPyFileDropTarget
: public wxFileDropTarget
{
294 wxPyFileDropTarget() {}
296 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
298 DEC_PYCALLBACK__(OnLeave
);
299 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
300 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
301 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
302 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
307 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
308 const wxArrayString
& filenames
) {
310 bool doSave
= wxPyRestoreThread();
311 PyObject
* list
= PyList_New(0);
312 for (size_t i
=0; i
<filenames
.GetCount(); i
++) {
313 PyObject
* str
= PyString_FromString(filenames
[i
].c_str());
314 PyList_Append(list
, str
);
316 if (m_myInst
.findCallback("OnDropFiles"))
317 rval
= m_myInst
.callCallback(Py_BuildValue("(iiO)",x
,y
,list
));
319 wxPySaveThread(doSave
);
325 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
326 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
327 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
328 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
329 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
334 static PyObject
*_wrap_wxCustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
336 wxDataFormat
* _result
;
338 PyObject
* _obj0
= 0;
339 char *_kwnames
[] = { "id", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataFormat",_kwnames
,&_obj0
))
346 if (!PyString_Check(_obj0
)) {
347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
350 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
353 wxPy_BEGIN_ALLOW_THREADS
;
354 _result
= (wxDataFormat
*)wxCustomDataFormat(*_arg0
);
356 wxPy_END_ALLOW_THREADS
;
358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
359 _resultobj
= Py_BuildValue("s",_ptemp
);
362 _resultobj
= Py_None
;
371 static int _wrap_wxPyFormatInvalid_set(PyObject
*val
) {
373 PyErr_SetString(PyExc_TypeError
,"Variable wxFormatInvalid is read-only.");
377 static PyObject
*_wrap_wxPyFormatInvalid_get() {
381 SWIG_MakePtr(ptemp
,(char *) &wxPyFormatInvalid
,"_wxDataFormat_p");
382 pyobj
= PyString_FromString(ptemp
);
386 static int _wrap_wxPyTheClipboard_set(PyObject
*val
) {
388 PyErr_SetString(PyExc_TypeError
,"Variable wxTheClipboard is read-only.");
392 static PyObject
*_wrap_wxPyTheClipboard_get() {
396 SWIG_MakePtr(ptemp
, (char *) wxPyTheClipboard
,"_wxClipboard_p");
397 pyobj
= PyString_FromString(ptemp
);
401 static PyObject
*_wrap_wxIsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
405 char *_kwnames
[] = { "res", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxIsDragResultOk",_kwnames
,&_arg0
))
411 wxPy_BEGIN_ALLOW_THREADS
;
412 _result
= (bool )wxIsDragResultOk(_arg0
);
414 wxPy_END_ALLOW_THREADS
;
415 } _resultobj
= Py_BuildValue("i",_result
);
419 #define new_wxDataFormat(_swigarg0) (new wxDataFormat(_swigarg0))
420 static PyObject
*_wrap_new_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
422 wxDataFormat
* _result
;
423 wxDataFormatId _arg0
;
424 char *_kwnames
[] = { "type", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDataFormat",_kwnames
,&_arg0
))
431 wxPy_BEGIN_ALLOW_THREADS
;
432 _result
= (wxDataFormat
*)new_wxDataFormat(_arg0
);
434 wxPy_END_ALLOW_THREADS
;
436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
437 _resultobj
= Py_BuildValue("s",_ptemp
);
440 _resultobj
= Py_None
;
445 #define delete_wxDataFormat(_swigobj) (delete _swigobj)
446 static PyObject
*_wrap_delete_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
448 wxDataFormat
* _arg0
;
449 PyObject
* _argo0
= 0;
450 char *_kwnames
[] = { "self", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataFormat",_kwnames
,&_argo0
))
456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataFormat. Expected _wxDataFormat_p.");
463 wxPy_BEGIN_ALLOW_THREADS
;
464 delete_wxDataFormat(_arg0
);
466 wxPy_END_ALLOW_THREADS
;
467 } Py_INCREF(Py_None
);
468 _resultobj
= Py_None
;
472 #define wxDataFormat_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
473 static PyObject
*_wrap_wxDataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
475 wxDataFormat
* _arg0
;
476 wxDataFormatId _arg1
;
477 PyObject
* _argo0
= 0;
478 char *_kwnames
[] = { "self","format", NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDataFormat_SetType",_kwnames
,&_argo0
,&_arg1
))
484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetType. Expected _wxDataFormat_p.");
491 wxPy_BEGIN_ALLOW_THREADS
;
492 wxDataFormat_SetType(_arg0
,_arg1
);
494 wxPy_END_ALLOW_THREADS
;
495 } Py_INCREF(Py_None
);
496 _resultobj
= Py_None
;
500 #define wxDataFormat_GetType(_swigobj) (_swigobj->GetType())
501 static PyObject
*_wrap_wxDataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
502 PyObject
* _resultobj
;
503 wxDataFormatId _result
;
504 wxDataFormat
* _arg0
;
505 PyObject
* _argo0
= 0;
506 char *_kwnames
[] = { "self", NULL
};
509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetType",_kwnames
,&_argo0
))
512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetType. Expected _wxDataFormat_p.");
519 wxPy_BEGIN_ALLOW_THREADS
;
520 _result
= (wxDataFormatId
)wxDataFormat_GetType(_arg0
);
522 wxPy_END_ALLOW_THREADS
;
523 } _resultobj
= Py_BuildValue("i",_result
);
527 #define wxDataFormat_GetId(_swigobj) (_swigobj->GetId())
528 static PyObject
*_wrap_wxDataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
531 wxDataFormat
* _arg0
;
532 PyObject
* _argo0
= 0;
533 char *_kwnames
[] = { "self", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetId",_kwnames
,&_argo0
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetId. Expected _wxDataFormat_p.");
546 wxPy_BEGIN_ALLOW_THREADS
;
547 _result
= new wxString (wxDataFormat_GetId(_arg0
));
549 wxPy_END_ALLOW_THREADS
;
551 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
559 #define wxDataFormat_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
560 static PyObject
*_wrap_wxDataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
561 PyObject
* _resultobj
;
562 wxDataFormat
* _arg0
;
564 PyObject
* _argo0
= 0;
565 char *_kwnames
[] = { "self","format", NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDataFormat_SetId",_kwnames
,&_argo0
,&_arg1
))
571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetId. Expected _wxDataFormat_p.");
578 wxPy_BEGIN_ALLOW_THREADS
;
579 wxDataFormat_SetId(_arg0
,_arg1
);
581 wxPy_END_ALLOW_THREADS
;
582 } Py_INCREF(Py_None
);
583 _resultobj
= Py_None
;
587 #define delete_wxDataObject(_swigobj) (delete _swigobj)
588 static PyObject
*_wrap_delete_wxDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
590 wxDataObject
* _arg0
;
591 PyObject
* _argo0
= 0;
592 char *_kwnames
[] = { "self", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataObject",_kwnames
,&_argo0
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataObject. Expected _wxDataObject_p.");
605 wxPy_BEGIN_ALLOW_THREADS
;
606 delete_wxDataObject(_arg0
);
608 wxPy_END_ALLOW_THREADS
;
609 } Py_INCREF(Py_None
);
610 _resultobj
= Py_None
;
614 #define wxDataObject_GetPreferredFormat(_swigobj,_swigarg0) (_swigobj->GetPreferredFormat(_swigarg0))
615 static PyObject
*_wrap_wxDataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
617 wxDataFormat
* _result
;
618 wxDataObject
* _arg0
;
619 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
620 PyObject
* _argo0
= 0;
621 char *_kwnames
[] = { "self","dir", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetPreferredFormat",_kwnames
,&_argo0
,&_arg1
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetPreferredFormat. Expected _wxDataObject_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= new wxDataFormat (wxDataObject_GetPreferredFormat(_arg0
,_arg1
));
638 wxPy_END_ALLOW_THREADS
;
639 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDataFormat_p");
640 _resultobj
= Py_BuildValue("s",_ptemp
);
644 #define wxDataObject_GetFormatCount(_swigobj,_swigarg0) (_swigobj->GetFormatCount(_swigarg0))
645 static PyObject
*_wrap_wxDataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
648 wxDataObject
* _arg0
;
649 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
650 PyObject
* _argo0
= 0;
651 char *_kwnames
[] = { "self","dir", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetFormatCount",_kwnames
,&_argo0
,&_arg1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetFormatCount. Expected _wxDataObject_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 _result
= (size_t )wxDataObject_GetFormatCount(_arg0
,_arg1
);
667 wxPy_END_ALLOW_THREADS
;
668 } _resultobj
= Py_BuildValue("i",_result
);
672 #define wxDataObject_GetAllFormats(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAllFormats(_swigarg0,_swigarg1))
673 static PyObject
*_wrap_wxDataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
675 wxDataObject
* _arg0
;
676 wxDataFormat
* _arg1
;
677 wxDataObject::Direction _arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
678 PyObject
* _argo0
= 0;
679 PyObject
* _argo1
= 0;
680 char *_kwnames
[] = { "self","formats","dir", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObject_GetAllFormats",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetAllFormats. Expected _wxDataObject_p.");
693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetAllFormats. Expected _wxDataFormat_p.");
700 wxPy_BEGIN_ALLOW_THREADS
;
701 wxDataObject_GetAllFormats(_arg0
,_arg1
,_arg2
);
703 wxPy_END_ALLOW_THREADS
;
704 } Py_INCREF(Py_None
);
705 _resultobj
= Py_None
;
709 #define wxDataObject_GetDataSize(_swigobj,_swigarg0) (_swigobj->GetDataSize(_swigarg0))
710 static PyObject
*_wrap_wxDataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
713 wxDataObject
* _arg0
;
714 wxDataFormat
* _arg1
;
715 PyObject
* _argo0
= 0;
716 PyObject
* _argo1
= 0;
717 char *_kwnames
[] = { "self","format", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_GetDataSize",_kwnames
,&_argo0
,&_argo1
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataSize. Expected _wxDataObject_p.");
730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataSize. Expected _wxDataFormat_p.");
737 wxPy_BEGIN_ALLOW_THREADS
;
738 _result
= (size_t )wxDataObject_GetDataSize(_arg0
,*_arg1
);
740 wxPy_END_ALLOW_THREADS
;
741 } _resultobj
= Py_BuildValue("i",_result
);
745 #define wxDataObject_GetDataHere(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDataHere(_swigarg0,_swigarg1))
746 static PyObject
*_wrap_wxDataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
749 wxDataObject
* _arg0
;
750 wxDataFormat
* _arg1
;
752 PyObject
* _argo0
= 0;
753 PyObject
* _argo1
= 0;
754 PyObject
* _argo2
= 0;
755 char *_kwnames
[] = { "self","format","buf", NULL
};
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDataObject_GetDataHere",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataHere. Expected _wxDataObject_p.");
768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataHere. Expected _wxDataFormat_p.");
775 if (_argo2
== Py_None
) { _arg2
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDataObject_GetDataHere. Expected _void_p.");
782 wxPy_BEGIN_ALLOW_THREADS
;
783 _result
= (bool )wxDataObject_GetDataHere(_arg0
,*_arg1
,_arg2
);
785 wxPy_END_ALLOW_THREADS
;
786 } _resultobj
= Py_BuildValue("i",_result
);
790 #define wxDataObject_SetData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetData(_swigarg0,_swigarg1,_swigarg2))
791 static PyObject
*_wrap_wxDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
792 PyObject
* _resultobj
;
794 wxDataObject
* _arg0
;
795 wxDataFormat
* _arg1
;
798 PyObject
* _argo0
= 0;
799 PyObject
* _argo1
= 0;
800 PyObject
* _argo3
= 0;
801 char *_kwnames
[] = { "self","format","len","buf", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxDataObject_SetData",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_SetData. Expected _wxDataObject_p.");
814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_SetData. Expected _wxDataFormat_p.");
821 if (_argo3
== Py_None
) { _arg3
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,(char *) 0 )) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDataObject_SetData. Expected _void_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 _result
= (bool )wxDataObject_SetData(_arg0
,*_arg1
,_arg2
,_arg3
);
831 wxPy_END_ALLOW_THREADS
;
832 } _resultobj
= Py_BuildValue("i",_result
);
836 #define wxDataObject_IsSupportedFormat(_swigobj,_swigarg0) (_swigobj->IsSupportedFormat(_swigarg0))
837 static PyObject
*_wrap_wxDataObject_IsSupportedFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 PyObject
* _resultobj
;
840 wxDataObject
* _arg0
;
841 wxDataFormat
* _arg1
;
842 PyObject
* _argo0
= 0;
843 PyObject
* _argo1
= 0;
844 char *_kwnames
[] = { "self","format", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_IsSupportedFormat",_kwnames
,&_argo0
,&_argo1
))
850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_IsSupportedFormat. Expected _wxDataObject_p.");
857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_IsSupportedFormat. Expected _wxDataFormat_p.");
864 wxPy_BEGIN_ALLOW_THREADS
;
865 _result
= (bool )wxDataObject_IsSupportedFormat(_arg0
,*_arg1
);
867 wxPy_END_ALLOW_THREADS
;
868 } _resultobj
= Py_BuildValue("i",_result
);
872 static void *SwigwxDataObjectSimpleTowxDataObject(void *ptr
) {
873 wxDataObjectSimple
*src
;
875 src
= (wxDataObjectSimple
*) ptr
;
876 dest
= (wxDataObject
*) src
;
877 return (void *) dest
;
880 #define new_wxDataObjectSimple(_swigarg0) (new wxDataObjectSimple(_swigarg0))
881 static PyObject
*_wrap_new_wxDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 PyObject
* _resultobj
;
883 wxDataObjectSimple
* _result
;
884 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
885 PyObject
* _argo0
= 0;
886 char *_kwnames
[] = { "format", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxDataObjectSimple",_kwnames
,&_argo0
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDataObjectSimple. Expected _wxDataFormat_p.");
900 wxPy_BEGIN_ALLOW_THREADS
;
901 _result
= (wxDataObjectSimple
*)new_wxDataObjectSimple(*_arg0
);
903 wxPy_END_ALLOW_THREADS
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectSimple_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define wxDataObjectSimple_GetFormat(_swigobj) (_swigobj->GetFormat())
915 static PyObject
*_wrap_wxDataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
917 wxDataFormat
* _result
;
918 wxDataObjectSimple
* _arg0
;
919 PyObject
* _argo0
= 0;
920 char *_kwnames
[] = { "self", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataObjectSimple_GetFormat",_kwnames
,&_argo0
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_GetFormat. Expected _wxDataObjectSimple_p.");
934 wxPy_BEGIN_ALLOW_THREADS
;
935 const wxDataFormat
& _result_ref
= wxDataObjectSimple_GetFormat(_arg0
);
936 _result
= (wxDataFormat
*) &_result_ref
;
938 wxPy_END_ALLOW_THREADS
;
940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
941 _resultobj
= Py_BuildValue("s",_ptemp
);
944 _resultobj
= Py_None
;
949 #define wxDataObjectSimple_SetFormat(_swigobj,_swigarg0) (_swigobj->SetFormat(_swigarg0))
950 static PyObject
*_wrap_wxDataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 PyObject
* _resultobj
;
952 wxDataObjectSimple
* _arg0
;
953 wxDataFormat
* _arg1
;
954 PyObject
* _argo0
= 0;
955 PyObject
* _argo1
= 0;
956 char *_kwnames
[] = { "self","format", NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObjectSimple_SetFormat",_kwnames
,&_argo0
,&_argo1
))
962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_SetFormat. Expected _wxDataObjectSimple_p.");
969 if (_argo1
== Py_None
) { _arg1
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectSimple_SetFormat. Expected _wxDataFormat_p.");
976 wxPy_BEGIN_ALLOW_THREADS
;
977 wxDataObjectSimple_SetFormat(_arg0
,*_arg1
);
979 wxPy_END_ALLOW_THREADS
;
980 } Py_INCREF(Py_None
);
981 _resultobj
= Py_None
;
985 static void *SwigwxPyDataObjectSimpleTowxDataObjectSimple(void *ptr
) {
986 wxPyDataObjectSimple
*src
;
987 wxDataObjectSimple
*dest
;
988 src
= (wxPyDataObjectSimple
*) ptr
;
989 dest
= (wxDataObjectSimple
*) src
;
990 return (void *) dest
;
993 static void *SwigwxPyDataObjectSimpleTowxDataObject(void *ptr
) {
994 wxPyDataObjectSimple
*src
;
996 src
= (wxPyDataObjectSimple
*) ptr
;
997 dest
= (wxDataObject
*) src
;
998 return (void *) dest
;
1001 #define new_wxPyDataObjectSimple(_swigarg0) (new wxPyDataObjectSimple(_swigarg0))
1002 static PyObject
*_wrap_new_wxPyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1004 wxPyDataObjectSimple
* _result
;
1005 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1006 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "format", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDataObjectSimple",_kwnames
,&_argo0
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDataObjectSimple. Expected _wxDataFormat_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (wxPyDataObjectSimple
*)new_wxPyDataObjectSimple(*_arg0
);
1024 wxPy_END_ALLOW_THREADS
;
1026 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDataObjectSimple_p");
1027 _resultobj
= Py_BuildValue("s",_ptemp
);
1030 _resultobj
= Py_None
;
1035 #define wxPyDataObjectSimple__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1036 static PyObject
*_wrap_wxPyDataObjectSimple__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1038 wxPyDataObjectSimple
* _arg0
;
1041 PyObject
* _argo0
= 0;
1042 PyObject
* _obj1
= 0;
1043 PyObject
* _obj2
= 0;
1044 char *_kwnames
[] = { "self","self","_class", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDataObjectSimple__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDataObjectSimple_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDataObjectSimple__setSelf. Expected _wxPyDataObjectSimple_p.");
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 wxPyDataObjectSimple__setSelf(_arg0
,_arg1
,_arg2
);
1066 wxPy_END_ALLOW_THREADS
;
1067 } Py_INCREF(Py_None
);
1068 _resultobj
= Py_None
;
1072 static void *SwigwxDataObjectCompositeTowxDataObject(void *ptr
) {
1073 wxDataObjectComposite
*src
;
1075 src
= (wxDataObjectComposite
*) ptr
;
1076 dest
= (wxDataObject
*) src
;
1077 return (void *) dest
;
1080 #define new_wxDataObjectComposite() (new wxDataObjectComposite())
1081 static PyObject
*_wrap_new_wxDataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1083 wxDataObjectComposite
* _result
;
1084 char *_kwnames
[] = { NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDataObjectComposite",_kwnames
))
1091 wxPy_BEGIN_ALLOW_THREADS
;
1092 _result
= (wxDataObjectComposite
*)new_wxDataObjectComposite();
1094 wxPy_END_ALLOW_THREADS
;
1096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectComposite_p");
1097 _resultobj
= Py_BuildValue("s",_ptemp
);
1100 _resultobj
= Py_None
;
1105 #define wxDataObjectComposite_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1106 static PyObject
*_wrap_wxDataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1108 wxDataObjectComposite
* _arg0
;
1109 wxDataObjectSimple
* _arg1
;
1110 int _arg2
= (int ) FALSE
;
1111 PyObject
* _argo0
= 0;
1112 PyObject
* _argo1
= 0;
1113 char *_kwnames
[] = { "self","dataObject","preferred", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObjectComposite_Add",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectComposite_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectComposite_Add. Expected _wxDataObjectComposite_p.");
1126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObjectSimple_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectComposite_Add. Expected _wxDataObjectSimple_p.");
1133 wxPy_BEGIN_ALLOW_THREADS
;
1134 wxDataObjectComposite_Add(_arg0
,_arg1
,_arg2
);
1136 wxPy_END_ALLOW_THREADS
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 static void *SwigwxTextDataObjectTowxDataObjectSimple(void *ptr
) {
1143 wxTextDataObject
*src
;
1144 wxDataObjectSimple
*dest
;
1145 src
= (wxTextDataObject
*) ptr
;
1146 dest
= (wxDataObjectSimple
*) src
;
1147 return (void *) dest
;
1150 static void *SwigwxTextDataObjectTowxDataObject(void *ptr
) {
1151 wxTextDataObject
*src
;
1153 src
= (wxTextDataObject
*) ptr
;
1154 dest
= (wxDataObject
*) src
;
1155 return (void *) dest
;
1158 #define new_wxTextDataObject(_swigarg0) (new wxTextDataObject(_swigarg0))
1159 static PyObject
*_wrap_new_wxTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1161 wxTextDataObject
* _result
;
1162 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1163 PyObject
* _obj0
= 0;
1164 char *_kwnames
[] = { "text", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTextDataObject",_kwnames
,&_obj0
))
1172 if (!PyString_Check(_obj0
)) {
1173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1176 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1179 wxPy_BEGIN_ALLOW_THREADS
;
1180 _result
= (wxTextDataObject
*)new_wxTextDataObject(*_arg0
);
1182 wxPy_END_ALLOW_THREADS
;
1184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextDataObject_p");
1185 _resultobj
= Py_BuildValue("s",_ptemp
);
1188 _resultobj
= Py_None
;
1197 #define wxTextDataObject_GetTextLength(_swigobj) (_swigobj->GetTextLength())
1198 static PyObject
*_wrap_wxTextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1201 wxTextDataObject
* _arg0
;
1202 PyObject
* _argo0
= 0;
1203 char *_kwnames
[] = { "self", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetTextLength",_kwnames
,&_argo0
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetTextLength. Expected _wxTextDataObject_p.");
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= (size_t )wxTextDataObject_GetTextLength(_arg0
);
1219 wxPy_END_ALLOW_THREADS
;
1220 } _resultobj
= Py_BuildValue("i",_result
);
1224 #define wxTextDataObject_GetText(_swigobj) (_swigobj->GetText())
1225 static PyObject
*_wrap_wxTextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1228 wxTextDataObject
* _arg0
;
1229 PyObject
* _argo0
= 0;
1230 char *_kwnames
[] = { "self", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetText",_kwnames
,&_argo0
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetText. Expected _wxTextDataObject_p.");
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 _result
= new wxString (wxTextDataObject_GetText(_arg0
));
1246 wxPy_END_ALLOW_THREADS
;
1248 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1256 #define wxTextDataObject_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
1257 static PyObject
*_wrap_wxTextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1259 wxTextDataObject
* _arg0
;
1261 PyObject
* _argo0
= 0;
1262 PyObject
* _obj1
= 0;
1263 char *_kwnames
[] = { "self","text", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDataObject_SetText",_kwnames
,&_argo0
,&_obj1
))
1269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_SetText. Expected _wxTextDataObject_p.");
1276 if (!PyString_Check(_obj1
)) {
1277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1280 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 wxTextDataObject_SetText(_arg0
,*_arg1
);
1286 wxPy_END_ALLOW_THREADS
;
1287 } Py_INCREF(Py_None
);
1288 _resultobj
= Py_None
;
1296 static void *SwigwxPyTextDataObjectTowxTextDataObject(void *ptr
) {
1297 wxPyTextDataObject
*src
;
1298 wxTextDataObject
*dest
;
1299 src
= (wxPyTextDataObject
*) ptr
;
1300 dest
= (wxTextDataObject
*) src
;
1301 return (void *) dest
;
1304 static void *SwigwxPyTextDataObjectTowxDataObjectSimple(void *ptr
) {
1305 wxPyTextDataObject
*src
;
1306 wxDataObjectSimple
*dest
;
1307 src
= (wxPyTextDataObject
*) ptr
;
1308 dest
= (wxDataObjectSimple
*) src
;
1309 return (void *) dest
;
1312 static void *SwigwxPyTextDataObjectTowxDataObject(void *ptr
) {
1313 wxPyTextDataObject
*src
;
1315 src
= (wxPyTextDataObject
*) ptr
;
1316 dest
= (wxDataObject
*) src
;
1317 return (void *) dest
;
1320 #define new_wxPyTextDataObject(_swigarg0) (new wxPyTextDataObject(_swigarg0))
1321 static PyObject
*_wrap_new_wxPyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1323 wxPyTextDataObject
* _result
;
1324 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1325 PyObject
* _obj0
= 0;
1326 char *_kwnames
[] = { "text", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyTextDataObject",_kwnames
,&_obj0
))
1334 if (!PyString_Check(_obj0
)) {
1335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1338 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1341 wxPy_BEGIN_ALLOW_THREADS
;
1342 _result
= (wxPyTextDataObject
*)new_wxPyTextDataObject(*_arg0
);
1344 wxPy_END_ALLOW_THREADS
;
1346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDataObject_p");
1347 _resultobj
= Py_BuildValue("s",_ptemp
);
1350 _resultobj
= Py_None
;
1359 #define wxPyTextDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1360 static PyObject
*_wrap_wxPyTextDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1362 wxPyTextDataObject
* _arg0
;
1365 PyObject
* _argo0
= 0;
1366 PyObject
* _obj1
= 0;
1367 PyObject
* _obj2
= 0;
1368 char *_kwnames
[] = { "self","self","_class", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTextDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDataObject_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextDataObject__setSelf. Expected _wxPyTextDataObject_p.");
1387 wxPy_BEGIN_ALLOW_THREADS
;
1388 wxPyTextDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1390 wxPy_END_ALLOW_THREADS
;
1391 } Py_INCREF(Py_None
);
1392 _resultobj
= Py_None
;
1396 static void *SwigwxBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1397 wxBitmapDataObject
*src
;
1398 wxDataObjectSimple
*dest
;
1399 src
= (wxBitmapDataObject
*) ptr
;
1400 dest
= (wxDataObjectSimple
*) src
;
1401 return (void *) dest
;
1404 static void *SwigwxBitmapDataObjectTowxDataObject(void *ptr
) {
1405 wxBitmapDataObject
*src
;
1407 src
= (wxBitmapDataObject
*) ptr
;
1408 dest
= (wxDataObject
*) src
;
1409 return (void *) dest
;
1412 #define new_wxBitmapDataObject(_swigarg0) (new wxBitmapDataObject(_swigarg0))
1413 static PyObject
*_wrap_new_wxBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1415 wxBitmapDataObject
* _result
;
1416 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1417 PyObject
* _argo0
= 0;
1418 char *_kwnames
[] = { "bitmap", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBitmapDataObject",_kwnames
,&_argo0
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapDataObject. Expected _wxBitmap_p.");
1432 wxPy_BEGIN_ALLOW_THREADS
;
1433 _result
= (wxBitmapDataObject
*)new_wxBitmapDataObject(*_arg0
);
1435 wxPy_END_ALLOW_THREADS
;
1437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapDataObject_p");
1438 _resultobj
= Py_BuildValue("s",_ptemp
);
1441 _resultobj
= Py_None
;
1446 #define wxBitmapDataObject_GetBitmap(_swigobj) (_swigobj->GetBitmap())
1447 static PyObject
*_wrap_wxBitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1450 wxBitmapDataObject
* _arg0
;
1451 PyObject
* _argo0
= 0;
1452 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapDataObject_GetBitmap",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_GetBitmap. Expected _wxBitmapDataObject_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= new wxBitmap (wxBitmapDataObject_GetBitmap(_arg0
));
1469 wxPy_END_ALLOW_THREADS
;
1470 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1471 _resultobj
= Py_BuildValue("s",_ptemp
);
1475 #define wxBitmapDataObject_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
1476 static PyObject
*_wrap_wxBitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1478 wxBitmapDataObject
* _arg0
;
1480 PyObject
* _argo0
= 0;
1481 PyObject
* _argo1
= 0;
1482 char *_kwnames
[] = { "self","bitmap", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapDataObject_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
1488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_SetBitmap. Expected _wxBitmapDataObject_p.");
1495 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapDataObject_SetBitmap. Expected _wxBitmap_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 wxBitmapDataObject_SetBitmap(_arg0
,*_arg1
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } Py_INCREF(Py_None
);
1507 _resultobj
= Py_None
;
1511 static void *SwigwxPyBitmapDataObjectTowxBitmapDataObject(void *ptr
) {
1512 wxPyBitmapDataObject
*src
;
1513 wxBitmapDataObject
*dest
;
1514 src
= (wxPyBitmapDataObject
*) ptr
;
1515 dest
= (wxBitmapDataObject
*) src
;
1516 return (void *) dest
;
1519 static void *SwigwxPyBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1520 wxPyBitmapDataObject
*src
;
1521 wxDataObjectSimple
*dest
;
1522 src
= (wxPyBitmapDataObject
*) ptr
;
1523 dest
= (wxDataObjectSimple
*) src
;
1524 return (void *) dest
;
1527 static void *SwigwxPyBitmapDataObjectTowxDataObject(void *ptr
) {
1528 wxPyBitmapDataObject
*src
;
1530 src
= (wxPyBitmapDataObject
*) ptr
;
1531 dest
= (wxDataObject
*) src
;
1532 return (void *) dest
;
1535 #define new_wxPyBitmapDataObject(_swigarg0) (new wxPyBitmapDataObject(_swigarg0))
1536 static PyObject
*_wrap_new_wxPyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1538 wxPyBitmapDataObject
* _result
;
1539 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "bitmap", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyBitmapDataObject",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyBitmapDataObject. Expected _wxBitmap_p.");
1555 wxPy_BEGIN_ALLOW_THREADS
;
1556 _result
= (wxPyBitmapDataObject
*)new_wxPyBitmapDataObject(*_arg0
);
1558 wxPy_END_ALLOW_THREADS
;
1560 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyBitmapDataObject_p");
1561 _resultobj
= Py_BuildValue("s",_ptemp
);
1564 _resultobj
= Py_None
;
1569 #define wxPyBitmapDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1570 static PyObject
*_wrap_wxPyBitmapDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1572 wxPyBitmapDataObject
* _arg0
;
1575 PyObject
* _argo0
= 0;
1576 PyObject
* _obj1
= 0;
1577 PyObject
* _obj2
= 0;
1578 char *_kwnames
[] = { "self","self","_class", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyBitmapDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyBitmapDataObject_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyBitmapDataObject__setSelf. Expected _wxPyBitmapDataObject_p.");
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 wxPyBitmapDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1600 wxPy_END_ALLOW_THREADS
;
1601 } Py_INCREF(Py_None
);
1602 _resultobj
= Py_None
;
1606 static void *SwigwxFileDataObjectTowxDataObjectSimple(void *ptr
) {
1607 wxFileDataObject
*src
;
1608 wxDataObjectSimple
*dest
;
1609 src
= (wxFileDataObject
*) ptr
;
1610 dest
= (wxDataObjectSimple
*) src
;
1611 return (void *) dest
;
1614 static void *SwigwxFileDataObjectTowxDataObject(void *ptr
) {
1615 wxFileDataObject
*src
;
1617 src
= (wxFileDataObject
*) ptr
;
1618 dest
= (wxDataObject
*) src
;
1619 return (void *) dest
;
1622 #define new_wxFileDataObject() (new wxFileDataObject())
1623 static PyObject
*_wrap_new_wxFileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxFileDataObject
* _result
;
1626 char *_kwnames
[] = { NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDataObject",_kwnames
))
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (wxFileDataObject
*)new_wxFileDataObject();
1636 wxPy_END_ALLOW_THREADS
;
1638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDataObject_p");
1639 _resultobj
= Py_BuildValue("s",_ptemp
);
1642 _resultobj
= Py_None
;
1647 static PyObject
* wxFileDataObject_GetFilenames(wxFileDataObject
*self
) {
1648 const wxArrayString
& strings
= self
->GetFilenames();
1649 PyObject
* list
= PyList_New(0);
1650 for (size_t x
=0; x
<strings
.GetCount(); x
++)
1651 PyList_Append(list
, PyString_FromString(strings
[x
]));
1654 static PyObject
*_wrap_wxFileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1657 wxFileDataObject
* _arg0
;
1658 PyObject
* _argo0
= 0;
1659 char *_kwnames
[] = { "self", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDataObject_GetFilenames",_kwnames
,&_argo0
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_GetFilenames. Expected _wxFileDataObject_p.");
1672 wxPy_BEGIN_ALLOW_THREADS
;
1673 _result
= (PyObject
*)wxFileDataObject_GetFilenames(_arg0
);
1675 wxPy_END_ALLOW_THREADS
;
1677 _resultobj
= _result
;
1682 #define wxFileDataObject_AddFile(_swigobj,_swigarg0) (_swigobj->AddFile(_swigarg0))
1683 static PyObject
*_wrap_wxFileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1685 wxFileDataObject
* _arg0
;
1687 PyObject
* _argo0
= 0;
1688 PyObject
* _obj1
= 0;
1689 char *_kwnames
[] = { "self","filename", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDataObject_AddFile",_kwnames
,&_argo0
,&_obj1
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_AddFile. Expected _wxFileDataObject_p.");
1702 if (!PyString_Check(_obj1
)) {
1703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1706 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 wxFileDataObject_AddFile(_arg0
,*_arg1
);
1712 wxPy_END_ALLOW_THREADS
;
1713 } Py_INCREF(Py_None
);
1714 _resultobj
= Py_None
;
1722 static void *SwigwxCustomDataObjectTowxDataObjectSimple(void *ptr
) {
1723 wxCustomDataObject
*src
;
1724 wxDataObjectSimple
*dest
;
1725 src
= (wxCustomDataObject
*) ptr
;
1726 dest
= (wxDataObjectSimple
*) src
;
1727 return (void *) dest
;
1730 static void *SwigwxCustomDataObjectTowxDataObject(void *ptr
) {
1731 wxCustomDataObject
*src
;
1733 src
= (wxCustomDataObject
*) ptr
;
1734 dest
= (wxDataObject
*) src
;
1735 return (void *) dest
;
1738 #define new_wxCustomDataObject(_swigarg0) (new wxCustomDataObject(_swigarg0))
1739 static PyObject
*_wrap_new_wxCustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1741 wxCustomDataObject
* _result
;
1742 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "format", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxCustomDataObject",_kwnames
,&_argo0
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCustomDataObject. Expected _wxDataFormat_p.");
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 _result
= (wxCustomDataObject
*)new_wxCustomDataObject(*_arg0
);
1761 wxPy_END_ALLOW_THREADS
;
1763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCustomDataObject_p");
1764 _resultobj
= Py_BuildValue("s",_ptemp
);
1767 _resultobj
= Py_None
;
1772 static void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
* data
) {
1773 if (PyString_Check(data
)) {
1774 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1777 static PyObject
*_wrap_wxCustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1779 wxCustomDataObject
* _arg0
;
1781 PyObject
* _argo0
= 0;
1782 PyObject
* _obj1
= 0;
1783 char *_kwnames
[] = { "self","data", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_TakeData",_kwnames
,&_argo0
,&_obj1
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_TakeData. Expected _wxCustomDataObject_p.");
1799 wxPy_BEGIN_ALLOW_THREADS
;
1800 wxCustomDataObject_TakeData(_arg0
,_arg1
);
1802 wxPy_END_ALLOW_THREADS
;
1803 } Py_INCREF(Py_None
);
1804 _resultobj
= Py_None
;
1808 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
* data
) {
1809 if (PyString_Check(data
)) {
1810 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1814 static PyObject
*_wrap_wxCustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1817 wxCustomDataObject
* _arg0
;
1819 PyObject
* _argo0
= 0;
1820 PyObject
* _obj1
= 0;
1821 char *_kwnames
[] = { "self","data", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_SetData",_kwnames
,&_argo0
,&_obj1
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_SetData. Expected _wxCustomDataObject_p.");
1837 wxPy_BEGIN_ALLOW_THREADS
;
1838 _result
= (bool )wxCustomDataObject_SetData(_arg0
,_arg1
);
1840 wxPy_END_ALLOW_THREADS
;
1841 } _resultobj
= Py_BuildValue("i",_result
);
1845 #define wxCustomDataObject_GetSize(_swigobj) (_swigobj->GetSize())
1846 static PyObject
*_wrap_wxCustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
* _resultobj
;
1849 wxCustomDataObject
* _arg0
;
1850 PyObject
* _argo0
= 0;
1851 char *_kwnames
[] = { "self", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetSize",_kwnames
,&_argo0
))
1857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetSize. Expected _wxCustomDataObject_p.");
1864 wxPy_BEGIN_ALLOW_THREADS
;
1865 _result
= (size_t )wxCustomDataObject_GetSize(_arg0
);
1867 wxPy_END_ALLOW_THREADS
;
1868 } _resultobj
= Py_BuildValue("i",_result
);
1872 static PyObject
* wxCustomDataObject_GetData(wxCustomDataObject
*self
) {
1873 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1875 static PyObject
*_wrap_wxCustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1878 wxCustomDataObject
* _arg0
;
1879 PyObject
* _argo0
= 0;
1880 char *_kwnames
[] = { "self", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetData",_kwnames
,&_argo0
))
1886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetData. Expected _wxCustomDataObject_p.");
1893 wxPy_BEGIN_ALLOW_THREADS
;
1894 _result
= (PyObject
*)wxCustomDataObject_GetData(_arg0
);
1896 wxPy_END_ALLOW_THREADS
;
1898 _resultobj
= _result
;
1903 #define new_wxClipboard() (new wxClipboard())
1904 static PyObject
*_wrap_new_wxClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1906 wxClipboard
* _result
;
1907 char *_kwnames
[] = { NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxClipboard",_kwnames
))
1914 wxPy_BEGIN_ALLOW_THREADS
;
1915 _result
= (wxClipboard
*)new_wxClipboard();
1917 wxPy_END_ALLOW_THREADS
;
1919 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClipboard_p");
1920 _resultobj
= Py_BuildValue("s",_ptemp
);
1923 _resultobj
= Py_None
;
1928 #define wxClipboard_Open(_swigobj) (_swigobj->Open())
1929 static PyObject
*_wrap_wxClipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1932 wxClipboard
* _arg0
;
1933 PyObject
* _argo0
= 0;
1934 char *_kwnames
[] = { "self", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Open",_kwnames
,&_argo0
))
1940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Open. Expected _wxClipboard_p.");
1947 wxPy_BEGIN_ALLOW_THREADS
;
1948 _result
= (bool )wxClipboard_Open(_arg0
);
1950 wxPy_END_ALLOW_THREADS
;
1951 } _resultobj
= Py_BuildValue("i",_result
);
1955 #define wxClipboard_Close(_swigobj) (_swigobj->Close())
1956 static PyObject
*_wrap_wxClipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1958 wxClipboard
* _arg0
;
1959 PyObject
* _argo0
= 0;
1960 char *_kwnames
[] = { "self", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Close",_kwnames
,&_argo0
))
1966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Close. Expected _wxClipboard_p.");
1973 wxPy_BEGIN_ALLOW_THREADS
;
1974 wxClipboard_Close(_arg0
);
1976 wxPy_END_ALLOW_THREADS
;
1977 } Py_INCREF(Py_None
);
1978 _resultobj
= Py_None
;
1982 #define wxClipboard_IsOpened(_swigobj) (_swigobj->IsOpened())
1983 static PyObject
*_wrap_wxClipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
* _resultobj
;
1986 wxClipboard
* _arg0
;
1987 PyObject
* _argo0
= 0;
1988 char *_kwnames
[] = { "self", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_IsOpened",_kwnames
,&_argo0
))
1994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsOpened. Expected _wxClipboard_p.");
2001 wxPy_BEGIN_ALLOW_THREADS
;
2002 _result
= (bool )wxClipboard_IsOpened(_arg0
);
2004 wxPy_END_ALLOW_THREADS
;
2005 } _resultobj
= Py_BuildValue("i",_result
);
2009 #define wxClipboard_AddData(_swigobj,_swigarg0) (_swigobj->AddData(_swigarg0))
2010 static PyObject
*_wrap_wxClipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2013 wxClipboard
* _arg0
;
2014 wxDataObject
* _arg1
;
2015 PyObject
* _argo0
= 0;
2016 PyObject
* _argo1
= 0;
2017 char *_kwnames
[] = { "self","data", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_AddData",_kwnames
,&_argo0
,&_argo1
))
2023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_AddData. Expected _wxClipboard_p.");
2030 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2031 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_AddData. Expected _wxDataObject_p.");
2037 wxPy_BEGIN_ALLOW_THREADS
;
2038 _result
= (bool )wxClipboard_AddData(_arg0
,_arg1
);
2040 wxPy_END_ALLOW_THREADS
;
2041 } _resultobj
= Py_BuildValue("i",_result
);
2045 #define wxClipboard_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2046 static PyObject
*_wrap_wxClipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
* _resultobj
;
2049 wxClipboard
* _arg0
;
2050 wxDataObject
* _arg1
;
2051 PyObject
* _argo0
= 0;
2052 PyObject
* _argo1
= 0;
2053 char *_kwnames
[] = { "self","data", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_SetData",_kwnames
,&_argo0
,&_argo1
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_SetData. Expected _wxClipboard_p.");
2066 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_SetData. Expected _wxDataObject_p.");
2073 wxPy_BEGIN_ALLOW_THREADS
;
2074 _result
= (bool )wxClipboard_SetData(_arg0
,_arg1
);
2076 wxPy_END_ALLOW_THREADS
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxClipboard_IsSupported(_swigobj,_swigarg0) (_swigobj->IsSupported(_swigarg0))
2082 static PyObject
*_wrap_wxClipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2085 wxClipboard
* _arg0
;
2086 wxDataFormat
* _arg1
;
2087 PyObject
* _argo0
= 0;
2088 PyObject
* _argo1
= 0;
2089 char *_kwnames
[] = { "self","format", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_IsSupported",_kwnames
,&_argo0
,&_argo1
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsSupported. Expected _wxClipboard_p.");
2102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_IsSupported. Expected _wxDataFormat_p.");
2109 wxPy_BEGIN_ALLOW_THREADS
;
2110 _result
= (bool )wxClipboard_IsSupported(_arg0
,*_arg1
);
2112 wxPy_END_ALLOW_THREADS
;
2113 } _resultobj
= Py_BuildValue("i",_result
);
2117 #define wxClipboard_GetData(_swigobj,_swigarg0) (_swigobj->GetData(_swigarg0))
2118 static PyObject
*_wrap_wxClipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2121 wxClipboard
* _arg0
;
2122 wxDataObject
* _arg1
;
2123 PyObject
* _argo0
= 0;
2124 PyObject
* _argo1
= 0;
2125 char *_kwnames
[] = { "self","data", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_GetData",_kwnames
,&_argo0
,&_argo1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_GetData. Expected _wxClipboard_p.");
2138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_GetData. Expected _wxDataObject_p.");
2145 wxPy_BEGIN_ALLOW_THREADS
;
2146 _result
= (bool )wxClipboard_GetData(_arg0
,*_arg1
);
2148 wxPy_END_ALLOW_THREADS
;
2149 } _resultobj
= Py_BuildValue("i",_result
);
2153 #define wxClipboard_Clear(_swigobj) (_swigobj->Clear())
2154 static PyObject
*_wrap_wxClipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2156 wxClipboard
* _arg0
;
2157 PyObject
* _argo0
= 0;
2158 char *_kwnames
[] = { "self", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Clear",_kwnames
,&_argo0
))
2164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Clear. Expected _wxClipboard_p.");
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 wxClipboard_Clear(_arg0
);
2174 wxPy_END_ALLOW_THREADS
;
2175 } Py_INCREF(Py_None
);
2176 _resultobj
= Py_None
;
2180 #define wxClipboard_Flush(_swigobj) (_swigobj->Flush())
2181 static PyObject
*_wrap_wxClipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2184 wxClipboard
* _arg0
;
2185 PyObject
* _argo0
= 0;
2186 char *_kwnames
[] = { "self", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Flush",_kwnames
,&_argo0
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Flush. Expected _wxClipboard_p.");
2199 wxPy_BEGIN_ALLOW_THREADS
;
2200 _result
= (bool )wxClipboard_Flush(_arg0
);
2202 wxPy_END_ALLOW_THREADS
;
2203 } _resultobj
= Py_BuildValue("i",_result
);
2207 #define wxClipboard_UsePrimarySelection(_swigobj,_swigarg0) (_swigobj->UsePrimarySelection(_swigarg0))
2208 static PyObject
*_wrap_wxClipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2210 wxClipboard
* _arg0
;
2211 int _arg1
= (int ) FALSE
;
2212 PyObject
* _argo0
= 0;
2213 char *_kwnames
[] = { "self","primary", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxClipboard_UsePrimarySelection",_kwnames
,&_argo0
,&_arg1
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_UsePrimarySelection. Expected _wxClipboard_p.");
2226 wxPy_BEGIN_ALLOW_THREADS
;
2227 wxClipboard_UsePrimarySelection(_arg0
,_arg1
);
2229 wxPy_END_ALLOW_THREADS
;
2230 } Py_INCREF(Py_None
);
2231 _resultobj
= Py_None
;
2235 #define new_wxDropSource(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPyDropSource(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2236 static PyObject
*_wrap_new_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2238 wxPyDropSource
* _result
;
2239 wxWindow
* _arg0
= (wxWindow
*) NULL
;
2240 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
2241 wxCursor
* _arg2
= (wxCursor
*) &wxNullCursor
;
2242 wxCursor
* _arg3
= (wxCursor
*) &wxNullCursor
;
2243 PyObject
* _argo0
= 0;
2244 PyObject
* _argo1
= 0;
2245 PyObject
* _argo2
= 0;
2246 PyObject
* _argo3
= 0;
2247 char *_kwnames
[] = { "win","cursorCopy","cursorMove","cursorStop", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOO:new_wxDropSource",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDropSource. Expected _wxWindow_p.");
2261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDropSource. Expected _wxCursor_p.");
2268 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2269 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxDropSource. Expected _wxCursor_p.");
2275 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxCursor_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDropSource. Expected _wxCursor_p.");
2282 wxPy_BEGIN_ALLOW_THREADS
;
2283 _result
= (wxPyDropSource
*)new_wxDropSource(_arg0
,*_arg1
,*_arg2
,*_arg3
);
2285 wxPy_END_ALLOW_THREADS
;
2287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropSource_p");
2288 _resultobj
= Py_BuildValue("s",_ptemp
);
2291 _resultobj
= Py_None
;
2296 #define wxDropSource__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
2297 static PyObject
*_wrap_wxDropSource__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
* _resultobj
;
2299 wxPyDropSource
* _arg0
;
2303 PyObject
* _argo0
= 0;
2304 PyObject
* _obj1
= 0;
2305 PyObject
* _obj2
= 0;
2306 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxDropSource__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource__setSelf. Expected _wxPyDropSource_p.");
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 wxDropSource__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
2328 wxPy_END_ALLOW_THREADS
;
2329 } Py_INCREF(Py_None
);
2330 _resultobj
= Py_None
;
2334 #define delete_wxPyDropSource(_swigobj) (delete _swigobj)
2335 static PyObject
*_wrap_delete_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2337 wxPyDropSource
* _arg0
;
2338 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDropSource",_kwnames
,&_argo0
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDropSource. Expected _wxPyDropSource_p.");
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 delete_wxPyDropSource(_arg0
);
2355 wxPy_END_ALLOW_THREADS
;
2356 } Py_INCREF(Py_None
);
2357 _resultobj
= Py_None
;
2361 #define wxDropSource_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2362 static PyObject
*_wrap_wxDropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2364 wxPyDropSource
* _arg0
;
2365 wxDataObject
* _arg1
;
2366 PyObject
* _argo0
= 0;
2367 PyObject
* _argo1
= 0;
2368 char *_kwnames
[] = { "self","data", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource_SetData",_kwnames
,&_argo0
,&_argo1
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetData. Expected _wxPyDropSource_p.");
2381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDropSource_SetData. Expected _wxDataObject_p.");
2388 wxPy_BEGIN_ALLOW_THREADS
;
2389 wxDropSource_SetData(_arg0
,*_arg1
);
2391 wxPy_END_ALLOW_THREADS
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2397 #define wxDropSource_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2398 static PyObject
*_wrap_wxDropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2400 wxDataObject
* _result
;
2401 wxPyDropSource
* _arg0
;
2402 PyObject
* _argo0
= 0;
2403 char *_kwnames
[] = { "self", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropSource_GetDataObject",_kwnames
,&_argo0
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_GetDataObject. Expected _wxPyDropSource_p.");
2417 wxPy_BEGIN_ALLOW_THREADS
;
2418 _result
= (wxDataObject
*)wxDropSource_GetDataObject(_arg0
);
2420 wxPy_END_ALLOW_THREADS
;
2422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2423 _resultobj
= Py_BuildValue("s",_ptemp
);
2426 _resultobj
= Py_None
;
2431 #define wxDropSource_SetCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursor(_swigarg0,_swigarg1))
2432 static PyObject
*_wrap_wxDropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2434 wxPyDropSource
* _arg0
;
2437 PyObject
* _argo0
= 0;
2438 PyObject
* _argo2
= 0;
2439 char *_kwnames
[] = { "self","res","cursor", NULL
};
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxDropSource_SetCursor",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetCursor. Expected _wxPyDropSource_p.");
2452 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDropSource_SetCursor. Expected _wxCursor_p.");
2459 wxPy_BEGIN_ALLOW_THREADS
;
2460 wxDropSource_SetCursor(_arg0
,_arg1
,*_arg2
);
2462 wxPy_END_ALLOW_THREADS
;
2463 } Py_INCREF(Py_None
);
2464 _resultobj
= Py_None
;
2468 #define wxDropSource_DoDragDrop(_swigobj,_swigarg0) (_swigobj->DoDragDrop(_swigarg0))
2469 static PyObject
*_wrap_wxDropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2471 wxDragResult _result
;
2472 wxPyDropSource
* _arg0
;
2473 int _arg1
= (int ) FALSE
;
2474 PyObject
* _argo0
= 0;
2475 char *_kwnames
[] = { "self","bAllowMove", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDropSource_DoDragDrop",_kwnames
,&_argo0
,&_arg1
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_DoDragDrop. Expected _wxPyDropSource_p.");
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 _result
= (wxDragResult
)wxDropSource_DoDragDrop(_arg0
,_arg1
);
2491 wxPy_END_ALLOW_THREADS
;
2492 } _resultobj
= Py_BuildValue("i",_result
);
2496 #define wxDropSource_base_GiveFeedback(_swigobj,_swigarg0) (_swigobj->base_GiveFeedback(_swigarg0))
2497 static PyObject
*_wrap_wxDropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
* _resultobj
;
2500 wxPyDropSource
* _arg0
;
2502 PyObject
* _argo0
= 0;
2503 char *_kwnames
[] = { "self","effect", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDropSource_base_GiveFeedback",_kwnames
,&_argo0
,&_arg1
))
2509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_base_GiveFeedback. Expected _wxPyDropSource_p.");
2516 wxPy_BEGIN_ALLOW_THREADS
;
2517 _result
= (bool )wxDropSource_base_GiveFeedback(_arg0
,_arg1
);
2519 wxPy_END_ALLOW_THREADS
;
2520 } _resultobj
= Py_BuildValue("i",_result
);
2524 static void *SwigwxPyDropTargetTowxDropTarget(void *ptr
) {
2525 wxPyDropTarget
*src
;
2527 src
= (wxPyDropTarget
*) ptr
;
2528 dest
= (wxDropTarget
*) src
;
2529 return (void *) dest
;
2532 #define new_wxPyDropTarget(_swigarg0) (new wxPyDropTarget(_swigarg0))
2533 static PyObject
*_wrap_new_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2535 wxPyDropTarget
* _result
;
2536 wxDataObject
* _arg0
= (wxDataObject
*) NULL
;
2537 PyObject
* _argo0
= 0;
2538 char *_kwnames
[] = { "dataObject", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDropTarget",_kwnames
,&_argo0
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDropTarget. Expected _wxDataObject_p.");
2552 wxPy_BEGIN_ALLOW_THREADS
;
2553 _result
= (wxPyDropTarget
*)new_wxPyDropTarget(_arg0
);
2555 wxPy_END_ALLOW_THREADS
;
2557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropTarget_p");
2558 _resultobj
= Py_BuildValue("s",_ptemp
);
2561 _resultobj
= Py_None
;
2566 #define wxPyDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2567 static PyObject
*_wrap_wxPyDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2569 wxPyDropTarget
* _arg0
;
2572 PyObject
* _argo0
= 0;
2573 PyObject
* _obj1
= 0;
2574 PyObject
* _obj2
= 0;
2575 char *_kwnames
[] = { "self","self","_class", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget__setSelf. Expected _wxPyDropTarget_p.");
2594 wxPy_BEGIN_ALLOW_THREADS
;
2595 wxPyDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2597 wxPy_END_ALLOW_THREADS
;
2598 } Py_INCREF(Py_None
);
2599 _resultobj
= Py_None
;
2603 #define delete_wxPyDropTarget(_swigobj) (delete _swigobj)
2604 static PyObject
*_wrap_delete_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
* _resultobj
;
2606 wxPyDropTarget
* _arg0
;
2607 PyObject
* _argo0
= 0;
2608 char *_kwnames
[] = { "self", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyDropTarget",_kwnames
,&_argo0
))
2614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyDropTarget. Expected _wxPyDropTarget_p.");
2621 wxPy_BEGIN_ALLOW_THREADS
;
2622 delete_wxPyDropTarget(_arg0
);
2624 wxPy_END_ALLOW_THREADS
;
2625 } Py_INCREF(Py_None
);
2626 _resultobj
= Py_None
;
2630 #define wxPyDropTarget_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2631 static PyObject
*_wrap_wxPyDropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
* _resultobj
;
2633 wxDataObject
* _result
;
2634 wxPyDropTarget
* _arg0
;
2635 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetDataObject",_kwnames
,&_argo0
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetDataObject. Expected _wxPyDropTarget_p.");
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 _result
= (wxDataObject
*)wxPyDropTarget_GetDataObject(_arg0
);
2653 wxPy_END_ALLOW_THREADS
;
2655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2656 _resultobj
= Py_BuildValue("s",_ptemp
);
2659 _resultobj
= Py_None
;
2664 #define wxPyDropTarget_SetDataObject(_swigobj,_swigarg0) (_swigobj->SetDataObject(_swigarg0))
2665 static PyObject
*_wrap_wxPyDropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2667 wxPyDropTarget
* _arg0
;
2668 wxDataObject
* _arg1
;
2669 PyObject
* _argo0
= 0;
2670 PyObject
* _argo1
= 0;
2671 char *_kwnames
[] = { "self","dataObject", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget_SetDataObject",_kwnames
,&_argo0
,&_argo1
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_SetDataObject. Expected _wxPyDropTarget_p.");
2684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyDropTarget_SetDataObject. Expected _wxDataObject_p.");
2691 wxPy_BEGIN_ALLOW_THREADS
;
2692 wxPyDropTarget_SetDataObject(_arg0
,_arg1
);
2694 wxPy_END_ALLOW_THREADS
;
2695 } Py_INCREF(Py_None
);
2696 _resultobj
= Py_None
;
2700 #define wxPyDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2701 static PyObject
*_wrap_wxPyDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2703 wxDragResult _result
;
2704 wxPyDropTarget
* _arg0
;
2708 PyObject
* _argo0
= 0;
2709 char *_kwnames
[] = { "self","x","y","def", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnEnter. Expected _wxPyDropTarget_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 _result
= (wxDragResult
)wxPyDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } _resultobj
= Py_BuildValue("i",_result
);
2730 #define wxPyDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2731 static PyObject
*_wrap_wxPyDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2733 wxDragResult _result
;
2734 wxPyDropTarget
* _arg0
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self","x","y","def", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDragOver. Expected _wxPyDropTarget_p.");
2752 wxPy_BEGIN_ALLOW_THREADS
;
2753 _result
= (wxDragResult
)wxPyDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2755 wxPy_END_ALLOW_THREADS
;
2756 } _resultobj
= Py_BuildValue("i",_result
);
2760 #define wxPyDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2761 static PyObject
*_wrap_wxPyDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2763 wxPyDropTarget
* _arg0
;
2764 PyObject
* _argo0
= 0;
2765 char *_kwnames
[] = { "self", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnLeave. Expected _wxPyDropTarget_p.");
2778 wxPy_BEGIN_ALLOW_THREADS
;
2779 wxPyDropTarget_base_OnLeave(_arg0
);
2781 wxPy_END_ALLOW_THREADS
;
2782 } Py_INCREF(Py_None
);
2783 _resultobj
= Py_None
;
2787 #define wxPyDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2788 static PyObject
*_wrap_wxPyDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2791 wxPyDropTarget
* _arg0
;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self","x","y", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDrop. Expected _wxPyDropTarget_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 _result
= (bool )wxPyDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } _resultobj
= Py_BuildValue("i",_result
);
2816 #define wxPyDropTarget_GetData(_swigobj) (_swigobj->GetData())
2817 static PyObject
*_wrap_wxPyDropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2820 wxPyDropTarget
* _arg0
;
2821 PyObject
* _argo0
= 0;
2822 char *_kwnames
[] = { "self", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetData",_kwnames
,&_argo0
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetData. Expected _wxPyDropTarget_p.");
2835 wxPy_BEGIN_ALLOW_THREADS
;
2836 _result
= (bool )wxPyDropTarget_GetData(_arg0
);
2838 wxPy_END_ALLOW_THREADS
;
2839 } _resultobj
= Py_BuildValue("i",_result
);
2843 static void *SwigwxPyTextDropTargetTowxPyDropTarget(void *ptr
) {
2844 wxPyTextDropTarget
*src
;
2845 wxPyDropTarget
*dest
;
2846 src
= (wxPyTextDropTarget
*) ptr
;
2847 dest
= (wxPyDropTarget
*) src
;
2848 return (void *) dest
;
2851 static void *SwigwxPyTextDropTargetTowxDropTarget(void *ptr
) {
2852 wxPyTextDropTarget
*src
;
2854 src
= (wxPyTextDropTarget
*) ptr
;
2855 dest
= (wxDropTarget
*) src
;
2856 return (void *) dest
;
2859 #define new_wxTextDropTarget() (new wxPyTextDropTarget())
2860 static PyObject
*_wrap_new_wxTextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2862 wxPyTextDropTarget
* _result
;
2863 char *_kwnames
[] = { NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTextDropTarget",_kwnames
))
2870 wxPy_BEGIN_ALLOW_THREADS
;
2871 _result
= (wxPyTextDropTarget
*)new_wxTextDropTarget();
2873 wxPy_END_ALLOW_THREADS
;
2875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDropTarget_p");
2876 _resultobj
= Py_BuildValue("s",_ptemp
);
2879 _resultobj
= Py_None
;
2884 #define wxTextDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2885 static PyObject
*_wrap_wxTextDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2887 wxPyTextDropTarget
* _arg0
;
2890 PyObject
* _argo0
= 0;
2891 PyObject
* _obj1
= 0;
2892 PyObject
* _obj2
= 0;
2893 char *_kwnames
[] = { "self","self","_class", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget__setSelf. Expected _wxPyTextDropTarget_p.");
2912 wxPy_BEGIN_ALLOW_THREADS
;
2913 wxTextDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2915 wxPy_END_ALLOW_THREADS
;
2916 } Py_INCREF(Py_None
);
2917 _resultobj
= Py_None
;
2921 #define wxTextDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2922 static PyObject
*_wrap_wxTextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2924 wxDragResult _result
;
2925 wxPyTextDropTarget
* _arg0
;
2929 PyObject
* _argo0
= 0;
2930 char *_kwnames
[] = { "self","x","y","def", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnEnter. Expected _wxPyTextDropTarget_p.");
2943 wxPy_BEGIN_ALLOW_THREADS
;
2944 _result
= (wxDragResult
)wxTextDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2946 wxPy_END_ALLOW_THREADS
;
2947 } _resultobj
= Py_BuildValue("i",_result
);
2951 #define wxTextDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2952 static PyObject
*_wrap_wxTextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2954 wxDragResult _result
;
2955 wxPyTextDropTarget
* _arg0
;
2959 PyObject
* _argo0
= 0;
2960 char *_kwnames
[] = { "self","x","y","def", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDragOver. Expected _wxPyTextDropTarget_p.");
2973 wxPy_BEGIN_ALLOW_THREADS
;
2974 _result
= (wxDragResult
)wxTextDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2976 wxPy_END_ALLOW_THREADS
;
2977 } _resultobj
= Py_BuildValue("i",_result
);
2981 #define wxTextDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2982 static PyObject
*_wrap_wxTextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2984 wxPyTextDropTarget
* _arg0
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnLeave. Expected _wxPyTextDropTarget_p.");
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 wxTextDropTarget_base_OnLeave(_arg0
);
3002 wxPy_END_ALLOW_THREADS
;
3003 } Py_INCREF(Py_None
);
3004 _resultobj
= Py_None
;
3008 #define wxTextDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3009 static PyObject
*_wrap_wxTextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3012 wxPyTextDropTarget
* _arg0
;
3015 PyObject
* _argo0
= 0;
3016 char *_kwnames
[] = { "self","x","y", NULL
};
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTextDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDrop. Expected _wxPyTextDropTarget_p.");
3029 wxPy_BEGIN_ALLOW_THREADS
;
3030 _result
= (bool )wxTextDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3032 wxPy_END_ALLOW_THREADS
;
3033 } _resultobj
= Py_BuildValue("i",_result
);
3037 #define wxTextDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3038 static PyObject
*_wrap_wxTextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3040 wxDragResult _result
;
3041 wxPyTextDropTarget
* _arg0
;
3045 PyObject
* _argo0
= 0;
3046 char *_kwnames
[] = { "self","x","y","def", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnData. Expected _wxPyTextDropTarget_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 _result
= (wxDragResult
)wxTextDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3062 wxPy_END_ALLOW_THREADS
;
3063 } _resultobj
= Py_BuildValue("i",_result
);
3067 static void *SwigwxPyFileDropTargetTowxPyDropTarget(void *ptr
) {
3068 wxPyFileDropTarget
*src
;
3069 wxPyDropTarget
*dest
;
3070 src
= (wxPyFileDropTarget
*) ptr
;
3071 dest
= (wxPyDropTarget
*) src
;
3072 return (void *) dest
;
3075 static void *SwigwxPyFileDropTargetTowxDropTarget(void *ptr
) {
3076 wxPyFileDropTarget
*src
;
3078 src
= (wxPyFileDropTarget
*) ptr
;
3079 dest
= (wxDropTarget
*) src
;
3080 return (void *) dest
;
3083 #define new_wxFileDropTarget() (new wxPyFileDropTarget())
3084 static PyObject
*_wrap_new_wxFileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3086 wxPyFileDropTarget
* _result
;
3087 char *_kwnames
[] = { NULL
};
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDropTarget",_kwnames
))
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 _result
= (wxPyFileDropTarget
*)new_wxFileDropTarget();
3097 wxPy_END_ALLOW_THREADS
;
3099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileDropTarget_p");
3100 _resultobj
= Py_BuildValue("s",_ptemp
);
3103 _resultobj
= Py_None
;
3108 #define wxFileDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3109 static PyObject
*_wrap_wxFileDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3111 wxPyFileDropTarget
* _arg0
;
3114 PyObject
* _argo0
= 0;
3115 PyObject
* _obj1
= 0;
3116 PyObject
* _obj2
= 0;
3117 char *_kwnames
[] = { "self","self","_class", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget__setSelf. Expected _wxPyFileDropTarget_p.");
3136 wxPy_BEGIN_ALLOW_THREADS
;
3137 wxFileDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
3139 wxPy_END_ALLOW_THREADS
;
3140 } Py_INCREF(Py_None
);
3141 _resultobj
= Py_None
;
3145 #define wxFileDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
3146 static PyObject
*_wrap_wxFileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3148 wxDragResult _result
;
3149 wxPyFileDropTarget
* _arg0
;
3153 PyObject
* _argo0
= 0;
3154 char *_kwnames
[] = { "self","x","y","def", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnEnter. Expected _wxPyFileDropTarget_p.");
3167 wxPy_BEGIN_ALLOW_THREADS
;
3168 _result
= (wxDragResult
)wxFileDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
3170 wxPy_END_ALLOW_THREADS
;
3171 } _resultobj
= Py_BuildValue("i",_result
);
3175 #define wxFileDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
3176 static PyObject
*_wrap_wxFileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
* _resultobj
;
3178 wxDragResult _result
;
3179 wxPyFileDropTarget
* _arg0
;
3183 PyObject
* _argo0
= 0;
3184 char *_kwnames
[] = { "self","x","y","def", NULL
};
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDragOver. Expected _wxPyFileDropTarget_p.");
3197 wxPy_BEGIN_ALLOW_THREADS
;
3198 _result
= (wxDragResult
)wxFileDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
3200 wxPy_END_ALLOW_THREADS
;
3201 } _resultobj
= Py_BuildValue("i",_result
);
3205 #define wxFileDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
3206 static PyObject
*_wrap_wxFileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3208 wxPyFileDropTarget
* _arg0
;
3209 PyObject
* _argo0
= 0;
3210 char *_kwnames
[] = { "self", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDropTarget_base_OnLeave",_kwnames
,&_argo0
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnLeave. Expected _wxPyFileDropTarget_p.");
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 wxFileDropTarget_base_OnLeave(_arg0
);
3226 wxPy_END_ALLOW_THREADS
;
3227 } Py_INCREF(Py_None
);
3228 _resultobj
= Py_None
;
3232 #define wxFileDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3233 static PyObject
*_wrap_wxFileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3236 wxPyFileDropTarget
* _arg0
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self","x","y", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFileDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDrop. Expected _wxPyFileDropTarget_p.");
3253 wxPy_BEGIN_ALLOW_THREADS
;
3254 _result
= (bool )wxFileDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3256 wxPy_END_ALLOW_THREADS
;
3257 } _resultobj
= Py_BuildValue("i",_result
);
3261 #define wxFileDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3262 static PyObject
*_wrap_wxFileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3264 wxDragResult _result
;
3265 wxPyFileDropTarget
* _arg0
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self","x","y","def", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnData. Expected _wxPyFileDropTarget_p.");
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 _result
= (wxDragResult
)wxFileDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3286 wxPy_END_ALLOW_THREADS
;
3287 } _resultobj
= Py_BuildValue("i",_result
);
3291 static PyMethodDef clip_dndcMethods
[] = {
3292 { "wxFileDropTarget_base_OnData", (PyCFunction
) _wrap_wxFileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3293 { "wxFileDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3294 { "wxFileDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxFileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3295 { "wxFileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3296 { "wxFileDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxFileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3297 { "wxFileDropTarget__setSelf", (PyCFunction
) _wrap_wxFileDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3298 { "new_wxFileDropTarget", (PyCFunction
) _wrap_new_wxFileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3299 { "wxTextDropTarget_base_OnData", (PyCFunction
) _wrap_wxTextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3300 { "wxTextDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3301 { "wxTextDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxTextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3302 { "wxTextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3303 { "wxTextDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxTextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3304 { "wxTextDropTarget__setSelf", (PyCFunction
) _wrap_wxTextDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3305 { "new_wxTextDropTarget", (PyCFunction
) _wrap_new_wxTextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3306 { "wxPyDropTarget_GetData", (PyCFunction
) _wrap_wxPyDropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3307 { "wxPyDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3308 { "wxPyDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxPyDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3309 { "wxPyDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3310 { "wxPyDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxPyDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3311 { "wxPyDropTarget_SetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3312 { "wxPyDropTarget_GetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3313 { "delete_wxPyDropTarget", (PyCFunction
) _wrap_delete_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3314 { "wxPyDropTarget__setSelf", (PyCFunction
) _wrap_wxPyDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3315 { "new_wxPyDropTarget", (PyCFunction
) _wrap_new_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3316 { "wxDropSource_base_GiveFeedback", (PyCFunction
) _wrap_wxDropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
3317 { "wxDropSource_DoDragDrop", (PyCFunction
) _wrap_wxDropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
3318 { "wxDropSource_SetCursor", (PyCFunction
) _wrap_wxDropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
3319 { "wxDropSource_GetDataObject", (PyCFunction
) _wrap_wxDropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3320 { "wxDropSource_SetData", (PyCFunction
) _wrap_wxDropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3321 { "delete_wxDropSource", (PyCFunction
) _wrap_delete_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3322 { "wxDropSource__setSelf", (PyCFunction
) _wrap_wxDropSource__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3323 { "new_wxDropSource", (PyCFunction
) _wrap_new_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3324 { "wxClipboard_UsePrimarySelection", (PyCFunction
) _wrap_wxClipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
3325 { "wxClipboard_Flush", (PyCFunction
) _wrap_wxClipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
3326 { "wxClipboard_Clear", (PyCFunction
) _wrap_wxClipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3327 { "wxClipboard_GetData", (PyCFunction
) _wrap_wxClipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3328 { "wxClipboard_IsSupported", (PyCFunction
) _wrap_wxClipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
3329 { "wxClipboard_SetData", (PyCFunction
) _wrap_wxClipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3330 { "wxClipboard_AddData", (PyCFunction
) _wrap_wxClipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
3331 { "wxClipboard_IsOpened", (PyCFunction
) _wrap_wxClipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
3332 { "wxClipboard_Close", (PyCFunction
) _wrap_wxClipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
3333 { "wxClipboard_Open", (PyCFunction
) _wrap_wxClipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
3334 { "new_wxClipboard", (PyCFunction
) _wrap_new_wxClipboard
, METH_VARARGS
| METH_KEYWORDS
},
3335 { "wxCustomDataObject_GetData", (PyCFunction
) _wrap_wxCustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3336 { "wxCustomDataObject_GetSize", (PyCFunction
) _wrap_wxCustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3337 { "wxCustomDataObject_SetData", (PyCFunction
) _wrap_wxCustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3338 { "wxCustomDataObject_TakeData", (PyCFunction
) _wrap_wxCustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
3339 { "new_wxCustomDataObject", (PyCFunction
) _wrap_new_wxCustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3340 { "wxFileDataObject_AddFile", (PyCFunction
) _wrap_wxFileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
3341 { "wxFileDataObject_GetFilenames", (PyCFunction
) _wrap_wxFileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3342 { "new_wxFileDataObject", (PyCFunction
) _wrap_new_wxFileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3343 { "wxPyBitmapDataObject__setSelf", (PyCFunction
) _wrap_wxPyBitmapDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3344 { "new_wxPyBitmapDataObject", (PyCFunction
) _wrap_new_wxPyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3345 { "wxBitmapDataObject_SetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3346 { "wxBitmapDataObject_GetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3347 { "new_wxBitmapDataObject", (PyCFunction
) _wrap_new_wxBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3348 { "wxPyTextDataObject__setSelf", (PyCFunction
) _wrap_wxPyTextDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3349 { "new_wxPyTextDataObject", (PyCFunction
) _wrap_new_wxPyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3350 { "wxTextDataObject_SetText", (PyCFunction
) _wrap_wxTextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3351 { "wxTextDataObject_GetText", (PyCFunction
) _wrap_wxTextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3352 { "wxTextDataObject_GetTextLength", (PyCFunction
) _wrap_wxTextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
3353 { "new_wxTextDataObject", (PyCFunction
) _wrap_new_wxTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3354 { "wxDataObjectComposite_Add", (PyCFunction
) _wrap_wxDataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
3355 { "new_wxDataObjectComposite", (PyCFunction
) _wrap_new_wxDataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
3356 { "wxPyDataObjectSimple__setSelf", (PyCFunction
) _wrap_wxPyDataObjectSimple__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3357 { "new_wxPyDataObjectSimple", (PyCFunction
) _wrap_new_wxPyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3358 { "wxDataObjectSimple_SetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3359 { "wxDataObjectSimple_GetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3360 { "new_wxDataObjectSimple", (PyCFunction
) _wrap_new_wxDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3361 { "wxDataObject_IsSupportedFormat", (PyCFunction
) _wrap_wxDataObject_IsSupportedFormat
, METH_VARARGS
| METH_KEYWORDS
},
3362 { "wxDataObject_SetData", (PyCFunction
) _wrap_wxDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3363 { "wxDataObject_GetDataHere", (PyCFunction
) _wrap_wxDataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
3364 { "wxDataObject_GetDataSize", (PyCFunction
) _wrap_wxDataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
3365 { "wxDataObject_GetAllFormats", (PyCFunction
) _wrap_wxDataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
3366 { "wxDataObject_GetFormatCount", (PyCFunction
) _wrap_wxDataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
3367 { "wxDataObject_GetPreferredFormat", (PyCFunction
) _wrap_wxDataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
3368 { "delete_wxDataObject", (PyCFunction
) _wrap_delete_wxDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3369 { "wxDataFormat_SetId", (PyCFunction
) _wrap_wxDataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3370 { "wxDataFormat_GetId", (PyCFunction
) _wrap_wxDataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3371 { "wxDataFormat_GetType", (PyCFunction
) _wrap_wxDataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
3372 { "wxDataFormat_SetType", (PyCFunction
) _wrap_wxDataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
3373 { "delete_wxDataFormat", (PyCFunction
) _wrap_delete_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3374 { "new_wxDataFormat", (PyCFunction
) _wrap_new_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3375 { "wxIsDragResultOk", (PyCFunction
) _wrap_wxIsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
3376 { "wxCustomDataFormat", (PyCFunction
) _wrap_wxCustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3383 * This table is used by the pointer type-checker
3385 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3386 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3387 { "_signed_long","_long",0},
3388 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3389 { "_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3390 { "_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3391 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3392 { "_wxPrintQuality","_wxCoord",0},
3393 { "_wxPrintQuality","_int",0},
3394 { "_wxPrintQuality","_signed_int",0},
3395 { "_wxPrintQuality","_unsigned_int",0},
3396 { "_wxPrintQuality","_wxWindowID",0},
3397 { "_wxPrintQuality","_uint",0},
3398 { "_wxPrintQuality","_EBool",0},
3399 { "_wxPrintQuality","_size_t",0},
3400 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3401 { "_class_wxRegionIterator","_wxRegionIterator",0},
3402 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3403 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3404 { "_wxCursor","_class_wxCursor",0},
3405 { "_wxMask","_class_wxMask",0},
3406 { "_wxPen","_class_wxPen",0},
3407 { "_byte","_unsigned_char",0},
3408 { "_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3409 { "_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3410 { "_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3411 { "_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3412 { "_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3413 { "_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3414 { "_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3415 { "_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3416 { "_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3417 { "_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3418 { "_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3419 { "_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3420 { "_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3421 { "_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3422 { "_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3423 { "_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3424 { "_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3425 { "_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3426 { "_wxDataObject","_class_wxDataObject",0},
3427 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3428 { "_wxPyDropSource","_class_wxPyDropSource",0},
3429 { "_long","_unsigned_long",0},
3430 { "_long","_signed_long",0},
3431 { "_wxImageList","_class_wxImageList",0},
3432 { "_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3433 { "_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3434 { "_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3435 { "_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3436 { "_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3437 { "_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3438 { "_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3439 { "_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3440 { "_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3441 { "_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3442 { "_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3443 { "_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3444 { "_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3445 { "_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3446 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3447 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3448 { "_class_wxClipboard","_wxClipboard",0},
3449 { "_wxDC","_class_wxDC",0},
3450 { "_class_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3451 { "_class_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3452 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3453 { "_size_t","_wxCoord",0},
3454 { "_size_t","_wxPrintQuality",0},
3455 { "_size_t","_unsigned_int",0},
3456 { "_size_t","_int",0},
3457 { "_size_t","_wxWindowID",0},
3458 { "_size_t","_uint",0},
3459 { "_class_wxRealPoint","_wxRealPoint",0},
3460 { "_wxPrinterDC","_class_wxPrinterDC",0},
3461 { "_class_wxMask","_wxMask",0},
3462 { "_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3463 { "_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3464 { "_wxTextDataObject","_class_wxTextDataObject",0},
3465 { "_wxColour","_class_wxColour",0},
3466 { "_class_wxFileDataObject","_wxFileDataObject",0},
3467 { "_class_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3468 { "_class_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3469 { "_class_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3470 { "_class_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3471 { "_class_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3472 { "_class_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3473 { "_class_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3474 { "_class_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3475 { "_class_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3476 { "_class_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3477 { "_class_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3478 { "_class_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3479 { "_class_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3480 { "_class_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3481 { "_class_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3482 { "_class_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3483 { "_class_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3484 { "_class_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3485 { "_class_wxDataObject","_wxDataObject",0},
3486 { "_wxBrush","_class_wxBrush",0},
3487 { "_wxDataFormat","_class_wxDataFormat",0},
3488 { "_class_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3489 { "_class_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3490 { "_class_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3491 { "_class_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3492 { "_class_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3493 { "_class_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3494 { "_class_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3495 { "_class_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3496 { "_class_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3497 { "_class_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3498 { "_class_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3499 { "_class_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3500 { "_class_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3501 { "_class_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3502 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3503 { "_uint","_wxCoord",0},
3504 { "_uint","_wxPrintQuality",0},
3505 { "_uint","_size_t",0},
3506 { "_uint","_unsigned_int",0},
3507 { "_uint","_int",0},
3508 { "_uint","_wxWindowID",0},
3509 { "_wxChar","_char",0},
3510 { "_wxRect","_class_wxRect",0},
3511 { "_wxPoint","_class_wxPoint",0},
3512 { "_char","_wxChar",0},
3513 { "_wxBitmap","_class_wxBitmap",0},
3514 { "_wxWindowDC","_class_wxWindowDC",0},
3515 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3516 { "_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3517 { "_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3518 { "_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3519 { "_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3520 { "_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3521 { "_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3522 { "_wxDropTarget","_class_wxDropTarget",0},
3523 { "_EBool","_wxCoord",0},
3524 { "_EBool","_wxPrintQuality",0},
3525 { "_EBool","_signed_int",0},
3526 { "_EBool","_int",0},
3527 { "_EBool","_wxWindowID",0},
3528 { "_class_wxRegion","_wxRegion",0},
3529 { "_class_wxDataFormat","_wxDataFormat",0},
3530 { "_wxFont","_class_wxFont",0},
3531 { "_class_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3532 { "_class_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3533 { "_class_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3534 { "_class_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3535 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3536 { "_unsigned_long","_long",0},
3537 { "_class_wxRect","_wxRect",0},
3538 { "_class_wxDC","_wxDC",0},
3539 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3540 { "_signed_int","_wxCoord",0},
3541 { "_signed_int","_wxPrintQuality",0},
3542 { "_signed_int","_EBool",0},
3543 { "_signed_int","_wxWindowID",0},
3544 { "_signed_int","_int",0},
3545 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3546 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3547 { "_class_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3548 { "_class_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3549 { "_class_wxTextDataObject","_wxTextDataObject",0},
3550 { "_wxScreenDC","_class_wxScreenDC",0},
3551 { "_WXTYPE","_short",0},
3552 { "_WXTYPE","_signed_short",0},
3553 { "_WXTYPE","_unsigned_short",0},
3554 { "_class_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3555 { "_class_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3556 { "_class_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3557 { "_class_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3558 { "_class_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3559 { "_class_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3560 { "_class_wxDropTarget","_wxDropTarget",0},
3561 { "_class_wxBrush","_wxBrush",0},
3562 { "_unsigned_short","_WXTYPE",0},
3563 { "_unsigned_short","_short",0},
3564 { "_class_wxFont","_wxFont",0},
3565 { "_wxClipboard","_class_wxClipboard",0},
3566 { "_wxBusyInfo","_class_wxBusyInfo",0},
3567 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3568 { "_wxClientDC","_class_wxClientDC",0},
3569 { "_class_wxPoint","_wxPoint",0},
3570 { "_wxRealPoint","_class_wxRealPoint",0},
3571 { "_signed_short","_WXTYPE",0},
3572 { "_signed_short","_short",0},
3573 { "_wxMemoryDC","_class_wxMemoryDC",0},
3574 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3575 { "_wxPaintDC","_class_wxPaintDC",0},
3576 { "_class_wxWindowDC","_wxWindowDC",0},
3577 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3578 { "_class_wxCursor","_wxCursor",0},
3579 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3580 { "_unsigned_char","_byte",0},
3581 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3582 { "_unsigned_int","_wxCoord",0},
3583 { "_unsigned_int","_wxPrintQuality",0},
3584 { "_unsigned_int","_size_t",0},
3585 { "_unsigned_int","_uint",0},
3586 { "_unsigned_int","_wxWindowID",0},
3587 { "_unsigned_int","_int",0},
3588 { "_wxIcon","_class_wxIcon",0},
3589 { "_class_wxPen","_wxPen",0},
3590 { "_short","_WXTYPE",0},
3591 { "_short","_unsigned_short",0},
3592 { "_short","_signed_short",0},
3593 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3594 { "_class_wxPyDropSource","_wxPyDropSource",0},
3595 { "_class_wxImageList","_wxImageList",0},
3596 { "_wxWindowID","_wxCoord",0},
3597 { "_wxWindowID","_wxPrintQuality",0},
3598 { "_wxWindowID","_size_t",0},
3599 { "_wxWindowID","_EBool",0},
3600 { "_wxWindowID","_uint",0},
3601 { "_wxWindowID","_int",0},
3602 { "_wxWindowID","_signed_int",0},
3603 { "_wxWindowID","_unsigned_int",0},
3604 { "_int","_wxCoord",0},
3605 { "_int","_wxPrintQuality",0},
3606 { "_int","_size_t",0},
3607 { "_int","_EBool",0},
3608 { "_int","_uint",0},
3609 { "_int","_wxWindowID",0},
3610 { "_int","_unsigned_int",0},
3611 { "_int","_signed_int",0},
3612 { "_wxSize","_class_wxSize",0},
3613 { "_wxRegionIterator","_class_wxRegionIterator",0},
3614 { "_class_wxPrinterDC","_wxPrinterDC",0},
3615 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3616 { "_class_wxPaintDC","_wxPaintDC",0},
3617 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3618 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3619 { "_class_wxIcon","_wxIcon",0},
3620 { "_class_wxColour","_wxColour",0},
3621 { "_class_wxScreenDC","_wxScreenDC",0},
3622 { "_wxPalette","_class_wxPalette",0},
3623 { "_wxCoord","_int",0},
3624 { "_wxCoord","_signed_int",0},
3625 { "_wxCoord","_unsigned_int",0},
3626 { "_wxCoord","_wxWindowID",0},
3627 { "_wxCoord","_uint",0},
3628 { "_wxCoord","_EBool",0},
3629 { "_wxCoord","_size_t",0},
3630 { "_wxCoord","_wxPrintQuality",0},
3631 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3632 { "_wxRegion","_class_wxRegion",0},
3633 { "_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3634 { "_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3635 { "_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3636 { "_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3637 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3638 { "_class_wxBusyInfo","_wxBusyInfo",0},
3639 { "_class_wxClientDC","_wxClientDC",0},
3640 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3641 { "_class_wxSize","_wxSize",0},
3642 { "_class_wxBitmap","_wxBitmap",0},
3643 { "_class_wxMemoryDC","_wxMemoryDC",0},
3644 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3645 { "_class_wxPalette","_wxPalette",0},
3646 { "_wxFileDataObject","_class_wxFileDataObject",0},
3647 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3650 static PyObject
*SWIG_globals
;
3654 SWIGEXPORT(void) initclip_dndc() {
3656 SWIG_globals
= SWIG_newvarlink();
3657 m
= Py_InitModule("clip_dndc", clip_dndcMethods
);
3658 d
= PyModule_GetDict(m
);
3659 PyDict_SetItemString(d
,"wxDF_INVALID", PyInt_FromLong((long) wxDF_INVALID
));
3660 PyDict_SetItemString(d
,"wxDF_TEXT", PyInt_FromLong((long) wxDF_TEXT
));
3661 PyDict_SetItemString(d
,"wxDF_BITMAP", PyInt_FromLong((long) wxDF_BITMAP
));
3662 PyDict_SetItemString(d
,"wxDF_METAFILE", PyInt_FromLong((long) wxDF_METAFILE
));
3663 PyDict_SetItemString(d
,"wxDF_SYLK", PyInt_FromLong((long) wxDF_SYLK
));
3664 PyDict_SetItemString(d
,"wxDF_DIF", PyInt_FromLong((long) wxDF_DIF
));
3665 PyDict_SetItemString(d
,"wxDF_TIFF", PyInt_FromLong((long) wxDF_TIFF
));
3666 PyDict_SetItemString(d
,"wxDF_OEMTEXT", PyInt_FromLong((long) wxDF_OEMTEXT
));
3667 PyDict_SetItemString(d
,"wxDF_DIB", PyInt_FromLong((long) wxDF_DIB
));
3668 PyDict_SetItemString(d
,"wxDF_PALETTE", PyInt_FromLong((long) wxDF_PALETTE
));
3669 PyDict_SetItemString(d
,"wxDF_PENDATA", PyInt_FromLong((long) wxDF_PENDATA
));
3670 PyDict_SetItemString(d
,"wxDF_RIFF", PyInt_FromLong((long) wxDF_RIFF
));
3671 PyDict_SetItemString(d
,"wxDF_WAVE", PyInt_FromLong((long) wxDF_WAVE
));
3672 PyDict_SetItemString(d
,"wxDF_UNICODETEXT", PyInt_FromLong((long) wxDF_UNICODETEXT
));
3673 PyDict_SetItemString(d
,"wxDF_ENHMETAFILE", PyInt_FromLong((long) wxDF_ENHMETAFILE
));
3674 PyDict_SetItemString(d
,"wxDF_FILENAME", PyInt_FromLong((long) wxDF_FILENAME
));
3675 PyDict_SetItemString(d
,"wxDF_LOCALE", PyInt_FromLong((long) wxDF_LOCALE
));
3676 PyDict_SetItemString(d
,"wxDF_PRIVATE", PyInt_FromLong((long) wxDF_PRIVATE
));
3677 PyDict_SetItemString(d
,"wxDF_MAX", PyInt_FromLong((long) wxDF_MAX
));
3678 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
3679 SWIG_addvarlink(SWIG_globals
,"wxFormatInvalid",_wrap_wxPyFormatInvalid_get
, _wrap_wxPyFormatInvalid_set
);
3680 SWIG_addvarlink(SWIG_globals
,"wxTheClipboard",_wrap_wxPyTheClipboard_get
, _wrap_wxPyTheClipboard_set
);
3681 PyDict_SetItemString(d
,"wxDragError", PyInt_FromLong((long) wxDragError
));
3682 PyDict_SetItemString(d
,"wxDragNone", PyInt_FromLong((long) wxDragNone
));
3683 PyDict_SetItemString(d
,"wxDragCopy", PyInt_FromLong((long) wxDragCopy
));
3684 PyDict_SetItemString(d
,"wxDragMove", PyInt_FromLong((long) wxDragMove
));
3685 PyDict_SetItemString(d
,"wxDragCancel", PyInt_FromLong((long) wxDragCancel
));
3688 wxPyTheClipboard
= wxTheClipboard
;
3690 PyDict_SetItemString(d
,"wxDataObject_Get", PyInt_FromLong((long) wxDataObject::Get
));
3691 PyDict_SetItemString(d
,"wxDataObject_Set", PyInt_FromLong((long) wxDataObject::Set
));
3692 PyDict_SetItemString(d
,"wxDataObject_Both", PyInt_FromLong((long) wxDataObject::Both
));
3695 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3696 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);