2 * FILE : msw/clip_dnd.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initclip_dndc
54 #define SWIG_name "clip_dndc"
57 #include <wx/dataobj.h>
58 #include <wx/clipbrd.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
108 static char* wxStringErrorMsg
= "string type is required for parameter";
109 // An alternate constructor...
110 wxDataFormat
* wxCustomDataFormat(const wxString
&id
) {
111 return new wxDataFormat(id
);
114 wxDataFormat wxPyFormatInvalid
;
115 // Create a new class for wxPython to use
116 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
118 wxPyDataObjectSimple(const wxDataFormat
& format
= wxPyFormatInvalid
)
119 : wxDataObjectSimple(format
) {}
121 DEC_PYCALLBACK_SIZET_(GetDataSize
);
122 bool GetDataHere(void *buf
);
123 bool SetData(size_t len
, const void *buf
);
127 IMP_PYCALLBACK_SIZET_(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
129 bool wxPyDataObjectSimple::GetDataHere(void *buf
) {
130 // We need to get the data for this object and write it to buf. I think
131 // the best way to do this for wxPython is to have the Python method
132 // return either a string or None and then act appropriately with the
136 bool doSave
= wxPyRestoreThread();
137 if (m_myInst
.findCallback("GetDataHere")) {
139 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
140 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
142 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
144 wxPySaveThread(doSave
);
148 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
149 // For this one we simply need to make a string from buf and len
150 // and send it to the Python method.
152 bool doSave
= wxPyRestoreThread();
153 if (m_myInst
.findCallback("SetData")) {
154 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
155 rval
= m_myInst
.callCallback(Py_BuildValue("(O)", data
));
158 wxPySaveThread(doSave
);
161 // Create a new class for wxPython to use
162 class wxPyTextDataObject
: public wxTextDataObject
{
164 wxPyTextDataObject(const wxString
& text
= wxEmptyString
)
165 : wxTextDataObject(text
) {}
167 DEC_PYCALLBACK_SIZET_(GetTextLength
);
168 DEC_PYCALLBACK_STRING_(GetText
);
169 DEC_PYCALLBACK__STRING(SetText
);
173 IMP_PYCALLBACK_SIZET_(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
174 IMP_PYCALLBACK_STRING_(wxPyTextDataObject
, wxTextDataObject
, GetText
);
175 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
177 // Create a new class for wxPython to use
178 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
180 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
181 : wxBitmapDataObject(bitmap
) {}
183 wxBitmap
GetBitmap();
184 void SetBitmap(const wxBitmap
& bitmap
);
188 wxBitmap
wxPyBitmapDataObject::GetBitmap() {
189 wxBitmap
* rval
= &wxNullBitmap
;
190 bool doSave
= wxPyRestoreThread();
191 if (m_myInst
.findCallback("GetBitmap")) {
194 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
195 if (! SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxBitmap_p"))
198 wxPySaveThread(doSave
);
202 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
203 bool doSave
= wxPyRestoreThread();
204 if (m_myInst
.findCallback("SetBitmap")) {
205 m_myInst
.callCallback(Py_BuildValue("(O)",
206 wxPyConstructObject((void*)&bitmap
, "wxBitmap")));
208 wxPySaveThread(doSave
);
211 wxClipboard
* wxPyTheClipboard
;
213 class wxPyDropSource
: public wxDropSource
{
215 wxPyDropSource(wxWindow
*win
= NULL
,
216 const wxCursor
&cursorCopy
= wxNullCursor
,
217 const wxCursor
&cursorMove
= wxNullCursor
,
218 const wxCursor
&cursorStop
= wxNullCursor
)
219 : wxDropSource(win
, cursorCopy
, cursorMove
, cursorStop
) {}
221 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
225 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
228 class wxPyDropTarget
: public wxDropTarget
{
230 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
231 : wxDropTarget(dataObject
) {}
233 // DEC_PYCALLBACK_SIZET_(GetFormatCount);
234 // DEC_PYCALLBACK_DATAFMT_SIZET(GetFormat);
236 DEC_PYCALLBACK__(OnLeave
);
237 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
238 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
239 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
240 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
245 // IMP_PYCALLBACK_SIZET_(wxPyDropTarget, wxDropTarget, GetFormatCount);
246 // IMP__PYCALLBACK_DATAFMT_SIZET(wxPyDropTarget, wxDropTarget, GetFormat);
248 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
249 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
250 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
251 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
252 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
255 class wxPyTextDropTarget
: public wxTextDropTarget
{
257 wxPyTextDropTarget() {}
259 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
261 DEC_PYCALLBACK__(OnLeave
);
262 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
263 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
264 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
265 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
270 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
271 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
272 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
273 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
274 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
275 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
278 class wxPyFileDropTarget
: public wxFileDropTarget
{
280 wxPyFileDropTarget() {}
282 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
284 DEC_PYCALLBACK__(OnLeave
);
285 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
286 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
287 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
288 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
293 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
294 const wxArrayString
& filenames
) {
296 bool doSave
= wxPyRestoreThread();
297 PyObject
* list
= PyList_New(0);
298 for (size_t i
=0; i
<filenames
.GetCount(); i
++) {
299 PyObject
* str
= PyString_FromString(filenames
[i
].c_str());
300 PyList_Append(list
, str
);
302 if (m_myInst
.findCallback("OnDropFiles"))
303 rval
= m_myInst
.callCallback(Py_BuildValue("(iiO)",x
,y
,list
));
305 wxPySaveThread(doSave
);
311 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
312 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
313 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
314 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
315 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
320 static PyObject
*_wrap_wxCustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
322 wxDataFormat
* _result
;
324 PyObject
* _obj0
= 0;
325 char *_kwnames
[] = { "id", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataFormat",_kwnames
,&_obj0
))
332 if (!PyString_Check(_obj0
)) {
333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
336 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
339 wxPy_BEGIN_ALLOW_THREADS
;
340 _result
= (wxDataFormat
*)wxCustomDataFormat(*_arg0
);
342 wxPy_END_ALLOW_THREADS
;
344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
345 _resultobj
= Py_BuildValue("s",_ptemp
);
348 _resultobj
= Py_None
;
357 static int _wrap_wxPyFormatInvalid_set(PyObject
*val
) {
359 PyErr_SetString(PyExc_TypeError
,"Variable wxFormatInvalid is read-only.");
363 static PyObject
*_wrap_wxPyFormatInvalid_get() {
367 SWIG_MakePtr(ptemp
,(char *) &wxPyFormatInvalid
,"_wxDataFormat_p");
368 pyobj
= PyString_FromString(ptemp
);
372 static int _wrap_wxPyTheClipboard_set(PyObject
*val
) {
374 PyErr_SetString(PyExc_TypeError
,"Variable wxTheClipboard is read-only.");
378 static PyObject
*_wrap_wxPyTheClipboard_get() {
382 SWIG_MakePtr(ptemp
, (char *) wxPyTheClipboard
,"_wxClipboard_p");
383 pyobj
= PyString_FromString(ptemp
);
387 static PyObject
*_wrap_wxIsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
391 char *_kwnames
[] = { "res", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxIsDragResultOk",_kwnames
,&_arg0
))
397 wxPy_BEGIN_ALLOW_THREADS
;
398 _result
= (bool )wxIsDragResultOk(_arg0
);
400 wxPy_END_ALLOW_THREADS
;
401 } _resultobj
= Py_BuildValue("i",_result
);
405 #define new_wxDataFormat(_swigarg0) (new wxDataFormat(_swigarg0))
406 static PyObject
*_wrap_new_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
407 PyObject
* _resultobj
;
408 wxDataFormat
* _result
;
409 wxDataFormatId _arg0
;
410 char *_kwnames
[] = { "type", NULL
};
414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxDataFormat",_kwnames
,&_arg0
))
417 wxPy_BEGIN_ALLOW_THREADS
;
418 _result
= (wxDataFormat
*)new_wxDataFormat(_arg0
);
420 wxPy_END_ALLOW_THREADS
;
422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
423 _resultobj
= Py_BuildValue("s",_ptemp
);
426 _resultobj
= Py_None
;
431 #define delete_wxDataFormat(_swigobj) (delete _swigobj)
432 static PyObject
*_wrap_delete_wxDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
434 wxDataFormat
* _arg0
;
435 PyObject
* _argo0
= 0;
436 char *_kwnames
[] = { "self", NULL
};
439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataFormat",_kwnames
,&_argo0
))
442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataFormat. Expected _wxDataFormat_p.");
449 wxPy_BEGIN_ALLOW_THREADS
;
450 delete_wxDataFormat(_arg0
);
452 wxPy_END_ALLOW_THREADS
;
453 } Py_INCREF(Py_None
);
454 _resultobj
= Py_None
;
458 #define wxDataFormat_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
459 static PyObject
*_wrap_wxDataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
461 wxDataFormat
* _arg0
;
462 wxDataFormatId _arg1
;
463 PyObject
* _argo0
= 0;
464 char *_kwnames
[] = { "self","format", NULL
};
467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDataFormat_SetType",_kwnames
,&_argo0
,&_arg1
))
470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetType. Expected _wxDataFormat_p.");
477 wxPy_BEGIN_ALLOW_THREADS
;
478 wxDataFormat_SetType(_arg0
,_arg1
);
480 wxPy_END_ALLOW_THREADS
;
481 } Py_INCREF(Py_None
);
482 _resultobj
= Py_None
;
486 #define wxDataFormat_GetType(_swigobj) (_swigobj->GetType())
487 static PyObject
*_wrap_wxDataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
488 PyObject
* _resultobj
;
489 wxDataFormatId _result
;
490 wxDataFormat
* _arg0
;
491 PyObject
* _argo0
= 0;
492 char *_kwnames
[] = { "self", NULL
};
495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetType",_kwnames
,&_argo0
))
498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetType. Expected _wxDataFormat_p.");
505 wxPy_BEGIN_ALLOW_THREADS
;
506 _result
= (wxDataFormatId
)wxDataFormat_GetType(_arg0
);
508 wxPy_END_ALLOW_THREADS
;
509 } _resultobj
= Py_BuildValue("i",_result
);
513 #define wxDataFormat_GetId(_swigobj) (_swigobj->GetId())
514 static PyObject
*_wrap_wxDataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
517 wxDataFormat
* _arg0
;
518 PyObject
* _argo0
= 0;
519 char *_kwnames
[] = { "self", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataFormat_GetId",_kwnames
,&_argo0
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_GetId. Expected _wxDataFormat_p.");
532 wxPy_BEGIN_ALLOW_THREADS
;
533 _result
= new wxString (wxDataFormat_GetId(_arg0
));
535 wxPy_END_ALLOW_THREADS
;
537 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
545 #define wxDataFormat_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
546 static PyObject
*_wrap_wxDataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
548 wxDataFormat
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self","format", NULL
};
554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxDataFormat_SetId",_kwnames
,&_argo0
,&_arg1
))
557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataFormat_SetId. Expected _wxDataFormat_p.");
564 wxPy_BEGIN_ALLOW_THREADS
;
565 wxDataFormat_SetId(_arg0
,_arg1
);
567 wxPy_END_ALLOW_THREADS
;
568 } Py_INCREF(Py_None
);
569 _resultobj
= Py_None
;
573 #define delete_wxDataObject(_swigobj) (delete _swigobj)
574 static PyObject
*_wrap_delete_wxDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
576 wxDataObject
* _arg0
;
577 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDataObject",_kwnames
,&_argo0
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDataObject. Expected _wxDataObject_p.");
591 wxPy_BEGIN_ALLOW_THREADS
;
592 delete_wxDataObject(_arg0
);
594 wxPy_END_ALLOW_THREADS
;
595 } Py_INCREF(Py_None
);
596 _resultobj
= Py_None
;
600 #define wxDataObject_GetPreferredFormat(_swigobj,_swigarg0) (_swigobj->GetPreferredFormat(_swigarg0))
601 static PyObject
*_wrap_wxDataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
602 PyObject
* _resultobj
;
603 wxDataFormat
* _result
;
604 wxDataObject
* _arg0
;
605 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
606 PyObject
* _argo0
= 0;
607 char *_kwnames
[] = { "self","dir", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetPreferredFormat",_kwnames
,&_argo0
,&_arg1
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetPreferredFormat. Expected _wxDataObject_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 _result
= new wxDataFormat (wxDataObject_GetPreferredFormat(_arg0
,_arg1
));
624 wxPy_END_ALLOW_THREADS
;
625 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxDataFormat_p");
626 _resultobj
= Py_BuildValue("s",_ptemp
);
630 #define wxDataObject_GetFormatCount(_swigobj,_swigarg0) (_swigobj->GetFormatCount(_swigarg0))
631 static PyObject
*_wrap_wxDataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
634 wxDataObject
* _arg0
;
635 wxDataObject::Direction _arg1
= (wxDataObject::Direction
) wxDataObject::Get
;
636 PyObject
* _argo0
= 0;
637 char *_kwnames
[] = { "self","dir", NULL
};
640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDataObject_GetFormatCount",_kwnames
,&_argo0
,&_arg1
))
643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetFormatCount. Expected _wxDataObject_p.");
650 wxPy_BEGIN_ALLOW_THREADS
;
651 _result
= (size_t )wxDataObject_GetFormatCount(_arg0
,_arg1
);
653 wxPy_END_ALLOW_THREADS
;
654 } _resultobj
= Py_BuildValue("i",_result
);
658 #define wxDataObject_GetAllFormats(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAllFormats(_swigarg0,_swigarg1))
659 static PyObject
*_wrap_wxDataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
661 wxDataObject
* _arg0
;
662 wxDataFormat
* _arg1
;
663 wxDataObject::Direction _arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
664 PyObject
* _argo0
= 0;
665 PyObject
* _argo1
= 0;
666 char *_kwnames
[] = { "self","formats","dir", NULL
};
669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObject_GetAllFormats",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetAllFormats. Expected _wxDataObject_p.");
679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetAllFormats. Expected _wxDataFormat_p.");
686 wxPy_BEGIN_ALLOW_THREADS
;
687 wxDataObject_GetAllFormats(_arg0
,_arg1
,_arg2
);
689 wxPy_END_ALLOW_THREADS
;
690 } Py_INCREF(Py_None
);
691 _resultobj
= Py_None
;
695 #define wxDataObject_GetDataSize(_swigobj,_swigarg0) (_swigobj->GetDataSize(_swigarg0))
696 static PyObject
*_wrap_wxDataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
697 PyObject
* _resultobj
;
699 wxDataObject
* _arg0
;
700 wxDataFormat
* _arg1
;
701 PyObject
* _argo0
= 0;
702 PyObject
* _argo1
= 0;
703 char *_kwnames
[] = { "self","format", NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_GetDataSize",_kwnames
,&_argo0
,&_argo1
))
709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataSize. Expected _wxDataObject_p.");
716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataSize. Expected _wxDataFormat_p.");
723 wxPy_BEGIN_ALLOW_THREADS
;
724 _result
= (size_t )wxDataObject_GetDataSize(_arg0
,*_arg1
);
726 wxPy_END_ALLOW_THREADS
;
727 } _resultobj
= Py_BuildValue("i",_result
);
731 #define wxDataObject_GetDataHere(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDataHere(_swigarg0,_swigarg1))
732 static PyObject
*_wrap_wxDataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
733 PyObject
* _resultobj
;
735 wxDataObject
* _arg0
;
736 wxDataFormat
* _arg1
;
738 PyObject
* _argo0
= 0;
739 PyObject
* _argo1
= 0;
740 PyObject
* _argo2
= 0;
741 char *_kwnames
[] = { "self","format","buf", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDataObject_GetDataHere",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_GetDataHere. Expected _wxDataObject_p.");
754 if (_argo1
== Py_None
) { _arg1
= NULL
; }
755 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_GetDataHere. Expected _wxDataFormat_p.");
761 if (_argo2
== Py_None
) { _arg2
= NULL
; }
762 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDataObject_GetDataHere. Expected _void_p.");
768 wxPy_BEGIN_ALLOW_THREADS
;
769 _result
= (bool )wxDataObject_GetDataHere(_arg0
,*_arg1
,_arg2
);
771 wxPy_END_ALLOW_THREADS
;
772 } _resultobj
= Py_BuildValue("i",_result
);
776 #define wxDataObject_SetData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetData(_swigarg0,_swigarg1,_swigarg2))
777 static PyObject
*_wrap_wxDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
780 wxDataObject
* _arg0
;
781 wxDataFormat
* _arg1
;
784 PyObject
* _argo0
= 0;
785 PyObject
* _argo1
= 0;
786 PyObject
* _argo3
= 0;
787 char *_kwnames
[] = { "self","format","len","buf", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxDataObject_SetData",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_SetData. Expected _wxDataObject_p.");
800 if (_argo1
== Py_None
) { _arg1
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_SetData. Expected _wxDataFormat_p.");
807 if (_argo3
== Py_None
) { _arg3
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,(char *) 0 )) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDataObject_SetData. Expected _void_p.");
814 wxPy_BEGIN_ALLOW_THREADS
;
815 _result
= (bool )wxDataObject_SetData(_arg0
,*_arg1
,_arg2
,_arg3
);
817 wxPy_END_ALLOW_THREADS
;
818 } _resultobj
= Py_BuildValue("i",_result
);
822 #define wxDataObject_IsSupportedFormat(_swigobj,_swigarg0) (_swigobj->IsSupportedFormat(_swigarg0))
823 static PyObject
*_wrap_wxDataObject_IsSupportedFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 wxDataObject
* _arg0
;
827 wxDataFormat
* _arg1
;
828 PyObject
* _argo0
= 0;
829 PyObject
* _argo1
= 0;
830 char *_kwnames
[] = { "self","format", NULL
};
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObject_IsSupportedFormat",_kwnames
,&_argo0
,&_argo1
))
836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObject_IsSupportedFormat. Expected _wxDataObject_p.");
843 if (_argo1
== Py_None
) { _arg1
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObject_IsSupportedFormat. Expected _wxDataFormat_p.");
850 wxPy_BEGIN_ALLOW_THREADS
;
851 _result
= (bool )wxDataObject_IsSupportedFormat(_arg0
,*_arg1
);
853 wxPy_END_ALLOW_THREADS
;
854 } _resultobj
= Py_BuildValue("i",_result
);
858 static void *SwigwxDataObjectSimpleTowxDataObject(void *ptr
) {
859 wxDataObjectSimple
*src
;
861 src
= (wxDataObjectSimple
*) ptr
;
862 dest
= (wxDataObject
*) src
;
863 return (void *) dest
;
866 #define new_wxDataObjectSimple(_swigarg0) (new wxDataObjectSimple(_swigarg0))
867 static PyObject
*_wrap_new_wxDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
868 PyObject
* _resultobj
;
869 wxDataObjectSimple
* _result
;
870 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
871 PyObject
* _argo0
= 0;
872 char *_kwnames
[] = { "format", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxDataObjectSimple",_kwnames
,&_argo0
))
879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDataObjectSimple. Expected _wxDataFormat_p.");
886 wxPy_BEGIN_ALLOW_THREADS
;
887 _result
= (wxDataObjectSimple
*)new_wxDataObjectSimple(*_arg0
);
889 wxPy_END_ALLOW_THREADS
;
891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectSimple_p");
892 _resultobj
= Py_BuildValue("s",_ptemp
);
895 _resultobj
= Py_None
;
900 #define wxDataObjectSimple_GetFormat(_swigobj) (_swigobj->GetFormat())
901 static PyObject
*_wrap_wxDataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 PyObject
* _resultobj
;
903 wxDataFormat
* _result
;
904 wxDataObjectSimple
* _arg0
;
905 PyObject
* _argo0
= 0;
906 char *_kwnames
[] = { "self", NULL
};
910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDataObjectSimple_GetFormat",_kwnames
,&_argo0
))
913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_GetFormat. Expected _wxDataObjectSimple_p.");
920 wxPy_BEGIN_ALLOW_THREADS
;
921 const wxDataFormat
& _result_ref
= wxDataObjectSimple_GetFormat(_arg0
);
922 _result
= (wxDataFormat
*) &_result_ref
;
924 wxPy_END_ALLOW_THREADS
;
926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataFormat_p");
927 _resultobj
= Py_BuildValue("s",_ptemp
);
930 _resultobj
= Py_None
;
935 #define wxDataObjectSimple_SetFormat(_swigobj,_swigarg0) (_swigobj->SetFormat(_swigarg0))
936 static PyObject
*_wrap_wxDataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
938 wxDataObjectSimple
* _arg0
;
939 wxDataFormat
* _arg1
;
940 PyObject
* _argo0
= 0;
941 PyObject
* _argo1
= 0;
942 char *_kwnames
[] = { "self","format", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDataObjectSimple_SetFormat",_kwnames
,&_argo0
,&_argo1
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectSimple_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectSimple_SetFormat. Expected _wxDataObjectSimple_p.");
955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectSimple_SetFormat. Expected _wxDataFormat_p.");
962 wxPy_BEGIN_ALLOW_THREADS
;
963 wxDataObjectSimple_SetFormat(_arg0
,*_arg1
);
965 wxPy_END_ALLOW_THREADS
;
966 } Py_INCREF(Py_None
);
967 _resultobj
= Py_None
;
971 static void *SwigwxPyDataObjectSimpleTowxDataObjectSimple(void *ptr
) {
972 wxPyDataObjectSimple
*src
;
973 wxDataObjectSimple
*dest
;
974 src
= (wxPyDataObjectSimple
*) ptr
;
975 dest
= (wxDataObjectSimple
*) src
;
976 return (void *) dest
;
979 static void *SwigwxPyDataObjectSimpleTowxDataObject(void *ptr
) {
980 wxPyDataObjectSimple
*src
;
982 src
= (wxPyDataObjectSimple
*) ptr
;
983 dest
= (wxDataObject
*) src
;
984 return (void *) dest
;
987 #define new_wxPyDataObjectSimple(_swigarg0) (new wxPyDataObjectSimple(_swigarg0))
988 static PyObject
*_wrap_new_wxPyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
990 wxPyDataObjectSimple
* _result
;
991 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
992 PyObject
* _argo0
= 0;
993 char *_kwnames
[] = { "format", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDataObjectSimple",_kwnames
,&_argo0
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDataObjectSimple. Expected _wxDataFormat_p.");
1007 wxPy_BEGIN_ALLOW_THREADS
;
1008 _result
= (wxPyDataObjectSimple
*)new_wxPyDataObjectSimple(*_arg0
);
1010 wxPy_END_ALLOW_THREADS
;
1012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDataObjectSimple_p");
1013 _resultobj
= Py_BuildValue("s",_ptemp
);
1016 _resultobj
= Py_None
;
1021 #define wxPyDataObjectSimple__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1022 static PyObject
*_wrap_wxPyDataObjectSimple__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
* _resultobj
;
1024 wxPyDataObjectSimple
* _arg0
;
1026 PyObject
* _argo0
= 0;
1027 PyObject
* _obj1
= 0;
1028 char *_kwnames
[] = { "self","self", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDataObjectSimple__setSelf",_kwnames
,&_argo0
,&_obj1
))
1034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDataObjectSimple_p")) {
1036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDataObjectSimple__setSelf. Expected _wxPyDataObjectSimple_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 wxPyDataObjectSimple__setSelf(_arg0
,_arg1
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1053 static void *SwigwxDataObjectCompositeTowxDataObject(void *ptr
) {
1054 wxDataObjectComposite
*src
;
1056 src
= (wxDataObjectComposite
*) ptr
;
1057 dest
= (wxDataObject
*) src
;
1058 return (void *) dest
;
1061 #define new_wxDataObjectComposite() (new wxDataObjectComposite())
1062 static PyObject
*_wrap_new_wxDataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
* _resultobj
;
1064 wxDataObjectComposite
* _result
;
1065 char *_kwnames
[] = { NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDataObjectComposite",_kwnames
))
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 _result
= (wxDataObjectComposite
*)new_wxDataObjectComposite();
1075 wxPy_END_ALLOW_THREADS
;
1077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObjectComposite_p");
1078 _resultobj
= Py_BuildValue("s",_ptemp
);
1081 _resultobj
= Py_None
;
1086 #define wxDataObjectComposite_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1087 static PyObject
*_wrap_wxDataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
* _resultobj
;
1089 wxDataObjectComposite
* _arg0
;
1090 wxDataObjectSimple
* _arg1
;
1091 int _arg2
= (int ) FALSE
;
1092 PyObject
* _argo0
= 0;
1093 PyObject
* _argo1
= 0;
1094 char *_kwnames
[] = { "self","dataObject","preferred", NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxDataObjectComposite_Add",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObjectComposite_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDataObjectComposite_Add. Expected _wxDataObjectComposite_p.");
1107 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObjectSimple_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDataObjectComposite_Add. Expected _wxDataObjectSimple_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 wxDataObjectComposite_Add(_arg0
,_arg1
,_arg2
);
1117 wxPy_END_ALLOW_THREADS
;
1118 } Py_INCREF(Py_None
);
1119 _resultobj
= Py_None
;
1123 static void *SwigwxTextDataObjectTowxDataObjectSimple(void *ptr
) {
1124 wxTextDataObject
*src
;
1125 wxDataObjectSimple
*dest
;
1126 src
= (wxTextDataObject
*) ptr
;
1127 dest
= (wxDataObjectSimple
*) src
;
1128 return (void *) dest
;
1131 static void *SwigwxTextDataObjectTowxDataObject(void *ptr
) {
1132 wxTextDataObject
*src
;
1134 src
= (wxTextDataObject
*) ptr
;
1135 dest
= (wxDataObject
*) src
;
1136 return (void *) dest
;
1139 #define new_wxTextDataObject(_swigarg0) (new wxTextDataObject(_swigarg0))
1140 static PyObject
*_wrap_new_wxTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1142 wxTextDataObject
* _result
;
1143 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1144 PyObject
* _obj0
= 0;
1145 char *_kwnames
[] = { "text", NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTextDataObject",_kwnames
,&_obj0
))
1153 if (!PyString_Check(_obj0
)) {
1154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1157 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1160 wxPy_BEGIN_ALLOW_THREADS
;
1161 _result
= (wxTextDataObject
*)new_wxTextDataObject(*_arg0
);
1163 wxPy_END_ALLOW_THREADS
;
1165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextDataObject_p");
1166 _resultobj
= Py_BuildValue("s",_ptemp
);
1169 _resultobj
= Py_None
;
1178 #define wxTextDataObject_GetTextLength(_swigobj) (_swigobj->GetTextLength())
1179 static PyObject
*_wrap_wxTextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1182 wxTextDataObject
* _arg0
;
1183 PyObject
* _argo0
= 0;
1184 char *_kwnames
[] = { "self", NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetTextLength",_kwnames
,&_argo0
))
1190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetTextLength. Expected _wxTextDataObject_p.");
1197 wxPy_BEGIN_ALLOW_THREADS
;
1198 _result
= (size_t )wxTextDataObject_GetTextLength(_arg0
);
1200 wxPy_END_ALLOW_THREADS
;
1201 } _resultobj
= Py_BuildValue("i",_result
);
1205 #define wxTextDataObject_GetText(_swigobj) (_swigobj->GetText())
1206 static PyObject
*_wrap_wxTextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
* _resultobj
;
1209 wxTextDataObject
* _arg0
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDataObject_GetText",_kwnames
,&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_GetText. Expected _wxTextDataObject_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= new wxString (wxTextDataObject_GetText(_arg0
));
1227 wxPy_END_ALLOW_THREADS
;
1229 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1237 #define wxTextDataObject_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
1238 static PyObject
*_wrap_wxTextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
* _resultobj
;
1240 wxTextDataObject
* _arg0
;
1242 PyObject
* _argo0
= 0;
1243 PyObject
* _obj1
= 0;
1244 char *_kwnames
[] = { "self","text", NULL
};
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDataObject_SetText",_kwnames
,&_argo0
,&_obj1
))
1250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextDataObject_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDataObject_SetText. Expected _wxTextDataObject_p.");
1257 if (!PyString_Check(_obj1
)) {
1258 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1261 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1264 wxPy_BEGIN_ALLOW_THREADS
;
1265 wxTextDataObject_SetText(_arg0
,*_arg1
);
1267 wxPy_END_ALLOW_THREADS
;
1268 } Py_INCREF(Py_None
);
1269 _resultobj
= Py_None
;
1277 static void *SwigwxPyTextDataObjectTowxTextDataObject(void *ptr
) {
1278 wxPyTextDataObject
*src
;
1279 wxTextDataObject
*dest
;
1280 src
= (wxPyTextDataObject
*) ptr
;
1281 dest
= (wxTextDataObject
*) src
;
1282 return (void *) dest
;
1285 static void *SwigwxPyTextDataObjectTowxDataObjectSimple(void *ptr
) {
1286 wxPyTextDataObject
*src
;
1287 wxDataObjectSimple
*dest
;
1288 src
= (wxPyTextDataObject
*) ptr
;
1289 dest
= (wxDataObjectSimple
*) src
;
1290 return (void *) dest
;
1293 static void *SwigwxPyTextDataObjectTowxDataObject(void *ptr
) {
1294 wxPyTextDataObject
*src
;
1296 src
= (wxPyTextDataObject
*) ptr
;
1297 dest
= (wxDataObject
*) src
;
1298 return (void *) dest
;
1301 #define new_wxPyTextDataObject(_swigarg0) (new wxPyTextDataObject(_swigarg0))
1302 static PyObject
*_wrap_new_wxPyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1304 wxPyTextDataObject
* _result
;
1305 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
1306 PyObject
* _obj0
= 0;
1307 char *_kwnames
[] = { "text", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyTextDataObject",_kwnames
,&_obj0
))
1315 if (!PyString_Check(_obj0
)) {
1316 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1319 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1322 wxPy_BEGIN_ALLOW_THREADS
;
1323 _result
= (wxPyTextDataObject
*)new_wxPyTextDataObject(*_arg0
);
1325 wxPy_END_ALLOW_THREADS
;
1327 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDataObject_p");
1328 _resultobj
= Py_BuildValue("s",_ptemp
);
1331 _resultobj
= Py_None
;
1340 #define wxPyTextDataObject__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1341 static PyObject
*_wrap_wxPyTextDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
* _resultobj
;
1343 wxPyTextDataObject
* _arg0
;
1345 PyObject
* _argo0
= 0;
1346 PyObject
* _obj1
= 0;
1347 char *_kwnames
[] = { "self","self", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDataObject_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextDataObject__setSelf. Expected _wxPyTextDataObject_p.");
1363 wxPy_BEGIN_ALLOW_THREADS
;
1364 wxPyTextDataObject__setSelf(_arg0
,_arg1
);
1366 wxPy_END_ALLOW_THREADS
;
1367 } Py_INCREF(Py_None
);
1368 _resultobj
= Py_None
;
1372 static void *SwigwxBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1373 wxBitmapDataObject
*src
;
1374 wxDataObjectSimple
*dest
;
1375 src
= (wxBitmapDataObject
*) ptr
;
1376 dest
= (wxDataObjectSimple
*) src
;
1377 return (void *) dest
;
1380 static void *SwigwxBitmapDataObjectTowxDataObject(void *ptr
) {
1381 wxBitmapDataObject
*src
;
1383 src
= (wxBitmapDataObject
*) ptr
;
1384 dest
= (wxDataObject
*) src
;
1385 return (void *) dest
;
1388 #define new_wxBitmapDataObject(_swigarg0) (new wxBitmapDataObject(_swigarg0))
1389 static PyObject
*_wrap_new_wxBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1391 wxBitmapDataObject
* _result
;
1392 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1393 PyObject
* _argo0
= 0;
1394 char *_kwnames
[] = { "bitmap", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBitmapDataObject",_kwnames
,&_argo0
))
1401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapDataObject. Expected _wxBitmap_p.");
1408 wxPy_BEGIN_ALLOW_THREADS
;
1409 _result
= (wxBitmapDataObject
*)new_wxBitmapDataObject(*_arg0
);
1411 wxPy_END_ALLOW_THREADS
;
1413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapDataObject_p");
1414 _resultobj
= Py_BuildValue("s",_ptemp
);
1417 _resultobj
= Py_None
;
1422 #define wxBitmapDataObject_GetBitmap(_swigobj) (_swigobj->GetBitmap())
1423 static PyObject
*_wrap_wxBitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1426 wxBitmapDataObject
* _arg0
;
1427 PyObject
* _argo0
= 0;
1428 char *_kwnames
[] = { "self", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapDataObject_GetBitmap",_kwnames
,&_argo0
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_GetBitmap. Expected _wxBitmapDataObject_p.");
1442 wxPy_BEGIN_ALLOW_THREADS
;
1443 _result
= new wxBitmap (wxBitmapDataObject_GetBitmap(_arg0
));
1445 wxPy_END_ALLOW_THREADS
;
1446 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1447 _resultobj
= Py_BuildValue("s",_ptemp
);
1451 #define wxBitmapDataObject_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
1452 static PyObject
*_wrap_wxBitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1454 wxBitmapDataObject
* _arg0
;
1456 PyObject
* _argo0
= 0;
1457 PyObject
* _argo1
= 0;
1458 char *_kwnames
[] = { "self","bitmap", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapDataObject_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
1464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapDataObject_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapDataObject_SetBitmap. Expected _wxBitmapDataObject_p.");
1471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapDataObject_SetBitmap. Expected _wxBitmap_p.");
1478 wxPy_BEGIN_ALLOW_THREADS
;
1479 wxBitmapDataObject_SetBitmap(_arg0
,*_arg1
);
1481 wxPy_END_ALLOW_THREADS
;
1482 } Py_INCREF(Py_None
);
1483 _resultobj
= Py_None
;
1487 static void *SwigwxPyBitmapDataObjectTowxBitmapDataObject(void *ptr
) {
1488 wxPyBitmapDataObject
*src
;
1489 wxBitmapDataObject
*dest
;
1490 src
= (wxPyBitmapDataObject
*) ptr
;
1491 dest
= (wxBitmapDataObject
*) src
;
1492 return (void *) dest
;
1495 static void *SwigwxPyBitmapDataObjectTowxDataObjectSimple(void *ptr
) {
1496 wxPyBitmapDataObject
*src
;
1497 wxDataObjectSimple
*dest
;
1498 src
= (wxPyBitmapDataObject
*) ptr
;
1499 dest
= (wxDataObjectSimple
*) src
;
1500 return (void *) dest
;
1503 static void *SwigwxPyBitmapDataObjectTowxDataObject(void *ptr
) {
1504 wxPyBitmapDataObject
*src
;
1506 src
= (wxPyBitmapDataObject
*) ptr
;
1507 dest
= (wxDataObject
*) src
;
1508 return (void *) dest
;
1511 #define new_wxPyBitmapDataObject(_swigarg0) (new wxPyBitmapDataObject(_swigarg0))
1512 static PyObject
*_wrap_new_wxPyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1514 wxPyBitmapDataObject
* _result
;
1515 wxBitmap
* _arg0
= (wxBitmap
*) &wxNullBitmap
;
1516 PyObject
* _argo0
= 0;
1517 char *_kwnames
[] = { "bitmap", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyBitmapDataObject",_kwnames
,&_argo0
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyBitmapDataObject. Expected _wxBitmap_p.");
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 _result
= (wxPyBitmapDataObject
*)new_wxPyBitmapDataObject(*_arg0
);
1534 wxPy_END_ALLOW_THREADS
;
1536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyBitmapDataObject_p");
1537 _resultobj
= Py_BuildValue("s",_ptemp
);
1540 _resultobj
= Py_None
;
1545 #define wxPyBitmapDataObject__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1546 static PyObject
*_wrap_wxPyBitmapDataObject__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1548 wxPyBitmapDataObject
* _arg0
;
1550 PyObject
* _argo0
= 0;
1551 PyObject
* _obj1
= 0;
1552 char *_kwnames
[] = { "self","self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyBitmapDataObject__setSelf",_kwnames
,&_argo0
,&_obj1
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyBitmapDataObject_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyBitmapDataObject__setSelf. Expected _wxPyBitmapDataObject_p.");
1568 wxPy_BEGIN_ALLOW_THREADS
;
1569 wxPyBitmapDataObject__setSelf(_arg0
,_arg1
);
1571 wxPy_END_ALLOW_THREADS
;
1572 } Py_INCREF(Py_None
);
1573 _resultobj
= Py_None
;
1577 static void *SwigwxFileDataObjectTowxDataObjectSimple(void *ptr
) {
1578 wxFileDataObject
*src
;
1579 wxDataObjectSimple
*dest
;
1580 src
= (wxFileDataObject
*) ptr
;
1581 dest
= (wxDataObjectSimple
*) src
;
1582 return (void *) dest
;
1585 static void *SwigwxFileDataObjectTowxDataObject(void *ptr
) {
1586 wxFileDataObject
*src
;
1588 src
= (wxFileDataObject
*) ptr
;
1589 dest
= (wxDataObject
*) src
;
1590 return (void *) dest
;
1593 #define new_wxFileDataObject() (new wxFileDataObject())
1594 static PyObject
*_wrap_new_wxFileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1596 wxFileDataObject
* _result
;
1597 char *_kwnames
[] = { NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDataObject",_kwnames
))
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (wxFileDataObject
*)new_wxFileDataObject();
1607 wxPy_END_ALLOW_THREADS
;
1609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileDataObject_p");
1610 _resultobj
= Py_BuildValue("s",_ptemp
);
1613 _resultobj
= Py_None
;
1618 static PyObject
* wxFileDataObject_GetFilenames(wxFileDataObject
*self
) {
1619 const wxArrayString
& strings
= self
->GetFilenames();
1620 PyObject
* list
= PyList_New(0);
1621 for (size_t x
=0; x
<strings
.GetCount(); x
++)
1622 PyList_Append(list
, PyString_FromString(strings
[x
]));
1625 static PyObject
*_wrap_wxFileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1628 wxFileDataObject
* _arg0
;
1629 PyObject
* _argo0
= 0;
1630 char *_kwnames
[] = { "self", NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDataObject_GetFilenames",_kwnames
,&_argo0
))
1636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileDataObject_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDataObject_GetFilenames. Expected _wxFileDataObject_p.");
1643 wxPy_BEGIN_ALLOW_THREADS
;
1644 _result
= (PyObject
*)wxFileDataObject_GetFilenames(_arg0
);
1646 wxPy_END_ALLOW_THREADS
;
1648 _resultobj
= _result
;
1653 static void *SwigwxCustomDataObjectTowxDataObjectSimple(void *ptr
) {
1654 wxCustomDataObject
*src
;
1655 wxDataObjectSimple
*dest
;
1656 src
= (wxCustomDataObject
*) ptr
;
1657 dest
= (wxDataObjectSimple
*) src
;
1658 return (void *) dest
;
1661 static void *SwigwxCustomDataObjectTowxDataObject(void *ptr
) {
1662 wxCustomDataObject
*src
;
1664 src
= (wxCustomDataObject
*) ptr
;
1665 dest
= (wxDataObject
*) src
;
1666 return (void *) dest
;
1669 #define new_wxCustomDataObject(_swigarg0) (new wxCustomDataObject(_swigarg0))
1670 static PyObject
*_wrap_new_wxCustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1672 wxCustomDataObject
* _result
;
1673 wxDataFormat
* _arg0
= (wxDataFormat
*) &wxPyFormatInvalid
;
1674 PyObject
* _argo0
= 0;
1675 char *_kwnames
[] = { "format", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxCustomDataObject",_kwnames
,&_argo0
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataFormat_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCustomDataObject. Expected _wxDataFormat_p.");
1689 wxPy_BEGIN_ALLOW_THREADS
;
1690 _result
= (wxCustomDataObject
*)new_wxCustomDataObject(*_arg0
);
1692 wxPy_END_ALLOW_THREADS
;
1694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCustomDataObject_p");
1695 _resultobj
= Py_BuildValue("s",_ptemp
);
1698 _resultobj
= Py_None
;
1703 static void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
* data
) {
1704 if (PyString_Check(data
)) {
1705 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1708 static PyObject
*_wrap_wxCustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1710 wxCustomDataObject
* _arg0
;
1712 PyObject
* _argo0
= 0;
1713 PyObject
* _obj1
= 0;
1714 char *_kwnames
[] = { "self","data", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_TakeData",_kwnames
,&_argo0
,&_obj1
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_TakeData. Expected _wxCustomDataObject_p.");
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 wxCustomDataObject_TakeData(_arg0
,_arg1
);
1733 wxPy_END_ALLOW_THREADS
;
1734 } Py_INCREF(Py_None
);
1735 _resultobj
= Py_None
;
1739 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
* data
) {
1740 if (PyString_Check(data
)) {
1741 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1745 static PyObject
*_wrap_wxCustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1748 wxCustomDataObject
* _arg0
;
1750 PyObject
* _argo0
= 0;
1751 PyObject
* _obj1
= 0;
1752 char *_kwnames
[] = { "self","data", NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCustomDataObject_SetData",_kwnames
,&_argo0
,&_obj1
))
1758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_SetData. Expected _wxCustomDataObject_p.");
1768 wxPy_BEGIN_ALLOW_THREADS
;
1769 _result
= (bool )wxCustomDataObject_SetData(_arg0
,_arg1
);
1771 wxPy_END_ALLOW_THREADS
;
1772 } _resultobj
= Py_BuildValue("i",_result
);
1776 #define wxCustomDataObject_GetSize(_swigobj) (_swigobj->GetSize())
1777 static PyObject
*_wrap_wxCustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1780 wxCustomDataObject
* _arg0
;
1781 PyObject
* _argo0
= 0;
1782 char *_kwnames
[] = { "self", NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetSize",_kwnames
,&_argo0
))
1788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetSize. Expected _wxCustomDataObject_p.");
1795 wxPy_BEGIN_ALLOW_THREADS
;
1796 _result
= (size_t )wxCustomDataObject_GetSize(_arg0
);
1798 wxPy_END_ALLOW_THREADS
;
1799 } _resultobj
= Py_BuildValue("i",_result
);
1803 static PyObject
* wxCustomDataObject_GetData(wxCustomDataObject
*self
) {
1804 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1806 static PyObject
*_wrap_wxCustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1809 wxCustomDataObject
* _arg0
;
1810 PyObject
* _argo0
= 0;
1811 char *_kwnames
[] = { "self", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCustomDataObject_GetData",_kwnames
,&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCustomDataObject_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCustomDataObject_GetData. Expected _wxCustomDataObject_p.");
1824 wxPy_BEGIN_ALLOW_THREADS
;
1825 _result
= (PyObject
*)wxCustomDataObject_GetData(_arg0
);
1827 wxPy_END_ALLOW_THREADS
;
1829 _resultobj
= _result
;
1834 #define new_wxClipboard() (new wxClipboard())
1835 static PyObject
*_wrap_new_wxClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 wxClipboard
* _result
;
1838 char *_kwnames
[] = { NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxClipboard",_kwnames
))
1845 wxPy_BEGIN_ALLOW_THREADS
;
1846 _result
= (wxClipboard
*)new_wxClipboard();
1848 wxPy_END_ALLOW_THREADS
;
1850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClipboard_p");
1851 _resultobj
= Py_BuildValue("s",_ptemp
);
1854 _resultobj
= Py_None
;
1859 #define wxClipboard_Open(_swigobj) (_swigobj->Open())
1860 static PyObject
*_wrap_wxClipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1863 wxClipboard
* _arg0
;
1864 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Open",_kwnames
,&_argo0
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Open. Expected _wxClipboard_p.");
1878 wxPy_BEGIN_ALLOW_THREADS
;
1879 _result
= (bool )wxClipboard_Open(_arg0
);
1881 wxPy_END_ALLOW_THREADS
;
1882 } _resultobj
= Py_BuildValue("i",_result
);
1886 #define wxClipboard_Close(_swigobj) (_swigobj->Close())
1887 static PyObject
*_wrap_wxClipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1889 wxClipboard
* _arg0
;
1890 PyObject
* _argo0
= 0;
1891 char *_kwnames
[] = { "self", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Close",_kwnames
,&_argo0
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Close. Expected _wxClipboard_p.");
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 wxClipboard_Close(_arg0
);
1907 wxPy_END_ALLOW_THREADS
;
1908 } Py_INCREF(Py_None
);
1909 _resultobj
= Py_None
;
1913 #define wxClipboard_IsOpened(_swigobj) (_swigobj->IsOpened())
1914 static PyObject
*_wrap_wxClipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1917 wxClipboard
* _arg0
;
1918 PyObject
* _argo0
= 0;
1919 char *_kwnames
[] = { "self", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_IsOpened",_kwnames
,&_argo0
))
1925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_IsOpened. Expected _wxClipboard_p.");
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 _result
= (bool )wxClipboard_IsOpened(_arg0
);
1935 wxPy_END_ALLOW_THREADS
;
1936 } _resultobj
= Py_BuildValue("i",_result
);
1940 #define wxClipboard_AddData(_swigobj,_swigarg0) (_swigobj->AddData(_swigarg0))
1941 static PyObject
*_wrap_wxClipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1944 wxClipboard
* _arg0
;
1945 wxDataObject
* _arg1
;
1946 PyObject
* _argo0
= 0;
1947 PyObject
* _argo1
= 0;
1948 char *_kwnames
[] = { "self","data", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_AddData",_kwnames
,&_argo0
,&_argo1
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_AddData. Expected _wxClipboard_p.");
1961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_AddData. Expected _wxDataObject_p.");
1968 wxPy_BEGIN_ALLOW_THREADS
;
1969 _result
= (bool )wxClipboard_AddData(_arg0
,_arg1
);
1971 wxPy_END_ALLOW_THREADS
;
1972 } _resultobj
= Py_BuildValue("i",_result
);
1976 #define wxClipboard_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
1977 static PyObject
*_wrap_wxClipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1980 wxClipboard
* _arg0
;
1981 wxDataObject
* _arg1
;
1982 PyObject
* _argo0
= 0;
1983 PyObject
* _argo1
= 0;
1984 char *_kwnames
[] = { "self","data", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_SetData",_kwnames
,&_argo0
,&_argo1
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_SetData. Expected _wxClipboard_p.");
1997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_SetData. Expected _wxDataObject_p.");
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 _result
= (bool )wxClipboard_SetData(_arg0
,_arg1
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2012 #define wxClipboard_IsSupported(_swigobj,_swigarg0) (_swigobj->IsSupported(_swigarg0))
2013 static PyObject
*_wrap_wxClipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2016 wxClipboard
* _arg0
;
2017 wxDataFormat
* _arg1
;
2018 PyObject
* _argo0
= 0;
2019 PyObject
* _argo1
= 0;
2020 char *_kwnames
[] = { "self","format", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxClipboard_IsSupported",_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_IsSupported. Expected _wxClipboard_p.");
2033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataFormat_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxClipboard_IsSupported. Expected _wxDataFormat_p.");
2040 wxPy_BEGIN_ALLOW_THREADS
;
2041 _result
= (bool )wxClipboard_IsSupported(_arg0
,*_arg1
);
2043 wxPy_END_ALLOW_THREADS
;
2044 } _resultobj
= Py_BuildValue("i",_result
);
2048 #define wxClipboard_GetData(_swigobj,_swigarg0) (_swigobj->GetData(_swigarg0))
2049 static PyObject
*_wrap_wxClipboard_GetData(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_GetData",_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_GetData. 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_GetData. Expected _wxDataObject_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 _result
= (bool )wxClipboard_GetData(_arg0
,*_arg1
);
2079 wxPy_END_ALLOW_THREADS
;
2080 } _resultobj
= Py_BuildValue("i",_result
);
2084 #define wxClipboard_Clear(_swigobj) (_swigobj->Clear())
2085 static PyObject
*_wrap_wxClipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2087 wxClipboard
* _arg0
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Clear",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Clear. Expected _wxClipboard_p.");
2102 wxPy_BEGIN_ALLOW_THREADS
;
2103 wxClipboard_Clear(_arg0
);
2105 wxPy_END_ALLOW_THREADS
;
2106 } Py_INCREF(Py_None
);
2107 _resultobj
= Py_None
;
2111 #define wxClipboard_Flush(_swigobj) (_swigobj->Flush())
2112 static PyObject
*_wrap_wxClipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2115 wxClipboard
* _arg0
;
2116 PyObject
* _argo0
= 0;
2117 char *_kwnames
[] = { "self", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxClipboard_Flush",_kwnames
,&_argo0
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_Flush. Expected _wxClipboard_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 _result
= (bool )wxClipboard_Flush(_arg0
);
2133 wxPy_END_ALLOW_THREADS
;
2134 } _resultobj
= Py_BuildValue("i",_result
);
2138 #define wxClipboard_UsePrimarySelection(_swigobj,_swigarg0) (_swigobj->UsePrimarySelection(_swigarg0))
2139 static PyObject
*_wrap_wxClipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2141 wxClipboard
* _arg0
;
2142 int _arg1
= (int ) FALSE
;
2143 PyObject
* _argo0
= 0;
2144 char *_kwnames
[] = { "self","primary", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxClipboard_UsePrimarySelection",_kwnames
,&_argo0
,&_arg1
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxClipboard_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxClipboard_UsePrimarySelection. Expected _wxClipboard_p.");
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 wxClipboard_UsePrimarySelection(_arg0
,_arg1
);
2160 wxPy_END_ALLOW_THREADS
;
2161 } Py_INCREF(Py_None
);
2162 _resultobj
= Py_None
;
2166 #define new_wxDropSource(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPyDropSource(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2167 static PyObject
*_wrap_new_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2169 wxPyDropSource
* _result
;
2170 wxWindow
* _arg0
= (wxWindow
*) NULL
;
2171 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
2172 wxCursor
* _arg2
= (wxCursor
*) &wxNullCursor
;
2173 wxCursor
* _arg3
= (wxCursor
*) &wxNullCursor
;
2174 PyObject
* _argo0
= 0;
2175 PyObject
* _argo1
= 0;
2176 PyObject
* _argo2
= 0;
2177 PyObject
* _argo3
= 0;
2178 char *_kwnames
[] = { "win","cursorCopy","cursorMove","cursorStop", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOO:new_wxDropSource",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
))
2185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDropSource. Expected _wxWindow_p.");
2192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDropSource. Expected _wxCursor_p.");
2199 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxDropSource. Expected _wxCursor_p.");
2206 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxCursor_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDropSource. Expected _wxCursor_p.");
2213 wxPy_BEGIN_ALLOW_THREADS
;
2214 _result
= (wxPyDropSource
*)new_wxDropSource(_arg0
,*_arg1
,*_arg2
,*_arg3
);
2216 wxPy_END_ALLOW_THREADS
;
2218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropSource_p");
2219 _resultobj
= Py_BuildValue("s",_ptemp
);
2222 _resultobj
= Py_None
;
2227 #define wxDropSource__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2228 static PyObject
*_wrap_wxDropSource__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
* _resultobj
;
2230 wxPyDropSource
* _arg0
;
2232 PyObject
* _argo0
= 0;
2233 PyObject
* _obj1
= 0;
2234 char *_kwnames
[] = { "self","self", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource__setSelf",_kwnames
,&_argo0
,&_obj1
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource__setSelf. Expected _wxPyDropSource_p.");
2250 wxPy_BEGIN_ALLOW_THREADS
;
2251 wxDropSource__setSelf(_arg0
,_arg1
);
2253 wxPy_END_ALLOW_THREADS
;
2254 } Py_INCREF(Py_None
);
2255 _resultobj
= Py_None
;
2259 #define delete_wxPyDropSource(_swigobj) (delete _swigobj)
2260 static PyObject
*_wrap_delete_wxDropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
* _resultobj
;
2262 wxPyDropSource
* _arg0
;
2263 PyObject
* _argo0
= 0;
2264 char *_kwnames
[] = { "self", NULL
};
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDropSource",_kwnames
,&_argo0
))
2270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDropSource. Expected _wxPyDropSource_p.");
2277 wxPy_BEGIN_ALLOW_THREADS
;
2278 delete_wxPyDropSource(_arg0
);
2280 wxPy_END_ALLOW_THREADS
;
2281 } Py_INCREF(Py_None
);
2282 _resultobj
= Py_None
;
2286 #define wxDropSource_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2287 static PyObject
*_wrap_wxDropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2289 wxPyDropSource
* _arg0
;
2290 wxDataObject
* _arg1
;
2291 PyObject
* _argo0
= 0;
2292 PyObject
* _argo1
= 0;
2293 char *_kwnames
[] = { "self","data", NULL
};
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDropSource_SetData",_kwnames
,&_argo0
,&_argo1
))
2299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetData. Expected _wxPyDropSource_p.");
2306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDropSource_SetData. Expected _wxDataObject_p.");
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 wxDropSource_SetData(_arg0
,*_arg1
);
2316 wxPy_END_ALLOW_THREADS
;
2317 } Py_INCREF(Py_None
);
2318 _resultobj
= Py_None
;
2322 #define wxDropSource_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2323 static PyObject
*_wrap_wxDropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2325 wxDataObject
* _result
;
2326 wxPyDropSource
* _arg0
;
2327 PyObject
* _argo0
= 0;
2328 char *_kwnames
[] = { "self", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDropSource_GetDataObject",_kwnames
,&_argo0
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_GetDataObject. Expected _wxPyDropSource_p.");
2342 wxPy_BEGIN_ALLOW_THREADS
;
2343 _result
= (wxDataObject
*)wxDropSource_GetDataObject(_arg0
);
2345 wxPy_END_ALLOW_THREADS
;
2347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2348 _resultobj
= Py_BuildValue("s",_ptemp
);
2351 _resultobj
= Py_None
;
2356 #define wxDropSource_SetCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursor(_swigarg0,_swigarg1))
2357 static PyObject
*_wrap_wxDropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2359 wxPyDropSource
* _arg0
;
2362 PyObject
* _argo0
= 0;
2363 PyObject
* _argo2
= 0;
2364 char *_kwnames
[] = { "self","res","cursor", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxDropSource_SetCursor",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_SetCursor. Expected _wxPyDropSource_p.");
2377 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCursor_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDropSource_SetCursor. Expected _wxCursor_p.");
2384 wxPy_BEGIN_ALLOW_THREADS
;
2385 wxDropSource_SetCursor(_arg0
,_arg1
,*_arg2
);
2387 wxPy_END_ALLOW_THREADS
;
2388 } Py_INCREF(Py_None
);
2389 _resultobj
= Py_None
;
2393 #define wxDropSource_DoDragDrop(_swigobj,_swigarg0) (_swigobj->DoDragDrop(_swigarg0))
2394 static PyObject
*_wrap_wxDropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
* _resultobj
;
2396 wxDragResult _result
;
2397 wxPyDropSource
* _arg0
;
2398 int _arg1
= (int ) FALSE
;
2399 PyObject
* _argo0
= 0;
2400 char *_kwnames
[] = { "self","bAllowMove", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDropSource_DoDragDrop",_kwnames
,&_argo0
,&_arg1
))
2406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_DoDragDrop. Expected _wxPyDropSource_p.");
2413 wxPy_BEGIN_ALLOW_THREADS
;
2414 _result
= (wxDragResult
)wxDropSource_DoDragDrop(_arg0
,_arg1
);
2416 wxPy_END_ALLOW_THREADS
;
2417 } _resultobj
= Py_BuildValue("i",_result
);
2421 #define wxDropSource_base_GiveFeedback(_swigobj,_swigarg0) (_swigobj->base_GiveFeedback(_swigarg0))
2422 static PyObject
*_wrap_wxDropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
* _resultobj
;
2425 wxPyDropSource
* _arg0
;
2427 PyObject
* _argo0
= 0;
2428 char *_kwnames
[] = { "self","effect", NULL
};
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDropSource_base_GiveFeedback",_kwnames
,&_argo0
,&_arg1
))
2434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropSource_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDropSource_base_GiveFeedback. Expected _wxPyDropSource_p.");
2441 wxPy_BEGIN_ALLOW_THREADS
;
2442 _result
= (bool )wxDropSource_base_GiveFeedback(_arg0
,_arg1
);
2444 wxPy_END_ALLOW_THREADS
;
2445 } _resultobj
= Py_BuildValue("i",_result
);
2449 static void *SwigwxPyDropTargetTowxDropTarget(void *ptr
) {
2450 wxPyDropTarget
*src
;
2452 src
= (wxPyDropTarget
*) ptr
;
2453 dest
= (wxDropTarget
*) src
;
2454 return (void *) dest
;
2457 #define new_wxPyDropTarget(_swigarg0) (new wxPyDropTarget(_swigarg0))
2458 static PyObject
*_wrap_new_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2460 wxPyDropTarget
* _result
;
2461 wxDataObject
* _arg0
= (wxDataObject
*) NULL
;
2462 PyObject
* _argo0
= 0;
2463 char *_kwnames
[] = { "dataObject", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxPyDropTarget",_kwnames
,&_argo0
))
2470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDataObject_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyDropTarget. Expected _wxDataObject_p.");
2477 wxPy_BEGIN_ALLOW_THREADS
;
2478 _result
= (wxPyDropTarget
*)new_wxPyDropTarget(_arg0
);
2480 wxPy_END_ALLOW_THREADS
;
2482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyDropTarget_p");
2483 _resultobj
= Py_BuildValue("s",_ptemp
);
2486 _resultobj
= Py_None
;
2491 #define wxPyDropTarget__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2492 static PyObject
*_wrap_wxPyDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2494 wxPyDropTarget
* _arg0
;
2496 PyObject
* _argo0
= 0;
2497 PyObject
* _obj1
= 0;
2498 char *_kwnames
[] = { "self","self", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget__setSelf. Expected _wxPyDropTarget_p.");
2514 wxPy_BEGIN_ALLOW_THREADS
;
2515 wxPyDropTarget__setSelf(_arg0
,_arg1
);
2517 wxPy_END_ALLOW_THREADS
;
2518 } Py_INCREF(Py_None
);
2519 _resultobj
= Py_None
;
2523 #define delete_wxPyDropTarget(_swigobj) (delete _swigobj)
2524 static PyObject
*_wrap_delete_wxPyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2526 wxPyDropTarget
* _arg0
;
2527 PyObject
* _argo0
= 0;
2528 char *_kwnames
[] = { "self", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyDropTarget",_kwnames
,&_argo0
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyDropTarget. Expected _wxPyDropTarget_p.");
2541 wxPy_BEGIN_ALLOW_THREADS
;
2542 delete_wxPyDropTarget(_arg0
);
2544 wxPy_END_ALLOW_THREADS
;
2545 } Py_INCREF(Py_None
);
2546 _resultobj
= Py_None
;
2550 #define wxPyDropTarget_GetDataObject(_swigobj) (_swigobj->GetDataObject())
2551 static PyObject
*_wrap_wxPyDropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2553 wxDataObject
* _result
;
2554 wxPyDropTarget
* _arg0
;
2555 PyObject
* _argo0
= 0;
2556 char *_kwnames
[] = { "self", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetDataObject",_kwnames
,&_argo0
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetDataObject. Expected _wxPyDropTarget_p.");
2570 wxPy_BEGIN_ALLOW_THREADS
;
2571 _result
= (wxDataObject
*)wxPyDropTarget_GetDataObject(_arg0
);
2573 wxPy_END_ALLOW_THREADS
;
2575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDataObject_p");
2576 _resultobj
= Py_BuildValue("s",_ptemp
);
2579 _resultobj
= Py_None
;
2584 #define wxPyDropTarget_SetDataObject(_swigobj,_swigarg0) (_swigobj->SetDataObject(_swigarg0))
2585 static PyObject
*_wrap_wxPyDropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2587 wxPyDropTarget
* _arg0
;
2588 wxDataObject
* _arg1
;
2589 PyObject
* _argo0
= 0;
2590 PyObject
* _argo1
= 0;
2591 char *_kwnames
[] = { "self","dataObject", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyDropTarget_SetDataObject",_kwnames
,&_argo0
,&_argo1
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_SetDataObject. Expected _wxPyDropTarget_p.");
2604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDataObject_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyDropTarget_SetDataObject. Expected _wxDataObject_p.");
2611 wxPy_BEGIN_ALLOW_THREADS
;
2612 wxPyDropTarget_SetDataObject(_arg0
,_arg1
);
2614 wxPy_END_ALLOW_THREADS
;
2615 } Py_INCREF(Py_None
);
2616 _resultobj
= Py_None
;
2620 #define wxPyDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2621 static PyObject
*_wrap_wxPyDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2623 wxDragResult _result
;
2624 wxPyDropTarget
* _arg0
;
2628 PyObject
* _argo0
= 0;
2629 char *_kwnames
[] = { "self","x","y","def", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnEnter. Expected _wxPyDropTarget_p.");
2642 wxPy_BEGIN_ALLOW_THREADS
;
2643 _result
= (wxDragResult
)wxPyDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2645 wxPy_END_ALLOW_THREADS
;
2646 } _resultobj
= Py_BuildValue("i",_result
);
2650 #define wxPyDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2651 static PyObject
*_wrap_wxPyDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2653 wxDragResult _result
;
2654 wxPyDropTarget
* _arg0
;
2658 PyObject
* _argo0
= 0;
2659 char *_kwnames
[] = { "self","x","y","def", NULL
};
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDragOver. Expected _wxPyDropTarget_p.");
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 _result
= (wxDragResult
)wxPyDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2675 wxPy_END_ALLOW_THREADS
;
2676 } _resultobj
= Py_BuildValue("i",_result
);
2680 #define wxPyDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2681 static PyObject
*_wrap_wxPyDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2683 wxPyDropTarget
* _arg0
;
2684 PyObject
* _argo0
= 0;
2685 char *_kwnames
[] = { "self", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnLeave. Expected _wxPyDropTarget_p.");
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 wxPyDropTarget_base_OnLeave(_arg0
);
2701 wxPy_END_ALLOW_THREADS
;
2702 } Py_INCREF(Py_None
);
2703 _resultobj
= Py_None
;
2707 #define wxPyDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2708 static PyObject
*_wrap_wxPyDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2711 wxPyDropTarget
* _arg0
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self","x","y", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_base_OnDrop. Expected _wxPyDropTarget_p.");
2728 wxPy_BEGIN_ALLOW_THREADS
;
2729 _result
= (bool )wxPyDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2731 wxPy_END_ALLOW_THREADS
;
2732 } _resultobj
= Py_BuildValue("i",_result
);
2736 #define wxPyDropTarget_GetData(_swigobj) (_swigobj->GetData())
2737 static PyObject
*_wrap_wxPyDropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2740 wxPyDropTarget
* _arg0
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyDropTarget_GetData",_kwnames
,&_argo0
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyDropTarget_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyDropTarget_GetData. Expected _wxPyDropTarget_p.");
2755 wxPy_BEGIN_ALLOW_THREADS
;
2756 _result
= (bool )wxPyDropTarget_GetData(_arg0
);
2758 wxPy_END_ALLOW_THREADS
;
2759 } _resultobj
= Py_BuildValue("i",_result
);
2763 static void *SwigwxPyTextDropTargetTowxPyDropTarget(void *ptr
) {
2764 wxPyTextDropTarget
*src
;
2765 wxPyDropTarget
*dest
;
2766 src
= (wxPyTextDropTarget
*) ptr
;
2767 dest
= (wxPyDropTarget
*) src
;
2768 return (void *) dest
;
2771 static void *SwigwxPyTextDropTargetTowxDropTarget(void *ptr
) {
2772 wxPyTextDropTarget
*src
;
2774 src
= (wxPyTextDropTarget
*) ptr
;
2775 dest
= (wxDropTarget
*) src
;
2776 return (void *) dest
;
2779 #define new_wxTextDropTarget() (new wxPyTextDropTarget())
2780 static PyObject
*_wrap_new_wxTextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2782 wxPyTextDropTarget
* _result
;
2783 char *_kwnames
[] = { NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTextDropTarget",_kwnames
))
2790 wxPy_BEGIN_ALLOW_THREADS
;
2791 _result
= (wxPyTextDropTarget
*)new_wxTextDropTarget();
2793 wxPy_END_ALLOW_THREADS
;
2795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextDropTarget_p");
2796 _resultobj
= Py_BuildValue("s",_ptemp
);
2799 _resultobj
= Py_None
;
2804 #define wxTextDropTarget__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2805 static PyObject
*_wrap_wxTextDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
* _resultobj
;
2807 wxPyTextDropTarget
* _arg0
;
2809 PyObject
* _argo0
= 0;
2810 PyObject
* _obj1
= 0;
2811 char *_kwnames
[] = { "self","self", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget__setSelf. Expected _wxPyTextDropTarget_p.");
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 wxTextDropTarget__setSelf(_arg0
,_arg1
);
2830 wxPy_END_ALLOW_THREADS
;
2831 } Py_INCREF(Py_None
);
2832 _resultobj
= Py_None
;
2836 #define wxTextDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
2837 static PyObject
*_wrap_wxTextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2839 wxDragResult _result
;
2840 wxPyTextDropTarget
* _arg0
;
2844 PyObject
* _argo0
= 0;
2845 char *_kwnames
[] = { "self","x","y","def", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnEnter. Expected _wxPyTextDropTarget_p.");
2858 wxPy_BEGIN_ALLOW_THREADS
;
2859 _result
= (wxDragResult
)wxTextDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
2861 wxPy_END_ALLOW_THREADS
;
2862 } _resultobj
= Py_BuildValue("i",_result
);
2866 #define wxTextDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
2867 static PyObject
*_wrap_wxTextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2869 wxDragResult _result
;
2870 wxPyTextDropTarget
* _arg0
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self","x","y","def", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDragOver. Expected _wxPyTextDropTarget_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 _result
= (wxDragResult
)wxTextDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } _resultobj
= Py_BuildValue("i",_result
);
2896 #define wxTextDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
2897 static PyObject
*_wrap_wxTextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
* _resultobj
;
2899 wxPyTextDropTarget
* _arg0
;
2900 PyObject
* _argo0
= 0;
2901 char *_kwnames
[] = { "self", NULL
};
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextDropTarget_base_OnLeave",_kwnames
,&_argo0
))
2907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnLeave. Expected _wxPyTextDropTarget_p.");
2914 wxPy_BEGIN_ALLOW_THREADS
;
2915 wxTextDropTarget_base_OnLeave(_arg0
);
2917 wxPy_END_ALLOW_THREADS
;
2918 } Py_INCREF(Py_None
);
2919 _resultobj
= Py_None
;
2923 #define wxTextDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
2924 static PyObject
*_wrap_wxTextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2927 wxPyTextDropTarget
* _arg0
;
2930 PyObject
* _argo0
= 0;
2931 char *_kwnames
[] = { "self","x","y", NULL
};
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxTextDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnDrop. Expected _wxPyTextDropTarget_p.");
2944 wxPy_BEGIN_ALLOW_THREADS
;
2945 _result
= (bool )wxTextDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
2947 wxPy_END_ALLOW_THREADS
;
2948 } _resultobj
= Py_BuildValue("i",_result
);
2952 #define wxTextDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
2953 static PyObject
*_wrap_wxTextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2955 wxDragResult _result
;
2956 wxPyTextDropTarget
* _arg0
;
2960 PyObject
* _argo0
= 0;
2961 char *_kwnames
[] = { "self","x","y","def", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxTextDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextDropTarget_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextDropTarget_base_OnData. Expected _wxPyTextDropTarget_p.");
2974 wxPy_BEGIN_ALLOW_THREADS
;
2975 _result
= (wxDragResult
)wxTextDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
2977 wxPy_END_ALLOW_THREADS
;
2978 } _resultobj
= Py_BuildValue("i",_result
);
2982 static void *SwigwxPyFileDropTargetTowxPyDropTarget(void *ptr
) {
2983 wxPyFileDropTarget
*src
;
2984 wxPyDropTarget
*dest
;
2985 src
= (wxPyFileDropTarget
*) ptr
;
2986 dest
= (wxPyDropTarget
*) src
;
2987 return (void *) dest
;
2990 static void *SwigwxPyFileDropTargetTowxDropTarget(void *ptr
) {
2991 wxPyFileDropTarget
*src
;
2993 src
= (wxPyFileDropTarget
*) ptr
;
2994 dest
= (wxDropTarget
*) src
;
2995 return (void *) dest
;
2998 #define new_wxFileDropTarget() (new wxPyFileDropTarget())
2999 static PyObject
*_wrap_new_wxFileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3001 wxPyFileDropTarget
* _result
;
3002 char *_kwnames
[] = { NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFileDropTarget",_kwnames
))
3009 wxPy_BEGIN_ALLOW_THREADS
;
3010 _result
= (wxPyFileDropTarget
*)new_wxFileDropTarget();
3012 wxPy_END_ALLOW_THREADS
;
3014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFileDropTarget_p");
3015 _resultobj
= Py_BuildValue("s",_ptemp
);
3018 _resultobj
= Py_None
;
3023 #define wxFileDropTarget__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
3024 static PyObject
*_wrap_wxFileDropTarget__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3026 wxPyFileDropTarget
* _arg0
;
3028 PyObject
* _argo0
= 0;
3029 PyObject
* _obj1
= 0;
3030 char *_kwnames
[] = { "self","self", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileDropTarget__setSelf",_kwnames
,&_argo0
,&_obj1
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget__setSelf. Expected _wxPyFileDropTarget_p.");
3046 wxPy_BEGIN_ALLOW_THREADS
;
3047 wxFileDropTarget__setSelf(_arg0
,_arg1
);
3049 wxPy_END_ALLOW_THREADS
;
3050 } Py_INCREF(Py_None
);
3051 _resultobj
= Py_None
;
3055 #define wxFileDropTarget_base_OnEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEnter(_swigarg0,_swigarg1,_swigarg2))
3056 static PyObject
*_wrap_wxFileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3058 wxDragResult _result
;
3059 wxPyFileDropTarget
* _arg0
;
3063 PyObject
* _argo0
= 0;
3064 char *_kwnames
[] = { "self","x","y","def", NULL
};
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnEnter",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnEnter. Expected _wxPyFileDropTarget_p.");
3077 wxPy_BEGIN_ALLOW_THREADS
;
3078 _result
= (wxDragResult
)wxFileDropTarget_base_OnEnter(_arg0
,_arg1
,_arg2
,_arg3
);
3080 wxPy_END_ALLOW_THREADS
;
3081 } _resultobj
= Py_BuildValue("i",_result
);
3085 #define wxFileDropTarget_base_OnDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnDragOver(_swigarg0,_swigarg1,_swigarg2))
3086 static PyObject
*_wrap_wxFileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
* _resultobj
;
3088 wxDragResult _result
;
3089 wxPyFileDropTarget
* _arg0
;
3093 PyObject
* _argo0
= 0;
3094 char *_kwnames
[] = { "self","x","y","def", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnDragOver",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDragOver. Expected _wxPyFileDropTarget_p.");
3107 wxPy_BEGIN_ALLOW_THREADS
;
3108 _result
= (wxDragResult
)wxFileDropTarget_base_OnDragOver(_arg0
,_arg1
,_arg2
,_arg3
);
3110 wxPy_END_ALLOW_THREADS
;
3111 } _resultobj
= Py_BuildValue("i",_result
);
3115 #define wxFileDropTarget_base_OnLeave(_swigobj) (_swigobj->base_OnLeave())
3116 static PyObject
*_wrap_wxFileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
* _resultobj
;
3118 wxPyFileDropTarget
* _arg0
;
3119 PyObject
* _argo0
= 0;
3120 char *_kwnames
[] = { "self", NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileDropTarget_base_OnLeave",_kwnames
,&_argo0
))
3126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnLeave. Expected _wxPyFileDropTarget_p.");
3133 wxPy_BEGIN_ALLOW_THREADS
;
3134 wxFileDropTarget_base_OnLeave(_arg0
);
3136 wxPy_END_ALLOW_THREADS
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxFileDropTarget_base_OnDrop(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrop(_swigarg0,_swigarg1))
3143 static PyObject
*_wrap_wxFileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3146 wxPyFileDropTarget
* _arg0
;
3149 PyObject
* _argo0
= 0;
3150 char *_kwnames
[] = { "self","x","y", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxFileDropTarget_base_OnDrop",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnDrop. Expected _wxPyFileDropTarget_p.");
3163 wxPy_BEGIN_ALLOW_THREADS
;
3164 _result
= (bool )wxFileDropTarget_base_OnDrop(_arg0
,_arg1
,_arg2
);
3166 wxPy_END_ALLOW_THREADS
;
3167 } _resultobj
= Py_BuildValue("i",_result
);
3171 #define wxFileDropTarget_base_OnData(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnData(_swigarg0,_swigarg1,_swigarg2))
3172 static PyObject
*_wrap_wxFileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3174 wxDragResult _result
;
3175 wxPyFileDropTarget
* _arg0
;
3179 PyObject
* _argo0
= 0;
3180 char *_kwnames
[] = { "self","x","y","def", NULL
};
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxFileDropTarget_base_OnData",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFileDropTarget_p")) {
3188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileDropTarget_base_OnData. Expected _wxPyFileDropTarget_p.");
3193 wxPy_BEGIN_ALLOW_THREADS
;
3194 _result
= (wxDragResult
)wxFileDropTarget_base_OnData(_arg0
,_arg1
,_arg2
,_arg3
);
3196 wxPy_END_ALLOW_THREADS
;
3197 } _resultobj
= Py_BuildValue("i",_result
);
3201 static PyMethodDef clip_dndcMethods
[] = {
3202 { "wxFileDropTarget_base_OnData", (PyCFunction
) _wrap_wxFileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3203 { "wxFileDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3204 { "wxFileDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxFileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3205 { "wxFileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxFileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3206 { "wxFileDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxFileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3207 { "wxFileDropTarget__setSelf", (PyCFunction
) _wrap_wxFileDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3208 { "new_wxFileDropTarget", (PyCFunction
) _wrap_new_wxFileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3209 { "wxTextDropTarget_base_OnData", (PyCFunction
) _wrap_wxTextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
3210 { "wxTextDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3211 { "wxTextDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxTextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3212 { "wxTextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxTextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3213 { "wxTextDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxTextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3214 { "wxTextDropTarget__setSelf", (PyCFunction
) _wrap_wxTextDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3215 { "new_wxTextDropTarget", (PyCFunction
) _wrap_new_wxTextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3216 { "wxPyDropTarget_GetData", (PyCFunction
) _wrap_wxPyDropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3217 { "wxPyDropTarget_base_OnDrop", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
3218 { "wxPyDropTarget_base_OnLeave", (PyCFunction
) _wrap_wxPyDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
3219 { "wxPyDropTarget_base_OnDragOver", (PyCFunction
) _wrap_wxPyDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
3220 { "wxPyDropTarget_base_OnEnter", (PyCFunction
) _wrap_wxPyDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
3221 { "wxPyDropTarget_SetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3222 { "wxPyDropTarget_GetDataObject", (PyCFunction
) _wrap_wxPyDropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3223 { "delete_wxPyDropTarget", (PyCFunction
) _wrap_delete_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3224 { "wxPyDropTarget__setSelf", (PyCFunction
) _wrap_wxPyDropTarget__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3225 { "new_wxPyDropTarget", (PyCFunction
) _wrap_new_wxPyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
3226 { "wxDropSource_base_GiveFeedback", (PyCFunction
) _wrap_wxDropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
3227 { "wxDropSource_DoDragDrop", (PyCFunction
) _wrap_wxDropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
3228 { "wxDropSource_SetCursor", (PyCFunction
) _wrap_wxDropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
3229 { "wxDropSource_GetDataObject", (PyCFunction
) _wrap_wxDropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3230 { "wxDropSource_SetData", (PyCFunction
) _wrap_wxDropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3231 { "delete_wxDropSource", (PyCFunction
) _wrap_delete_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3232 { "wxDropSource__setSelf", (PyCFunction
) _wrap_wxDropSource__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3233 { "new_wxDropSource", (PyCFunction
) _wrap_new_wxDropSource
, METH_VARARGS
| METH_KEYWORDS
},
3234 { "wxClipboard_UsePrimarySelection", (PyCFunction
) _wrap_wxClipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
3235 { "wxClipboard_Flush", (PyCFunction
) _wrap_wxClipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
3236 { "wxClipboard_Clear", (PyCFunction
) _wrap_wxClipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3237 { "wxClipboard_GetData", (PyCFunction
) _wrap_wxClipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3238 { "wxClipboard_IsSupported", (PyCFunction
) _wrap_wxClipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
3239 { "wxClipboard_SetData", (PyCFunction
) _wrap_wxClipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3240 { "wxClipboard_AddData", (PyCFunction
) _wrap_wxClipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
3241 { "wxClipboard_IsOpened", (PyCFunction
) _wrap_wxClipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
3242 { "wxClipboard_Close", (PyCFunction
) _wrap_wxClipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
3243 { "wxClipboard_Open", (PyCFunction
) _wrap_wxClipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
3244 { "new_wxClipboard", (PyCFunction
) _wrap_new_wxClipboard
, METH_VARARGS
| METH_KEYWORDS
},
3245 { "wxCustomDataObject_GetData", (PyCFunction
) _wrap_wxCustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
3246 { "wxCustomDataObject_GetSize", (PyCFunction
) _wrap_wxCustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3247 { "wxCustomDataObject_SetData", (PyCFunction
) _wrap_wxCustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3248 { "wxCustomDataObject_TakeData", (PyCFunction
) _wrap_wxCustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
3249 { "new_wxCustomDataObject", (PyCFunction
) _wrap_new_wxCustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3250 { "wxFileDataObject_GetFilenames", (PyCFunction
) _wrap_wxFileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
3251 { "new_wxFileDataObject", (PyCFunction
) _wrap_new_wxFileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3252 { "wxPyBitmapDataObject__setSelf", (PyCFunction
) _wrap_wxPyBitmapDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3253 { "new_wxPyBitmapDataObject", (PyCFunction
) _wrap_new_wxPyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3254 { "wxBitmapDataObject_SetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3255 { "wxBitmapDataObject_GetBitmap", (PyCFunction
) _wrap_wxBitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3256 { "new_wxBitmapDataObject", (PyCFunction
) _wrap_new_wxBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3257 { "wxPyTextDataObject__setSelf", (PyCFunction
) _wrap_wxPyTextDataObject__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3258 { "new_wxPyTextDataObject", (PyCFunction
) _wrap_new_wxPyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3259 { "wxTextDataObject_SetText", (PyCFunction
) _wrap_wxTextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
3260 { "wxTextDataObject_GetText", (PyCFunction
) _wrap_wxTextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3261 { "wxTextDataObject_GetTextLength", (PyCFunction
) _wrap_wxTextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
3262 { "new_wxTextDataObject", (PyCFunction
) _wrap_new_wxTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3263 { "wxDataObjectComposite_Add", (PyCFunction
) _wrap_wxDataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
3264 { "new_wxDataObjectComposite", (PyCFunction
) _wrap_new_wxDataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
3265 { "wxPyDataObjectSimple__setSelf", (PyCFunction
) _wrap_wxPyDataObjectSimple__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
3266 { "new_wxPyDataObjectSimple", (PyCFunction
) _wrap_new_wxPyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3267 { "wxDataObjectSimple_SetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3268 { "wxDataObjectSimple_GetFormat", (PyCFunction
) _wrap_wxDataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
3269 { "new_wxDataObjectSimple", (PyCFunction
) _wrap_new_wxDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
3270 { "wxDataObject_IsSupportedFormat", (PyCFunction
) _wrap_wxDataObject_IsSupportedFormat
, METH_VARARGS
| METH_KEYWORDS
},
3271 { "wxDataObject_SetData", (PyCFunction
) _wrap_wxDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
3272 { "wxDataObject_GetDataHere", (PyCFunction
) _wrap_wxDataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
3273 { "wxDataObject_GetDataSize", (PyCFunction
) _wrap_wxDataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
3274 { "wxDataObject_GetAllFormats", (PyCFunction
) _wrap_wxDataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
3275 { "wxDataObject_GetFormatCount", (PyCFunction
) _wrap_wxDataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
3276 { "wxDataObject_GetPreferredFormat", (PyCFunction
) _wrap_wxDataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
3277 { "delete_wxDataObject", (PyCFunction
) _wrap_delete_wxDataObject
, METH_VARARGS
| METH_KEYWORDS
},
3278 { "wxDataFormat_SetId", (PyCFunction
) _wrap_wxDataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
3279 { "wxDataFormat_GetId", (PyCFunction
) _wrap_wxDataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3280 { "wxDataFormat_GetType", (PyCFunction
) _wrap_wxDataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
3281 { "wxDataFormat_SetType", (PyCFunction
) _wrap_wxDataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
3282 { "delete_wxDataFormat", (PyCFunction
) _wrap_delete_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3283 { "new_wxDataFormat", (PyCFunction
) _wrap_new_wxDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3284 { "wxIsDragResultOk", (PyCFunction
) _wrap_wxIsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
3285 { "wxCustomDataFormat", (PyCFunction
) _wrap_wxCustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
3292 * This table is used by the pointer type-checker
3294 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3295 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3296 { "_signed_long","_long",0},
3297 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3298 { "_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3299 { "_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3300 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3301 { "_wxPrintQuality","_wxCoord",0},
3302 { "_wxPrintQuality","_int",0},
3303 { "_wxPrintQuality","_signed_int",0},
3304 { "_wxPrintQuality","_unsigned_int",0},
3305 { "_wxPrintQuality","_wxWindowID",0},
3306 { "_wxPrintQuality","_uint",0},
3307 { "_wxPrintQuality","_EBool",0},
3308 { "_wxPrintQuality","_size_t",0},
3309 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3310 { "_class_wxRegionIterator","_wxRegionIterator",0},
3311 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3312 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3313 { "_wxCursor","_class_wxCursor",0},
3314 { "_wxMask","_class_wxMask",0},
3315 { "_wxPen","_class_wxPen",0},
3316 { "_byte","_unsigned_char",0},
3317 { "_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3318 { "_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3319 { "_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3320 { "_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3321 { "_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3322 { "_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3323 { "_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3324 { "_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3325 { "_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3326 { "_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3327 { "_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3328 { "_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3329 { "_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3330 { "_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3331 { "_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3332 { "_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3333 { "_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3334 { "_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3335 { "_wxDataObject","_class_wxDataObject",0},
3336 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3337 { "_wxPyDropSource","_class_wxPyDropSource",0},
3338 { "_long","_wxDash",0},
3339 { "_long","_unsigned_long",0},
3340 { "_long","_signed_long",0},
3341 { "_wxImageList","_class_wxImageList",0},
3342 { "_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3343 { "_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3344 { "_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3345 { "_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3346 { "_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3347 { "_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3348 { "_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3349 { "_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3350 { "_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3351 { "_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3352 { "_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3353 { "_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3354 { "_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3355 { "_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3356 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3357 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3358 { "_class_wxClipboard","_wxClipboard",0},
3359 { "_wxDC","_class_wxDC",0},
3360 { "_class_wxBitmapDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3361 { "_class_wxBitmapDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxBitmapDataObject
},
3362 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3363 { "_size_t","_wxCoord",0},
3364 { "_size_t","_wxPrintQuality",0},
3365 { "_size_t","_unsigned_int",0},
3366 { "_size_t","_int",0},
3367 { "_size_t","_wxWindowID",0},
3368 { "_size_t","_uint",0},
3369 { "_class_wxRealPoint","_wxRealPoint",0},
3370 { "_wxPrinterDC","_class_wxPrinterDC",0},
3371 { "_class_wxMask","_wxMask",0},
3372 { "_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3373 { "_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3374 { "_wxTextDataObject","_class_wxTextDataObject",0},
3375 { "_wxColour","_class_wxColour",0},
3376 { "_class_wxFileDataObject","_wxFileDataObject",0},
3377 { "_class_wxDataObject","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3378 { "_class_wxDataObject","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObject
},
3379 { "_class_wxDataObject","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3380 { "_class_wxDataObject","_wxFileDataObject",SwigwxFileDataObjectTowxDataObject
},
3381 { "_class_wxDataObject","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3382 { "_class_wxDataObject","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObject
},
3383 { "_class_wxDataObject","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3384 { "_class_wxDataObject","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObject
},
3385 { "_class_wxDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3386 { "_class_wxDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObject
},
3387 { "_class_wxDataObject","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3388 { "_class_wxDataObject","_wxTextDataObject",SwigwxTextDataObjectTowxDataObject
},
3389 { "_class_wxDataObject","_class_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3390 { "_class_wxDataObject","_wxDataObjectComposite",SwigwxDataObjectCompositeTowxDataObject
},
3391 { "_class_wxDataObject","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3392 { "_class_wxDataObject","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObject
},
3393 { "_class_wxDataObject","_class_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3394 { "_class_wxDataObject","_wxDataObjectSimple",SwigwxDataObjectSimpleTowxDataObject
},
3395 { "_class_wxDataObject","_wxDataObject",0},
3396 { "_wxBrush","_class_wxBrush",0},
3397 { "_wxDataFormat","_class_wxDataFormat",0},
3398 { "_class_wxDataObjectSimple","_class_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3399 { "_class_wxDataObjectSimple","_wxCustomDataObject",SwigwxCustomDataObjectTowxDataObjectSimple
},
3400 { "_class_wxDataObjectSimple","_class_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3401 { "_class_wxDataObjectSimple","_wxFileDataObject",SwigwxFileDataObjectTowxDataObjectSimple
},
3402 { "_class_wxDataObjectSimple","_class_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3403 { "_class_wxDataObjectSimple","_wxPyBitmapDataObject",SwigwxPyBitmapDataObjectTowxDataObjectSimple
},
3404 { "_class_wxDataObjectSimple","_class_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3405 { "_class_wxDataObjectSimple","_wxBitmapDataObject",SwigwxBitmapDataObjectTowxDataObjectSimple
},
3406 { "_class_wxDataObjectSimple","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3407 { "_class_wxDataObjectSimple","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxDataObjectSimple
},
3408 { "_class_wxDataObjectSimple","_class_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3409 { "_class_wxDataObjectSimple","_wxTextDataObject",SwigwxTextDataObjectTowxDataObjectSimple
},
3410 { "_class_wxDataObjectSimple","_class_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3411 { "_class_wxDataObjectSimple","_wxPyDataObjectSimple",SwigwxPyDataObjectSimpleTowxDataObjectSimple
},
3412 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3413 { "_uint","_wxCoord",0},
3414 { "_uint","_wxPrintQuality",0},
3415 { "_uint","_size_t",0},
3416 { "_uint","_unsigned_int",0},
3417 { "_uint","_int",0},
3418 { "_uint","_wxWindowID",0},
3419 { "_wxRect","_class_wxRect",0},
3420 { "_wxPoint","_class_wxPoint",0},
3421 { "_wxBitmap","_class_wxBitmap",0},
3422 { "_wxPyTimer","_class_wxPyTimer",0},
3423 { "_wxWindowDC","_class_wxWindowDC",0},
3424 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3425 { "_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3426 { "_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3427 { "_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3428 { "_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3429 { "_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3430 { "_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3431 { "_wxDropTarget","_class_wxDropTarget",0},
3432 { "_EBool","_wxCoord",0},
3433 { "_EBool","_wxPrintQuality",0},
3434 { "_EBool","_signed_int",0},
3435 { "_EBool","_int",0},
3436 { "_EBool","_wxWindowID",0},
3437 { "_class_wxRegion","_wxRegion",0},
3438 { "_class_wxDataFormat","_wxDataFormat",0},
3439 { "_wxFont","_class_wxFont",0},
3440 { "_class_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3441 { "_class_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3442 { "_class_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3443 { "_class_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3444 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3445 { "_unsigned_long","_wxDash",0},
3446 { "_unsigned_long","_long",0},
3447 { "_class_wxRect","_wxRect",0},
3448 { "_class_wxDC","_wxDC",0},
3449 { "_class_wxPyTimer","_wxPyTimer",0},
3450 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3451 { "_signed_int","_wxCoord",0},
3452 { "_signed_int","_wxPrintQuality",0},
3453 { "_signed_int","_EBool",0},
3454 { "_signed_int","_wxWindowID",0},
3455 { "_signed_int","_int",0},
3456 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3457 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3458 { "_class_wxTextDataObject","_class_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3459 { "_class_wxTextDataObject","_wxPyTextDataObject",SwigwxPyTextDataObjectTowxTextDataObject
},
3460 { "_class_wxTextDataObject","_wxTextDataObject",0},
3461 { "_wxScreenDC","_class_wxScreenDC",0},
3462 { "_WXTYPE","_short",0},
3463 { "_WXTYPE","_signed_short",0},
3464 { "_WXTYPE","_unsigned_short",0},
3465 { "_class_wxDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3466 { "_class_wxDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxDropTarget
},
3467 { "_class_wxDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3468 { "_class_wxDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxDropTarget
},
3469 { "_class_wxDropTarget","_class_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3470 { "_class_wxDropTarget","_wxPyDropTarget",SwigwxPyDropTargetTowxDropTarget
},
3471 { "_class_wxDropTarget","_wxDropTarget",0},
3472 { "_class_wxBrush","_wxBrush",0},
3473 { "_unsigned_short","_WXTYPE",0},
3474 { "_unsigned_short","_short",0},
3475 { "_class_wxFont","_wxFont",0},
3476 { "_wxClipboard","_class_wxClipboard",0},
3477 { "_wxBusyInfo","_class_wxBusyInfo",0},
3478 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3479 { "_wxClientDC","_class_wxClientDC",0},
3480 { "_class_wxPoint","_wxPoint",0},
3481 { "_wxRealPoint","_class_wxRealPoint",0},
3482 { "_signed_short","_WXTYPE",0},
3483 { "_signed_short","_short",0},
3484 { "_wxMemoryDC","_class_wxMemoryDC",0},
3485 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3486 { "_wxPaintDC","_class_wxPaintDC",0},
3487 { "_class_wxWindowDC","_wxWindowDC",0},
3488 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3489 { "_class_wxCursor","_wxCursor",0},
3490 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3491 { "_unsigned_char","_byte",0},
3492 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3493 { "_unsigned_int","_wxCoord",0},
3494 { "_unsigned_int","_wxPrintQuality",0},
3495 { "_unsigned_int","_size_t",0},
3496 { "_unsigned_int","_uint",0},
3497 { "_unsigned_int","_wxWindowID",0},
3498 { "_unsigned_int","_int",0},
3499 { "_wxIcon","_class_wxIcon",0},
3500 { "_class_wxPen","_wxPen",0},
3501 { "_short","_WXTYPE",0},
3502 { "_short","_unsigned_short",0},
3503 { "_short","_signed_short",0},
3504 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3505 { "_class_wxPyDropSource","_wxPyDropSource",0},
3506 { "_class_wxImageList","_wxImageList",0},
3507 { "_wxWindowID","_wxCoord",0},
3508 { "_wxWindowID","_wxPrintQuality",0},
3509 { "_wxWindowID","_size_t",0},
3510 { "_wxWindowID","_EBool",0},
3511 { "_wxWindowID","_uint",0},
3512 { "_wxWindowID","_int",0},
3513 { "_wxWindowID","_signed_int",0},
3514 { "_wxWindowID","_unsigned_int",0},
3515 { "_int","_wxCoord",0},
3516 { "_int","_wxPrintQuality",0},
3517 { "_int","_size_t",0},
3518 { "_int","_EBool",0},
3519 { "_int","_uint",0},
3520 { "_int","_wxWindowID",0},
3521 { "_int","_unsigned_int",0},
3522 { "_int","_signed_int",0},
3523 { "_wxSize","_class_wxSize",0},
3524 { "_wxRegionIterator","_class_wxRegionIterator",0},
3525 { "_class_wxPrinterDC","_wxPrinterDC",0},
3526 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3527 { "_class_wxPaintDC","_wxPaintDC",0},
3528 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3529 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3530 { "_class_wxIcon","_wxIcon",0},
3531 { "_class_wxColour","_wxColour",0},
3532 { "_class_wxScreenDC","_wxScreenDC",0},
3533 { "_wxPalette","_class_wxPalette",0},
3534 { "_wxCoord","_int",0},
3535 { "_wxCoord","_signed_int",0},
3536 { "_wxCoord","_unsigned_int",0},
3537 { "_wxCoord","_wxWindowID",0},
3538 { "_wxCoord","_uint",0},
3539 { "_wxCoord","_EBool",0},
3540 { "_wxCoord","_size_t",0},
3541 { "_wxCoord","_wxPrintQuality",0},
3542 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3543 { "_wxRegion","_class_wxRegion",0},
3544 { "_wxPyDropTarget","_class_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3545 { "_wxPyDropTarget","_wxPyFileDropTarget",SwigwxPyFileDropTargetTowxPyDropTarget
},
3546 { "_wxPyDropTarget","_class_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3547 { "_wxPyDropTarget","_wxPyTextDropTarget",SwigwxPyTextDropTargetTowxPyDropTarget
},
3548 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3549 { "_class_wxBusyInfo","_wxBusyInfo",0},
3550 { "_class_wxClientDC","_wxClientDC",0},
3551 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3552 { "_class_wxSize","_wxSize",0},
3553 { "_class_wxBitmap","_wxBitmap",0},
3554 { "_class_wxMemoryDC","_wxMemoryDC",0},
3555 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3556 { "_wxDash","_unsigned_long",0},
3557 { "_wxDash","_long",0},
3558 { "_class_wxPalette","_wxPalette",0},
3559 { "_wxFileDataObject","_class_wxFileDataObject",0},
3560 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3563 static PyObject
*SWIG_globals
;
3567 SWIGEXPORT(void) initclip_dndc() {
3569 SWIG_globals
= SWIG_newvarlink();
3570 m
= Py_InitModule("clip_dndc", clip_dndcMethods
);
3571 d
= PyModule_GetDict(m
);
3572 PyDict_SetItemString(d
,"wxDF_INVALID", PyInt_FromLong((long) wxDF_INVALID
));
3573 PyDict_SetItemString(d
,"wxDF_TEXT", PyInt_FromLong((long) wxDF_TEXT
));
3574 PyDict_SetItemString(d
,"wxDF_BITMAP", PyInt_FromLong((long) wxDF_BITMAP
));
3575 PyDict_SetItemString(d
,"wxDF_METAFILE", PyInt_FromLong((long) wxDF_METAFILE
));
3576 PyDict_SetItemString(d
,"wxDF_SYLK", PyInt_FromLong((long) wxDF_SYLK
));
3577 PyDict_SetItemString(d
,"wxDF_DIF", PyInt_FromLong((long) wxDF_DIF
));
3578 PyDict_SetItemString(d
,"wxDF_TIFF", PyInt_FromLong((long) wxDF_TIFF
));
3579 PyDict_SetItemString(d
,"wxDF_OEMTEXT", PyInt_FromLong((long) wxDF_OEMTEXT
));
3580 PyDict_SetItemString(d
,"wxDF_DIB", PyInt_FromLong((long) wxDF_DIB
));
3581 PyDict_SetItemString(d
,"wxDF_PALETTE", PyInt_FromLong((long) wxDF_PALETTE
));
3582 PyDict_SetItemString(d
,"wxDF_PENDATA", PyInt_FromLong((long) wxDF_PENDATA
));
3583 PyDict_SetItemString(d
,"wxDF_RIFF", PyInt_FromLong((long) wxDF_RIFF
));
3584 PyDict_SetItemString(d
,"wxDF_WAVE", PyInt_FromLong((long) wxDF_WAVE
));
3585 PyDict_SetItemString(d
,"wxDF_UNICODETEXT", PyInt_FromLong((long) wxDF_UNICODETEXT
));
3586 PyDict_SetItemString(d
,"wxDF_ENHMETAFILE", PyInt_FromLong((long) wxDF_ENHMETAFILE
));
3587 PyDict_SetItemString(d
,"wxDF_FILENAME", PyInt_FromLong((long) wxDF_FILENAME
));
3588 PyDict_SetItemString(d
,"wxDF_LOCALE", PyInt_FromLong((long) wxDF_LOCALE
));
3589 PyDict_SetItemString(d
,"wxDF_PRIVATE", PyInt_FromLong((long) wxDF_PRIVATE
));
3590 PyDict_SetItemString(d
,"wxDF_MAX", PyInt_FromLong((long) wxDF_MAX
));
3591 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
3592 SWIG_addvarlink(SWIG_globals
,"wxFormatInvalid",_wrap_wxPyFormatInvalid_get
, _wrap_wxPyFormatInvalid_set
);
3593 SWIG_addvarlink(SWIG_globals
,"wxTheClipboard",_wrap_wxPyTheClipboard_get
, _wrap_wxPyTheClipboard_set
);
3594 PyDict_SetItemString(d
,"wxDragError", PyInt_FromLong((long) wxDragError
));
3595 PyDict_SetItemString(d
,"wxDragNone", PyInt_FromLong((long) wxDragNone
));
3596 PyDict_SetItemString(d
,"wxDragCopy", PyInt_FromLong((long) wxDragCopy
));
3597 PyDict_SetItemString(d
,"wxDragMove", PyInt_FromLong((long) wxDragMove
));
3598 PyDict_SetItemString(d
,"wxDragCancel", PyInt_FromLong((long) wxDragCancel
));
3601 wxPyTheClipboard
= wxTheClipboard
;
3603 PyDict_SetItemString(d
,"wxDataObject_Get", PyInt_FromLong((long) wxDataObject::Get
));
3604 PyDict_SetItemString(d
,"wxDataObject_Set", PyInt_FromLong((long) wxDataObject::Set
));
3605 PyDict_SetItemString(d
,"wxDataObject_Both", PyInt_FromLong((long) wxDataObject::Both
));
3608 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3609 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);