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