2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
65 #include <wx/dirctrl.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 #if PYTHON_API_VERSION >= 1009
95 static char* wxStringErrorMsg
= "String or Unicode type required";
97 static char* wxStringErrorMsg
= "String type required";
99 // C++ Version of a Python aware class
100 class wxPyListCtrl
: public wxListCtrl
{
101 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
103 wxPyListCtrl() : wxListCtrl() {}
104 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
108 const wxValidator
& validator
,
110 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
112 bool Create(wxWindow
* parent
, wxWindowID id
,
116 const wxValidator
& validator
,
118 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
121 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
122 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
123 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
128 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
130 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
131 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
132 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
133 // Python aware sorting function for wxPyListCtrl
134 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
136 PyObject
* func
= (PyObject
*)funcPtr
;
137 wxPyBeginBlockThreads();
139 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
140 PyObject
* result
= PyEval_CallObject(func
, args
);
143 retval
= PyInt_AsLong(result
);
147 wxPyEndBlockThreads();
152 class wxPyTreeItemData
: public wxTreeItemData
{
154 wxPyTreeItemData(PyObject
* obj
= NULL
) {
161 ~wxPyTreeItemData() {
162 wxPyBeginBlockThreads();
164 wxPyEndBlockThreads();
167 PyObject
* GetData() {
172 void SetData(PyObject
* obj
) {
173 wxPyBeginBlockThreads();
175 wxPyEndBlockThreads();
182 // C++ version of Python aware wxTreeCtrl
183 class wxPyTreeCtrl
: public wxTreeCtrl
{
184 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
186 wxPyTreeCtrl() : wxTreeCtrl() {}
187 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
191 const wxValidator
& validator
,
193 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
195 bool Create(wxWindow
*parent
, wxWindowID id
,
199 const wxValidator
& validator
,
201 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
205 int OnCompareItems(const wxTreeItemId
& item1
,
206 const wxTreeItemId
& item2
) {
209 wxPyBeginBlockThreads();
210 if ((found
= m_myInst
.findCallback("OnCompareItems")))
211 rval
= m_myInst
.callCallback(Py_BuildValue(
213 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
214 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
215 wxPyEndBlockThreads();
217 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
223 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
228 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
229 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
231 wxListItemAttr
* _result
;
232 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
233 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
234 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
236 PyObject
* _obj0
= 0;
238 PyObject
* _obj1
= 0;
239 PyObject
* _argo2
= 0;
240 char *_kwnames
[] = { "colText","colBack","font", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
249 if (! wxColour_helper(_obj0
, &_arg0
))
255 if (! wxColour_helper(_obj1
, &_arg1
))
259 if (_argo2
== Py_None
) { _arg2
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
269 wxPyEndAllowThreads(__tstate
);
270 if (PyErr_Occurred()) return NULL
;
272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
273 _resultobj
= Py_BuildValue("s",_ptemp
);
276 _resultobj
= Py_None
;
281 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
282 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
283 PyObject
* _resultobj
;
284 wxListItemAttr
* _arg0
;
286 PyObject
* _argo0
= 0;
288 PyObject
* _obj1
= 0;
289 char *_kwnames
[] = { "self","colText", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
303 if (! wxColour_helper(_obj1
, &_arg1
))
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
312 } Py_INCREF(Py_None
);
313 _resultobj
= Py_None
;
317 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
318 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
320 wxListItemAttr
* _arg0
;
322 PyObject
* _argo0
= 0;
324 PyObject
* _obj1
= 0;
325 char *_kwnames
[] = { "self","colBack", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
339 if (! wxColour_helper(_obj1
, &_arg1
))
343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
344 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
346 wxPyEndAllowThreads(__tstate
);
347 if (PyErr_Occurred()) return NULL
;
348 } Py_INCREF(Py_None
);
349 _resultobj
= Py_None
;
353 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
354 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
356 wxListItemAttr
* _arg0
;
358 PyObject
* _argo0
= 0;
359 PyObject
* _argo1
= 0;
360 char *_kwnames
[] = { "self","font", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
381 wxListItemAttr_SetFont(_arg0
,*_arg1
);
383 wxPyEndAllowThreads(__tstate
);
384 if (PyErr_Occurred()) return NULL
;
385 } Py_INCREF(Py_None
);
386 _resultobj
= Py_None
;
390 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
391 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
394 wxListItemAttr
* _arg0
;
395 PyObject
* _argo0
= 0;
396 char *_kwnames
[] = { "self", NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
410 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
412 wxPyEndAllowThreads(__tstate
);
413 if (PyErr_Occurred()) return NULL
;
414 } _resultobj
= Py_BuildValue("i",_result
);
418 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
419 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
422 wxListItemAttr
* _arg0
;
423 PyObject
* _argo0
= 0;
424 char *_kwnames
[] = { "self", NULL
};
427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
438 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
440 wxPyEndAllowThreads(__tstate
);
441 if (PyErr_Occurred()) return NULL
;
442 } _resultobj
= Py_BuildValue("i",_result
);
446 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
447 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
450 wxListItemAttr
* _arg0
;
451 PyObject
* _argo0
= 0;
452 char *_kwnames
[] = { "self", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
466 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
468 wxPyEndAllowThreads(__tstate
);
469 if (PyErr_Occurred()) return NULL
;
470 } _resultobj
= Py_BuildValue("i",_result
);
474 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
475 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
476 PyObject
* _resultobj
;
478 wxListItemAttr
* _arg0
;
479 PyObject
* _argo0
= 0;
480 char *_kwnames
[] = { "self", NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
499 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
500 _resultobj
= Py_BuildValue("s",_ptemp
);
504 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
505 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
508 wxListItemAttr
* _arg0
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
529 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
530 _resultobj
= Py_BuildValue("s",_ptemp
);
534 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
535 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
538 wxListItemAttr
* _arg0
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
555 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
557 wxPyEndAllowThreads(__tstate
);
558 if (PyErr_Occurred()) return NULL
;
559 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
560 _resultobj
= Py_BuildValue("s",_ptemp
);
564 static void *SwigwxListItemTowxObject(void *ptr
) {
567 src
= (wxListItem
*) ptr
;
568 dest
= (wxObject
*) src
;
569 return (void *) dest
;
572 #define new_wxListItem() (new wxListItem())
573 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
575 wxListItem
* _result
;
576 char *_kwnames
[] = { NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
584 _result
= (wxListItem
*)new_wxListItem();
586 wxPyEndAllowThreads(__tstate
);
587 if (PyErr_Occurred()) return NULL
;
589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
590 _resultobj
= Py_BuildValue("s",_ptemp
);
593 _resultobj
= Py_None
;
598 #define delete_wxListItem(_swigobj) (delete _swigobj)
599 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
602 PyObject
* _argo0
= 0;
603 char *_kwnames
[] = { "self", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
617 delete_wxListItem(_arg0
);
619 wxPyEndAllowThreads(__tstate
);
620 if (PyErr_Occurred()) return NULL
;
621 } Py_INCREF(Py_None
);
622 _resultobj
= Py_None
;
626 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
627 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 PyObject
* _argo0
= 0;
631 char *_kwnames
[] = { "self", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 wxListItem_Clear(_arg0
);
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) return NULL
;
649 } Py_INCREF(Py_None
);
650 _resultobj
= Py_None
;
654 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
655 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
658 PyObject
* _argo0
= 0;
659 char *_kwnames
[] = { "self", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
673 wxListItem_ClearAttributes(_arg0
);
675 wxPyEndAllowThreads(__tstate
);
676 if (PyErr_Occurred()) return NULL
;
677 } Py_INCREF(Py_None
);
678 _resultobj
= Py_None
;
682 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
683 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
688 char *_kwnames
[] = { "self","mask", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 wxListItem_SetMask(_arg0
,_arg1
);
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
712 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
716 PyObject
* _argo0
= 0;
717 char *_kwnames
[] = { "self","id", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
731 wxListItem_SetId(_arg0
,_arg1
);
733 wxPyEndAllowThreads(__tstate
);
734 if (PyErr_Occurred()) return NULL
;
735 } Py_INCREF(Py_None
);
736 _resultobj
= Py_None
;
740 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
741 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
745 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "self","col", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
760 wxListItem_SetColumn(_arg0
,_arg1
);
762 wxPyEndAllowThreads(__tstate
);
763 if (PyErr_Occurred()) return NULL
;
764 } Py_INCREF(Py_None
);
765 _resultobj
= Py_None
;
769 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
770 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "self","state", NULL
};
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
789 wxListItem_SetState(_arg0
,_arg1
);
791 wxPyEndAllowThreads(__tstate
);
792 if (PyErr_Occurred()) return NULL
;
793 } Py_INCREF(Py_None
);
794 _resultobj
= Py_None
;
798 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
799 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self","stateMask", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
818 wxListItem_SetStateMask(_arg0
,_arg1
);
820 wxPyEndAllowThreads(__tstate
);
821 if (PyErr_Occurred()) return NULL
;
822 } Py_INCREF(Py_None
);
823 _resultobj
= Py_None
;
827 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
828 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
832 PyObject
* _argo0
= 0;
833 PyObject
* _obj1
= 0;
834 char *_kwnames
[] = { "self","text", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
847 #if PYTHON_API_VERSION >= 1009
848 char* tmpPtr
; int tmpSize
;
849 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
853 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
855 _arg1
= new wxString(tmpPtr
, tmpSize
);
857 if (!PyString_Check(_obj1
)) {
858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
861 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 wxListItem_SetText(_arg0
,*_arg1
);
868 wxPyEndAllowThreads(__tstate
);
869 if (PyErr_Occurred()) return NULL
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
879 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
880 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
884 PyObject
* _argo0
= 0;
885 char *_kwnames
[] = { "self","image", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
899 wxListItem_SetImage(_arg0
,_arg1
);
901 wxPyEndAllowThreads(__tstate
);
902 if (PyErr_Occurred()) return NULL
;
903 } Py_INCREF(Py_None
);
904 _resultobj
= Py_None
;
908 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
909 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self","data", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 wxListItem_SetData(_arg0
,_arg1
);
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) return NULL
;
932 } Py_INCREF(Py_None
);
933 _resultobj
= Py_None
;
937 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
938 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
942 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self","width", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 wxListItem_SetWidth(_arg0
,_arg1
);
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) return NULL
;
961 } Py_INCREF(Py_None
);
962 _resultobj
= Py_None
;
966 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
967 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
970 wxListColumnFormat _arg1
;
971 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self","align", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 wxListItem_SetAlign(_arg0
,_arg1
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) return NULL
;
990 } Py_INCREF(Py_None
);
991 _resultobj
= Py_None
;
995 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
996 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
1000 PyObject
* _argo0
= 0;
1002 PyObject
* _obj1
= 0;
1003 char *_kwnames
[] = { "self","colText", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1017 if (! wxColour_helper(_obj1
, &_arg1
))
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 wxListItem_SetTextColour(_arg0
,*_arg1
);
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1031 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1032 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1036 PyObject
* _argo0
= 0;
1038 PyObject
* _obj1
= 0;
1039 char *_kwnames
[] = { "self","colBack", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1053 if (! wxColour_helper(_obj1
, &_arg1
))
1057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1058 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1060 wxPyEndAllowThreads(__tstate
);
1061 if (PyErr_Occurred()) return NULL
;
1062 } Py_INCREF(Py_None
);
1063 _resultobj
= Py_None
;
1067 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1068 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1072 PyObject
* _argo0
= 0;
1073 PyObject
* _argo1
= 0;
1074 char *_kwnames
[] = { "self","font", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1095 wxListItem_SetFont(_arg0
,*_arg1
);
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) return NULL
;
1099 } Py_INCREF(Py_None
);
1100 _resultobj
= Py_None
;
1104 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1105 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1109 PyObject
* _argo0
= 0;
1110 char *_kwnames
[] = { "self", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 _result
= (long )wxListItem_GetMask(_arg0
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1128 } _resultobj
= Py_BuildValue("l",_result
);
1132 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1133 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1137 PyObject
* _argo0
= 0;
1138 char *_kwnames
[] = { "self", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 _result
= (long )wxListItem_GetId(_arg0
);
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) return NULL
;
1156 } _resultobj
= Py_BuildValue("l",_result
);
1160 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1161 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
* _resultobj
;
1165 PyObject
* _argo0
= 0;
1166 char *_kwnames
[] = { "self", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 _result
= (int )wxListItem_GetColumn(_arg0
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1184 } _resultobj
= Py_BuildValue("i",_result
);
1188 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1189 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1193 PyObject
* _argo0
= 0;
1194 char *_kwnames
[] = { "self", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 _result
= (long )wxListItem_GetState(_arg0
);
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) return NULL
;
1212 } _resultobj
= Py_BuildValue("l",_result
);
1216 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1217 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1221 PyObject
* _argo0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1237 _result
= (wxString
*) &_result_ref
;
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) return NULL
;
1242 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1247 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1248 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
* _resultobj
;
1252 PyObject
* _argo0
= 0;
1253 char *_kwnames
[] = { "self", NULL
};
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 _result
= (int )wxListItem_GetImage(_arg0
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) return NULL
;
1271 } _resultobj
= Py_BuildValue("i",_result
);
1275 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1276 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1280 PyObject
* _argo0
= 0;
1281 char *_kwnames
[] = { "self", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 _result
= (long )wxListItem_GetData(_arg0
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) return NULL
;
1299 } _resultobj
= Py_BuildValue("l",_result
);
1303 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1304 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1308 PyObject
* _argo0
= 0;
1309 char *_kwnames
[] = { "self", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1323 _result
= (int )wxListItem_GetWidth(_arg0
);
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) return NULL
;
1327 } _resultobj
= Py_BuildValue("i",_result
);
1331 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1332 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1334 wxListColumnFormat _result
;
1336 PyObject
* _argo0
= 0;
1337 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1351 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1353 wxPyEndAllowThreads(__tstate
);
1354 if (PyErr_Occurred()) return NULL
;
1355 } _resultobj
= Py_BuildValue("i",_result
);
1359 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1360 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1362 wxListItemAttr
* _result
;
1364 PyObject
* _argo0
= 0;
1365 char *_kwnames
[] = { "self", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) return NULL
;
1385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1386 _resultobj
= Py_BuildValue("s",_ptemp
);
1389 _resultobj
= Py_None
;
1394 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1395 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1416 wxPyEndAllowThreads(__tstate
);
1417 if (PyErr_Occurred()) return NULL
;
1418 } _resultobj
= Py_BuildValue("i",_result
);
1422 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1423 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1427 PyObject
* _argo0
= 0;
1428 char *_kwnames
[] = { "self", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) return NULL
;
1447 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1448 _resultobj
= Py_BuildValue("s",_ptemp
);
1452 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1453 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1457 PyObject
* _argo0
= 0;
1458 char *_kwnames
[] = { "self", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) return NULL
;
1477 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1478 _resultobj
= Py_BuildValue("s",_ptemp
);
1482 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1483 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1487 PyObject
* _argo0
= 0;
1488 char *_kwnames
[] = { "self", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) return NULL
;
1507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1512 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1513 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self","m_mask", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } _resultobj
= Py_BuildValue("l",_result
);
1541 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1542 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= (long )wxListItem_m_mask_get(_arg0
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 } _resultobj
= Py_BuildValue("l",_result
);
1569 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1570 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self","m_itemId", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) return NULL
;
1594 } _resultobj
= Py_BuildValue("l",_result
);
1598 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1599 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1603 PyObject
* _argo0
= 0;
1604 char *_kwnames
[] = { "self", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1622 } _resultobj
= Py_BuildValue("l",_result
);
1626 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1627 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self","m_col", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) return NULL
;
1651 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1656 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (int )wxListItem_m_col_get(_arg0
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1684 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1689 PyObject
* _argo0
= 0;
1690 char *_kwnames
[] = { "self","m_state", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) return NULL
;
1708 } _resultobj
= Py_BuildValue("l",_result
);
1712 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1713 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1717 PyObject
* _argo0
= 0;
1718 char *_kwnames
[] = { "self", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 _result
= (long )wxListItem_m_state_get(_arg0
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1736 } _resultobj
= Py_BuildValue("l",_result
);
1740 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1741 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) return NULL
;
1765 } _resultobj
= Py_BuildValue("l",_result
);
1769 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1770 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } _resultobj
= Py_BuildValue("l",_result
);
1797 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1798 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1803 PyObject
* _argo0
= 0;
1804 PyObject
* _obj1
= 0;
1805 char *_kwnames
[] = { "self","m_text", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1818 #if PYTHON_API_VERSION >= 1009
1819 char* tmpPtr
; int tmpSize
;
1820 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1821 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1824 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1826 _arg1
= new wxString(tmpPtr
, tmpSize
);
1828 if (!PyString_Check(_obj1
)) {
1829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1832 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) return NULL
;
1842 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1851 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1852 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) return NULL
;
1876 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1881 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1882 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1887 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self","m_image", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) return NULL
;
1906 } _resultobj
= Py_BuildValue("i",_result
);
1910 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1911 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1915 PyObject
* _argo0
= 0;
1916 char *_kwnames
[] = { "self", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 _result
= (int )wxListItem_m_image_get(_arg0
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) return NULL
;
1934 } _resultobj
= Py_BuildValue("i",_result
);
1938 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1939 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1944 PyObject
* _argo0
= 0;
1945 char *_kwnames
[] = { "self","m_data", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) return NULL
;
1963 } _resultobj
= Py_BuildValue("l",_result
);
1967 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1968 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 _result
= (long )wxListItem_m_data_get(_arg0
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1991 } _resultobj
= Py_BuildValue("l",_result
);
1995 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1996 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self","m_format", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } _resultobj
= Py_BuildValue("i",_result
);
2024 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2025 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2029 PyObject
* _argo0
= 0;
2030 char *_kwnames
[] = { "self", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= (int )wxListItem_m_format_get(_arg0
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2052 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2053 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self","m_width", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2082 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2086 PyObject
* _argo0
= 0;
2087 char *_kwnames
[] = { "self", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= (int )wxListItem_m_width_get(_arg0
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 } _resultobj
= Py_BuildValue("i",_result
);
2109 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2111 wxNotifyEvent
*dest
;
2112 src
= (wxListEvent
*) ptr
;
2113 dest
= (wxNotifyEvent
*) src
;
2114 return (void *) dest
;
2117 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2119 wxCommandEvent
*dest
;
2120 src
= (wxListEvent
*) ptr
;
2121 dest
= (wxCommandEvent
*) src
;
2122 return (void *) dest
;
2125 static void *SwigwxListEventTowxEvent(void *ptr
) {
2128 src
= (wxListEvent
*) ptr
;
2129 dest
= (wxEvent
*) src
;
2130 return (void *) dest
;
2133 static void *SwigwxListEventTowxObject(void *ptr
) {
2136 src
= (wxListEvent
*) ptr
;
2137 dest
= (wxObject
*) src
;
2138 return (void *) dest
;
2141 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2142 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2144 wxListEvent
* _result
;
2145 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2146 int _arg1
= (int ) 0;
2147 char *_kwnames
[] = { "commandType","id", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) return NULL
;
2160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2161 _resultobj
= Py_BuildValue("s",_ptemp
);
2164 _resultobj
= Py_None
;
2169 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2170 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2173 wxListEvent
* _arg0
;
2175 PyObject
* _argo0
= 0;
2176 char *_kwnames
[] = { "self","m_code", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) return NULL
;
2194 } _resultobj
= Py_BuildValue("i",_result
);
2198 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2199 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2202 wxListEvent
* _arg0
;
2203 PyObject
* _argo0
= 0;
2204 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 _result
= (int )wxListEvent_m_code_get(_arg0
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) return NULL
;
2222 } _resultobj
= Py_BuildValue("i",_result
);
2226 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2227 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2230 wxListEvent
* _arg0
;
2232 PyObject
* _argo0
= 0;
2233 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) return NULL
;
2251 } _resultobj
= Py_BuildValue("l",_result
);
2255 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2256 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
* _resultobj
;
2259 wxListEvent
* _arg0
;
2260 PyObject
* _argo0
= 0;
2261 char *_kwnames
[] = { "self", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) return NULL
;
2279 } _resultobj
= Py_BuildValue("l",_result
);
2283 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2284 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2287 wxListEvent
* _arg0
;
2289 PyObject
* _argo0
= 0;
2290 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } _resultobj
= Py_BuildValue("l",_result
);
2312 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2313 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2316 wxListEvent
* _arg0
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2336 } _resultobj
= Py_BuildValue("l",_result
);
2340 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2341 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2344 wxListEvent
* _arg0
;
2346 PyObject
* _argo0
= 0;
2347 char *_kwnames
[] = { "self","m_col", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) return NULL
;
2365 } _resultobj
= Py_BuildValue("i",_result
);
2369 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2370 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2373 wxListEvent
* _arg0
;
2374 PyObject
* _argo0
= 0;
2375 char *_kwnames
[] = { "self", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 _result
= (int )wxListEvent_m_col_get(_arg0
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) return NULL
;
2393 } _resultobj
= Py_BuildValue("i",_result
);
2397 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2398 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2401 wxListEvent
* _arg0
;
2403 PyObject
* _argo0
= 0;
2405 PyObject
* _obj1
= 0;
2406 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2421 if (! wxPoint_helper(_obj1
, &_arg1
))
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) return NULL
;
2431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2432 _resultobj
= Py_BuildValue("s",_ptemp
);
2435 _resultobj
= Py_None
;
2440 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2441 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2444 wxListEvent
* _arg0
;
2445 PyObject
* _argo0
= 0;
2446 char *_kwnames
[] = { "self", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) return NULL
;
2466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2467 _resultobj
= Py_BuildValue("s",_ptemp
);
2470 _resultobj
= Py_None
;
2475 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2476 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2478 wxListItem
* _result
;
2479 wxListEvent
* _arg0
;
2481 PyObject
* _argo0
= 0;
2482 PyObject
* _argo1
= 0;
2483 char *_kwnames
[] = { "self","m_item", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) return NULL
;
2508 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2512 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2513 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2515 wxListItem
* _result
;
2516 wxListEvent
* _arg0
;
2517 PyObject
* _argo0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) return NULL
;
2536 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2540 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2541 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2544 wxListEvent
* _arg0
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 _result
= (int )wxListEvent_GetCode(_arg0
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) return NULL
;
2564 } _resultobj
= Py_BuildValue("i",_result
);
2568 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2569 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2572 wxListEvent
* _arg0
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 _result
= (long )wxListEvent_GetIndex(_arg0
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) return NULL
;
2592 } _resultobj
= Py_BuildValue("l",_result
);
2596 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2597 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
* _resultobj
;
2600 wxListEvent
* _arg0
;
2601 PyObject
* _argo0
= 0;
2602 char *_kwnames
[] = { "self", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 _result
= (int )wxListEvent_GetColumn(_arg0
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) return NULL
;
2620 } _resultobj
= Py_BuildValue("i",_result
);
2624 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2625 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2628 wxListEvent
* _arg0
;
2629 PyObject
* _argo0
= 0;
2630 char *_kwnames
[] = { "self", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2650 _resultobj
= Py_BuildValue("s",_ptemp
);
2654 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2655 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2658 wxListEvent
* _arg0
;
2659 PyObject
* _argo0
= 0;
2660 char *_kwnames
[] = { "self", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2675 _result
= (wxString
*) &_result_ref
;
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) return NULL
;
2680 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2685 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2686 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2689 wxListEvent
* _arg0
;
2690 PyObject
* _argo0
= 0;
2691 char *_kwnames
[] = { "self", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2706 _result
= (wxString
*) &_result_ref
;
2708 wxPyEndAllowThreads(__tstate
);
2709 if (PyErr_Occurred()) return NULL
;
2711 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2716 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2717 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2720 wxListEvent
* _arg0
;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 _result
= (int )wxListEvent_GetImage(_arg0
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) return NULL
;
2740 } _resultobj
= Py_BuildValue("i",_result
);
2744 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2745 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
* _resultobj
;
2748 wxListEvent
* _arg0
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 _result
= (long )wxListEvent_GetData(_arg0
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2768 } _resultobj
= Py_BuildValue("l",_result
);
2772 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2773 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2776 wxListEvent
* _arg0
;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (long )wxListEvent_GetMask(_arg0
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2796 } _resultobj
= Py_BuildValue("l",_result
);
2800 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2801 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2803 wxListItem
* _result
;
2804 wxListEvent
* _arg0
;
2805 PyObject
* _argo0
= 0;
2806 char *_kwnames
[] = { "self", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2821 _result
= (wxListItem
*) &_result_ref
;
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2829 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2830 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2833 wxListEvent
* _arg0
;
2834 PyObject
* _argo0
= 0;
2835 char *_kwnames
[] = { "self", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2853 } _resultobj
= Py_BuildValue("l",_result
);
2857 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2858 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2861 wxListEvent
* _arg0
;
2862 PyObject
* _argo0
= 0;
2863 char *_kwnames
[] = { "self", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) return NULL
;
2881 } _resultobj
= Py_BuildValue("l",_result
);
2885 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2888 src
= (wxPyListCtrl
*) ptr
;
2889 dest
= (wxControl
*) src
;
2890 return (void *) dest
;
2893 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2896 src
= (wxPyListCtrl
*) ptr
;
2897 dest
= (wxWindow
*) src
;
2898 return (void *) dest
;
2901 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2904 src
= (wxPyListCtrl
*) ptr
;
2905 dest
= (wxEvtHandler
*) src
;
2906 return (void *) dest
;
2909 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2912 src
= (wxPyListCtrl
*) ptr
;
2913 dest
= (wxObject
*) src
;
2914 return (void *) dest
;
2917 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2918 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxPyListCtrl
* _result
;
2922 wxWindowID _arg1
= (wxWindowID
) -1;
2923 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2924 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2925 long _arg4
= (long ) (wxLC_ICON
);
2926 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2927 char * _arg6
= (char *) "listCtrl";
2928 PyObject
* _argo0
= 0;
2930 PyObject
* _obj2
= 0;
2932 PyObject
* _obj3
= 0;
2933 PyObject
* _argo5
= 0;
2934 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2950 if (! wxPoint_helper(_obj2
, &_arg2
))
2956 if (! wxSize_helper(_obj3
, &_arg3
))
2960 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2974 _resultobj
= Py_BuildValue("s",_ptemp
);
2977 _resultobj
= Py_None
;
2982 #define new_wxPreListCtrl() (new wxPyListCtrl())
2983 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2985 wxPyListCtrl
* _result
;
2986 char *_kwnames
[] = { NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) return NULL
;
2999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3000 _resultobj
= Py_BuildValue("s",_ptemp
);
3003 _resultobj
= Py_None
;
3008 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3009 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3012 wxPyListCtrl
* _arg0
;
3014 wxWindowID _arg2
= (wxWindowID
) -1;
3015 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3016 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3017 long _arg5
= (long ) (wxLC_ICON
);
3018 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3019 char * _arg7
= (char *) "listCtrl";
3020 PyObject
* _argo0
= 0;
3021 PyObject
* _argo1
= 0;
3023 PyObject
* _obj3
= 0;
3025 PyObject
* _obj4
= 0;
3026 PyObject
* _argo6
= 0;
3027 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3040 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3041 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3049 if (! wxPoint_helper(_obj3
, &_arg3
))
3055 if (! wxSize_helper(_obj4
, &_arg4
))
3059 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3076 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3078 wxPyListCtrl
* _arg0
;
3081 PyObject
* _argo0
= 0;
3082 PyObject
* _obj1
= 0;
3083 PyObject
* _obj2
= 0;
3084 char *_kwnames
[] = { "self","self","_class", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3113 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3114 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3117 wxPyListCtrl
* _arg0
;
3119 PyObject
* _argo0
= 0;
3121 PyObject
* _obj1
= 0;
3122 char *_kwnames
[] = { "self","col", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3136 if (! wxColour_helper(_obj1
, &_arg1
))
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) return NULL
;
3145 } _resultobj
= Py_BuildValue("i",_result
);
3149 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3150 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3153 wxPyListCtrl
* _arg0
;
3155 PyObject
* _argo0
= 0;
3157 PyObject
* _obj1
= 0;
3158 char *_kwnames
[] = { "self","col", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3172 if (! wxColour_helper(_obj1
, &_arg1
))
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3181 } _resultobj
= Py_BuildValue("i",_result
);
3185 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3186 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3189 wxPyListCtrl
* _arg0
;
3192 PyObject
* _argo0
= 0;
3193 PyObject
* _argo2
= 0;
3194 char *_kwnames
[] = { "self","col","item", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3207 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) return NULL
;
3219 } _resultobj
= Py_BuildValue("i",_result
);
3223 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3224 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3227 wxPyListCtrl
* _arg0
;
3230 PyObject
* _argo0
= 0;
3231 PyObject
* _argo2
= 0;
3232 char *_kwnames
[] = { "self","col","item", NULL
};
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3245 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) return NULL
;
3257 } _resultobj
= Py_BuildValue("i",_result
);
3261 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3262 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3265 wxPyListCtrl
* _arg0
;
3267 PyObject
* _argo0
= 0;
3268 char *_kwnames
[] = { "self","col", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) return NULL
;
3286 } _resultobj
= Py_BuildValue("i",_result
);
3290 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3291 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
* _resultobj
;
3294 wxPyListCtrl
* _arg0
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "self","col","width", NULL
};
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) return NULL
;
3316 } _resultobj
= Py_BuildValue("i",_result
);
3320 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3321 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3324 wxPyListCtrl
* _arg0
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3344 } _resultobj
= Py_BuildValue("i",_result
);
3348 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3349 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3351 wxTextCtrl
* _result
;
3352 wxPyListCtrl
* _arg0
;
3353 PyObject
* _argo0
= 0;
3354 char *_kwnames
[] = { "self", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) return NULL
;
3372 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3376 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3377 wxListItem
* info
= new wxListItem
;
3378 info
->m_itemId
= itemId
;
3380 info
->m_mask
= 0xFFFF;
3381 self
->GetItem(*info
);
3384 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3386 wxListItem
* _result
;
3387 wxPyListCtrl
* _arg0
;
3389 int _arg2
= (int ) 0;
3390 PyObject
* _argo0
= 0;
3391 char *_kwnames
[] = { "self","itemId","col", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) return NULL
;
3409 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3413 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3414 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3417 wxPyListCtrl
* _arg0
;
3419 PyObject
* _argo0
= 0;
3420 PyObject
* _argo1
= 0;
3421 char *_kwnames
[] = { "self","info", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) return NULL
;
3446 } _resultobj
= Py_BuildValue("i",_result
);
3450 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3451 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3454 wxPyListCtrl
* _arg0
;
3458 int _arg4
= (int ) -1;
3459 PyObject
* _argo0
= 0;
3460 PyObject
* _obj3
= 0;
3461 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3474 #if PYTHON_API_VERSION >= 1009
3475 char* tmpPtr
; int tmpSize
;
3476 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3477 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3480 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3482 _arg3
= new wxString(tmpPtr
, tmpSize
);
3484 if (!PyString_Check(_obj3
)) {
3485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3488 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3497 } _resultobj
= Py_BuildValue("l",_result
);
3505 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3506 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3509 wxPyListCtrl
* _arg0
;
3512 PyObject
* _argo0
= 0;
3513 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) return NULL
;
3531 } _resultobj
= Py_BuildValue("i",_result
);
3535 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3536 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 wxPyListCtrl
* _arg0
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } _resultobj
= Py_BuildValue("i",_result
);
3566 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3567 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3570 wxPyListCtrl
* _arg0
;
3574 PyObject
* _argo0
= 0;
3575 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) return NULL
;
3593 } _resultobj
= Py_BuildValue("i",_result
);
3597 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3598 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
* _resultobj
;
3601 wxPyListCtrl
* _arg0
;
3603 PyObject
* _argo0
= 0;
3604 char *_kwnames
[] = { "self","item", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) return NULL
;
3623 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3631 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3632 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3634 wxPyListCtrl
* _arg0
;
3637 PyObject
* _argo0
= 0;
3638 PyObject
* _obj2
= 0;
3639 char *_kwnames
[] = { "self","item","str", NULL
};
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3652 #if PYTHON_API_VERSION >= 1009
3653 char* tmpPtr
; int tmpSize
;
3654 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3658 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3660 _arg2
= new wxString(tmpPtr
, tmpSize
);
3662 if (!PyString_Check(_obj2
)) {
3663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3666 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) return NULL
;
3675 } Py_INCREF(Py_None
);
3676 _resultobj
= Py_None
;
3684 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3685 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3688 wxPyListCtrl
* _arg0
;
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self","item", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) return NULL
;
3709 } _resultobj
= Py_BuildValue("l",_result
);
3713 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3714 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3717 wxPyListCtrl
* _arg0
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self","item","data", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) return NULL
;
3739 } _resultobj
= Py_BuildValue("i",_result
);
3743 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3744 wxPoint
* pos
= new wxPoint
;
3745 self
->GetItemPosition(item
, *pos
);
3748 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
* _resultobj
;
3751 wxPyListCtrl
* _arg0
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self","item", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) return NULL
;
3774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3775 _resultobj
= Py_BuildValue("s",_ptemp
);
3778 _resultobj
= Py_None
;
3783 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3784 wxRect
* rect
= new wxRect
;
3785 self
->GetItemRect(item
, *rect
, code
);
3788 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3791 wxPyListCtrl
* _arg0
;
3793 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3794 PyObject
* _argo0
= 0;
3795 char *_kwnames
[] = { "self","item","code", NULL
};
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) return NULL
;
3815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3816 _resultobj
= Py_BuildValue("s",_ptemp
);
3819 _resultobj
= Py_None
;
3824 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3825 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3828 wxPyListCtrl
* _arg0
;
3831 PyObject
* _argo0
= 0;
3833 PyObject
* _obj2
= 0;
3834 char *_kwnames
[] = { "self","item","pos", NULL
};
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3848 if (! wxPoint_helper(_obj2
, &_arg2
))
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) return NULL
;
3857 } _resultobj
= Py_BuildValue("i",_result
);
3861 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3862 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3865 wxPyListCtrl
* _arg0
;
3866 PyObject
* _argo0
= 0;
3867 char *_kwnames
[] = { "self", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3885 } _resultobj
= Py_BuildValue("i",_result
);
3889 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3890 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3893 wxPyListCtrl
* _arg0
;
3894 PyObject
* _argo0
= 0;
3895 char *_kwnames
[] = { "self", NULL
};
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) return NULL
;
3913 } _resultobj
= Py_BuildValue("i",_result
);
3917 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3918 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3921 wxPyListCtrl
* _arg0
;
3923 PyObject
* _argo0
= 0;
3925 char *_kwnames
[] = { "self","isSmall", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3937 _arg1
= (bool ) tempbool1
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) return NULL
;
3944 } _resultobj
= Py_BuildValue("i",_result
);
3948 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3949 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3952 wxPyListCtrl
* _arg0
;
3953 PyObject
* _argo0
= 0;
3954 char *_kwnames
[] = { "self", NULL
};
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3972 } _resultobj
= Py_BuildValue("i",_result
);
3976 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3977 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
* _resultobj
;
3980 wxPyListCtrl
* _arg0
;
3981 PyObject
* _argo0
= 0;
3982 char *_kwnames
[] = { "self", NULL
};
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) return NULL
;
4001 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4002 _resultobj
= Py_BuildValue("s",_ptemp
);
4006 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4007 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
* _resultobj
;
4009 wxPyListCtrl
* _arg0
;
4011 PyObject
* _argo0
= 0;
4013 PyObject
* _obj1
= 0;
4014 char *_kwnames
[] = { "self","col", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4028 if (! wxColour_helper(_obj1
, &_arg1
))
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) return NULL
;
4037 } Py_INCREF(Py_None
);
4038 _resultobj
= Py_None
;
4042 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4043 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4046 wxPyListCtrl
* _arg0
;
4047 PyObject
* _argo0
= 0;
4048 char *_kwnames
[] = { "self", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) return NULL
;
4066 } _resultobj
= Py_BuildValue("l",_result
);
4070 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4071 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
* _resultobj
;
4073 wxPyListCtrl
* _arg0
;
4075 bool _arg2
= (bool ) TRUE
;
4076 PyObject
* _argo0
= 0;
4077 int tempbool2
= (int) TRUE
;
4078 char *_kwnames
[] = { "self","style","add", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4090 _arg2
= (bool ) tempbool2
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) return NULL
;
4097 } Py_INCREF(Py_None
);
4098 _resultobj
= Py_None
;
4102 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4103 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4105 wxPyListCtrl
* _arg0
;
4107 PyObject
* _argo0
= 0;
4108 char *_kwnames
[] = { "self","style", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) return NULL
;
4126 } Py_INCREF(Py_None
);
4127 _resultobj
= Py_None
;
4131 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4132 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4135 wxPyListCtrl
* _arg0
;
4137 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4138 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4139 PyObject
* _argo0
= 0;
4140 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) return NULL
;
4158 } _resultobj
= Py_BuildValue("l",_result
);
4162 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4163 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4165 wxImageList
* _result
;
4166 wxPyListCtrl
* _arg0
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "self","which", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) return NULL
;
4187 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4191 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4192 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4194 wxPyListCtrl
* _arg0
;
4195 wxImageList
* _arg1
;
4197 PyObject
* _argo0
= 0;
4198 PyObject
* _argo1
= 0;
4199 char *_kwnames
[] = { "self","imageList","which", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) return NULL
;
4224 } Py_INCREF(Py_None
);
4225 _resultobj
= Py_None
;
4229 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4230 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
* _resultobj
;
4232 wxPyListCtrl
* _arg0
;
4233 wxImageList
* _arg1
;
4235 PyObject
* _argo0
= 0;
4236 PyObject
* _argo1
= 0;
4237 char *_kwnames
[] = { "self","imageList","which", NULL
};
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) return NULL
;
4262 } Py_INCREF(Py_None
);
4263 _resultobj
= Py_None
;
4267 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4268 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4271 wxPyListCtrl
* _arg0
;
4272 PyObject
* _argo0
= 0;
4273 char *_kwnames
[] = { "self", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) return NULL
;
4291 } _resultobj
= Py_BuildValue("i",_result
);
4295 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4296 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4298 wxPyListCtrl
* _arg0
;
4300 PyObject
* _argo0
= 0;
4301 char *_kwnames
[] = { "self","item", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) return NULL
;
4319 } Py_INCREF(Py_None
);
4320 _resultobj
= Py_None
;
4324 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4325 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4327 wxPyListCtrl
* _arg0
;
4330 PyObject
* _argo0
= 0;
4331 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) return NULL
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4354 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4355 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4358 wxPyListCtrl
* _arg0
;
4359 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4360 PyObject
* _argo0
= 0;
4361 char *_kwnames
[] = { "self","flag", NULL
};
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) return NULL
;
4379 } _resultobj
= Py_BuildValue("i",_result
);
4383 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4384 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4387 wxPyListCtrl
* _arg0
;
4389 PyObject
* _argo0
= 0;
4390 char *_kwnames
[] = { "self","item", NULL
};
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) return NULL
;
4408 } _resultobj
= Py_BuildValue("i",_result
);
4412 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4413 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4416 wxPyListCtrl
* _arg0
;
4417 PyObject
* _argo0
= 0;
4418 char *_kwnames
[] = { "self", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) return NULL
;
4436 } _resultobj
= Py_BuildValue("i",_result
);
4440 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4441 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4444 wxPyListCtrl
* _arg0
;
4446 PyObject
* _argo0
= 0;
4447 char *_kwnames
[] = { "self","col", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) return NULL
;
4465 } _resultobj
= Py_BuildValue("i",_result
);
4469 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4470 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
* _resultobj
;
4473 wxPyListCtrl
* _arg0
;
4474 PyObject
* _argo0
= 0;
4475 char *_kwnames
[] = { "self", NULL
};
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) return NULL
;
4493 } _resultobj
= Py_BuildValue("i",_result
);
4497 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4498 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
* _resultobj
;
4500 wxPyListCtrl
* _arg0
;
4501 PyObject
* _argo0
= 0;
4502 char *_kwnames
[] = { "self", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 wxListCtrl_ClearAll(_arg0
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) return NULL
;
4520 } Py_INCREF(Py_None
);
4521 _resultobj
= Py_None
;
4525 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4526 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4528 wxTextCtrl
* _result
;
4529 wxPyListCtrl
* _arg0
;
4531 PyObject
* _argo0
= 0;
4532 char *_kwnames
[] = { "self","item", NULL
};
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) return NULL
;
4550 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4554 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4555 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4558 wxPyListCtrl
* _arg0
;
4560 PyObject
* _argo0
= 0;
4562 char *_kwnames
[] = { "self","cancel", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4574 _arg1
= (bool ) tempbool1
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) return NULL
;
4581 } _resultobj
= Py_BuildValue("i",_result
);
4585 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4586 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
* _resultobj
;
4589 wxPyListCtrl
* _arg0
;
4591 PyObject
* _argo0
= 0;
4592 char *_kwnames
[] = { "self","item", NULL
};
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) return NULL
;
4610 } _resultobj
= Py_BuildValue("i",_result
);
4614 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4615 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4618 wxPyListCtrl
* _arg0
;
4621 bool _arg3
= (bool ) FALSE
;
4622 PyObject
* _argo0
= 0;
4623 PyObject
* _obj2
= 0;
4624 int tempbool3
= (int) FALSE
;
4625 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4638 #if PYTHON_API_VERSION >= 1009
4639 char* tmpPtr
; int tmpSize
;
4640 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4641 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4644 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4646 _arg2
= new wxString(tmpPtr
, tmpSize
);
4648 if (!PyString_Check(_obj2
)) {
4649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4652 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4655 _arg3
= (bool ) tempbool3
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) return NULL
;
4662 } _resultobj
= Py_BuildValue("l",_result
);
4670 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4671 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4674 wxPyListCtrl
* _arg0
;
4677 PyObject
* _argo0
= 0;
4678 char *_kwnames
[] = { "self","start","data", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4696 } _resultobj
= Py_BuildValue("l",_result
);
4700 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4701 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
* _resultobj
;
4704 wxPyListCtrl
* _arg0
;
4708 PyObject
* _argo0
= 0;
4710 PyObject
* _obj2
= 0;
4711 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4725 if (! wxPoint_helper(_obj2
, &_arg2
))
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) return NULL
;
4734 } _resultobj
= Py_BuildValue("l",_result
);
4738 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4739 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4742 wxPyListCtrl
* _arg0
;
4746 PyObject
* _argo0
= 0;
4748 PyObject
* _obj1
= 0;
4749 char *_kwnames
[] = { "self","point", NULL
};
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4766 if (! wxPoint_helper(_obj1
, &_arg1
))
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) return NULL
;
4775 } _resultobj
= Py_BuildValue("l",_result
);
4778 o
= PyInt_FromLong((long) (*_arg2
));
4779 _resultobj
= t_output_helper(_resultobj
, o
);
4784 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4785 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
* _resultobj
;
4788 wxPyListCtrl
* _arg0
;
4790 PyObject
* _argo0
= 0;
4791 PyObject
* _argo1
= 0;
4792 char *_kwnames
[] = { "self","info", NULL
};
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4805 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) return NULL
;
4817 } _resultobj
= Py_BuildValue("l",_result
);
4821 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4822 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4825 wxPyListCtrl
* _arg0
;
4828 PyObject
* _argo0
= 0;
4829 PyObject
* _obj2
= 0;
4830 char *_kwnames
[] = { "self","index","label", NULL
};
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4843 #if PYTHON_API_VERSION >= 1009
4844 char* tmpPtr
; int tmpSize
;
4845 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4849 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4851 _arg2
= new wxString(tmpPtr
, tmpSize
);
4853 if (!PyString_Check(_obj2
)) {
4854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4857 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) return NULL
;
4866 } _resultobj
= Py_BuildValue("l",_result
);
4874 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4875 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4878 wxPyListCtrl
* _arg0
;
4881 PyObject
* _argo0
= 0;
4882 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) return NULL
;
4900 } _resultobj
= Py_BuildValue("l",_result
);
4904 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4905 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4908 wxPyListCtrl
* _arg0
;
4912 PyObject
* _argo0
= 0;
4913 PyObject
* _obj2
= 0;
4914 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4927 #if PYTHON_API_VERSION >= 1009
4928 char* tmpPtr
; int tmpSize
;
4929 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4930 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4933 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4935 _arg2
= new wxString(tmpPtr
, tmpSize
);
4937 if (!PyString_Check(_obj2
)) {
4938 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4941 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4950 } _resultobj
= Py_BuildValue("l",_result
);
4958 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4959 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4962 wxPyListCtrl
* _arg0
;
4965 PyObject
* _argo0
= 0;
4966 PyObject
* _argo2
= 0;
4967 char *_kwnames
[] = { "self","col","info", NULL
};
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4980 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4981 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) return NULL
;
4992 } _resultobj
= Py_BuildValue("l",_result
);
4996 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4997 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
* _resultobj
;
5000 wxPyListCtrl
* _arg0
;
5003 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
5004 int _arg4
= (int ) -1;
5005 PyObject
* _argo0
= 0;
5006 PyObject
* _obj2
= 0;
5007 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
5013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
5020 #if PYTHON_API_VERSION >= 1009
5021 char* tmpPtr
; int tmpSize
;
5022 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5026 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5028 _arg2
= new wxString(tmpPtr
, tmpSize
);
5030 if (!PyString_Check(_obj2
)) {
5031 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5034 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) return NULL
;
5043 } _resultobj
= Py_BuildValue("l",_result
);
5051 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5052 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5054 wxPyListCtrl
* _arg0
;
5056 PyObject
* _argo0
= 0;
5057 char *_kwnames
[] = { "self","count", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
5063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) return NULL
;
5075 } Py_INCREF(Py_None
);
5076 _resultobj
= Py_None
;
5080 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5081 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
* _resultobj
;
5084 wxPyListCtrl
* _arg0
;
5087 PyObject
* _argo0
= 0;
5088 char *_kwnames
[] = { "self","dx","dy", NULL
};
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) return NULL
;
5106 } _resultobj
= Py_BuildValue("i",_result
);
5110 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5111 if (!PyCallable_Check(func
))
5113 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5115 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5118 wxPyListCtrl
* _arg0
;
5120 PyObject
* _argo0
= 0;
5121 PyObject
* _obj1
= 0;
5122 char *_kwnames
[] = { "self","func", NULL
};
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) return NULL
;
5143 } _resultobj
= Py_BuildValue("i",_result
);
5147 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5150 src
= (wxListView
*) ptr
;
5151 dest
= (wxPyListCtrl
*) src
;
5152 return (void *) dest
;
5155 static void *SwigwxListViewTowxControl(void *ptr
) {
5158 src
= (wxListView
*) ptr
;
5159 dest
= (wxControl
*) src
;
5160 return (void *) dest
;
5163 static void *SwigwxListViewTowxWindow(void *ptr
) {
5166 src
= (wxListView
*) ptr
;
5167 dest
= (wxWindow
*) src
;
5168 return (void *) dest
;
5171 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5174 src
= (wxListView
*) ptr
;
5175 dest
= (wxEvtHandler
*) src
;
5176 return (void *) dest
;
5179 static void *SwigwxListViewTowxObject(void *ptr
) {
5182 src
= (wxListView
*) ptr
;
5183 dest
= (wxObject
*) src
;
5184 return (void *) dest
;
5187 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5188 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5190 wxListView
* _result
;
5192 wxWindowID _arg1
= (wxWindowID
) -1;
5193 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5194 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5195 long _arg4
= (long ) (wxLC_REPORT
);
5196 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5197 wxString
* _arg6
= (wxString
*) &"listctrl";
5198 PyObject
* _argo0
= 0;
5200 PyObject
* _obj2
= 0;
5202 PyObject
* _obj3
= 0;
5203 PyObject
* _argo5
= 0;
5204 PyObject
* _obj6
= 0;
5205 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5221 if (! wxPoint_helper(_obj2
, &_arg2
))
5227 if (! wxSize_helper(_obj3
, &_arg3
))
5231 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5239 #if PYTHON_API_VERSION >= 1009
5240 char* tmpPtr
; int tmpSize
;
5241 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
5242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5245 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5247 _arg6
= new wxString(tmpPtr
, tmpSize
);
5249 if (!PyString_Check(_obj6
)) {
5250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5253 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) return NULL
;
5263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5264 _resultobj
= Py_BuildValue("s",_ptemp
);
5267 _resultobj
= Py_None
;
5276 #define new_wxPreListView() (new wxListView())
5277 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5279 wxListView
* _result
;
5280 char *_kwnames
[] = { NULL
};
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 _result
= (wxListView
*)new_wxPreListView();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) return NULL
;
5293 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5294 _resultobj
= Py_BuildValue("s",_ptemp
);
5297 _resultobj
= Py_None
;
5302 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5303 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5308 wxWindowID _arg2
= (wxWindowID
) -1;
5309 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5310 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5311 long _arg5
= (long ) (wxLC_REPORT
);
5312 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5313 wxString
* _arg7
= (wxString
*) &"listctrl";
5314 PyObject
* _argo0
= 0;
5315 PyObject
* _argo1
= 0;
5317 PyObject
* _obj3
= 0;
5319 PyObject
* _obj4
= 0;
5320 PyObject
* _argo6
= 0;
5321 PyObject
* _obj7
= 0;
5322 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5344 if (! wxPoint_helper(_obj3
, &_arg3
))
5350 if (! wxSize_helper(_obj4
, &_arg4
))
5354 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5362 #if PYTHON_API_VERSION >= 1009
5363 char* tmpPtr
; int tmpSize
;
5364 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
5365 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5368 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5370 _arg7
= new wxString(tmpPtr
, tmpSize
);
5372 if (!PyString_Check(_obj7
)) {
5373 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5376 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) return NULL
;
5385 } _resultobj
= Py_BuildValue("i",_result
);
5393 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5394 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
* _resultobj
;
5398 bool _arg2
= (bool ) TRUE
;
5399 PyObject
* _argo0
= 0;
5400 int tempbool2
= (int) TRUE
;
5401 char *_kwnames
[] = { "self","n","on", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5413 _arg2
= (bool ) tempbool2
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxListView_Select(_arg0
,_arg1
,_arg2
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5420 } Py_INCREF(Py_None
);
5421 _resultobj
= Py_None
;
5425 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5426 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5430 PyObject
* _argo0
= 0;
5431 char *_kwnames
[] = { "self","index", NULL
};
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 wxListView_Focus(_arg0
,_arg1
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) return NULL
;
5449 } Py_INCREF(Py_None
);
5450 _resultobj
= Py_None
;
5454 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5455 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
* _resultobj
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self", NULL
};
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) return NULL
;
5478 } _resultobj
= Py_BuildValue("l",_result
);
5482 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5483 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5488 PyObject
* _argo0
= 0;
5489 char *_kwnames
[] = { "self","item", NULL
};
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) return NULL
;
5507 } _resultobj
= Py_BuildValue("l",_result
);
5511 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5512 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
* _resultobj
;
5516 PyObject
* _argo0
= 0;
5517 char *_kwnames
[] = { "self", NULL
};
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) return NULL
;
5535 } _resultobj
= Py_BuildValue("l",_result
);
5539 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5540 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
* _resultobj
;
5545 PyObject
* _argo0
= 0;
5546 char *_kwnames
[] = { "self","index", NULL
};
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) return NULL
;
5564 } _resultobj
= Py_BuildValue("i",_result
);
5568 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5569 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5574 PyObject
* _argo0
= 0;
5575 char *_kwnames
[] = { "self","col","image", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) return NULL
;
5593 } Py_INCREF(Py_None
);
5594 _resultobj
= Py_None
;
5598 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5599 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
* _resultobj
;
5603 PyObject
* _argo0
= 0;
5604 char *_kwnames
[] = { "self","col", NULL
};
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 wxListView_ClearColumnImage(_arg0
,_arg1
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) return NULL
;
5622 } Py_INCREF(Py_None
);
5623 _resultobj
= Py_None
;
5627 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5628 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
* _resultobj
;
5630 wxTreeItemAttr
* _result
;
5631 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5632 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5633 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5635 PyObject
* _obj0
= 0;
5637 PyObject
* _obj1
= 0;
5638 PyObject
* _argo2
= 0;
5639 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5648 if (! wxColour_helper(_obj0
, &_arg0
))
5654 if (! wxColour_helper(_obj1
, &_arg1
))
5658 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5659 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) return NULL
;
5671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5672 _resultobj
= Py_BuildValue("s",_ptemp
);
5675 _resultobj
= Py_None
;
5680 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5681 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
* _resultobj
;
5683 wxTreeItemAttr
* _arg0
;
5685 PyObject
* _argo0
= 0;
5687 PyObject
* _obj1
= 0;
5688 char *_kwnames
[] = { "self","colText", NULL
};
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5702 if (! wxColour_helper(_obj1
, &_arg1
))
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) return NULL
;
5711 } Py_INCREF(Py_None
);
5712 _resultobj
= Py_None
;
5716 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5717 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
* _resultobj
;
5719 wxTreeItemAttr
* _arg0
;
5721 PyObject
* _argo0
= 0;
5723 PyObject
* _obj1
= 0;
5724 char *_kwnames
[] = { "self","colBack", NULL
};
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5738 if (! wxColour_helper(_obj1
, &_arg1
))
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) return NULL
;
5747 } Py_INCREF(Py_None
);
5748 _resultobj
= Py_None
;
5752 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5753 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5755 wxTreeItemAttr
* _arg0
;
5757 PyObject
* _argo0
= 0;
5758 PyObject
* _argo1
= 0;
5759 char *_kwnames
[] = { "self","font", NULL
};
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) return NULL
;
5784 } Py_INCREF(Py_None
);
5785 _resultobj
= Py_None
;
5789 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5790 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
* _resultobj
;
5793 wxTreeItemAttr
* _arg0
;
5794 PyObject
* _argo0
= 0;
5795 char *_kwnames
[] = { "self", NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) return NULL
;
5813 } _resultobj
= Py_BuildValue("i",_result
);
5817 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5818 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5821 wxTreeItemAttr
* _arg0
;
5822 PyObject
* _argo0
= 0;
5823 char *_kwnames
[] = { "self", NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) return NULL
;
5841 } _resultobj
= Py_BuildValue("i",_result
);
5845 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5846 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5849 wxTreeItemAttr
* _arg0
;
5850 PyObject
* _argo0
= 0;
5851 char *_kwnames
[] = { "self", NULL
};
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) return NULL
;
5869 } _resultobj
= Py_BuildValue("i",_result
);
5873 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5874 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
* _resultobj
;
5877 wxTreeItemAttr
* _arg0
;
5878 PyObject
* _argo0
= 0;
5879 char *_kwnames
[] = { "self", NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) return NULL
;
5898 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5899 _resultobj
= Py_BuildValue("s",_ptemp
);
5903 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5904 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
* _resultobj
;
5907 wxTreeItemAttr
* _arg0
;
5908 PyObject
* _argo0
= 0;
5909 char *_kwnames
[] = { "self", NULL
};
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) return NULL
;
5928 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5929 _resultobj
= Py_BuildValue("s",_ptemp
);
5933 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5934 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
* _resultobj
;
5937 wxTreeItemAttr
* _arg0
;
5938 PyObject
* _argo0
= 0;
5939 char *_kwnames
[] = { "self", NULL
};
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) return NULL
;
5958 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5959 _resultobj
= Py_BuildValue("s",_ptemp
);
5963 #define new_wxTreeItemId() (new wxTreeItemId())
5964 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
* _resultobj
;
5966 wxTreeItemId
* _result
;
5967 char *_kwnames
[] = { NULL
};
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) return NULL
;
5980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5981 _resultobj
= Py_BuildValue("s",_ptemp
);
5984 _resultobj
= Py_None
;
5989 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5990 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
* _resultobj
;
5992 wxTreeItemId
* _arg0
;
5993 PyObject
* _argo0
= 0;
5994 char *_kwnames
[] = { "self", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 delete_wxTreeItemId(_arg0
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) return NULL
;
6012 } Py_INCREF(Py_None
);
6013 _resultobj
= Py_None
;
6017 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
6018 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6021 wxTreeItemId
* _arg0
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) return NULL
;
6041 } _resultobj
= Py_BuildValue("i",_result
);
6045 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
6046 if (! other
) return -1;
6047 return *self
!= *other
;
6049 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
* _resultobj
;
6052 wxTreeItemId
* _arg0
;
6053 wxTreeItemId
* _arg1
;
6054 PyObject
* _argo0
= 0;
6055 PyObject
* _argo1
= 0;
6056 char *_kwnames
[] = { "self","other", NULL
};
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
6062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) return NULL
;
6081 } _resultobj
= Py_BuildValue("i",_result
);
6085 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
6086 wxPyTreeItemData
*src
;
6088 src
= (wxPyTreeItemData
*) ptr
;
6089 dest
= (wxObject
*) src
;
6090 return (void *) dest
;
6093 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6094 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6096 wxPyTreeItemData
* _result
;
6097 PyObject
* _arg0
= (PyObject
*) NULL
;
6098 PyObject
* _obj0
= 0;
6099 char *_kwnames
[] = { "obj", NULL
};
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) return NULL
;
6116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6117 _resultobj
= Py_BuildValue("s",_ptemp
);
6120 _resultobj
= Py_None
;
6125 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6126 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
* _resultobj
;
6129 wxPyTreeItemData
* _arg0
;
6130 PyObject
* _argo0
= 0;
6131 char *_kwnames
[] = { "self", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) return NULL
;
6150 _resultobj
= _result
;
6155 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6156 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
* _resultobj
;
6158 wxPyTreeItemData
* _arg0
;
6160 PyObject
* _argo0
= 0;
6161 PyObject
* _obj1
= 0;
6162 char *_kwnames
[] = { "self","obj", NULL
};
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 wxTreeItemData_SetData(_arg0
,_arg1
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) return NULL
;
6183 } Py_INCREF(Py_None
);
6184 _resultobj
= Py_None
;
6188 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6189 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6191 wxTreeItemId
* _result
;
6192 wxPyTreeItemData
* _arg0
;
6193 PyObject
* _argo0
= 0;
6194 char *_kwnames
[] = { "self", NULL
};
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6210 _result
= (wxTreeItemId
*) &_result_ref
;
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) return NULL
;
6215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6216 _resultobj
= Py_BuildValue("s",_ptemp
);
6219 _resultobj
= Py_None
;
6224 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6225 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
* _resultobj
;
6227 wxPyTreeItemData
* _arg0
;
6228 wxTreeItemId
* _arg1
;
6229 PyObject
* _argo0
= 0;
6230 PyObject
* _argo1
= 0;
6231 char *_kwnames
[] = { "self","id", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 wxTreeItemData_SetId(_arg0
,*_arg1
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) return NULL
;
6256 } Py_INCREF(Py_None
);
6257 _resultobj
= Py_None
;
6261 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6263 wxNotifyEvent
*dest
;
6264 src
= (wxTreeEvent
*) ptr
;
6265 dest
= (wxNotifyEvent
*) src
;
6266 return (void *) dest
;
6269 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6271 wxCommandEvent
*dest
;
6272 src
= (wxTreeEvent
*) ptr
;
6273 dest
= (wxCommandEvent
*) src
;
6274 return (void *) dest
;
6277 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6280 src
= (wxTreeEvent
*) ptr
;
6281 dest
= (wxEvent
*) src
;
6282 return (void *) dest
;
6285 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6288 src
= (wxTreeEvent
*) ptr
;
6289 dest
= (wxObject
*) src
;
6290 return (void *) dest
;
6293 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6294 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
* _resultobj
;
6296 wxTreeEvent
* _result
;
6297 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6298 int _arg1
= (int ) 0;
6299 char *_kwnames
[] = { "commandType","id", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) return NULL
;
6312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6313 _resultobj
= Py_BuildValue("s",_ptemp
);
6316 _resultobj
= Py_None
;
6321 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6322 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
* _resultobj
;
6324 wxTreeItemId
* _result
;
6325 wxTreeEvent
* _arg0
;
6326 PyObject
* _argo0
= 0;
6327 char *_kwnames
[] = { "self", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) return NULL
;
6346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6347 _resultobj
= Py_BuildValue("s",_ptemp
);
6351 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6352 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
* _resultobj
;
6354 wxTreeItemId
* _result
;
6355 wxTreeEvent
* _arg0
;
6356 PyObject
* _argo0
= 0;
6357 char *_kwnames
[] = { "self", NULL
};
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) return NULL
;
6376 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6377 _resultobj
= Py_BuildValue("s",_ptemp
);
6381 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6382 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
* _resultobj
;
6385 wxTreeEvent
* _arg0
;
6386 PyObject
* _argo0
= 0;
6387 char *_kwnames
[] = { "self", NULL
};
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) return NULL
;
6406 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6407 _resultobj
= Py_BuildValue("s",_ptemp
);
6411 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6412 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
* _resultobj
;
6414 wxKeyEvent
* _result
;
6415 wxTreeEvent
* _arg0
;
6416 PyObject
* _argo0
= 0;
6417 char *_kwnames
[] = { "self", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6433 _result
= (wxKeyEvent
*) &_result_ref
;
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) return NULL
;
6438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6439 _resultobj
= Py_BuildValue("s",_ptemp
);
6442 _resultobj
= Py_None
;
6447 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6448 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6451 wxTreeEvent
* _arg0
;
6452 PyObject
* _argo0
= 0;
6453 char *_kwnames
[] = { "self", NULL
};
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) return NULL
;
6471 } _resultobj
= Py_BuildValue("i",_result
);
6475 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6476 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6479 wxTreeEvent
* _arg0
;
6480 PyObject
* _argo0
= 0;
6481 char *_kwnames
[] = { "self", NULL
};
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6496 _result
= (wxString
*) &_result_ref
;
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) return NULL
;
6501 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6506 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6509 src
= (wxPyTreeCtrl
*) ptr
;
6510 dest
= (wxControl
*) src
;
6511 return (void *) dest
;
6514 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6517 src
= (wxPyTreeCtrl
*) ptr
;
6518 dest
= (wxWindow
*) src
;
6519 return (void *) dest
;
6522 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6525 src
= (wxPyTreeCtrl
*) ptr
;
6526 dest
= (wxEvtHandler
*) src
;
6527 return (void *) dest
;
6530 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6533 src
= (wxPyTreeCtrl
*) ptr
;
6534 dest
= (wxObject
*) src
;
6535 return (void *) dest
;
6538 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6539 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
* _resultobj
;
6541 wxPyTreeCtrl
* _result
;
6543 wxWindowID _arg1
= (wxWindowID
) -1;
6544 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6545 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6546 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6547 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6548 char * _arg6
= (char *) "wxTreeCtrl";
6549 PyObject
* _argo0
= 0;
6551 PyObject
* _obj2
= 0;
6553 PyObject
* _obj3
= 0;
6554 PyObject
* _argo5
= 0;
6555 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6571 if (! wxPoint_helper(_obj2
, &_arg2
))
6577 if (! wxSize_helper(_obj3
, &_arg3
))
6581 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6582 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) return NULL
;
6594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6595 _resultobj
= Py_BuildValue("s",_ptemp
);
6598 _resultobj
= Py_None
;
6603 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6604 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
* _resultobj
;
6606 wxPyTreeCtrl
* _result
;
6607 char *_kwnames
[] = { NULL
};
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) return NULL
;
6620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6621 _resultobj
= Py_BuildValue("s",_ptemp
);
6624 _resultobj
= Py_None
;
6629 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6630 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6633 wxPyTreeCtrl
* _arg0
;
6635 wxWindowID _arg2
= (wxWindowID
) -1;
6636 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6637 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6638 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6639 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6640 char * _arg7
= (char *) "wxTreeCtrl";
6641 PyObject
* _argo0
= 0;
6642 PyObject
* _argo1
= 0;
6644 PyObject
* _obj3
= 0;
6646 PyObject
* _obj4
= 0;
6647 PyObject
* _argo6
= 0;
6648 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6670 if (! wxPoint_helper(_obj3
, &_arg3
))
6676 if (! wxSize_helper(_obj4
, &_arg4
))
6680 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6681 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) return NULL
;
6692 } _resultobj
= Py_BuildValue("i",_result
);
6696 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6697 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6699 wxPyTreeCtrl
* _arg0
;
6702 PyObject
* _argo0
= 0;
6703 PyObject
* _obj1
= 0;
6704 PyObject
* _obj2
= 0;
6705 char *_kwnames
[] = { "self","self","_class", NULL
};
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) return NULL
;
6729 } Py_INCREF(Py_None
);
6730 _resultobj
= Py_None
;
6734 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6735 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
* _resultobj
;
6738 wxPyTreeCtrl
* _arg0
;
6739 PyObject
* _argo0
= 0;
6740 char *_kwnames
[] = { "self", NULL
};
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) return NULL
;
6758 } _resultobj
= Py_BuildValue("i",_result
);
6762 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6763 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6765 unsigned int _result
;
6766 wxPyTreeCtrl
* _arg0
;
6767 PyObject
* _argo0
= 0;
6768 char *_kwnames
[] = { "self", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) return NULL
;
6786 } _resultobj
= Py_BuildValue("i",_result
);
6790 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6791 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
* _resultobj
;
6793 wxPyTreeCtrl
* _arg0
;
6795 PyObject
* _argo0
= 0;
6796 char *_kwnames
[] = { "self","indent", NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) return NULL
;
6814 } Py_INCREF(Py_None
);
6815 _resultobj
= Py_None
;
6819 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6820 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
* _resultobj
;
6822 wxImageList
* _result
;
6823 wxPyTreeCtrl
* _arg0
;
6824 PyObject
* _argo0
= 0;
6825 char *_kwnames
[] = { "self", NULL
};
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) return NULL
;
6843 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6847 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6848 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
* _resultobj
;
6850 wxImageList
* _result
;
6851 wxPyTreeCtrl
* _arg0
;
6852 PyObject
* _argo0
= 0;
6853 char *_kwnames
[] = { "self", NULL
};
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) return NULL
;
6871 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6875 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6876 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
* _resultobj
;
6878 wxPyTreeCtrl
* _arg0
;
6879 wxImageList
* _arg1
;
6880 PyObject
* _argo0
= 0;
6881 PyObject
* _argo1
= 0;
6882 char *_kwnames
[] = { "self","imageList", NULL
};
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6895 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6896 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) return NULL
;
6907 } Py_INCREF(Py_None
);
6908 _resultobj
= Py_None
;
6912 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6913 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
* _resultobj
;
6915 wxPyTreeCtrl
* _arg0
;
6916 wxImageList
* _arg1
;
6917 PyObject
* _argo0
= 0;
6918 PyObject
* _argo1
= 0;
6919 char *_kwnames
[] = { "self","imageList", NULL
};
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6932 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6933 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) return NULL
;
6944 } Py_INCREF(Py_None
);
6945 _resultobj
= Py_None
;
6949 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6950 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
* _resultobj
;
6952 wxPyTreeCtrl
* _arg0
;
6953 wxImageList
* _arg1
;
6954 PyObject
* _argo0
= 0;
6955 PyObject
* _argo1
= 0;
6956 char *_kwnames
[] = { "self","imageList", NULL
};
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6969 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) return NULL
;
6981 } Py_INCREF(Py_None
);
6982 _resultobj
= Py_None
;
6986 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6987 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
* _resultobj
;
6989 wxPyTreeCtrl
* _arg0
;
6990 wxImageList
* _arg1
;
6991 PyObject
* _argo0
= 0;
6992 PyObject
* _argo1
= 0;
6993 char *_kwnames
[] = { "self","imageList", NULL
};
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) return NULL
;
7018 } Py_INCREF(Py_None
);
7019 _resultobj
= Py_None
;
7023 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7024 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
* _resultobj
;
7026 unsigned int _result
;
7027 wxPyTreeCtrl
* _arg0
;
7028 PyObject
* _argo0
= 0;
7029 char *_kwnames
[] = { "self", NULL
};
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
7035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) return NULL
;
7047 } _resultobj
= Py_BuildValue("i",_result
);
7051 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7052 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
* _resultobj
;
7054 wxPyTreeCtrl
* _arg0
;
7056 PyObject
* _argo0
= 0;
7057 char *_kwnames
[] = { "self","spacing", NULL
};
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) return NULL
;
7075 } Py_INCREF(Py_None
);
7076 _resultobj
= Py_None
;
7080 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7081 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
* _resultobj
;
7084 wxPyTreeCtrl
* _arg0
;
7085 wxTreeItemId
* _arg1
;
7086 PyObject
* _argo0
= 0;
7087 PyObject
* _argo1
= 0;
7088 char *_kwnames
[] = { "self","item", NULL
};
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) return NULL
;
7114 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7122 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7123 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
* _resultobj
;
7126 wxPyTreeCtrl
* _arg0
;
7127 wxTreeItemId
* _arg1
;
7128 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7129 PyObject
* _argo0
= 0;
7130 PyObject
* _argo1
= 0;
7131 char *_kwnames
[] = { "self","item","which", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) return NULL
;
7156 } _resultobj
= Py_BuildValue("i",_result
);
7160 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7161 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
* _resultobj
;
7164 wxPyTreeCtrl
* _arg0
;
7165 wxTreeItemId
* _arg1
;
7166 PyObject
* _argo0
= 0;
7167 PyObject
* _argo1
= 0;
7168 char *_kwnames
[] = { "self","item", NULL
};
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) return NULL
;
7193 } _resultobj
= Py_BuildValue("i",_result
);
7197 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7198 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
* _resultobj
;
7200 wxPyTreeCtrl
* _arg0
;
7201 wxTreeItemId
* _arg1
;
7203 PyObject
* _argo0
= 0;
7204 PyObject
* _argo1
= 0;
7205 PyObject
* _obj2
= 0;
7206 char *_kwnames
[] = { "self","item","text", NULL
};
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7226 #if PYTHON_API_VERSION >= 1009
7227 char* tmpPtr
; int tmpSize
;
7228 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7229 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7232 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7234 _arg2
= new wxString(tmpPtr
, tmpSize
);
7236 if (!PyString_Check(_obj2
)) {
7237 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7240 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) return NULL
;
7249 } Py_INCREF(Py_None
);
7250 _resultobj
= Py_None
;
7258 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7259 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
* _resultobj
;
7261 wxPyTreeCtrl
* _arg0
;
7262 wxTreeItemId
* _arg1
;
7264 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7265 PyObject
* _argo0
= 0;
7266 PyObject
* _argo1
= 0;
7267 char *_kwnames
[] = { "self","item","image","which", NULL
};
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) return NULL
;
7292 } Py_INCREF(Py_None
);
7293 _resultobj
= Py_None
;
7297 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7298 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
* _resultobj
;
7300 wxPyTreeCtrl
* _arg0
;
7301 wxTreeItemId
* _arg1
;
7303 PyObject
* _argo0
= 0;
7304 PyObject
* _argo1
= 0;
7305 char *_kwnames
[] = { "self","item","image", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) return NULL
;
7330 } Py_INCREF(Py_None
);
7331 _resultobj
= Py_None
;
7335 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7336 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
* _resultobj
;
7338 wxPyTreeCtrl
* _arg0
;
7339 wxTreeItemId
* _arg1
;
7340 bool _arg2
= (bool ) TRUE
;
7341 PyObject
* _argo0
= 0;
7342 PyObject
* _argo1
= 0;
7343 int tempbool2
= (int) TRUE
;
7344 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7363 _arg2
= (bool ) tempbool2
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) return NULL
;
7370 } Py_INCREF(Py_None
);
7371 _resultobj
= Py_None
;
7375 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7376 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7378 data
= new wxPyTreeItemData();
7379 data
->SetId(item
); // set the id
7380 self
->SetItemData(item
, data
);
7384 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7386 wxPyTreeItemData
* _result
;
7387 wxPyTreeCtrl
* _arg0
;
7388 wxTreeItemId
* _arg1
;
7389 PyObject
* _argo0
= 0;
7390 PyObject
* _argo1
= 0;
7391 char *_kwnames
[] = { "self","item", NULL
};
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7405 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7406 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) return NULL
;
7418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7419 _resultobj
= Py_BuildValue("s",_ptemp
);
7422 _resultobj
= Py_None
;
7427 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7428 data
->SetId(item
); // set the id
7429 self
->SetItemData(item
, data
);
7431 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
* _resultobj
;
7433 wxPyTreeCtrl
* _arg0
;
7434 wxTreeItemId
* _arg1
;
7435 wxPyTreeItemData
* _arg2
;
7436 PyObject
* _argo0
= 0;
7437 PyObject
* _argo1
= 0;
7438 PyObject
* _argo2
= 0;
7439 char *_kwnames
[] = { "self","item","data", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7459 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7460 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) return NULL
;
7471 } Py_INCREF(Py_None
);
7472 _resultobj
= Py_None
;
7476 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7477 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7479 data
= new wxPyTreeItemData();
7480 data
->SetId(item
); // set the id
7481 self
->SetItemData(item
, data
);
7483 return data
->GetData();
7485 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7488 wxPyTreeCtrl
* _arg0
;
7489 wxTreeItemId
* _arg1
;
7490 PyObject
* _argo0
= 0;
7491 PyObject
* _argo1
= 0;
7492 char *_kwnames
[] = { "self","item", NULL
};
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) return NULL
;
7518 _resultobj
= _result
;
7523 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7524 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7526 data
= new wxPyTreeItemData(obj
);
7527 data
->SetId(item
); // set the id
7528 self
->SetItemData(item
, data
);
7532 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7534 wxPyTreeCtrl
* _arg0
;
7535 wxTreeItemId
* _arg1
;
7537 PyObject
* _argo0
= 0;
7538 PyObject
* _argo1
= 0;
7539 PyObject
* _obj2
= 0;
7540 char *_kwnames
[] = { "self","item","obj", NULL
};
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } Py_INCREF(Py_None
);
7569 _resultobj
= Py_None
;
7573 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7574 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
* _resultobj
;
7577 wxPyTreeCtrl
* _arg0
;
7578 wxTreeItemId
* _arg1
;
7579 PyObject
* _argo0
= 0;
7580 PyObject
* _argo1
= 0;
7581 char *_kwnames
[] = { "self","item", NULL
};
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) return NULL
;
7606 } _resultobj
= Py_BuildValue("i",_result
);
7610 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7611 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
* _resultobj
;
7614 wxPyTreeCtrl
* _arg0
;
7615 wxTreeItemId
* _arg1
;
7616 PyObject
* _argo0
= 0;
7617 PyObject
* _argo1
= 0;
7618 char *_kwnames
[] = { "self","item", NULL
};
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) return NULL
;
7643 } _resultobj
= Py_BuildValue("i",_result
);
7647 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7648 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
* _resultobj
;
7651 wxPyTreeCtrl
* _arg0
;
7652 wxTreeItemId
* _arg1
;
7653 PyObject
* _argo0
= 0;
7654 PyObject
* _argo1
= 0;
7655 char *_kwnames
[] = { "self","item", NULL
};
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) return NULL
;
7680 } _resultobj
= Py_BuildValue("i",_result
);
7684 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7685 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
* _resultobj
;
7688 wxPyTreeCtrl
* _arg0
;
7689 wxTreeItemId
* _arg1
;
7690 PyObject
* _argo0
= 0;
7691 PyObject
* _argo1
= 0;
7692 char *_kwnames
[] = { "self","item", NULL
};
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7705 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7706 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) return NULL
;
7717 } _resultobj
= Py_BuildValue("i",_result
);
7721 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7722 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
* _resultobj
;
7724 wxTreeItemId
* _result
;
7725 wxPyTreeCtrl
* _arg0
;
7726 PyObject
* _argo0
= 0;
7727 char *_kwnames
[] = { "self", NULL
};
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) return NULL
;
7746 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7747 _resultobj
= Py_BuildValue("s",_ptemp
);
7751 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7752 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7754 wxTreeItemId
* _result
;
7755 wxPyTreeCtrl
* _arg0
;
7756 PyObject
* _argo0
= 0;
7757 char *_kwnames
[] = { "self", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) return NULL
;
7776 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7777 _resultobj
= Py_BuildValue("s",_ptemp
);
7781 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7782 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
* _resultobj
;
7784 wxTreeItemId
* _result
;
7785 wxPyTreeCtrl
* _arg0
;
7786 wxTreeItemId
* _arg1
;
7787 PyObject
* _argo0
= 0;
7788 PyObject
* _argo1
= 0;
7789 char *_kwnames
[] = { "self","item", NULL
};
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7803 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7804 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) return NULL
;
7815 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7816 _resultobj
= Py_BuildValue("s",_ptemp
);
7820 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7821 wxPyBeginBlockThreads();
7822 PyObject
* rval
= PyList_New(0);
7823 wxArrayTreeItemIds array
;
7825 num
= self
->GetSelections(array
);
7826 for (x
=0; x
< num
; x
++) {
7827 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7828 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7829 PyList_Append(rval
, item
);
7831 wxPyEndBlockThreads();
7834 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
* _resultobj
;
7837 wxPyTreeCtrl
* _arg0
;
7838 PyObject
* _argo0
= 0;
7839 char *_kwnames
[] = { "self", NULL
};
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) return NULL
;
7858 _resultobj
= _result
;
7863 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7864 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
* _resultobj
;
7867 wxPyTreeCtrl
* _arg0
;
7868 wxTreeItemId
* _arg1
;
7869 bool _arg2
= (bool ) TRUE
;
7870 PyObject
* _argo0
= 0;
7871 PyObject
* _argo1
= 0;
7872 int tempbool2
= (int) TRUE
;
7873 char *_kwnames
[] = { "self","item","recursively", NULL
};
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7892 _arg2
= (bool ) tempbool2
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) return NULL
;
7899 } _resultobj
= Py_BuildValue("i",_result
);
7903 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7904 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
* _resultobj
;
7906 wxTreeItemId
* _result
;
7907 wxPyTreeCtrl
* _arg0
;
7908 wxTreeItemId
* _arg1
;
7910 PyObject
* _argo0
= 0;
7911 PyObject
* _argo1
= 0;
7913 PyObject
* _obj2
= 0;
7914 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7935 temp
= (long) PyInt_AsLong(_obj2
);
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) return NULL
;
7944 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7945 _resultobj
= Py_BuildValue("s",_ptemp
);
7948 o
= PyInt_FromLong((long) (*_arg2
));
7949 _resultobj
= t_output_helper(_resultobj
, o
);
7954 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7955 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
* _resultobj
;
7957 wxTreeItemId
* _result
;
7958 wxPyTreeCtrl
* _arg0
;
7959 wxTreeItemId
* _arg1
;
7961 PyObject
* _argo0
= 0;
7962 PyObject
* _argo1
= 0;
7964 PyObject
* _obj2
= 0;
7965 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7979 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7980 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7986 temp
= (long) PyInt_AsLong(_obj2
);
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) return NULL
;
7995 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7996 _resultobj
= Py_BuildValue("s",_ptemp
);
7999 o
= PyInt_FromLong((long) (*_arg2
));
8000 _resultobj
= t_output_helper(_resultobj
, o
);
8005 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8006 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
* _resultobj
;
8008 wxTreeItemId
* _result
;
8009 wxPyTreeCtrl
* _arg0
;
8010 wxTreeItemId
* _arg1
;
8011 PyObject
* _argo0
= 0;
8012 PyObject
* _argo1
= 0;
8013 char *_kwnames
[] = { "self","item", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) return NULL
;
8039 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8040 _resultobj
= Py_BuildValue("s",_ptemp
);
8044 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8045 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
* _resultobj
;
8047 wxTreeItemId
* _result
;
8048 wxPyTreeCtrl
* _arg0
;
8049 wxTreeItemId
* _arg1
;
8050 PyObject
* _argo0
= 0;
8051 PyObject
* _argo1
= 0;
8052 char *_kwnames
[] = { "self","item", NULL
};
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8066 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8067 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) return NULL
;
8078 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8079 _resultobj
= Py_BuildValue("s",_ptemp
);
8083 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8084 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
* _resultobj
;
8086 wxTreeItemId
* _result
;
8087 wxPyTreeCtrl
* _arg0
;
8088 PyObject
* _argo0
= 0;
8089 char *_kwnames
[] = { "self", NULL
};
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) return NULL
;
8108 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8109 _resultobj
= Py_BuildValue("s",_ptemp
);
8113 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8114 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
* _resultobj
;
8116 wxTreeItemId
* _result
;
8117 wxPyTreeCtrl
* _arg0
;
8118 wxTreeItemId
* _arg1
;
8119 PyObject
* _argo0
= 0;
8120 PyObject
* _argo1
= 0;
8121 char *_kwnames
[] = { "self","item", NULL
};
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8135 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8136 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) return NULL
;
8147 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8148 _resultobj
= Py_BuildValue("s",_ptemp
);
8152 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8153 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
* _resultobj
;
8155 wxTreeItemId
* _result
;
8156 wxPyTreeCtrl
* _arg0
;
8157 wxTreeItemId
* _arg1
;
8158 PyObject
* _argo0
= 0;
8159 PyObject
* _argo1
= 0;
8160 char *_kwnames
[] = { "self","item", NULL
};
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8174 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8175 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) return NULL
;
8186 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8187 _resultobj
= Py_BuildValue("s",_ptemp
);
8191 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8192 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8194 wxTreeItemId
* _result
;
8195 wxPyTreeCtrl
* _arg0
;
8196 wxTreeItemId
* _arg1
;
8197 PyObject
* _argo0
= 0;
8198 PyObject
* _argo1
= 0;
8199 char *_kwnames
[] = { "self","item", NULL
};
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) return NULL
;
8225 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8226 _resultobj
= Py_BuildValue("s",_ptemp
);
8230 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8231 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
* _resultobj
;
8233 wxTreeItemId
* _result
;
8234 wxPyTreeCtrl
* _arg0
;
8236 int _arg2
= (int ) -1;
8237 int _arg3
= (int ) -1;
8238 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8239 PyObject
* _argo0
= 0;
8240 PyObject
* _obj1
= 0;
8241 PyObject
* _argo4
= 0;
8242 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8256 #if PYTHON_API_VERSION >= 1009
8257 char* tmpPtr
; int tmpSize
;
8258 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8259 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8262 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8264 _arg1
= new wxString(tmpPtr
, tmpSize
);
8266 if (!PyString_Check(_obj1
)) {
8267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8270 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8274 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8275 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) return NULL
;
8286 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8287 _resultobj
= Py_BuildValue("s",_ptemp
);
8295 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8296 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
* _resultobj
;
8298 wxTreeItemId
* _result
;
8299 wxPyTreeCtrl
* _arg0
;
8300 wxTreeItemId
* _arg1
;
8302 int _arg3
= (int ) -1;
8303 int _arg4
= (int ) -1;
8304 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8305 PyObject
* _argo0
= 0;
8306 PyObject
* _argo1
= 0;
8307 PyObject
* _obj2
= 0;
8308 PyObject
* _argo5
= 0;
8309 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8330 #if PYTHON_API_VERSION >= 1009
8331 char* tmpPtr
; int tmpSize
;
8332 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8336 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8338 _arg2
= new wxString(tmpPtr
, tmpSize
);
8340 if (!PyString_Check(_obj2
)) {
8341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8344 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8348 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8349 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) return NULL
;
8360 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8361 _resultobj
= Py_BuildValue("s",_ptemp
);
8369 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8370 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
* _resultobj
;
8372 wxTreeItemId
* _result
;
8373 wxPyTreeCtrl
* _arg0
;
8374 wxTreeItemId
* _arg1
;
8375 wxTreeItemId
* _arg2
;
8377 int _arg4
= (int ) -1;
8378 int _arg5
= (int ) -1;
8379 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8380 PyObject
* _argo0
= 0;
8381 PyObject
* _argo1
= 0;
8382 PyObject
* _argo2
= 0;
8383 PyObject
* _obj3
= 0;
8384 PyObject
* _argo6
= 0;
8385 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8406 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8407 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8413 #if PYTHON_API_VERSION >= 1009
8414 char* tmpPtr
; int tmpSize
;
8415 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8416 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8419 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8421 _arg3
= new wxString(tmpPtr
, tmpSize
);
8423 if (!PyString_Check(_obj3
)) {
8424 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8427 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8431 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8432 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) return NULL
;
8443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8444 _resultobj
= Py_BuildValue("s",_ptemp
);
8452 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8453 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
* _resultobj
;
8455 wxTreeItemId
* _result
;
8456 wxPyTreeCtrl
* _arg0
;
8457 wxTreeItemId
* _arg1
;
8460 int _arg4
= (int ) -1;
8461 int _arg5
= (int ) -1;
8462 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
8463 PyObject
* _argo0
= 0;
8464 PyObject
* _argo1
= 0;
8465 PyObject
* _obj3
= 0;
8466 PyObject
* _argo6
= 0;
8467 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8488 #if PYTHON_API_VERSION >= 1009
8489 char* tmpPtr
; int tmpSize
;
8490 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8494 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8496 _arg3
= new wxString(tmpPtr
, tmpSize
);
8498 if (!PyString_Check(_obj3
)) {
8499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8502 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8506 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8507 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
8508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) return NULL
;
8518 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8519 _resultobj
= Py_BuildValue("s",_ptemp
);
8527 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8528 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
* _resultobj
;
8530 wxTreeItemId
* _result
;
8531 wxPyTreeCtrl
* _arg0
;
8532 wxTreeItemId
* _arg1
;
8534 int _arg3
= (int ) -1;
8535 int _arg4
= (int ) -1;
8536 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8537 PyObject
* _argo0
= 0;
8538 PyObject
* _argo1
= 0;
8539 PyObject
* _obj2
= 0;
8540 PyObject
* _argo5
= 0;
8541 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8562 #if PYTHON_API_VERSION >= 1009
8563 char* tmpPtr
; int tmpSize
;
8564 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8565 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8568 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8570 _arg2
= new wxString(tmpPtr
, tmpSize
);
8572 if (!PyString_Check(_obj2
)) {
8573 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8576 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8580 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8581 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) return NULL
;
8592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8593 _resultobj
= Py_BuildValue("s",_ptemp
);
8601 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8602 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
* _resultobj
;
8604 wxPyTreeCtrl
* _arg0
;
8605 wxTreeItemId
* _arg1
;
8606 PyObject
* _argo0
= 0;
8607 PyObject
* _argo1
= 0;
8608 char *_kwnames
[] = { "self","item", NULL
};
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) return NULL
;
8633 } Py_INCREF(Py_None
);
8634 _resultobj
= Py_None
;
8638 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8639 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
* _resultobj
;
8641 wxPyTreeCtrl
* _arg0
;
8642 wxTreeItemId
* _arg1
;
8643 PyObject
* _argo0
= 0;
8644 PyObject
* _argo1
= 0;
8645 char *_kwnames
[] = { "self","item", NULL
};
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) return NULL
;
8670 } Py_INCREF(Py_None
);
8671 _resultobj
= Py_None
;
8675 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8676 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
* _resultobj
;
8678 wxPyTreeCtrl
* _arg0
;
8679 PyObject
* _argo0
= 0;
8680 char *_kwnames
[] = { "self", NULL
};
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 wxTreeCtrl_DeleteAllItems(_arg0
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) return NULL
;
8698 } Py_INCREF(Py_None
);
8699 _resultobj
= Py_None
;
8703 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8704 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
* _resultobj
;
8706 wxPyTreeCtrl
* _arg0
;
8707 wxTreeItemId
* _arg1
;
8708 PyObject
* _argo0
= 0;
8709 PyObject
* _argo1
= 0;
8710 char *_kwnames
[] = { "self","item", NULL
};
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) return NULL
;
8735 } Py_INCREF(Py_None
);
8736 _resultobj
= Py_None
;
8740 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8741 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
* _resultobj
;
8743 wxPyTreeCtrl
* _arg0
;
8744 wxTreeItemId
* _arg1
;
8745 PyObject
* _argo0
= 0;
8746 PyObject
* _argo1
= 0;
8747 char *_kwnames
[] = { "self","item", NULL
};
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) return NULL
;
8772 } Py_INCREF(Py_None
);
8773 _resultobj
= Py_None
;
8777 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8778 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
* _resultobj
;
8780 wxPyTreeCtrl
* _arg0
;
8781 wxTreeItemId
* _arg1
;
8782 PyObject
* _argo0
= 0;
8783 PyObject
* _argo1
= 0;
8784 char *_kwnames
[] = { "self","item", NULL
};
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) return NULL
;
8809 } Py_INCREF(Py_None
);
8810 _resultobj
= Py_None
;
8814 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8815 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
* _resultobj
;
8817 wxPyTreeCtrl
* _arg0
;
8818 wxTreeItemId
* _arg1
;
8819 PyObject
* _argo0
= 0;
8820 PyObject
* _argo1
= 0;
8821 char *_kwnames
[] = { "self","item", NULL
};
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) return NULL
;
8846 } Py_INCREF(Py_None
);
8847 _resultobj
= Py_None
;
8851 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8852 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
* _resultobj
;
8854 wxPyTreeCtrl
* _arg0
;
8855 PyObject
* _argo0
= 0;
8856 char *_kwnames
[] = { "self", NULL
};
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 wxTreeCtrl_Unselect(_arg0
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) return NULL
;
8874 } Py_INCREF(Py_None
);
8875 _resultobj
= Py_None
;
8879 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8880 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
* _resultobj
;
8882 wxPyTreeCtrl
* _arg0
;
8883 PyObject
* _argo0
= 0;
8884 char *_kwnames
[] = { "self", NULL
};
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 wxTreeCtrl_UnselectAll(_arg0
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) return NULL
;
8902 } Py_INCREF(Py_None
);
8903 _resultobj
= Py_None
;
8907 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8908 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
* _resultobj
;
8910 wxPyTreeCtrl
* _arg0
;
8911 wxTreeItemId
* _arg1
;
8912 PyObject
* _argo0
= 0;
8913 PyObject
* _argo1
= 0;
8914 char *_kwnames
[] = { "self","item", NULL
};
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) return NULL
;
8939 } Py_INCREF(Py_None
);
8940 _resultobj
= Py_None
;
8944 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8945 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
* _resultobj
;
8947 wxPyTreeCtrl
* _arg0
;
8948 wxTreeItemId
* _arg1
;
8949 PyObject
* _argo0
= 0;
8950 PyObject
* _argo1
= 0;
8951 char *_kwnames
[] = { "self","item", NULL
};
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) return NULL
;
8976 } Py_INCREF(Py_None
);
8977 _resultobj
= Py_None
;
8981 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8982 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
* _resultobj
;
8984 wxPyTreeCtrl
* _arg0
;
8985 wxTreeItemId
* _arg1
;
8986 PyObject
* _argo0
= 0;
8987 PyObject
* _argo1
= 0;
8988 char *_kwnames
[] = { "self","item", NULL
};
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
9001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) return NULL
;
9013 } Py_INCREF(Py_None
);
9014 _resultobj
= Py_None
;
9018 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9019 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
* _resultobj
;
9021 wxTextCtrl
* _result
;
9022 wxPyTreeCtrl
* _arg0
;
9023 wxTreeItemId
* _arg1
;
9024 PyObject
* _argo0
= 0;
9025 PyObject
* _argo1
= 0;
9026 char *_kwnames
[] = { "self","item", NULL
};
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
9032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) return NULL
;
9051 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9055 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
9056 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
* _resultobj
;
9058 wxTextCtrl
* _result
;
9059 wxPyTreeCtrl
* _arg0
;
9060 PyObject
* _argo0
= 0;
9061 char *_kwnames
[] = { "self", NULL
};
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
9067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) return NULL
;
9079 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9083 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
9084 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
* _resultobj
;
9086 wxPyTreeCtrl
* _arg0
;
9087 wxTreeItemId
* _arg1
;
9088 int _arg2
= (int ) FALSE
;
9089 PyObject
* _argo0
= 0;
9090 PyObject
* _argo1
= 0;
9091 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
9104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) return NULL
;
9116 } Py_INCREF(Py_None
);
9117 _resultobj
= Py_None
;
9121 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9122 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
* _resultobj
;
9124 wxPyTreeCtrl
* _arg0
;
9125 wxTreeItemId
* _arg1
;
9126 PyObject
* _argo0
= 0;
9127 PyObject
* _argo1
= 0;
9128 char *_kwnames
[] = { "self","item", NULL
};
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) return NULL
;
9153 } Py_INCREF(Py_None
);
9154 _resultobj
= Py_None
;
9158 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9159 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
* _resultobj
;
9161 wxPyTreeCtrl
* _arg0
;
9162 wxTreeItemId
* _arg1
;
9163 int _arg2
= (int ) TRUE
;
9164 PyObject
* _argo0
= 0;
9165 PyObject
* _argo1
= 0;
9166 char *_kwnames
[] = { "self","item","bold", NULL
};
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) return NULL
;
9191 } Py_INCREF(Py_None
);
9192 _resultobj
= Py_None
;
9196 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9197 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
* _resultobj
;
9200 wxPyTreeCtrl
* _arg0
;
9201 wxTreeItemId
* _arg1
;
9202 PyObject
* _argo0
= 0;
9203 PyObject
* _argo1
= 0;
9204 char *_kwnames
[] = { "self","item", NULL
};
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) return NULL
;
9229 } _resultobj
= Py_BuildValue("i",_result
);
9233 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9234 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
* _resultobj
;
9236 wxTreeItemId
* _result
;
9237 wxPyTreeCtrl
* _arg0
;
9241 PyObject
* _argo0
= 0;
9243 PyObject
* _obj1
= 0;
9244 char *_kwnames
[] = { "self","point", NULL
};
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9262 if (! wxPoint_helper(_obj1
, &_arg1
))
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) return NULL
;
9271 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9272 _resultobj
= Py_BuildValue("s",_ptemp
);
9275 o
= PyInt_FromLong((long) (*_arg2
));
9276 _resultobj
= t_output_helper(_resultobj
, o
);
9281 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9282 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
* _resultobj
;
9284 wxPyTreeCtrl
* _arg0
;
9285 wxTreeItemId
* _arg1
;
9287 PyObject
* _argo0
= 0;
9288 PyObject
* _argo1
= 0;
9290 PyObject
* _obj2
= 0;
9291 char *_kwnames
[] = { "self","item","col", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9312 if (! wxColour_helper(_obj2
, &_arg2
))
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) return NULL
;
9321 } Py_INCREF(Py_None
);
9322 _resultobj
= Py_None
;
9326 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9327 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
* _resultobj
;
9329 wxPyTreeCtrl
* _arg0
;
9330 wxTreeItemId
* _arg1
;
9332 PyObject
* _argo0
= 0;
9333 PyObject
* _argo1
= 0;
9335 PyObject
* _obj2
= 0;
9336 char *_kwnames
[] = { "self","item","col", NULL
};
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9349 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9350 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9357 if (! wxColour_helper(_obj2
, &_arg2
))
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) return NULL
;
9366 } Py_INCREF(Py_None
);
9367 _resultobj
= Py_None
;
9371 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9372 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
* _resultobj
;
9374 wxPyTreeCtrl
* _arg0
;
9375 wxTreeItemId
* _arg1
;
9377 PyObject
* _argo0
= 0;
9378 PyObject
* _argo1
= 0;
9379 PyObject
* _argo2
= 0;
9380 char *_kwnames
[] = { "self","item","font", NULL
};
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9400 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9401 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) return NULL
;
9412 } Py_INCREF(Py_None
);
9413 _resultobj
= Py_None
;
9417 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9418 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
* _resultobj
;
9420 wxPyTreeCtrl
* _arg0
;
9421 wxTreeItemId
* _arg1
;
9422 int _arg2
= (int ) TRUE
;
9423 PyObject
* _argo0
= 0;
9424 PyObject
* _argo1
= 0;
9425 char *_kwnames
[] = { "self","item","highlight", NULL
};
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9438 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9439 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) return NULL
;
9450 } Py_INCREF(Py_None
);
9451 _resultobj
= Py_None
;
9455 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9457 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9458 wxPyBeginBlockThreads();
9459 wxRect
* r
= new wxRect(rect
);
9460 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9461 wxPyEndBlockThreads();
9469 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
* _resultobj
;
9472 wxPyTreeCtrl
* _arg0
;
9473 wxTreeItemId
* _arg1
;
9474 int _arg2
= (int ) FALSE
;
9475 PyObject
* _argo0
= 0;
9476 PyObject
* _argo1
= 0;
9477 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) return NULL
;
9503 _resultobj
= _result
;
9508 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9511 src
= (wxDirItemData
*) ptr
;
9512 dest
= (wxObject
*) src
;
9513 return (void *) dest
;
9516 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9517 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
* _resultobj
;
9519 wxDirItemData
* _result
;
9523 PyObject
* _obj0
= 0;
9524 PyObject
* _obj1
= 0;
9526 char *_kwnames
[] = { "path","name","isDir", NULL
};
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9533 #if PYTHON_API_VERSION >= 1009
9534 char* tmpPtr
; int tmpSize
;
9535 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9536 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9539 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9541 _arg0
= new wxString(tmpPtr
, tmpSize
);
9543 if (!PyString_Check(_obj0
)) {
9544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9547 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9551 #if PYTHON_API_VERSION >= 1009
9552 char* tmpPtr
; int tmpSize
;
9553 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9554 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9557 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9559 _arg1
= new wxString(tmpPtr
, tmpSize
);
9561 if (!PyString_Check(_obj1
)) {
9562 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9565 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9568 _arg2
= (bool ) tempbool2
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) return NULL
;
9576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9577 _resultobj
= Py_BuildValue("s",_ptemp
);
9580 _resultobj
= Py_None
;
9593 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9594 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
* _resultobj
;
9596 wxDirItemData
* _arg0
;
9598 PyObject
* _argo0
= 0;
9599 PyObject
* _obj1
= 0;
9600 char *_kwnames
[] = { "self","path", NULL
};
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9613 #if PYTHON_API_VERSION >= 1009
9614 char* tmpPtr
; int tmpSize
;
9615 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9616 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9619 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9621 _arg1
= new wxString(tmpPtr
, tmpSize
);
9623 if (!PyString_Check(_obj1
)) {
9624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9627 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) return NULL
;
9636 } Py_INCREF(Py_None
);
9637 _resultobj
= Py_None
;
9645 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9646 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
* _resultobj
;
9649 wxDirItemData
* _arg0
;
9651 PyObject
* _argo0
= 0;
9652 PyObject
* _obj1
= 0;
9653 char *_kwnames
[] = { "self","m_path", NULL
};
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9666 #if PYTHON_API_VERSION >= 1009
9667 char* tmpPtr
; int tmpSize
;
9668 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9669 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9672 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9674 _arg1
= new wxString(tmpPtr
, tmpSize
);
9676 if (!PyString_Check(_obj1
)) {
9677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9680 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) return NULL
;
9690 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9699 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9700 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
* _resultobj
;
9703 wxDirItemData
* _arg0
;
9704 PyObject
* _argo0
= 0;
9705 char *_kwnames
[] = { "self", NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) return NULL
;
9724 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9729 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9730 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
* _resultobj
;
9733 wxDirItemData
* _arg0
;
9735 PyObject
* _argo0
= 0;
9736 PyObject
* _obj1
= 0;
9737 char *_kwnames
[] = { "self","m_name", NULL
};
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9750 #if PYTHON_API_VERSION >= 1009
9751 char* tmpPtr
; int tmpSize
;
9752 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9756 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9758 _arg1
= new wxString(tmpPtr
, tmpSize
);
9760 if (!PyString_Check(_obj1
)) {
9761 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9764 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) return NULL
;
9774 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9783 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9784 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
* _resultobj
;
9787 wxDirItemData
* _arg0
;
9788 PyObject
* _argo0
= 0;
9789 char *_kwnames
[] = { "self", NULL
};
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) return NULL
;
9808 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9813 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9814 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
* _resultobj
;
9817 wxDirItemData
* _arg0
;
9819 PyObject
* _argo0
= 0;
9821 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9833 _arg1
= (bool ) tempbool1
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) return NULL
;
9840 } _resultobj
= Py_BuildValue("i",_result
);
9844 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9845 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
* _resultobj
;
9848 wxDirItemData
* _arg0
;
9849 PyObject
* _argo0
= 0;
9850 char *_kwnames
[] = { "self", NULL
};
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) return NULL
;
9868 } _resultobj
= Py_BuildValue("i",_result
);
9872 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9873 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
* _resultobj
;
9876 wxDirItemData
* _arg0
;
9878 PyObject
* _argo0
= 0;
9880 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9892 _arg1
= (bool ) tempbool1
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) return NULL
;
9899 } _resultobj
= Py_BuildValue("i",_result
);
9903 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9904 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
* _resultobj
;
9907 wxDirItemData
* _arg0
;
9908 PyObject
* _argo0
= 0;
9909 char *_kwnames
[] = { "self", NULL
};
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) return NULL
;
9927 } _resultobj
= Py_BuildValue("i",_result
);
9931 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9932 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
* _resultobj
;
9935 wxDirItemData
* _arg0
;
9937 PyObject
* _argo0
= 0;
9939 char *_kwnames
[] = { "self","m_isDir", NULL
};
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9951 _arg1
= (bool ) tempbool1
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) return NULL
;
9958 } _resultobj
= Py_BuildValue("i",_result
);
9962 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9963 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
* _resultobj
;
9966 wxDirItemData
* _arg0
;
9967 PyObject
* _argo0
= 0;
9968 char *_kwnames
[] = { "self", NULL
};
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) return NULL
;
9986 } _resultobj
= Py_BuildValue("i",_result
);
9990 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9991 wxGenericDirCtrl
*src
;
9993 src
= (wxGenericDirCtrl
*) ptr
;
9994 dest
= (wxControl
*) src
;
9995 return (void *) dest
;
9998 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9999 wxGenericDirCtrl
*src
;
10001 src
= (wxGenericDirCtrl
*) ptr
;
10002 dest
= (wxWindow
*) src
;
10003 return (void *) dest
;
10006 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
10007 wxGenericDirCtrl
*src
;
10008 wxEvtHandler
*dest
;
10009 src
= (wxGenericDirCtrl
*) ptr
;
10010 dest
= (wxEvtHandler
*) src
;
10011 return (void *) dest
;
10014 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
10015 wxGenericDirCtrl
*src
;
10017 src
= (wxGenericDirCtrl
*) ptr
;
10018 dest
= (wxObject
*) src
;
10019 return (void *) dest
;
10022 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10023 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
* _resultobj
;
10025 wxGenericDirCtrl
* _result
;
10027 wxWindowID _arg1
= (wxWindowID
) -1;
10028 wxString
* _arg2
= (wxString
*) &wxDirDialogDefaultFolderStr
;
10029 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10030 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10031 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
10032 wxString
* _arg6
= (wxString
*) &wxEmptyString
;
10033 int _arg7
= (int ) 0;
10034 char * _arg8
= (char *) "dirCtrl";
10035 PyObject
* _argo0
= 0;
10036 PyObject
* _obj2
= 0;
10038 PyObject
* _obj3
= 0;
10040 PyObject
* _obj4
= 0;
10041 PyObject
* _obj6
= 0;
10042 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOis:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_arg8
))
10049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
10057 #if PYTHON_API_VERSION >= 1009
10058 char* tmpPtr
; int tmpSize
;
10059 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10063 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10065 _arg2
= new wxString(tmpPtr
, tmpSize
);
10067 if (!PyString_Check(_obj2
)) {
10068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10071 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10077 if (! wxPoint_helper(_obj3
, &_arg3
))
10083 if (! wxSize_helper(_obj4
, &_arg4
))
10088 #if PYTHON_API_VERSION >= 1009
10089 char* tmpPtr
; int tmpSize
;
10090 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
10091 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10094 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
10096 _arg6
= new wxString(tmpPtr
, tmpSize
);
10098 if (!PyString_Check(_obj6
)) {
10099 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10102 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,_arg8
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) return NULL
;
10112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
10113 _resultobj
= Py_BuildValue("s",_ptemp
);
10115 Py_INCREF(Py_None
);
10116 _resultobj
= Py_None
;
10129 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
10130 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
* _resultobj
;
10132 wxGenericDirCtrl
* _result
;
10133 char *_kwnames
[] = { NULL
};
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) return NULL
;
10146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
10147 _resultobj
= Py_BuildValue("s",_ptemp
);
10149 Py_INCREF(Py_None
);
10150 _resultobj
= Py_None
;
10155 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10156 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
* _resultobj
;
10159 wxGenericDirCtrl
* _arg0
;
10161 wxWindowID _arg2
= (wxWindowID
) -1;
10162 wxString
* _arg3
= (wxString
*) &wxDirDialogDefaultFolderStr
;
10163 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10164 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10165 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
10166 wxString
* _arg7
= (wxString
*) &wxEmptyString
;
10167 int _arg8
= (int ) 0;
10168 char * _arg9
= (char *) "dirCtrl";
10169 PyObject
* _argo0
= 0;
10170 PyObject
* _argo1
= 0;
10171 PyObject
* _obj3
= 0;
10173 PyObject
* _obj4
= 0;
10175 PyObject
* _obj5
= 0;
10176 PyObject
* _obj7
= 0;
10177 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOis:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_arg9
))
10183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
10190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10198 #if PYTHON_API_VERSION >= 1009
10199 char* tmpPtr
; int tmpSize
;
10200 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
10201 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10204 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
10206 _arg3
= new wxString(tmpPtr
, tmpSize
);
10208 if (!PyString_Check(_obj3
)) {
10209 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10212 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
10218 if (! wxPoint_helper(_obj4
, &_arg4
))
10224 if (! wxSize_helper(_obj5
, &_arg5
))
10229 #if PYTHON_API_VERSION >= 1009
10230 char* tmpPtr
; int tmpSize
;
10231 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
10232 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10235 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
10237 _arg7
= new wxString(tmpPtr
, tmpSize
);
10239 if (!PyString_Check(_obj7
)) {
10240 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10243 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,_arg9
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) return NULL
;
10252 } _resultobj
= Py_BuildValue("i",_result
);
10264 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10265 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
* _resultobj
;
10268 wxGenericDirCtrl
* _arg0
;
10270 PyObject
* _argo0
= 0;
10271 PyObject
* _obj1
= 0;
10272 char *_kwnames
[] = { "self","path", NULL
};
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
10278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10285 #if PYTHON_API_VERSION >= 1009
10286 char* tmpPtr
; int tmpSize
;
10287 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10291 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10293 _arg1
= new wxString(tmpPtr
, tmpSize
);
10295 if (!PyString_Check(_obj1
)) {
10296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10299 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) return NULL
;
10308 } _resultobj
= Py_BuildValue("i",_result
);
10316 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10317 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
* _resultobj
;
10319 wxString
* _result
;
10320 wxGenericDirCtrl
* _arg0
;
10321 PyObject
* _argo0
= 0;
10322 char *_kwnames
[] = { "self", NULL
};
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) return NULL
;
10341 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10349 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10350 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
* _resultobj
;
10352 wxGenericDirCtrl
* _arg0
;
10354 PyObject
* _argo0
= 0;
10355 PyObject
* _obj1
= 0;
10356 char *_kwnames
[] = { "self","path", NULL
};
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10369 #if PYTHON_API_VERSION >= 1009
10370 char* tmpPtr
; int tmpSize
;
10371 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10375 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10377 _arg1
= new wxString(tmpPtr
, tmpSize
);
10379 if (!PyString_Check(_obj1
)) {
10380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10383 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) return NULL
;
10392 } Py_INCREF(Py_None
);
10393 _resultobj
= Py_None
;
10401 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10402 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
* _resultobj
;
10404 wxString
* _result
;
10405 wxGenericDirCtrl
* _arg0
;
10406 PyObject
* _argo0
= 0;
10407 char *_kwnames
[] = { "self", NULL
};
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) return NULL
;
10426 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10434 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10435 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
* _resultobj
;
10437 wxString
* _result
;
10438 wxGenericDirCtrl
* _arg0
;
10439 PyObject
* _argo0
= 0;
10440 char *_kwnames
[] = { "self", NULL
};
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) return NULL
;
10459 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10467 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10468 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
* _resultobj
;
10470 wxGenericDirCtrl
* _arg0
;
10472 PyObject
* _argo0
= 0;
10473 PyObject
* _obj1
= 0;
10474 char *_kwnames
[] = { "self","path", NULL
};
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10487 #if PYTHON_API_VERSION >= 1009
10488 char* tmpPtr
; int tmpSize
;
10489 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10493 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10495 _arg1
= new wxString(tmpPtr
, tmpSize
);
10497 if (!PyString_Check(_obj1
)) {
10498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10501 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) return NULL
;
10510 } Py_INCREF(Py_None
);
10511 _resultobj
= Py_None
;
10519 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10520 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
* _resultobj
;
10522 wxGenericDirCtrl
* _arg0
;
10524 PyObject
* _argo0
= 0;
10526 char *_kwnames
[] = { "self","show", NULL
};
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10538 _arg1
= (bool ) tempbool1
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) return NULL
;
10545 } Py_INCREF(Py_None
);
10546 _resultobj
= Py_None
;
10550 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10551 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
* _resultobj
;
10554 wxGenericDirCtrl
* _arg0
;
10555 PyObject
* _argo0
= 0;
10556 char *_kwnames
[] = { "self", NULL
};
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) return NULL
;
10574 } _resultobj
= Py_BuildValue("i",_result
);
10578 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10579 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
* _resultobj
;
10581 wxString
* _result
;
10582 wxGenericDirCtrl
* _arg0
;
10583 PyObject
* _argo0
= 0;
10584 char *_kwnames
[] = { "self", NULL
};
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) return NULL
;
10603 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10611 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10612 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
* _resultobj
;
10614 wxGenericDirCtrl
* _arg0
;
10616 PyObject
* _argo0
= 0;
10617 PyObject
* _obj1
= 0;
10618 char *_kwnames
[] = { "self","filter", NULL
};
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10631 #if PYTHON_API_VERSION >= 1009
10632 char* tmpPtr
; int tmpSize
;
10633 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10637 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10639 _arg1
= new wxString(tmpPtr
, tmpSize
);
10641 if (!PyString_Check(_obj1
)) {
10642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10645 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) return NULL
;
10654 } Py_INCREF(Py_None
);
10655 _resultobj
= Py_None
;
10663 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10664 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
* _resultobj
;
10667 wxGenericDirCtrl
* _arg0
;
10668 PyObject
* _argo0
= 0;
10669 char *_kwnames
[] = { "self", NULL
};
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) return NULL
;
10687 } _resultobj
= Py_BuildValue("i",_result
);
10691 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10692 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
* _resultobj
;
10694 wxGenericDirCtrl
* _arg0
;
10696 PyObject
* _argo0
= 0;
10697 char *_kwnames
[] = { "self","n", NULL
};
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) return NULL
;
10715 } Py_INCREF(Py_None
);
10716 _resultobj
= Py_None
;
10720 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10721 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
* _resultobj
;
10723 wxTreeItemId
* _result
;
10724 wxGenericDirCtrl
* _arg0
;
10725 PyObject
* _argo0
= 0;
10726 char *_kwnames
[] = { "self", NULL
};
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) return NULL
;
10745 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10746 _resultobj
= Py_BuildValue("s",_ptemp
);
10750 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10751 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
* _resultobj
;
10753 wxTreeCtrl
* _result
;
10754 wxGenericDirCtrl
* _arg0
;
10755 PyObject
* _argo0
= 0;
10756 char *_kwnames
[] = { "self", NULL
};
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) return NULL
;
10776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
10777 _resultobj
= Py_BuildValue("s",_ptemp
);
10779 Py_INCREF(Py_None
);
10780 _resultobj
= Py_None
;
10785 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10786 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
* _resultobj
;
10788 wxDirFilterListCtrl
* _result
;
10789 wxGenericDirCtrl
* _arg0
;
10790 PyObject
* _argo0
= 0;
10791 char *_kwnames
[] = { "self", NULL
};
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) return NULL
;
10811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10812 _resultobj
= Py_BuildValue("s",_ptemp
);
10814 Py_INCREF(Py_None
);
10815 _resultobj
= Py_None
;
10820 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10821 wxDirFilterListCtrl
*src
;
10823 src
= (wxDirFilterListCtrl
*) ptr
;
10824 dest
= (wxChoice
*) src
;
10825 return (void *) dest
;
10828 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10829 wxDirFilterListCtrl
*src
;
10830 wxControlWithItems
*dest
;
10831 src
= (wxDirFilterListCtrl
*) ptr
;
10832 dest
= (wxControlWithItems
*) src
;
10833 return (void *) dest
;
10836 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10837 wxDirFilterListCtrl
*src
;
10839 src
= (wxDirFilterListCtrl
*) ptr
;
10840 dest
= (wxControl
*) src
;
10841 return (void *) dest
;
10844 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10845 wxDirFilterListCtrl
*src
;
10847 src
= (wxDirFilterListCtrl
*) ptr
;
10848 dest
= (wxWindow
*) src
;
10849 return (void *) dest
;
10852 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10853 wxDirFilterListCtrl
*src
;
10854 wxEvtHandler
*dest
;
10855 src
= (wxDirFilterListCtrl
*) ptr
;
10856 dest
= (wxEvtHandler
*) src
;
10857 return (void *) dest
;
10860 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10861 wxDirFilterListCtrl
*src
;
10863 src
= (wxDirFilterListCtrl
*) ptr
;
10864 dest
= (wxObject
*) src
;
10865 return (void *) dest
;
10868 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10869 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
* _resultobj
;
10871 wxDirFilterListCtrl
* _result
;
10872 wxGenericDirCtrl
* _arg0
;
10873 wxWindowID _arg1
= (wxWindowID
) -1;
10874 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10875 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10876 long _arg4
= (long ) 0;
10877 PyObject
* _argo0
= 0;
10879 PyObject
* _obj2
= 0;
10881 PyObject
* _obj3
= 0;
10882 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10898 if (! wxPoint_helper(_obj2
, &_arg2
))
10904 if (! wxSize_helper(_obj3
, &_arg3
))
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) return NULL
;
10914 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10915 _resultobj
= Py_BuildValue("s",_ptemp
);
10917 Py_INCREF(Py_None
);
10918 _resultobj
= Py_None
;
10923 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10924 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
* _resultobj
;
10926 wxDirFilterListCtrl
* _result
;
10927 char *_kwnames
[] = { NULL
};
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) return NULL
;
10940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10941 _resultobj
= Py_BuildValue("s",_ptemp
);
10943 Py_INCREF(Py_None
);
10944 _resultobj
= Py_None
;
10949 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10950 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
* _resultobj
;
10953 wxDirFilterListCtrl
* _arg0
;
10954 wxGenericDirCtrl
* _arg1
;
10955 wxWindowID _arg2
= (wxWindowID
) -1;
10956 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10957 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10958 long _arg5
= (long ) 0;
10959 PyObject
* _argo0
= 0;
10960 PyObject
* _argo1
= 0;
10962 PyObject
* _obj3
= 0;
10964 PyObject
* _obj4
= 0;
10965 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10987 if (! wxPoint_helper(_obj3
, &_arg3
))
10993 if (! wxSize_helper(_obj4
, &_arg4
))
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) return NULL
;
11002 } _resultobj
= Py_BuildValue("i",_result
);
11006 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
11007 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
* _resultobj
;
11009 wxDirFilterListCtrl
* _arg0
;
11012 PyObject
* _argo0
= 0;
11013 PyObject
* _obj1
= 0;
11014 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
11020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
11022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
11027 #if PYTHON_API_VERSION >= 1009
11028 char* tmpPtr
; int tmpSize
;
11029 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11033 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11035 _arg1
= new wxString(tmpPtr
, tmpSize
);
11037 if (!PyString_Check(_obj1
)) {
11038 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11041 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) return NULL
;
11050 } Py_INCREF(Py_None
);
11051 _resultobj
= Py_None
;
11059 static PyMethodDef controls2cMethods
[] = {
11060 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11358 * This table is used by the pointer type-checker
11360 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11361 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11362 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11363 { "_signed_long","_long",0},
11364 { "_wxPrintQuality","_wxCoord",0},
11365 { "_wxPrintQuality","_int",0},
11366 { "_wxPrintQuality","_signed_int",0},
11367 { "_wxPrintQuality","_unsigned_int",0},
11368 { "_wxPrintQuality","_wxWindowID",0},
11369 { "_wxPrintQuality","_uint",0},
11370 { "_wxPrintQuality","_EBool",0},
11371 { "_wxPrintQuality","_size_t",0},
11372 { "_wxPrintQuality","_time_t",0},
11373 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11374 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11375 { "_byte","_unsigned_char",0},
11376 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11377 { "_long","_unsigned_long",0},
11378 { "_long","_signed_long",0},
11379 { "_size_t","_wxCoord",0},
11380 { "_size_t","_wxPrintQuality",0},
11381 { "_size_t","_time_t",0},
11382 { "_size_t","_unsigned_int",0},
11383 { "_size_t","_int",0},
11384 { "_size_t","_wxWindowID",0},
11385 { "_size_t","_uint",0},
11386 { "_uint","_wxCoord",0},
11387 { "_uint","_wxPrintQuality",0},
11388 { "_uint","_time_t",0},
11389 { "_uint","_size_t",0},
11390 { "_uint","_unsigned_int",0},
11391 { "_uint","_int",0},
11392 { "_uint","_wxWindowID",0},
11393 { "_wxChar","_char",0},
11394 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11395 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11396 { "_char","_wxChar",0},
11397 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11398 { "_EBool","_wxCoord",0},
11399 { "_EBool","_wxPrintQuality",0},
11400 { "_EBool","_signed_int",0},
11401 { "_EBool","_int",0},
11402 { "_EBool","_wxWindowID",0},
11403 { "_unsigned_long","_long",0},
11404 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11405 { "_signed_int","_wxCoord",0},
11406 { "_signed_int","_wxPrintQuality",0},
11407 { "_signed_int","_EBool",0},
11408 { "_signed_int","_wxWindowID",0},
11409 { "_signed_int","_int",0},
11410 { "_WXTYPE","_short",0},
11411 { "_WXTYPE","_signed_short",0},
11412 { "_WXTYPE","_unsigned_short",0},
11413 { "_unsigned_short","_WXTYPE",0},
11414 { "_unsigned_short","_short",0},
11415 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11416 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11417 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11418 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11419 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11420 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
11421 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11422 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11423 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11424 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11425 { "_signed_short","_WXTYPE",0},
11426 { "_signed_short","_short",0},
11427 { "_unsigned_char","_byte",0},
11428 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11429 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11430 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11431 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11432 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11433 { "_unsigned_int","_wxCoord",0},
11434 { "_unsigned_int","_wxPrintQuality",0},
11435 { "_unsigned_int","_time_t",0},
11436 { "_unsigned_int","_size_t",0},
11437 { "_unsigned_int","_uint",0},
11438 { "_unsigned_int","_wxWindowID",0},
11439 { "_unsigned_int","_int",0},
11440 { "_short","_WXTYPE",0},
11441 { "_short","_unsigned_short",0},
11442 { "_short","_signed_short",0},
11443 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11444 { "_wxWindowID","_wxCoord",0},
11445 { "_wxWindowID","_wxPrintQuality",0},
11446 { "_wxWindowID","_time_t",0},
11447 { "_wxWindowID","_size_t",0},
11448 { "_wxWindowID","_EBool",0},
11449 { "_wxWindowID","_uint",0},
11450 { "_wxWindowID","_int",0},
11451 { "_wxWindowID","_signed_int",0},
11452 { "_wxWindowID","_unsigned_int",0},
11453 { "_int","_wxCoord",0},
11454 { "_int","_wxPrintQuality",0},
11455 { "_int","_time_t",0},
11456 { "_int","_size_t",0},
11457 { "_int","_EBool",0},
11458 { "_int","_uint",0},
11459 { "_int","_wxWindowID",0},
11460 { "_int","_unsigned_int",0},
11461 { "_int","_signed_int",0},
11462 { "_time_t","_wxCoord",0},
11463 { "_time_t","_wxPrintQuality",0},
11464 { "_time_t","_unsigned_int",0},
11465 { "_time_t","_int",0},
11466 { "_time_t","_wxWindowID",0},
11467 { "_time_t","_uint",0},
11468 { "_time_t","_size_t",0},
11469 { "_wxCoord","_int",0},
11470 { "_wxCoord","_signed_int",0},
11471 { "_wxCoord","_unsigned_int",0},
11472 { "_wxCoord","_wxWindowID",0},
11473 { "_wxCoord","_uint",0},
11474 { "_wxCoord","_EBool",0},
11475 { "_wxCoord","_size_t",0},
11476 { "_wxCoord","_time_t",0},
11477 { "_wxCoord","_wxPrintQuality",0},
11478 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11479 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11480 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11481 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11482 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11483 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11484 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11485 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11486 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11487 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11488 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11491 static PyObject
*SWIG_globals
;
11495 SWIGEXPORT(void) initcontrols2c() {
11497 SWIG_globals
= SWIG_newvarlink();
11498 m
= Py_InitModule("controls2c", controls2cMethods
);
11499 d
= PyModule_GetDict(m
);
11500 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11501 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11502 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11503 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11504 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11505 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11506 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11507 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11508 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11509 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11510 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11511 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11512 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11513 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11514 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11515 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11516 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11517 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11518 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11519 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11520 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11521 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11522 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11523 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11524 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11525 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11526 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11527 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11528 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11529 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11530 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11531 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11532 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11533 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11534 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11535 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11536 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11537 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11538 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11539 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11540 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11541 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11542 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11543 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11544 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11545 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11546 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11547 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11548 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11549 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11550 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11551 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11552 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11553 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11554 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11555 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11556 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11557 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11558 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11559 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11560 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11561 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11562 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11563 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11564 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11565 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11566 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11567 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11568 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11569 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11570 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11571 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11572 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11573 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11574 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11575 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11576 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11577 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11578 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11579 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11580 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11581 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11582 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11583 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11584 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11585 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11586 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11587 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11588 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11589 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11590 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11591 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11592 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11593 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11594 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11595 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11596 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11597 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11598 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11599 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11600 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11601 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11602 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11603 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11604 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11605 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11606 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11607 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11608 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11609 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11610 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11611 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11612 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11613 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11614 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11615 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11616 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11617 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11618 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11619 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11620 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11621 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11622 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11623 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11624 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11625 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11626 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11627 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11628 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11629 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11630 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11631 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11632 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11633 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11634 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11635 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11636 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11637 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11638 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11639 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11640 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11641 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11642 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11644 // Map renamed classes back to their common name for OOR
11645 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11646 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11647 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11650 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11651 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);