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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initclip_dndc
54 #define SWIG_name "clip_dndc"
57 #include <wx/dataobj.h>
58 #include <wx/clipbrd.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
108 // An alternate constructor...
109 wxDataFormat
* wxCustomDataFormat(const wxString
&id
) {
110 return new wxDataFormat(id
);
113 wxDataFormat wxPyFormatInvalid
;
114 // Create a new class for wxPython to use
115 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
117 wxPyDataObjectSimple(const wxDataFormat
& format
= wxPyFormatInvalid
)
118 : wxDataObjectSimple(format
) {}
120 DEC_PYCALLBACK_SIZET_(GetDataSize
);
121 bool GetDataHere(void *buf
);
122 bool SetData(size_t len
, const void *buf
);
126 IMP_PYCALLBACK_SIZET_(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
128 bool wxPyDataObjectSimple::GetDataHere(void *buf
) {
129 // We need to get the data for this object and write it to buf. I think
130 // the best way to do this for wxPython is to have the Python method
131 // return either a string or None and then act appropriately with the
135 bool doSave
= wxPyRestoreThread();
136 if (m_myInst
.findCallback("GetDataHere")) {
138 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
140 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
142 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
146 wxPySaveThread(doSave
);
150 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
151 // For this one we simply need to make a string from buf and len
152 // and send it to the Python method.
154 bool doSave
= wxPyRestoreThread();
155 if (m_myInst
.findCallback("SetData")) {
156 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
157 rval
= m_myInst
.callCallback(Py_BuildValue("(O)", data
));
160 wxPySaveThread(doSave
);
163 // Create a new class for wxPython to use
164 class wxPyTextDataObject
: public wxTextDataObject
{
166 wxPyTextDataObject(const wxString
& text
= wxEmptyString
)
167 : wxTextDataObject(text
) {}
169 DEC_PYCALLBACK_SIZET_(GetTextLength
);
170 DEC_PYCALLBACK_STRING_(GetText
);
171 DEC_PYCALLBACK__STRING(SetText
);
175 IMP_PYCALLBACK_SIZET_(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
176 IMP_PYCALLBACK_STRING_(wxPyTextDataObject
, wxTextDataObject
, GetText
);
177 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
179 // Create a new class for wxPython to use
180 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
182 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
183 : wxBitmapDataObject(bitmap
) {}
185 wxBitmap
GetBitmap();
186 void SetBitmap(const wxBitmap
& bitmap
);
190 wxBitmap
wxPyBitmapDataObject::GetBitmap() {
191 wxBitmap
* rval
= &wxNullBitmap
;
192 bool doSave
= wxPyRestoreThread();
193 if (m_myInst
.findCallback("GetBitmap")) {
196 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
198 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxBitmap_p"))
203 wxPySaveThread(doSave
);
207 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
208 bool doSave
= wxPyRestoreThread();
209 if (m_myInst
.findCallback("SetBitmap")) {
210 m_myInst
.callCallback(Py_BuildValue("(O)",
211 wxPyConstructObject((void*)&bitmap
, "wxBitmap")));
213 wxPySaveThread(doSave
);
216 // See below in the init function...
217 wxClipboard
* wxPyTheClipboard
;
219 class wxPyDropSource
: public wxDropSource
{
222 wxPyDropSource(wxWindow
*win
= NULL
,
223 const wxCursor
&cursorCopy
= wxNullCursor
,
224 const wxCursor
&cursorMove
= wxNullCursor
,
225 const wxCursor
&cursorStop
= wxNullCursor
)
226 : wxDropSource(win
, cursorCopy
, cursorMove
, cursorStop
) {}
228 wxPyDropSource(wxWindow
*win
= NULL
,
229 const wxIcon
&go
= wxNullIcon
)
230 : wxDropSource(win
, go
) {}
232 ~wxPyDropSource() { }
234 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
238 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
241 class wxPyDropTarget
: public wxDropTarget
{
243 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
244 : wxDropTarget(dataObject
) {}
246 // DEC_PYCALLBACK_SIZET_(GetFormatCount);
247 // DEC_PYCALLBACK_DATAFMT_SIZET(GetFormat);
249 DEC_PYCALLBACK__(OnLeave
);
250 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
251 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
252 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
253 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
258 // IMP_PYCALLBACK_SIZET_(wxPyDropTarget, wxDropTarget, GetFormatCount);
259 // IMP__PYCALLBACK_DATAFMT_SIZET(wxPyDropTarget, wxDropTarget, GetFormat);
261 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
262 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
263 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
264 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
265 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
268 class wxPyTextDropTarget
: public wxTextDropTarget
{
270 wxPyTextDropTarget() {}
272 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
274 DEC_PYCALLBACK__(OnLeave
);
275 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
276 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
277 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
278 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
283 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
284 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
285 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
286 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
287 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
288 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
291 class wxPyFileDropTarget
: public wxFileDropTarget
{
293 wxPyFileDropTarget() {}
295 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
297 DEC_PYCALLBACK__(OnLeave
);
298 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
299 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
300 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
301 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
306 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
307 const wxArrayString
& filenames
) {
309 bool doSave
= wxPyRestoreThread();
310 PyObject
* list
= PyList_New(0);
311 for (size_t i
=0; i
<filenames
.GetCount(); i
++) {
312 PyObject
* str
= PyString_FromString(filenames
[i
].c_str());
313 PyList_Append(list
, str
);
315 if (m_myInst
.findCallback("OnDropFiles"))
316 rval
= m_myInst
.callCallback(Py_BuildValue("(iiO)",x
,y
,list
));
318 wxPySaveThread(doSave
);
324 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
325 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
326 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
327 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
328 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
333 static PyObject
*_wrap_wxCustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
335 wxDataFormat
* _result
;
337 PyObject
* _obj0
= 0;
338 char *_kwnames
[] = { "id", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataFormat",_kwnames
,&_obj0
))
345 #if PYTHON_API_VERSION >= 1009
346 char* tmpPtr
; int tmpSize
;
347 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
348 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
351 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
353 _arg0
= new wxString(tmpPtr
, tmpSize
);
355 if (!PyString_Check(_obj0
)) {
356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
359 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
363 wxPy_BEGIN_ALLOW_THREADS
;
364 _result
= (wxDataFormat
*)wxCustomDataFormat(*_arg0
);
366 wxPy_END_ALLOW_THREADS
;
368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
369 _resultobj
= Py_BuildValue("s",_ptemp
);
372 _resultobj
= Py_None
;
381 static int _wrap_wxPyFormatInvalid_set(PyObject
*val
) {
383 PyErr_SetString(PyExc_TypeError
,"Variable wxFormatInvalid is read-only.");
387 static PyObject
*_wrap_wxPyFormatInvalid_get() {
391 SWIG_MakePtr(ptemp
,(char *) &wxPyFormatInvalid
,"_wxDataFormat_p");
392 pyobj
= PyString_FromString(ptemp
);
396 static int _wrap_wxPyTheClipboard_set(PyObject
*val
) {
398 PyErr_SetString(PyExc_TypeError
,"Variable wxTheClipboard is read-only.");
402 static PyObject
*_wrap_wxPyTheClipboard_get() {
406 SWIG_MakePtr(ptemp
, (char *) wxPyTheClipboard
,"_wxClipboard_p");
407 pyobj
= PyString_FromString(ptemp
);
411 static PyObject
*_wrap_wxIsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
415 char *_kwnames
[] = { "res", NULL
};
418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxIsDragResultOk",_kwnames
,&_arg0
))
421 wxPy_BEGIN_ALLOW_THREADS
;
422 _result
= (bool )wxIsDragResultOk(_arg0
);
424 wxPy_END_ALLOW_THREADS
;
425 } _resultobj
= Py_BuildValue("i",_result
);
429 #define new_wxDataFormat(_swigarg0) (new wxDataFormat(_swigarg0))
430 static PyObject
*_wrap_new_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
431 PyObject
* _resultobj
;
432 wxDataFormat
* _result
;
433 wxDataFormatId _arg0
;
434 char *_kwnames
[] = { "type", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDataFormat",_kwnames
,&_arg0
))
441 wxPy_BEGIN_ALLOW_THREADS
;
442 _result
= (wxDataFormat
*)new_wxDataFormat(_arg0
);
444 wxPy_END_ALLOW_THREADS
;
446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
447 _resultobj
= Py_BuildValue("s",_ptemp
);
450 _resultobj
= Py_None
;
455 #define delete_wxDataFormat(_swigobj) (delete _swigobj)
456 static PyObject
*_wrap_delete_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxDataFormat
* _arg0
;
459 PyObject
* _argo0
= 0;
460 char *_kwnames
[] = { "self", NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataFormat",_kwnames
,&_argo0
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataFormat. Expected _wxDataFormat_p.");
473 wxPy_BEGIN_ALLOW_THREADS
;
474 delete_wxDataFormat(_arg0
);
476 wxPy_END_ALLOW_THREADS
;
477 } Py_INCREF(Py_None
);
478 _resultobj
= Py_None
;
482 #define wxDataFormat_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
483 static PyObject
*_wrap_wxDataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
485 wxDataFormat
* _arg0
;
486 wxDataFormatId _arg1
;
487 PyObject
* _argo0
= 0;
488 char *_kwnames
[] = { "self","format", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDataFormat_SetType",_kwnames
,&_argo0
,&_arg1
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetType. Expected _wxDataFormat_p.");
501 wxPy_BEGIN_ALLOW_THREADS
;
502 wxDataFormat_SetType(_arg0
,_arg1
);
504 wxPy_END_ALLOW_THREADS
;
505 } Py_INCREF(Py_None
);
506 _resultobj
= Py_None
;
510 #define wxDataFormat_GetType(_swigobj) (_swigobj->GetType())
511 static PyObject
*_wrap_wxDataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
513 wxDataFormatId _result
;
514 wxDataFormat
* _arg0
;
515 PyObject
* _argo0
= 0;
516 char *_kwnames
[] = { "self", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetType",_kwnames
,&_argo0
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetType. Expected _wxDataFormat_p.");
529 wxPy_BEGIN_ALLOW_THREADS
;
530 _result
= (wxDataFormatId
)wxDataFormat_GetType(_arg0
);
532 wxPy_END_ALLOW_THREADS
;
533 } _resultobj
= Py_BuildValue("i",_result
);
537 #define wxDataFormat_GetId(_swigobj) (_swigobj->GetId())
538 static PyObject
*_wrap_wxDataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
541 wxDataFormat
* _arg0
;
542 PyObject
* _argo0
= 0;
543 char *_kwnames
[] = { "self", NULL
};
546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetId",_kwnames
,&_argo0
))
549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetId. Expected _wxDataFormat_p.");
556 wxPy_BEGIN_ALLOW_THREADS
;
557 _result
= new wxString (wxDataFormat_GetId(_arg0
));
559 wxPy_END_ALLOW_THREADS
;
561 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
569 #define wxDataFormat_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
570 static PyObject
*_wrap_wxDataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
571 PyObject
* _resultobj
;
572 wxDataFormat
* _arg0
;
574 PyObject
* _argo0
= 0;
575 char *_kwnames
[] = { "self","format", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDataFormat_SetId",_kwnames
,&_argo0
,&_arg1
))
581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetId. Expected _wxDataFormat_p.");
588 wxPy_BEGIN_ALLOW_THREADS
;
589 wxDataFormat_SetId(_arg0
,_arg1
);
591 wxPy_END_ALLOW_THREADS
;
592 } Py_INCREF(Py_None
);
593 _resultobj
= Py_None
;
597 #define delete_wxDataObject(_swigobj) (delete _swigobj)
598 static PyObject
*_wrap_delete_wxDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
600 wxDataObject
* _arg0
;
601 PyObject
* _argo0
= 0;
602 char *_kwnames
[] = { "self", NULL
};
605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataObject",_kwnames
,&_argo0
))
608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataObject. Expected _wxDataObject_p.");
615 wxPy_BEGIN_ALLOW_THREADS
;
616 delete_wxDataObject(_arg0
);
618 wxPy_END_ALLOW_THREADS
;
619 } Py_INCREF(Py_None
);
620 _resultobj
= Py_None
;
624 #define wxDataObject_GetPreferredFormat(_swigobj,_swigarg0) (_swigobj->GetPreferredFormat(_swigarg0))
625 static PyObject
*_wrap_wxDataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
627 wxDataFormat
* _result
;
628 wxDataObject
* _arg0
;
629 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
630 PyObject
* _argo0
= 0;
631 char *_kwnames
[] = { "self","dir", NULL
};
635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetPreferredFormat",_kwnames
,&_argo0
,&_arg1
))
638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetPreferredFormat. Expected _wxDataObject_p.");
645 wxPy_BEGIN_ALLOW_THREADS
;
646 _result
= new wxDataFormat (wxDataObject_GetPreferredFormat(_arg0
,_arg1
));
648 wxPy_END_ALLOW_THREADS
;
649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDataFormat_p");
650 _resultobj
= Py_BuildValue("s",_ptemp
);
654 #define wxDataObject_GetFormatCount(_swigobj,_swigarg0) (_swigobj->GetFormatCount(_swigarg0))
655 static PyObject
*_wrap_wxDataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
658 wxDataObject
* _arg0
;
659 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
660 PyObject
* _argo0
= 0;
661 char *_kwnames
[] = { "self","dir", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetFormatCount",_kwnames
,&_argo0
,&_arg1
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetFormatCount. Expected _wxDataObject_p.");
674 wxPy_BEGIN_ALLOW_THREADS
;
675 _result
= (size_t )wxDataObject_GetFormatCount(_arg0
,_arg1
);
677 wxPy_END_ALLOW_THREADS
;
678 } _resultobj
= Py_BuildValue("i",_result
);
682 #define wxDataObject_GetAllFormats(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAllFormats(_swigarg0,_swigarg1))
683 static PyObject
*_wrap_wxDataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
685 wxDataObject
* _arg0
;
686 wxDataFormat
* _arg1
;
687 wxDataObject::Direction _arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
688 PyObject
* _argo0
= 0;
689 PyObject
* _argo1
= 0;
690 char *_kwnames
[] = { "self","formats","dir", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObject_GetAllFormats",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetAllFormats. Expected _wxDataObject_p.");
703 if (_argo1
== Py_None
) { _arg1
= NULL
; }
704 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetAllFormats. Expected _wxDataFormat_p.");
710 wxPy_BEGIN_ALLOW_THREADS
;
711 wxDataObject_GetAllFormats(_arg0
,_arg1
,_arg2
);
713 wxPy_END_ALLOW_THREADS
;
714 } Py_INCREF(Py_None
);
715 _resultobj
= Py_None
;
719 #define wxDataObject_GetDataSize(_swigobj,_swigarg0) (_swigobj->GetDataSize(_swigarg0))
720 static PyObject
*_wrap_wxDataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 wxDataObject
* _arg0
;
724 wxDataFormat
* _arg1
;
725 PyObject
* _argo0
= 0;
726 PyObject
* _argo1
= 0;
727 char *_kwnames
[] = { "self","format", NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_GetDataSize",_kwnames
,&_argo0
,&_argo1
))
733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataSize. Expected _wxDataObject_p.");
740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataSize. Expected _wxDataFormat_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 _result
= (size_t )wxDataObject_GetDataSize(_arg0
,*_arg1
);
750 wxPy_END_ALLOW_THREADS
;
751 } _resultobj
= Py_BuildValue("i",_result
);
755 #define wxDataObject_GetDataHere(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDataHere(_swigarg0,_swigarg1))
756 static PyObject
*_wrap_wxDataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
759 wxDataObject
* _arg0
;
760 wxDataFormat
* _arg1
;
762 PyObject
* _argo0
= 0;
763 PyObject
* _argo1
= 0;
764 PyObject
* _argo2
= 0;
765 char *_kwnames
[] = { "self","format","buf", NULL
};
768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDataObject_GetDataHere",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataHere. Expected _wxDataObject_p.");
778 if (_argo1
== Py_None
) { _arg1
= NULL
; }
779 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataHere. Expected _wxDataFormat_p.");
785 if (_argo2
== Py_None
) { _arg2
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDataObject_GetDataHere. Expected _void_p.");
792 wxPy_BEGIN_ALLOW_THREADS
;
793 _result
= (bool )wxDataObject_GetDataHere(_arg0
,*_arg1
,_arg2
);
795 wxPy_END_ALLOW_THREADS
;
796 } _resultobj
= Py_BuildValue("i",_result
);
800 #define wxDataObject_SetData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetData(_swigarg0,_swigarg1,_swigarg2))
801 static PyObject
*_wrap_wxDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
804 wxDataObject
* _arg0
;
805 wxDataFormat
* _arg1
;
808 PyObject
* _argo0
= 0;
809 PyObject
* _argo1
= 0;
810 PyObject
* _argo3
= 0;
811 char *_kwnames
[] = { "self","format","len","buf", NULL
};
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxDataObject_SetData",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_SetData. Expected _wxDataObject_p.");
824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_SetData. Expected _wxDataFormat_p.");
831 if (_argo3
== Py_None
) { _arg3
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,(char *) 0 )) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDataObject_SetData. Expected _void_p.");
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= (bool )wxDataObject_SetData(_arg0
,*_arg1
,_arg2
,_arg3
);
841 wxPy_END_ALLOW_THREADS
;
842 } _resultobj
= Py_BuildValue("i",_result
);
846 #define wxDataObject_IsSupportedFormat(_swigobj,_swigarg0) (_swigobj->IsSupportedFormat(_swigarg0))
847 static PyObject
*_wrap_wxDataObject_IsSupportedFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
850 wxDataObject
* _arg0
;
851 wxDataFormat
* _arg1
;
852 PyObject
* _argo0
= 0;
853 PyObject
* _argo1
= 0;
854 char *_kwnames
[] = { "self","format", NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_IsSupportedFormat",_kwnames
,&_argo0
,&_argo1
))
860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_IsSupportedFormat. Expected _wxDataObject_p.");
867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_IsSupportedFormat. Expected _wxDataFormat_p.");
874 wxPy_BEGIN_ALLOW_THREADS
;
875 _result
= (bool )wxDataObject_IsSupportedFormat(_arg0
,*_arg1
);
877 wxPy_END_ALLOW_THREADS
;
878 } _resultobj
= Py_BuildValue("i",_result
);
882 static void *SwigwxDataObjectSimpleTowxDataObject(void *ptr
) {
883 wxDataObjectSimple
*src
;
885 src
= (wxDataObjectSimple
*) ptr
;
886 dest
= (wxDataObject
*) src
;
887 return (void *) dest
;
890 #define new_wxDataObjectSimple(_swigarg0) (new wxDataObjectSimple(_swigarg0))
891 static PyObject
*_wrap_new_wxDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 PyObject
* _resultobj
;
893 wxDataObjectSimple
* _result
;
894 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
895 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "format", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxDataObjectSimple",_kwnames
,&_argo0
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDataObjectSimple. Expected _wxDataFormat_p.");
910 wxPy_BEGIN_ALLOW_THREADS
;
911 _result
= (wxDataObjectSimple
*)new_wxDataObjectSimple(*_arg0
);
913 wxPy_END_ALLOW_THREADS
;
915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectSimple_p");
916 _resultobj
= Py_BuildValue("s",_ptemp
);
919 _resultobj
= Py_None
;
924 #define wxDataObjectSimple_GetFormat(_swigobj) (_swigobj->GetFormat())
925 static PyObject
*_wrap_wxDataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
927 wxDataFormat
* _result
;
928 wxDataObjectSimple
* _arg0
;
929 PyObject
* _argo0
= 0;
930 char *_kwnames
[] = { "self", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataObjectSimple_GetFormat",_kwnames
,&_argo0
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_GetFormat. Expected _wxDataObjectSimple_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 const wxDataFormat
& _result_ref
= wxDataObjectSimple_GetFormat(_arg0
);
946 _result
= (wxDataFormat
*) &_result_ref
;
948 wxPy_END_ALLOW_THREADS
;
950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
951 _resultobj
= Py_BuildValue("s",_ptemp
);
954 _resultobj
= Py_None
;
959 #define wxDataObjectSimple_SetFormat(_swigobj,_swigarg0) (_swigobj->SetFormat(_swigarg0))
960 static PyObject
*_wrap_wxDataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
962 wxDataObjectSimple
* _arg0
;
963 wxDataFormat
* _arg1
;
964 PyObject
* _argo0
= 0;
965 PyObject
* _argo1
= 0;
966 char *_kwnames
[] = { "self","format", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObjectSimple_SetFormat",_kwnames
,&_argo0
,&_argo1
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_SetFormat. Expected _wxDataObjectSimple_p.");
979 if (_argo1
== Py_None
) { _arg1
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectSimple_SetFormat. Expected _wxDataFormat_p.");
986 wxPy_BEGIN_ALLOW_THREADS
;
987 wxDataObjectSimple_SetFormat(_arg0
,*_arg1
);
989 wxPy_END_ALLOW_THREADS
;
990 } Py_INCREF(Py_None
);
991 _resultobj
= Py_None
;
995 static void *SwigwxPyDataObjectSimpleTowxDataObjectSimple(void *ptr
) {
996 wxPyDataObjectSimple
*src
;
997 wxDataObjectSimple
*dest
;
998 src
= (wxPyDataObjectSimple
*) ptr
;
999 dest
= (wxDataObjectSimple
*) src
;
1000 return (void *) dest
;
1003 static void *SwigwxPyDataObjectSimpleTowxDataObject(void *ptr
) {
1004 wxPyDataObjectSimple
*src
;
1006 src
= (wxPyDataObjectSimple
*) ptr
;
1007 dest
= (wxDataObject
*) src
;
1008 return (void *) dest
;
1011 #define new_wxPyDataObjectSimple(_swigarg0) (new wxPyDataObjectSimple(_swigarg0))
1012 static PyObject
*_wrap_new_wxPyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1014 wxPyDataObjectSimple
* _result
;
1015 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1016 PyObject
* _argo0
= 0;
1017 char *_kwnames
[] = { "format", NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDataObjectSimple",_kwnames
,&_argo0
))
1024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDataObjectSimple. Expected _wxDataFormat_p.");
1031 wxPy_BEGIN_ALLOW_THREADS
;
1032 _result
= (wxPyDataObjectSimple
*)new_wxPyDataObjectSimple(*_arg0
);
1034 wxPy_END_ALLOW_THREADS
;
1036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDataObjectSimple_p");
1037 _resultobj
= Py_BuildValue("s",_ptemp
);
1040 _resultobj
= Py_None
;
1045 #define wxPyDataObjectSimple__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1046 static PyObject
*_wrap_wxPyDataObjectSimple__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1048 wxPyDataObjectSimple
* _arg0
;
1051 PyObject
* _argo0
= 0;
1052 PyObject
* _obj1
= 0;
1053 PyObject
* _obj2
= 0;
1054 char *_kwnames
[] = { "self","self","_class", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDataObjectSimple__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDataObjectSimple_p")) {
1062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDataObjectSimple__setSelf. Expected _wxPyDataObjectSimple_p.");
1073 wxPy_BEGIN_ALLOW_THREADS
;
1074 wxPyDataObjectSimple__setSelf(_arg0
,_arg1
,_arg2
);
1076 wxPy_END_ALLOW_THREADS
;
1077 } Py_INCREF(Py_None
);
1078 _resultobj
= Py_None
;
1082 static void *SwigwxDataObjectCompositeTowxDataObject(void *ptr
) {
1083 wxDataObjectComposite
*src
;
1085 src
= (wxDataObjectComposite
*) ptr
;
1086 dest
= (wxDataObject
*) src
;
1087 return (void *) dest
;
1090 #define new_wxDataObjectComposite() (new wxDataObjectComposite())
1091 static PyObject
*_wrap_new_wxDataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1093 wxDataObjectComposite
* _result
;
1094 char *_kwnames
[] = { NULL
};
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDataObjectComposite",_kwnames
))
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 _result
= (wxDataObjectComposite
*)new_wxDataObjectComposite();
1104 wxPy_END_ALLOW_THREADS
;
1106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectComposite_p");
1107 _resultobj
= Py_BuildValue("s",_ptemp
);
1110 _resultobj
= Py_None
;
1115 #define wxDataObjectComposite_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1116 static PyObject
*_wrap_wxDataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1118 wxDataObjectComposite
* _arg0
;
1119 wxDataObjectSimple
* _arg1
;
1120 int _arg2
= (int ) FALSE
;
1121 PyObject
* _argo0
= 0;
1122 PyObject
* _argo1
= 0;
1123 char *_kwnames
[] = { "self","dataObject","preferred", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObjectComposite_Add",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectComposite_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectComposite_Add. Expected _wxDataObjectComposite_p.");
1136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObjectSimple_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectComposite_Add. Expected _wxDataObjectSimple_p.");
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 wxDataObjectComposite_Add(_arg0
,_arg1
,_arg2
);
1146 wxPy_END_ALLOW_THREADS
;
1147 } Py_INCREF(Py_None
);
1148 _resultobj
= Py_None
;
1152 static void *SwigwxTextDataObjectTowxDataObjectSimple(void *ptr
) {
1153 wxTextDataObject
*src
;
1154 wxDataObjectSimple
*dest
;
1155 src
= (wxTextDataObject
*) ptr
;
1156 dest
= (wxDataObjectSimple
*) src
;
1157 return (void *) dest
;
1160 static void *SwigwxTextDataObjectTowxDataObject(void *ptr
) {
1161 wxTextDataObject
*src
;
1163 src
= (wxTextDataObject
*) ptr
;
1164 dest
= (wxDataObject
*) src
;
1165 return (void *) dest
;
1168 #define new_wxTextDataObject(_swigarg0) (new wxTextDataObject(_swigarg0))
1169 static PyObject
*_wrap_new_wxTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
* _resultobj
;
1171 wxTextDataObject
* _result
;
1172 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1173 PyObject
* _obj0
= 0;
1174 char *_kwnames
[] = { "text", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTextDataObject",_kwnames
,&_obj0
))
1182 #if PYTHON_API_VERSION >= 1009
1183 char* tmpPtr
; int tmpSize
;
1184 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1185 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1188 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1190 _arg0
= new wxString(tmpPtr
, tmpSize
);
1192 if (!PyString_Check(_obj0
)) {
1193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1196 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1200 wxPy_BEGIN_ALLOW_THREADS
;
1201 _result
= (wxTextDataObject
*)new_wxTextDataObject(*_arg0
);
1203 wxPy_END_ALLOW_THREADS
;
1205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextDataObject_p");
1206 _resultobj
= Py_BuildValue("s",_ptemp
);
1209 _resultobj
= Py_None
;
1218 #define wxTextDataObject_GetTextLength(_swigobj) (_swigobj->GetTextLength())
1219 static PyObject
*_wrap_wxTextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1222 wxTextDataObject
* _arg0
;
1223 PyObject
* _argo0
= 0;
1224 char *_kwnames
[] = { "self", NULL
};
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetTextLength",_kwnames
,&_argo0
))
1230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetTextLength. Expected _wxTextDataObject_p.");
1237 wxPy_BEGIN_ALLOW_THREADS
;
1238 _result
= (size_t )wxTextDataObject_GetTextLength(_arg0
);
1240 wxPy_END_ALLOW_THREADS
;
1241 } _resultobj
= Py_BuildValue("i",_result
);
1245 #define wxTextDataObject_GetText(_swigobj) (_swigobj->GetText())
1246 static PyObject
*_wrap_wxTextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1249 wxTextDataObject
* _arg0
;
1250 PyObject
* _argo0
= 0;
1251 char *_kwnames
[] = { "self", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetText",_kwnames
,&_argo0
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetText. Expected _wxTextDataObject_p.");
1264 wxPy_BEGIN_ALLOW_THREADS
;
1265 _result
= new wxString (wxTextDataObject_GetText(_arg0
));
1267 wxPy_END_ALLOW_THREADS
;
1269 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1277 #define wxTextDataObject_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
1278 static PyObject
*_wrap_wxTextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
* _resultobj
;
1280 wxTextDataObject
* _arg0
;
1282 PyObject
* _argo0
= 0;
1283 PyObject
* _obj1
= 0;
1284 char *_kwnames
[] = { "self","text", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDataObject_SetText",_kwnames
,&_argo0
,&_obj1
))
1290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_SetText. Expected _wxTextDataObject_p.");
1297 #if PYTHON_API_VERSION >= 1009
1298 char* tmpPtr
; int tmpSize
;
1299 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1300 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1303 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1305 _arg1
= new wxString(tmpPtr
, tmpSize
);
1307 if (!PyString_Check(_obj1
)) {
1308 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1311 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1315 wxPy_BEGIN_ALLOW_THREADS
;
1316 wxTextDataObject_SetText(_arg0
,*_arg1
);
1318 wxPy_END_ALLOW_THREADS
;
1319 } Py_INCREF(Py_None
);
1320 _resultobj
= Py_None
;
1328 static void *SwigwxPyTextDataObjectTowxTextDataObject(void *ptr
) {
1329 wxPyTextDataObject
*src
;
1330 wxTextDataObject
*dest
;
1331 src
= (wxPyTextDataObject
*) ptr
;
1332 dest
= (wxTextDataObject
*) src
;
1333 return (void *) dest
;
1336 static void *SwigwxPyTextDataObjectTowxDataObjectSimple(void *ptr
) {
1337 wxPyTextDataObject
*src
;
1338 wxDataObjectSimple
*dest
;
1339 src
= (wxPyTextDataObject
*) ptr
;
1340 dest
= (wxDataObjectSimple
*) src
;
1341 return (void *) dest
;
1344 static void *SwigwxPyTextDataObjectTowxDataObject(void *ptr
) {
1345 wxPyTextDataObject
*src
;
1347 src
= (wxPyTextDataObject
*) ptr
;
1348 dest
= (wxDataObject
*) src
;
1349 return (void *) dest
;
1352 #define new_wxPyTextDataObject(_swigarg0) (new wxPyTextDataObject(_swigarg0))
1353 static PyObject
*_wrap_new_wxPyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
* _resultobj
;
1355 wxPyTextDataObject
* _result
;
1356 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1357 PyObject
* _obj0
= 0;
1358 char *_kwnames
[] = { "text", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyTextDataObject",_kwnames
,&_obj0
))
1366 #if PYTHON_API_VERSION >= 1009
1367 char* tmpPtr
; int tmpSize
;
1368 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1369 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1372 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1374 _arg0
= new wxString(tmpPtr
, tmpSize
);
1376 if (!PyString_Check(_obj0
)) {
1377 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1380 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 _result
= (wxPyTextDataObject
*)new_wxPyTextDataObject(*_arg0
);
1387 wxPy_END_ALLOW_THREADS
;
1389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDataObject_p");
1390 _resultobj
= Py_BuildValue("s",_ptemp
);
1393 _resultobj
= Py_None
;
1402 #define wxPyTextDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1403 static PyObject
*_wrap_wxPyTextDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1405 wxPyTextDataObject
* _arg0
;
1408 PyObject
* _argo0
= 0;
1409 PyObject
* _obj1
= 0;
1410 PyObject
* _obj2
= 0;
1411 char *_kwnames
[] = { "self","self","_class", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTextDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDataObject_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextDataObject__setSelf. Expected _wxPyTextDataObject_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 wxPyTextDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1433 wxPy_END_ALLOW_THREADS
;
1434 } Py_INCREF(Py_None
);
1435 _resultobj
= Py_None
;
1439 static void *SwigwxBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1440 wxBitmapDataObject
*src
;
1441 wxDataObjectSimple
*dest
;
1442 src
= (wxBitmapDataObject
*) ptr
;
1443 dest
= (wxDataObjectSimple
*) src
;
1444 return (void *) dest
;
1447 static void *SwigwxBitmapDataObjectTowxDataObject(void *ptr
) {
1448 wxBitmapDataObject
*src
;
1450 src
= (wxBitmapDataObject
*) ptr
;
1451 dest
= (wxDataObject
*) src
;
1452 return (void *) dest
;
1455 #define new_wxBitmapDataObject(_swigarg0) (new wxBitmapDataObject(_swigarg0))
1456 static PyObject
*_wrap_new_wxBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1458 wxBitmapDataObject
* _result
;
1459 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1460 PyObject
* _argo0
= 0;
1461 char *_kwnames
[] = { "bitmap", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBitmapDataObject",_kwnames
,&_argo0
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapDataObject. Expected _wxBitmap_p.");
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 _result
= (wxBitmapDataObject
*)new_wxBitmapDataObject(*_arg0
);
1478 wxPy_END_ALLOW_THREADS
;
1480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapDataObject_p");
1481 _resultobj
= Py_BuildValue("s",_ptemp
);
1484 _resultobj
= Py_None
;
1489 #define wxBitmapDataObject_GetBitmap(_swigobj) (_swigobj->GetBitmap())
1490 static PyObject
*_wrap_wxBitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1493 wxBitmapDataObject
* _arg0
;
1494 PyObject
* _argo0
= 0;
1495 char *_kwnames
[] = { "self", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapDataObject_GetBitmap",_kwnames
,&_argo0
))
1502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_GetBitmap. Expected _wxBitmapDataObject_p.");
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 _result
= new wxBitmap (wxBitmapDataObject_GetBitmap(_arg0
));
1512 wxPy_END_ALLOW_THREADS
;
1513 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1514 _resultobj
= Py_BuildValue("s",_ptemp
);
1518 #define wxBitmapDataObject_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
1519 static PyObject
*_wrap_wxBitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1521 wxBitmapDataObject
* _arg0
;
1523 PyObject
* _argo0
= 0;
1524 PyObject
* _argo1
= 0;
1525 char *_kwnames
[] = { "self","bitmap", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapDataObject_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_SetBitmap. Expected _wxBitmapDataObject_p.");
1538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapDataObject_SetBitmap. Expected _wxBitmap_p.");
1545 wxPy_BEGIN_ALLOW_THREADS
;
1546 wxBitmapDataObject_SetBitmap(_arg0
,*_arg1
);
1548 wxPy_END_ALLOW_THREADS
;
1549 } Py_INCREF(Py_None
);
1550 _resultobj
= Py_None
;
1554 static void *SwigwxPyBitmapDataObjectTowxBitmapDataObject(void *ptr
) {
1555 wxPyBitmapDataObject
*src
;
1556 wxBitmapDataObject
*dest
;
1557 src
= (wxPyBitmapDataObject
*) ptr
;
1558 dest
= (wxBitmapDataObject
*) src
;
1559 return (void *) dest
;
1562 static void *SwigwxPyBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1563 wxPyBitmapDataObject
*src
;
1564 wxDataObjectSimple
*dest
;
1565 src
= (wxPyBitmapDataObject
*) ptr
;
1566 dest
= (wxDataObjectSimple
*) src
;
1567 return (void *) dest
;
1570 static void *SwigwxPyBitmapDataObjectTowxDataObject(void *ptr
) {
1571 wxPyBitmapDataObject
*src
;
1573 src
= (wxPyBitmapDataObject
*) ptr
;
1574 dest
= (wxDataObject
*) src
;
1575 return (void *) dest
;
1578 #define new_wxPyBitmapDataObject(_swigarg0) (new wxPyBitmapDataObject(_swigarg0))
1579 static PyObject
*_wrap_new_wxPyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1581 wxPyBitmapDataObject
* _result
;
1582 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "bitmap", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyBitmapDataObject",_kwnames
,&_argo0
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyBitmapDataObject. Expected _wxBitmap_p.");
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 _result
= (wxPyBitmapDataObject
*)new_wxPyBitmapDataObject(*_arg0
);
1601 wxPy_END_ALLOW_THREADS
;
1603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyBitmapDataObject_p");
1604 _resultobj
= Py_BuildValue("s",_ptemp
);
1607 _resultobj
= Py_None
;
1612 #define wxPyBitmapDataObject__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1613 static PyObject
*_wrap_wxPyBitmapDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1615 wxPyBitmapDataObject
* _arg0
;
1618 PyObject
* _argo0
= 0;
1619 PyObject
* _obj1
= 0;
1620 PyObject
* _obj2
= 0;
1621 char *_kwnames
[] = { "self","self","_class", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyBitmapDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyBitmapDataObject_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyBitmapDataObject__setSelf. Expected _wxPyBitmapDataObject_p.");
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 wxPyBitmapDataObject__setSelf(_arg0
,_arg1
,_arg2
);
1643 wxPy_END_ALLOW_THREADS
;
1644 } Py_INCREF(Py_None
);
1645 _resultobj
= Py_None
;
1649 static void *SwigwxFileDataObjectTowxDataObjectSimple(void *ptr
) {
1650 wxFileDataObject
*src
;
1651 wxDataObjectSimple
*dest
;
1652 src
= (wxFileDataObject
*) ptr
;
1653 dest
= (wxDataObjectSimple
*) src
;
1654 return (void *) dest
;
1657 static void *SwigwxFileDataObjectTowxDataObject(void *ptr
) {
1658 wxFileDataObject
*src
;
1660 src
= (wxFileDataObject
*) ptr
;
1661 dest
= (wxDataObject
*) src
;
1662 return (void *) dest
;
1665 #define new_wxFileDataObject() (new wxFileDataObject())
1666 static PyObject
*_wrap_new_wxFileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1668 wxFileDataObject
* _result
;
1669 char *_kwnames
[] = { NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDataObject",_kwnames
))
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 _result
= (wxFileDataObject
*)new_wxFileDataObject();
1679 wxPy_END_ALLOW_THREADS
;
1681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDataObject_p");
1682 _resultobj
= Py_BuildValue("s",_ptemp
);
1685 _resultobj
= Py_None
;
1690 static PyObject
* wxFileDataObject_GetFilenames(wxFileDataObject
*self
) {
1691 const wxArrayString
& strings
= self
->GetFilenames();
1692 PyObject
* list
= PyList_New(0);
1693 for (size_t x
=0; x
<strings
.GetCount(); x
++)
1694 PyList_Append(list
, PyString_FromString(strings
[x
]));
1697 static PyObject
*_wrap_wxFileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1700 wxFileDataObject
* _arg0
;
1701 PyObject
* _argo0
= 0;
1702 char *_kwnames
[] = { "self", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDataObject_GetFilenames",_kwnames
,&_argo0
))
1708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_GetFilenames. Expected _wxFileDataObject_p.");
1715 wxPy_BEGIN_ALLOW_THREADS
;
1716 _result
= (PyObject
*)wxFileDataObject_GetFilenames(_arg0
);
1718 wxPy_END_ALLOW_THREADS
;
1720 _resultobj
= _result
;
1725 static void *SwigwxCustomDataObjectTowxDataObjectSimple(void *ptr
) {
1726 wxCustomDataObject
*src
;
1727 wxDataObjectSimple
*dest
;
1728 src
= (wxCustomDataObject
*) ptr
;
1729 dest
= (wxDataObjectSimple
*) src
;
1730 return (void *) dest
;
1733 static void *SwigwxCustomDataObjectTowxDataObject(void *ptr
) {
1734 wxCustomDataObject
*src
;
1736 src
= (wxCustomDataObject
*) ptr
;
1737 dest
= (wxDataObject
*) src
;
1738 return (void *) dest
;
1741 #define new_wxCustomDataObject(_swigarg0) (new wxCustomDataObject(_swigarg0))
1742 static PyObject
*_wrap_new_wxCustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1744 wxCustomDataObject
* _result
;
1745 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "format", NULL
};
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxCustomDataObject",_kwnames
,&_argo0
))
1754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCustomDataObject. Expected _wxDataFormat_p.");
1761 wxPy_BEGIN_ALLOW_THREADS
;
1762 _result
= (wxCustomDataObject
*)new_wxCustomDataObject(*_arg0
);
1764 wxPy_END_ALLOW_THREADS
;
1766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCustomDataObject_p");
1767 _resultobj
= Py_BuildValue("s",_ptemp
);
1770 _resultobj
= Py_None
;
1775 static void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
* data
) {
1776 if (PyString_Check(data
)) {
1777 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1780 static PyObject
*_wrap_wxCustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1782 wxCustomDataObject
* _arg0
;
1784 PyObject
* _argo0
= 0;
1785 PyObject
* _obj1
= 0;
1786 char *_kwnames
[] = { "self","data", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_TakeData",_kwnames
,&_argo0
,&_obj1
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_TakeData. Expected _wxCustomDataObject_p.");
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 wxCustomDataObject_TakeData(_arg0
,_arg1
);
1805 wxPy_END_ALLOW_THREADS
;
1806 } Py_INCREF(Py_None
);
1807 _resultobj
= Py_None
;
1811 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
* data
) {
1812 if (PyString_Check(data
)) {
1813 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1817 static PyObject
*_wrap_wxCustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
* _resultobj
;
1820 wxCustomDataObject
* _arg0
;
1822 PyObject
* _argo0
= 0;
1823 PyObject
* _obj1
= 0;
1824 char *_kwnames
[] = { "self","data", NULL
};
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_SetData",_kwnames
,&_argo0
,&_obj1
))
1830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_SetData. Expected _wxCustomDataObject_p.");
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 _result
= (bool )wxCustomDataObject_SetData(_arg0
,_arg1
);
1843 wxPy_END_ALLOW_THREADS
;
1844 } _resultobj
= Py_BuildValue("i",_result
);
1848 #define wxCustomDataObject_GetSize(_swigobj) (_swigobj->GetSize())
1849 static PyObject
*_wrap_wxCustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1852 wxCustomDataObject
* _arg0
;
1853 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetSize",_kwnames
,&_argo0
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetSize. Expected _wxCustomDataObject_p.");
1867 wxPy_BEGIN_ALLOW_THREADS
;
1868 _result
= (size_t )wxCustomDataObject_GetSize(_arg0
);
1870 wxPy_END_ALLOW_THREADS
;
1871 } _resultobj
= Py_BuildValue("i",_result
);
1875 static PyObject
* wxCustomDataObject_GetData(wxCustomDataObject
*self
) {
1876 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1878 static PyObject
*_wrap_wxCustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1881 wxCustomDataObject
* _arg0
;
1882 PyObject
* _argo0
= 0;
1883 char *_kwnames
[] = { "self", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetData",_kwnames
,&_argo0
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetData. Expected _wxCustomDataObject_p.");
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 _result
= (PyObject
*)wxCustomDataObject_GetData(_arg0
);
1899 wxPy_END_ALLOW_THREADS
;
1901 _resultobj
= _result
;
1906 #define new_wxClipboard() (new wxClipboard())
1907 static PyObject
*_wrap_new_wxClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1909 wxClipboard
* _result
;
1910 char *_kwnames
[] = { NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxClipboard",_kwnames
))
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= (wxClipboard
*)new_wxClipboard();
1920 wxPy_END_ALLOW_THREADS
;
1922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClipboard_p");
1923 _resultobj
= Py_BuildValue("s",_ptemp
);
1926 _resultobj
= Py_None
;
1931 #define wxClipboard_Open(_swigobj) (_swigobj->Open())
1932 static PyObject
*_wrap_wxClipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1935 wxClipboard
* _arg0
;
1936 PyObject
* _argo0
= 0;
1937 char *_kwnames
[] = { "self", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Open",_kwnames
,&_argo0
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Open. Expected _wxClipboard_p.");
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 _result
= (bool )wxClipboard_Open(_arg0
);
1953 wxPy_END_ALLOW_THREADS
;
1954 } _resultobj
= Py_BuildValue("i",_result
);
1958 #define wxClipboard_Close(_swigobj) (_swigobj->Close())
1959 static PyObject
*_wrap_wxClipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1961 wxClipboard
* _arg0
;
1962 PyObject
* _argo0
= 0;
1963 char *_kwnames
[] = { "self", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Close",_kwnames
,&_argo0
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Close. Expected _wxClipboard_p.");
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 wxClipboard_Close(_arg0
);
1979 wxPy_END_ALLOW_THREADS
;
1980 } Py_INCREF(Py_None
);
1981 _resultobj
= Py_None
;
1985 #define wxClipboard_IsOpened(_swigobj) (_swigobj->IsOpened())
1986 static PyObject
*_wrap_wxClipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1989 wxClipboard
* _arg0
;
1990 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_IsOpened",_kwnames
,&_argo0
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsOpened. Expected _wxClipboard_p.");
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 _result
= (bool )wxClipboard_IsOpened(_arg0
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2012 #define wxClipboard_AddData(_swigobj,_swigarg0) (_swigobj->AddData(_swigarg0))
2013 static PyObject
*_wrap_wxClipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2016 wxClipboard
* _arg0
;
2017 wxDataObject
* _arg1
;
2018 PyObject
* _argo0
= 0;
2019 PyObject
* _argo1
= 0;
2020 char *_kwnames
[] = { "self","data", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_AddData",_kwnames
,&_argo0
,&_argo1
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_AddData. Expected _wxClipboard_p.");
2033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_AddData. Expected _wxDataObject_p.");
2040 wxPy_BEGIN_ALLOW_THREADS
;
2041 _result
= (bool )wxClipboard_AddData(_arg0
,_arg1
);
2043 wxPy_END_ALLOW_THREADS
;
2044 } _resultobj
= Py_BuildValue("i",_result
);
2048 #define wxClipboard_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2049 static PyObject
*_wrap_wxClipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2052 wxClipboard
* _arg0
;
2053 wxDataObject
* _arg1
;
2054 PyObject
* _argo0
= 0;
2055 PyObject
* _argo1
= 0;
2056 char *_kwnames
[] = { "self","data", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_SetData",_kwnames
,&_argo0
,&_argo1
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_SetData. Expected _wxClipboard_p.");
2069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_SetData. Expected _wxDataObject_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 _result
= (bool )wxClipboard_SetData(_arg0
,_arg1
);
2079 wxPy_END_ALLOW_THREADS
;
2080 } _resultobj
= Py_BuildValue("i",_result
);
2084 #define wxClipboard_IsSupported(_swigobj,_swigarg0) (_swigobj->IsSupported(_swigarg0))
2085 static PyObject
*_wrap_wxClipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2088 wxClipboard
* _arg0
;
2089 wxDataFormat
* _arg1
;
2090 PyObject
* _argo0
= 0;
2091 PyObject
* _argo1
= 0;
2092 char *_kwnames
[] = { "self","format", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_IsSupported",_kwnames
,&_argo0
,&_argo1
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsSupported. Expected _wxClipboard_p.");
2105 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_IsSupported. Expected _wxDataFormat_p.");
2112 wxPy_BEGIN_ALLOW_THREADS
;
2113 _result
= (bool )wxClipboard_IsSupported(_arg0
,*_arg1
);
2115 wxPy_END_ALLOW_THREADS
;
2116 } _resultobj
= Py_BuildValue("i",_result
);
2120 #define wxClipboard_GetData(_swigobj,_swigarg0) (_swigobj->GetData(_swigarg0))
2121 static PyObject
*_wrap_wxClipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2124 wxClipboard
* _arg0
;
2125 wxDataObject
* _arg1
;
2126 PyObject
* _argo0
= 0;
2127 PyObject
* _argo1
= 0;
2128 char *_kwnames
[] = { "self","data", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_GetData",_kwnames
,&_argo0
,&_argo1
))
2134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_GetData. Expected _wxClipboard_p.");
2141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_GetData. Expected _wxDataObject_p.");
2148 wxPy_BEGIN_ALLOW_THREADS
;
2149 _result
= (bool )wxClipboard_GetData(_arg0
,*_arg1
);
2151 wxPy_END_ALLOW_THREADS
;
2152 } _resultobj
= Py_BuildValue("i",_result
);
2156 #define wxClipboard_Clear(_swigobj) (_swigobj->Clear())
2157 static PyObject
*_wrap_wxClipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2159 wxClipboard
* _arg0
;
2160 PyObject
* _argo0
= 0;
2161 char *_kwnames
[] = { "self", NULL
};
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Clear",_kwnames
,&_argo0
))
2167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Clear. Expected _wxClipboard_p.");
2174 wxPy_BEGIN_ALLOW_THREADS
;
2175 wxClipboard_Clear(_arg0
);
2177 wxPy_END_ALLOW_THREADS
;
2178 } Py_INCREF(Py_None
);
2179 _resultobj
= Py_None
;
2183 #define wxClipboard_Flush(_swigobj) (_swigobj->Flush())
2184 static PyObject
*_wrap_wxClipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2187 wxClipboard
* _arg0
;
2188 PyObject
* _argo0
= 0;
2189 char *_kwnames
[] = { "self", NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Flush",_kwnames
,&_argo0
))
2195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Flush. Expected _wxClipboard_p.");
2202 wxPy_BEGIN_ALLOW_THREADS
;
2203 _result
= (bool )wxClipboard_Flush(_arg0
);
2205 wxPy_END_ALLOW_THREADS
;
2206 } _resultobj
= Py_BuildValue("i",_result
);
2210 #define wxClipboard_UsePrimarySelection(_swigobj,_swigarg0) (_swigobj->UsePrimarySelection(_swigarg0))
2211 static PyObject
*_wrap_wxClipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2213 wxClipboard
* _arg0
;
2214 int _arg1
= (int ) FALSE
;
2215 PyObject
* _argo0
= 0;
2216 char *_kwnames
[] = { "self","primary", NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxClipboard_UsePrimarySelection",_kwnames
,&_argo0
,&_arg1
))
2222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_UsePrimarySelection. Expected _wxClipboard_p.");
2229 wxPy_BEGIN_ALLOW_THREADS
;
2230 wxClipboard_UsePrimarySelection(_arg0
,_arg1
);
2232 wxPy_END_ALLOW_THREADS
;
2233 } Py_INCREF(Py_None
);
2234 _resultobj
= Py_None
;
2238 #define new_wxDropSource(_swigarg0,_swigarg1) (new wxPyDropSource(_swigarg0,_swigarg1))
2239 static PyObject
*_wrap_new_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2241 wxPyDropSource
* _result
;
2242 wxWindow
* _arg0
= (wxWindow
*) NULL
;
2243 wxIcon
* _arg1
= (wxIcon
*) &wxNullIcon
;
2244 PyObject
* _argo0
= 0;
2245 PyObject
* _argo1
= 0;
2246 char *_kwnames
[] = { "win","go", NULL
};
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxDropSource",_kwnames
,&_argo0
,&_argo1
))
2253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDropSource. Expected _wxWindow_p.");
2260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDropSource. Expected _wxIcon_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 _result
= (wxPyDropSource
*)new_wxDropSource(_arg0
,*_arg1
);
2270 wxPy_END_ALLOW_THREADS
;
2272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropSource_p");
2273 _resultobj
= Py_BuildValue("s",_ptemp
);
2276 _resultobj
= Py_None
;
2281 #define wxDropSource__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
2282 static PyObject
*_wrap_wxDropSource__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2284 wxPyDropSource
* _arg0
;
2288 PyObject
* _argo0
= 0;
2289 PyObject
* _obj1
= 0;
2290 PyObject
* _obj2
= 0;
2291 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxDropSource__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
2297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource__setSelf. Expected _wxPyDropSource_p.");
2310 wxPy_BEGIN_ALLOW_THREADS
;
2311 wxDropSource__setSelf(_arg0
,_arg1
,_arg2
,_arg3
);
2313 wxPy_END_ALLOW_THREADS
;
2314 } Py_INCREF(Py_None
);
2315 _resultobj
= Py_None
;
2319 #define delete_wxPyDropSource(_swigobj) (delete _swigobj)
2320 static PyObject
*_wrap_delete_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2322 wxPyDropSource
* _arg0
;
2323 PyObject
* _argo0
= 0;
2324 char *_kwnames
[] = { "self", NULL
};
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDropSource",_kwnames
,&_argo0
))
2330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDropSource. Expected _wxPyDropSource_p.");
2337 wxPy_BEGIN_ALLOW_THREADS
;
2338 delete_wxPyDropSource(_arg0
);
2340 wxPy_END_ALLOW_THREADS
;
2341 } Py_INCREF(Py_None
);
2342 _resultobj
= Py_None
;
2346 #define wxDropSource_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2347 static PyObject
*_wrap_wxDropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
* _resultobj
;
2349 wxPyDropSource
* _arg0
;
2350 wxDataObject
* _arg1
;
2351 PyObject
* _argo0
= 0;
2352 PyObject
* _argo1
= 0;
2353 char *_kwnames
[] = { "self","data", NULL
};
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource_SetData",_kwnames
,&_argo0
,&_argo1
))
2359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetData. Expected _wxPyDropSource_p.");
2366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDropSource_SetData. Expected _wxDataObject_p.");
2373 wxPy_BEGIN_ALLOW_THREADS
;
2374 wxDropSource_SetData(_arg0
,*_arg1
);
2376 wxPy_END_ALLOW_THREADS
;
2377 } Py_INCREF(Py_None
);
2378 _resultobj
= Py_None
;
2382 #define wxDropSource_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2383 static PyObject
*_wrap_wxDropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2385 wxDataObject
* _result
;
2386 wxPyDropSource
* _arg0
;
2387 PyObject
* _argo0
= 0;
2388 char *_kwnames
[] = { "self", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropSource_GetDataObject",_kwnames
,&_argo0
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_GetDataObject. Expected _wxPyDropSource_p.");
2402 wxPy_BEGIN_ALLOW_THREADS
;
2403 _result
= (wxDataObject
*)wxDropSource_GetDataObject(_arg0
);
2405 wxPy_END_ALLOW_THREADS
;
2407 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2408 _resultobj
= Py_BuildValue("s",_ptemp
);
2411 _resultobj
= Py_None
;
2416 #define wxDropSource_SetCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursor(_swigarg0,_swigarg1))
2417 static PyObject
*_wrap_wxDropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2419 wxPyDropSource
* _arg0
;
2422 PyObject
* _argo0
= 0;
2423 PyObject
* _argo2
= 0;
2424 char *_kwnames
[] = { "self","res","cursor", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxDropSource_SetCursor",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetCursor. Expected _wxPyDropSource_p.");
2437 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDropSource_SetCursor. Expected _wxCursor_p.");
2444 wxPy_BEGIN_ALLOW_THREADS
;
2445 wxDropSource_SetCursor(_arg0
,_arg1
,*_arg2
);
2447 wxPy_END_ALLOW_THREADS
;
2448 } Py_INCREF(Py_None
);
2449 _resultobj
= Py_None
;
2453 #define wxDropSource_DoDragDrop(_swigobj,_swigarg0) (_swigobj->DoDragDrop(_swigarg0))
2454 static PyObject
*_wrap_wxDropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
* _resultobj
;
2456 wxDragResult _result
;
2457 wxPyDropSource
* _arg0
;
2458 int _arg1
= (int ) FALSE
;
2459 PyObject
* _argo0
= 0;
2460 char *_kwnames
[] = { "self","bAllowMove", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDropSource_DoDragDrop",_kwnames
,&_argo0
,&_arg1
))
2466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_DoDragDrop. Expected _wxPyDropSource_p.");
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 _result
= (wxDragResult
)wxDropSource_DoDragDrop(_arg0
,_arg1
);
2476 wxPy_END_ALLOW_THREADS
;
2477 } _resultobj
= Py_BuildValue("i",_result
);
2481 #define wxDropSource_base_GiveFeedback(_swigobj,_swigarg0) (_swigobj->base_GiveFeedback(_swigarg0))
2482 static PyObject
*_wrap_wxDropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2485 wxPyDropSource
* _arg0
;
2487 PyObject
* _argo0
= 0;
2488 char *_kwnames
[] = { "self","effect", NULL
};
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDropSource_base_GiveFeedback",_kwnames
,&_argo0
,&_arg1
))
2494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_base_GiveFeedback. Expected _wxPyDropSource_p.");
2501 wxPy_BEGIN_ALLOW_THREADS
;
2502 _result
= (bool )wxDropSource_base_GiveFeedback(_arg0
,_arg1
);
2504 wxPy_END_ALLOW_THREADS
;
2505 } _resultobj
= Py_BuildValue("i",_result
);
2509 static void *SwigwxPyDropTargetTowxDropTarget(void *ptr
) {
2510 wxPyDropTarget
*src
;
2512 src
= (wxPyDropTarget
*) ptr
;
2513 dest
= (wxDropTarget
*) src
;
2514 return (void *) dest
;
2517 #define new_wxPyDropTarget(_swigarg0) (new wxPyDropTarget(_swigarg0))
2518 static PyObject
*_wrap_new_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2520 wxPyDropTarget
* _result
;
2521 wxDataObject
* _arg0
= (wxDataObject
*) NULL
;
2522 PyObject
* _argo0
= 0;
2523 char *_kwnames
[] = { "dataObject", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDropTarget",_kwnames
,&_argo0
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDropTarget. Expected _wxDataObject_p.");
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 _result
= (wxPyDropTarget
*)new_wxPyDropTarget(_arg0
);
2540 wxPy_END_ALLOW_THREADS
;
2542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropTarget_p");
2543 _resultobj
= Py_BuildValue("s",_ptemp
);
2546 _resultobj
= Py_None
;
2551 #define wxPyDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2552 static PyObject
*_wrap_wxPyDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2554 wxPyDropTarget
* _arg0
;
2557 PyObject
* _argo0
= 0;
2558 PyObject
* _obj1
= 0;
2559 PyObject
* _obj2
= 0;
2560 char *_kwnames
[] = { "self","self","_class", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget__setSelf. Expected _wxPyDropTarget_p.");
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 wxPyDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2582 wxPy_END_ALLOW_THREADS
;
2583 } Py_INCREF(Py_None
);
2584 _resultobj
= Py_None
;
2588 #define delete_wxPyDropTarget(_swigobj) (delete _swigobj)
2589 static PyObject
*_wrap_delete_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxPyDropTarget
* _arg0
;
2592 PyObject
* _argo0
= 0;
2593 char *_kwnames
[] = { "self", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyDropTarget",_kwnames
,&_argo0
))
2599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyDropTarget. Expected _wxPyDropTarget_p.");
2606 wxPy_BEGIN_ALLOW_THREADS
;
2607 delete_wxPyDropTarget(_arg0
);
2609 wxPy_END_ALLOW_THREADS
;
2610 } Py_INCREF(Py_None
);
2611 _resultobj
= Py_None
;
2615 #define wxPyDropTarget_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2616 static PyObject
*_wrap_wxPyDropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
* _resultobj
;
2618 wxDataObject
* _result
;
2619 wxPyDropTarget
* _arg0
;
2620 PyObject
* _argo0
= 0;
2621 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetDataObject",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetDataObject. Expected _wxPyDropTarget_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (wxDataObject
*)wxPyDropTarget_GetDataObject(_arg0
);
2638 wxPy_END_ALLOW_THREADS
;
2640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2641 _resultobj
= Py_BuildValue("s",_ptemp
);
2644 _resultobj
= Py_None
;
2649 #define wxPyDropTarget_SetDataObject(_swigobj,_swigarg0) (_swigobj->SetDataObject(_swigarg0))
2650 static PyObject
*_wrap_wxPyDropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2652 wxPyDropTarget
* _arg0
;
2653 wxDataObject
* _arg1
;
2654 PyObject
* _argo0
= 0;
2655 PyObject
* _argo1
= 0;
2656 char *_kwnames
[] = { "self","dataObject", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget_SetDataObject",_kwnames
,&_argo0
,&_argo1
))
2662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_SetDataObject. Expected _wxPyDropTarget_p.");
2669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyDropTarget_SetDataObject. Expected _wxDataObject_p.");
2676 wxPy_BEGIN_ALLOW_THREADS
;
2677 wxPyDropTarget_SetDataObject(_arg0
,_arg1
);
2679 wxPy_END_ALLOW_THREADS
;
2680 } Py_INCREF(Py_None
);
2681 _resultobj
= Py_None
;
2685 #define wxPyDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2686 static PyObject
*_wrap_wxPyDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2688 wxDragResult _result
;
2689 wxPyDropTarget
* _arg0
;
2693 PyObject
* _argo0
= 0;
2694 char *_kwnames
[] = { "self","x","y","def", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnEnter. Expected _wxPyDropTarget_p.");
2707 wxPy_BEGIN_ALLOW_THREADS
;
2708 _result
= (wxDragResult
)wxPyDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2710 wxPy_END_ALLOW_THREADS
;
2711 } _resultobj
= Py_BuildValue("i",_result
);
2715 #define wxPyDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2716 static PyObject
*_wrap_wxPyDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2718 wxDragResult _result
;
2719 wxPyDropTarget
* _arg0
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self","x","y","def", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDragOver. Expected _wxPyDropTarget_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 _result
= (wxDragResult
)wxPyDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2740 wxPy_END_ALLOW_THREADS
;
2741 } _resultobj
= Py_BuildValue("i",_result
);
2745 #define wxPyDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2746 static PyObject
*_wrap_wxPyDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
* _resultobj
;
2748 wxPyDropTarget
* _arg0
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnLeave. Expected _wxPyDropTarget_p.");
2763 wxPy_BEGIN_ALLOW_THREADS
;
2764 wxPyDropTarget_base_OnLeave(_arg0
);
2766 wxPy_END_ALLOW_THREADS
;
2767 } Py_INCREF(Py_None
);
2768 _resultobj
= Py_None
;
2772 #define wxPyDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2773 static PyObject
*_wrap_wxPyDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2776 wxPyDropTarget
* _arg0
;
2779 PyObject
* _argo0
= 0;
2780 char *_kwnames
[] = { "self","x","y", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDrop. Expected _wxPyDropTarget_p.");
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 _result
= (bool )wxPyDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2796 wxPy_END_ALLOW_THREADS
;
2797 } _resultobj
= Py_BuildValue("i",_result
);
2801 #define wxPyDropTarget_GetData(_swigobj) (_swigobj->GetData())
2802 static PyObject
*_wrap_wxPyDropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2805 wxPyDropTarget
* _arg0
;
2806 PyObject
* _argo0
= 0;
2807 char *_kwnames
[] = { "self", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetData",_kwnames
,&_argo0
))
2813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetData. Expected _wxPyDropTarget_p.");
2820 wxPy_BEGIN_ALLOW_THREADS
;
2821 _result
= (bool )wxPyDropTarget_GetData(_arg0
);
2823 wxPy_END_ALLOW_THREADS
;
2824 } _resultobj
= Py_BuildValue("i",_result
);
2828 static void *SwigwxPyTextDropTargetTowxPyDropTarget(void *ptr
) {
2829 wxPyTextDropTarget
*src
;
2830 wxPyDropTarget
*dest
;
2831 src
= (wxPyTextDropTarget
*) ptr
;
2832 dest
= (wxPyDropTarget
*) src
;
2833 return (void *) dest
;
2836 static void *SwigwxPyTextDropTargetTowxDropTarget(void *ptr
) {
2837 wxPyTextDropTarget
*src
;
2839 src
= (wxPyTextDropTarget
*) ptr
;
2840 dest
= (wxDropTarget
*) src
;
2841 return (void *) dest
;
2844 #define new_wxTextDropTarget() (new wxPyTextDropTarget())
2845 static PyObject
*_wrap_new_wxTextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2847 wxPyTextDropTarget
* _result
;
2848 char *_kwnames
[] = { NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTextDropTarget",_kwnames
))
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= (wxPyTextDropTarget
*)new_wxTextDropTarget();
2858 wxPy_END_ALLOW_THREADS
;
2860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDropTarget_p");
2861 _resultobj
= Py_BuildValue("s",_ptemp
);
2864 _resultobj
= Py_None
;
2869 #define wxTextDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2870 static PyObject
*_wrap_wxTextDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2872 wxPyTextDropTarget
* _arg0
;
2875 PyObject
* _argo0
= 0;
2876 PyObject
* _obj1
= 0;
2877 PyObject
* _obj2
= 0;
2878 char *_kwnames
[] = { "self","self","_class", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget__setSelf. Expected _wxPyTextDropTarget_p.");
2897 wxPy_BEGIN_ALLOW_THREADS
;
2898 wxTextDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
2900 wxPy_END_ALLOW_THREADS
;
2901 } Py_INCREF(Py_None
);
2902 _resultobj
= Py_None
;
2906 #define wxTextDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2907 static PyObject
*_wrap_wxTextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2909 wxDragResult _result
;
2910 wxPyTextDropTarget
* _arg0
;
2914 PyObject
* _argo0
= 0;
2915 char *_kwnames
[] = { "self","x","y","def", NULL
};
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnEnter. Expected _wxPyTextDropTarget_p.");
2928 wxPy_BEGIN_ALLOW_THREADS
;
2929 _result
= (wxDragResult
)wxTextDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2931 wxPy_END_ALLOW_THREADS
;
2932 } _resultobj
= Py_BuildValue("i",_result
);
2936 #define wxTextDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2937 static PyObject
*_wrap_wxTextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2939 wxDragResult _result
;
2940 wxPyTextDropTarget
* _arg0
;
2944 PyObject
* _argo0
= 0;
2945 char *_kwnames
[] = { "self","x","y","def", NULL
};
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDragOver. Expected _wxPyTextDropTarget_p.");
2958 wxPy_BEGIN_ALLOW_THREADS
;
2959 _result
= (wxDragResult
)wxTextDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2961 wxPy_END_ALLOW_THREADS
;
2962 } _resultobj
= Py_BuildValue("i",_result
);
2966 #define wxTextDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2967 static PyObject
*_wrap_wxTextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2969 wxPyTextDropTarget
* _arg0
;
2970 PyObject
* _argo0
= 0;
2971 char *_kwnames
[] = { "self", NULL
};
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnLeave. Expected _wxPyTextDropTarget_p.");
2984 wxPy_BEGIN_ALLOW_THREADS
;
2985 wxTextDropTarget_base_OnLeave(_arg0
);
2987 wxPy_END_ALLOW_THREADS
;
2988 } Py_INCREF(Py_None
);
2989 _resultobj
= Py_None
;
2993 #define wxTextDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2994 static PyObject
*_wrap_wxTextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2997 wxPyTextDropTarget
* _arg0
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self","x","y", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTextDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDrop. Expected _wxPyTextDropTarget_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 _result
= (bool )wxTextDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3017 wxPy_END_ALLOW_THREADS
;
3018 } _resultobj
= Py_BuildValue("i",_result
);
3022 #define wxTextDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3023 static PyObject
*_wrap_wxTextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3025 wxDragResult _result
;
3026 wxPyTextDropTarget
* _arg0
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self","x","y","def", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnData. Expected _wxPyTextDropTarget_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 _result
= (wxDragResult
)wxTextDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3047 wxPy_END_ALLOW_THREADS
;
3048 } _resultobj
= Py_BuildValue("i",_result
);
3052 static void *SwigwxPyFileDropTargetTowxPyDropTarget(void *ptr
) {
3053 wxPyFileDropTarget
*src
;
3054 wxPyDropTarget
*dest
;
3055 src
= (wxPyFileDropTarget
*) ptr
;
3056 dest
= (wxPyDropTarget
*) src
;
3057 return (void *) dest
;
3060 static void *SwigwxPyFileDropTargetTowxDropTarget(void *ptr
) {
3061 wxPyFileDropTarget
*src
;
3063 src
= (wxPyFileDropTarget
*) ptr
;
3064 dest
= (wxDropTarget
*) src
;
3065 return (void *) dest
;
3068 #define new_wxFileDropTarget() (new wxPyFileDropTarget())
3069 static PyObject
*_wrap_new_wxFileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3071 wxPyFileDropTarget
* _result
;
3072 char *_kwnames
[] = { NULL
};
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDropTarget",_kwnames
))
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 _result
= (wxPyFileDropTarget
*)new_wxFileDropTarget();
3082 wxPy_END_ALLOW_THREADS
;
3084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileDropTarget_p");
3085 _resultobj
= Py_BuildValue("s",_ptemp
);
3088 _resultobj
= Py_None
;
3093 #define wxFileDropTarget__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3094 static PyObject
*_wrap_wxFileDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
* _resultobj
;
3096 wxPyFileDropTarget
* _arg0
;
3099 PyObject
* _argo0
= 0;
3100 PyObject
* _obj1
= 0;
3101 PyObject
* _obj2
= 0;
3102 char *_kwnames
[] = { "self","self","_class", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFileDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget__setSelf. Expected _wxPyFileDropTarget_p.");
3121 wxPy_BEGIN_ALLOW_THREADS
;
3122 wxFileDropTarget__setSelf(_arg0
,_arg1
,_arg2
);
3124 wxPy_END_ALLOW_THREADS
;
3125 } Py_INCREF(Py_None
);
3126 _resultobj
= Py_None
;
3130 #define wxFileDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
3131 static PyObject
*_wrap_wxFileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3133 wxDragResult _result
;
3134 wxPyFileDropTarget
* _arg0
;
3138 PyObject
* _argo0
= 0;
3139 char *_kwnames
[] = { "self","x","y","def", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnEnter. Expected _wxPyFileDropTarget_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 _result
= (wxDragResult
)wxFileDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } _resultobj
= Py_BuildValue("i",_result
);
3160 #define wxFileDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
3161 static PyObject
*_wrap_wxFileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3163 wxDragResult _result
;
3164 wxPyFileDropTarget
* _arg0
;
3168 PyObject
* _argo0
= 0;
3169 char *_kwnames
[] = { "self","x","y","def", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDragOver. Expected _wxPyFileDropTarget_p.");
3182 wxPy_BEGIN_ALLOW_THREADS
;
3183 _result
= (wxDragResult
)wxFileDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
3185 wxPy_END_ALLOW_THREADS
;
3186 } _resultobj
= Py_BuildValue("i",_result
);
3190 #define wxFileDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
3191 static PyObject
*_wrap_wxFileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3193 wxPyFileDropTarget
* _arg0
;
3194 PyObject
* _argo0
= 0;
3195 char *_kwnames
[] = { "self", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDropTarget_base_OnLeave",_kwnames
,&_argo0
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnLeave. Expected _wxPyFileDropTarget_p.");
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 wxFileDropTarget_base_OnLeave(_arg0
);
3211 wxPy_END_ALLOW_THREADS
;
3212 } Py_INCREF(Py_None
);
3213 _resultobj
= Py_None
;
3217 #define wxFileDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3218 static PyObject
*_wrap_wxFileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3221 wxPyFileDropTarget
* _arg0
;
3224 PyObject
* _argo0
= 0;
3225 char *_kwnames
[] = { "self","x","y", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFileDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDrop. Expected _wxPyFileDropTarget_p.");
3238 wxPy_BEGIN_ALLOW_THREADS
;
3239 _result
= (bool )wxFileDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3241 wxPy_END_ALLOW_THREADS
;
3242 } _resultobj
= Py_BuildValue("i",_result
);
3246 #define wxFileDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3247 static PyObject
*_wrap_wxFileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3249 wxDragResult _result
;
3250 wxPyFileDropTarget
* _arg0
;
3254 PyObject
* _argo0
= 0;
3255 char *_kwnames
[] = { "self","x","y","def", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnData. Expected _wxPyFileDropTarget_p.");
3268 wxPy_BEGIN_ALLOW_THREADS
;
3269 _result
= (wxDragResult
)wxFileDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3271 wxPy_END_ALLOW_THREADS
;
3272 } _resultobj
= Py_BuildValue("i",_result
);
3276 static PyMethodDef clip_dndcMethods
[] = {
3277 { "wxFileDropTarget_base_OnData", (PyCFunction
) _wrap_wxFileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3278 { "wxFileDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3279 { "wxFileDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxFileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3280 { "wxFileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3281 { "wxFileDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxFileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3282 { "wxFileDropTarget__setSelf", (PyCFunction
) _wrap_wxFileDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3283 { "new_wxFileDropTarget", (PyCFunction
) _wrap_new_wxFileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3284 { "wxTextDropTarget_base_OnData", (PyCFunction
) _wrap_wxTextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3285 { "wxTextDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3286 { "wxTextDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxTextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3287 { "wxTextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3288 { "wxTextDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxTextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3289 { "wxTextDropTarget__setSelf", (PyCFunction
) _wrap_wxTextDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3290 { "new_wxTextDropTarget", (PyCFunction
) _wrap_new_wxTextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3291 { "wxPyDropTarget_GetData", (PyCFunction
) _wrap_wxPyDropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3292 { "wxPyDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3293 { "wxPyDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxPyDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3294 { "wxPyDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3295 { "wxPyDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxPyDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3296 { "wxPyDropTarget_SetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3297 { "wxPyDropTarget_GetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3298 { "delete_wxPyDropTarget", (PyCFunction
) _wrap_delete_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3299 { "wxPyDropTarget__setSelf", (PyCFunction
) _wrap_wxPyDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3300 { "new_wxPyDropTarget", (PyCFunction
) _wrap_new_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3301 { "wxDropSource_base_GiveFeedback", (PyCFunction
) _wrap_wxDropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
3302 { "wxDropSource_DoDragDrop", (PyCFunction
) _wrap_wxDropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
3303 { "wxDropSource_SetCursor", (PyCFunction
) _wrap_wxDropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
3304 { "wxDropSource_GetDataObject", (PyCFunction
) _wrap_wxDropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3305 { "wxDropSource_SetData", (PyCFunction
) _wrap_wxDropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3306 { "delete_wxDropSource", (PyCFunction
) _wrap_delete_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3307 { "wxDropSource__setSelf", (PyCFunction
) _wrap_wxDropSource__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3308 { "new_wxDropSource", (PyCFunction
) _wrap_new_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3309 { "wxClipboard_UsePrimarySelection", (PyCFunction
) _wrap_wxClipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
3310 { "wxClipboard_Flush", (PyCFunction
) _wrap_wxClipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
3311 { "wxClipboard_Clear", (PyCFunction
) _wrap_wxClipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3312 { "wxClipboard_GetData", (PyCFunction
) _wrap_wxClipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3313 { "wxClipboard_IsSupported", (PyCFunction
) _wrap_wxClipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
3314 { "wxClipboard_SetData", (PyCFunction
) _wrap_wxClipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3315 { "wxClipboard_AddData", (PyCFunction
) _wrap_wxClipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
3316 { "wxClipboard_IsOpened", (PyCFunction
) _wrap_wxClipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
3317 { "wxClipboard_Close", (PyCFunction
) _wrap_wxClipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
3318 { "wxClipboard_Open", (PyCFunction
) _wrap_wxClipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
3319 { "new_wxClipboard", (PyCFunction
) _wrap_new_wxClipboard
, METH_VARARGS
| METH_KEYWORDS
},
3320 { "wxCustomDataObject_GetData", (PyCFunction
) _wrap_wxCustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3321 { "wxCustomDataObject_GetSize", (PyCFunction
) _wrap_wxCustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3322 { "wxCustomDataObject_SetData", (PyCFunction
) _wrap_wxCustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3323 { "wxCustomDataObject_TakeData", (PyCFunction
) _wrap_wxCustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
3324 { "new_wxCustomDataObject", (PyCFunction
) _wrap_new_wxCustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3325 { "wxFileDataObject_GetFilenames", (PyCFunction
) _wrap_wxFileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3326 { "new_wxFileDataObject", (PyCFunction
) _wrap_new_wxFileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3327 { "wxPyBitmapDataObject__setSelf", (PyCFunction
) _wrap_wxPyBitmapDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3328 { "new_wxPyBitmapDataObject", (PyCFunction
) _wrap_new_wxPyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3329 { "wxBitmapDataObject_SetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3330 { "wxBitmapDataObject_GetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3331 { "new_wxBitmapDataObject", (PyCFunction
) _wrap_new_wxBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3332 { "wxPyTextDataObject__setSelf", (PyCFunction
) _wrap_wxPyTextDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3333 { "new_wxPyTextDataObject", (PyCFunction
) _wrap_new_wxPyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3334 { "wxTextDataObject_SetText", (PyCFunction
) _wrap_wxTextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3335 { "wxTextDataObject_GetText", (PyCFunction
) _wrap_wxTextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3336 { "wxTextDataObject_GetTextLength", (PyCFunction
) _wrap_wxTextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
3337 { "new_wxTextDataObject", (PyCFunction
) _wrap_new_wxTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3338 { "wxDataObjectComposite_Add", (PyCFunction
) _wrap_wxDataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
3339 { "new_wxDataObjectComposite", (PyCFunction
) _wrap_new_wxDataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
3340 { "wxPyDataObjectSimple__setSelf", (PyCFunction
) _wrap_wxPyDataObjectSimple__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3341 { "new_wxPyDataObjectSimple", (PyCFunction
) _wrap_new_wxPyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3342 { "wxDataObjectSimple_SetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3343 { "wxDataObjectSimple_GetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3344 { "new_wxDataObjectSimple", (PyCFunction
) _wrap_new_wxDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3345 { "wxDataObject_IsSupportedFormat", (PyCFunction
) _wrap_wxDataObject_IsSupportedFormat
, METH_VARARGS
| METH_KEYWORDS
},
3346 { "wxDataObject_SetData", (PyCFunction
) _wrap_wxDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3347 { "wxDataObject_GetDataHere", (PyCFunction
) _wrap_wxDataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
3348 { "wxDataObject_GetDataSize", (PyCFunction
) _wrap_wxDataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
3349 { "wxDataObject_GetAllFormats", (PyCFunction
) _wrap_wxDataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
3350 { "wxDataObject_GetFormatCount", (PyCFunction
) _wrap_wxDataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
3351 { "wxDataObject_GetPreferredFormat", (PyCFunction
) _wrap_wxDataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
3352 { "delete_wxDataObject", (PyCFunction
) _wrap_delete_wxDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3353 { "wxDataFormat_SetId", (PyCFunction
) _wrap_wxDataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3354 { "wxDataFormat_GetId", (PyCFunction
) _wrap_wxDataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3355 { "wxDataFormat_GetType", (PyCFunction
) _wrap_wxDataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
3356 { "wxDataFormat_SetType", (PyCFunction
) _wrap_wxDataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
3357 { "delete_wxDataFormat", (PyCFunction
) _wrap_delete_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3358 { "new_wxDataFormat", (PyCFunction
) _wrap_new_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3359 { "wxIsDragResultOk", (PyCFunction
) _wrap_wxIsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
3360 { "wxCustomDataFormat", (PyCFunction
) _wrap_wxCustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3367 * This table is used by the pointer type-checker
3369 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3370 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3371 { "_signed_long","_long",0},
3372 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3373 { "_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3374 { "_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3375 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3376 { "_wxPrintQuality","_wxCoord",0},
3377 { "_wxPrintQuality","_int",0},
3378 { "_wxPrintQuality","_signed_int",0},
3379 { "_wxPrintQuality","_unsigned_int",0},
3380 { "_wxPrintQuality","_wxWindowID",0},
3381 { "_wxPrintQuality","_uint",0},
3382 { "_wxPrintQuality","_EBool",0},
3383 { "_wxPrintQuality","_size_t",0},
3384 { "_wxPrintQuality","_time_t",0},
3385 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3386 { "_class_wxRegionIterator","_wxRegionIterator",0},
3387 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3388 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3389 { "_wxCursor","_class_wxCursor",0},
3390 { "_wxMask","_class_wxMask",0},
3391 { "_wxPen","_class_wxPen",0},
3392 { "_byte","_unsigned_char",0},
3393 { "_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3394 { "_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3395 { "_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3396 { "_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3397 { "_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3398 { "_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3399 { "_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3400 { "_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3401 { "_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3402 { "_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3403 { "_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3404 { "_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3405 { "_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3406 { "_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3407 { "_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3408 { "_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3409 { "_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3410 { "_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3411 { "_wxDataObject","_class_wxDataObject",0},
3412 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3413 { "_wxPyDropSource","_class_wxPyDropSource",0},
3414 { "_long","_unsigned_long",0},
3415 { "_long","_signed_long",0},
3416 { "_wxImageList","_class_wxImageList",0},
3417 { "_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3418 { "_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3419 { "_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3420 { "_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3421 { "_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3422 { "_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3423 { "_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3424 { "_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3425 { "_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3426 { "_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3427 { "_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3428 { "_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3429 { "_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3430 { "_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3431 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3432 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3433 { "_class_wxClipboard","_wxClipboard",0},
3434 { "_wxDC","_class_wxDC",0},
3435 { "_class_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3436 { "_class_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3437 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3438 { "_size_t","_wxCoord",0},
3439 { "_size_t","_wxPrintQuality",0},
3440 { "_size_t","_time_t",0},
3441 { "_size_t","_unsigned_int",0},
3442 { "_size_t","_int",0},
3443 { "_size_t","_wxWindowID",0},
3444 { "_size_t","_uint",0},
3445 { "_class_wxRealPoint","_wxRealPoint",0},
3446 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
3447 { "_class_wxMask","_wxMask",0},
3448 { "_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3449 { "_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3450 { "_wxTextDataObject","_class_wxTextDataObject",0},
3451 { "_wxColour","_class_wxColour",0},
3452 { "_class_wxFileDataObject","_wxFileDataObject",0},
3453 { "_class_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3454 { "_class_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3455 { "_class_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3456 { "_class_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3457 { "_class_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3458 { "_class_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3459 { "_class_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3460 { "_class_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3461 { "_class_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3462 { "_class_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3463 { "_class_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3464 { "_class_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3465 { "_class_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3466 { "_class_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3467 { "_class_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3468 { "_class_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3469 { "_class_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3470 { "_class_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3471 { "_class_wxDataObject","_wxDataObject",0},
3472 { "_wxBrush","_class_wxBrush",0},
3473 { "_wxDataFormat","_class_wxDataFormat",0},
3474 { "_class_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3475 { "_class_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3476 { "_class_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3477 { "_class_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3478 { "_class_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3479 { "_class_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3480 { "_class_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3481 { "_class_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3482 { "_class_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3483 { "_class_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3484 { "_class_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3485 { "_class_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3486 { "_class_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3487 { "_class_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3488 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3489 { "_uint","_wxCoord",0},
3490 { "_uint","_wxPrintQuality",0},
3491 { "_uint","_time_t",0},
3492 { "_uint","_size_t",0},
3493 { "_uint","_unsigned_int",0},
3494 { "_uint","_int",0},
3495 { "_uint","_wxWindowID",0},
3496 { "_wxChar","_char",0},
3497 { "_wxRect","_class_wxRect",0},
3498 { "_wxPoint","_class_wxPoint",0},
3499 { "_char","_wxChar",0},
3500 { "_wxBitmap","_class_wxBitmap",0},
3501 { "_wxWindowDC","_class_wxWindowDC",0},
3502 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3503 { "_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3504 { "_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3505 { "_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3506 { "_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3507 { "_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3508 { "_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3509 { "_wxDropTarget","_class_wxDropTarget",0},
3510 { "_EBool","_wxCoord",0},
3511 { "_EBool","_wxPrintQuality",0},
3512 { "_EBool","_signed_int",0},
3513 { "_EBool","_int",0},
3514 { "_EBool","_wxWindowID",0},
3515 { "_class_wxRegion","_wxRegion",0},
3516 { "_class_wxDataFormat","_wxDataFormat",0},
3517 { "_wxFont","_class_wxFont",0},
3518 { "_class_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3519 { "_class_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3520 { "_class_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3521 { "_class_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3522 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3523 { "_unsigned_long","_long",0},
3524 { "_class_wxRect","_wxRect",0},
3525 { "_class_wxDC","_wxDC",0},
3526 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3527 { "_signed_int","_wxCoord",0},
3528 { "_signed_int","_wxPrintQuality",0},
3529 { "_signed_int","_EBool",0},
3530 { "_signed_int","_wxWindowID",0},
3531 { "_signed_int","_int",0},
3532 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3533 { "_class_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3534 { "_class_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3535 { "_class_wxTextDataObject","_wxTextDataObject",0},
3536 { "_wxScreenDC","_class_wxScreenDC",0},
3537 { "_WXTYPE","_short",0},
3538 { "_WXTYPE","_signed_short",0},
3539 { "_WXTYPE","_unsigned_short",0},
3540 { "_class_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3541 { "_class_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3542 { "_class_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3543 { "_class_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3544 { "_class_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3545 { "_class_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3546 { "_class_wxDropTarget","_wxDropTarget",0},
3547 { "_class_wxBrush","_wxBrush",0},
3548 { "_unsigned_short","_WXTYPE",0},
3549 { "_unsigned_short","_short",0},
3550 { "_class_wxFont","_wxFont",0},
3551 { "_wxClipboard","_class_wxClipboard",0},
3552 { "_wxBusyInfo","_class_wxBusyInfo",0},
3553 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3554 { "_wxClientDC","_class_wxClientDC",0},
3555 { "_class_wxPoint","_wxPoint",0},
3556 { "_wxRealPoint","_class_wxRealPoint",0},
3557 { "_signed_short","_WXTYPE",0},
3558 { "_signed_short","_short",0},
3559 { "_wxMemoryDC","_class_wxMemoryDC",0},
3560 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3561 { "_wxPaintDC","_class_wxPaintDC",0},
3562 { "_class_wxWindowDC","_wxWindowDC",0},
3563 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3564 { "_class_wxCursor","_wxCursor",0},
3565 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
3566 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3567 { "_unsigned_char","_byte",0},
3568 { "_unsigned_int","_wxCoord",0},
3569 { "_unsigned_int","_wxPrintQuality",0},
3570 { "_unsigned_int","_time_t",0},
3571 { "_unsigned_int","_size_t",0},
3572 { "_unsigned_int","_uint",0},
3573 { "_unsigned_int","_wxWindowID",0},
3574 { "_unsigned_int","_int",0},
3575 { "_wxIcon","_class_wxIcon",0},
3576 { "_class_wxPen","_wxPen",0},
3577 { "_short","_WXTYPE",0},
3578 { "_short","_unsigned_short",0},
3579 { "_short","_signed_short",0},
3580 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3581 { "_class_wxPyDropSource","_wxPyDropSource",0},
3582 { "_class_wxImageList","_wxImageList",0},
3583 { "_wxWindowID","_wxCoord",0},
3584 { "_wxWindowID","_wxPrintQuality",0},
3585 { "_wxWindowID","_time_t",0},
3586 { "_wxWindowID","_size_t",0},
3587 { "_wxWindowID","_EBool",0},
3588 { "_wxWindowID","_uint",0},
3589 { "_wxWindowID","_int",0},
3590 { "_wxWindowID","_signed_int",0},
3591 { "_wxWindowID","_unsigned_int",0},
3592 { "_int","_wxCoord",0},
3593 { "_int","_wxPrintQuality",0},
3594 { "_int","_time_t",0},
3595 { "_int","_size_t",0},
3596 { "_int","_EBool",0},
3597 { "_int","_uint",0},
3598 { "_int","_wxWindowID",0},
3599 { "_int","_unsigned_int",0},
3600 { "_int","_signed_int",0},
3601 { "_time_t","_wxCoord",0},
3602 { "_time_t","_wxPrintQuality",0},
3603 { "_time_t","_unsigned_int",0},
3604 { "_time_t","_int",0},
3605 { "_time_t","_wxWindowID",0},
3606 { "_time_t","_uint",0},
3607 { "_time_t","_size_t",0},
3608 { "_wxSize","_class_wxSize",0},
3609 { "_wxRegionIterator","_class_wxRegionIterator",0},
3610 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3611 { "_class_wxPaintDC","_wxPaintDC",0},
3612 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3613 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3614 { "_class_wxIcon","_wxIcon",0},
3615 { "_class_wxColour","_wxColour",0},
3616 { "_class_wxScreenDC","_wxScreenDC",0},
3617 { "_wxPalette","_class_wxPalette",0},
3618 { "_wxCoord","_int",0},
3619 { "_wxCoord","_signed_int",0},
3620 { "_wxCoord","_unsigned_int",0},
3621 { "_wxCoord","_wxWindowID",0},
3622 { "_wxCoord","_uint",0},
3623 { "_wxCoord","_EBool",0},
3624 { "_wxCoord","_size_t",0},
3625 { "_wxCoord","_time_t",0},
3626 { "_wxCoord","_wxPrintQuality",0},
3627 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3628 { "_wxRegion","_class_wxRegion",0},
3629 { "_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3630 { "_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3631 { "_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3632 { "_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3633 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3634 { "_class_wxBusyInfo","_wxBusyInfo",0},
3635 { "_class_wxClientDC","_wxClientDC",0},
3636 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3637 { "_class_wxSize","_wxSize",0},
3638 { "_class_wxBitmap","_wxBitmap",0},
3639 { "_class_wxMemoryDC","_wxMemoryDC",0},
3640 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3641 { "_class_wxPalette","_wxPalette",0},
3642 { "_wxFileDataObject","_class_wxFileDataObject",0},
3643 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3646 static PyObject
*SWIG_globals
;
3650 SWIGEXPORT(void) initclip_dndc() {
3652 SWIG_globals
= SWIG_newvarlink();
3653 m
= Py_InitModule("clip_dndc", clip_dndcMethods
);
3654 d
= PyModule_GetDict(m
);
3655 PyDict_SetItemString(d
,"wxDF_INVALID", PyInt_FromLong((long) wxDF_INVALID
));
3656 PyDict_SetItemString(d
,"wxDF_TEXT", PyInt_FromLong((long) wxDF_TEXT
));
3657 PyDict_SetItemString(d
,"wxDF_BITMAP", PyInt_FromLong((long) wxDF_BITMAP
));
3658 PyDict_SetItemString(d
,"wxDF_METAFILE", PyInt_FromLong((long) wxDF_METAFILE
));
3659 PyDict_SetItemString(d
,"wxDF_SYLK", PyInt_FromLong((long) wxDF_SYLK
));
3660 PyDict_SetItemString(d
,"wxDF_DIF", PyInt_FromLong((long) wxDF_DIF
));
3661 PyDict_SetItemString(d
,"wxDF_TIFF", PyInt_FromLong((long) wxDF_TIFF
));
3662 PyDict_SetItemString(d
,"wxDF_OEMTEXT", PyInt_FromLong((long) wxDF_OEMTEXT
));
3663 PyDict_SetItemString(d
,"wxDF_DIB", PyInt_FromLong((long) wxDF_DIB
));
3664 PyDict_SetItemString(d
,"wxDF_PALETTE", PyInt_FromLong((long) wxDF_PALETTE
));
3665 PyDict_SetItemString(d
,"wxDF_PENDATA", PyInt_FromLong((long) wxDF_PENDATA
));
3666 PyDict_SetItemString(d
,"wxDF_RIFF", PyInt_FromLong((long) wxDF_RIFF
));
3667 PyDict_SetItemString(d
,"wxDF_WAVE", PyInt_FromLong((long) wxDF_WAVE
));
3668 PyDict_SetItemString(d
,"wxDF_UNICODETEXT", PyInt_FromLong((long) wxDF_UNICODETEXT
));
3669 PyDict_SetItemString(d
,"wxDF_ENHMETAFILE", PyInt_FromLong((long) wxDF_ENHMETAFILE
));
3670 PyDict_SetItemString(d
,"wxDF_FILENAME", PyInt_FromLong((long) wxDF_FILENAME
));
3671 PyDict_SetItemString(d
,"wxDF_LOCALE", PyInt_FromLong((long) wxDF_LOCALE
));
3672 PyDict_SetItemString(d
,"wxDF_PRIVATE", PyInt_FromLong((long) wxDF_PRIVATE
));
3673 PyDict_SetItemString(d
,"wxDF_MAX", PyInt_FromLong((long) wxDF_MAX
));
3674 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
3675 SWIG_addvarlink(SWIG_globals
,"wxFormatInvalid",_wrap_wxPyFormatInvalid_get
, _wrap_wxPyFormatInvalid_set
);
3676 SWIG_addvarlink(SWIG_globals
,"wxTheClipboard",_wrap_wxPyTheClipboard_get
, _wrap_wxPyTheClipboard_set
);
3677 PyDict_SetItemString(d
,"wxDragError", PyInt_FromLong((long) wxDragError
));
3678 PyDict_SetItemString(d
,"wxDragNone", PyInt_FromLong((long) wxDragNone
));
3679 PyDict_SetItemString(d
,"wxDragCopy", PyInt_FromLong((long) wxDragCopy
));
3680 PyDict_SetItemString(d
,"wxDragMove", PyInt_FromLong((long) wxDragMove
));
3681 PyDict_SetItemString(d
,"wxDragCancel", PyInt_FromLong((long) wxDragCancel
));
3684 wxPyTheClipboard
= wxTheClipboard
;
3686 PyDict_SetItemString(d
,"wxDataObject_Get", PyInt_FromLong((long) wxDataObject::Get
));
3687 PyDict_SetItemString(d
,"wxDataObject_Set", PyInt_FromLong((long) wxDataObject::Set
));
3688 PyDict_SetItemString(d
,"wxDataObject_Both", PyInt_FromLong((long) wxDataObject::Both
));
3691 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3692 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);