]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls2.cpp
Added patch to wxPoint_LIST_helper from Tim Hochberg that should make
[wxWidgets.git] / wxPython / src / gtk / controls2.cpp
1 /*
2 * FILE : src/gtk/controls2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initcontrols2c
53
54 #define SWIG_name "controls2c"
55
56 #include "helpers.h"
57 #ifdef __WXMSW__
58 #include <windows.h>
59 #endif
60 #include <wx/listctrl.h>
61 #include <wx/treectrl.h>
62
63 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 if (!target) {
66 target = o;
67 } else if (target == Py_None) {
68 Py_DECREF(Py_None);
69 target = o;
70 } else {
71 if (!PyList_Check(target)) {
72 o2 = target;
73 target = PyList_New(0);
74 PyList_Append(target, o2);
75 Py_XDECREF(o2);
76 }
77 PyList_Append(target,o);
78 Py_XDECREF(o);
79 }
80 return target;
81 }
82
83 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
84 PyObject* o2;
85 PyObject* o3;
86
87 if (!target) {
88 target = o;
89 } else if (target == Py_None) {
90 Py_DECREF(Py_None);
91 target = o;
92 } else {
93 if (!PyTuple_Check(target)) {
94 o2 = target;
95 target = PyTuple_New(1);
96 PyTuple_SetItem(target, 0, o2);
97 }
98 o3 = PyTuple_New(1);
99 PyTuple_SetItem(o3, 0, o);
100
101 o2 = target;
102 target = PySequence_Concat(o2, o3);
103 Py_DECREF(o2);
104 Py_DECREF(o3);
105 }
106 return target;
107 }
108
109 static char* wxStringErrorMsg = "string type is required for parameter";
110
111 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
112 int retval = 0;
113 PyObject* func = (PyObject*)funcPtr;
114 bool doSave = wxPyRestoreThread();
115
116 PyObject* args = Py_BuildValue("(ii)", item1, item2);
117 PyObject* result = PyEval_CallObject(func, args);
118 Py_DECREF(args);
119 if (result) {
120 retval = PyInt_AsLong(result);
121 Py_DECREF(result);
122 }
123
124 wxPySaveThread(doSave);
125 return retval;
126 }
127
128
129 class wxPyTreeItemData : public wxTreeItemData {
130 public:
131 wxPyTreeItemData(PyObject* obj = NULL) {
132 if (obj == NULL)
133 obj = Py_None;
134 Py_INCREF(obj);
135 m_obj = obj;
136 }
137
138 ~wxPyTreeItemData() {
139 bool doSave = wxPyRestoreThread();
140 Py_DECREF(m_obj);
141 wxPySaveThread(doSave);
142 }
143
144 PyObject* GetData() {
145 Py_INCREF(m_obj);
146 return m_obj;
147 }
148
149 void SetData(PyObject* obj) {
150 bool doSave = wxPyRestoreThread();
151 Py_DECREF(m_obj);
152 wxPySaveThread(doSave);
153 m_obj = obj;
154 Py_INCREF(obj);
155 }
156
157 PyObject* m_obj;
158 };
159
160 class wxPyTreeCtrl : public wxTreeCtrl {
161 public:
162 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
163 const wxPoint& pos,
164 const wxSize& size,
165 long style,
166 const wxValidator& validator,
167 char* name) :
168 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
169
170
171 int OnCompareItems(const wxTreeItemId& item1,
172 const wxTreeItemId& item2) {
173 int rval = 0;
174 bool doSave = wxPyRestoreThread();
175 if (m_myInst.findCallback("OnCompareItems"))
176 rval = m_myInst.callCallback(Py_BuildValue(
177 "(OO)",
178 wxPyConstructObject((void*)&item1, "wxTreeItemId"),
179 wxPyConstructObject((void*)&item2, "wxTreeItemId")));
180 else
181 rval = wxTreeCtrl::OnCompareItems(item1, item2);
182 wxPySaveThread(doSave);
183 return rval;
184 }
185 PYPRIVATE;
186 };
187
188 #ifdef __cplusplus
189 extern "C" {
190 #endif
191 #define new_wxListItemAttr() (new wxListItemAttr())
192 static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
193 PyObject * _resultobj;
194 wxListItemAttr * _result;
195 char *_kwnames[] = { NULL };
196 char _ptemp[128];
197
198 self = self;
199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItemAttr",_kwnames))
200 return NULL;
201 {
202 wxPy_BEGIN_ALLOW_THREADS;
203 _result = (wxListItemAttr *)new_wxListItemAttr();
204
205 wxPy_END_ALLOW_THREADS;
206 } if (_result) {
207 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
208 _resultobj = Py_BuildValue("s",_ptemp);
209 } else {
210 Py_INCREF(Py_None);
211 _resultobj = Py_None;
212 }
213 return _resultobj;
214 }
215
216 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
217 static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
218 PyObject * _resultobj;
219 wxListItemAttr * _arg0;
220 wxColour * _arg1;
221 PyObject * _argo0 = 0;
222 wxColour temp;
223 PyObject * _obj1 = 0;
224 char *_kwnames[] = { "self","colText", NULL };
225
226 self = self;
227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
228 return NULL;
229 if (_argo0) {
230 if (_argo0 == Py_None) { _arg0 = NULL; }
231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
233 return NULL;
234 }
235 }
236 {
237 _arg1 = &temp;
238 if (! wxColour_helper(_obj1, &_arg1))
239 return NULL;
240 }
241 {
242 wxPy_BEGIN_ALLOW_THREADS;
243 wxListItemAttr_SetTextColour(_arg0,*_arg1);
244
245 wxPy_END_ALLOW_THREADS;
246 } Py_INCREF(Py_None);
247 _resultobj = Py_None;
248 return _resultobj;
249 }
250
251 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
252 static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
253 PyObject * _resultobj;
254 wxListItemAttr * _arg0;
255 wxColour * _arg1;
256 PyObject * _argo0 = 0;
257 wxColour temp;
258 PyObject * _obj1 = 0;
259 char *_kwnames[] = { "self","colBack", NULL };
260
261 self = self;
262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
263 return NULL;
264 if (_argo0) {
265 if (_argo0 == Py_None) { _arg0 = NULL; }
266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
268 return NULL;
269 }
270 }
271 {
272 _arg1 = &temp;
273 if (! wxColour_helper(_obj1, &_arg1))
274 return NULL;
275 }
276 {
277 wxPy_BEGIN_ALLOW_THREADS;
278 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
279
280 wxPy_END_ALLOW_THREADS;
281 } Py_INCREF(Py_None);
282 _resultobj = Py_None;
283 return _resultobj;
284 }
285
286 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
287 static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
288 PyObject * _resultobj;
289 wxListItemAttr * _arg0;
290 wxFont * _arg1;
291 PyObject * _argo0 = 0;
292 PyObject * _argo1 = 0;
293 char *_kwnames[] = { "self","font", NULL };
294
295 self = self;
296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
297 return NULL;
298 if (_argo0) {
299 if (_argo0 == Py_None) { _arg0 = NULL; }
300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
302 return NULL;
303 }
304 }
305 if (_argo1) {
306 if (_argo1 == Py_None) { _arg1 = NULL; }
307 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
308 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
309 return NULL;
310 }
311 }
312 {
313 wxPy_BEGIN_ALLOW_THREADS;
314 wxListItemAttr_SetFont(_arg0,*_arg1);
315
316 wxPy_END_ALLOW_THREADS;
317 } Py_INCREF(Py_None);
318 _resultobj = Py_None;
319 return _resultobj;
320 }
321
322 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
323 static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
324 PyObject * _resultobj;
325 bool _result;
326 wxListItemAttr * _arg0;
327 PyObject * _argo0 = 0;
328 char *_kwnames[] = { "self", NULL };
329
330 self = self;
331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
332 return NULL;
333 if (_argo0) {
334 if (_argo0 == Py_None) { _arg0 = NULL; }
335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
337 return NULL;
338 }
339 }
340 {
341 wxPy_BEGIN_ALLOW_THREADS;
342 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
343
344 wxPy_END_ALLOW_THREADS;
345 } _resultobj = Py_BuildValue("i",_result);
346 return _resultobj;
347 }
348
349 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
350 static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
351 PyObject * _resultobj;
352 bool _result;
353 wxListItemAttr * _arg0;
354 PyObject * _argo0 = 0;
355 char *_kwnames[] = { "self", NULL };
356
357 self = self;
358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
359 return NULL;
360 if (_argo0) {
361 if (_argo0 == Py_None) { _arg0 = NULL; }
362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
364 return NULL;
365 }
366 }
367 {
368 wxPy_BEGIN_ALLOW_THREADS;
369 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
370
371 wxPy_END_ALLOW_THREADS;
372 } _resultobj = Py_BuildValue("i",_result);
373 return _resultobj;
374 }
375
376 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
377 static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
378 PyObject * _resultobj;
379 bool _result;
380 wxListItemAttr * _arg0;
381 PyObject * _argo0 = 0;
382 char *_kwnames[] = { "self", NULL };
383
384 self = self;
385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
386 return NULL;
387 if (_argo0) {
388 if (_argo0 == Py_None) { _arg0 = NULL; }
389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
391 return NULL;
392 }
393 }
394 {
395 wxPy_BEGIN_ALLOW_THREADS;
396 _result = (bool )wxListItemAttr_HasFont(_arg0);
397
398 wxPy_END_ALLOW_THREADS;
399 } _resultobj = Py_BuildValue("i",_result);
400 return _resultobj;
401 }
402
403 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
404 static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
405 PyObject * _resultobj;
406 wxColour * _result;
407 wxListItemAttr * _arg0;
408 PyObject * _argo0 = 0;
409 char *_kwnames[] = { "self", NULL };
410 char _ptemp[128];
411
412 self = self;
413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
414 return NULL;
415 if (_argo0) {
416 if (_argo0 == Py_None) { _arg0 = NULL; }
417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
419 return NULL;
420 }
421 }
422 {
423 wxPy_BEGIN_ALLOW_THREADS;
424 const wxColour & _result_ref = wxListItemAttr_GetTextColour(_arg0);
425 _result = (wxColour *) &_result_ref;
426
427 wxPy_END_ALLOW_THREADS;
428 } if (_result) {
429 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
430 _resultobj = Py_BuildValue("s",_ptemp);
431 } else {
432 Py_INCREF(Py_None);
433 _resultobj = Py_None;
434 }
435 return _resultobj;
436 }
437
438 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
439 static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
440 PyObject * _resultobj;
441 wxColour * _result;
442 wxListItemAttr * _arg0;
443 PyObject * _argo0 = 0;
444 char *_kwnames[] = { "self", NULL };
445 char _ptemp[128];
446
447 self = self;
448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
449 return NULL;
450 if (_argo0) {
451 if (_argo0 == Py_None) { _arg0 = NULL; }
452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
454 return NULL;
455 }
456 }
457 {
458 wxPy_BEGIN_ALLOW_THREADS;
459 const wxColour & _result_ref = wxListItemAttr_GetBackgroundColour(_arg0);
460 _result = (wxColour *) &_result_ref;
461
462 wxPy_END_ALLOW_THREADS;
463 } if (_result) {
464 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
465 _resultobj = Py_BuildValue("s",_ptemp);
466 } else {
467 Py_INCREF(Py_None);
468 _resultobj = Py_None;
469 }
470 return _resultobj;
471 }
472
473 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
474 static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
475 PyObject * _resultobj;
476 wxFont * _result;
477 wxListItemAttr * _arg0;
478 PyObject * _argo0 = 0;
479 char *_kwnames[] = { "self", NULL };
480 char _ptemp[128];
481
482 self = self;
483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
484 return NULL;
485 if (_argo0) {
486 if (_argo0 == Py_None) { _arg0 = NULL; }
487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
489 return NULL;
490 }
491 }
492 {
493 wxPy_BEGIN_ALLOW_THREADS;
494 const wxFont & _result_ref = wxListItemAttr_GetFont(_arg0);
495 _result = (wxFont *) &_result_ref;
496
497 wxPy_END_ALLOW_THREADS;
498 } if (_result) {
499 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
500 _resultobj = Py_BuildValue("s",_ptemp);
501 } else {
502 Py_INCREF(Py_None);
503 _resultobj = Py_None;
504 }
505 return _resultobj;
506 }
507
508 #define new_wxListItem() (new wxListItem())
509 static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
510 PyObject * _resultobj;
511 wxListItem * _result;
512 char *_kwnames[] = { NULL };
513 char _ptemp[128];
514
515 self = self;
516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
517 return NULL;
518 {
519 wxPy_BEGIN_ALLOW_THREADS;
520 _result = (wxListItem *)new_wxListItem();
521
522 wxPy_END_ALLOW_THREADS;
523 } if (_result) {
524 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
525 _resultobj = Py_BuildValue("s",_ptemp);
526 } else {
527 Py_INCREF(Py_None);
528 _resultobj = Py_None;
529 }
530 return _resultobj;
531 }
532
533 #define delete_wxListItem(_swigobj) (delete _swigobj)
534 static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
535 PyObject * _resultobj;
536 wxListItem * _arg0;
537 PyObject * _argo0 = 0;
538 char *_kwnames[] = { "self", NULL };
539
540 self = self;
541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
542 return NULL;
543 if (_argo0) {
544 if (_argo0 == Py_None) { _arg0 = NULL; }
545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
547 return NULL;
548 }
549 }
550 {
551 wxPy_BEGIN_ALLOW_THREADS;
552 delete_wxListItem(_arg0);
553
554 wxPy_END_ALLOW_THREADS;
555 } Py_INCREF(Py_None);
556 _resultobj = Py_None;
557 return _resultobj;
558 }
559
560 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
561 static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
562 PyObject * _resultobj;
563 wxListItem * _arg0;
564 PyObject * _argo0 = 0;
565 char *_kwnames[] = { "self", NULL };
566
567 self = self;
568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
569 return NULL;
570 if (_argo0) {
571 if (_argo0 == Py_None) { _arg0 = NULL; }
572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
574 return NULL;
575 }
576 }
577 {
578 wxPy_BEGIN_ALLOW_THREADS;
579 wxListItem_Clear(_arg0);
580
581 wxPy_END_ALLOW_THREADS;
582 } Py_INCREF(Py_None);
583 _resultobj = Py_None;
584 return _resultobj;
585 }
586
587 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
588 static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
589 PyObject * _resultobj;
590 wxListItem * _arg0;
591 PyObject * _argo0 = 0;
592 char *_kwnames[] = { "self", NULL };
593
594 self = self;
595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
596 return NULL;
597 if (_argo0) {
598 if (_argo0 == Py_None) { _arg0 = NULL; }
599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
601 return NULL;
602 }
603 }
604 {
605 wxPy_BEGIN_ALLOW_THREADS;
606 wxListItem_ClearAttributes(_arg0);
607
608 wxPy_END_ALLOW_THREADS;
609 } Py_INCREF(Py_None);
610 _resultobj = Py_None;
611 return _resultobj;
612 }
613
614 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
615 static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
616 PyObject * _resultobj;
617 wxListItem * _arg0;
618 long _arg1;
619 PyObject * _argo0 = 0;
620 char *_kwnames[] = { "self","mask", NULL };
621
622 self = self;
623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
624 return NULL;
625 if (_argo0) {
626 if (_argo0 == Py_None) { _arg0 = NULL; }
627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
629 return NULL;
630 }
631 }
632 {
633 wxPy_BEGIN_ALLOW_THREADS;
634 wxListItem_SetMask(_arg0,_arg1);
635
636 wxPy_END_ALLOW_THREADS;
637 } Py_INCREF(Py_None);
638 _resultobj = Py_None;
639 return _resultobj;
640 }
641
642 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
643 static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
644 PyObject * _resultobj;
645 wxListItem * _arg0;
646 long _arg1;
647 PyObject * _argo0 = 0;
648 char *_kwnames[] = { "self","id", NULL };
649
650 self = self;
651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
652 return NULL;
653 if (_argo0) {
654 if (_argo0 == Py_None) { _arg0 = NULL; }
655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
657 return NULL;
658 }
659 }
660 {
661 wxPy_BEGIN_ALLOW_THREADS;
662 wxListItem_SetId(_arg0,_arg1);
663
664 wxPy_END_ALLOW_THREADS;
665 } Py_INCREF(Py_None);
666 _resultobj = Py_None;
667 return _resultobj;
668 }
669
670 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
671 static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
672 PyObject * _resultobj;
673 wxListItem * _arg0;
674 int _arg1;
675 PyObject * _argo0 = 0;
676 char *_kwnames[] = { "self","col", NULL };
677
678 self = self;
679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
680 return NULL;
681 if (_argo0) {
682 if (_argo0 == Py_None) { _arg0 = NULL; }
683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
685 return NULL;
686 }
687 }
688 {
689 wxPy_BEGIN_ALLOW_THREADS;
690 wxListItem_SetColumn(_arg0,_arg1);
691
692 wxPy_END_ALLOW_THREADS;
693 } Py_INCREF(Py_None);
694 _resultobj = Py_None;
695 return _resultobj;
696 }
697
698 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
699 static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
700 PyObject * _resultobj;
701 wxListItem * _arg0;
702 long _arg1;
703 PyObject * _argo0 = 0;
704 char *_kwnames[] = { "self","state", NULL };
705
706 self = self;
707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
708 return NULL;
709 if (_argo0) {
710 if (_argo0 == Py_None) { _arg0 = NULL; }
711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
713 return NULL;
714 }
715 }
716 {
717 wxPy_BEGIN_ALLOW_THREADS;
718 wxListItem_SetState(_arg0,_arg1);
719
720 wxPy_END_ALLOW_THREADS;
721 } Py_INCREF(Py_None);
722 _resultobj = Py_None;
723 return _resultobj;
724 }
725
726 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
727 static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
728 PyObject * _resultobj;
729 wxListItem * _arg0;
730 long _arg1;
731 PyObject * _argo0 = 0;
732 char *_kwnames[] = { "self","stateMask", NULL };
733
734 self = self;
735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
736 return NULL;
737 if (_argo0) {
738 if (_argo0 == Py_None) { _arg0 = NULL; }
739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
741 return NULL;
742 }
743 }
744 {
745 wxPy_BEGIN_ALLOW_THREADS;
746 wxListItem_SetStateMask(_arg0,_arg1);
747
748 wxPy_END_ALLOW_THREADS;
749 } Py_INCREF(Py_None);
750 _resultobj = Py_None;
751 return _resultobj;
752 }
753
754 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
755 static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
756 PyObject * _resultobj;
757 wxListItem * _arg0;
758 wxString * _arg1;
759 PyObject * _argo0 = 0;
760 PyObject * _obj1 = 0;
761 char *_kwnames[] = { "self","text", NULL };
762
763 self = self;
764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
765 return NULL;
766 if (_argo0) {
767 if (_argo0 == Py_None) { _arg0 = NULL; }
768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
770 return NULL;
771 }
772 }
773 {
774 #if PYTHON_API_VERSION >= 1009
775 char* tmpPtr; int tmpSize;
776 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
777 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
778 return NULL;
779 }
780 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
781 return NULL;
782 _arg1 = new wxString(tmpPtr, tmpSize);
783 #else
784 if (!PyString_Check(_obj1)) {
785 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
786 return NULL;
787 }
788 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
789 #endif
790 }
791 {
792 wxPy_BEGIN_ALLOW_THREADS;
793 wxListItem_SetText(_arg0,*_arg1);
794
795 wxPy_END_ALLOW_THREADS;
796 } Py_INCREF(Py_None);
797 _resultobj = Py_None;
798 {
799 if (_obj1)
800 delete _arg1;
801 }
802 return _resultobj;
803 }
804
805 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
806 static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
807 PyObject * _resultobj;
808 wxListItem * _arg0;
809 int _arg1;
810 PyObject * _argo0 = 0;
811 char *_kwnames[] = { "self","image", NULL };
812
813 self = self;
814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
815 return NULL;
816 if (_argo0) {
817 if (_argo0 == Py_None) { _arg0 = NULL; }
818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
820 return NULL;
821 }
822 }
823 {
824 wxPy_BEGIN_ALLOW_THREADS;
825 wxListItem_SetImage(_arg0,_arg1);
826
827 wxPy_END_ALLOW_THREADS;
828 } Py_INCREF(Py_None);
829 _resultobj = Py_None;
830 return _resultobj;
831 }
832
833 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
834 static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
835 PyObject * _resultobj;
836 wxListItem * _arg0;
837 long _arg1;
838 PyObject * _argo0 = 0;
839 char *_kwnames[] = { "self","data", NULL };
840
841 self = self;
842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
843 return NULL;
844 if (_argo0) {
845 if (_argo0 == Py_None) { _arg0 = NULL; }
846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
848 return NULL;
849 }
850 }
851 {
852 wxPy_BEGIN_ALLOW_THREADS;
853 wxListItem_SetData(_arg0,_arg1);
854
855 wxPy_END_ALLOW_THREADS;
856 } Py_INCREF(Py_None);
857 _resultobj = Py_None;
858 return _resultobj;
859 }
860
861 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
862 static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
863 PyObject * _resultobj;
864 wxListItem * _arg0;
865 int _arg1;
866 PyObject * _argo0 = 0;
867 char *_kwnames[] = { "self","width", NULL };
868
869 self = self;
870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
871 return NULL;
872 if (_argo0) {
873 if (_argo0 == Py_None) { _arg0 = NULL; }
874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
876 return NULL;
877 }
878 }
879 {
880 wxPy_BEGIN_ALLOW_THREADS;
881 wxListItem_SetWidth(_arg0,_arg1);
882
883 wxPy_END_ALLOW_THREADS;
884 } Py_INCREF(Py_None);
885 _resultobj = Py_None;
886 return _resultobj;
887 }
888
889 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
890 static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
891 PyObject * _resultobj;
892 wxListItem * _arg0;
893 wxListColumnFormat _arg1;
894 PyObject * _argo0 = 0;
895 char *_kwnames[] = { "self","align", NULL };
896
897 self = self;
898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
899 return NULL;
900 if (_argo0) {
901 if (_argo0 == Py_None) { _arg0 = NULL; }
902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
904 return NULL;
905 }
906 }
907 {
908 wxPy_BEGIN_ALLOW_THREADS;
909 wxListItem_SetAlign(_arg0,_arg1);
910
911 wxPy_END_ALLOW_THREADS;
912 } Py_INCREF(Py_None);
913 _resultobj = Py_None;
914 return _resultobj;
915 }
916
917 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
918 static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
919 PyObject * _resultobj;
920 wxListItem * _arg0;
921 wxColour * _arg1;
922 PyObject * _argo0 = 0;
923 wxColour temp;
924 PyObject * _obj1 = 0;
925 char *_kwnames[] = { "self","colText", NULL };
926
927 self = self;
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
929 return NULL;
930 if (_argo0) {
931 if (_argo0 == Py_None) { _arg0 = NULL; }
932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
934 return NULL;
935 }
936 }
937 {
938 _arg1 = &temp;
939 if (! wxColour_helper(_obj1, &_arg1))
940 return NULL;
941 }
942 {
943 wxPy_BEGIN_ALLOW_THREADS;
944 wxListItem_SetTextColour(_arg0,*_arg1);
945
946 wxPy_END_ALLOW_THREADS;
947 } Py_INCREF(Py_None);
948 _resultobj = Py_None;
949 return _resultobj;
950 }
951
952 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
953 static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
954 PyObject * _resultobj;
955 wxListItem * _arg0;
956 wxColour * _arg1;
957 PyObject * _argo0 = 0;
958 wxColour temp;
959 PyObject * _obj1 = 0;
960 char *_kwnames[] = { "self","colBack", NULL };
961
962 self = self;
963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
964 return NULL;
965 if (_argo0) {
966 if (_argo0 == Py_None) { _arg0 = NULL; }
967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
969 return NULL;
970 }
971 }
972 {
973 _arg1 = &temp;
974 if (! wxColour_helper(_obj1, &_arg1))
975 return NULL;
976 }
977 {
978 wxPy_BEGIN_ALLOW_THREADS;
979 wxListItem_SetBackgroundColour(_arg0,*_arg1);
980
981 wxPy_END_ALLOW_THREADS;
982 } Py_INCREF(Py_None);
983 _resultobj = Py_None;
984 return _resultobj;
985 }
986
987 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
988 static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
989 PyObject * _resultobj;
990 wxListItem * _arg0;
991 wxFont * _arg1;
992 PyObject * _argo0 = 0;
993 PyObject * _argo1 = 0;
994 char *_kwnames[] = { "self","font", NULL };
995
996 self = self;
997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
998 return NULL;
999 if (_argo0) {
1000 if (_argo0 == Py_None) { _arg0 = NULL; }
1001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1003 return NULL;
1004 }
1005 }
1006 if (_argo1) {
1007 if (_argo1 == Py_None) { _arg1 = NULL; }
1008 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1009 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1010 return NULL;
1011 }
1012 }
1013 {
1014 wxPy_BEGIN_ALLOW_THREADS;
1015 wxListItem_SetFont(_arg0,*_arg1);
1016
1017 wxPy_END_ALLOW_THREADS;
1018 } Py_INCREF(Py_None);
1019 _resultobj = Py_None;
1020 return _resultobj;
1021 }
1022
1023 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1024 static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1025 PyObject * _resultobj;
1026 long _result;
1027 wxListItem * _arg0;
1028 PyObject * _argo0 = 0;
1029 char *_kwnames[] = { "self", NULL };
1030
1031 self = self;
1032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1033 return NULL;
1034 if (_argo0) {
1035 if (_argo0 == Py_None) { _arg0 = NULL; }
1036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1038 return NULL;
1039 }
1040 }
1041 {
1042 wxPy_BEGIN_ALLOW_THREADS;
1043 _result = (long )wxListItem_GetMask(_arg0);
1044
1045 wxPy_END_ALLOW_THREADS;
1046 } _resultobj = Py_BuildValue("l",_result);
1047 return _resultobj;
1048 }
1049
1050 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1051 static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1052 PyObject * _resultobj;
1053 long _result;
1054 wxListItem * _arg0;
1055 PyObject * _argo0 = 0;
1056 char *_kwnames[] = { "self", NULL };
1057
1058 self = self;
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1060 return NULL;
1061 if (_argo0) {
1062 if (_argo0 == Py_None) { _arg0 = NULL; }
1063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1065 return NULL;
1066 }
1067 }
1068 {
1069 wxPy_BEGIN_ALLOW_THREADS;
1070 _result = (long )wxListItem_GetId(_arg0);
1071
1072 wxPy_END_ALLOW_THREADS;
1073 } _resultobj = Py_BuildValue("l",_result);
1074 return _resultobj;
1075 }
1076
1077 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1078 static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1079 PyObject * _resultobj;
1080 int _result;
1081 wxListItem * _arg0;
1082 PyObject * _argo0 = 0;
1083 char *_kwnames[] = { "self", NULL };
1084
1085 self = self;
1086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1087 return NULL;
1088 if (_argo0) {
1089 if (_argo0 == Py_None) { _arg0 = NULL; }
1090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1092 return NULL;
1093 }
1094 }
1095 {
1096 wxPy_BEGIN_ALLOW_THREADS;
1097 _result = (int )wxListItem_GetColumn(_arg0);
1098
1099 wxPy_END_ALLOW_THREADS;
1100 } _resultobj = Py_BuildValue("i",_result);
1101 return _resultobj;
1102 }
1103
1104 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1105 static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1106 PyObject * _resultobj;
1107 long _result;
1108 wxListItem * _arg0;
1109 PyObject * _argo0 = 0;
1110 char *_kwnames[] = { "self", NULL };
1111
1112 self = self;
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1114 return NULL;
1115 if (_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_GetState. Expected _wxListItem_p.");
1119 return NULL;
1120 }
1121 }
1122 {
1123 wxPy_BEGIN_ALLOW_THREADS;
1124 _result = (long )wxListItem_GetState(_arg0);
1125
1126 wxPy_END_ALLOW_THREADS;
1127 } _resultobj = Py_BuildValue("l",_result);
1128 return _resultobj;
1129 }
1130
1131 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1132 static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject * _resultobj;
1134 wxString * _result;
1135 wxListItem * _arg0;
1136 PyObject * _argo0 = 0;
1137 char *_kwnames[] = { "self", NULL };
1138
1139 self = self;
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1141 return NULL;
1142 if (_argo0) {
1143 if (_argo0 == Py_None) { _arg0 = NULL; }
1144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1146 return NULL;
1147 }
1148 }
1149 {
1150 wxPy_BEGIN_ALLOW_THREADS;
1151 const wxString & _result_ref = wxListItem_GetText(_arg0);
1152 _result = (wxString *) &_result_ref;
1153
1154 wxPy_END_ALLOW_THREADS;
1155 }{
1156 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1157 }
1158 return _resultobj;
1159 }
1160
1161 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1162 static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject * _resultobj;
1164 int _result;
1165 wxListItem * _arg0;
1166 PyObject * _argo0 = 0;
1167 char *_kwnames[] = { "self", NULL };
1168
1169 self = self;
1170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1171 return NULL;
1172 if (_argo0) {
1173 if (_argo0 == Py_None) { _arg0 = NULL; }
1174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1176 return NULL;
1177 }
1178 }
1179 {
1180 wxPy_BEGIN_ALLOW_THREADS;
1181 _result = (int )wxListItem_GetImage(_arg0);
1182
1183 wxPy_END_ALLOW_THREADS;
1184 } _resultobj = Py_BuildValue("i",_result);
1185 return _resultobj;
1186 }
1187
1188 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1189 static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1190 PyObject * _resultobj;
1191 long _result;
1192 wxListItem * _arg0;
1193 PyObject * _argo0 = 0;
1194 char *_kwnames[] = { "self", NULL };
1195
1196 self = self;
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1198 return NULL;
1199 if (_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_GetData. Expected _wxListItem_p.");
1203 return NULL;
1204 }
1205 }
1206 {
1207 wxPy_BEGIN_ALLOW_THREADS;
1208 _result = (long )wxListItem_GetData(_arg0);
1209
1210 wxPy_END_ALLOW_THREADS;
1211 } _resultobj = Py_BuildValue("l",_result);
1212 return _resultobj;
1213 }
1214
1215 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1216 static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1217 PyObject * _resultobj;
1218 int _result;
1219 wxListItem * _arg0;
1220 PyObject * _argo0 = 0;
1221 char *_kwnames[] = { "self", NULL };
1222
1223 self = self;
1224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1225 return NULL;
1226 if (_argo0) {
1227 if (_argo0 == Py_None) { _arg0 = NULL; }
1228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1230 return NULL;
1231 }
1232 }
1233 {
1234 wxPy_BEGIN_ALLOW_THREADS;
1235 _result = (int )wxListItem_GetWidth(_arg0);
1236
1237 wxPy_END_ALLOW_THREADS;
1238 } _resultobj = Py_BuildValue("i",_result);
1239 return _resultobj;
1240 }
1241
1242 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1243 static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject * _resultobj;
1245 wxListColumnFormat _result;
1246 wxListItem * _arg0;
1247 PyObject * _argo0 = 0;
1248 char *_kwnames[] = { "self", NULL };
1249
1250 self = self;
1251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1252 return NULL;
1253 if (_argo0) {
1254 if (_argo0 == Py_None) { _arg0 = NULL; }
1255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1257 return NULL;
1258 }
1259 }
1260 {
1261 wxPy_BEGIN_ALLOW_THREADS;
1262 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
1263
1264 wxPy_END_ALLOW_THREADS;
1265 } _resultobj = Py_BuildValue("i",_result);
1266 return _resultobj;
1267 }
1268
1269 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1270 static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1271 PyObject * _resultobj;
1272 wxListItemAttr * _result;
1273 wxListItem * _arg0;
1274 PyObject * _argo0 = 0;
1275 char *_kwnames[] = { "self", NULL };
1276 char _ptemp[128];
1277
1278 self = self;
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1280 return NULL;
1281 if (_argo0) {
1282 if (_argo0 == Py_None) { _arg0 = NULL; }
1283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1285 return NULL;
1286 }
1287 }
1288 {
1289 wxPy_BEGIN_ALLOW_THREADS;
1290 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
1291
1292 wxPy_END_ALLOW_THREADS;
1293 } if (_result) {
1294 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1295 _resultobj = Py_BuildValue("s",_ptemp);
1296 } else {
1297 Py_INCREF(Py_None);
1298 _resultobj = Py_None;
1299 }
1300 return _resultobj;
1301 }
1302
1303 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1304 static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject * _resultobj;
1306 bool _result;
1307 wxListItem * _arg0;
1308 PyObject * _argo0 = 0;
1309 char *_kwnames[] = { "self", NULL };
1310
1311 self = self;
1312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1313 return NULL;
1314 if (_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_HasAttributes. Expected _wxListItem_p.");
1318 return NULL;
1319 }
1320 }
1321 {
1322 wxPy_BEGIN_ALLOW_THREADS;
1323 _result = (bool )wxListItem_HasAttributes(_arg0);
1324
1325 wxPy_END_ALLOW_THREADS;
1326 } _resultobj = Py_BuildValue("i",_result);
1327 return _resultobj;
1328 }
1329
1330 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1331 static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1332 PyObject * _resultobj;
1333 wxColour * _result;
1334 wxListItem * _arg0;
1335 PyObject * _argo0 = 0;
1336 char *_kwnames[] = { "self", NULL };
1337 char _ptemp[128];
1338
1339 self = self;
1340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1341 return NULL;
1342 if (_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_GetTextColour. Expected _wxListItem_p.");
1346 return NULL;
1347 }
1348 }
1349 {
1350 wxPy_BEGIN_ALLOW_THREADS;
1351 _result = new wxColour (wxListItem_GetTextColour(_arg0));
1352
1353 wxPy_END_ALLOW_THREADS;
1354 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1355 _resultobj = Py_BuildValue("s",_ptemp);
1356 return _resultobj;
1357 }
1358
1359 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1360 static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1361 PyObject * _resultobj;
1362 wxColour * _result;
1363 wxListItem * _arg0;
1364 PyObject * _argo0 = 0;
1365 char *_kwnames[] = { "self", NULL };
1366 char _ptemp[128];
1367
1368 self = self;
1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1370 return NULL;
1371 if (_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_GetBackgroundColour. Expected _wxListItem_p.");
1375 return NULL;
1376 }
1377 }
1378 {
1379 wxPy_BEGIN_ALLOW_THREADS;
1380 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
1381
1382 wxPy_END_ALLOW_THREADS;
1383 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1384 _resultobj = Py_BuildValue("s",_ptemp);
1385 return _resultobj;
1386 }
1387
1388 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1389 static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1390 PyObject * _resultobj;
1391 wxFont * _result;
1392 wxListItem * _arg0;
1393 PyObject * _argo0 = 0;
1394 char *_kwnames[] = { "self", NULL };
1395 char _ptemp[128];
1396
1397 self = self;
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1399 return NULL;
1400 if (_argo0) {
1401 if (_argo0 == Py_None) { _arg0 = NULL; }
1402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1404 return NULL;
1405 }
1406 }
1407 {
1408 wxPy_BEGIN_ALLOW_THREADS;
1409 _result = new wxFont (wxListItem_GetFont(_arg0));
1410
1411 wxPy_END_ALLOW_THREADS;
1412 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1413 _resultobj = Py_BuildValue("s",_ptemp);
1414 return _resultobj;
1415 }
1416
1417 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1418 static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1419 PyObject * _resultobj;
1420 long _result;
1421 wxListItem * _arg0;
1422 long _arg1;
1423 PyObject * _argo0 = 0;
1424 char *_kwnames[] = { "self","m_mask", NULL };
1425
1426 self = self;
1427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1428 return NULL;
1429 if (_argo0) {
1430 if (_argo0 == Py_None) { _arg0 = NULL; }
1431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1433 return NULL;
1434 }
1435 }
1436 {
1437 wxPy_BEGIN_ALLOW_THREADS;
1438 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
1439
1440 wxPy_END_ALLOW_THREADS;
1441 } _resultobj = Py_BuildValue("l",_result);
1442 return _resultobj;
1443 }
1444
1445 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1446 static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1447 PyObject * _resultobj;
1448 long _result;
1449 wxListItem * _arg0;
1450 PyObject * _argo0 = 0;
1451 char *_kwnames[] = { "self", NULL };
1452
1453 self = self;
1454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1455 return NULL;
1456 if (_argo0) {
1457 if (_argo0 == Py_None) { _arg0 = NULL; }
1458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1460 return NULL;
1461 }
1462 }
1463 {
1464 wxPy_BEGIN_ALLOW_THREADS;
1465 _result = (long )wxListItem_m_mask_get(_arg0);
1466
1467 wxPy_END_ALLOW_THREADS;
1468 } _resultobj = Py_BuildValue("l",_result);
1469 return _resultobj;
1470 }
1471
1472 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1473 static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1474 PyObject * _resultobj;
1475 long _result;
1476 wxListItem * _arg0;
1477 long _arg1;
1478 PyObject * _argo0 = 0;
1479 char *_kwnames[] = { "self","m_itemId", NULL };
1480
1481 self = self;
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
1483 return NULL;
1484 if (_argo0) {
1485 if (_argo0 == Py_None) { _arg0 = NULL; }
1486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1488 return NULL;
1489 }
1490 }
1491 {
1492 wxPy_BEGIN_ALLOW_THREADS;
1493 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
1494
1495 wxPy_END_ALLOW_THREADS;
1496 } _resultobj = Py_BuildValue("l",_result);
1497 return _resultobj;
1498 }
1499
1500 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1501 static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1502 PyObject * _resultobj;
1503 long _result;
1504 wxListItem * _arg0;
1505 PyObject * _argo0 = 0;
1506 char *_kwnames[] = { "self", NULL };
1507
1508 self = self;
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1510 return NULL;
1511 if (_argo0) {
1512 if (_argo0 == Py_None) { _arg0 = NULL; }
1513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1515 return NULL;
1516 }
1517 }
1518 {
1519 wxPy_BEGIN_ALLOW_THREADS;
1520 _result = (long )wxListItem_m_itemId_get(_arg0);
1521
1522 wxPy_END_ALLOW_THREADS;
1523 } _resultobj = Py_BuildValue("l",_result);
1524 return _resultobj;
1525 }
1526
1527 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1528 static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject * _resultobj;
1530 int _result;
1531 wxListItem * _arg0;
1532 int _arg1;
1533 PyObject * _argo0 = 0;
1534 char *_kwnames[] = { "self","m_col", NULL };
1535
1536 self = self;
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1538 return NULL;
1539 if (_argo0) {
1540 if (_argo0 == Py_None) { _arg0 = NULL; }
1541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1543 return NULL;
1544 }
1545 }
1546 {
1547 wxPy_BEGIN_ALLOW_THREADS;
1548 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
1549
1550 wxPy_END_ALLOW_THREADS;
1551 } _resultobj = Py_BuildValue("i",_result);
1552 return _resultobj;
1553 }
1554
1555 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1556 static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject * _resultobj;
1558 int _result;
1559 wxListItem * _arg0;
1560 PyObject * _argo0 = 0;
1561 char *_kwnames[] = { "self", NULL };
1562
1563 self = self;
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1565 return NULL;
1566 if (_argo0) {
1567 if (_argo0 == Py_None) { _arg0 = NULL; }
1568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1570 return NULL;
1571 }
1572 }
1573 {
1574 wxPy_BEGIN_ALLOW_THREADS;
1575 _result = (int )wxListItem_m_col_get(_arg0);
1576
1577 wxPy_END_ALLOW_THREADS;
1578 } _resultobj = Py_BuildValue("i",_result);
1579 return _resultobj;
1580 }
1581
1582 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1583 static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject * _resultobj;
1585 long _result;
1586 wxListItem * _arg0;
1587 long _arg1;
1588 PyObject * _argo0 = 0;
1589 char *_kwnames[] = { "self","m_state", NULL };
1590
1591 self = self;
1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1593 return NULL;
1594 if (_argo0) {
1595 if (_argo0 == Py_None) { _arg0 = NULL; }
1596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1598 return NULL;
1599 }
1600 }
1601 {
1602 wxPy_BEGIN_ALLOW_THREADS;
1603 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
1604
1605 wxPy_END_ALLOW_THREADS;
1606 } _resultobj = Py_BuildValue("l",_result);
1607 return _resultobj;
1608 }
1609
1610 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1611 static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1612 PyObject * _resultobj;
1613 long _result;
1614 wxListItem * _arg0;
1615 PyObject * _argo0 = 0;
1616 char *_kwnames[] = { "self", NULL };
1617
1618 self = self;
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1620 return NULL;
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1625 return NULL;
1626 }
1627 }
1628 {
1629 wxPy_BEGIN_ALLOW_THREADS;
1630 _result = (long )wxListItem_m_state_get(_arg0);
1631
1632 wxPy_END_ALLOW_THREADS;
1633 } _resultobj = Py_BuildValue("l",_result);
1634 return _resultobj;
1635 }
1636
1637 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1638 static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1639 PyObject * _resultobj;
1640 long _result;
1641 wxListItem * _arg0;
1642 long _arg1;
1643 PyObject * _argo0 = 0;
1644 char *_kwnames[] = { "self","m_stateMask", NULL };
1645
1646 self = self;
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1648 return NULL;
1649 if (_argo0) {
1650 if (_argo0 == Py_None) { _arg0 = NULL; }
1651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1653 return NULL;
1654 }
1655 }
1656 {
1657 wxPy_BEGIN_ALLOW_THREADS;
1658 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
1659
1660 wxPy_END_ALLOW_THREADS;
1661 } _resultobj = Py_BuildValue("l",_result);
1662 return _resultobj;
1663 }
1664
1665 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1666 static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1667 PyObject * _resultobj;
1668 long _result;
1669 wxListItem * _arg0;
1670 PyObject * _argo0 = 0;
1671 char *_kwnames[] = { "self", NULL };
1672
1673 self = self;
1674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1675 return NULL;
1676 if (_argo0) {
1677 if (_argo0 == Py_None) { _arg0 = NULL; }
1678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1680 return NULL;
1681 }
1682 }
1683 {
1684 wxPy_BEGIN_ALLOW_THREADS;
1685 _result = (long )wxListItem_m_stateMask_get(_arg0);
1686
1687 wxPy_END_ALLOW_THREADS;
1688 } _resultobj = Py_BuildValue("l",_result);
1689 return _resultobj;
1690 }
1691
1692 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1693 static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1694 PyObject * _resultobj;
1695 wxString * _result;
1696 wxListItem * _arg0;
1697 wxString * _arg1;
1698 PyObject * _argo0 = 0;
1699 PyObject * _obj1 = 0;
1700 char *_kwnames[] = { "self","m_text", NULL };
1701
1702 self = self;
1703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1704 return NULL;
1705 if (_argo0) {
1706 if (_argo0 == Py_None) { _arg0 = NULL; }
1707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1709 return NULL;
1710 }
1711 }
1712 {
1713 #if PYTHON_API_VERSION >= 1009
1714 char* tmpPtr; int tmpSize;
1715 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1716 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1717 return NULL;
1718 }
1719 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1720 return NULL;
1721 _arg1 = new wxString(tmpPtr, tmpSize);
1722 #else
1723 if (!PyString_Check(_obj1)) {
1724 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1725 return NULL;
1726 }
1727 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1728 #endif
1729 }
1730 {
1731 wxPy_BEGIN_ALLOW_THREADS;
1732 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
1733
1734 wxPy_END_ALLOW_THREADS;
1735 }{
1736 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1737 }
1738 {
1739 if (_obj1)
1740 delete _arg1;
1741 }
1742 return _resultobj;
1743 }
1744
1745 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1746 static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1747 PyObject * _resultobj;
1748 wxString * _result;
1749 wxListItem * _arg0;
1750 PyObject * _argo0 = 0;
1751 char *_kwnames[] = { "self", NULL };
1752
1753 self = self;
1754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
1755 return NULL;
1756 if (_argo0) {
1757 if (_argo0 == Py_None) { _arg0 = NULL; }
1758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1760 return NULL;
1761 }
1762 }
1763 {
1764 wxPy_BEGIN_ALLOW_THREADS;
1765 _result = (wxString *)wxListItem_m_text_get(_arg0);
1766
1767 wxPy_END_ALLOW_THREADS;
1768 }{
1769 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1770 }
1771 return _resultobj;
1772 }
1773
1774 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1775 static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1776 PyObject * _resultobj;
1777 int _result;
1778 wxListItem * _arg0;
1779 int _arg1;
1780 PyObject * _argo0 = 0;
1781 char *_kwnames[] = { "self","m_image", NULL };
1782
1783 self = self;
1784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
1785 return NULL;
1786 if (_argo0) {
1787 if (_argo0 == Py_None) { _arg0 = NULL; }
1788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1790 return NULL;
1791 }
1792 }
1793 {
1794 wxPy_BEGIN_ALLOW_THREADS;
1795 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
1796
1797 wxPy_END_ALLOW_THREADS;
1798 } _resultobj = Py_BuildValue("i",_result);
1799 return _resultobj;
1800 }
1801
1802 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1803 static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1804 PyObject * _resultobj;
1805 int _result;
1806 wxListItem * _arg0;
1807 PyObject * _argo0 = 0;
1808 char *_kwnames[] = { "self", NULL };
1809
1810 self = self;
1811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
1812 return NULL;
1813 if (_argo0) {
1814 if (_argo0 == Py_None) { _arg0 = NULL; }
1815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1817 return NULL;
1818 }
1819 }
1820 {
1821 wxPy_BEGIN_ALLOW_THREADS;
1822 _result = (int )wxListItem_m_image_get(_arg0);
1823
1824 wxPy_END_ALLOW_THREADS;
1825 } _resultobj = Py_BuildValue("i",_result);
1826 return _resultobj;
1827 }
1828
1829 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1830 static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1831 PyObject * _resultobj;
1832 long _result;
1833 wxListItem * _arg0;
1834 long _arg1;
1835 PyObject * _argo0 = 0;
1836 char *_kwnames[] = { "self","m_data", NULL };
1837
1838 self = self;
1839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
1840 return NULL;
1841 if (_argo0) {
1842 if (_argo0 == Py_None) { _arg0 = NULL; }
1843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1845 return NULL;
1846 }
1847 }
1848 {
1849 wxPy_BEGIN_ALLOW_THREADS;
1850 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
1851
1852 wxPy_END_ALLOW_THREADS;
1853 } _resultobj = Py_BuildValue("l",_result);
1854 return _resultobj;
1855 }
1856
1857 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1858 static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1859 PyObject * _resultobj;
1860 long _result;
1861 wxListItem * _arg0;
1862 PyObject * _argo0 = 0;
1863 char *_kwnames[] = { "self", NULL };
1864
1865 self = self;
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
1867 return NULL;
1868 if (_argo0) {
1869 if (_argo0 == Py_None) { _arg0 = NULL; }
1870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1872 return NULL;
1873 }
1874 }
1875 {
1876 wxPy_BEGIN_ALLOW_THREADS;
1877 _result = (long )wxListItem_m_data_get(_arg0);
1878
1879 wxPy_END_ALLOW_THREADS;
1880 } _resultobj = Py_BuildValue("l",_result);
1881 return _resultobj;
1882 }
1883
1884 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1885 static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1886 PyObject * _resultobj;
1887 int _result;
1888 wxListItem * _arg0;
1889 int _arg1;
1890 PyObject * _argo0 = 0;
1891 char *_kwnames[] = { "self","m_format", NULL };
1892
1893 self = self;
1894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
1895 return NULL;
1896 if (_argo0) {
1897 if (_argo0 == Py_None) { _arg0 = NULL; }
1898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1900 return NULL;
1901 }
1902 }
1903 {
1904 wxPy_BEGIN_ALLOW_THREADS;
1905 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
1906
1907 wxPy_END_ALLOW_THREADS;
1908 } _resultobj = Py_BuildValue("i",_result);
1909 return _resultobj;
1910 }
1911
1912 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1913 static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1914 PyObject * _resultobj;
1915 int _result;
1916 wxListItem * _arg0;
1917 PyObject * _argo0 = 0;
1918 char *_kwnames[] = { "self", NULL };
1919
1920 self = self;
1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
1922 return NULL;
1923 if (_argo0) {
1924 if (_argo0 == Py_None) { _arg0 = NULL; }
1925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1927 return NULL;
1928 }
1929 }
1930 {
1931 wxPy_BEGIN_ALLOW_THREADS;
1932 _result = (int )wxListItem_m_format_get(_arg0);
1933
1934 wxPy_END_ALLOW_THREADS;
1935 } _resultobj = Py_BuildValue("i",_result);
1936 return _resultobj;
1937 }
1938
1939 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1940 static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1941 PyObject * _resultobj;
1942 int _result;
1943 wxListItem * _arg0;
1944 int _arg1;
1945 PyObject * _argo0 = 0;
1946 char *_kwnames[] = { "self","m_width", NULL };
1947
1948 self = self;
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
1950 return NULL;
1951 if (_argo0) {
1952 if (_argo0 == Py_None) { _arg0 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1955 return NULL;
1956 }
1957 }
1958 {
1959 wxPy_BEGIN_ALLOW_THREADS;
1960 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
1961
1962 wxPy_END_ALLOW_THREADS;
1963 } _resultobj = Py_BuildValue("i",_result);
1964 return _resultobj;
1965 }
1966
1967 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1968 static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject * _resultobj;
1970 int _result;
1971 wxListItem * _arg0;
1972 PyObject * _argo0 = 0;
1973 char *_kwnames[] = { "self", NULL };
1974
1975 self = self;
1976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
1977 return NULL;
1978 if (_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_width_get. Expected _wxListItem_p.");
1982 return NULL;
1983 }
1984 }
1985 {
1986 wxPy_BEGIN_ALLOW_THREADS;
1987 _result = (int )wxListItem_m_width_get(_arg0);
1988
1989 wxPy_END_ALLOW_THREADS;
1990 } _resultobj = Py_BuildValue("i",_result);
1991 return _resultobj;
1992 }
1993
1994 static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
1995 wxListEvent *src;
1996 wxNotifyEvent *dest;
1997 src = (wxListEvent *) ptr;
1998 dest = (wxNotifyEvent *) src;
1999 return (void *) dest;
2000 }
2001
2002 static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2003 wxListEvent *src;
2004 wxCommandEvent *dest;
2005 src = (wxListEvent *) ptr;
2006 dest = (wxCommandEvent *) src;
2007 return (void *) dest;
2008 }
2009
2010 static void *SwigwxListEventTowxEvent(void *ptr) {
2011 wxListEvent *src;
2012 wxEvent *dest;
2013 src = (wxListEvent *) ptr;
2014 dest = (wxEvent *) src;
2015 return (void *) dest;
2016 }
2017
2018 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2019 static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2020 PyObject * _resultobj;
2021 int _result;
2022 wxListEvent * _arg0;
2023 int _arg1;
2024 PyObject * _argo0 = 0;
2025 char *_kwnames[] = { "self","m_code", NULL };
2026
2027 self = self;
2028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
2029 return NULL;
2030 if (_argo0) {
2031 if (_argo0 == Py_None) { _arg0 = NULL; }
2032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2034 return NULL;
2035 }
2036 }
2037 {
2038 wxPy_BEGIN_ALLOW_THREADS;
2039 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
2040
2041 wxPy_END_ALLOW_THREADS;
2042 } _resultobj = Py_BuildValue("i",_result);
2043 return _resultobj;
2044 }
2045
2046 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2047 static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2048 PyObject * _resultobj;
2049 int _result;
2050 wxListEvent * _arg0;
2051 PyObject * _argo0 = 0;
2052 char *_kwnames[] = { "self", NULL };
2053
2054 self = self;
2055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
2056 return NULL;
2057 if (_argo0) {
2058 if (_argo0 == Py_None) { _arg0 = NULL; }
2059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2061 return NULL;
2062 }
2063 }
2064 {
2065 wxPy_BEGIN_ALLOW_THREADS;
2066 _result = (int )wxListEvent_m_code_get(_arg0);
2067
2068 wxPy_END_ALLOW_THREADS;
2069 } _resultobj = Py_BuildValue("i",_result);
2070 return _resultobj;
2071 }
2072
2073 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2074 static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2075 PyObject * _resultobj;
2076 long _result;
2077 wxListEvent * _arg0;
2078 long _arg1;
2079 PyObject * _argo0 = 0;
2080 char *_kwnames[] = { "self","m_itemIndex", NULL };
2081
2082 self = self;
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
2084 return NULL;
2085 if (_argo0) {
2086 if (_argo0 == Py_None) { _arg0 = NULL; }
2087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2089 return NULL;
2090 }
2091 }
2092 {
2093 wxPy_BEGIN_ALLOW_THREADS;
2094 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
2095
2096 wxPy_END_ALLOW_THREADS;
2097 } _resultobj = Py_BuildValue("l",_result);
2098 return _resultobj;
2099 }
2100
2101 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2102 static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2103 PyObject * _resultobj;
2104 long _result;
2105 wxListEvent * _arg0;
2106 PyObject * _argo0 = 0;
2107 char *_kwnames[] = { "self", NULL };
2108
2109 self = self;
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
2111 return NULL;
2112 if (_argo0) {
2113 if (_argo0 == Py_None) { _arg0 = NULL; }
2114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2116 return NULL;
2117 }
2118 }
2119 {
2120 wxPy_BEGIN_ALLOW_THREADS;
2121 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
2122
2123 wxPy_END_ALLOW_THREADS;
2124 } _resultobj = Py_BuildValue("l",_result);
2125 return _resultobj;
2126 }
2127
2128 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2129 static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject * _resultobj;
2131 long _result;
2132 wxListEvent * _arg0;
2133 long _arg1;
2134 PyObject * _argo0 = 0;
2135 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
2136
2137 self = self;
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
2139 return NULL;
2140 if (_argo0) {
2141 if (_argo0 == Py_None) { _arg0 = NULL; }
2142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2144 return NULL;
2145 }
2146 }
2147 {
2148 wxPy_BEGIN_ALLOW_THREADS;
2149 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
2150
2151 wxPy_END_ALLOW_THREADS;
2152 } _resultobj = Py_BuildValue("l",_result);
2153 return _resultobj;
2154 }
2155
2156 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2157 static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2158 PyObject * _resultobj;
2159 long _result;
2160 wxListEvent * _arg0;
2161 PyObject * _argo0 = 0;
2162 char *_kwnames[] = { "self", NULL };
2163
2164 self = self;
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
2166 return NULL;
2167 if (_argo0) {
2168 if (_argo0 == Py_None) { _arg0 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2171 return NULL;
2172 }
2173 }
2174 {
2175 wxPy_BEGIN_ALLOW_THREADS;
2176 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
2177
2178 wxPy_END_ALLOW_THREADS;
2179 } _resultobj = Py_BuildValue("l",_result);
2180 return _resultobj;
2181 }
2182
2183 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2184 static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject * _resultobj;
2186 int _result;
2187 wxListEvent * _arg0;
2188 int _arg1;
2189 PyObject * _argo0 = 0;
2190 char *_kwnames[] = { "self","m_col", NULL };
2191
2192 self = self;
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
2194 return NULL;
2195 if (_argo0) {
2196 if (_argo0 == Py_None) { _arg0 = NULL; }
2197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2199 return NULL;
2200 }
2201 }
2202 {
2203 wxPy_BEGIN_ALLOW_THREADS;
2204 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
2205
2206 wxPy_END_ALLOW_THREADS;
2207 } _resultobj = Py_BuildValue("i",_result);
2208 return _resultobj;
2209 }
2210
2211 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2212 static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2213 PyObject * _resultobj;
2214 int _result;
2215 wxListEvent * _arg0;
2216 PyObject * _argo0 = 0;
2217 char *_kwnames[] = { "self", NULL };
2218
2219 self = self;
2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
2221 return NULL;
2222 if (_argo0) {
2223 if (_argo0 == Py_None) { _arg0 = NULL; }
2224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2226 return NULL;
2227 }
2228 }
2229 {
2230 wxPy_BEGIN_ALLOW_THREADS;
2231 _result = (int )wxListEvent_m_col_get(_arg0);
2232
2233 wxPy_END_ALLOW_THREADS;
2234 } _resultobj = Py_BuildValue("i",_result);
2235 return _resultobj;
2236 }
2237
2238 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2239 static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject * _resultobj;
2241 bool _result;
2242 wxListEvent * _arg0;
2243 bool _arg1;
2244 PyObject * _argo0 = 0;
2245 int tempbool1;
2246 char *_kwnames[] = { "self","m_cancelled", NULL };
2247
2248 self = self;
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1))
2250 return NULL;
2251 if (_argo0) {
2252 if (_argo0 == Py_None) { _arg0 = NULL; }
2253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2255 return NULL;
2256 }
2257 }
2258 _arg1 = (bool ) tempbool1;
2259 {
2260 wxPy_BEGIN_ALLOW_THREADS;
2261 _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1);
2262
2263 wxPy_END_ALLOW_THREADS;
2264 } _resultobj = Py_BuildValue("i",_result);
2265 return _resultobj;
2266 }
2267
2268 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2269 static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject * _resultobj;
2271 bool _result;
2272 wxListEvent * _arg0;
2273 PyObject * _argo0 = 0;
2274 char *_kwnames[] = { "self", NULL };
2275
2276 self = self;
2277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0))
2278 return NULL;
2279 if (_argo0) {
2280 if (_argo0 == Py_None) { _arg0 = NULL; }
2281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2283 return NULL;
2284 }
2285 }
2286 {
2287 wxPy_BEGIN_ALLOW_THREADS;
2288 _result = (bool )wxListEvent_m_cancelled_get(_arg0);
2289
2290 wxPy_END_ALLOW_THREADS;
2291 } _resultobj = Py_BuildValue("i",_result);
2292 return _resultobj;
2293 }
2294
2295 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2296 static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2297 PyObject * _resultobj;
2298 wxPoint * _result;
2299 wxListEvent * _arg0;
2300 wxPoint * _arg1;
2301 PyObject * _argo0 = 0;
2302 wxPoint temp;
2303 PyObject * _obj1 = 0;
2304 char *_kwnames[] = { "self","m_pointDrag", NULL };
2305 char _ptemp[128];
2306
2307 self = self;
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
2309 return NULL;
2310 if (_argo0) {
2311 if (_argo0 == Py_None) { _arg0 = NULL; }
2312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2314 return NULL;
2315 }
2316 }
2317 {
2318 _arg1 = &temp;
2319 if (! wxPoint_helper(_obj1, &_arg1))
2320 return NULL;
2321 }
2322 {
2323 wxPy_BEGIN_ALLOW_THREADS;
2324 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
2325
2326 wxPy_END_ALLOW_THREADS;
2327 } if (_result) {
2328 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2329 _resultobj = Py_BuildValue("s",_ptemp);
2330 } else {
2331 Py_INCREF(Py_None);
2332 _resultobj = Py_None;
2333 }
2334 return _resultobj;
2335 }
2336
2337 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2338 static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2339 PyObject * _resultobj;
2340 wxPoint * _result;
2341 wxListEvent * _arg0;
2342 PyObject * _argo0 = 0;
2343 char *_kwnames[] = { "self", NULL };
2344 char _ptemp[128];
2345
2346 self = self;
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
2348 return NULL;
2349 if (_argo0) {
2350 if (_argo0 == Py_None) { _arg0 = NULL; }
2351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2353 return NULL;
2354 }
2355 }
2356 {
2357 wxPy_BEGIN_ALLOW_THREADS;
2358 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
2359
2360 wxPy_END_ALLOW_THREADS;
2361 } if (_result) {
2362 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2363 _resultobj = Py_BuildValue("s",_ptemp);
2364 } else {
2365 Py_INCREF(Py_None);
2366 _resultobj = Py_None;
2367 }
2368 return _resultobj;
2369 }
2370
2371 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2372 static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2373 PyObject * _resultobj;
2374 wxListItem * _result;
2375 wxListEvent * _arg0;
2376 wxListItem * _arg1;
2377 PyObject * _argo0 = 0;
2378 PyObject * _argo1 = 0;
2379 char *_kwnames[] = { "self","m_item", NULL };
2380 char _ptemp[128];
2381
2382 self = self;
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
2384 return NULL;
2385 if (_argo0) {
2386 if (_argo0 == Py_None) { _arg0 = NULL; }
2387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2389 return NULL;
2390 }
2391 }
2392 if (_argo1) {
2393 if (_argo1 == Py_None) { _arg1 = NULL; }
2394 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2395 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2396 return NULL;
2397 }
2398 }
2399 {
2400 wxPy_BEGIN_ALLOW_THREADS;
2401 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
2402
2403 wxPy_END_ALLOW_THREADS;
2404 } if (_result) {
2405 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
2406 _resultobj = Py_BuildValue("s",_ptemp);
2407 } else {
2408 Py_INCREF(Py_None);
2409 _resultobj = Py_None;
2410 }
2411 return _resultobj;
2412 }
2413
2414 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2415 static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2416 PyObject * _resultobj;
2417 wxListItem * _result;
2418 wxListEvent * _arg0;
2419 PyObject * _argo0 = 0;
2420 char *_kwnames[] = { "self", NULL };
2421 char _ptemp[128];
2422
2423 self = self;
2424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
2425 return NULL;
2426 if (_argo0) {
2427 if (_argo0 == Py_None) { _arg0 = NULL; }
2428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2430 return NULL;
2431 }
2432 }
2433 {
2434 wxPy_BEGIN_ALLOW_THREADS;
2435 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
2436
2437 wxPy_END_ALLOW_THREADS;
2438 } if (_result) {
2439 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
2440 _resultobj = Py_BuildValue("s",_ptemp);
2441 } else {
2442 Py_INCREF(Py_None);
2443 _resultobj = Py_None;
2444 }
2445 return _resultobj;
2446 }
2447
2448 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2449 static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject * _resultobj;
2451 int _result;
2452 wxListEvent * _arg0;
2453 PyObject * _argo0 = 0;
2454 char *_kwnames[] = { "self", NULL };
2455
2456 self = self;
2457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
2458 return NULL;
2459 if (_argo0) {
2460 if (_argo0 == Py_None) { _arg0 = NULL; }
2461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2463 return NULL;
2464 }
2465 }
2466 {
2467 wxPy_BEGIN_ALLOW_THREADS;
2468 _result = (int )wxListEvent_GetCode(_arg0);
2469
2470 wxPy_END_ALLOW_THREADS;
2471 } _resultobj = Py_BuildValue("i",_result);
2472 return _resultobj;
2473 }
2474
2475 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2476 static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2477 PyObject * _resultobj;
2478 long _result;
2479 wxListEvent * _arg0;
2480 PyObject * _argo0 = 0;
2481 char *_kwnames[] = { "self", NULL };
2482
2483 self = self;
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
2485 return NULL;
2486 if (_argo0) {
2487 if (_argo0 == Py_None) { _arg0 = NULL; }
2488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2490 return NULL;
2491 }
2492 }
2493 {
2494 wxPy_BEGIN_ALLOW_THREADS;
2495 _result = (long )wxListEvent_GetIndex(_arg0);
2496
2497 wxPy_END_ALLOW_THREADS;
2498 } _resultobj = Py_BuildValue("l",_result);
2499 return _resultobj;
2500 }
2501
2502 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2503 static PyObject *_wrap_wxListEvent_GetOldIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject * _resultobj;
2505 long _result;
2506 wxListEvent * _arg0;
2507 PyObject * _argo0 = 0;
2508 char *_kwnames[] = { "self", NULL };
2509
2510 self = self;
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldIndex",_kwnames,&_argo0))
2512 return NULL;
2513 if (_argo0) {
2514 if (_argo0 == Py_None) { _arg0 = NULL; }
2515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2517 return NULL;
2518 }
2519 }
2520 {
2521 wxPy_BEGIN_ALLOW_THREADS;
2522 _result = (long )wxListEvent_GetOldIndex(_arg0);
2523
2524 wxPy_END_ALLOW_THREADS;
2525 } _resultobj = Py_BuildValue("l",_result);
2526 return _resultobj;
2527 }
2528
2529 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2530 static PyObject *_wrap_wxListEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject * _resultobj;
2532 long _result;
2533 wxListEvent * _arg0;
2534 PyObject * _argo0 = 0;
2535 char *_kwnames[] = { "self", NULL };
2536
2537 self = self;
2538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldItem",_kwnames,&_argo0))
2539 return NULL;
2540 if (_argo0) {
2541 if (_argo0 == Py_None) { _arg0 = NULL; }
2542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2544 return NULL;
2545 }
2546 }
2547 {
2548 wxPy_BEGIN_ALLOW_THREADS;
2549 _result = (long )wxListEvent_GetOldItem(_arg0);
2550
2551 wxPy_END_ALLOW_THREADS;
2552 } _resultobj = Py_BuildValue("l",_result);
2553 return _resultobj;
2554 }
2555
2556 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2557 static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2558 PyObject * _resultobj;
2559 int _result;
2560 wxListEvent * _arg0;
2561 PyObject * _argo0 = 0;
2562 char *_kwnames[] = { "self", NULL };
2563
2564 self = self;
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
2566 return NULL;
2567 if (_argo0) {
2568 if (_argo0 == Py_None) { _arg0 = NULL; }
2569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2571 return NULL;
2572 }
2573 }
2574 {
2575 wxPy_BEGIN_ALLOW_THREADS;
2576 _result = (int )wxListEvent_GetColumn(_arg0);
2577
2578 wxPy_END_ALLOW_THREADS;
2579 } _resultobj = Py_BuildValue("i",_result);
2580 return _resultobj;
2581 }
2582
2583 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2584 static PyObject *_wrap_wxListEvent_Cancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject * _resultobj;
2586 bool _result;
2587 wxListEvent * _arg0;
2588 PyObject * _argo0 = 0;
2589 char *_kwnames[] = { "self", NULL };
2590
2591 self = self;
2592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_Cancelled",_kwnames,&_argo0))
2593 return NULL;
2594 if (_argo0) {
2595 if (_argo0 == Py_None) { _arg0 = NULL; }
2596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2598 return NULL;
2599 }
2600 }
2601 {
2602 wxPy_BEGIN_ALLOW_THREADS;
2603 _result = (bool )wxListEvent_Cancelled(_arg0);
2604
2605 wxPy_END_ALLOW_THREADS;
2606 } _resultobj = Py_BuildValue("i",_result);
2607 return _resultobj;
2608 }
2609
2610 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2611 static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject * _resultobj;
2613 wxPoint * _result;
2614 wxListEvent * _arg0;
2615 PyObject * _argo0 = 0;
2616 char *_kwnames[] = { "self", NULL };
2617 char _ptemp[128];
2618
2619 self = self;
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
2621 return NULL;
2622 if (_argo0) {
2623 if (_argo0 == Py_None) { _arg0 = NULL; }
2624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2626 return NULL;
2627 }
2628 }
2629 {
2630 wxPy_BEGIN_ALLOW_THREADS;
2631 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
2632
2633 wxPy_END_ALLOW_THREADS;
2634 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2635 _resultobj = Py_BuildValue("s",_ptemp);
2636 return _resultobj;
2637 }
2638
2639 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2640 static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
2641 PyObject * _resultobj;
2642 wxString * _result;
2643 wxListEvent * _arg0;
2644 PyObject * _argo0 = 0;
2645 char *_kwnames[] = { "self", NULL };
2646
2647 self = self;
2648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
2649 return NULL;
2650 if (_argo0) {
2651 if (_argo0 == Py_None) { _arg0 = NULL; }
2652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2654 return NULL;
2655 }
2656 }
2657 {
2658 wxPy_BEGIN_ALLOW_THREADS;
2659 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
2660 _result = (wxString *) &_result_ref;
2661
2662 wxPy_END_ALLOW_THREADS;
2663 }{
2664 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2665 }
2666 return _resultobj;
2667 }
2668
2669 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2670 static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2671 PyObject * _resultobj;
2672 wxString * _result;
2673 wxListEvent * _arg0;
2674 PyObject * _argo0 = 0;
2675 char *_kwnames[] = { "self", NULL };
2676
2677 self = self;
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
2679 return NULL;
2680 if (_argo0) {
2681 if (_argo0 == Py_None) { _arg0 = NULL; }
2682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2684 return NULL;
2685 }
2686 }
2687 {
2688 wxPy_BEGIN_ALLOW_THREADS;
2689 const wxString & _result_ref = wxListEvent_GetText(_arg0);
2690 _result = (wxString *) &_result_ref;
2691
2692 wxPy_END_ALLOW_THREADS;
2693 }{
2694 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2695 }
2696 return _resultobj;
2697 }
2698
2699 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2700 static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject * _resultobj;
2702 int _result;
2703 wxListEvent * _arg0;
2704 PyObject * _argo0 = 0;
2705 char *_kwnames[] = { "self", NULL };
2706
2707 self = self;
2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
2709 return NULL;
2710 if (_argo0) {
2711 if (_argo0 == Py_None) { _arg0 = NULL; }
2712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2714 return NULL;
2715 }
2716 }
2717 {
2718 wxPy_BEGIN_ALLOW_THREADS;
2719 _result = (int )wxListEvent_GetImage(_arg0);
2720
2721 wxPy_END_ALLOW_THREADS;
2722 } _resultobj = Py_BuildValue("i",_result);
2723 return _resultobj;
2724 }
2725
2726 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2727 static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject * _resultobj;
2729 long _result;
2730 wxListEvent * _arg0;
2731 PyObject * _argo0 = 0;
2732 char *_kwnames[] = { "self", NULL };
2733
2734 self = self;
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
2736 return NULL;
2737 if (_argo0) {
2738 if (_argo0 == Py_None) { _arg0 = NULL; }
2739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2741 return NULL;
2742 }
2743 }
2744 {
2745 wxPy_BEGIN_ALLOW_THREADS;
2746 _result = (long )wxListEvent_GetData(_arg0);
2747
2748 wxPy_END_ALLOW_THREADS;
2749 } _resultobj = Py_BuildValue("l",_result);
2750 return _resultobj;
2751 }
2752
2753 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2754 static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject * _resultobj;
2756 long _result;
2757 wxListEvent * _arg0;
2758 PyObject * _argo0 = 0;
2759 char *_kwnames[] = { "self", NULL };
2760
2761 self = self;
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
2763 return NULL;
2764 if (_argo0) {
2765 if (_argo0 == Py_None) { _arg0 = NULL; }
2766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2768 return NULL;
2769 }
2770 }
2771 {
2772 wxPy_BEGIN_ALLOW_THREADS;
2773 _result = (long )wxListEvent_GetMask(_arg0);
2774
2775 wxPy_END_ALLOW_THREADS;
2776 } _resultobj = Py_BuildValue("l",_result);
2777 return _resultobj;
2778 }
2779
2780 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2781 static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject * _resultobj;
2783 wxListItem * _result;
2784 wxListEvent * _arg0;
2785 PyObject * _argo0 = 0;
2786 char *_kwnames[] = { "self", NULL };
2787 char _ptemp[128];
2788
2789 self = self;
2790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
2791 return NULL;
2792 if (_argo0) {
2793 if (_argo0 == Py_None) { _arg0 = NULL; }
2794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2796 return NULL;
2797 }
2798 }
2799 {
2800 wxPy_BEGIN_ALLOW_THREADS;
2801 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
2802 _result = (wxListItem *) &_result_ref;
2803
2804 wxPy_END_ALLOW_THREADS;
2805 } if (_result) {
2806 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
2807 _resultobj = Py_BuildValue("s",_ptemp);
2808 } else {
2809 Py_INCREF(Py_None);
2810 _resultobj = Py_None;
2811 }
2812 return _resultobj;
2813 }
2814
2815 static void *SwigwxListCtrlTowxControl(void *ptr) {
2816 wxListCtrl *src;
2817 wxControl *dest;
2818 src = (wxListCtrl *) ptr;
2819 dest = (wxControl *) src;
2820 return (void *) dest;
2821 }
2822
2823 static void *SwigwxListCtrlTowxWindow(void *ptr) {
2824 wxListCtrl *src;
2825 wxWindow *dest;
2826 src = (wxListCtrl *) ptr;
2827 dest = (wxWindow *) src;
2828 return (void *) dest;
2829 }
2830
2831 static void *SwigwxListCtrlTowxEvtHandler(void *ptr) {
2832 wxListCtrl *src;
2833 wxEvtHandler *dest;
2834 src = (wxListCtrl *) ptr;
2835 dest = (wxEvtHandler *) src;
2836 return (void *) dest;
2837 }
2838
2839 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2840 static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2841 PyObject * _resultobj;
2842 wxListCtrl * _result;
2843 wxWindow * _arg0;
2844 wxWindowID _arg1;
2845 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2846 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2847 long _arg4 = (long ) wxLC_ICON;
2848 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
2849 char * _arg6 = (char *) "listCtrl";
2850 PyObject * _argo0 = 0;
2851 wxPoint temp;
2852 PyObject * _obj2 = 0;
2853 wxSize temp0;
2854 PyObject * _obj3 = 0;
2855 PyObject * _argo5 = 0;
2856 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
2857 char _ptemp[128];
2858
2859 self = self;
2860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
2861 return NULL;
2862 if (_argo0) {
2863 if (_argo0 == Py_None) { _arg0 = NULL; }
2864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2866 return NULL;
2867 }
2868 }
2869 if (_obj2)
2870 {
2871 _arg2 = &temp;
2872 if (! wxPoint_helper(_obj2, &_arg2))
2873 return NULL;
2874 }
2875 if (_obj3)
2876 {
2877 _arg3 = &temp0;
2878 if (! wxSize_helper(_obj3, &_arg3))
2879 return NULL;
2880 }
2881 if (_argo5) {
2882 if (_argo5 == Py_None) { _arg5 = NULL; }
2883 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
2884 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2885 return NULL;
2886 }
2887 }
2888 {
2889 wxPy_BEGIN_ALLOW_THREADS;
2890 _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
2891
2892 wxPy_END_ALLOW_THREADS;
2893 } if (_result) {
2894 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p");
2895 _resultobj = Py_BuildValue("s",_ptemp);
2896 } else {
2897 Py_INCREF(Py_None);
2898 _resultobj = Py_None;
2899 }
2900 return _resultobj;
2901 }
2902
2903 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2904 static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
2905 PyObject * _resultobj;
2906 bool _result;
2907 wxListCtrl * _arg0;
2908 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
2909 PyObject * _argo0 = 0;
2910 char *_kwnames[] = { "self","flag", NULL };
2911
2912 self = self;
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
2914 return NULL;
2915 if (_argo0) {
2916 if (_argo0 == Py_None) { _arg0 = NULL; }
2917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2919 return NULL;
2920 }
2921 }
2922 {
2923 wxPy_BEGIN_ALLOW_THREADS;
2924 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
2925
2926 wxPy_END_ALLOW_THREADS;
2927 } _resultobj = Py_BuildValue("i",_result);
2928 return _resultobj;
2929 }
2930
2931 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
2932 static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2933 PyObject * _resultobj;
2934 wxListCtrl * _arg0;
2935 wxImageList * _arg1;
2936 int _arg2;
2937 PyObject * _argo0 = 0;
2938 PyObject * _argo1 = 0;
2939 char *_kwnames[] = { "self","imageList","which", NULL };
2940
2941 self = self;
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
2943 return NULL;
2944 if (_argo0) {
2945 if (_argo0 == Py_None) { _arg0 = NULL; }
2946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxListCtrl_p.");
2948 return NULL;
2949 }
2950 }
2951 if (_argo1) {
2952 if (_argo1 == Py_None) { _arg1 = NULL; }
2953 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
2954 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2955 return NULL;
2956 }
2957 }
2958 {
2959 wxPy_BEGIN_ALLOW_THREADS;
2960 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
2961
2962 wxPy_END_ALLOW_THREADS;
2963 } Py_INCREF(Py_None);
2964 _resultobj = Py_None;
2965 return _resultobj;
2966 }
2967
2968 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2969 static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2970 PyObject * _resultobj;
2971 bool _result;
2972 wxListCtrl * _arg0;
2973 long _arg1;
2974 PyObject * _argo0 = 0;
2975 char *_kwnames[] = { "self","item", NULL };
2976
2977 self = self;
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
2979 return NULL;
2980 if (_argo0) {
2981 if (_argo0 == Py_None) { _arg0 = NULL; }
2982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2984 return NULL;
2985 }
2986 }
2987 {
2988 wxPy_BEGIN_ALLOW_THREADS;
2989 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
2990
2991 wxPy_END_ALLOW_THREADS;
2992 } _resultobj = Py_BuildValue("i",_result);
2993 return _resultobj;
2994 }
2995
2996 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
2997 static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
2998 PyObject * _resultobj;
2999 bool _result;
3000 wxListCtrl * _arg0;
3001 PyObject * _argo0 = 0;
3002 char *_kwnames[] = { "self", NULL };
3003
3004 self = self;
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
3006 return NULL;
3007 if (_argo0) {
3008 if (_argo0 == Py_None) { _arg0 = NULL; }
3009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
3011 return NULL;
3012 }
3013 }
3014 {
3015 wxPy_BEGIN_ALLOW_THREADS;
3016 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
3017
3018 wxPy_END_ALLOW_THREADS;
3019 } _resultobj = Py_BuildValue("i",_result);
3020 return _resultobj;
3021 }
3022
3023 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
3024 static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3025 PyObject * _resultobj;
3026 bool _result;
3027 wxListCtrl * _arg0;
3028 int _arg1;
3029 PyObject * _argo0 = 0;
3030 char *_kwnames[] = { "self","col", NULL };
3031
3032 self = self;
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
3034 return NULL;
3035 if (_argo0) {
3036 if (_argo0 == Py_None) { _arg0 = NULL; }
3037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
3039 return NULL;
3040 }
3041 }
3042 {
3043 wxPy_BEGIN_ALLOW_THREADS;
3044 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
3045
3046 wxPy_END_ALLOW_THREADS;
3047 } _resultobj = Py_BuildValue("i",_result);
3048 return _resultobj;
3049 }
3050
3051 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
3052 static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject * _resultobj;
3054 bool _result;
3055 wxListCtrl * _arg0;
3056 PyObject * _argo0 = 0;
3057 char *_kwnames[] = { "self", NULL };
3058
3059 self = self;
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
3061 return NULL;
3062 if (_argo0) {
3063 if (_argo0 == Py_None) { _arg0 = NULL; }
3064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3066 return NULL;
3067 }
3068 }
3069 {
3070 wxPy_BEGIN_ALLOW_THREADS;
3071 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
3072
3073 wxPy_END_ALLOW_THREADS;
3074 } _resultobj = Py_BuildValue("i",_result);
3075 return _resultobj;
3076 }
3077
3078 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3079 static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject * _resultobj;
3081 wxListCtrl * _arg0;
3082 PyObject * _argo0 = 0;
3083 char *_kwnames[] = { "self", NULL };
3084
3085 self = self;
3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
3087 return NULL;
3088 if (_argo0) {
3089 if (_argo0 == Py_None) { _arg0 = NULL; }
3090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3092 return NULL;
3093 }
3094 }
3095 {
3096 wxPy_BEGIN_ALLOW_THREADS;
3097 wxListCtrl_ClearAll(_arg0);
3098
3099 wxPy_END_ALLOW_THREADS;
3100 } Py_INCREF(Py_None);
3101 _resultobj = Py_None;
3102 return _resultobj;
3103 }
3104
3105 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3106 static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
3107 PyObject * _resultobj;
3108 wxListCtrl * _arg0;
3109 long _arg1;
3110 PyObject * _argo0 = 0;
3111 char *_kwnames[] = { "self","item", NULL };
3112
3113 self = self;
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
3115 return NULL;
3116 if (_argo0) {
3117 if (_argo0 == Py_None) { _arg0 = NULL; }
3118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3120 return NULL;
3121 }
3122 }
3123 {
3124 wxPy_BEGIN_ALLOW_THREADS;
3125 wxListCtrl_EditLabel(_arg0,_arg1);
3126
3127 wxPy_END_ALLOW_THREADS;
3128 } Py_INCREF(Py_None);
3129 _resultobj = Py_None;
3130 return _resultobj;
3131 }
3132
3133 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3134 static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3135 PyObject * _resultobj;
3136 bool _result;
3137 wxListCtrl * _arg0;
3138 long _arg1;
3139 PyObject * _argo0 = 0;
3140 char *_kwnames[] = { "self","item", NULL };
3141
3142 self = self;
3143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
3144 return NULL;
3145 if (_argo0) {
3146 if (_argo0 == Py_None) { _arg0 = NULL; }
3147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3149 return NULL;
3150 }
3151 }
3152 {
3153 wxPy_BEGIN_ALLOW_THREADS;
3154 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
3155
3156 wxPy_END_ALLOW_THREADS;
3157 } _resultobj = Py_BuildValue("i",_result);
3158 return _resultobj;
3159 }
3160
3161 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3162 static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3163 PyObject * _resultobj;
3164 long _result;
3165 wxListCtrl * _arg0;
3166 long _arg1;
3167 wxString * _arg2;
3168 bool _arg3 = (bool ) FALSE;
3169 PyObject * _argo0 = 0;
3170 PyObject * _obj2 = 0;
3171 int tempbool3 = (int) FALSE;
3172 char *_kwnames[] = { "self","start","str","partial", NULL };
3173
3174 self = self;
3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
3176 return NULL;
3177 if (_argo0) {
3178 if (_argo0 == Py_None) { _arg0 = NULL; }
3179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3181 return NULL;
3182 }
3183 }
3184 {
3185 #if PYTHON_API_VERSION >= 1009
3186 char* tmpPtr; int tmpSize;
3187 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3188 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3189 return NULL;
3190 }
3191 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3192 return NULL;
3193 _arg2 = new wxString(tmpPtr, tmpSize);
3194 #else
3195 if (!PyString_Check(_obj2)) {
3196 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3197 return NULL;
3198 }
3199 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3200 #endif
3201 }
3202 _arg3 = (bool ) tempbool3;
3203 {
3204 wxPy_BEGIN_ALLOW_THREADS;
3205 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
3206
3207 wxPy_END_ALLOW_THREADS;
3208 } _resultobj = Py_BuildValue("l",_result);
3209 {
3210 if (_obj2)
3211 delete _arg2;
3212 }
3213 return _resultobj;
3214 }
3215
3216 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3217 static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject * _resultobj;
3219 long _result;
3220 wxListCtrl * _arg0;
3221 long _arg1;
3222 long _arg2;
3223 PyObject * _argo0 = 0;
3224 char *_kwnames[] = { "self","start","data", NULL };
3225
3226 self = self;
3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
3228 return NULL;
3229 if (_argo0) {
3230 if (_argo0 == Py_None) { _arg0 = NULL; }
3231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3233 return NULL;
3234 }
3235 }
3236 {
3237 wxPy_BEGIN_ALLOW_THREADS;
3238 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
3239
3240 wxPy_END_ALLOW_THREADS;
3241 } _resultobj = Py_BuildValue("l",_result);
3242 return _resultobj;
3243 }
3244
3245 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3246 static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject * _resultobj;
3248 long _result;
3249 wxListCtrl * _arg0;
3250 long _arg1;
3251 wxPoint * _arg2;
3252 int _arg3;
3253 PyObject * _argo0 = 0;
3254 wxPoint temp;
3255 PyObject * _obj2 = 0;
3256 char *_kwnames[] = { "self","start","pt","direction", NULL };
3257
3258 self = self;
3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
3260 return NULL;
3261 if (_argo0) {
3262 if (_argo0 == Py_None) { _arg0 = NULL; }
3263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3265 return NULL;
3266 }
3267 }
3268 {
3269 _arg2 = &temp;
3270 if (! wxPoint_helper(_obj2, &_arg2))
3271 return NULL;
3272 }
3273 {
3274 wxPy_BEGIN_ALLOW_THREADS;
3275 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
3276
3277 wxPy_END_ALLOW_THREADS;
3278 } _resultobj = Py_BuildValue("l",_result);
3279 return _resultobj;
3280 }
3281
3282 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3283 static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject * _resultobj;
3285 bool _result;
3286 wxListCtrl * _arg0;
3287 int _arg1;
3288 wxListItem * _arg2;
3289 PyObject * _argo0 = 0;
3290 PyObject * _argo2 = 0;
3291 char *_kwnames[] = { "self","col","item", NULL };
3292
3293 self = self;
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
3295 return NULL;
3296 if (_argo0) {
3297 if (_argo0 == Py_None) { _arg0 = NULL; }
3298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3300 return NULL;
3301 }
3302 }
3303 if (_argo2) {
3304 if (_argo2 == Py_None) { _arg2 = NULL; }
3305 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3306 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3307 return NULL;
3308 }
3309 }
3310 {
3311 wxPy_BEGIN_ALLOW_THREADS;
3312 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
3313
3314 wxPy_END_ALLOW_THREADS;
3315 } _resultobj = Py_BuildValue("i",_result);
3316 return _resultobj;
3317 }
3318
3319 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3320 static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3321 PyObject * _resultobj;
3322 int _result;
3323 wxListCtrl * _arg0;
3324 int _arg1;
3325 PyObject * _argo0 = 0;
3326 char *_kwnames[] = { "self","col", NULL };
3327
3328 self = self;
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
3330 return NULL;
3331 if (_argo0) {
3332 if (_argo0 == Py_None) { _arg0 = NULL; }
3333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3335 return NULL;
3336 }
3337 }
3338 {
3339 wxPy_BEGIN_ALLOW_THREADS;
3340 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
3341
3342 wxPy_END_ALLOW_THREADS;
3343 } _resultobj = Py_BuildValue("i",_result);
3344 return _resultobj;
3345 }
3346
3347 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3348 static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3349 PyObject * _resultobj;
3350 int _result;
3351 wxListCtrl * _arg0;
3352 PyObject * _argo0 = 0;
3353 char *_kwnames[] = { "self", NULL };
3354
3355 self = self;
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
3357 return NULL;
3358 if (_argo0) {
3359 if (_argo0 == Py_None) { _arg0 = NULL; }
3360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3362 return NULL;
3363 }
3364 }
3365 {
3366 wxPy_BEGIN_ALLOW_THREADS;
3367 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
3368
3369 wxPy_END_ALLOW_THREADS;
3370 } _resultobj = Py_BuildValue("i",_result);
3371 return _resultobj;
3372 }
3373
3374 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3375 static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject * _resultobj;
3377 wxImageList * _result;
3378 wxListCtrl * _arg0;
3379 int _arg1;
3380 PyObject * _argo0 = 0;
3381 char *_kwnames[] = { "self","which", NULL };
3382 char _ptemp[128];
3383
3384 self = self;
3385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
3386 return NULL;
3387 if (_argo0) {
3388 if (_argo0 == Py_None) { _arg0 = NULL; }
3389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3391 return NULL;
3392 }
3393 }
3394 {
3395 wxPy_BEGIN_ALLOW_THREADS;
3396 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
3397
3398 wxPy_END_ALLOW_THREADS;
3399 } if (_result) {
3400 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3401 _resultobj = Py_BuildValue("s",_ptemp);
3402 } else {
3403 Py_INCREF(Py_None);
3404 _resultobj = Py_None;
3405 }
3406 return _resultobj;
3407 }
3408
3409 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3410 static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3411 PyObject * _resultobj;
3412 long _result;
3413 wxListCtrl * _arg0;
3414 long _arg1;
3415 PyObject * _argo0 = 0;
3416 char *_kwnames[] = { "self","item", NULL };
3417
3418 self = self;
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
3420 return NULL;
3421 if (_argo0) {
3422 if (_argo0 == Py_None) { _arg0 = NULL; }
3423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3425 return NULL;
3426 }
3427 }
3428 {
3429 wxPy_BEGIN_ALLOW_THREADS;
3430 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
3431
3432 wxPy_END_ALLOW_THREADS;
3433 } _resultobj = Py_BuildValue("l",_result);
3434 return _resultobj;
3435 }
3436
3437 static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId,int col) {
3438 wxListItem* info = new wxListItem;
3439 info->m_itemId = itemId;
3440 info->m_col = col;
3441 info->m_mask = 0xFFFF;
3442 self->GetItem(*info);
3443 return info;
3444 }
3445 static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3446 PyObject * _resultobj;
3447 wxListItem * _result;
3448 wxListCtrl * _arg0;
3449 long _arg1;
3450 int _arg2 = (int ) 0;
3451 PyObject * _argo0 = 0;
3452 char *_kwnames[] = { "self","itemId","col", NULL };
3453 char _ptemp[128];
3454
3455 self = self;
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
3457 return NULL;
3458 if (_argo0) {
3459 if (_argo0 == Py_None) { _arg0 = NULL; }
3460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3462 return NULL;
3463 }
3464 }
3465 {
3466 wxPy_BEGIN_ALLOW_THREADS;
3467 _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1,_arg2);
3468
3469 wxPy_END_ALLOW_THREADS;
3470 } if (_result) {
3471 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
3472 _resultobj = Py_BuildValue("s",_ptemp);
3473 } else {
3474 Py_INCREF(Py_None);
3475 _resultobj = Py_None;
3476 }
3477 return _resultobj;
3478 }
3479
3480 static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
3481 wxPoint* pos = new wxPoint;
3482 self->GetItemPosition(item, *pos);
3483 return pos;
3484 }
3485 static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject * _resultobj;
3487 wxPoint * _result;
3488 wxListCtrl * _arg0;
3489 long _arg1;
3490 PyObject * _argo0 = 0;
3491 char *_kwnames[] = { "self","item", NULL };
3492 char _ptemp[128];
3493
3494 self = self;
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
3496 return NULL;
3497 if (_argo0) {
3498 if (_argo0 == Py_None) { _arg0 = NULL; }
3499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3501 return NULL;
3502 }
3503 }
3504 {
3505 wxPy_BEGIN_ALLOW_THREADS;
3506 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
3507
3508 wxPy_END_ALLOW_THREADS;
3509 } if (_result) {
3510 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3511 _resultobj = Py_BuildValue("s",_ptemp);
3512 } else {
3513 Py_INCREF(Py_None);
3514 _resultobj = Py_None;
3515 }
3516 return _resultobj;
3517 }
3518
3519 static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
3520 wxRect* rect= new wxRect;
3521 self->GetItemRect(item, *rect, code);
3522 return rect;
3523 }
3524 static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3525 PyObject * _resultobj;
3526 wxRect * _result;
3527 wxListCtrl * _arg0;
3528 long _arg1;
3529 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3530 PyObject * _argo0 = 0;
3531 char *_kwnames[] = { "self","item","code", NULL };
3532 char _ptemp[128];
3533
3534 self = self;
3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
3536 return NULL;
3537 if (_argo0) {
3538 if (_argo0 == Py_None) { _arg0 = NULL; }
3539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3541 return NULL;
3542 }
3543 }
3544 {
3545 wxPy_BEGIN_ALLOW_THREADS;
3546 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
3547
3548 wxPy_END_ALLOW_THREADS;
3549 } if (_result) {
3550 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3551 _resultobj = Py_BuildValue("s",_ptemp);
3552 } else {
3553 Py_INCREF(Py_None);
3554 _resultobj = Py_None;
3555 }
3556 return _resultobj;
3557 }
3558
3559 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3560 static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
3561 PyObject * _resultobj;
3562 int _result;
3563 wxListCtrl * _arg0;
3564 long _arg1;
3565 long _arg2;
3566 PyObject * _argo0 = 0;
3567 char *_kwnames[] = { "self","item","stateMask", NULL };
3568
3569 self = self;
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
3571 return NULL;
3572 if (_argo0) {
3573 if (_argo0 == Py_None) { _arg0 = NULL; }
3574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3576 return NULL;
3577 }
3578 }
3579 {
3580 wxPy_BEGIN_ALLOW_THREADS;
3581 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
3582
3583 wxPy_END_ALLOW_THREADS;
3584 } _resultobj = Py_BuildValue("i",_result);
3585 return _resultobj;
3586 }
3587
3588 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3589 static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3590 PyObject * _resultobj;
3591 int _result;
3592 wxListCtrl * _arg0;
3593 PyObject * _argo0 = 0;
3594 char *_kwnames[] = { "self", NULL };
3595
3596 self = self;
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
3598 return NULL;
3599 if (_argo0) {
3600 if (_argo0 == Py_None) { _arg0 = NULL; }
3601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3603 return NULL;
3604 }
3605 }
3606 {
3607 wxPy_BEGIN_ALLOW_THREADS;
3608 _result = (int )wxListCtrl_GetItemCount(_arg0);
3609
3610 wxPy_END_ALLOW_THREADS;
3611 } _resultobj = Py_BuildValue("i",_result);
3612 return _resultobj;
3613 }
3614
3615 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3616 static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
3617 PyObject * _resultobj;
3618 int _result;
3619 wxListCtrl * _arg0;
3620 bool _arg1;
3621 PyObject * _argo0 = 0;
3622 int tempbool1;
3623 char *_kwnames[] = { "self","isSmall", NULL };
3624
3625 self = self;
3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
3627 return NULL;
3628 if (_argo0) {
3629 if (_argo0 == Py_None) { _arg0 = NULL; }
3630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3632 return NULL;
3633 }
3634 }
3635 _arg1 = (bool ) tempbool1;
3636 {
3637 wxPy_BEGIN_ALLOW_THREADS;
3638 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
3639
3640 wxPy_END_ALLOW_THREADS;
3641 } _resultobj = Py_BuildValue("i",_result);
3642 return _resultobj;
3643 }
3644
3645 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3646 static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject * _resultobj;
3648 wxString * _result;
3649 wxListCtrl * _arg0;
3650 long _arg1;
3651 PyObject * _argo0 = 0;
3652 char *_kwnames[] = { "self","item", NULL };
3653
3654 self = self;
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
3656 return NULL;
3657 if (_argo0) {
3658 if (_argo0 == Py_None) { _arg0 = NULL; }
3659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3661 return NULL;
3662 }
3663 }
3664 {
3665 wxPy_BEGIN_ALLOW_THREADS;
3666 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
3667
3668 wxPy_END_ALLOW_THREADS;
3669 }{
3670 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3671 }
3672 {
3673 delete _result;
3674 }
3675 return _resultobj;
3676 }
3677
3678 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3679 static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3680 PyObject * _resultobj;
3681 long _result;
3682 wxListCtrl * _arg0;
3683 long _arg1;
3684 int _arg2 = (int ) (wxLIST_NEXT_ALL);
3685 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
3686 PyObject * _argo0 = 0;
3687 char *_kwnames[] = { "self","item","geometry","state", NULL };
3688
3689 self = self;
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3691 return NULL;
3692 if (_argo0) {
3693 if (_argo0 == Py_None) { _arg0 = NULL; }
3694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3696 return NULL;
3697 }
3698 }
3699 {
3700 wxPy_BEGIN_ALLOW_THREADS;
3701 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
3702
3703 wxPy_END_ALLOW_THREADS;
3704 } _resultobj = Py_BuildValue("l",_result);
3705 return _resultobj;
3706 }
3707
3708 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3709 static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3710 PyObject * _resultobj;
3711 int _result;
3712 wxListCtrl * _arg0;
3713 PyObject * _argo0 = 0;
3714 char *_kwnames[] = { "self", NULL };
3715
3716 self = self;
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
3718 return NULL;
3719 if (_argo0) {
3720 if (_argo0 == Py_None) { _arg0 = NULL; }
3721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3723 return NULL;
3724 }
3725 }
3726 {
3727 wxPy_BEGIN_ALLOW_THREADS;
3728 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
3729
3730 wxPy_END_ALLOW_THREADS;
3731 } _resultobj = Py_BuildValue("i",_result);
3732 return _resultobj;
3733 }
3734
3735 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3736 static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject * _resultobj;
3738 long _result;
3739 wxListCtrl * _arg0;
3740 PyObject * _argo0 = 0;
3741 char *_kwnames[] = { "self", NULL };
3742
3743 self = self;
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
3745 return NULL;
3746 if (_argo0) {
3747 if (_argo0 == Py_None) { _arg0 = NULL; }
3748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3750 return NULL;
3751 }
3752 }
3753 {
3754 wxPy_BEGIN_ALLOW_THREADS;
3755 _result = (long )wxListCtrl_GetTopItem(_arg0);
3756
3757 wxPy_END_ALLOW_THREADS;
3758 } _resultobj = Py_BuildValue("l",_result);
3759 return _resultobj;
3760 }
3761
3762 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3763 static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
3764 PyObject * _resultobj;
3765 long _result;
3766 wxListCtrl * _arg0;
3767 wxPoint * _arg1;
3768 int * _arg2;
3769 int temp;
3770 PyObject * _argo0 = 0;
3771 wxPoint temp0;
3772 PyObject * _obj1 = 0;
3773 char *_kwnames[] = { "self","point", NULL };
3774
3775 self = self;
3776 {
3777 _arg2 = &temp;
3778 }
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
3780 return NULL;
3781 if (_argo0) {
3782 if (_argo0 == Py_None) { _arg0 = NULL; }
3783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3785 return NULL;
3786 }
3787 }
3788 {
3789 _arg1 = &temp0;
3790 if (! wxPoint_helper(_obj1, &_arg1))
3791 return NULL;
3792 }
3793 {
3794 wxPy_BEGIN_ALLOW_THREADS;
3795 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
3796
3797 wxPy_END_ALLOW_THREADS;
3798 } _resultobj = Py_BuildValue("l",_result);
3799 {
3800 PyObject *o;
3801 o = PyInt_FromLong((long) (*_arg2));
3802 _resultobj = t_output_helper(_resultobj, o);
3803 }
3804 return _resultobj;
3805 }
3806
3807 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3808 static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3809 PyObject * _resultobj;
3810 long _result;
3811 wxListCtrl * _arg0;
3812 long _arg1;
3813 wxListItem * _arg2;
3814 PyObject * _argo0 = 0;
3815 PyObject * _argo2 = 0;
3816 char *_kwnames[] = { "self","col","info", NULL };
3817
3818 self = self;
3819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
3820 return NULL;
3821 if (_argo0) {
3822 if (_argo0 == Py_None) { _arg0 = NULL; }
3823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
3825 return NULL;
3826 }
3827 }
3828 if (_argo2) {
3829 if (_argo2 == Py_None) { _arg2 = NULL; }
3830 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3831 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
3832 return NULL;
3833 }
3834 }
3835 {
3836 wxPy_BEGIN_ALLOW_THREADS;
3837 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
3838
3839 wxPy_END_ALLOW_THREADS;
3840 } _resultobj = Py_BuildValue("l",_result);
3841 return _resultobj;
3842 }
3843
3844 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3845 static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3846 PyObject * _resultobj;
3847 long _result;
3848 wxListCtrl * _arg0;
3849 long _arg1;
3850 wxString * _arg2;
3851 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
3852 int _arg4 = (int ) -1;
3853 PyObject * _argo0 = 0;
3854 PyObject * _obj2 = 0;
3855 char *_kwnames[] = { "self","col","heading","format","width", NULL };
3856
3857 self = self;
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
3859 return NULL;
3860 if (_argo0) {
3861 if (_argo0 == Py_None) { _arg0 = NULL; }
3862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
3864 return NULL;
3865 }
3866 }
3867 {
3868 #if PYTHON_API_VERSION >= 1009
3869 char* tmpPtr; int tmpSize;
3870 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3871 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3872 return NULL;
3873 }
3874 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3875 return NULL;
3876 _arg2 = new wxString(tmpPtr, tmpSize);
3877 #else
3878 if (!PyString_Check(_obj2)) {
3879 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3880 return NULL;
3881 }
3882 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3883 #endif
3884 }
3885 {
3886 wxPy_BEGIN_ALLOW_THREADS;
3887 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
3888
3889 wxPy_END_ALLOW_THREADS;
3890 } _resultobj = Py_BuildValue("l",_result);
3891 {
3892 if (_obj2)
3893 delete _arg2;
3894 }
3895 return _resultobj;
3896 }
3897
3898 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
3899 static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3900 PyObject * _resultobj;
3901 long _result;
3902 wxListCtrl * _arg0;
3903 wxListItem * _arg1;
3904 PyObject * _argo0 = 0;
3905 PyObject * _argo1 = 0;
3906 char *_kwnames[] = { "self","info", NULL };
3907
3908 self = self;
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
3910 return NULL;
3911 if (_argo0) {
3912 if (_argo0 == Py_None) { _arg0 = NULL; }
3913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
3915 return NULL;
3916 }
3917 }
3918 if (_argo1) {
3919 if (_argo1 == Py_None) { _arg1 = NULL; }
3920 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3921 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
3922 return NULL;
3923 }
3924 }
3925 {
3926 wxPy_BEGIN_ALLOW_THREADS;
3927 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
3928
3929 wxPy_END_ALLOW_THREADS;
3930 } _resultobj = Py_BuildValue("l",_result);
3931 return _resultobj;
3932 }
3933
3934 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3935 static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3936 PyObject * _resultobj;
3937 long _result;
3938 wxListCtrl * _arg0;
3939 long _arg1;
3940 wxString * _arg2;
3941 PyObject * _argo0 = 0;
3942 PyObject * _obj2 = 0;
3943 char *_kwnames[] = { "self","index","label", NULL };
3944
3945 self = self;
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
3947 return NULL;
3948 if (_argo0) {
3949 if (_argo0 == Py_None) { _arg0 = NULL; }
3950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
3952 return NULL;
3953 }
3954 }
3955 {
3956 #if PYTHON_API_VERSION >= 1009
3957 char* tmpPtr; int tmpSize;
3958 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3959 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3960 return NULL;
3961 }
3962 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3963 return NULL;
3964 _arg2 = new wxString(tmpPtr, tmpSize);
3965 #else
3966 if (!PyString_Check(_obj2)) {
3967 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3968 return NULL;
3969 }
3970 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3971 #endif
3972 }
3973 {
3974 wxPy_BEGIN_ALLOW_THREADS;
3975 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
3976
3977 wxPy_END_ALLOW_THREADS;
3978 } _resultobj = Py_BuildValue("l",_result);
3979 {
3980 if (_obj2)
3981 delete _arg2;
3982 }
3983 return _resultobj;
3984 }
3985
3986 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3987 static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3988 PyObject * _resultobj;
3989 long _result;
3990 wxListCtrl * _arg0;
3991 long _arg1;
3992 int _arg2;
3993 PyObject * _argo0 = 0;
3994 char *_kwnames[] = { "self","index","imageIndex", NULL };
3995
3996 self = self;
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
3998 return NULL;
3999 if (_argo0) {
4000 if (_argo0 == Py_None) { _arg0 = NULL; }
4001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
4003 return NULL;
4004 }
4005 }
4006 {
4007 wxPy_BEGIN_ALLOW_THREADS;
4008 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
4009
4010 wxPy_END_ALLOW_THREADS;
4011 } _resultobj = Py_BuildValue("l",_result);
4012 return _resultobj;
4013 }
4014
4015 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4016 static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject * _resultobj;
4018 long _result;
4019 wxListCtrl * _arg0;
4020 long _arg1;
4021 wxString * _arg2;
4022 int _arg3;
4023 PyObject * _argo0 = 0;
4024 PyObject * _obj2 = 0;
4025 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
4026
4027 self = self;
4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
4029 return NULL;
4030 if (_argo0) {
4031 if (_argo0 == Py_None) { _arg0 = NULL; }
4032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
4034 return NULL;
4035 }
4036 }
4037 {
4038 #if PYTHON_API_VERSION >= 1009
4039 char* tmpPtr; int tmpSize;
4040 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4041 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4042 return NULL;
4043 }
4044 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4045 return NULL;
4046 _arg2 = new wxString(tmpPtr, tmpSize);
4047 #else
4048 if (!PyString_Check(_obj2)) {
4049 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4050 return NULL;
4051 }
4052 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4053 #endif
4054 }
4055 {
4056 wxPy_BEGIN_ALLOW_THREADS;
4057 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
4058
4059 wxPy_END_ALLOW_THREADS;
4060 } _resultobj = Py_BuildValue("l",_result);
4061 {
4062 if (_obj2)
4063 delete _arg2;
4064 }
4065 return _resultobj;
4066 }
4067
4068 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4069 static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
4070 PyObject * _resultobj;
4071 bool _result;
4072 wxListCtrl * _arg0;
4073 int _arg1;
4074 int _arg2;
4075 PyObject * _argo0 = 0;
4076 char *_kwnames[] = { "self","dx","dy", NULL };
4077
4078 self = self;
4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
4080 return NULL;
4081 if (_argo0) {
4082 if (_argo0 == Py_None) { _arg0 = NULL; }
4083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4085 return NULL;
4086 }
4087 }
4088 {
4089 wxPy_BEGIN_ALLOW_THREADS;
4090 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
4091
4092 wxPy_END_ALLOW_THREADS;
4093 } _resultobj = Py_BuildValue("i",_result);
4094 return _resultobj;
4095 }
4096
4097 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4098 static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4099 PyObject * _resultobj;
4100 wxListCtrl * _arg0;
4101 wxColour * _arg1;
4102 PyObject * _argo0 = 0;
4103 wxColour temp;
4104 PyObject * _obj1 = 0;
4105 char *_kwnames[] = { "self","col", NULL };
4106
4107 self = self;
4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
4109 return NULL;
4110 if (_argo0) {
4111 if (_argo0 == Py_None) { _arg0 = NULL; }
4112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4114 return NULL;
4115 }
4116 }
4117 {
4118 _arg1 = &temp;
4119 if (! wxColour_helper(_obj1, &_arg1))
4120 return NULL;
4121 }
4122 {
4123 wxPy_BEGIN_ALLOW_THREADS;
4124 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
4125
4126 wxPy_END_ALLOW_THREADS;
4127 } Py_INCREF(Py_None);
4128 _resultobj = Py_None;
4129 return _resultobj;
4130 }
4131
4132 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4133 static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4134 PyObject * _resultobj;
4135 bool _result;
4136 wxListCtrl * _arg0;
4137 int _arg1;
4138 wxListItem * _arg2;
4139 PyObject * _argo0 = 0;
4140 PyObject * _argo2 = 0;
4141 char *_kwnames[] = { "self","col","item", NULL };
4142
4143 self = self;
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
4145 return NULL;
4146 if (_argo0) {
4147 if (_argo0 == Py_None) { _arg0 = NULL; }
4148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4150 return NULL;
4151 }
4152 }
4153 if (_argo2) {
4154 if (_argo2 == Py_None) { _arg2 = NULL; }
4155 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4156 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4157 return NULL;
4158 }
4159 }
4160 {
4161 wxPy_BEGIN_ALLOW_THREADS;
4162 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
4163
4164 wxPy_END_ALLOW_THREADS;
4165 } _resultobj = Py_BuildValue("i",_result);
4166 return _resultobj;
4167 }
4168
4169 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4170 static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4171 PyObject * _resultobj;
4172 bool _result;
4173 wxListCtrl * _arg0;
4174 int _arg1;
4175 int _arg2;
4176 PyObject * _argo0 = 0;
4177 char *_kwnames[] = { "self","col","width", NULL };
4178
4179 self = self;
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
4181 return NULL;
4182 if (_argo0) {
4183 if (_argo0 == Py_None) { _arg0 = NULL; }
4184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4186 return NULL;
4187 }
4188 }
4189 {
4190 wxPy_BEGIN_ALLOW_THREADS;
4191 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
4192
4193 wxPy_END_ALLOW_THREADS;
4194 } _resultobj = Py_BuildValue("i",_result);
4195 return _resultobj;
4196 }
4197
4198 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4199 static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4200 PyObject * _resultobj;
4201 wxListCtrl * _arg0;
4202 wxImageList * _arg1;
4203 int _arg2;
4204 PyObject * _argo0 = 0;
4205 PyObject * _argo1 = 0;
4206 char *_kwnames[] = { "self","imageList","which", NULL };
4207
4208 self = self;
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
4210 return NULL;
4211 if (_argo0) {
4212 if (_argo0 == Py_None) { _arg0 = NULL; }
4213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4215 return NULL;
4216 }
4217 }
4218 if (_argo1) {
4219 if (_argo1 == Py_None) { _arg1 = NULL; }
4220 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4221 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4222 return NULL;
4223 }
4224 }
4225 {
4226 wxPy_BEGIN_ALLOW_THREADS;
4227 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
4228
4229 wxPy_END_ALLOW_THREADS;
4230 } Py_INCREF(Py_None);
4231 _resultobj = Py_None;
4232 return _resultobj;
4233 }
4234
4235 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4236 static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4237 PyObject * _resultobj;
4238 bool _result;
4239 wxListCtrl * _arg0;
4240 wxListItem * _arg1;
4241 PyObject * _argo0 = 0;
4242 PyObject * _argo1 = 0;
4243 char *_kwnames[] = { "self","info", NULL };
4244
4245 self = self;
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
4247 return NULL;
4248 if (_argo0) {
4249 if (_argo0 == Py_None) { _arg0 = NULL; }
4250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4252 return NULL;
4253 }
4254 }
4255 if (_argo1) {
4256 if (_argo1 == Py_None) { _arg1 = NULL; }
4257 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
4258 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4259 return NULL;
4260 }
4261 }
4262 {
4263 wxPy_BEGIN_ALLOW_THREADS;
4264 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
4265
4266 wxPy_END_ALLOW_THREADS;
4267 } _resultobj = Py_BuildValue("i",_result);
4268 return _resultobj;
4269 }
4270
4271 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4272 static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject * _resultobj;
4274 long _result;
4275 wxListCtrl * _arg0;
4276 long _arg1;
4277 int _arg2;
4278 wxString * _arg3;
4279 int _arg4 = (int ) -1;
4280 PyObject * _argo0 = 0;
4281 PyObject * _obj3 = 0;
4282 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
4283
4284 self = self;
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
4286 return NULL;
4287 if (_argo0) {
4288 if (_argo0 == Py_None) { _arg0 = NULL; }
4289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4291 return NULL;
4292 }
4293 }
4294 {
4295 #if PYTHON_API_VERSION >= 1009
4296 char* tmpPtr; int tmpSize;
4297 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4298 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4299 return NULL;
4300 }
4301 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4302 return NULL;
4303 _arg3 = new wxString(tmpPtr, tmpSize);
4304 #else
4305 if (!PyString_Check(_obj3)) {
4306 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4307 return NULL;
4308 }
4309 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4310 #endif
4311 }
4312 {
4313 wxPy_BEGIN_ALLOW_THREADS;
4314 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
4315
4316 wxPy_END_ALLOW_THREADS;
4317 } _resultobj = Py_BuildValue("l",_result);
4318 {
4319 if (_obj3)
4320 delete _arg3;
4321 }
4322 return _resultobj;
4323 }
4324
4325 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4326 static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject * _resultobj;
4328 bool _result;
4329 wxListCtrl * _arg0;
4330 long _arg1;
4331 long _arg2;
4332 PyObject * _argo0 = 0;
4333 char *_kwnames[] = { "self","item","data", NULL };
4334
4335 self = self;
4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
4337 return NULL;
4338 if (_argo0) {
4339 if (_argo0 == Py_None) { _arg0 = NULL; }
4340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4342 return NULL;
4343 }
4344 }
4345 {
4346 wxPy_BEGIN_ALLOW_THREADS;
4347 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
4348
4349 wxPy_END_ALLOW_THREADS;
4350 } _resultobj = Py_BuildValue("i",_result);
4351 return _resultobj;
4352 }
4353
4354 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4355 static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4356 PyObject * _resultobj;
4357 bool _result;
4358 wxListCtrl * _arg0;
4359 long _arg1;
4360 int _arg2;
4361 int _arg3;
4362 PyObject * _argo0 = 0;
4363 char *_kwnames[] = { "self","item","image","selImage", NULL };
4364
4365 self = self;
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4367 return NULL;
4368 if (_argo0) {
4369 if (_argo0 == Py_None) { _arg0 = NULL; }
4370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4372 return NULL;
4373 }
4374 }
4375 {
4376 wxPy_BEGIN_ALLOW_THREADS;
4377 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
4378
4379 wxPy_END_ALLOW_THREADS;
4380 } _resultobj = Py_BuildValue("i",_result);
4381 return _resultobj;
4382 }
4383
4384 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4385 static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4386 PyObject * _resultobj;
4387 bool _result;
4388 wxListCtrl * _arg0;
4389 long _arg1;
4390 wxPoint * _arg2;
4391 PyObject * _argo0 = 0;
4392 wxPoint temp;
4393 PyObject * _obj2 = 0;
4394 char *_kwnames[] = { "self","item","pos", NULL };
4395
4396 self = self;
4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
4398 return NULL;
4399 if (_argo0) {
4400 if (_argo0 == Py_None) { _arg0 = NULL; }
4401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4403 return NULL;
4404 }
4405 }
4406 {
4407 _arg2 = &temp;
4408 if (! wxPoint_helper(_obj2, &_arg2))
4409 return NULL;
4410 }
4411 {
4412 wxPy_BEGIN_ALLOW_THREADS;
4413 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
4414
4415 wxPy_END_ALLOW_THREADS;
4416 } _resultobj = Py_BuildValue("i",_result);
4417 return _resultobj;
4418 }
4419
4420 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4421 static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
4422 PyObject * _resultobj;
4423 bool _result;
4424 wxListCtrl * _arg0;
4425 long _arg1;
4426 long _arg2;
4427 long _arg3;
4428 PyObject * _argo0 = 0;
4429 char *_kwnames[] = { "self","item","state","stateMask", NULL };
4430
4431 self = self;
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4433 return NULL;
4434 if (_argo0) {
4435 if (_argo0 == Py_None) { _arg0 = NULL; }
4436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4438 return NULL;
4439 }
4440 }
4441 {
4442 wxPy_BEGIN_ALLOW_THREADS;
4443 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
4444
4445 wxPy_END_ALLOW_THREADS;
4446 } _resultobj = Py_BuildValue("i",_result);
4447 return _resultobj;
4448 }
4449
4450 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4451 static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject * _resultobj;
4453 wxListCtrl * _arg0;
4454 long _arg1;
4455 wxString * _arg2;
4456 PyObject * _argo0 = 0;
4457 PyObject * _obj2 = 0;
4458 char *_kwnames[] = { "self","item","text", NULL };
4459
4460 self = self;
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
4462 return NULL;
4463 if (_argo0) {
4464 if (_argo0 == Py_None) { _arg0 = NULL; }
4465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4467 return NULL;
4468 }
4469 }
4470 {
4471 #if PYTHON_API_VERSION >= 1009
4472 char* tmpPtr; int tmpSize;
4473 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4474 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4475 return NULL;
4476 }
4477 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4478 return NULL;
4479 _arg2 = new wxString(tmpPtr, tmpSize);
4480 #else
4481 if (!PyString_Check(_obj2)) {
4482 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4483 return NULL;
4484 }
4485 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4486 #endif
4487 }
4488 {
4489 wxPy_BEGIN_ALLOW_THREADS;
4490 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
4491
4492 wxPy_END_ALLOW_THREADS;
4493 } Py_INCREF(Py_None);
4494 _resultobj = Py_None;
4495 {
4496 if (_obj2)
4497 delete _arg2;
4498 }
4499 return _resultobj;
4500 }
4501
4502 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4503 static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject * _resultobj;
4505 wxListCtrl * _arg0;
4506 long _arg1;
4507 bool _arg2 = (bool ) TRUE;
4508 PyObject * _argo0 = 0;
4509 int tempbool2 = (int) TRUE;
4510 char *_kwnames[] = { "self","style","add", NULL };
4511
4512 self = self;
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
4514 return NULL;
4515 if (_argo0) {
4516 if (_argo0 == Py_None) { _arg0 = NULL; }
4517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4519 return NULL;
4520 }
4521 }
4522 _arg2 = (bool ) tempbool2;
4523 {
4524 wxPy_BEGIN_ALLOW_THREADS;
4525 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
4526
4527 wxPy_END_ALLOW_THREADS;
4528 } Py_INCREF(Py_None);
4529 _resultobj = Py_None;
4530 return _resultobj;
4531 }
4532
4533 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4534 static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject * _resultobj;
4536 wxListCtrl * _arg0;
4537 long _arg1;
4538 PyObject * _argo0 = 0;
4539 char *_kwnames[] = { "self","style", NULL };
4540
4541 self = self;
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
4543 return NULL;
4544 if (_argo0) {
4545 if (_argo0 == Py_None) { _arg0 = NULL; }
4546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4548 return NULL;
4549 }
4550 }
4551 {
4552 wxPy_BEGIN_ALLOW_THREADS;
4553 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
4554
4555 wxPy_END_ALLOW_THREADS;
4556 } Py_INCREF(Py_None);
4557 _resultobj = Py_None;
4558 return _resultobj;
4559 }
4560
4561 static bool wxListCtrl_SortItems(wxListCtrl *self,PyObject * func) {
4562 if (!PyCallable_Check(func))
4563 return FALSE;
4564
4565 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
4566 }
4567 static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4568 PyObject * _resultobj;
4569 bool _result;
4570 wxListCtrl * _arg0;
4571 PyObject * _arg1;
4572 PyObject * _argo0 = 0;
4573 PyObject * _obj1 = 0;
4574 char *_kwnames[] = { "self","func", NULL };
4575
4576 self = self;
4577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
4578 return NULL;
4579 if (_argo0) {
4580 if (_argo0 == Py_None) { _arg0 = NULL; }
4581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4583 return NULL;
4584 }
4585 }
4586 {
4587 _arg1 = _obj1;
4588 }
4589 {
4590 wxPy_BEGIN_ALLOW_THREADS;
4591 _result = (bool )wxListCtrl_SortItems(_arg0,_arg1);
4592
4593 wxPy_END_ALLOW_THREADS;
4594 } _resultobj = Py_BuildValue("i",_result);
4595 return _resultobj;
4596 }
4597
4598 #define new_wxTreeItemId() (new wxTreeItemId())
4599 static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
4600 PyObject * _resultobj;
4601 wxTreeItemId * _result;
4602 char *_kwnames[] = { NULL };
4603 char _ptemp[128];
4604
4605 self = self;
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
4607 return NULL;
4608 {
4609 wxPy_BEGIN_ALLOW_THREADS;
4610 _result = (wxTreeItemId *)new_wxTreeItemId();
4611
4612 wxPy_END_ALLOW_THREADS;
4613 } if (_result) {
4614 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
4615 _resultobj = Py_BuildValue("s",_ptemp);
4616 } else {
4617 Py_INCREF(Py_None);
4618 _resultobj = Py_None;
4619 }
4620 return _resultobj;
4621 }
4622
4623 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4624 static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject * _resultobj;
4626 wxTreeItemId * _arg0;
4627 PyObject * _argo0 = 0;
4628 char *_kwnames[] = { "self", NULL };
4629
4630 self = self;
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
4632 return NULL;
4633 if (_argo0) {
4634 if (_argo0 == Py_None) { _arg0 = NULL; }
4635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
4636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4637 return NULL;
4638 }
4639 }
4640 {
4641 wxPy_BEGIN_ALLOW_THREADS;
4642 delete_wxTreeItemId(_arg0);
4643
4644 wxPy_END_ALLOW_THREADS;
4645 } Py_INCREF(Py_None);
4646 _resultobj = Py_None;
4647 return _resultobj;
4648 }
4649
4650 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4651 static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4652 PyObject * _resultobj;
4653 bool _result;
4654 wxTreeItemId * _arg0;
4655 PyObject * _argo0 = 0;
4656 char *_kwnames[] = { "self", NULL };
4657
4658 self = self;
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
4660 return NULL;
4661 if (_argo0) {
4662 if (_argo0 == Py_None) { _arg0 = NULL; }
4663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
4664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4665 return NULL;
4666 }
4667 }
4668 {
4669 wxPy_BEGIN_ALLOW_THREADS;
4670 _result = (bool )wxTreeItemId_IsOk(_arg0);
4671
4672 wxPy_END_ALLOW_THREADS;
4673 } _resultobj = Py_BuildValue("i",_result);
4674 return _resultobj;
4675 }
4676
4677 static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
4678 if (! other) return -1;
4679 return *self != *other;
4680 }
4681 static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject * _resultobj;
4683 int _result;
4684 wxTreeItemId * _arg0;
4685 wxTreeItemId * _arg1;
4686 PyObject * _argo0 = 0;
4687 PyObject * _argo1 = 0;
4688 char *_kwnames[] = { "self","other", NULL };
4689
4690 self = self;
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
4692 return NULL;
4693 if (_argo0) {
4694 if (_argo0 == Py_None) { _arg0 = NULL; }
4695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
4696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4697 return NULL;
4698 }
4699 }
4700 if (_argo1) {
4701 if (_argo1 == Py_None) { _arg1 = NULL; }
4702 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4703 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4704 return NULL;
4705 }
4706 }
4707 {
4708 wxPy_BEGIN_ALLOW_THREADS;
4709 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
4710
4711 wxPy_END_ALLOW_THREADS;
4712 } _resultobj = Py_BuildValue("i",_result);
4713 return _resultobj;
4714 }
4715
4716 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4717 static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
4718 PyObject * _resultobj;
4719 wxPyTreeItemData * _result;
4720 PyObject * _arg0 = (PyObject *) NULL;
4721 PyObject * _obj0 = 0;
4722 char *_kwnames[] = { "obj", NULL };
4723 char _ptemp[128];
4724
4725 self = self;
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
4727 return NULL;
4728 if (_obj0)
4729 {
4730 _arg0 = _obj0;
4731 }
4732 {
4733 wxPy_BEGIN_ALLOW_THREADS;
4734 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
4735
4736 wxPy_END_ALLOW_THREADS;
4737 } if (_result) {
4738 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
4739 _resultobj = Py_BuildValue("s",_ptemp);
4740 } else {
4741 Py_INCREF(Py_None);
4742 _resultobj = Py_None;
4743 }
4744 return _resultobj;
4745 }
4746
4747 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4748 static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
4749 PyObject * _resultobj;
4750 PyObject * _result;
4751 wxPyTreeItemData * _arg0;
4752 PyObject * _argo0 = 0;
4753 char *_kwnames[] = { "self", NULL };
4754
4755 self = self;
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
4757 return NULL;
4758 if (_argo0) {
4759 if (_argo0 == Py_None) { _arg0 = NULL; }
4760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
4761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4762 return NULL;
4763 }
4764 }
4765 {
4766 wxPy_BEGIN_ALLOW_THREADS;
4767 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
4768
4769 wxPy_END_ALLOW_THREADS;
4770 }{
4771 _resultobj = _result;
4772 }
4773 return _resultobj;
4774 }
4775
4776 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4777 static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
4778 PyObject * _resultobj;
4779 wxPyTreeItemData * _arg0;
4780 PyObject * _arg1;
4781 PyObject * _argo0 = 0;
4782 PyObject * _obj1 = 0;
4783 char *_kwnames[] = { "self","obj", NULL };
4784
4785 self = self;
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
4787 return NULL;
4788 if (_argo0) {
4789 if (_argo0 == Py_None) { _arg0 = NULL; }
4790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
4791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4792 return NULL;
4793 }
4794 }
4795 {
4796 _arg1 = _obj1;
4797 }
4798 {
4799 wxPy_BEGIN_ALLOW_THREADS;
4800 wxTreeItemData_SetData(_arg0,_arg1);
4801
4802 wxPy_END_ALLOW_THREADS;
4803 } Py_INCREF(Py_None);
4804 _resultobj = Py_None;
4805 return _resultobj;
4806 }
4807
4808 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4809 static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject * _resultobj;
4811 wxTreeItemId * _result;
4812 wxPyTreeItemData * _arg0;
4813 PyObject * _argo0 = 0;
4814 char *_kwnames[] = { "self", NULL };
4815 char _ptemp[128];
4816
4817 self = self;
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
4819 return NULL;
4820 if (_argo0) {
4821 if (_argo0 == Py_None) { _arg0 = NULL; }
4822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
4823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4824 return NULL;
4825 }
4826 }
4827 {
4828 wxPy_BEGIN_ALLOW_THREADS;
4829 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
4830 _result = (wxTreeItemId *) &_result_ref;
4831
4832 wxPy_END_ALLOW_THREADS;
4833 } if (_result) {
4834 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
4835 _resultobj = Py_BuildValue("s",_ptemp);
4836 } else {
4837 Py_INCREF(Py_None);
4838 _resultobj = Py_None;
4839 }
4840 return _resultobj;
4841 }
4842
4843 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4844 static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject * _resultobj;
4846 wxPyTreeItemData * _arg0;
4847 wxTreeItemId * _arg1;
4848 PyObject * _argo0 = 0;
4849 PyObject * _argo1 = 0;
4850 char *_kwnames[] = { "self","id", NULL };
4851
4852 self = self;
4853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
4854 return NULL;
4855 if (_argo0) {
4856 if (_argo0 == Py_None) { _arg0 = NULL; }
4857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
4858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
4859 return NULL;
4860 }
4861 }
4862 if (_argo1) {
4863 if (_argo1 == Py_None) { _arg1 = NULL; }
4864 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4865 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
4866 return NULL;
4867 }
4868 }
4869 {
4870 wxPy_BEGIN_ALLOW_THREADS;
4871 wxTreeItemData_SetId(_arg0,*_arg1);
4872
4873 wxPy_END_ALLOW_THREADS;
4874 } Py_INCREF(Py_None);
4875 _resultobj = Py_None;
4876 return _resultobj;
4877 }
4878
4879 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
4880 wxTreeEvent *src;
4881 wxNotifyEvent *dest;
4882 src = (wxTreeEvent *) ptr;
4883 dest = (wxNotifyEvent *) src;
4884 return (void *) dest;
4885 }
4886
4887 static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
4888 wxTreeEvent *src;
4889 wxCommandEvent *dest;
4890 src = (wxTreeEvent *) ptr;
4891 dest = (wxCommandEvent *) src;
4892 return (void *) dest;
4893 }
4894
4895 static void *SwigwxTreeEventTowxEvent(void *ptr) {
4896 wxTreeEvent *src;
4897 wxEvent *dest;
4898 src = (wxTreeEvent *) ptr;
4899 dest = (wxEvent *) src;
4900 return (void *) dest;
4901 }
4902
4903 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
4904 static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject * _resultobj;
4906 wxTreeItemId * _result;
4907 wxTreeEvent * _arg0;
4908 PyObject * _argo0 = 0;
4909 char *_kwnames[] = { "self", NULL };
4910 char _ptemp[128];
4911
4912 self = self;
4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
4914 return NULL;
4915 if (_argo0) {
4916 if (_argo0 == Py_None) { _arg0 = NULL; }
4917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
4918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
4919 return NULL;
4920 }
4921 }
4922 {
4923 wxPy_BEGIN_ALLOW_THREADS;
4924 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
4925
4926 wxPy_END_ALLOW_THREADS;
4927 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4928 _resultobj = Py_BuildValue("s",_ptemp);
4929 return _resultobj;
4930 }
4931
4932 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
4933 static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4934 PyObject * _resultobj;
4935 wxTreeItemId * _result;
4936 wxTreeEvent * _arg0;
4937 PyObject * _argo0 = 0;
4938 char *_kwnames[] = { "self", NULL };
4939 char _ptemp[128];
4940
4941 self = self;
4942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
4943 return NULL;
4944 if (_argo0) {
4945 if (_argo0 == Py_None) { _arg0 = NULL; }
4946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
4947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
4948 return NULL;
4949 }
4950 }
4951 {
4952 wxPy_BEGIN_ALLOW_THREADS;
4953 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
4954
4955 wxPy_END_ALLOW_THREADS;
4956 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4957 _resultobj = Py_BuildValue("s",_ptemp);
4958 return _resultobj;
4959 }
4960
4961 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
4962 static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject * _resultobj;
4964 wxPoint * _result;
4965 wxTreeEvent * _arg0;
4966 PyObject * _argo0 = 0;
4967 char *_kwnames[] = { "self", NULL };
4968 char _ptemp[128];
4969
4970 self = self;
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
4972 return NULL;
4973 if (_argo0) {
4974 if (_argo0 == Py_None) { _arg0 = NULL; }
4975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
4976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
4977 return NULL;
4978 }
4979 }
4980 {
4981 wxPy_BEGIN_ALLOW_THREADS;
4982 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
4983
4984 wxPy_END_ALLOW_THREADS;
4985 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4986 _resultobj = Py_BuildValue("s",_ptemp);
4987 return _resultobj;
4988 }
4989
4990 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
4991 static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject * _resultobj;
4993 int _result;
4994 wxTreeEvent * _arg0;
4995 PyObject * _argo0 = 0;
4996 char *_kwnames[] = { "self", NULL };
4997
4998 self = self;
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
5000 return NULL;
5001 if (_argo0) {
5002 if (_argo0 == Py_None) { _arg0 = NULL; }
5003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
5004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
5005 return NULL;
5006 }
5007 }
5008 {
5009 wxPy_BEGIN_ALLOW_THREADS;
5010 _result = (int )wxTreeEvent_GetCode(_arg0);
5011
5012 wxPy_END_ALLOW_THREADS;
5013 } _resultobj = Py_BuildValue("i",_result);
5014 return _resultobj;
5015 }
5016
5017 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
5018 static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject * _resultobj;
5020 wxString * _result;
5021 wxTreeEvent * _arg0;
5022 PyObject * _argo0 = 0;
5023 char *_kwnames[] = { "self", NULL };
5024
5025 self = self;
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
5027 return NULL;
5028 if (_argo0) {
5029 if (_argo0 == Py_None) { _arg0 = NULL; }
5030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
5031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5032 return NULL;
5033 }
5034 }
5035 {
5036 wxPy_BEGIN_ALLOW_THREADS;
5037 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
5038 _result = (wxString *) &_result_ref;
5039
5040 wxPy_END_ALLOW_THREADS;
5041 }{
5042 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5043 }
5044 return _resultobj;
5045 }
5046
5047 static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
5048 wxPyTreeCtrl *src;
5049 wxControl *dest;
5050 src = (wxPyTreeCtrl *) ptr;
5051 dest = (wxControl *) src;
5052 return (void *) dest;
5053 }
5054
5055 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
5056 wxPyTreeCtrl *src;
5057 wxWindow *dest;
5058 src = (wxPyTreeCtrl *) ptr;
5059 dest = (wxWindow *) src;
5060 return (void *) dest;
5061 }
5062
5063 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
5064 wxPyTreeCtrl *src;
5065 wxEvtHandler *dest;
5066 src = (wxPyTreeCtrl *) ptr;
5067 dest = (wxEvtHandler *) src;
5068 return (void *) dest;
5069 }
5070
5071 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5072 static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject * _resultobj;
5074 wxPyTreeCtrl * _result;
5075 wxWindow * _arg0;
5076 wxWindowID _arg1 = (wxWindowID ) -1;
5077 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5078 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5079 long _arg4 = (long ) wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT;
5080 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
5081 char * _arg6 = (char *) "wxTreeCtrl";
5082 PyObject * _argo0 = 0;
5083 wxPoint temp;
5084 PyObject * _obj2 = 0;
5085 wxSize temp0;
5086 PyObject * _obj3 = 0;
5087 PyObject * _argo5 = 0;
5088 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5089 char _ptemp[128];
5090
5091 self = self;
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
5093 return NULL;
5094 if (_argo0) {
5095 if (_argo0 == Py_None) { _arg0 = NULL; }
5096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5098 return NULL;
5099 }
5100 }
5101 if (_obj2)
5102 {
5103 _arg2 = &temp;
5104 if (! wxPoint_helper(_obj2, &_arg2))
5105 return NULL;
5106 }
5107 if (_obj3)
5108 {
5109 _arg3 = &temp0;
5110 if (! wxSize_helper(_obj3, &_arg3))
5111 return NULL;
5112 }
5113 if (_argo5) {
5114 if (_argo5 == Py_None) { _arg5 = NULL; }
5115 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5116 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5117 return NULL;
5118 }
5119 }
5120 {
5121 wxPy_BEGIN_ALLOW_THREADS;
5122 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
5123
5124 wxPy_END_ALLOW_THREADS;
5125 } if (_result) {
5126 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
5127 _resultobj = Py_BuildValue("s",_ptemp);
5128 } else {
5129 Py_INCREF(Py_None);
5130 _resultobj = Py_None;
5131 }
5132 return _resultobj;
5133 }
5134
5135 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5136 static PyObject *_wrap_wxTreeCtrl__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5137 PyObject * _resultobj;
5138 wxPyTreeCtrl * _arg0;
5139 PyObject * _arg1;
5140 PyObject * _arg2;
5141 PyObject * _argo0 = 0;
5142 PyObject * _obj1 = 0;
5143 PyObject * _obj2 = 0;
5144 char *_kwnames[] = { "self","self","_class", NULL };
5145
5146 self = self;
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5148 return NULL;
5149 if (_argo0) {
5150 if (_argo0 == Py_None) { _arg0 = NULL; }
5151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5153 return NULL;
5154 }
5155 }
5156 {
5157 _arg1 = _obj1;
5158 }
5159 {
5160 _arg2 = _obj2;
5161 }
5162 {
5163 wxPy_BEGIN_ALLOW_THREADS;
5164 wxTreeCtrl__setSelf(_arg0,_arg1,_arg2);
5165
5166 wxPy_END_ALLOW_THREADS;
5167 } Py_INCREF(Py_None);
5168 _resultobj = Py_None;
5169 return _resultobj;
5170 }
5171
5172 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
5173 static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
5174 PyObject * _resultobj;
5175 wxPyTreeCtrl * _arg0;
5176 wxImageList * _arg1;
5177 PyObject * _argo0 = 0;
5178 PyObject * _argo1 = 0;
5179 char *_kwnames[] = { "self","imageList", NULL };
5180
5181 self = self;
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
5183 return NULL;
5184 if (_argo0) {
5185 if (_argo0 == Py_None) { _arg0 = NULL; }
5186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
5188 return NULL;
5189 }
5190 }
5191 if (_argo1) {
5192 if (_argo1 == Py_None) { _arg1 = NULL; }
5193 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
5194 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
5195 return NULL;
5196 }
5197 }
5198 {
5199 wxPy_BEGIN_ALLOW_THREADS;
5200 wxTreeCtrl_AssignImageList(_arg0,_arg1);
5201
5202 wxPy_END_ALLOW_THREADS;
5203 } Py_INCREF(Py_None);
5204 _resultobj = Py_None;
5205 return _resultobj;
5206 }
5207
5208 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5209 static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5210 PyObject * _resultobj;
5211 size_t _result;
5212 wxPyTreeCtrl * _arg0;
5213 PyObject * _argo0 = 0;
5214 char *_kwnames[] = { "self", NULL };
5215
5216 self = self;
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
5218 return NULL;
5219 if (_argo0) {
5220 if (_argo0 == Py_None) { _arg0 = NULL; }
5221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5223 return NULL;
5224 }
5225 }
5226 {
5227 wxPy_BEGIN_ALLOW_THREADS;
5228 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
5229
5230 wxPy_END_ALLOW_THREADS;
5231 } _resultobj = Py_BuildValue("i",_result);
5232 return _resultobj;
5233 }
5234
5235 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5236 static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject * _resultobj;
5238 unsigned int _result;
5239 wxPyTreeCtrl * _arg0;
5240 PyObject * _argo0 = 0;
5241 char *_kwnames[] = { "self", NULL };
5242
5243 self = self;
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
5245 return NULL;
5246 if (_argo0) {
5247 if (_argo0 == Py_None) { _arg0 = NULL; }
5248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5250 return NULL;
5251 }
5252 }
5253 {
5254 wxPy_BEGIN_ALLOW_THREADS;
5255 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
5256
5257 wxPy_END_ALLOW_THREADS;
5258 } _resultobj = Py_BuildValue("i",_result);
5259 return _resultobj;
5260 }
5261
5262 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5263 static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5264 PyObject * _resultobj;
5265 wxPyTreeCtrl * _arg0;
5266 unsigned int _arg1;
5267 PyObject * _argo0 = 0;
5268 char *_kwnames[] = { "self","indent", NULL };
5269
5270 self = self;
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
5272 return NULL;
5273 if (_argo0) {
5274 if (_argo0 == Py_None) { _arg0 = NULL; }
5275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5277 return NULL;
5278 }
5279 }
5280 {
5281 wxPy_BEGIN_ALLOW_THREADS;
5282 wxTreeCtrl_SetIndent(_arg0,_arg1);
5283
5284 wxPy_END_ALLOW_THREADS;
5285 } Py_INCREF(Py_None);
5286 _resultobj = Py_None;
5287 return _resultobj;
5288 }
5289
5290 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5291 static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
5292 PyObject * _resultobj;
5293 wxImageList * _result;
5294 wxPyTreeCtrl * _arg0;
5295 PyObject * _argo0 = 0;
5296 char *_kwnames[] = { "self", NULL };
5297 char _ptemp[128];
5298
5299 self = self;
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
5301 return NULL;
5302 if (_argo0) {
5303 if (_argo0 == Py_None) { _arg0 = NULL; }
5304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5306 return NULL;
5307 }
5308 }
5309 {
5310 wxPy_BEGIN_ALLOW_THREADS;
5311 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
5312
5313 wxPy_END_ALLOW_THREADS;
5314 } if (_result) {
5315 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
5316 _resultobj = Py_BuildValue("s",_ptemp);
5317 } else {
5318 Py_INCREF(Py_None);
5319 _resultobj = Py_None;
5320 }
5321 return _resultobj;
5322 }
5323
5324 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5325 static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
5326 PyObject * _resultobj;
5327 wxImageList * _result;
5328 wxPyTreeCtrl * _arg0;
5329 PyObject * _argo0 = 0;
5330 char *_kwnames[] = { "self", NULL };
5331 char _ptemp[128];
5332
5333 self = self;
5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
5335 return NULL;
5336 if (_argo0) {
5337 if (_argo0 == Py_None) { _arg0 = NULL; }
5338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5340 return NULL;
5341 }
5342 }
5343 {
5344 wxPy_BEGIN_ALLOW_THREADS;
5345 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
5346
5347 wxPy_END_ALLOW_THREADS;
5348 } if (_result) {
5349 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
5350 _resultobj = Py_BuildValue("s",_ptemp);
5351 } else {
5352 Py_INCREF(Py_None);
5353 _resultobj = Py_None;
5354 }
5355 return _resultobj;
5356 }
5357
5358 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5359 static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
5360 PyObject * _resultobj;
5361 wxPyTreeCtrl * _arg0;
5362 wxImageList * _arg1;
5363 PyObject * _argo0 = 0;
5364 PyObject * _argo1 = 0;
5365 char *_kwnames[] = { "self","imageList", NULL };
5366
5367 self = self;
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
5369 return NULL;
5370 if (_argo0) {
5371 if (_argo0 == Py_None) { _arg0 = NULL; }
5372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5374 return NULL;
5375 }
5376 }
5377 if (_argo1) {
5378 if (_argo1 == Py_None) { _arg1 = NULL; }
5379 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
5380 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5381 return NULL;
5382 }
5383 }
5384 {
5385 wxPy_BEGIN_ALLOW_THREADS;
5386 wxTreeCtrl_SetImageList(_arg0,_arg1);
5387
5388 wxPy_END_ALLOW_THREADS;
5389 } Py_INCREF(Py_None);
5390 _resultobj = Py_None;
5391 return _resultobj;
5392 }
5393
5394 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5395 static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
5396 PyObject * _resultobj;
5397 wxPyTreeCtrl * _arg0;
5398 wxImageList * _arg1;
5399 PyObject * _argo0 = 0;
5400 PyObject * _argo1 = 0;
5401 char *_kwnames[] = { "self","imageList", NULL };
5402
5403 self = self;
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
5405 return NULL;
5406 if (_argo0) {
5407 if (_argo0 == Py_None) { _arg0 = NULL; }
5408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5410 return NULL;
5411 }
5412 }
5413 if (_argo1) {
5414 if (_argo1 == Py_None) { _arg1 = NULL; }
5415 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
5416 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5417 return NULL;
5418 }
5419 }
5420 {
5421 wxPy_BEGIN_ALLOW_THREADS;
5422 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
5423
5424 wxPy_END_ALLOW_THREADS;
5425 } Py_INCREF(Py_None);
5426 _resultobj = Py_None;
5427 return _resultobj;
5428 }
5429
5430 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5431 static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject * _resultobj;
5433 unsigned int _result;
5434 wxPyTreeCtrl * _arg0;
5435 PyObject * _argo0 = 0;
5436 char *_kwnames[] = { "self", NULL };
5437
5438 self = self;
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
5440 return NULL;
5441 if (_argo0) {
5442 if (_argo0 == Py_None) { _arg0 = NULL; }
5443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5445 return NULL;
5446 }
5447 }
5448 {
5449 wxPy_BEGIN_ALLOW_THREADS;
5450 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
5451
5452 wxPy_END_ALLOW_THREADS;
5453 } _resultobj = Py_BuildValue("i",_result);
5454 return _resultobj;
5455 }
5456
5457 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5458 static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject * _resultobj;
5460 wxPyTreeCtrl * _arg0;
5461 unsigned int _arg1;
5462 PyObject * _argo0 = 0;
5463 char *_kwnames[] = { "self","spacing", NULL };
5464
5465 self = self;
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
5467 return NULL;
5468 if (_argo0) {
5469 if (_argo0 == Py_None) { _arg0 = NULL; }
5470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5472 return NULL;
5473 }
5474 }
5475 {
5476 wxPy_BEGIN_ALLOW_THREADS;
5477 wxTreeCtrl_SetSpacing(_arg0,_arg1);
5478
5479 wxPy_END_ALLOW_THREADS;
5480 } Py_INCREF(Py_None);
5481 _resultobj = Py_None;
5482 return _resultobj;
5483 }
5484
5485 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5486 static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
5487 PyObject * _resultobj;
5488 wxString * _result;
5489 wxPyTreeCtrl * _arg0;
5490 wxTreeItemId * _arg1;
5491 PyObject * _argo0 = 0;
5492 PyObject * _argo1 = 0;
5493 char *_kwnames[] = { "self","item", NULL };
5494
5495 self = self;
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
5497 return NULL;
5498 if (_argo0) {
5499 if (_argo0 == Py_None) { _arg0 = NULL; }
5500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5502 return NULL;
5503 }
5504 }
5505 if (_argo1) {
5506 if (_argo1 == Py_None) { _arg1 = NULL; }
5507 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5508 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5509 return NULL;
5510 }
5511 }
5512 {
5513 wxPy_BEGIN_ALLOW_THREADS;
5514 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
5515
5516 wxPy_END_ALLOW_THREADS;
5517 }{
5518 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5519 }
5520 {
5521 delete _result;
5522 }
5523 return _resultobj;
5524 }
5525
5526 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5527 static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5528 PyObject * _resultobj;
5529 int _result;
5530 wxPyTreeCtrl * _arg0;
5531 wxTreeItemId * _arg1;
5532 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
5533 PyObject * _argo0 = 0;
5534 PyObject * _argo1 = 0;
5535 char *_kwnames[] = { "self","item","which", NULL };
5536
5537 self = self;
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
5539 return NULL;
5540 if (_argo0) {
5541 if (_argo0 == Py_None) { _arg0 = NULL; }
5542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
5544 return NULL;
5545 }
5546 }
5547 if (_argo1) {
5548 if (_argo1 == Py_None) { _arg1 = NULL; }
5549 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5550 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5551 return NULL;
5552 }
5553 }
5554 {
5555 wxPy_BEGIN_ALLOW_THREADS;
5556 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
5557
5558 wxPy_END_ALLOW_THREADS;
5559 } _resultobj = Py_BuildValue("i",_result);
5560 return _resultobj;
5561 }
5562
5563 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5564 static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5565 PyObject * _resultobj;
5566 int _result;
5567 wxPyTreeCtrl * _arg0;
5568 wxTreeItemId * _arg1;
5569 PyObject * _argo0 = 0;
5570 PyObject * _argo1 = 0;
5571 char *_kwnames[] = { "self","item", NULL };
5572
5573 self = self;
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
5575 return NULL;
5576 if (_argo0) {
5577 if (_argo0 == Py_None) { _arg0 = NULL; }
5578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5580 return NULL;
5581 }
5582 }
5583 if (_argo1) {
5584 if (_argo1 == Py_None) { _arg1 = NULL; }
5585 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5586 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5587 return NULL;
5588 }
5589 }
5590 {
5591 wxPy_BEGIN_ALLOW_THREADS;
5592 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
5593
5594 wxPy_END_ALLOW_THREADS;
5595 } _resultobj = Py_BuildValue("i",_result);
5596 return _resultobj;
5597 }
5598
5599 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5600 static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject * _resultobj;
5602 wxPyTreeCtrl * _arg0;
5603 wxTreeItemId * _arg1;
5604 wxString * _arg2;
5605 PyObject * _argo0 = 0;
5606 PyObject * _argo1 = 0;
5607 PyObject * _obj2 = 0;
5608 char *_kwnames[] = { "self","item","text", NULL };
5609
5610 self = self;
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
5612 return NULL;
5613 if (_argo0) {
5614 if (_argo0 == Py_None) { _arg0 = NULL; }
5615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5617 return NULL;
5618 }
5619 }
5620 if (_argo1) {
5621 if (_argo1 == Py_None) { _arg1 = NULL; }
5622 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5623 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5624 return NULL;
5625 }
5626 }
5627 {
5628 #if PYTHON_API_VERSION >= 1009
5629 char* tmpPtr; int tmpSize;
5630 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5631 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5632 return NULL;
5633 }
5634 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5635 return NULL;
5636 _arg2 = new wxString(tmpPtr, tmpSize);
5637 #else
5638 if (!PyString_Check(_obj2)) {
5639 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5640 return NULL;
5641 }
5642 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5643 #endif
5644 }
5645 {
5646 wxPy_BEGIN_ALLOW_THREADS;
5647 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
5648
5649 wxPy_END_ALLOW_THREADS;
5650 } Py_INCREF(Py_None);
5651 _resultobj = Py_None;
5652 {
5653 if (_obj2)
5654 delete _arg2;
5655 }
5656 return _resultobj;
5657 }
5658
5659 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5660 static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5661 PyObject * _resultobj;
5662 wxPyTreeCtrl * _arg0;
5663 wxTreeItemId * _arg1;
5664 int _arg2;
5665 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
5666 PyObject * _argo0 = 0;
5667 PyObject * _argo1 = 0;
5668 char *_kwnames[] = { "self","item","image","which", NULL };
5669
5670 self = self;
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5672 return NULL;
5673 if (_argo0) {
5674 if (_argo0 == Py_None) { _arg0 = NULL; }
5675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5677 return NULL;
5678 }
5679 }
5680 if (_argo1) {
5681 if (_argo1 == Py_None) { _arg1 = NULL; }
5682 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5683 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5684 return NULL;
5685 }
5686 }
5687 {
5688 wxPy_BEGIN_ALLOW_THREADS;
5689 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
5690
5691 wxPy_END_ALLOW_THREADS;
5692 } Py_INCREF(Py_None);
5693 _resultobj = Py_None;
5694 return _resultobj;
5695 }
5696
5697 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5698 static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject * _resultobj;
5700 wxPyTreeCtrl * _arg0;
5701 wxTreeItemId * _arg1;
5702 int _arg2;
5703 PyObject * _argo0 = 0;
5704 PyObject * _argo1 = 0;
5705 char *_kwnames[] = { "self","item","image", NULL };
5706
5707 self = self;
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
5709 return NULL;
5710 if (_argo0) {
5711 if (_argo0 == Py_None) { _arg0 = NULL; }
5712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5714 return NULL;
5715 }
5716 }
5717 if (_argo1) {
5718 if (_argo1 == Py_None) { _arg1 = NULL; }
5719 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5720 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5721 return NULL;
5722 }
5723 }
5724 {
5725 wxPy_BEGIN_ALLOW_THREADS;
5726 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
5727
5728 wxPy_END_ALLOW_THREADS;
5729 } Py_INCREF(Py_None);
5730 _resultobj = Py_None;
5731 return _resultobj;
5732 }
5733
5734 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5735 static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5736 PyObject * _resultobj;
5737 wxPyTreeCtrl * _arg0;
5738 wxTreeItemId * _arg1;
5739 bool _arg2 = (bool ) TRUE;
5740 PyObject * _argo0 = 0;
5741 PyObject * _argo1 = 0;
5742 int tempbool2 = (int) TRUE;
5743 char *_kwnames[] = { "self","item","hasChildren", NULL };
5744
5745 self = self;
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
5747 return NULL;
5748 if (_argo0) {
5749 if (_argo0 == Py_None) { _arg0 = NULL; }
5750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5752 return NULL;
5753 }
5754 }
5755 if (_argo1) {
5756 if (_argo1 == Py_None) { _arg1 = NULL; }
5757 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5758 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5759 return NULL;
5760 }
5761 }
5762 _arg2 = (bool ) tempbool2;
5763 {
5764 wxPy_BEGIN_ALLOW_THREADS;
5765 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
5766
5767 wxPy_END_ALLOW_THREADS;
5768 } Py_INCREF(Py_None);
5769 _resultobj = Py_None;
5770 return _resultobj;
5771 }
5772
5773 static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
5774 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
5775 if (data == NULL) {
5776 data = new wxPyTreeItemData();
5777 data->SetId(item); // set the id
5778 self->SetItemData(item, data);
5779 }
5780 return data;
5781 }
5782 static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
5783 PyObject * _resultobj;
5784 wxPyTreeItemData * _result;
5785 wxPyTreeCtrl * _arg0;
5786 wxTreeItemId * _arg1;
5787 PyObject * _argo0 = 0;
5788 PyObject * _argo1 = 0;
5789 char *_kwnames[] = { "self","item", NULL };
5790 char _ptemp[128];
5791
5792 self = self;
5793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
5794 return NULL;
5795 if (_argo0) {
5796 if (_argo0 == Py_None) { _arg0 = NULL; }
5797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5799 return NULL;
5800 }
5801 }
5802 if (_argo1) {
5803 if (_argo1 == Py_None) { _arg1 = NULL; }
5804 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5805 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5806 return NULL;
5807 }
5808 }
5809 {
5810 wxPy_BEGIN_ALLOW_THREADS;
5811 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
5812
5813 wxPy_END_ALLOW_THREADS;
5814 } if (_result) {
5815 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
5816 _resultobj = Py_BuildValue("s",_ptemp);
5817 } else {
5818 Py_INCREF(Py_None);
5819 _resultobj = Py_None;
5820 }
5821 return _resultobj;
5822 }
5823
5824 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
5825 data->SetId(item); // set the id
5826 self->SetItemData(item, data);
5827 }
5828 static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject * _resultobj;
5830 wxPyTreeCtrl * _arg0;
5831 wxTreeItemId * _arg1;
5832 wxPyTreeItemData * _arg2;
5833 PyObject * _argo0 = 0;
5834 PyObject * _argo1 = 0;
5835 PyObject * _argo2 = 0;
5836 char *_kwnames[] = { "self","item","data", NULL };
5837
5838 self = self;
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
5840 return NULL;
5841 if (_argo0) {
5842 if (_argo0 == Py_None) { _arg0 = NULL; }
5843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5845 return NULL;
5846 }
5847 }
5848 if (_argo1) {
5849 if (_argo1 == Py_None) { _arg1 = NULL; }
5850 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5851 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5852 return NULL;
5853 }
5854 }
5855 if (_argo2) {
5856 if (_argo2 == Py_None) { _arg2 = NULL; }
5857 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
5858 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
5859 return NULL;
5860 }
5861 }
5862 {
5863 wxPy_BEGIN_ALLOW_THREADS;
5864 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
5865
5866 wxPy_END_ALLOW_THREADS;
5867 } Py_INCREF(Py_None);
5868 _resultobj = Py_None;
5869 return _resultobj;
5870 }
5871
5872 static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
5873 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
5874 if (data == NULL) {
5875 data = new wxPyTreeItemData();
5876 data->SetId(item); // set the id
5877 self->SetItemData(item, data);
5878 }
5879 return data->GetData();
5880 }
5881 static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject * _resultobj;
5883 PyObject * _result;
5884 wxPyTreeCtrl * _arg0;
5885 wxTreeItemId * _arg1;
5886 PyObject * _argo0 = 0;
5887 PyObject * _argo1 = 0;
5888 char *_kwnames[] = { "self","item", NULL };
5889
5890 self = self;
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
5892 return NULL;
5893 if (_argo0) {
5894 if (_argo0 == Py_None) { _arg0 = NULL; }
5895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
5897 return NULL;
5898 }
5899 }
5900 if (_argo1) {
5901 if (_argo1 == Py_None) { _arg1 = NULL; }
5902 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5903 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
5904 return NULL;
5905 }
5906 }
5907 {
5908 wxPy_BEGIN_ALLOW_THREADS;
5909 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
5910
5911 wxPy_END_ALLOW_THREADS;
5912 }{
5913 _resultobj = _result;
5914 }
5915 return _resultobj;
5916 }
5917
5918 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
5919 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
5920 if (data == NULL) {
5921 data = new wxPyTreeItemData(obj);
5922 data->SetId(item); // set the id
5923 self->SetItemData(item, data);
5924 } else
5925 data->SetData(obj);
5926 }
5927 static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
5928 PyObject * _resultobj;
5929 wxPyTreeCtrl * _arg0;
5930 wxTreeItemId * _arg1;
5931 PyObject * _arg2;
5932 PyObject * _argo0 = 0;
5933 PyObject * _argo1 = 0;
5934 PyObject * _obj2 = 0;
5935 char *_kwnames[] = { "self","item","obj", NULL };
5936
5937 self = self;
5938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
5939 return NULL;
5940 if (_argo0) {
5941 if (_argo0 == Py_None) { _arg0 = NULL; }
5942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
5944 return NULL;
5945 }
5946 }
5947 if (_argo1) {
5948 if (_argo1 == Py_None) { _arg1 = NULL; }
5949 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5950 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
5951 return NULL;
5952 }
5953 }
5954 {
5955 _arg2 = _obj2;
5956 }
5957 {
5958 wxPy_BEGIN_ALLOW_THREADS;
5959 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
5960
5961 wxPy_END_ALLOW_THREADS;
5962 } Py_INCREF(Py_None);
5963 _resultobj = Py_None;
5964 return _resultobj;
5965 }
5966
5967 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
5968 static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5969 PyObject * _resultobj;
5970 bool _result;
5971 wxPyTreeCtrl * _arg0;
5972 wxTreeItemId * _arg1;
5973 PyObject * _argo0 = 0;
5974 PyObject * _argo1 = 0;
5975 char *_kwnames[] = { "self","item", NULL };
5976
5977 self = self;
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
5979 return NULL;
5980 if (_argo0) {
5981 if (_argo0 == Py_None) { _arg0 = NULL; }
5982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
5984 return NULL;
5985 }
5986 }
5987 if (_argo1) {
5988 if (_argo1 == Py_None) { _arg1 = NULL; }
5989 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
5991 return NULL;
5992 }
5993 }
5994 {
5995 wxPy_BEGIN_ALLOW_THREADS;
5996 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
5997
5998 wxPy_END_ALLOW_THREADS;
5999 } _resultobj = Py_BuildValue("i",_result);
6000 return _resultobj;
6001 }
6002
6003 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
6004 static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
6005 PyObject * _resultobj;
6006 bool _result;
6007 wxPyTreeCtrl * _arg0;
6008 wxTreeItemId * _arg1;
6009 PyObject * _argo0 = 0;
6010 PyObject * _argo1 = 0;
6011 char *_kwnames[] = { "self","item", NULL };
6012
6013 self = self;
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
6015 return NULL;
6016 if (_argo0) {
6017 if (_argo0 == Py_None) { _arg0 = NULL; }
6018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
6020 return NULL;
6021 }
6022 }
6023 if (_argo1) {
6024 if (_argo1 == Py_None) { _arg1 = NULL; }
6025 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6026 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
6027 return NULL;
6028 }
6029 }
6030 {
6031 wxPy_BEGIN_ALLOW_THREADS;
6032 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
6033
6034 wxPy_END_ALLOW_THREADS;
6035 } _resultobj = Py_BuildValue("i",_result);
6036 return _resultobj;
6037 }
6038
6039 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
6040 static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6041 PyObject * _resultobj;
6042 bool _result;
6043 wxPyTreeCtrl * _arg0;
6044 wxTreeItemId * _arg1;
6045 PyObject * _argo0 = 0;
6046 PyObject * _argo1 = 0;
6047 char *_kwnames[] = { "self","item", NULL };
6048
6049 self = self;
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
6051 return NULL;
6052 if (_argo0) {
6053 if (_argo0 == Py_None) { _arg0 = NULL; }
6054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
6056 return NULL;
6057 }
6058 }
6059 if (_argo1) {
6060 if (_argo1 == Py_None) { _arg1 = NULL; }
6061 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6062 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
6063 return NULL;
6064 }
6065 }
6066 {
6067 wxPy_BEGIN_ALLOW_THREADS;
6068 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
6069
6070 wxPy_END_ALLOW_THREADS;
6071 } _resultobj = Py_BuildValue("i",_result);
6072 return _resultobj;
6073 }
6074
6075 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6076 static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
6077 PyObject * _resultobj;
6078 bool _result;
6079 wxPyTreeCtrl * _arg0;
6080 wxTreeItemId * _arg1;
6081 PyObject * _argo0 = 0;
6082 PyObject * _argo1 = 0;
6083 char *_kwnames[] = { "self","item", NULL };
6084
6085 self = self;
6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
6087 return NULL;
6088 if (_argo0) {
6089 if (_argo0 == Py_None) { _arg0 = NULL; }
6090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6092 return NULL;
6093 }
6094 }
6095 if (_argo1) {
6096 if (_argo1 == Py_None) { _arg1 = NULL; }
6097 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6098 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6099 return NULL;
6100 }
6101 }
6102 {
6103 wxPy_BEGIN_ALLOW_THREADS;
6104 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
6105
6106 wxPy_END_ALLOW_THREADS;
6107 } _resultobj = Py_BuildValue("i",_result);
6108 return _resultobj;
6109 }
6110
6111 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6112 static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6113 PyObject * _resultobj;
6114 wxTreeItemId * _result;
6115 wxPyTreeCtrl * _arg0;
6116 PyObject * _argo0 = 0;
6117 char *_kwnames[] = { "self", NULL };
6118 char _ptemp[128];
6119
6120 self = self;
6121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
6122 return NULL;
6123 if (_argo0) {
6124 if (_argo0 == Py_None) { _arg0 = NULL; }
6125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6127 return NULL;
6128 }
6129 }
6130 {
6131 wxPy_BEGIN_ALLOW_THREADS;
6132 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
6133
6134 wxPy_END_ALLOW_THREADS;
6135 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6136 _resultobj = Py_BuildValue("s",_ptemp);
6137 return _resultobj;
6138 }
6139
6140 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6141 static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6142 PyObject * _resultobj;
6143 wxTreeItemId * _result;
6144 wxPyTreeCtrl * _arg0;
6145 PyObject * _argo0 = 0;
6146 char *_kwnames[] = { "self", NULL };
6147 char _ptemp[128];
6148
6149 self = self;
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
6151 return NULL;
6152 if (_argo0) {
6153 if (_argo0 == Py_None) { _arg0 = NULL; }
6154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6156 return NULL;
6157 }
6158 }
6159 {
6160 wxPy_BEGIN_ALLOW_THREADS;
6161 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
6162
6163 wxPy_END_ALLOW_THREADS;
6164 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6165 _resultobj = Py_BuildValue("s",_ptemp);
6166 return _resultobj;
6167 }
6168
6169 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6170 static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6171 PyObject * _resultobj;
6172 wxTreeItemId * _result;
6173 wxPyTreeCtrl * _arg0;
6174 wxTreeItemId * _arg1;
6175 PyObject * _argo0 = 0;
6176 PyObject * _argo1 = 0;
6177 char *_kwnames[] = { "self","item", NULL };
6178 char _ptemp[128];
6179
6180 self = self;
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
6182 return NULL;
6183 if (_argo0) {
6184 if (_argo0 == Py_None) { _arg0 = NULL; }
6185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6187 return NULL;
6188 }
6189 }
6190 if (_argo1) {
6191 if (_argo1 == Py_None) { _arg1 = NULL; }
6192 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6193 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6194 return NULL;
6195 }
6196 }
6197 {
6198 wxPy_BEGIN_ALLOW_THREADS;
6199 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
6200
6201 wxPy_END_ALLOW_THREADS;
6202 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6203 _resultobj = Py_BuildValue("s",_ptemp);
6204 return _resultobj;
6205 }
6206
6207 static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
6208 bool doSave = wxPyRestoreThread();
6209 PyObject* rval = PyList_New(0);
6210 wxArrayTreeItemIds array;
6211 size_t num, x;
6212 num = self->GetSelections(array);
6213 for (x=0; x < num; x++) {
6214 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
6215 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
6216 PyList_Append(rval, item);
6217 }
6218 wxPySaveThread(doSave);
6219 return rval;
6220 }
6221 static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject * _resultobj;
6223 PyObject * _result;
6224 wxPyTreeCtrl * _arg0;
6225 PyObject * _argo0 = 0;
6226 char *_kwnames[] = { "self", NULL };
6227
6228 self = self;
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
6230 return NULL;
6231 if (_argo0) {
6232 if (_argo0 == Py_None) { _arg0 = NULL; }
6233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6235 return NULL;
6236 }
6237 }
6238 {
6239 wxPy_BEGIN_ALLOW_THREADS;
6240 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
6241
6242 wxPy_END_ALLOW_THREADS;
6243 }{
6244 _resultobj = _result;
6245 }
6246 return _resultobj;
6247 }
6248
6249 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6250 static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6251 PyObject * _resultobj;
6252 size_t _result;
6253 wxPyTreeCtrl * _arg0;
6254 wxTreeItemId * _arg1;
6255 bool _arg2 = (bool ) TRUE;
6256 PyObject * _argo0 = 0;
6257 PyObject * _argo1 = 0;
6258 int tempbool2 = (int) TRUE;
6259 char *_kwnames[] = { "self","item","recursively", NULL };
6260
6261 self = self;
6262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
6263 return NULL;
6264 if (_argo0) {
6265 if (_argo0 == Py_None) { _arg0 = NULL; }
6266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6268 return NULL;
6269 }
6270 }
6271 if (_argo1) {
6272 if (_argo1 == Py_None) { _arg1 = NULL; }
6273 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6274 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6275 return NULL;
6276 }
6277 }
6278 _arg2 = (bool ) tempbool2;
6279 {
6280 wxPy_BEGIN_ALLOW_THREADS;
6281 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
6282
6283 wxPy_END_ALLOW_THREADS;
6284 } _resultobj = Py_BuildValue("i",_result);
6285 return _resultobj;
6286 }
6287
6288 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6289 static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject * _resultobj;
6291 wxTreeItemId * _result;
6292 wxPyTreeCtrl * _arg0;
6293 wxTreeItemId * _arg1;
6294 long * _arg2;
6295 PyObject * _argo0 = 0;
6296 PyObject * _argo1 = 0;
6297 long temp;
6298 PyObject * _obj2 = 0;
6299 char *_kwnames[] = { "self","item","INOUT", NULL };
6300 char _ptemp[128];
6301
6302 self = self;
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
6304 return NULL;
6305 if (_argo0) {
6306 if (_argo0 == Py_None) { _arg0 = NULL; }
6307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6309 return NULL;
6310 }
6311 }
6312 if (_argo1) {
6313 if (_argo1 == Py_None) { _arg1 = NULL; }
6314 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6315 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6316 return NULL;
6317 }
6318 }
6319 {
6320 temp = (long) PyInt_AsLong(_obj2);
6321 _arg2 = &temp;
6322 }
6323 {
6324 wxPy_BEGIN_ALLOW_THREADS;
6325 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
6326
6327 wxPy_END_ALLOW_THREADS;
6328 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6329 _resultobj = Py_BuildValue("s",_ptemp);
6330 {
6331 PyObject *o;
6332 o = PyInt_FromLong((long) (*_arg2));
6333 _resultobj = t_output_helper(_resultobj, o);
6334 }
6335 return _resultobj;
6336 }
6337
6338 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6339 static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject * _resultobj;
6341 wxTreeItemId * _result;
6342 wxPyTreeCtrl * _arg0;
6343 wxTreeItemId * _arg1;
6344 long * _arg2;
6345 PyObject * _argo0 = 0;
6346 PyObject * _argo1 = 0;
6347 long temp;
6348 PyObject * _obj2 = 0;
6349 char *_kwnames[] = { "self","item","INOUT", NULL };
6350 char _ptemp[128];
6351
6352 self = self;
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
6354 return NULL;
6355 if (_argo0) {
6356 if (_argo0 == Py_None) { _arg0 = NULL; }
6357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6359 return NULL;
6360 }
6361 }
6362 if (_argo1) {
6363 if (_argo1 == Py_None) { _arg1 = NULL; }
6364 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6365 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6366 return NULL;
6367 }
6368 }
6369 {
6370 temp = (long) PyInt_AsLong(_obj2);
6371 _arg2 = &temp;
6372 }
6373 {
6374 wxPy_BEGIN_ALLOW_THREADS;
6375 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
6376
6377 wxPy_END_ALLOW_THREADS;
6378 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6379 _resultobj = Py_BuildValue("s",_ptemp);
6380 {
6381 PyObject *o;
6382 o = PyInt_FromLong((long) (*_arg2));
6383 _resultobj = t_output_helper(_resultobj, o);
6384 }
6385 return _resultobj;
6386 }
6387
6388 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6389 static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject * _resultobj;
6391 wxTreeItemId * _result;
6392 wxPyTreeCtrl * _arg0;
6393 wxTreeItemId * _arg1;
6394 PyObject * _argo0 = 0;
6395 PyObject * _argo1 = 0;
6396 char *_kwnames[] = { "self","item", NULL };
6397 char _ptemp[128];
6398
6399 self = self;
6400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
6401 return NULL;
6402 if (_argo0) {
6403 if (_argo0 == Py_None) { _arg0 = NULL; }
6404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6406 return NULL;
6407 }
6408 }
6409 if (_argo1) {
6410 if (_argo1 == Py_None) { _arg1 = NULL; }
6411 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6412 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6413 return NULL;
6414 }
6415 }
6416 {
6417 wxPy_BEGIN_ALLOW_THREADS;
6418 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
6419
6420 wxPy_END_ALLOW_THREADS;
6421 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6422 _resultobj = Py_BuildValue("s",_ptemp);
6423 return _resultobj;
6424 }
6425
6426 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6427 static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject * _resultobj;
6429 wxTreeItemId * _result;
6430 wxPyTreeCtrl * _arg0;
6431 wxTreeItemId * _arg1;
6432 PyObject * _argo0 = 0;
6433 PyObject * _argo1 = 0;
6434 char *_kwnames[] = { "self","item", NULL };
6435 char _ptemp[128];
6436
6437 self = self;
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
6439 return NULL;
6440 if (_argo0) {
6441 if (_argo0 == Py_None) { _arg0 = NULL; }
6442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6444 return NULL;
6445 }
6446 }
6447 if (_argo1) {
6448 if (_argo1 == Py_None) { _arg1 = NULL; }
6449 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6450 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6451 return NULL;
6452 }
6453 }
6454 {
6455 wxPy_BEGIN_ALLOW_THREADS;
6456 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
6457
6458 wxPy_END_ALLOW_THREADS;
6459 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6460 _resultobj = Py_BuildValue("s",_ptemp);
6461 return _resultobj;
6462 }
6463
6464 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6465 static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject * _resultobj;
6467 wxTreeItemId * _result;
6468 wxPyTreeCtrl * _arg0;
6469 PyObject * _argo0 = 0;
6470 char *_kwnames[] = { "self", NULL };
6471 char _ptemp[128];
6472
6473 self = self;
6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
6475 return NULL;
6476 if (_argo0) {
6477 if (_argo0 == Py_None) { _arg0 = NULL; }
6478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6480 return NULL;
6481 }
6482 }
6483 {
6484 wxPy_BEGIN_ALLOW_THREADS;
6485 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
6486
6487 wxPy_END_ALLOW_THREADS;
6488 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6489 _resultobj = Py_BuildValue("s",_ptemp);
6490 return _resultobj;
6491 }
6492
6493 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6494 static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6495 PyObject * _resultobj;
6496 wxTreeItemId * _result;
6497 wxPyTreeCtrl * _arg0;
6498 wxTreeItemId * _arg1;
6499 PyObject * _argo0 = 0;
6500 PyObject * _argo1 = 0;
6501 char *_kwnames[] = { "self","item", NULL };
6502 char _ptemp[128];
6503
6504 self = self;
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
6506 return NULL;
6507 if (_argo0) {
6508 if (_argo0 == Py_None) { _arg0 = NULL; }
6509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6511 return NULL;
6512 }
6513 }
6514 if (_argo1) {
6515 if (_argo1 == Py_None) { _arg1 = NULL; }
6516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6518 return NULL;
6519 }
6520 }
6521 {
6522 wxPy_BEGIN_ALLOW_THREADS;
6523 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
6524
6525 wxPy_END_ALLOW_THREADS;
6526 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6527 _resultobj = Py_BuildValue("s",_ptemp);
6528 return _resultobj;
6529 }
6530
6531 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6532 static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject * _resultobj;
6534 wxTreeItemId * _result;
6535 wxPyTreeCtrl * _arg0;
6536 wxTreeItemId * _arg1;
6537 PyObject * _argo0 = 0;
6538 PyObject * _argo1 = 0;
6539 char *_kwnames[] = { "self","item", NULL };
6540 char _ptemp[128];
6541
6542 self = self;
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
6544 return NULL;
6545 if (_argo0) {
6546 if (_argo0 == Py_None) { _arg0 = NULL; }
6547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6549 return NULL;
6550 }
6551 }
6552 if (_argo1) {
6553 if (_argo1 == Py_None) { _arg1 = NULL; }
6554 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6555 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6556 return NULL;
6557 }
6558 }
6559 {
6560 wxPy_BEGIN_ALLOW_THREADS;
6561 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
6562
6563 wxPy_END_ALLOW_THREADS;
6564 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6565 _resultobj = Py_BuildValue("s",_ptemp);
6566 return _resultobj;
6567 }
6568
6569 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6570 static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6571 PyObject * _resultobj;
6572 wxTreeItemId * _result;
6573 wxPyTreeCtrl * _arg0;
6574 wxTreeItemId * _arg1;
6575 PyObject * _argo0 = 0;
6576 PyObject * _argo1 = 0;
6577 char *_kwnames[] = { "self","item", NULL };
6578 char _ptemp[128];
6579
6580 self = self;
6581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
6582 return NULL;
6583 if (_argo0) {
6584 if (_argo0 == Py_None) { _arg0 = NULL; }
6585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6587 return NULL;
6588 }
6589 }
6590 if (_argo1) {
6591 if (_argo1 == Py_None) { _arg1 = NULL; }
6592 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6593 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6594 return NULL;
6595 }
6596 }
6597 {
6598 wxPy_BEGIN_ALLOW_THREADS;
6599 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
6600
6601 wxPy_END_ALLOW_THREADS;
6602 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6603 _resultobj = Py_BuildValue("s",_ptemp);
6604 return _resultobj;
6605 }
6606
6607 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6608 static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject * _resultobj;
6610 wxTreeItemId * _result;
6611 wxPyTreeCtrl * _arg0;
6612 wxString * _arg1;
6613 int _arg2 = (int ) -1;
6614 int _arg3 = (int ) -1;
6615 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
6616 PyObject * _argo0 = 0;
6617 PyObject * _obj1 = 0;
6618 PyObject * _argo4 = 0;
6619 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
6620 char _ptemp[128];
6621
6622 self = self;
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
6624 return NULL;
6625 if (_argo0) {
6626 if (_argo0 == Py_None) { _arg0 = NULL; }
6627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6629 return NULL;
6630 }
6631 }
6632 {
6633 #if PYTHON_API_VERSION >= 1009
6634 char* tmpPtr; int tmpSize;
6635 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6636 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6637 return NULL;
6638 }
6639 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6640 return NULL;
6641 _arg1 = new wxString(tmpPtr, tmpSize);
6642 #else
6643 if (!PyString_Check(_obj1)) {
6644 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6645 return NULL;
6646 }
6647 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6648 #endif
6649 }
6650 if (_argo4) {
6651 if (_argo4 == Py_None) { _arg4 = NULL; }
6652 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
6653 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6654 return NULL;
6655 }
6656 }
6657 {
6658 wxPy_BEGIN_ALLOW_THREADS;
6659 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
6660
6661 wxPy_END_ALLOW_THREADS;
6662 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6663 _resultobj = Py_BuildValue("s",_ptemp);
6664 {
6665 if (_obj1)
6666 delete _arg1;
6667 }
6668 return _resultobj;
6669 }
6670
6671 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6672 static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject * _resultobj;
6674 wxTreeItemId * _result;
6675 wxPyTreeCtrl * _arg0;
6676 wxTreeItemId * _arg1;
6677 wxString * _arg2;
6678 int _arg3 = (int ) -1;
6679 int _arg4 = (int ) -1;
6680 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
6681 PyObject * _argo0 = 0;
6682 PyObject * _argo1 = 0;
6683 PyObject * _obj2 = 0;
6684 PyObject * _argo5 = 0;
6685 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
6686 char _ptemp[128];
6687
6688 self = self;
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
6690 return NULL;
6691 if (_argo0) {
6692 if (_argo0 == Py_None) { _arg0 = NULL; }
6693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6695 return NULL;
6696 }
6697 }
6698 if (_argo1) {
6699 if (_argo1 == Py_None) { _arg1 = NULL; }
6700 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6701 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6702 return NULL;
6703 }
6704 }
6705 {
6706 #if PYTHON_API_VERSION >= 1009
6707 char* tmpPtr; int tmpSize;
6708 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6709 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6710 return NULL;
6711 }
6712 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6713 return NULL;
6714 _arg2 = new wxString(tmpPtr, tmpSize);
6715 #else
6716 if (!PyString_Check(_obj2)) {
6717 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6718 return NULL;
6719 }
6720 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6721 #endif
6722 }
6723 if (_argo5) {
6724 if (_argo5 == Py_None) { _arg5 = NULL; }
6725 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
6726 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6727 return NULL;
6728 }
6729 }
6730 {
6731 wxPy_BEGIN_ALLOW_THREADS;
6732 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
6733
6734 wxPy_END_ALLOW_THREADS;
6735 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6736 _resultobj = Py_BuildValue("s",_ptemp);
6737 {
6738 if (_obj2)
6739 delete _arg2;
6740 }
6741 return _resultobj;
6742 }
6743
6744 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6745 static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject * _resultobj;
6747 wxTreeItemId * _result;
6748 wxPyTreeCtrl * _arg0;
6749 wxTreeItemId * _arg1;
6750 wxTreeItemId * _arg2;
6751 wxString * _arg3;
6752 int _arg4 = (int ) -1;
6753 int _arg5 = (int ) -1;
6754 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
6755 PyObject * _argo0 = 0;
6756 PyObject * _argo1 = 0;
6757 PyObject * _argo2 = 0;
6758 PyObject * _obj3 = 0;
6759 PyObject * _argo6 = 0;
6760 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
6761 char _ptemp[128];
6762
6763 self = self;
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
6765 return NULL;
6766 if (_argo0) {
6767 if (_argo0 == Py_None) { _arg0 = NULL; }
6768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6770 return NULL;
6771 }
6772 }
6773 if (_argo1) {
6774 if (_argo1 == Py_None) { _arg1 = NULL; }
6775 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6776 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6777 return NULL;
6778 }
6779 }
6780 if (_argo2) {
6781 if (_argo2 == Py_None) { _arg2 = NULL; }
6782 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
6783 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6784 return NULL;
6785 }
6786 }
6787 {
6788 #if PYTHON_API_VERSION >= 1009
6789 char* tmpPtr; int tmpSize;
6790 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
6791 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6792 return NULL;
6793 }
6794 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6795 return NULL;
6796 _arg3 = new wxString(tmpPtr, tmpSize);
6797 #else
6798 if (!PyString_Check(_obj3)) {
6799 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6800 return NULL;
6801 }
6802 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6803 #endif
6804 }
6805 if (_argo6) {
6806 if (_argo6 == Py_None) { _arg6 = NULL; }
6807 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
6808 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6809 return NULL;
6810 }
6811 }
6812 {
6813 wxPy_BEGIN_ALLOW_THREADS;
6814 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
6815
6816 wxPy_END_ALLOW_THREADS;
6817 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6818 _resultobj = Py_BuildValue("s",_ptemp);
6819 {
6820 if (_obj3)
6821 delete _arg3;
6822 }
6823 return _resultobj;
6824 }
6825
6826 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6827 static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject * _resultobj;
6829 wxTreeItemId * _result;
6830 wxPyTreeCtrl * _arg0;
6831 wxTreeItemId * _arg1;
6832 size_t _arg2;
6833 wxString * _arg3;
6834 int _arg4 = (int ) -1;
6835 int _arg5 = (int ) -1;
6836 wxTreeItemData * _arg6 = (wxTreeItemData *) NULL;
6837 PyObject * _argo0 = 0;
6838 PyObject * _argo1 = 0;
6839 PyObject * _obj3 = 0;
6840 PyObject * _argo6 = 0;
6841 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
6842 char _ptemp[128];
6843
6844 self = self;
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
6846 return NULL;
6847 if (_argo0) {
6848 if (_argo0 == Py_None) { _arg0 = NULL; }
6849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6851 return NULL;
6852 }
6853 }
6854 if (_argo1) {
6855 if (_argo1 == Py_None) { _arg1 = NULL; }
6856 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6857 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
6858 return NULL;
6859 }
6860 }
6861 {
6862 #if PYTHON_API_VERSION >= 1009
6863 char* tmpPtr; int tmpSize;
6864 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
6865 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6866 return NULL;
6867 }
6868 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6869 return NULL;
6870 _arg3 = new wxString(tmpPtr, tmpSize);
6871 #else
6872 if (!PyString_Check(_obj3)) {
6873 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6874 return NULL;
6875 }
6876 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6877 #endif
6878 }
6879 if (_argo6) {
6880 if (_argo6 == Py_None) { _arg6 = NULL; }
6881 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxTreeItemData_p")) {
6882 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
6883 return NULL;
6884 }
6885 }
6886 {
6887 wxPy_BEGIN_ALLOW_THREADS;
6888 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
6889
6890 wxPy_END_ALLOW_THREADS;
6891 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6892 _resultobj = Py_BuildValue("s",_ptemp);
6893 {
6894 if (_obj3)
6895 delete _arg3;
6896 }
6897 return _resultobj;
6898 }
6899
6900 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6901 static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6902 PyObject * _resultobj;
6903 wxTreeItemId * _result;
6904 wxPyTreeCtrl * _arg0;
6905 wxTreeItemId * _arg1;
6906 wxString * _arg2;
6907 int _arg3 = (int ) -1;
6908 int _arg4 = (int ) -1;
6909 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
6910 PyObject * _argo0 = 0;
6911 PyObject * _argo1 = 0;
6912 PyObject * _obj2 = 0;
6913 PyObject * _argo5 = 0;
6914 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
6915 char _ptemp[128];
6916
6917 self = self;
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
6919 return NULL;
6920 if (_argo0) {
6921 if (_argo0 == Py_None) { _arg0 = NULL; }
6922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
6924 return NULL;
6925 }
6926 }
6927 if (_argo1) {
6928 if (_argo1 == Py_None) { _arg1 = NULL; }
6929 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6930 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
6931 return NULL;
6932 }
6933 }
6934 {
6935 #if PYTHON_API_VERSION >= 1009
6936 char* tmpPtr; int tmpSize;
6937 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6938 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6939 return NULL;
6940 }
6941 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6942 return NULL;
6943 _arg2 = new wxString(tmpPtr, tmpSize);
6944 #else
6945 if (!PyString_Check(_obj2)) {
6946 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6947 return NULL;
6948 }
6949 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6950 #endif
6951 }
6952 if (_argo5) {
6953 if (_argo5 == Py_None) { _arg5 = NULL; }
6954 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
6955 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
6956 return NULL;
6957 }
6958 }
6959 {
6960 wxPy_BEGIN_ALLOW_THREADS;
6961 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
6962
6963 wxPy_END_ALLOW_THREADS;
6964 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6965 _resultobj = Py_BuildValue("s",_ptemp);
6966 {
6967 if (_obj2)
6968 delete _arg2;
6969 }
6970 return _resultobj;
6971 }
6972
6973 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6974 static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
6975 PyObject * _resultobj;
6976 wxPyTreeCtrl * _arg0;
6977 wxTreeItemId * _arg1;
6978 PyObject * _argo0 = 0;
6979 PyObject * _argo1 = 0;
6980 char *_kwnames[] = { "self","item", NULL };
6981
6982 self = self;
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
6984 return NULL;
6985 if (_argo0) {
6986 if (_argo0 == Py_None) { _arg0 = NULL; }
6987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
6989 return NULL;
6990 }
6991 }
6992 if (_argo1) {
6993 if (_argo1 == Py_None) { _arg1 = NULL; }
6994 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6995 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
6996 return NULL;
6997 }
6998 }
6999 {
7000 wxPy_BEGIN_ALLOW_THREADS;
7001 wxTreeCtrl_Delete(_arg0,*_arg1);
7002
7003 wxPy_END_ALLOW_THREADS;
7004 } Py_INCREF(Py_None);
7005 _resultobj = Py_None;
7006 return _resultobj;
7007 }
7008
7009 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
7010 static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
7011 PyObject * _resultobj;
7012 wxPyTreeCtrl * _arg0;
7013 wxTreeItemId * _arg1;
7014 PyObject * _argo0 = 0;
7015 PyObject * _argo1 = 0;
7016 char *_kwnames[] = { "self","item", NULL };
7017
7018 self = self;
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
7020 return NULL;
7021 if (_argo0) {
7022 if (_argo0 == Py_None) { _arg0 = NULL; }
7023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
7025 return NULL;
7026 }
7027 }
7028 if (_argo1) {
7029 if (_argo1 == Py_None) { _arg1 = NULL; }
7030 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7031 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
7032 return NULL;
7033 }
7034 }
7035 {
7036 wxPy_BEGIN_ALLOW_THREADS;
7037 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
7038
7039 wxPy_END_ALLOW_THREADS;
7040 } Py_INCREF(Py_None);
7041 _resultobj = Py_None;
7042 return _resultobj;
7043 }
7044
7045 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
7046 static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject * _resultobj;
7048 wxPyTreeCtrl * _arg0;
7049 PyObject * _argo0 = 0;
7050 char *_kwnames[] = { "self", NULL };
7051
7052 self = self;
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
7054 return NULL;
7055 if (_argo0) {
7056 if (_argo0 == Py_None) { _arg0 = NULL; }
7057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
7059 return NULL;
7060 }
7061 }
7062 {
7063 wxPy_BEGIN_ALLOW_THREADS;
7064 wxTreeCtrl_DeleteAllItems(_arg0);
7065
7066 wxPy_END_ALLOW_THREADS;
7067 } Py_INCREF(Py_None);
7068 _resultobj = Py_None;
7069 return _resultobj;
7070 }
7071
7072 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7073 static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
7074 PyObject * _resultobj;
7075 wxPyTreeCtrl * _arg0;
7076 wxTreeItemId * _arg1;
7077 PyObject * _argo0 = 0;
7078 PyObject * _argo1 = 0;
7079 char *_kwnames[] = { "self","item", NULL };
7080
7081 self = self;
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
7083 return NULL;
7084 if (_argo0) {
7085 if (_argo0 == Py_None) { _arg0 = NULL; }
7086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7088 return NULL;
7089 }
7090 }
7091 if (_argo1) {
7092 if (_argo1 == Py_None) { _arg1 = NULL; }
7093 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7094 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7095 return NULL;
7096 }
7097 }
7098 {
7099 wxPy_BEGIN_ALLOW_THREADS;
7100 wxTreeCtrl_Expand(_arg0,*_arg1);
7101
7102 wxPy_END_ALLOW_THREADS;
7103 } Py_INCREF(Py_None);
7104 _resultobj = Py_None;
7105 return _resultobj;
7106 }
7107
7108 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7109 static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
7110 PyObject * _resultobj;
7111 wxPyTreeCtrl * _arg0;
7112 wxTreeItemId * _arg1;
7113 PyObject * _argo0 = 0;
7114 PyObject * _argo1 = 0;
7115 char *_kwnames[] = { "self","item", NULL };
7116
7117 self = self;
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
7119 return NULL;
7120 if (_argo0) {
7121 if (_argo0 == Py_None) { _arg0 = NULL; }
7122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7124 return NULL;
7125 }
7126 }
7127 if (_argo1) {
7128 if (_argo1 == Py_None) { _arg1 = NULL; }
7129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7131 return NULL;
7132 }
7133 }
7134 {
7135 wxPy_BEGIN_ALLOW_THREADS;
7136 wxTreeCtrl_Collapse(_arg0,*_arg1);
7137
7138 wxPy_END_ALLOW_THREADS;
7139 } Py_INCREF(Py_None);
7140 _resultobj = Py_None;
7141 return _resultobj;
7142 }
7143
7144 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7145 static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
7146 PyObject * _resultobj;
7147 wxPyTreeCtrl * _arg0;
7148 wxTreeItemId * _arg1;
7149 PyObject * _argo0 = 0;
7150 PyObject * _argo1 = 0;
7151 char *_kwnames[] = { "self","item", NULL };
7152
7153 self = self;
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
7155 return NULL;
7156 if (_argo0) {
7157 if (_argo0 == Py_None) { _arg0 = NULL; }
7158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7160 return NULL;
7161 }
7162 }
7163 if (_argo1) {
7164 if (_argo1 == Py_None) { _arg1 = NULL; }
7165 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7166 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7167 return NULL;
7168 }
7169 }
7170 {
7171 wxPy_BEGIN_ALLOW_THREADS;
7172 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
7173
7174 wxPy_END_ALLOW_THREADS;
7175 } Py_INCREF(Py_None);
7176 _resultobj = Py_None;
7177 return _resultobj;
7178 }
7179
7180 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7181 static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
7182 PyObject * _resultobj;
7183 wxPyTreeCtrl * _arg0;
7184 wxTreeItemId * _arg1;
7185 PyObject * _argo0 = 0;
7186 PyObject * _argo1 = 0;
7187 char *_kwnames[] = { "self","item", NULL };
7188
7189 self = self;
7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
7191 return NULL;
7192 if (_argo0) {
7193 if (_argo0 == Py_None) { _arg0 = NULL; }
7194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7196 return NULL;
7197 }
7198 }
7199 if (_argo1) {
7200 if (_argo1 == Py_None) { _arg1 = NULL; }
7201 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7202 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7203 return NULL;
7204 }
7205 }
7206 {
7207 wxPy_BEGIN_ALLOW_THREADS;
7208 wxTreeCtrl_Toggle(_arg0,*_arg1);
7209
7210 wxPy_END_ALLOW_THREADS;
7211 } Py_INCREF(Py_None);
7212 _resultobj = Py_None;
7213 return _resultobj;
7214 }
7215
7216 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7217 static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
7218 PyObject * _resultobj;
7219 wxPyTreeCtrl * _arg0;
7220 PyObject * _argo0 = 0;
7221 char *_kwnames[] = { "self", NULL };
7222
7223 self = self;
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
7225 return NULL;
7226 if (_argo0) {
7227 if (_argo0 == Py_None) { _arg0 = NULL; }
7228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7230 return NULL;
7231 }
7232 }
7233 {
7234 wxPy_BEGIN_ALLOW_THREADS;
7235 wxTreeCtrl_Unselect(_arg0);
7236
7237 wxPy_END_ALLOW_THREADS;
7238 } Py_INCREF(Py_None);
7239 _resultobj = Py_None;
7240 return _resultobj;
7241 }
7242
7243 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7244 static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7245 PyObject * _resultobj;
7246 wxPyTreeCtrl * _arg0;
7247 PyObject * _argo0 = 0;
7248 char *_kwnames[] = { "self", NULL };
7249
7250 self = self;
7251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
7252 return NULL;
7253 if (_argo0) {
7254 if (_argo0 == Py_None) { _arg0 = NULL; }
7255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7257 return NULL;
7258 }
7259 }
7260 {
7261 wxPy_BEGIN_ALLOW_THREADS;
7262 wxTreeCtrl_UnselectAll(_arg0);
7263
7264 wxPy_END_ALLOW_THREADS;
7265 } Py_INCREF(Py_None);
7266 _resultobj = Py_None;
7267 return _resultobj;
7268 }
7269
7270 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7271 static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7272 PyObject * _resultobj;
7273 wxPyTreeCtrl * _arg0;
7274 wxTreeItemId * _arg1;
7275 PyObject * _argo0 = 0;
7276 PyObject * _argo1 = 0;
7277 char *_kwnames[] = { "self","item", NULL };
7278
7279 self = self;
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
7281 return NULL;
7282 if (_argo0) {
7283 if (_argo0 == Py_None) { _arg0 = NULL; }
7284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7286 return NULL;
7287 }
7288 }
7289 if (_argo1) {
7290 if (_argo1 == Py_None) { _arg1 = NULL; }
7291 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7292 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7293 return NULL;
7294 }
7295 }
7296 {
7297 wxPy_BEGIN_ALLOW_THREADS;
7298 wxTreeCtrl_SelectItem(_arg0,*_arg1);
7299
7300 wxPy_END_ALLOW_THREADS;
7301 } Py_INCREF(Py_None);
7302 _resultobj = Py_None;
7303 return _resultobj;
7304 }
7305
7306 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7307 static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject * _resultobj;
7309 wxPyTreeCtrl * _arg0;
7310 wxTreeItemId * _arg1;
7311 PyObject * _argo0 = 0;
7312 PyObject * _argo1 = 0;
7313 char *_kwnames[] = { "self","item", NULL };
7314
7315 self = self;
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
7317 return NULL;
7318 if (_argo0) {
7319 if (_argo0 == Py_None) { _arg0 = NULL; }
7320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7322 return NULL;
7323 }
7324 }
7325 if (_argo1) {
7326 if (_argo1 == Py_None) { _arg1 = NULL; }
7327 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7328 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7329 return NULL;
7330 }
7331 }
7332 {
7333 wxPy_BEGIN_ALLOW_THREADS;
7334 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
7335
7336 wxPy_END_ALLOW_THREADS;
7337 } Py_INCREF(Py_None);
7338 _resultobj = Py_None;
7339 return _resultobj;
7340 }
7341
7342 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7343 static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7344 PyObject * _resultobj;
7345 wxPyTreeCtrl * _arg0;
7346 wxTreeItemId * _arg1;
7347 PyObject * _argo0 = 0;
7348 PyObject * _argo1 = 0;
7349 char *_kwnames[] = { "self","item", NULL };
7350
7351 self = self;
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
7353 return NULL;
7354 if (_argo0) {
7355 if (_argo0 == Py_None) { _arg0 = NULL; }
7356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7358 return NULL;
7359 }
7360 }
7361 if (_argo1) {
7362 if (_argo1 == Py_None) { _arg1 = NULL; }
7363 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7364 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7365 return NULL;
7366 }
7367 }
7368 {
7369 wxPy_BEGIN_ALLOW_THREADS;
7370 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
7371
7372 wxPy_END_ALLOW_THREADS;
7373 } Py_INCREF(Py_None);
7374 _resultobj = Py_None;
7375 return _resultobj;
7376 }
7377
7378 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7379 static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7380 PyObject * _resultobj;
7381 wxPyTreeCtrl * _arg0;
7382 wxTreeItemId * _arg1;
7383 PyObject * _argo0 = 0;
7384 PyObject * _argo1 = 0;
7385 char *_kwnames[] = { "self","item", NULL };
7386
7387 self = self;
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
7389 return NULL;
7390 if (_argo0) {
7391 if (_argo0 == Py_None) { _arg0 = NULL; }
7392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7394 return NULL;
7395 }
7396 }
7397 if (_argo1) {
7398 if (_argo1 == Py_None) { _arg1 = NULL; }
7399 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7400 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7401 return NULL;
7402 }
7403 }
7404 {
7405 wxPy_BEGIN_ALLOW_THREADS;
7406 wxTreeCtrl_EditLabel(_arg0,*_arg1);
7407
7408 wxPy_END_ALLOW_THREADS;
7409 } Py_INCREF(Py_None);
7410 _resultobj = Py_None;
7411 return _resultobj;
7412 }
7413
7414 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7415 static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
7416 PyObject * _resultobj;
7417 wxPyTreeCtrl * _arg0;
7418 wxTreeItemId * _arg1;
7419 PyObject * _argo0 = 0;
7420 PyObject * _argo1 = 0;
7421 char *_kwnames[] = { "self","item", NULL };
7422
7423 self = self;
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
7425 return NULL;
7426 if (_argo0) {
7427 if (_argo0 == Py_None) { _arg0 = NULL; }
7428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7430 return NULL;
7431 }
7432 }
7433 if (_argo1) {
7434 if (_argo1 == Py_None) { _arg1 = NULL; }
7435 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7436 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7437 return NULL;
7438 }
7439 }
7440 {
7441 wxPy_BEGIN_ALLOW_THREADS;
7442 wxTreeCtrl_SortChildren(_arg0,*_arg1);
7443
7444 wxPy_END_ALLOW_THREADS;
7445 } Py_INCREF(Py_None);
7446 _resultobj = Py_None;
7447 return _resultobj;
7448 }
7449
7450 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7451 static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
7452 PyObject * _resultobj;
7453 wxPyTreeCtrl * _arg0;
7454 wxTreeItemId * _arg1;
7455 int _arg2 = (int ) TRUE;
7456 PyObject * _argo0 = 0;
7457 PyObject * _argo1 = 0;
7458 char *_kwnames[] = { "self","item","bold", NULL };
7459
7460 self = self;
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
7462 return NULL;
7463 if (_argo0) {
7464 if (_argo0 == Py_None) { _arg0 = NULL; }
7465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7467 return NULL;
7468 }
7469 }
7470 if (_argo1) {
7471 if (_argo1 == Py_None) { _arg1 = NULL; }
7472 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7473 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7474 return NULL;
7475 }
7476 }
7477 {
7478 wxPy_BEGIN_ALLOW_THREADS;
7479 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
7480
7481 wxPy_END_ALLOW_THREADS;
7482 } Py_INCREF(Py_None);
7483 _resultobj = Py_None;
7484 return _resultobj;
7485 }
7486
7487 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7488 static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
7489 PyObject * _resultobj;
7490 bool _result;
7491 wxPyTreeCtrl * _arg0;
7492 wxTreeItemId * _arg1;
7493 PyObject * _argo0 = 0;
7494 PyObject * _argo1 = 0;
7495 char *_kwnames[] = { "self","item", NULL };
7496
7497 self = self;
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
7499 return NULL;
7500 if (_argo0) {
7501 if (_argo0 == Py_None) { _arg0 = NULL; }
7502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7504 return NULL;
7505 }
7506 }
7507 if (_argo1) {
7508 if (_argo1 == Py_None) { _arg1 = NULL; }
7509 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7510 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7511 return NULL;
7512 }
7513 }
7514 {
7515 wxPy_BEGIN_ALLOW_THREADS;
7516 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
7517
7518 wxPy_END_ALLOW_THREADS;
7519 } _resultobj = Py_BuildValue("i",_result);
7520 return _resultobj;
7521 }
7522
7523 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7524 static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7525 PyObject * _resultobj;
7526 wxTreeItemId * _result;
7527 wxPyTreeCtrl * _arg0;
7528 wxPoint * _arg1;
7529 int * _arg2;
7530 int temp;
7531 PyObject * _argo0 = 0;
7532 wxPoint temp0;
7533 PyObject * _obj1 = 0;
7534 char *_kwnames[] = { "self","point", NULL };
7535 char _ptemp[128];
7536
7537 self = self;
7538 {
7539 _arg2 = &temp;
7540 }
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
7542 return NULL;
7543 if (_argo0) {
7544 if (_argo0 == Py_None) { _arg0 = NULL; }
7545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7547 return NULL;
7548 }
7549 }
7550 {
7551 _arg1 = &temp0;
7552 if (! wxPoint_helper(_obj1, &_arg1))
7553 return NULL;
7554 }
7555 {
7556 wxPy_BEGIN_ALLOW_THREADS;
7557 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
7558
7559 wxPy_END_ALLOW_THREADS;
7560 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
7561 _resultobj = Py_BuildValue("s",_ptemp);
7562 {
7563 PyObject *o;
7564 o = PyInt_FromLong((long) (*_arg2));
7565 _resultobj = t_output_helper(_resultobj, o);
7566 }
7567 return _resultobj;
7568 }
7569
7570 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7571 static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7572 PyObject * _resultobj;
7573 wxPyTreeCtrl * _arg0;
7574 wxTreeItemId * _arg1;
7575 wxColour * _arg2;
7576 PyObject * _argo0 = 0;
7577 PyObject * _argo1 = 0;
7578 wxColour temp;
7579 PyObject * _obj2 = 0;
7580 char *_kwnames[] = { "self","item","col", NULL };
7581
7582 self = self;
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
7584 return NULL;
7585 if (_argo0) {
7586 if (_argo0 == Py_None) { _arg0 = NULL; }
7587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7589 return NULL;
7590 }
7591 }
7592 if (_argo1) {
7593 if (_argo1 == Py_None) { _arg1 = NULL; }
7594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7596 return NULL;
7597 }
7598 }
7599 {
7600 _arg2 = &temp;
7601 if (! wxColour_helper(_obj2, &_arg2))
7602 return NULL;
7603 }
7604 {
7605 wxPy_BEGIN_ALLOW_THREADS;
7606 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
7607
7608 wxPy_END_ALLOW_THREADS;
7609 } Py_INCREF(Py_None);
7610 _resultobj = Py_None;
7611 return _resultobj;
7612 }
7613
7614 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7615 static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7616 PyObject * _resultobj;
7617 wxPyTreeCtrl * _arg0;
7618 wxTreeItemId * _arg1;
7619 wxColour * _arg2;
7620 PyObject * _argo0 = 0;
7621 PyObject * _argo1 = 0;
7622 wxColour temp;
7623 PyObject * _obj2 = 0;
7624 char *_kwnames[] = { "self","item","col", NULL };
7625
7626 self = self;
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
7628 return NULL;
7629 if (_argo0) {
7630 if (_argo0 == Py_None) { _arg0 = NULL; }
7631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7633 return NULL;
7634 }
7635 }
7636 if (_argo1) {
7637 if (_argo1 == Py_None) { _arg1 = NULL; }
7638 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7639 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7640 return NULL;
7641 }
7642 }
7643 {
7644 _arg2 = &temp;
7645 if (! wxColour_helper(_obj2, &_arg2))
7646 return NULL;
7647 }
7648 {
7649 wxPy_BEGIN_ALLOW_THREADS;
7650 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
7651
7652 wxPy_END_ALLOW_THREADS;
7653 } Py_INCREF(Py_None);
7654 _resultobj = Py_None;
7655 return _resultobj;
7656 }
7657
7658 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7659 static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7660 PyObject * _resultobj;
7661 wxPyTreeCtrl * _arg0;
7662 wxTreeItemId * _arg1;
7663 wxFont * _arg2;
7664 PyObject * _argo0 = 0;
7665 PyObject * _argo1 = 0;
7666 PyObject * _argo2 = 0;
7667 char *_kwnames[] = { "self","item","font", NULL };
7668
7669 self = self;
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
7671 return NULL;
7672 if (_argo0) {
7673 if (_argo0 == Py_None) { _arg0 = NULL; }
7674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7676 return NULL;
7677 }
7678 }
7679 if (_argo1) {
7680 if (_argo1 == Py_None) { _arg1 = NULL; }
7681 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7682 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7683 return NULL;
7684 }
7685 }
7686 if (_argo2) {
7687 if (_argo2 == Py_None) { _arg2 = NULL; }
7688 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
7689 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7690 return NULL;
7691 }
7692 }
7693 {
7694 wxPy_BEGIN_ALLOW_THREADS;
7695 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
7696
7697 wxPy_END_ALLOW_THREADS;
7698 } Py_INCREF(Py_None);
7699 _resultobj = Py_None;
7700 return _resultobj;
7701 }
7702
7703 static PyMethodDef controls2cMethods[] = {
7704 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
7705 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7706 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
7707 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
7708 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
7709 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
7710 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
7711 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
7712 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
7713 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
7714 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
7715 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
7716 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
7717 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
7718 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
7719 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
7720 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
7721 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
7722 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
7723 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
7724 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
7725 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
7726 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
7727 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
7728 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
7729 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
7730 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
7731 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
7732 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
7733 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
7734 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
7735 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
7736 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
7737 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
7738 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
7739 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
7740 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
7741 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
7742 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
7743 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
7744 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
7745 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
7746 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
7747 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
7748 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
7749 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
7750 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
7751 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
7752 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
7753 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
7754 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
7755 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
7756 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
7757 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
7758 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
7759 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
7760 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
7761 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
7762 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
7763 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
7764 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
7765 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
7766 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
7767 { "wxTreeCtrl__setSelf", (PyCFunction) _wrap_wxTreeCtrl__setSelf, METH_VARARGS | METH_KEYWORDS },
7768 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
7769 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
7770 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
7771 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
7772 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
7773 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
7774 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
7775 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
7776 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
7777 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
7778 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
7779 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
7780 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
7781 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
7782 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
7783 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
7784 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
7785 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
7786 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
7787 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
7788 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
7789 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
7790 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
7791 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
7792 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
7793 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
7794 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
7795 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
7796 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7797 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
7798 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
7799 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
7800 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
7801 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
7802 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
7803 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
7804 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
7805 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
7806 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
7807 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
7808 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
7809 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
7810 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
7811 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
7812 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
7813 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
7814 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
7815 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
7816 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
7817 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
7818 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
7819 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
7820 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
7821 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
7822 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
7823 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
7824 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
7825 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
7826 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
7827 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
7828 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
7829 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
7830 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
7831 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
7832 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
7833 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
7834 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
7835 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
7836 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
7837 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
7838 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
7839 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
7840 { "wxListEvent_Cancelled", (PyCFunction) _wrap_wxListEvent_Cancelled, METH_VARARGS | METH_KEYWORDS },
7841 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
7842 { "wxListEvent_GetOldItem", (PyCFunction) _wrap_wxListEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
7843 { "wxListEvent_GetOldIndex", (PyCFunction) _wrap_wxListEvent_GetOldIndex, METH_VARARGS | METH_KEYWORDS },
7844 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
7845 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
7846 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
7847 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
7848 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
7849 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
7850 { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS },
7851 { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS },
7852 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
7853 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
7854 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
7855 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
7856 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
7857 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
7858 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
7859 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
7860 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
7861 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
7862 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
7863 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
7864 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
7865 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
7866 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
7867 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
7868 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
7869 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
7870 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
7871 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
7872 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
7873 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
7874 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
7875 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
7876 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
7877 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
7878 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
7879 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
7880 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
7881 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7882 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
7883 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
7884 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
7885 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
7886 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
7887 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
7888 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
7889 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
7890 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
7891 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
7892 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
7893 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
7894 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
7895 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7896 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
7897 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
7898 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
7899 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
7900 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
7901 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
7902 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
7903 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
7904 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
7905 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
7906 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
7907 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
7908 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
7909 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
7910 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
7911 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
7912 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7913 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
7914 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
7915 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7916 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
7917 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
7918 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7919 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
7920 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
7921 { NULL, NULL }
7922 };
7923 #ifdef __cplusplus
7924 }
7925 #endif
7926 /*
7927 * This table is used by the pointer type-checker
7928 */
7929 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
7930 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7931 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
7932 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
7933 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
7934 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
7935 { "_wxEvent","_class_wxEvent",0},
7936 { "_class_wxActivateEvent","_wxActivateEvent",0},
7937 { "_signed_long","_long",0},
7938 { "_wxMenuEvent","_class_wxMenuEvent",0},
7939 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
7940 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
7941 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
7942 { "_wxPrintQuality","_wxCoord",0},
7943 { "_wxPrintQuality","_int",0},
7944 { "_wxPrintQuality","_signed_int",0},
7945 { "_wxPrintQuality","_unsigned_int",0},
7946 { "_wxPrintQuality","_wxWindowID",0},
7947 { "_wxPrintQuality","_uint",0},
7948 { "_wxPrintQuality","_EBool",0},
7949 { "_wxPrintQuality","_size_t",0},
7950 { "_wxPrintQuality","_time_t",0},
7951 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
7952 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
7953 { "_class_wxRegionIterator","_wxRegionIterator",0},
7954 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
7955 { "_class_wxMenuBar","_wxMenuBar",0},
7956 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
7957 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
7958 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
7959 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
7960 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
7961 { "_class_wxEvtHandler","_wxEvtHandler",0},
7962 { "_wxPaintEvent","_class_wxPaintEvent",0},
7963 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7964 { "_wxCursor","_class_wxCursor",0},
7965 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
7966 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
7967 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent},
7968 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
7969 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
7970 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
7971 { "_wxMask","_class_wxMask",0},
7972 { "_wxPen","_class_wxPen",0},
7973 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7974 { "_byte","_unsigned_char",0},
7975 { "_wxDataObject","_class_wxDataObject",0},
7976 { "_wxStaticBox","_class_wxStaticBox",0},
7977 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
7978 { "_wxPyDropSource","_class_wxPyDropSource",0},
7979 { "_wxChoice","_class_wxChoice",0},
7980 { "_wxSlider","_class_wxSlider",0},
7981 { "_long","_unsigned_long",0},
7982 { "_long","_signed_long",0},
7983 { "_wxImageList","_class_wxImageList",0},
7984 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
7985 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7986 { "_wxBitmapButton","_class_wxBitmapButton",0},
7987 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7988 { "_class_wxClipboard","_wxClipboard",0},
7989 { "_class_wxGauge","_wxGauge",0},
7990 { "_wxDC","_class_wxDC",0},
7991 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
7992 { "_wxListEvent","_class_wxListEvent",0},
7993 { "_wxSpinEvent","_class_wxSpinEvent",0},
7994 { "_size_t","_wxCoord",0},
7995 { "_size_t","_wxPrintQuality",0},
7996 { "_size_t","_time_t",0},
7997 { "_size_t","_unsigned_int",0},
7998 { "_size_t","_int",0},
7999 { "_size_t","_wxWindowID",0},
8000 { "_size_t","_uint",0},
8001 { "_class_wxRealPoint","_wxRealPoint",0},
8002 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8003 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8004 { "_class_wxMenuItem","_wxMenuItem",0},
8005 { "_class_wxPaintEvent","_wxPaintEvent",0},
8006 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8007 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8008 { "_wxPanel","_class_wxPanel",0},
8009 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8010 { "_wxCheckBox","_class_wxCheckBox",0},
8011 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8012 { "_wxPyEvent","_class_wxPyEvent",0},
8013 { "_wxTextCtrl","_class_wxTextCtrl",0},
8014 { "_class_wxMask","_wxMask",0},
8015 { "_wxTextDataObject","_class_wxTextDataObject",0},
8016 { "_class_wxKeyEvent","_wxKeyEvent",0},
8017 { "_wxColour","_class_wxColour",0},
8018 { "_class_wxDialog","_wxDialog",0},
8019 { "_class_wxFileDataObject","_wxFileDataObject",0},
8020 { "_wxIdleEvent","_class_wxIdleEvent",0},
8021 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8022 { "_class_wxDataObject","_wxDataObject",0},
8023 { "_wxStaticLine","_class_wxStaticLine",0},
8024 { "_wxBrush","_class_wxBrush",0},
8025 { "_wxDataFormat","_class_wxDataFormat",0},
8026 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8027 { "_wxShowEvent","_class_wxShowEvent",0},
8028 { "_uint","_wxCoord",0},
8029 { "_uint","_wxPrintQuality",0},
8030 { "_uint","_time_t",0},
8031 { "_uint","_size_t",0},
8032 { "_uint","_unsigned_int",0},
8033 { "_uint","_int",0},
8034 { "_uint","_wxWindowID",0},
8035 { "_wxChar","_char",0},
8036 { "_wxPyValidator","_class_wxPyValidator",0},
8037 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
8038 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
8039 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
8040 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
8041 { "_class_wxEvent","_wxEvent",0},
8042 { "_wxCheckListBox","_class_wxCheckListBox",0},
8043 { "_wxRect","_class_wxRect",0},
8044 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
8045 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
8046 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
8047 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
8048 { "_wxCommandEvent","_class_wxCommandEvent",0},
8049 { "_wxSizeEvent","_class_wxSizeEvent",0},
8050 { "_wxPoint","_class_wxPoint",0},
8051 { "_class_wxButton","_wxButton",0},
8052 { "_wxRadioBox","_class_wxRadioBox",0},
8053 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8054 { "_char","_wxChar",0},
8055 { "_wxBitmap","_class_wxBitmap",0},
8056 { "_wxWindowDC","_class_wxWindowDC",0},
8057 { "_wxTimerEvent","_class_wxTimerEvent",0},
8058 { "_wxScrollBar","_class_wxScrollBar",0},
8059 { "_wxSpinButton","_class_wxSpinButton",0},
8060 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8061 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
8062 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
8063 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent},
8064 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
8065 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8066 { "_class_wxValidator","_wxValidator",0},
8067 { "_class_wxPyEvent","_wxPyEvent",0},
8068 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8069 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8070 { "_wxListItem","_class_wxListItem",0},
8071 { "_wxDropTarget","_class_wxDropTarget",0},
8072 { "_class_wxStaticLine","_wxStaticLine",0},
8073 { "_wxScrollEvent","_class_wxScrollEvent",0},
8074 { "_EBool","_wxCoord",0},
8075 { "_EBool","_wxPrintQuality",0},
8076 { "_EBool","_signed_int",0},
8077 { "_EBool","_int",0},
8078 { "_EBool","_wxWindowID",0},
8079 { "_class_wxRegion","_wxRegion",0},
8080 { "_class_wxDataFormat","_wxDataFormat",0},
8081 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8082 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8083 { "_wxStaticText","_class_wxStaticText",0},
8084 { "_wxFont","_class_wxFont",0},
8085 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8086 { "_wxCloseEvent","_class_wxCloseEvent",0},
8087 { "_unsigned_long","_long",0},
8088 { "_class_wxRect","_wxRect",0},
8089 { "_class_wxDC","_wxDC",0},
8090 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8091 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8092 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8093 { "_class_wxTreeEvent","_wxTreeEvent",0},
8094 { "_wxFocusEvent","_class_wxFocusEvent",0},
8095 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8096 { "_class_wxTimerEvent","_wxTimerEvent",0},
8097 { "_class_wxSpinButton","_wxSpinButton",0},
8098 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8099 { "_class_wxPanel","_wxPanel",0},
8100 { "_class_wxCheckBox","_wxCheckBox",0},
8101 { "_wxComboBox","_class_wxComboBox",0},
8102 { "_wxRadioButton","_class_wxRadioButton",0},
8103 { "_signed_int","_wxCoord",0},
8104 { "_signed_int","_wxPrintQuality",0},
8105 { "_signed_int","_EBool",0},
8106 { "_signed_int","_wxWindowID",0},
8107 { "_signed_int","_int",0},
8108 { "_class_wxTextCtrl","_wxTextCtrl",0},
8109 { "_class_wxListItemAttr","_wxListItemAttr",0},
8110 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8111 { "_class_wxTextDataObject","_wxTextDataObject",0},
8112 { "_wxMenu","_class_wxMenu",0},
8113 { "_class_wxMoveEvent","_wxMoveEvent",0},
8114 { "_wxListBox","_class_wxListBox",0},
8115 { "_wxScreenDC","_class_wxScreenDC",0},
8116 { "_WXTYPE","_short",0},
8117 { "_WXTYPE","_signed_short",0},
8118 { "_WXTYPE","_unsigned_short",0},
8119 { "_class_wxDropTarget","_wxDropTarget",0},
8120 { "_class_wxBrush","_wxBrush",0},
8121 { "_unsigned_short","_WXTYPE",0},
8122 { "_unsigned_short","_short",0},
8123 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8124 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8125 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
8126 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
8127 { "_class_wxWindow","_wxWindow",0},
8128 { "_class_wxStaticText","_wxStaticText",0},
8129 { "_class_wxFont","_wxFont",0},
8130 { "_wxClipboard","_class_wxClipboard",0},
8131 { "_class_wxPyValidator","_wxPyValidator",0},
8132 { "_class_wxCloseEvent","_wxCloseEvent",0},
8133 { "_wxBusyInfo","_class_wxBusyInfo",0},
8134 { "_class_wxMenuEvent","_wxMenuEvent",0},
8135 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8136 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8137 { "_wxClientDC","_class_wxClientDC",0},
8138 { "_wxMouseEvent","_class_wxMouseEvent",0},
8139 { "_wxListCtrl","_class_wxListCtrl",0},
8140 { "_class_wxPoint","_wxPoint",0},
8141 { "_wxRealPoint","_class_wxRealPoint",0},
8142 { "_class_wxRadioBox","_wxRadioBox",0},
8143 { "_signed_short","_WXTYPE",0},
8144 { "_signed_short","_short",0},
8145 { "_wxMemoryDC","_class_wxMemoryDC",0},
8146 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8147 { "_wxPaintDC","_class_wxPaintDC",0},
8148 { "_class_wxWindowDC","_wxWindowDC",0},
8149 { "_class_wxFocusEvent","_wxFocusEvent",0},
8150 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8151 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8152 { "_class_wxCursor","_wxCursor",0},
8153 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8154 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8155 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8156 { "_wxTreeItemId","_class_wxTreeItemId",0},
8157 { "_unsigned_char","_byte",0},
8158 { "_class_wxMenu","_wxMenu",0},
8159 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8160 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8161 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
8162 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
8163 { "_wxControl","_class_wxControl",0},
8164 { "_class_wxListBox","_wxListBox",0},
8165 { "_unsigned_int","_wxCoord",0},
8166 { "_unsigned_int","_wxPrintQuality",0},
8167 { "_unsigned_int","_time_t",0},
8168 { "_unsigned_int","_size_t",0},
8169 { "_unsigned_int","_uint",0},
8170 { "_unsigned_int","_wxWindowID",0},
8171 { "_unsigned_int","_int",0},
8172 { "_wxIcon","_class_wxIcon",0},
8173 { "_wxDialog","_class_wxDialog",0},
8174 { "_class_wxListItem","_wxListItem",0},
8175 { "_class_wxPen","_wxPen",0},
8176 { "_short","_WXTYPE",0},
8177 { "_short","_unsigned_short",0},
8178 { "_short","_signed_short",0},
8179 { "_class_wxStaticBox","_wxStaticBox",0},
8180 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8181 { "_class_wxPyDropSource","_wxPyDropSource",0},
8182 { "_class_wxScrollEvent","_wxScrollEvent",0},
8183 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8184 { "_class_wxChoice","_wxChoice",0},
8185 { "_class_wxSlider","_wxSlider",0},
8186 { "_class_wxImageList","_wxImageList",0},
8187 { "_class_wxBitmapButton","_wxBitmapButton",0},
8188 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8189 { "_wxWindowID","_wxCoord",0},
8190 { "_wxWindowID","_wxPrintQuality",0},
8191 { "_wxWindowID","_time_t",0},
8192 { "_wxWindowID","_size_t",0},
8193 { "_wxWindowID","_EBool",0},
8194 { "_wxWindowID","_uint",0},
8195 { "_wxWindowID","_int",0},
8196 { "_wxWindowID","_signed_int",0},
8197 { "_wxWindowID","_unsigned_int",0},
8198 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8199 { "_int","_wxCoord",0},
8200 { "_int","_wxPrintQuality",0},
8201 { "_int","_time_t",0},
8202 { "_int","_size_t",0},
8203 { "_int","_EBool",0},
8204 { "_int","_uint",0},
8205 { "_int","_wxWindowID",0},
8206 { "_int","_unsigned_int",0},
8207 { "_int","_signed_int",0},
8208 { "_class_wxMouseEvent","_wxMouseEvent",0},
8209 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8210 { "_class_wxListEvent","_wxListEvent",0},
8211 { "_class_wxSpinEvent","_wxSpinEvent",0},
8212 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8213 { "_time_t","_wxCoord",0},
8214 { "_time_t","_wxPrintQuality",0},
8215 { "_time_t","_unsigned_int",0},
8216 { "_time_t","_int",0},
8217 { "_time_t","_wxWindowID",0},
8218 { "_time_t","_uint",0},
8219 { "_time_t","_size_t",0},
8220 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8221 { "_wxButton","_class_wxButton",0},
8222 { "_wxSize","_class_wxSize",0},
8223 { "_wxRegionIterator","_class_wxRegionIterator",0},
8224 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8225 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8226 { "_class_wxPaintDC","_wxPaintDC",0},
8227 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8228 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8229 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8230 { "_class_wxComboBox","_wxComboBox",0},
8231 { "_class_wxRadioButton","_wxRadioButton",0},
8232 { "_wxValidator","_class_wxValidator",0},
8233 { "_class_wxTreeItemId","_wxTreeItemId",0},
8234 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8235 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8236 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8237 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8238 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
8239 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
8240 { "_class_wxControl","_wxControl",0},
8241 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8242 { "_class_wxIcon","_wxIcon",0},
8243 { "_class_wxColour","_wxColour",0},
8244 { "_class_wxScreenDC","_wxScreenDC",0},
8245 { "_wxPalette","_class_wxPalette",0},
8246 { "_class_wxIdleEvent","_wxIdleEvent",0},
8247 { "_wxCoord","_int",0},
8248 { "_wxCoord","_signed_int",0},
8249 { "_wxCoord","_unsigned_int",0},
8250 { "_wxCoord","_wxWindowID",0},
8251 { "_wxCoord","_uint",0},
8252 { "_wxCoord","_EBool",0},
8253 { "_wxCoord","_size_t",0},
8254 { "_wxCoord","_time_t",0},
8255 { "_wxCoord","_wxPrintQuality",0},
8256 { "_wxEraseEvent","_class_wxEraseEvent",0},
8257 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8258 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8259 { "_wxRegion","_class_wxRegion",0},
8260 { "_class_wxShowEvent","_wxShowEvent",0},
8261 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8262 { "_wxActivateEvent","_class_wxActivateEvent",0},
8263 { "_wxGauge","_class_wxGauge",0},
8264 { "_class_wxCheckListBox","_wxCheckListBox",0},
8265 { "_class_wxBusyInfo","_wxBusyInfo",0},
8266 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
8267 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
8268 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
8269 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
8270 { "_class_wxCommandEvent","_wxCommandEvent",0},
8271 { "_class_wxClientDC","_wxClientDC",0},
8272 { "_class_wxSizeEvent","_wxSizeEvent",0},
8273 { "_class_wxListCtrl","_wxListCtrl",0},
8274 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8275 { "_class_wxSize","_wxSize",0},
8276 { "_class_wxBitmap","_wxBitmap",0},
8277 { "_class_wxMemoryDC","_wxMemoryDC",0},
8278 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8279 { "_wxMenuBar","_class_wxMenuBar",0},
8280 { "_wxTreeEvent","_class_wxTreeEvent",0},
8281 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
8282 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
8283 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
8284 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
8285 { "_wxEvtHandler","_class_wxEvtHandler",0},
8286 { "_wxMenuItem","_class_wxMenuItem",0},
8287 { "_class_wxScrollBar","_wxScrollBar",0},
8288 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8289 { "_wxListItemAttr","_class_wxListItemAttr",0},
8290 { "_wxKeyEvent","_class_wxKeyEvent",0},
8291 { "_wxMoveEvent","_class_wxMoveEvent",0},
8292 { "_class_wxPalette","_wxPalette",0},
8293 { "_wxFileDataObject","_class_wxFileDataObject",0},
8294 { "_class_wxEraseEvent","_wxEraseEvent",0},
8295 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8296 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8297 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8298 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
8299 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
8300 { "_wxWindow","_class_wxWindow",0},
8301 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8302 {0,0,0}};
8303
8304 static PyObject *SWIG_globals;
8305 #ifdef __cplusplus
8306 extern "C"
8307 #endif
8308 SWIGEXPORT(void) initcontrols2c() {
8309 PyObject *m, *d;
8310 SWIG_globals = SWIG_newvarlink();
8311 m = Py_InitModule("controls2c", controls2cMethods);
8312 d = PyModule_GetDict(m);
8313 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
8314 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
8315 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
8316 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
8317 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
8318 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
8319 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
8320 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
8321 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
8322 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
8323 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
8324 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
8325 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
8326 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
8327 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
8328 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
8329 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
8330 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
8331 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
8332 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
8333 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
8334 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
8335 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
8336 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
8337 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
8338 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
8339 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
8340 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
8341 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
8342 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
8343 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
8344 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
8345 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
8346 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
8347 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
8348 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
8349 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
8350 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
8351 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
8352 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
8353 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
8354 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
8355 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
8356 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
8357 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
8358 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
8359 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
8360 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
8361 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
8362 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
8363 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
8364 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
8365 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
8366 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
8367 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
8368 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
8369 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
8370 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
8371 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
8372 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
8373 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
8374 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
8375 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
8376 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
8377 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
8378 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
8379 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
8380 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
8381 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
8382 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
8383 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
8384 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
8385 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
8386 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
8387 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
8388 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
8389 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
8390 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
8391 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
8392 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
8393 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
8394 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
8395 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
8396 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
8397 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
8398 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
8399 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
8400 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
8401 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
8402 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
8403 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
8404 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
8405 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
8406 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
8407 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
8408 {
8409 int i;
8410 for (i = 0; _swig_mapping[i].n1; i++)
8411 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
8412 }
8413 }