2 * FILE : src/gtk/clip_dnd.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initclip_dndc
56 #define SWIG_name "clip_dndc"
59 #include <wx/dataobj.h>
60 #include <wx/clipbrd.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 #if PYTHON_API_VERSION >= 1009
110 static char* wxStringErrorMsg
= "String or Unicode type required";
112 static char* wxStringErrorMsg
= "string type is required for parameter";
114 // An alternate constructor...
115 wxDataFormat
* wxCustomDataFormat(const wxString
&id
) {
116 return new wxDataFormat(id
);
119 wxDataFormat wxPyFormatInvalid
;
120 // Create a new class for wxPython to use
121 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
123 wxPyDataObjectSimple(const wxDataFormat
& format
= wxPyFormatInvalid
)
124 : wxDataObjectSimple(format
) {}
126 DEC_PYCALLBACK_SIZET_(GetDataSize
);
127 bool GetDataHere(void *buf
);
128 bool SetData(size_t len
, const void *buf
);
132 IMP_PYCALLBACK_SIZET_(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
134 bool wxPyDataObjectSimple::GetDataHere(void *buf
) {
135 // We need to get the data for this object and write it to buf. I think
136 // the best way to do this for wxPython is to have the Python method
137 // return either a string or None and then act appropriately with the
141 bool doSave
= wxPyRestoreThread();
142 if (m_myInst
.findCallback("GetDataHere")) {
144 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
146 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
148 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
152 wxPySaveThread(doSave
);
156 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
157 // For this one we simply need to make a string from buf and len
158 // and send it to the Python method.
160 bool doSave
= wxPyRestoreThread();
161 if (m_myInst
.findCallback("SetData")) {
162 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
163 rval
= m_myInst
.callCallback(Py_BuildValue("(O)", data
));
166 wxPySaveThread(doSave
);
169 // Create a new class for wxPython to use
170 class wxPyTextDataObject
: public wxTextDataObject
{
172 wxPyTextDataObject(const wxString
& text
= wxEmptyString
)
173 : wxTextDataObject(text
) {}
175 DEC_PYCALLBACK_SIZET_(GetTextLength
);
176 DEC_PYCALLBACK_STRING_(GetText
);
177 DEC_PYCALLBACK__STRING(SetText
);
181 IMP_PYCALLBACK_SIZET_(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
182 IMP_PYCALLBACK_STRING_(wxPyTextDataObject
, wxTextDataObject
, GetText
);
183 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
185 // Create a new class for wxPython to use
186 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
188 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
189 : wxBitmapDataObject(bitmap
) {}
191 wxBitmap
GetBitmap();
192 void SetBitmap(const wxBitmap
& bitmap
);
196 wxBitmap
wxPyBitmapDataObject::GetBitmap() {
197 wxBitmap
* rval
= &wxNullBitmap
;
198 bool doSave
= wxPyRestoreThread();
199 if (m_myInst
.findCallback("GetBitmap")) {
202 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
204 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxBitmap_p"))
209 wxPySaveThread(doSave
);
213 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
214 bool doSave
= wxPyRestoreThread();
215 if (m_myInst
.findCallback("SetBitmap")) {
216 m_myInst
.callCallback(Py_BuildValue("(O)",
217 wxPyConstructObject((void*)&bitmap
, "wxBitmap")));
219 wxPySaveThread(doSave
);
222 // See below in the init function...
223 wxClipboard
* wxPyTheClipboard
;
225 class wxPyDropSource
: public wxDropSource
{
228 wxPyDropSource(wxWindow
*win
= NULL
,
229 const wxCursor
&cursorCopy
= wxNullCursor
,
230 const wxCursor
&cursorMove
= wxNullCursor
,
231 const wxCursor
&cursorStop
= wxNullCursor
)
232 : wxDropSource(win
, cursorCopy
, cursorMove
, cursorStop
) {}
234 wxPyDropSource(wxWindow
*win
= NULL
,
235 const wxIcon
&go
= wxNullIcon
)
236 : wxDropSource(win
, go
) {}
238 ~wxPyDropSource() { }
240 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
244 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
247 class wxPyDropTarget
: public wxDropTarget
{
249 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
250 : wxDropTarget(dataObject
) {}
252 // DEC_PYCALLBACK_SIZET_(GetFormatCount);
253 // DEC_PYCALLBACK_DATAFMT_SIZET(GetFormat);
255 DEC_PYCALLBACK__(OnLeave
);
256 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
257 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
258 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
259 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
264 // IMP_PYCALLBACK_SIZET_(wxPyDropTarget, wxDropTarget, GetFormatCount);
265 // IMP__PYCALLBACK_DATAFMT_SIZET(wxPyDropTarget, wxDropTarget, GetFormat);
267 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
268 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
269 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
270 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
271 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
274 class wxPyTextDropTarget
: public wxTextDropTarget
{
276 wxPyTextDropTarget() {}
278 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
280 DEC_PYCALLBACK__(OnLeave
);
281 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
282 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
283 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
284 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
289 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
290 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
291 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
292 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
293 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
294 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
297 class wxPyFileDropTarget
: public wxFileDropTarget
{
299 wxPyFileDropTarget() {}
301 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
303 DEC_PYCALLBACK__(OnLeave
);
304 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
305 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
306 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
307 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
312 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
313 const wxArrayString
& filenames
) {
315 bool doSave
= wxPyRestoreThread();
316 PyObject
* list
= PyList_New(0);
317 for (size_t i
=0; i
<filenames
.GetCount(); i
++) {
318 PyObject
* str
= PyString_FromString(filenames
[i
].c_str());
319 PyList_Append(list
, str
);
321 if (m_myInst
.findCallback("OnDropFiles"))
322 rval
= m_myInst
.callCallback(Py_BuildValue("(iiO)",x
,y
,list
));
324 wxPySaveThread(doSave
);
330 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
331 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
332 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
333 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
334 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
339 static PyObject
*_wrap_wxCustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
341 wxDataFormat
* _result
;
343 PyObject
* _obj0
= 0;
344 char *_kwnames
[] = { "id", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataFormat",_kwnames
,&_obj0
))
351 #if PYTHON_API_VERSION >= 1009
352 char* tmpPtr
; int tmpSize
;
353 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
354 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
357 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
359 _arg0
= new wxString(tmpPtr
, tmpSize
);
361 if (!PyString_Check(_obj0
)) {
362 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
365 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
369 wxPy_BEGIN_ALLOW_THREADS
;
370 _result
= (wxDataFormat
*)wxCustomDataFormat(*_arg0
);
372 wxPy_END_ALLOW_THREADS
;
374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
375 _resultobj
= Py_BuildValue("s",_ptemp
);
378 _resultobj
= Py_None
;
387 static int _wrap_wxPyFormatInvalid_set(PyObject
*val
) {
389 PyErr_SetString(PyExc_TypeError
,"Variable wxFormatInvalid is read-only.");
393 static PyObject
*_wrap_wxPyFormatInvalid_get() {
397 SWIG_MakePtr(ptemp
,(char *) &wxPyFormatInvalid
,"_wxDataFormat_p");
398 pyobj
= PyString_FromString(ptemp
);
402 static int _wrap_wxPyTheClipboard_set(PyObject
*val
) {
404 PyErr_SetString(PyExc_TypeError
,"Variable wxTheClipboard is read-only.");
408 static PyObject
*_wrap_wxPyTheClipboard_get() {
412 SWIG_MakePtr(ptemp
, (char *) wxPyTheClipboard
,"_wxClipboard_p");
413 pyobj
= PyString_FromString(ptemp
);
417 static PyObject
*_wrap_wxIsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
421 char *_kwnames
[] = { "res", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxIsDragResultOk",_kwnames
,&_arg0
))
427 wxPy_BEGIN_ALLOW_THREADS
;
428 _result
= (bool )wxIsDragResultOk(_arg0
);
430 wxPy_END_ALLOW_THREADS
;
431 } _resultobj
= Py_BuildValue("i",_result
);
435 #define new_wxDataFormat(_swigarg0) (new wxDataFormat(_swigarg0))
436 static PyObject
*_wrap_new_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
437 PyObject
* _resultobj
;
438 wxDataFormat
* _result
;
439 wxDataFormatId _arg0
;
440 char *_kwnames
[] = { "type", NULL
};
444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDataFormat",_kwnames
,&_arg0
))
447 wxPy_BEGIN_ALLOW_THREADS
;
448 _result
= (wxDataFormat
*)new_wxDataFormat(_arg0
);
450 wxPy_END_ALLOW_THREADS
;
452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
456 _resultobj
= Py_None
;
461 #define delete_wxDataFormat(_swigobj) (delete _swigobj)
462 static PyObject
*_wrap_delete_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
464 wxDataFormat
* _arg0
;
465 PyObject
* _argo0
= 0;
466 char *_kwnames
[] = { "self", NULL
};
469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataFormat",_kwnames
,&_argo0
))
472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataFormat. Expected _wxDataFormat_p.");
479 wxPy_BEGIN_ALLOW_THREADS
;
480 delete_wxDataFormat(_arg0
);
482 wxPy_END_ALLOW_THREADS
;
483 } Py_INCREF(Py_None
);
484 _resultobj
= Py_None
;
488 #define wxDataFormat_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
489 static PyObject
*_wrap_wxDataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
491 wxDataFormat
* _arg0
;
492 wxDataFormatId _arg1
;
493 PyObject
* _argo0
= 0;
494 char *_kwnames
[] = { "self","format", NULL
};
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDataFormat_SetType",_kwnames
,&_argo0
,&_arg1
))
500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetType. Expected _wxDataFormat_p.");
507 wxPy_BEGIN_ALLOW_THREADS
;
508 wxDataFormat_SetType(_arg0
,_arg1
);
510 wxPy_END_ALLOW_THREADS
;
511 } Py_INCREF(Py_None
);
512 _resultobj
= Py_None
;
516 #define wxDataFormat_GetType(_swigobj) (_swigobj->GetType())
517 static PyObject
*_wrap_wxDataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
519 wxDataFormatId _result
;
520 wxDataFormat
* _arg0
;
521 PyObject
* _argo0
= 0;
522 char *_kwnames
[] = { "self", NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetType",_kwnames
,&_argo0
))
528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetType. Expected _wxDataFormat_p.");
535 wxPy_BEGIN_ALLOW_THREADS
;
536 _result
= (wxDataFormatId
)wxDataFormat_GetType(_arg0
);
538 wxPy_END_ALLOW_THREADS
;
539 } _resultobj
= Py_BuildValue("i",_result
);
543 #define wxDataFormat_GetId(_swigobj) (_swigobj->GetId())
544 static PyObject
*_wrap_wxDataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
547 wxDataFormat
* _arg0
;
548 PyObject
* _argo0
= 0;
549 char *_kwnames
[] = { "self", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetId",_kwnames
,&_argo0
))
555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetId. Expected _wxDataFormat_p.");
562 wxPy_BEGIN_ALLOW_THREADS
;
563 _result
= new wxString (wxDataFormat_GetId(_arg0
));
565 wxPy_END_ALLOW_THREADS
;
567 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
575 #define wxDataFormat_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
576 static PyObject
*_wrap_wxDataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
578 wxDataFormat
* _arg0
;
580 PyObject
* _argo0
= 0;
581 char *_kwnames
[] = { "self","format", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDataFormat_SetId",_kwnames
,&_argo0
,&_arg1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetId. Expected _wxDataFormat_p.");
594 wxPy_BEGIN_ALLOW_THREADS
;
595 wxDataFormat_SetId(_arg0
,_arg1
);
597 wxPy_END_ALLOW_THREADS
;
598 } Py_INCREF(Py_None
);
599 _resultobj
= Py_None
;
603 #define delete_wxDataObject(_swigobj) (delete _swigobj)
604 static PyObject
*_wrap_delete_wxDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
606 wxDataObject
* _arg0
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataObject",_kwnames
,&_argo0
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataObject. Expected _wxDataObject_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 delete_wxDataObject(_arg0
);
624 wxPy_END_ALLOW_THREADS
;
625 } Py_INCREF(Py_None
);
626 _resultobj
= Py_None
;
630 #define wxDataObject_GetPreferredFormat(_swigobj,_swigarg0) (_swigobj->GetPreferredFormat(_swigarg0))
631 static PyObject
*_wrap_wxDataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
633 wxDataFormat
* _result
;
634 wxDataObject
* _arg0
;
635 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
636 PyObject
* _argo0
= 0;
637 char *_kwnames
[] = { "self","dir", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetPreferredFormat",_kwnames
,&_argo0
,&_arg1
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetPreferredFormat. Expected _wxDataObject_p.");
651 wxPy_BEGIN_ALLOW_THREADS
;
652 _result
= new wxDataFormat (wxDataObject_GetPreferredFormat(_arg0
,_arg1
));
654 wxPy_END_ALLOW_THREADS
;
655 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDataFormat_p");
656 _resultobj
= Py_BuildValue("s",_ptemp
);
660 #define wxDataObject_GetFormatCount(_swigobj,_swigarg0) (_swigobj->GetFormatCount(_swigarg0))
661 static PyObject
*_wrap_wxDataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
662 PyObject
* _resultobj
;
664 wxDataObject
* _arg0
;
665 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
666 PyObject
* _argo0
= 0;
667 char *_kwnames
[] = { "self","dir", NULL
};
670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetFormatCount",_kwnames
,&_argo0
,&_arg1
))
673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetFormatCount. Expected _wxDataObject_p.");
680 wxPy_BEGIN_ALLOW_THREADS
;
681 _result
= (size_t )wxDataObject_GetFormatCount(_arg0
,_arg1
);
683 wxPy_END_ALLOW_THREADS
;
684 } _resultobj
= Py_BuildValue("i",_result
);
688 #define wxDataObject_GetAllFormats(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAllFormats(_swigarg0,_swigarg1))
689 static PyObject
*_wrap_wxDataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
691 wxDataObject
* _arg0
;
692 wxDataFormat
* _arg1
;
693 wxDataObject::Direction _arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
694 PyObject
* _argo0
= 0;
695 PyObject
* _argo1
= 0;
696 char *_kwnames
[] = { "self","formats","dir", NULL
};
699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObject_GetAllFormats",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetAllFormats. Expected _wxDataObject_p.");
709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetAllFormats. Expected _wxDataFormat_p.");
716 wxPy_BEGIN_ALLOW_THREADS
;
717 wxDataObject_GetAllFormats(_arg0
,_arg1
,_arg2
);
719 wxPy_END_ALLOW_THREADS
;
720 } Py_INCREF(Py_None
);
721 _resultobj
= Py_None
;
725 #define wxDataObject_GetDataSize(_swigobj,_swigarg0) (_swigobj->GetDataSize(_swigarg0))
726 static PyObject
*_wrap_wxDataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
729 wxDataObject
* _arg0
;
730 wxDataFormat
* _arg1
;
731 PyObject
* _argo0
= 0;
732 PyObject
* _argo1
= 0;
733 char *_kwnames
[] = { "self","format", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_GetDataSize",_kwnames
,&_argo0
,&_argo1
))
739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataSize. Expected _wxDataObject_p.");
746 if (_argo1
== Py_None
) { _arg1
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataSize. Expected _wxDataFormat_p.");
753 wxPy_BEGIN_ALLOW_THREADS
;
754 _result
= (size_t )wxDataObject_GetDataSize(_arg0
,*_arg1
);
756 wxPy_END_ALLOW_THREADS
;
757 } _resultobj
= Py_BuildValue("i",_result
);
761 #define wxDataObject_GetDataHere(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDataHere(_swigarg0,_swigarg1))
762 static PyObject
*_wrap_wxDataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
763 PyObject
* _resultobj
;
765 wxDataObject
* _arg0
;
766 wxDataFormat
* _arg1
;
768 PyObject
* _argo0
= 0;
769 PyObject
* _argo1
= 0;
770 PyObject
* _argo2
= 0;
771 char *_kwnames
[] = { "self","format","buf", NULL
};
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDataObject_GetDataHere",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataHere. Expected _wxDataObject_p.");
784 if (_argo1
== Py_None
) { _arg1
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataHere. Expected _wxDataFormat_p.");
791 if (_argo2
== Py_None
) { _arg2
= NULL
; }
792 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDataObject_GetDataHere. Expected _void_p.");
798 wxPy_BEGIN_ALLOW_THREADS
;
799 _result
= (bool )wxDataObject_GetDataHere(_arg0
,*_arg1
,_arg2
);
801 wxPy_END_ALLOW_THREADS
;
802 } _resultobj
= Py_BuildValue("i",_result
);
806 #define wxDataObject_SetData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetData(_swigarg0,_swigarg1,_swigarg2))
807 static PyObject
*_wrap_wxDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
810 wxDataObject
* _arg0
;
811 wxDataFormat
* _arg1
;
814 PyObject
* _argo0
= 0;
815 PyObject
* _argo1
= 0;
816 PyObject
* _argo3
= 0;
817 char *_kwnames
[] = { "self","format","len","buf", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxDataObject_SetData",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_SetData. Expected _wxDataObject_p.");
830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_SetData. Expected _wxDataFormat_p.");
837 if (_argo3
== Py_None
) { _arg3
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,(char *) 0 )) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDataObject_SetData. Expected _void_p.");
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= (bool )wxDataObject_SetData(_arg0
,*_arg1
,_arg2
,_arg3
);
847 wxPy_END_ALLOW_THREADS
;
848 } _resultobj
= Py_BuildValue("i",_result
);
852 #define wxDataObject_IsSupportedFormat(_swigobj,_swigarg0) (_swigobj->IsSupportedFormat(_swigarg0))
853 static PyObject
*_wrap_wxDataObject_IsSupportedFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
856 wxDataObject
* _arg0
;
857 wxDataFormat
* _arg1
;
858 PyObject
* _argo0
= 0;
859 PyObject
* _argo1
= 0;
860 char *_kwnames
[] = { "self","format", NULL
};
863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_IsSupportedFormat",_kwnames
,&_argo0
,&_argo1
))
866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_IsSupportedFormat. Expected _wxDataObject_p.");
873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_IsSupportedFormat. Expected _wxDataFormat_p.");
880 wxPy_BEGIN_ALLOW_THREADS
;
881 _result
= (bool )wxDataObject_IsSupportedFormat(_arg0
,*_arg1
);
883 wxPy_END_ALLOW_THREADS
;
884 } _resultobj
= Py_BuildValue("i",_result
);
888 static void *SwigwxDataObjectSimpleTowxDataObject(void *ptr
) {
889 wxDataObjectSimple
*src
;
891 src
= (wxDataObjectSimple
*) ptr
;
892 dest
= (wxDataObject
*) src
;
893 return (void *) dest
;
896 #define new_wxDataObjectSimple(_swigarg0) (new wxDataObjectSimple(_swigarg0))
897 static PyObject
*_wrap_new_wxDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
899 wxDataObjectSimple
* _result
;
900 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "format", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxDataObjectSimple",_kwnames
,&_argo0
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDataObjectSimple. Expected _wxDataFormat_p.");
916 wxPy_BEGIN_ALLOW_THREADS
;
917 _result
= (wxDataObjectSimple
*)new_wxDataObjectSimple(*_arg0
);
919 wxPy_END_ALLOW_THREADS
;
921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectSimple_p");
922 _resultobj
= Py_BuildValue("s",_ptemp
);
925 _resultobj
= Py_None
;
930 #define wxDataObjectSimple_GetFormat(_swigobj) (_swigobj->GetFormat())
931 static PyObject
*_wrap_wxDataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
933 wxDataFormat
* _result
;
934 wxDataObjectSimple
* _arg0
;
935 PyObject
* _argo0
= 0;
936 char *_kwnames
[] = { "self", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataObjectSimple_GetFormat",_kwnames
,&_argo0
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_GetFormat. Expected _wxDataObjectSimple_p.");
950 wxPy_BEGIN_ALLOW_THREADS
;
951 const wxDataFormat
& _result_ref
= wxDataObjectSimple_GetFormat(_arg0
);
952 _result
= (wxDataFormat
*) &_result_ref
;
954 wxPy_END_ALLOW_THREADS
;
956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
957 _resultobj
= Py_BuildValue("s",_ptemp
);
960 _resultobj
= Py_None
;
965 #define wxDataObjectSimple_SetFormat(_swigobj,_swigarg0) (_swigobj->SetFormat(_swigarg0))
966 static PyObject
*_wrap_wxDataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
967 PyObject
* _resultobj
;
968 wxDataObjectSimple
* _arg0
;
969 wxDataFormat
* _arg1
;
970 PyObject
* _argo0
= 0;
971 PyObject
* _argo1
= 0;
972 char *_kwnames
[] = { "self","format", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObjectSimple_SetFormat",_kwnames
,&_argo0
,&_argo1
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_SetFormat. Expected _wxDataObjectSimple_p.");
985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectSimple_SetFormat. Expected _wxDataFormat_p.");
992 wxPy_BEGIN_ALLOW_THREADS
;
993 wxDataObjectSimple_SetFormat(_arg0
,*_arg1
);
995 wxPy_END_ALLOW_THREADS
;
996 } Py_INCREF(Py_None
);
997 _resultobj
= Py_None
;
1001 static void *SwigwxPyDataObjectSimpleTowxDataObjectSimple(void *ptr
) {
1002 wxPyDataObjectSimple
*src
;
1003 wxDataObjectSimple
*dest
;
1004 src
= (wxPyDataObjectSimple
*) ptr
;
1005 dest
= (wxDataObjectSimple
*) src
;
1006 return (void *) dest
;
1009 static void *SwigwxPyDataObjectSimpleTowxDataObject(void *ptr
) {
1010 wxPyDataObjectSimple
*src
;
1012 src
= (wxPyDataObjectSimple
*) ptr
;
1013 dest
= (wxDataObject
*) src
;
1014 return (void *) dest
;
1017 #define new_wxPyDataObjectSimple(_swigarg0) (new wxPyDataObjectSimple(_swigarg0))
1018 static PyObject
*_wrap_new_wxPyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1020 wxPyDataObjectSimple
* _result
;
1021 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1022 PyObject
* _argo0
= 0;
1023 char *_kwnames
[] = { "format", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDataObjectSimple",_kwnames
,&_argo0
))
1030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDataObjectSimple. Expected _wxDataFormat_p.");
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 _result
= (wxPyDataObjectSimple
*)new_wxPyDataObjectSimple(*_arg0
);
1040 wxPy_END_ALLOW_THREADS
;
1042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDataObjectSimple_p");
1043 _resultobj
= Py_BuildValue("s",_ptemp
);
1046 _resultobj
= Py_None
;
1051 #define wxPyDataObjectSimple__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1052 static PyObject
*_wrap_wxPyDataObjectSimple__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
* _resultobj
;
1054 wxPyDataObjectSimple
* _arg0
;
1057 PyObject
* _argo0
= 0;
1058 PyObject
* _obj1
= 0;
1059 PyObject
* _obj2
= 0;
1060 char *_kwnames
[] = { "self","self","_class", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDataObjectSimple__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDataObjectSimple_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDataObjectSimple__setSelf. Expected _wxPyDataObjectSimple_p.");
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 wxPyDataObjectSimple__setSelf(_arg0
,_arg1
,_arg2
);
1082 wxPy_END_ALLOW_THREADS
;
1083 } Py_INCREF(Py_None
);
1084 _resultobj
= Py_None
;
1088 static void *SwigwxDataObjectCompositeTowxDataObject(void *ptr
) {
1089 wxDataObjectComposite
*src
;
1091 src
= (wxDataObjectComposite
*) ptr
;
1092 dest
= (wxDataObject
*) src
;
1093 return (void *) dest
;
1096 #define new_wxDataObjectComposite() (new wxDataObjectComposite())
1097 static PyObject
*_wrap_new_wxDataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1099 wxDataObjectComposite
* _result
;
1100 char *_kwnames
[] = { NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDataObjectComposite",_kwnames
))
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 _result
= (wxDataObjectComposite
*)new_wxDataObjectComposite();
1110 wxPy_END_ALLOW_THREADS
;
1112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectComposite_p");
1113 _resultobj
= Py_BuildValue("s",_ptemp
);
1116 _resultobj
= Py_None
;
1121 #define wxDataObjectComposite_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1122 static PyObject
*_wrap_wxDataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1124 wxDataObjectComposite
* _arg0
;
1125 wxDataObjectSimple
* _arg1
;
1126 int _arg2
= (int ) FALSE
;
1127 PyObject
* _argo0
= 0;
1128 PyObject
* _argo1
= 0;
1129 char *_kwnames
[] = { "self","dataObject","preferred", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObjectComposite_Add",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectComposite_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectComposite_Add. Expected _wxDataObjectComposite_p.");
1142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObjectSimple_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectComposite_Add. Expected _wxDataObjectSimple_p.");
1149 wxPy_BEGIN_ALLOW_THREADS
;
1150 wxDataObjectComposite_Add(_arg0
,_arg1
,_arg2
);
1152 wxPy_END_ALLOW_THREADS
;
1153 } Py_INCREF(Py_None
);
1154 _resultobj
= Py_None
;
1158 static void *SwigwxTextDataObjectTowxDataObjectSimple(void *ptr
) {
1159 wxTextDataObject
*src
;
1160 wxDataObjectSimple
*dest
;
1161 src
= (wxTextDataObject
*) ptr
;
1162 dest
= (wxDataObjectSimple
*) src
;
1163 return (void *) dest
;
1166 static void *SwigwxTextDataObjectTowxDataObject(void *ptr
) {
1167 wxTextDataObject
*src
;
1169 src
= (wxTextDataObject
*) ptr
;
1170 dest
= (wxDataObject
*) src
;
1171 return (void *) dest
;
1174 #define new_wxTextDataObject(_swigarg0) (new wxTextDataObject(_swigarg0))
1175 static PyObject
*_wrap_new_wxTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
* _resultobj
;
1177 wxTextDataObject
* _result
;
1178 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1179 PyObject
* _obj0
= 0;
1180 char *_kwnames
[] = { "text", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTextDataObject",_kwnames
,&_obj0
))
1188 #if PYTHON_API_VERSION >= 1009
1189 char* tmpPtr
; int tmpSize
;
1190 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1194 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1196 _arg0
= new wxString(tmpPtr
, tmpSize
);
1198 if (!PyString_Check(_obj0
)) {
1199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1202 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1206 wxPy_BEGIN_ALLOW_THREADS
;
1207 _result
= (wxTextDataObject
*)new_wxTextDataObject(*_arg0
);
1209 wxPy_END_ALLOW_THREADS
;
1211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextDataObject_p");
1212 _resultobj
= Py_BuildValue("s",_ptemp
);
1215 _resultobj
= Py_None
;
1224 #define wxTextDataObject_GetTextLength(_swigobj) (_swigobj->GetTextLength())
1225 static PyObject
*_wrap_wxTextDataObject_GetTextLength(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_GetTextLength",_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_GetTextLength. Expected _wxTextDataObject_p.");
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 _result
= (size_t )wxTextDataObject_GetTextLength(_arg0
);
1246 wxPy_END_ALLOW_THREADS
;
1247 } _resultobj
= Py_BuildValue("i",_result
);
1251 #define wxTextDataObject_GetText(_swigobj) (_swigobj->GetText())
1252 static PyObject
*_wrap_wxTextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1255 wxTextDataObject
* _arg0
;
1256 PyObject
* _argo0
= 0;
1257 char *_kwnames
[] = { "self", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetText",_kwnames
,&_argo0
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetText. Expected _wxTextDataObject_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= new wxString (wxTextDataObject_GetText(_arg0
));
1273 wxPy_END_ALLOW_THREADS
;
1275 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1283 #define wxTextDataObject_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
1284 static PyObject
*_wrap_wxTextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1286 wxTextDataObject
* _arg0
;
1288 PyObject
* _argo0
= 0;
1289 PyObject
* _obj1
= 0;
1290 char *_kwnames
[] = { "self","text", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDataObject_SetText",_kwnames
,&_argo0
,&_obj1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_SetText. Expected _wxTextDataObject_p.");
1303 #if PYTHON_API_VERSION >= 1009
1304 char* tmpPtr
; int tmpSize
;
1305 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1309 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1311 _arg1
= new wxString(tmpPtr
, tmpSize
);
1313 if (!PyString_Check(_obj1
)) {
1314 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1317 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1321 wxPy_BEGIN_ALLOW_THREADS
;
1322 wxTextDataObject_SetText(_arg0
,*_arg1
);
1324 wxPy_END_ALLOW_THREADS
;
1325 } Py_INCREF(Py_None
);
1326 _resultobj
= Py_None
;
1334 static void *SwigwxPyTextDataObjectTowxTextDataObject(void *ptr
) {
1335 wxPyTextDataObject
*src
;
1336 wxTextDataObject
*dest
;
1337 src
= (wxPyTextDataObject
*) ptr
;
1338 dest
= (wxTextDataObject
*) src
;
1339 return (void *) dest
;
1342 static void *SwigwxPyTextDataObjectTowxDataObjectSimple(void *ptr
) {
1343 wxPyTextDataObject
*src
;
1344 wxDataObjectSimple
*dest
;
1345 src
= (wxPyTextDataObject
*) ptr
;
1346 dest
= (wxDataObjectSimple
*) src
;
1347 return (void *) dest
;
1350 static void *SwigwxPyTextDataObjectTowxDataObject(void *ptr
) {
1351 wxPyTextDataObject
*src
;
1353 src
= (wxPyTextDataObject
*) ptr
;
1354 dest
= (wxDataObject
*) src
;
1355 return (void *) dest
;
1358 #define new_wxPyTextDataObject(_swigarg0) (new wxPyTextDataObject(_swigarg0))
1359 static PyObject
*_wrap_new_wxPyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
* _resultobj
;
1361 wxPyTextDataObject
* _result
;
1362 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1363 PyObject
* _obj0
= 0;
1364 char *_kwnames
[] = { "text", NULL
};
1368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyTextDataObject",_kwnames
,&_obj0
))
1372 #if PYTHON_API_VERSION >= 1009
1373 char* tmpPtr
; int tmpSize
;
1374 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1378 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1380 _arg0
= new wxString(tmpPtr
, tmpSize
);
1382 if (!PyString_Check(_obj0
)) {
1383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1386 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1390 wxPy_BEGIN_ALLOW_THREADS
;
1391 _result
= (wxPyTextDataObject
*)new_wxPyTextDataObject(*_arg0
);
1393 wxPy_END_ALLOW_THREADS
;
1395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDataObject_p");
1396 _resultobj
= Py_BuildValue("s",_ptemp
);
1399 _resultobj
= Py_None
;
1408 #define wxPyTextDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1409 static PyObject
*_wrap_wxPyTextDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1411 wxPyTextDataObject
* _arg0
;
1414 PyObject
* _argo0
= 0;
1415 PyObject
* _obj1
= 0;
1416 PyObject
* _obj2
= 0;
1417 char *_kwnames
[] = { "self","self","_class", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTextDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDataObject_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextDataObject__setSelf. Expected _wxPyTextDataObject_p.");
1436 wxPy_BEGIN_ALLOW_THREADS
;
1437 wxPyTextDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1439 wxPy_END_ALLOW_THREADS
;
1440 } Py_INCREF(Py_None
);
1441 _resultobj
= Py_None
;
1445 static void *SwigwxBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1446 wxBitmapDataObject
*src
;
1447 wxDataObjectSimple
*dest
;
1448 src
= (wxBitmapDataObject
*) ptr
;
1449 dest
= (wxDataObjectSimple
*) src
;
1450 return (void *) dest
;
1453 static void *SwigwxBitmapDataObjectTowxDataObject(void *ptr
) {
1454 wxBitmapDataObject
*src
;
1456 src
= (wxBitmapDataObject
*) ptr
;
1457 dest
= (wxDataObject
*) src
;
1458 return (void *) dest
;
1461 #define new_wxBitmapDataObject(_swigarg0) (new wxBitmapDataObject(_swigarg0))
1462 static PyObject
*_wrap_new_wxBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1464 wxBitmapDataObject
* _result
;
1465 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1466 PyObject
* _argo0
= 0;
1467 char *_kwnames
[] = { "bitmap", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBitmapDataObject",_kwnames
,&_argo0
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapDataObject. Expected _wxBitmap_p.");
1481 wxPy_BEGIN_ALLOW_THREADS
;
1482 _result
= (wxBitmapDataObject
*)new_wxBitmapDataObject(*_arg0
);
1484 wxPy_END_ALLOW_THREADS
;
1486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapDataObject_p");
1487 _resultobj
= Py_BuildValue("s",_ptemp
);
1490 _resultobj
= Py_None
;
1495 #define wxBitmapDataObject_GetBitmap(_swigobj) (_swigobj->GetBitmap())
1496 static PyObject
*_wrap_wxBitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1499 wxBitmapDataObject
* _arg0
;
1500 PyObject
* _argo0
= 0;
1501 char *_kwnames
[] = { "self", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapDataObject_GetBitmap",_kwnames
,&_argo0
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_GetBitmap. Expected _wxBitmapDataObject_p.");
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 _result
= new wxBitmap (wxBitmapDataObject_GetBitmap(_arg0
));
1518 wxPy_END_ALLOW_THREADS
;
1519 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1520 _resultobj
= Py_BuildValue("s",_ptemp
);
1524 #define wxBitmapDataObject_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
1525 static PyObject
*_wrap_wxBitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1527 wxBitmapDataObject
* _arg0
;
1529 PyObject
* _argo0
= 0;
1530 PyObject
* _argo1
= 0;
1531 char *_kwnames
[] = { "self","bitmap", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapDataObject_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_SetBitmap. Expected _wxBitmapDataObject_p.");
1544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapDataObject_SetBitmap. Expected _wxBitmap_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 wxBitmapDataObject_SetBitmap(_arg0
,*_arg1
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } Py_INCREF(Py_None
);
1556 _resultobj
= Py_None
;
1560 static void *SwigwxPyBitmapDataObjectTowxBitmapDataObject(void *ptr
) {
1561 wxPyBitmapDataObject
*src
;
1562 wxBitmapDataObject
*dest
;
1563 src
= (wxPyBitmapDataObject
*) ptr
;
1564 dest
= (wxBitmapDataObject
*) src
;
1565 return (void *) dest
;
1568 static void *SwigwxPyBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1569 wxPyBitmapDataObject
*src
;
1570 wxDataObjectSimple
*dest
;
1571 src
= (wxPyBitmapDataObject
*) ptr
;
1572 dest
= (wxDataObjectSimple
*) src
;
1573 return (void *) dest
;
1576 static void *SwigwxPyBitmapDataObjectTowxDataObject(void *ptr
) {
1577 wxPyBitmapDataObject
*src
;
1579 src
= (wxPyBitmapDataObject
*) ptr
;
1580 dest
= (wxDataObject
*) src
;
1581 return (void *) dest
;
1584 #define new_wxPyBitmapDataObject(_swigarg0) (new wxPyBitmapDataObject(_swigarg0))
1585 static PyObject
*_wrap_new_wxPyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1587 wxPyBitmapDataObject
* _result
;
1588 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1589 PyObject
* _argo0
= 0;
1590 char *_kwnames
[] = { "bitmap", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyBitmapDataObject",_kwnames
,&_argo0
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyBitmapDataObject. Expected _wxBitmap_p.");
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (wxPyBitmapDataObject
*)new_wxPyBitmapDataObject(*_arg0
);
1607 wxPy_END_ALLOW_THREADS
;
1609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyBitmapDataObject_p");
1610 _resultobj
= Py_BuildValue("s",_ptemp
);
1613 _resultobj
= Py_None
;
1618 #define wxPyBitmapDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1619 static PyObject
*_wrap_wxPyBitmapDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1621 wxPyBitmapDataObject
* _arg0
;
1624 PyObject
* _argo0
= 0;
1625 PyObject
* _obj1
= 0;
1626 PyObject
* _obj2
= 0;
1627 char *_kwnames
[] = { "self","self","_class", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyBitmapDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyBitmapDataObject_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyBitmapDataObject__setSelf. Expected _wxPyBitmapDataObject_p.");
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 wxPyBitmapDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1649 wxPy_END_ALLOW_THREADS
;
1650 } Py_INCREF(Py_None
);
1651 _resultobj
= Py_None
;
1655 static void *SwigwxFileDataObjectTowxDataObjectSimple(void *ptr
) {
1656 wxFileDataObject
*src
;
1657 wxDataObjectSimple
*dest
;
1658 src
= (wxFileDataObject
*) ptr
;
1659 dest
= (wxDataObjectSimple
*) src
;
1660 return (void *) dest
;
1663 static void *SwigwxFileDataObjectTowxDataObject(void *ptr
) {
1664 wxFileDataObject
*src
;
1666 src
= (wxFileDataObject
*) ptr
;
1667 dest
= (wxDataObject
*) src
;
1668 return (void *) dest
;
1671 #define new_wxFileDataObject() (new wxFileDataObject())
1672 static PyObject
*_wrap_new_wxFileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1674 wxFileDataObject
* _result
;
1675 char *_kwnames
[] = { NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDataObject",_kwnames
))
1682 wxPy_BEGIN_ALLOW_THREADS
;
1683 _result
= (wxFileDataObject
*)new_wxFileDataObject();
1685 wxPy_END_ALLOW_THREADS
;
1687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDataObject_p");
1688 _resultobj
= Py_BuildValue("s",_ptemp
);
1691 _resultobj
= Py_None
;
1696 static PyObject
* wxFileDataObject_GetFilenames(wxFileDataObject
*self
) {
1697 const wxArrayString
& strings
= self
->GetFilenames();
1698 PyObject
* list
= PyList_New(0);
1699 for (size_t x
=0; x
<strings
.GetCount(); x
++)
1700 PyList_Append(list
, PyString_FromString(strings
[x
]));
1703 static PyObject
*_wrap_wxFileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1706 wxFileDataObject
* _arg0
;
1707 PyObject
* _argo0
= 0;
1708 char *_kwnames
[] = { "self", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDataObject_GetFilenames",_kwnames
,&_argo0
))
1714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_GetFilenames. Expected _wxFileDataObject_p.");
1721 wxPy_BEGIN_ALLOW_THREADS
;
1722 _result
= (PyObject
*)wxFileDataObject_GetFilenames(_arg0
);
1724 wxPy_END_ALLOW_THREADS
;
1726 _resultobj
= _result
;
1731 static void *SwigwxCustomDataObjectTowxDataObjectSimple(void *ptr
) {
1732 wxCustomDataObject
*src
;
1733 wxDataObjectSimple
*dest
;
1734 src
= (wxCustomDataObject
*) ptr
;
1735 dest
= (wxDataObjectSimple
*) src
;
1736 return (void *) dest
;
1739 static void *SwigwxCustomDataObjectTowxDataObject(void *ptr
) {
1740 wxCustomDataObject
*src
;
1742 src
= (wxCustomDataObject
*) ptr
;
1743 dest
= (wxDataObject
*) src
;
1744 return (void *) dest
;
1747 #define new_wxCustomDataObject(_swigarg0) (new wxCustomDataObject(_swigarg0))
1748 static PyObject
*_wrap_new_wxCustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1750 wxCustomDataObject
* _result
;
1751 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1752 PyObject
* _argo0
= 0;
1753 char *_kwnames
[] = { "format", NULL
};
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxCustomDataObject",_kwnames
,&_argo0
))
1760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCustomDataObject. Expected _wxDataFormat_p.");
1767 wxPy_BEGIN_ALLOW_THREADS
;
1768 _result
= (wxCustomDataObject
*)new_wxCustomDataObject(*_arg0
);
1770 wxPy_END_ALLOW_THREADS
;
1772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCustomDataObject_p");
1773 _resultobj
= Py_BuildValue("s",_ptemp
);
1776 _resultobj
= Py_None
;
1781 static void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
* data
) {
1782 if (PyString_Check(data
)) {
1783 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1786 static PyObject
*_wrap_wxCustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1788 wxCustomDataObject
* _arg0
;
1790 PyObject
* _argo0
= 0;
1791 PyObject
* _obj1
= 0;
1792 char *_kwnames
[] = { "self","data", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_TakeData",_kwnames
,&_argo0
,&_obj1
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_TakeData. Expected _wxCustomDataObject_p.");
1808 wxPy_BEGIN_ALLOW_THREADS
;
1809 wxCustomDataObject_TakeData(_arg0
,_arg1
);
1811 wxPy_END_ALLOW_THREADS
;
1812 } Py_INCREF(Py_None
);
1813 _resultobj
= Py_None
;
1817 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
* data
) {
1818 if (PyString_Check(data
)) {
1819 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1823 static PyObject
*_wrap_wxCustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1826 wxCustomDataObject
* _arg0
;
1828 PyObject
* _argo0
= 0;
1829 PyObject
* _obj1
= 0;
1830 char *_kwnames
[] = { "self","data", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_SetData",_kwnames
,&_argo0
,&_obj1
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_SetData. Expected _wxCustomDataObject_p.");
1846 wxPy_BEGIN_ALLOW_THREADS
;
1847 _result
= (bool )wxCustomDataObject_SetData(_arg0
,_arg1
);
1849 wxPy_END_ALLOW_THREADS
;
1850 } _resultobj
= Py_BuildValue("i",_result
);
1854 #define wxCustomDataObject_GetSize(_swigobj) (_swigobj->GetSize())
1855 static PyObject
*_wrap_wxCustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1858 wxCustomDataObject
* _arg0
;
1859 PyObject
* _argo0
= 0;
1860 char *_kwnames
[] = { "self", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetSize",_kwnames
,&_argo0
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetSize. Expected _wxCustomDataObject_p.");
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 _result
= (size_t )wxCustomDataObject_GetSize(_arg0
);
1876 wxPy_END_ALLOW_THREADS
;
1877 } _resultobj
= Py_BuildValue("i",_result
);
1881 static PyObject
* wxCustomDataObject_GetData(wxCustomDataObject
*self
) {
1882 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1884 static PyObject
*_wrap_wxCustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1887 wxCustomDataObject
* _arg0
;
1888 PyObject
* _argo0
= 0;
1889 char *_kwnames
[] = { "self", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetData",_kwnames
,&_argo0
))
1895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetData. Expected _wxCustomDataObject_p.");
1902 wxPy_BEGIN_ALLOW_THREADS
;
1903 _result
= (PyObject
*)wxCustomDataObject_GetData(_arg0
);
1905 wxPy_END_ALLOW_THREADS
;
1907 _resultobj
= _result
;
1912 static void *SwigwxClipboardTowxObject(void *ptr
) {
1915 src
= (wxClipboard
*) ptr
;
1916 dest
= (wxObject
*) src
;
1917 return (void *) dest
;
1920 #define new_wxClipboard() (new wxClipboard())
1921 static PyObject
*_wrap_new_wxClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
* _resultobj
;
1923 wxClipboard
* _result
;
1924 char *_kwnames
[] = { NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxClipboard",_kwnames
))
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= (wxClipboard
*)new_wxClipboard();
1934 wxPy_END_ALLOW_THREADS
;
1936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClipboard_p");
1937 _resultobj
= Py_BuildValue("s",_ptemp
);
1940 _resultobj
= Py_None
;
1945 #define wxClipboard_Open(_swigobj) (_swigobj->Open())
1946 static PyObject
*_wrap_wxClipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1949 wxClipboard
* _arg0
;
1950 PyObject
* _argo0
= 0;
1951 char *_kwnames
[] = { "self", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Open",_kwnames
,&_argo0
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Open. Expected _wxClipboard_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (bool )wxClipboard_Open(_arg0
);
1967 wxPy_END_ALLOW_THREADS
;
1968 } _resultobj
= Py_BuildValue("i",_result
);
1972 #define wxClipboard_Close(_swigobj) (_swigobj->Close())
1973 static PyObject
*_wrap_wxClipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1975 wxClipboard
* _arg0
;
1976 PyObject
* _argo0
= 0;
1977 char *_kwnames
[] = { "self", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Close",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Close. Expected _wxClipboard_p.");
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 wxClipboard_Close(_arg0
);
1993 wxPy_END_ALLOW_THREADS
;
1994 } Py_INCREF(Py_None
);
1995 _resultobj
= Py_None
;
1999 #define wxClipboard_IsOpened(_swigobj) (_swigobj->IsOpened())
2000 static PyObject
*_wrap_wxClipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 wxClipboard
* _arg0
;
2004 PyObject
* _argo0
= 0;
2005 char *_kwnames
[] = { "self", NULL
};
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_IsOpened",_kwnames
,&_argo0
))
2011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsOpened. Expected _wxClipboard_p.");
2018 wxPy_BEGIN_ALLOW_THREADS
;
2019 _result
= (bool )wxClipboard_IsOpened(_arg0
);
2021 wxPy_END_ALLOW_THREADS
;
2022 } _resultobj
= Py_BuildValue("i",_result
);
2026 #define wxClipboard_AddData(_swigobj,_swigarg0) (_swigobj->AddData(_swigarg0))
2027 static PyObject
*_wrap_wxClipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2030 wxClipboard
* _arg0
;
2031 wxDataObject
* _arg1
;
2032 PyObject
* _argo0
= 0;
2033 PyObject
* _argo1
= 0;
2034 char *_kwnames
[] = { "self","data", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_AddData",_kwnames
,&_argo0
,&_argo1
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_AddData. Expected _wxClipboard_p.");
2047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_AddData. Expected _wxDataObject_p.");
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 _result
= (bool )wxClipboard_AddData(_arg0
,_arg1
);
2057 wxPy_END_ALLOW_THREADS
;
2058 } _resultobj
= Py_BuildValue("i",_result
);
2062 #define wxClipboard_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2063 static PyObject
*_wrap_wxClipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2066 wxClipboard
* _arg0
;
2067 wxDataObject
* _arg1
;
2068 PyObject
* _argo0
= 0;
2069 PyObject
* _argo1
= 0;
2070 char *_kwnames
[] = { "self","data", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_SetData",_kwnames
,&_argo0
,&_argo1
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_SetData. Expected _wxClipboard_p.");
2083 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_SetData. Expected _wxDataObject_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 _result
= (bool )wxClipboard_SetData(_arg0
,_arg1
);
2093 wxPy_END_ALLOW_THREADS
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxClipboard_IsSupported(_swigobj,_swigarg0) (_swigobj->IsSupported(_swigarg0))
2099 static PyObject
*_wrap_wxClipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2102 wxClipboard
* _arg0
;
2103 wxDataFormat
* _arg1
;
2104 PyObject
* _argo0
= 0;
2105 PyObject
* _argo1
= 0;
2106 char *_kwnames
[] = { "self","format", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_IsSupported",_kwnames
,&_argo0
,&_argo1
))
2112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsSupported. Expected _wxClipboard_p.");
2119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_IsSupported. Expected _wxDataFormat_p.");
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 _result
= (bool )wxClipboard_IsSupported(_arg0
,*_arg1
);
2129 wxPy_END_ALLOW_THREADS
;
2130 } _resultobj
= Py_BuildValue("i",_result
);
2134 #define wxClipboard_GetData(_swigobj,_swigarg0) (_swigobj->GetData(_swigarg0))
2135 static PyObject
*_wrap_wxClipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
* _resultobj
;
2138 wxClipboard
* _arg0
;
2139 wxDataObject
* _arg1
;
2140 PyObject
* _argo0
= 0;
2141 PyObject
* _argo1
= 0;
2142 char *_kwnames
[] = { "self","data", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_GetData",_kwnames
,&_argo0
,&_argo1
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_GetData. Expected _wxClipboard_p.");
2155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_GetData. Expected _wxDataObject_p.");
2162 wxPy_BEGIN_ALLOW_THREADS
;
2163 _result
= (bool )wxClipboard_GetData(_arg0
,*_arg1
);
2165 wxPy_END_ALLOW_THREADS
;
2166 } _resultobj
= Py_BuildValue("i",_result
);
2170 #define wxClipboard_Clear(_swigobj) (_swigobj->Clear())
2171 static PyObject
*_wrap_wxClipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2173 wxClipboard
* _arg0
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Clear",_kwnames
,&_argo0
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Clear. Expected _wxClipboard_p.");
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 wxClipboard_Clear(_arg0
);
2191 wxPy_END_ALLOW_THREADS
;
2192 } Py_INCREF(Py_None
);
2193 _resultobj
= Py_None
;
2197 #define wxClipboard_Flush(_swigobj) (_swigobj->Flush())
2198 static PyObject
*_wrap_wxClipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2201 wxClipboard
* _arg0
;
2202 PyObject
* _argo0
= 0;
2203 char *_kwnames
[] = { "self", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Flush",_kwnames
,&_argo0
))
2209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Flush. Expected _wxClipboard_p.");
2216 wxPy_BEGIN_ALLOW_THREADS
;
2217 _result
= (bool )wxClipboard_Flush(_arg0
);
2219 wxPy_END_ALLOW_THREADS
;
2220 } _resultobj
= Py_BuildValue("i",_result
);
2224 #define wxClipboard_UsePrimarySelection(_swigobj,_swigarg0) (_swigobj->UsePrimarySelection(_swigarg0))
2225 static PyObject
*_wrap_wxClipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2227 wxClipboard
* _arg0
;
2228 int _arg1
= (int ) FALSE
;
2229 PyObject
* _argo0
= 0;
2230 char *_kwnames
[] = { "self","primary", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxClipboard_UsePrimarySelection",_kwnames
,&_argo0
,&_arg1
))
2236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_UsePrimarySelection. Expected _wxClipboard_p.");
2243 wxPy_BEGIN_ALLOW_THREADS
;
2244 wxClipboard_UsePrimarySelection(_arg0
,_arg1
);
2246 wxPy_END_ALLOW_THREADS
;
2247 } Py_INCREF(Py_None
);
2248 _resultobj
= Py_None
;
2252 #define new_wxDropSource(_swigarg0,_swigarg1) (new wxPyDropSource(_swigarg0,_swigarg1))
2253 static PyObject
*_wrap_new_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2255 wxPyDropSource
* _result
;
2256 wxWindow
* _arg0
= (wxWindow
*) NULL
;
2257 wxIcon
* _arg1
= (wxIcon
*) &wxNullIcon
;
2258 PyObject
* _argo0
= 0;
2259 PyObject
* _argo1
= 0;
2260 char *_kwnames
[] = { "win","go", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxDropSource",_kwnames
,&_argo0
,&_argo1
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDropSource. Expected _wxWindow_p.");
2274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDropSource. Expected _wxIcon_p.");
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 _result
= (wxPyDropSource
*)new_wxDropSource(_arg0
,*_arg1
);
2284 wxPy_END_ALLOW_THREADS
;
2286 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropSource_p");
2287 _resultobj
= Py_BuildValue("s",_ptemp
);
2290 _resultobj
= Py_None
;
2295 #define wxDropSource__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
2296 static PyObject
*_wrap_wxDropSource__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2298 wxPyDropSource
* _arg0
;
2302 PyObject
* _argo0
= 0;
2303 PyObject
* _obj1
= 0;
2304 PyObject
* _obj2
= 0;
2305 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxDropSource__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
2311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource__setSelf. Expected _wxPyDropSource_p.");
2324 wxPy_BEGIN_ALLOW_THREADS
;
2325 wxDropSource__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
2327 wxPy_END_ALLOW_THREADS
;
2328 } Py_INCREF(Py_None
);
2329 _resultobj
= Py_None
;
2333 #define delete_wxPyDropSource(_swigobj) (delete _swigobj)
2334 static PyObject
*_wrap_delete_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2336 wxPyDropSource
* _arg0
;
2337 PyObject
* _argo0
= 0;
2338 char *_kwnames
[] = { "self", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDropSource",_kwnames
,&_argo0
))
2344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDropSource. Expected _wxPyDropSource_p.");
2351 wxPy_BEGIN_ALLOW_THREADS
;
2352 delete_wxPyDropSource(_arg0
);
2354 wxPy_END_ALLOW_THREADS
;
2355 } Py_INCREF(Py_None
);
2356 _resultobj
= Py_None
;
2360 #define wxDropSource_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2361 static PyObject
*_wrap_wxDropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2363 wxPyDropSource
* _arg0
;
2364 wxDataObject
* _arg1
;
2365 PyObject
* _argo0
= 0;
2366 PyObject
* _argo1
= 0;
2367 char *_kwnames
[] = { "self","data", NULL
};
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource_SetData",_kwnames
,&_argo0
,&_argo1
))
2373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetData. Expected _wxPyDropSource_p.");
2380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDropSource_SetData. Expected _wxDataObject_p.");
2387 wxPy_BEGIN_ALLOW_THREADS
;
2388 wxDropSource_SetData(_arg0
,*_arg1
);
2390 wxPy_END_ALLOW_THREADS
;
2391 } Py_INCREF(Py_None
);
2392 _resultobj
= Py_None
;
2396 #define wxDropSource_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2397 static PyObject
*_wrap_wxDropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2399 wxDataObject
* _result
;
2400 wxPyDropSource
* _arg0
;
2401 PyObject
* _argo0
= 0;
2402 char *_kwnames
[] = { "self", NULL
};
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropSource_GetDataObject",_kwnames
,&_argo0
))
2409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_GetDataObject. Expected _wxPyDropSource_p.");
2416 wxPy_BEGIN_ALLOW_THREADS
;
2417 _result
= (wxDataObject
*)wxDropSource_GetDataObject(_arg0
);
2419 wxPy_END_ALLOW_THREADS
;
2421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2422 _resultobj
= Py_BuildValue("s",_ptemp
);
2425 _resultobj
= Py_None
;
2430 #define wxDropSource_SetCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursor(_swigarg0,_swigarg1))
2431 static PyObject
*_wrap_wxDropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxPyDropSource
* _arg0
;
2436 PyObject
* _argo0
= 0;
2437 PyObject
* _argo2
= 0;
2438 char *_kwnames
[] = { "self","res","cursor", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxDropSource_SetCursor",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetCursor. Expected _wxPyDropSource_p.");
2451 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDropSource_SetCursor. Expected _wxCursor_p.");
2458 wxPy_BEGIN_ALLOW_THREADS
;
2459 wxDropSource_SetCursor(_arg0
,_arg1
,*_arg2
);
2461 wxPy_END_ALLOW_THREADS
;
2462 } Py_INCREF(Py_None
);
2463 _resultobj
= Py_None
;
2467 #define wxDropSource_DoDragDrop(_swigobj,_swigarg0) (_swigobj->DoDragDrop(_swigarg0))
2468 static PyObject
*_wrap_wxDropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2470 wxDragResult _result
;
2471 wxPyDropSource
* _arg0
;
2472 int _arg1
= (int ) FALSE
;
2473 PyObject
* _argo0
= 0;
2474 char *_kwnames
[] = { "self","bAllowMove", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDropSource_DoDragDrop",_kwnames
,&_argo0
,&_arg1
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_DoDragDrop. Expected _wxPyDropSource_p.");
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 _result
= (wxDragResult
)wxDropSource_DoDragDrop(_arg0
,_arg1
);
2490 wxPy_END_ALLOW_THREADS
;
2491 } _resultobj
= Py_BuildValue("i",_result
);
2495 #define wxDropSource_base_GiveFeedback(_swigobj,_swigarg0) (_swigobj->base_GiveFeedback(_swigarg0))
2496 static PyObject
*_wrap_wxDropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2499 wxPyDropSource
* _arg0
;
2501 PyObject
* _argo0
= 0;
2502 char *_kwnames
[] = { "self","effect", NULL
};
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDropSource_base_GiveFeedback",_kwnames
,&_argo0
,&_arg1
))
2508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_base_GiveFeedback. Expected _wxPyDropSource_p.");
2515 wxPy_BEGIN_ALLOW_THREADS
;
2516 _result
= (bool )wxDropSource_base_GiveFeedback(_arg0
,_arg1
);
2518 wxPy_END_ALLOW_THREADS
;
2519 } _resultobj
= Py_BuildValue("i",_result
);
2523 static void *SwigwxPyDropTargetTowxDropTarget(void *ptr
) {
2524 wxPyDropTarget
*src
;
2526 src
= (wxPyDropTarget
*) ptr
;
2527 dest
= (wxDropTarget
*) src
;
2528 return (void *) dest
;
2531 #define new_wxPyDropTarget(_swigarg0) (new wxPyDropTarget(_swigarg0))
2532 static PyObject
*_wrap_new_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
* _resultobj
;
2534 wxPyDropTarget
* _result
;
2535 wxDataObject
* _arg0
= (wxDataObject
*) NULL
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "dataObject", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDropTarget",_kwnames
,&_argo0
))
2544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDropTarget. Expected _wxDataObject_p.");
2551 wxPy_BEGIN_ALLOW_THREADS
;
2552 _result
= (wxPyDropTarget
*)new_wxPyDropTarget(_arg0
);
2554 wxPy_END_ALLOW_THREADS
;
2556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropTarget_p");
2557 _resultobj
= Py_BuildValue("s",_ptemp
);
2560 _resultobj
= Py_None
;
2565 #define wxPyDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2566 static PyObject
*_wrap_wxPyDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2568 wxPyDropTarget
* _arg0
;
2571 PyObject
* _argo0
= 0;
2572 PyObject
* _obj1
= 0;
2573 PyObject
* _obj2
= 0;
2574 char *_kwnames
[] = { "self","self","_class", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget__setSelf. Expected _wxPyDropTarget_p.");
2593 wxPy_BEGIN_ALLOW_THREADS
;
2594 wxPyDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2596 wxPy_END_ALLOW_THREADS
;
2597 } Py_INCREF(Py_None
);
2598 _resultobj
= Py_None
;
2602 #define delete_wxPyDropTarget(_swigobj) (delete _swigobj)
2603 static PyObject
*_wrap_delete_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
* _resultobj
;
2605 wxPyDropTarget
* _arg0
;
2606 PyObject
* _argo0
= 0;
2607 char *_kwnames
[] = { "self", NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyDropTarget",_kwnames
,&_argo0
))
2613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyDropTarget. Expected _wxPyDropTarget_p.");
2620 wxPy_BEGIN_ALLOW_THREADS
;
2621 delete_wxPyDropTarget(_arg0
);
2623 wxPy_END_ALLOW_THREADS
;
2624 } Py_INCREF(Py_None
);
2625 _resultobj
= Py_None
;
2629 #define wxPyDropTarget_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2630 static PyObject
*_wrap_wxPyDropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2632 wxDataObject
* _result
;
2633 wxPyDropTarget
* _arg0
;
2634 PyObject
* _argo0
= 0;
2635 char *_kwnames
[] = { "self", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetDataObject",_kwnames
,&_argo0
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetDataObject. Expected _wxPyDropTarget_p.");
2649 wxPy_BEGIN_ALLOW_THREADS
;
2650 _result
= (wxDataObject
*)wxPyDropTarget_GetDataObject(_arg0
);
2652 wxPy_END_ALLOW_THREADS
;
2654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2655 _resultobj
= Py_BuildValue("s",_ptemp
);
2658 _resultobj
= Py_None
;
2663 #define wxPyDropTarget_SetDataObject(_swigobj,_swigarg0) (_swigobj->SetDataObject(_swigarg0))
2664 static PyObject
*_wrap_wxPyDropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2666 wxPyDropTarget
* _arg0
;
2667 wxDataObject
* _arg1
;
2668 PyObject
* _argo0
= 0;
2669 PyObject
* _argo1
= 0;
2670 char *_kwnames
[] = { "self","dataObject", NULL
};
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget_SetDataObject",_kwnames
,&_argo0
,&_argo1
))
2676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_SetDataObject. Expected _wxPyDropTarget_p.");
2683 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyDropTarget_SetDataObject. Expected _wxDataObject_p.");
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 wxPyDropTarget_SetDataObject(_arg0
,_arg1
);
2693 wxPy_END_ALLOW_THREADS
;
2694 } Py_INCREF(Py_None
);
2695 _resultobj
= Py_None
;
2699 #define wxPyDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2700 static PyObject
*_wrap_wxPyDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2702 wxDragResult _result
;
2703 wxPyDropTarget
* _arg0
;
2707 PyObject
* _argo0
= 0;
2708 char *_kwnames
[] = { "self","x","y","def", NULL
};
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnEnter. Expected _wxPyDropTarget_p.");
2721 wxPy_BEGIN_ALLOW_THREADS
;
2722 _result
= (wxDragResult
)wxPyDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2724 wxPy_END_ALLOW_THREADS
;
2725 } _resultobj
= Py_BuildValue("i",_result
);
2729 #define wxPyDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2730 static PyObject
*_wrap_wxPyDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
* _resultobj
;
2732 wxDragResult _result
;
2733 wxPyDropTarget
* _arg0
;
2737 PyObject
* _argo0
= 0;
2738 char *_kwnames
[] = { "self","x","y","def", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDragOver. Expected _wxPyDropTarget_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 _result
= (wxDragResult
)wxPyDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2754 wxPy_END_ALLOW_THREADS
;
2755 } _resultobj
= Py_BuildValue("i",_result
);
2759 #define wxPyDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2760 static PyObject
*_wrap_wxPyDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2762 wxPyDropTarget
* _arg0
;
2763 PyObject
* _argo0
= 0;
2764 char *_kwnames
[] = { "self", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnLeave. Expected _wxPyDropTarget_p.");
2777 wxPy_BEGIN_ALLOW_THREADS
;
2778 wxPyDropTarget_base_OnLeave(_arg0
);
2780 wxPy_END_ALLOW_THREADS
;
2781 } Py_INCREF(Py_None
);
2782 _resultobj
= Py_None
;
2786 #define wxPyDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2787 static PyObject
*_wrap_wxPyDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2790 wxPyDropTarget
* _arg0
;
2793 PyObject
* _argo0
= 0;
2794 char *_kwnames
[] = { "self","x","y", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDrop. Expected _wxPyDropTarget_p.");
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 _result
= (bool )wxPyDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2810 wxPy_END_ALLOW_THREADS
;
2811 } _resultobj
= Py_BuildValue("i",_result
);
2815 #define wxPyDropTarget_GetData(_swigobj) (_swigobj->GetData())
2816 static PyObject
*_wrap_wxPyDropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2819 wxPyDropTarget
* _arg0
;
2820 PyObject
* _argo0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetData",_kwnames
,&_argo0
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetData. Expected _wxPyDropTarget_p.");
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 _result
= (bool )wxPyDropTarget_GetData(_arg0
);
2837 wxPy_END_ALLOW_THREADS
;
2838 } _resultobj
= Py_BuildValue("i",_result
);
2842 static void *SwigwxPyTextDropTargetTowxPyDropTarget(void *ptr
) {
2843 wxPyTextDropTarget
*src
;
2844 wxPyDropTarget
*dest
;
2845 src
= (wxPyTextDropTarget
*) ptr
;
2846 dest
= (wxPyDropTarget
*) src
;
2847 return (void *) dest
;
2850 static void *SwigwxPyTextDropTargetTowxDropTarget(void *ptr
) {
2851 wxPyTextDropTarget
*src
;
2853 src
= (wxPyTextDropTarget
*) ptr
;
2854 dest
= (wxDropTarget
*) src
;
2855 return (void *) dest
;
2858 #define new_wxTextDropTarget() (new wxPyTextDropTarget())
2859 static PyObject
*_wrap_new_wxTextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2861 wxPyTextDropTarget
* _result
;
2862 char *_kwnames
[] = { NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTextDropTarget",_kwnames
))
2869 wxPy_BEGIN_ALLOW_THREADS
;
2870 _result
= (wxPyTextDropTarget
*)new_wxTextDropTarget();
2872 wxPy_END_ALLOW_THREADS
;
2874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDropTarget_p");
2875 _resultobj
= Py_BuildValue("s",_ptemp
);
2878 _resultobj
= Py_None
;
2883 #define wxTextDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2884 static PyObject
*_wrap_wxTextDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2886 wxPyTextDropTarget
* _arg0
;
2889 PyObject
* _argo0
= 0;
2890 PyObject
* _obj1
= 0;
2891 PyObject
* _obj2
= 0;
2892 char *_kwnames
[] = { "self","self","_class", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget__setSelf. Expected _wxPyTextDropTarget_p.");
2911 wxPy_BEGIN_ALLOW_THREADS
;
2912 wxTextDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2914 wxPy_END_ALLOW_THREADS
;
2915 } Py_INCREF(Py_None
);
2916 _resultobj
= Py_None
;
2920 #define wxTextDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2921 static PyObject
*_wrap_wxTextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2923 wxDragResult _result
;
2924 wxPyTextDropTarget
* _arg0
;
2928 PyObject
* _argo0
= 0;
2929 char *_kwnames
[] = { "self","x","y","def", NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnEnter. Expected _wxPyTextDropTarget_p.");
2942 wxPy_BEGIN_ALLOW_THREADS
;
2943 _result
= (wxDragResult
)wxTextDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2945 wxPy_END_ALLOW_THREADS
;
2946 } _resultobj
= Py_BuildValue("i",_result
);
2950 #define wxTextDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2951 static PyObject
*_wrap_wxTextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2953 wxDragResult _result
;
2954 wxPyTextDropTarget
* _arg0
;
2958 PyObject
* _argo0
= 0;
2959 char *_kwnames
[] = { "self","x","y","def", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDragOver. Expected _wxPyTextDropTarget_p.");
2972 wxPy_BEGIN_ALLOW_THREADS
;
2973 _result
= (wxDragResult
)wxTextDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2975 wxPy_END_ALLOW_THREADS
;
2976 } _resultobj
= Py_BuildValue("i",_result
);
2980 #define wxTextDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2981 static PyObject
*_wrap_wxTextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2983 wxPyTextDropTarget
* _arg0
;
2984 PyObject
* _argo0
= 0;
2985 char *_kwnames
[] = { "self", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnLeave. Expected _wxPyTextDropTarget_p.");
2998 wxPy_BEGIN_ALLOW_THREADS
;
2999 wxTextDropTarget_base_OnLeave(_arg0
);
3001 wxPy_END_ALLOW_THREADS
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3007 #define wxTextDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3008 static PyObject
*_wrap_wxTextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3011 wxPyTextDropTarget
* _arg0
;
3014 PyObject
* _argo0
= 0;
3015 char *_kwnames
[] = { "self","x","y", NULL
};
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTextDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDrop. Expected _wxPyTextDropTarget_p.");
3028 wxPy_BEGIN_ALLOW_THREADS
;
3029 _result
= (bool )wxTextDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3031 wxPy_END_ALLOW_THREADS
;
3032 } _resultobj
= Py_BuildValue("i",_result
);
3036 #define wxTextDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3037 static PyObject
*_wrap_wxTextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3039 wxDragResult _result
;
3040 wxPyTextDropTarget
* _arg0
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "self","x","y","def", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnData. Expected _wxPyTextDropTarget_p.");
3058 wxPy_BEGIN_ALLOW_THREADS
;
3059 _result
= (wxDragResult
)wxTextDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3061 wxPy_END_ALLOW_THREADS
;
3062 } _resultobj
= Py_BuildValue("i",_result
);
3066 static void *SwigwxPyFileDropTargetTowxPyDropTarget(void *ptr
) {
3067 wxPyFileDropTarget
*src
;
3068 wxPyDropTarget
*dest
;
3069 src
= (wxPyFileDropTarget
*) ptr
;
3070 dest
= (wxPyDropTarget
*) src
;
3071 return (void *) dest
;
3074 static void *SwigwxPyFileDropTargetTowxDropTarget(void *ptr
) {
3075 wxPyFileDropTarget
*src
;
3077 src
= (wxPyFileDropTarget
*) ptr
;
3078 dest
= (wxDropTarget
*) src
;
3079 return (void *) dest
;
3082 #define new_wxFileDropTarget() (new wxPyFileDropTarget())
3083 static PyObject
*_wrap_new_wxFileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
* _resultobj
;
3085 wxPyFileDropTarget
* _result
;
3086 char *_kwnames
[] = { NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDropTarget",_kwnames
))
3093 wxPy_BEGIN_ALLOW_THREADS
;
3094 _result
= (wxPyFileDropTarget
*)new_wxFileDropTarget();
3096 wxPy_END_ALLOW_THREADS
;
3098 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileDropTarget_p");
3099 _resultobj
= Py_BuildValue("s",_ptemp
);
3102 _resultobj
= Py_None
;
3107 #define wxFileDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3108 static PyObject
*_wrap_wxFileDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 wxPyFileDropTarget
* _arg0
;
3113 PyObject
* _argo0
= 0;
3114 PyObject
* _obj1
= 0;
3115 PyObject
* _obj2
= 0;
3116 char *_kwnames
[] = { "self","self","_class", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget__setSelf. Expected _wxPyFileDropTarget_p.");
3135 wxPy_BEGIN_ALLOW_THREADS
;
3136 wxFileDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
3138 wxPy_END_ALLOW_THREADS
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxFileDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
3145 static PyObject
*_wrap_wxFileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3147 wxDragResult _result
;
3148 wxPyFileDropTarget
* _arg0
;
3152 PyObject
* _argo0
= 0;
3153 char *_kwnames
[] = { "self","x","y","def", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnEnter. Expected _wxPyFileDropTarget_p.");
3166 wxPy_BEGIN_ALLOW_THREADS
;
3167 _result
= (wxDragResult
)wxFileDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
3169 wxPy_END_ALLOW_THREADS
;
3170 } _resultobj
= Py_BuildValue("i",_result
);
3174 #define wxFileDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
3175 static PyObject
*_wrap_wxFileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3177 wxDragResult _result
;
3178 wxPyFileDropTarget
* _arg0
;
3182 PyObject
* _argo0
= 0;
3183 char *_kwnames
[] = { "self","x","y","def", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDragOver. Expected _wxPyFileDropTarget_p.");
3196 wxPy_BEGIN_ALLOW_THREADS
;
3197 _result
= (wxDragResult
)wxFileDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
3199 wxPy_END_ALLOW_THREADS
;
3200 } _resultobj
= Py_BuildValue("i",_result
);
3204 #define wxFileDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
3205 static PyObject
*_wrap_wxFileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3207 wxPyFileDropTarget
* _arg0
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDropTarget_base_OnLeave",_kwnames
,&_argo0
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnLeave. Expected _wxPyFileDropTarget_p.");
3222 wxPy_BEGIN_ALLOW_THREADS
;
3223 wxFileDropTarget_base_OnLeave(_arg0
);
3225 wxPy_END_ALLOW_THREADS
;
3226 } Py_INCREF(Py_None
);
3227 _resultobj
= Py_None
;
3231 #define wxFileDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3232 static PyObject
*_wrap_wxFileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3235 wxPyFileDropTarget
* _arg0
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self","x","y", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFileDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDrop. Expected _wxPyFileDropTarget_p.");
3252 wxPy_BEGIN_ALLOW_THREADS
;
3253 _result
= (bool )wxFileDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3255 wxPy_END_ALLOW_THREADS
;
3256 } _resultobj
= Py_BuildValue("i",_result
);
3260 #define wxFileDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3261 static PyObject
*_wrap_wxFileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3263 wxDragResult _result
;
3264 wxPyFileDropTarget
* _arg0
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self","x","y","def", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnData. Expected _wxPyFileDropTarget_p.");
3282 wxPy_BEGIN_ALLOW_THREADS
;
3283 _result
= (wxDragResult
)wxFileDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3285 wxPy_END_ALLOW_THREADS
;
3286 } _resultobj
= Py_BuildValue("i",_result
);
3290 static PyMethodDef clip_dndcMethods
[] = {
3291 { "wxFileDropTarget_base_OnData", (PyCFunction
) _wrap_wxFileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3292 { "wxFileDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3293 { "wxFileDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxFileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3294 { "wxFileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3295 { "wxFileDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxFileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3296 { "wxFileDropTarget__setSelf", (PyCFunction
) _wrap_wxFileDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3297 { "new_wxFileDropTarget", (PyCFunction
) _wrap_new_wxFileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3298 { "wxTextDropTarget_base_OnData", (PyCFunction
) _wrap_wxTextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3299 { "wxTextDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3300 { "wxTextDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxTextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3301 { "wxTextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3302 { "wxTextDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxTextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3303 { "wxTextDropTarget__setSelf", (PyCFunction
) _wrap_wxTextDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3304 { "new_wxTextDropTarget", (PyCFunction
) _wrap_new_wxTextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3305 { "wxPyDropTarget_GetData", (PyCFunction
) _wrap_wxPyDropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3306 { "wxPyDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3307 { "wxPyDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxPyDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3308 { "wxPyDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3309 { "wxPyDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxPyDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3310 { "wxPyDropTarget_SetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3311 { "wxPyDropTarget_GetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3312 { "delete_wxPyDropTarget", (PyCFunction
) _wrap_delete_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3313 { "wxPyDropTarget__setSelf", (PyCFunction
) _wrap_wxPyDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3314 { "new_wxPyDropTarget", (PyCFunction
) _wrap_new_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3315 { "wxDropSource_base_GiveFeedback", (PyCFunction
) _wrap_wxDropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
3316 { "wxDropSource_DoDragDrop", (PyCFunction
) _wrap_wxDropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
3317 { "wxDropSource_SetCursor", (PyCFunction
) _wrap_wxDropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
3318 { "wxDropSource_GetDataObject", (PyCFunction
) _wrap_wxDropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3319 { "wxDropSource_SetData", (PyCFunction
) _wrap_wxDropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3320 { "delete_wxDropSource", (PyCFunction
) _wrap_delete_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3321 { "wxDropSource__setSelf", (PyCFunction
) _wrap_wxDropSource__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3322 { "new_wxDropSource", (PyCFunction
) _wrap_new_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3323 { "wxClipboard_UsePrimarySelection", (PyCFunction
) _wrap_wxClipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
3324 { "wxClipboard_Flush", (PyCFunction
) _wrap_wxClipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
3325 { "wxClipboard_Clear", (PyCFunction
) _wrap_wxClipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3326 { "wxClipboard_GetData", (PyCFunction
) _wrap_wxClipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3327 { "wxClipboard_IsSupported", (PyCFunction
) _wrap_wxClipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
3328 { "wxClipboard_SetData", (PyCFunction
) _wrap_wxClipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3329 { "wxClipboard_AddData", (PyCFunction
) _wrap_wxClipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
3330 { "wxClipboard_IsOpened", (PyCFunction
) _wrap_wxClipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
3331 { "wxClipboard_Close", (PyCFunction
) _wrap_wxClipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
3332 { "wxClipboard_Open", (PyCFunction
) _wrap_wxClipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
3333 { "new_wxClipboard", (PyCFunction
) _wrap_new_wxClipboard
, METH_VARARGS
| METH_KEYWORDS
},
3334 { "wxCustomDataObject_GetData", (PyCFunction
) _wrap_wxCustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3335 { "wxCustomDataObject_GetSize", (PyCFunction
) _wrap_wxCustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3336 { "wxCustomDataObject_SetData", (PyCFunction
) _wrap_wxCustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3337 { "wxCustomDataObject_TakeData", (PyCFunction
) _wrap_wxCustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
3338 { "new_wxCustomDataObject", (PyCFunction
) _wrap_new_wxCustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3339 { "wxFileDataObject_GetFilenames", (PyCFunction
) _wrap_wxFileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3340 { "new_wxFileDataObject", (PyCFunction
) _wrap_new_wxFileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3341 { "wxPyBitmapDataObject__setSelf", (PyCFunction
) _wrap_wxPyBitmapDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3342 { "new_wxPyBitmapDataObject", (PyCFunction
) _wrap_new_wxPyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3343 { "wxBitmapDataObject_SetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3344 { "wxBitmapDataObject_GetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3345 { "new_wxBitmapDataObject", (PyCFunction
) _wrap_new_wxBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3346 { "wxPyTextDataObject__setSelf", (PyCFunction
) _wrap_wxPyTextDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3347 { "new_wxPyTextDataObject", (PyCFunction
) _wrap_new_wxPyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3348 { "wxTextDataObject_SetText", (PyCFunction
) _wrap_wxTextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3349 { "wxTextDataObject_GetText", (PyCFunction
) _wrap_wxTextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3350 { "wxTextDataObject_GetTextLength", (PyCFunction
) _wrap_wxTextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
3351 { "new_wxTextDataObject", (PyCFunction
) _wrap_new_wxTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3352 { "wxDataObjectComposite_Add", (PyCFunction
) _wrap_wxDataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
3353 { "new_wxDataObjectComposite", (PyCFunction
) _wrap_new_wxDataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
3354 { "wxPyDataObjectSimple__setSelf", (PyCFunction
) _wrap_wxPyDataObjectSimple__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3355 { "new_wxPyDataObjectSimple", (PyCFunction
) _wrap_new_wxPyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3356 { "wxDataObjectSimple_SetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3357 { "wxDataObjectSimple_GetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3358 { "new_wxDataObjectSimple", (PyCFunction
) _wrap_new_wxDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3359 { "wxDataObject_IsSupportedFormat", (PyCFunction
) _wrap_wxDataObject_IsSupportedFormat
, METH_VARARGS
| METH_KEYWORDS
},
3360 { "wxDataObject_SetData", (PyCFunction
) _wrap_wxDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3361 { "wxDataObject_GetDataHere", (PyCFunction
) _wrap_wxDataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
3362 { "wxDataObject_GetDataSize", (PyCFunction
) _wrap_wxDataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
3363 { "wxDataObject_GetAllFormats", (PyCFunction
) _wrap_wxDataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
3364 { "wxDataObject_GetFormatCount", (PyCFunction
) _wrap_wxDataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
3365 { "wxDataObject_GetPreferredFormat", (PyCFunction
) _wrap_wxDataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
3366 { "delete_wxDataObject", (PyCFunction
) _wrap_delete_wxDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3367 { "wxDataFormat_SetId", (PyCFunction
) _wrap_wxDataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3368 { "wxDataFormat_GetId", (PyCFunction
) _wrap_wxDataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3369 { "wxDataFormat_GetType", (PyCFunction
) _wrap_wxDataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
3370 { "wxDataFormat_SetType", (PyCFunction
) _wrap_wxDataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
3371 { "delete_wxDataFormat", (PyCFunction
) _wrap_delete_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3372 { "new_wxDataFormat", (PyCFunction
) _wrap_new_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3373 { "wxIsDragResultOk", (PyCFunction
) _wrap_wxIsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
3374 { "wxCustomDataFormat", (PyCFunction
) _wrap_wxCustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3381 * This table is used by the pointer type-checker
3383 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3384 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3385 { "_signed_long","_long",0},
3386 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3387 { "_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3388 { "_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3389 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3390 { "_wxPrintQuality","_wxCoord",0},
3391 { "_wxPrintQuality","_int",0},
3392 { "_wxPrintQuality","_signed_int",0},
3393 { "_wxPrintQuality","_unsigned_int",0},
3394 { "_wxPrintQuality","_wxWindowID",0},
3395 { "_wxPrintQuality","_uint",0},
3396 { "_wxPrintQuality","_EBool",0},
3397 { "_wxPrintQuality","_size_t",0},
3398 { "_wxPrintQuality","_time_t",0},
3399 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3400 { "_class_wxRegionIterator","_wxRegionIterator",0},
3401 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3402 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3403 { "_wxCursor","_class_wxCursor",0},
3404 { "_wxMask","_class_wxMask",0},
3405 { "_wxPen","_class_wxPen",0},
3406 { "_byte","_unsigned_char",0},
3407 { "_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3408 { "_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3409 { "_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3410 { "_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3411 { "_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3412 { "_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3413 { "_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3414 { "_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3415 { "_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3416 { "_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3417 { "_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3418 { "_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3419 { "_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3420 { "_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3421 { "_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3422 { "_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3423 { "_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3424 { "_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3425 { "_wxDataObject","_class_wxDataObject",0},
3426 { "_wxColourDatabase","_class_wxColourDatabase",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 { "_wxGDIObject","_class_wxGDIObject",0},
3450 { "_wxDC","_class_wxDC",0},
3451 { "_class_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3452 { "_class_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3453 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3454 { "_class_wxObject","_class_wxClipboard",SwigwxClipboardTowxObject
},
3455 { "_class_wxObject","_wxClipboard",SwigwxClipboardTowxObject
},
3456 { "_class_wxObject","_wxObject",0},
3457 { "_size_t","_wxCoord",0},
3458 { "_size_t","_wxPrintQuality",0},
3459 { "_size_t","_time_t",0},
3460 { "_size_t","_unsigned_int",0},
3461 { "_size_t","_int",0},
3462 { "_size_t","_wxWindowID",0},
3463 { "_size_t","_uint",0},
3464 { "_class_wxRealPoint","_wxRealPoint",0},
3465 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
3466 { "_class_wxMask","_wxMask",0},
3467 { "_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3468 { "_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3469 { "_wxTextDataObject","_class_wxTextDataObject",0},
3470 { "_wxColour","_class_wxColour",0},
3471 { "_class_wxFileDataObject","_wxFileDataObject",0},
3472 { "_class_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3473 { "_class_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3474 { "_class_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3475 { "_class_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3476 { "_class_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3477 { "_class_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3478 { "_class_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3479 { "_class_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3480 { "_class_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3481 { "_class_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3482 { "_class_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3483 { "_class_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3484 { "_class_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3485 { "_class_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3486 { "_class_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3487 { "_class_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3488 { "_class_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3489 { "_class_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3490 { "_class_wxDataObject","_wxDataObject",0},
3491 { "_wxBrush","_class_wxBrush",0},
3492 { "_wxDataFormat","_class_wxDataFormat",0},
3493 { "_class_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3494 { "_class_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3495 { "_class_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3496 { "_class_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3497 { "_class_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3498 { "_class_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3499 { "_class_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3500 { "_class_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3501 { "_class_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3502 { "_class_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3503 { "_class_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3504 { "_class_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3505 { "_class_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3506 { "_class_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3507 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3508 { "_uint","_wxCoord",0},
3509 { "_uint","_wxPrintQuality",0},
3510 { "_uint","_time_t",0},
3511 { "_uint","_size_t",0},
3512 { "_uint","_unsigned_int",0},
3513 { "_uint","_int",0},
3514 { "_uint","_wxWindowID",0},
3515 { "_wxChar","_char",0},
3516 { "_wxRect","_class_wxRect",0},
3517 { "_wxPoint","_class_wxPoint",0},
3518 { "_char","_wxChar",0},
3519 { "_wxBitmap","_class_wxBitmap",0},
3520 { "_wxPenList","_class_wxPenList",0},
3521 { "_wxWindowDC","_class_wxWindowDC",0},
3522 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3523 { "_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3524 { "_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3525 { "_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3526 { "_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3527 { "_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3528 { "_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3529 { "_wxDropTarget","_class_wxDropTarget",0},
3530 { "_class_wxColourDatabase","_wxColourDatabase",0},
3531 { "_EBool","_wxCoord",0},
3532 { "_EBool","_wxPrintQuality",0},
3533 { "_EBool","_signed_int",0},
3534 { "_EBool","_int",0},
3535 { "_EBool","_wxWindowID",0},
3536 { "_class_wxRegion","_wxRegion",0},
3537 { "_class_wxDataFormat","_wxDataFormat",0},
3538 { "_wxFont","_class_wxFont",0},
3539 { "_class_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3540 { "_class_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3541 { "_class_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3542 { "_class_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3543 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3544 { "_unsigned_long","_long",0},
3545 { "_class_wxRect","_wxRect",0},
3546 { "_class_wxDC","_wxDC",0},
3547 { "_class_wxBrushList","_wxBrushList",0},
3548 { "_class_wxPenList","_wxPenList",0},
3549 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3550 { "_signed_int","_wxCoord",0},
3551 { "_signed_int","_wxPrintQuality",0},
3552 { "_signed_int","_EBool",0},
3553 { "_signed_int","_wxWindowID",0},
3554 { "_signed_int","_int",0},
3555 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3556 { "_class_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3557 { "_class_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3558 { "_class_wxTextDataObject","_wxTextDataObject",0},
3559 { "_wxScreenDC","_class_wxScreenDC",0},
3560 { "_WXTYPE","_short",0},
3561 { "_WXTYPE","_signed_short",0},
3562 { "_WXTYPE","_unsigned_short",0},
3563 { "_class_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3564 { "_class_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3565 { "_class_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3566 { "_class_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3567 { "_class_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3568 { "_class_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3569 { "_class_wxDropTarget","_wxDropTarget",0},
3570 { "_class_wxBrush","_wxBrush",0},
3571 { "_unsigned_short","_WXTYPE",0},
3572 { "_unsigned_short","_short",0},
3573 { "_class_wxFont","_wxFont",0},
3574 { "_wxClipboard","_class_wxClipboard",0},
3575 { "_wxBusyInfo","_class_wxBusyInfo",0},
3576 { "_wxFontList","_class_wxFontList",0},
3577 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3578 { "_wxClientDC","_class_wxClientDC",0},
3579 { "_wxObject","_class_wxClipboard",SwigwxClipboardTowxObject
},
3580 { "_wxObject","_wxClipboard",SwigwxClipboardTowxObject
},
3581 { "_wxObject","_class_wxObject",0},
3582 { "_class_wxPoint","_wxPoint",0},
3583 { "_wxRealPoint","_class_wxRealPoint",0},
3584 { "_signed_short","_WXTYPE",0},
3585 { "_signed_short","_short",0},
3586 { "_wxMemoryDC","_class_wxMemoryDC",0},
3587 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3588 { "_wxPaintDC","_class_wxPaintDC",0},
3589 { "_class_wxWindowDC","_wxWindowDC",0},
3590 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3591 { "_class_wxCursor","_wxCursor",0},
3592 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
3593 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3594 { "_unsigned_char","_byte",0},
3595 { "_unsigned_int","_wxCoord",0},
3596 { "_unsigned_int","_wxPrintQuality",0},
3597 { "_unsigned_int","_time_t",0},
3598 { "_unsigned_int","_size_t",0},
3599 { "_unsigned_int","_uint",0},
3600 { "_unsigned_int","_wxWindowID",0},
3601 { "_unsigned_int","_int",0},
3602 { "_wxIcon","_class_wxIcon",0},
3603 { "_class_wxPen","_wxPen",0},
3604 { "_short","_WXTYPE",0},
3605 { "_short","_unsigned_short",0},
3606 { "_short","_signed_short",0},
3607 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3608 { "_class_wxPyDropSource","_wxPyDropSource",0},
3609 { "_class_wxImageList","_wxImageList",0},
3610 { "_wxWindowID","_wxCoord",0},
3611 { "_wxWindowID","_wxPrintQuality",0},
3612 { "_wxWindowID","_time_t",0},
3613 { "_wxWindowID","_size_t",0},
3614 { "_wxWindowID","_EBool",0},
3615 { "_wxWindowID","_uint",0},
3616 { "_wxWindowID","_int",0},
3617 { "_wxWindowID","_signed_int",0},
3618 { "_wxWindowID","_unsigned_int",0},
3619 { "_class_wxGDIObject","_wxGDIObject",0},
3620 { "_int","_wxCoord",0},
3621 { "_int","_wxPrintQuality",0},
3622 { "_int","_time_t",0},
3623 { "_int","_size_t",0},
3624 { "_int","_EBool",0},
3625 { "_int","_uint",0},
3626 { "_int","_wxWindowID",0},
3627 { "_int","_unsigned_int",0},
3628 { "_int","_signed_int",0},
3629 { "_time_t","_wxCoord",0},
3630 { "_time_t","_wxPrintQuality",0},
3631 { "_time_t","_unsigned_int",0},
3632 { "_time_t","_int",0},
3633 { "_time_t","_wxWindowID",0},
3634 { "_time_t","_uint",0},
3635 { "_time_t","_size_t",0},
3636 { "_wxSize","_class_wxSize",0},
3637 { "_wxRegionIterator","_class_wxRegionIterator",0},
3638 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3639 { "_class_wxPaintDC","_wxPaintDC",0},
3640 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3641 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3642 { "_class_wxIcon","_wxIcon",0},
3643 { "_class_wxColour","_wxColour",0},
3644 { "_class_wxScreenDC","_wxScreenDC",0},
3645 { "_wxPalette","_class_wxPalette",0},
3646 { "_wxCoord","_int",0},
3647 { "_wxCoord","_signed_int",0},
3648 { "_wxCoord","_unsigned_int",0},
3649 { "_wxCoord","_wxWindowID",0},
3650 { "_wxCoord","_uint",0},
3651 { "_wxCoord","_EBool",0},
3652 { "_wxCoord","_size_t",0},
3653 { "_wxCoord","_time_t",0},
3654 { "_wxCoord","_wxPrintQuality",0},
3655 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3656 { "_wxRegion","_class_wxRegion",0},
3657 { "_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3658 { "_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3659 { "_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3660 { "_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3661 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3662 { "_class_wxBusyInfo","_wxBusyInfo",0},
3663 { "_class_wxFontList","_wxFontList",0},
3664 { "_class_wxClientDC","_wxClientDC",0},
3665 { "_wxBrushList","_class_wxBrushList",0},
3666 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3667 { "_class_wxSize","_wxSize",0},
3668 { "_class_wxBitmap","_wxBitmap",0},
3669 { "_class_wxMemoryDC","_wxMemoryDC",0},
3670 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3671 { "_class_wxPalette","_wxPalette",0},
3672 { "_wxFileDataObject","_class_wxFileDataObject",0},
3673 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3676 static PyObject
*SWIG_globals
;
3680 SWIGEXPORT(void) initclip_dndc() {
3682 SWIG_globals
= SWIG_newvarlink();
3683 m
= Py_InitModule("clip_dndc", clip_dndcMethods
);
3684 d
= PyModule_GetDict(m
);
3685 PyDict_SetItemString(d
,"wxDF_INVALID", PyInt_FromLong((long) wxDF_INVALID
));
3686 PyDict_SetItemString(d
,"wxDF_TEXT", PyInt_FromLong((long) wxDF_TEXT
));
3687 PyDict_SetItemString(d
,"wxDF_BITMAP", PyInt_FromLong((long) wxDF_BITMAP
));
3688 PyDict_SetItemString(d
,"wxDF_METAFILE", PyInt_FromLong((long) wxDF_METAFILE
));
3689 PyDict_SetItemString(d
,"wxDF_SYLK", PyInt_FromLong((long) wxDF_SYLK
));
3690 PyDict_SetItemString(d
,"wxDF_DIF", PyInt_FromLong((long) wxDF_DIF
));
3691 PyDict_SetItemString(d
,"wxDF_TIFF", PyInt_FromLong((long) wxDF_TIFF
));
3692 PyDict_SetItemString(d
,"wxDF_OEMTEXT", PyInt_FromLong((long) wxDF_OEMTEXT
));
3693 PyDict_SetItemString(d
,"wxDF_DIB", PyInt_FromLong((long) wxDF_DIB
));
3694 PyDict_SetItemString(d
,"wxDF_PALETTE", PyInt_FromLong((long) wxDF_PALETTE
));
3695 PyDict_SetItemString(d
,"wxDF_PENDATA", PyInt_FromLong((long) wxDF_PENDATA
));
3696 PyDict_SetItemString(d
,"wxDF_RIFF", PyInt_FromLong((long) wxDF_RIFF
));
3697 PyDict_SetItemString(d
,"wxDF_WAVE", PyInt_FromLong((long) wxDF_WAVE
));
3698 PyDict_SetItemString(d
,"wxDF_UNICODETEXT", PyInt_FromLong((long) wxDF_UNICODETEXT
));
3699 PyDict_SetItemString(d
,"wxDF_ENHMETAFILE", PyInt_FromLong((long) wxDF_ENHMETAFILE
));
3700 PyDict_SetItemString(d
,"wxDF_FILENAME", PyInt_FromLong((long) wxDF_FILENAME
));
3701 PyDict_SetItemString(d
,"wxDF_LOCALE", PyInt_FromLong((long) wxDF_LOCALE
));
3702 PyDict_SetItemString(d
,"wxDF_PRIVATE", PyInt_FromLong((long) wxDF_PRIVATE
));
3703 PyDict_SetItemString(d
,"wxDF_MAX", PyInt_FromLong((long) wxDF_MAX
));
3704 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
3705 SWIG_addvarlink(SWIG_globals
,"wxFormatInvalid",_wrap_wxPyFormatInvalid_get
, _wrap_wxPyFormatInvalid_set
);
3706 SWIG_addvarlink(SWIG_globals
,"wxTheClipboard",_wrap_wxPyTheClipboard_get
, _wrap_wxPyTheClipboard_set
);
3707 PyDict_SetItemString(d
,"wxDragError", PyInt_FromLong((long) wxDragError
));
3708 PyDict_SetItemString(d
,"wxDragNone", PyInt_FromLong((long) wxDragNone
));
3709 PyDict_SetItemString(d
,"wxDragCopy", PyInt_FromLong((long) wxDragCopy
));
3710 PyDict_SetItemString(d
,"wxDragMove", PyInt_FromLong((long) wxDragMove
));
3711 PyDict_SetItemString(d
,"wxDragCancel", PyInt_FromLong((long) wxDragCancel
));
3714 wxPyTheClipboard
= wxTheClipboard
;
3715 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
3716 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
3717 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
3718 PyDict_SetItemString(d
,"wxDataObject_Get", PyInt_FromLong((long) wxDataObject::Get
));
3719 PyDict_SetItemString(d
,"wxDataObject_Set", PyInt_FromLong((long) wxDataObject::Set
));
3720 PyDict_SetItemString(d
,"wxDataObject_Both", PyInt_FromLong((long) wxDataObject::Both
));
3723 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3724 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);