]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/controls2.cpp
More tweaks
[wxWidgets.git] / utils / wxPython / src / msw / controls2.cpp
1 /*
2 * FILE : msw/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 #include <wx/listctrl.h>
58 #include <wx/treectrl.h>
59
60 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
61 PyObject* o2;
62 PyObject* o3;
63 if (!target) {
64 target = o;
65 } else if (target == Py_None) {
66 Py_DECREF(Py_None);
67 target = o;
68 } else {
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79 }
80
81 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
85 if (!target) {
86 target = o;
87 } else if (target == Py_None) {
88 Py_DECREF(Py_None);
89 target = o;
90 } else {
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
98
99 o2 = target;
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
102 Py_DECREF(o3);
103 }
104 return target;
105 }
106
107
108 HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
109 HELPEREXPORT int* int_LIST_helper(PyObject* source);
110 HELPEREXPORT long* long_LIST_helper(PyObject* source);
111 HELPEREXPORT char** string_LIST_helper(PyObject* source);
112 HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
113 HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
114 HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
115 HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
116
117
118 static char* wxStringErrorMsg = "string type is required for parameter";
119
120 extern wxValidator wxPyDefaultValidator;
121
122 class wxPyTreeItemData : public wxTreeItemData {
123 public:
124 wxPyTreeItemData(PyObject* obj = NULL) {
125 if (obj == NULL)
126 obj = Py_None;
127 Py_INCREF(obj);
128 m_obj = obj;
129 }
130
131 ~wxPyTreeItemData() {
132 bool doSave = wxPyRestoreThread();
133 Py_DECREF(m_obj);
134 wxPySaveThread(doSave);
135 }
136
137 PyObject* GetData() {
138 Py_INCREF(m_obj);
139 return m_obj;
140 }
141
142 void SetData(PyObject* obj) {
143 Py_DECREF(m_obj);
144 m_obj = obj;
145 Py_INCREF(obj);
146 }
147
148 PyObject* m_obj;
149 };
150 #ifdef __cplusplus
151 extern "C" {
152 #endif
153 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
154 static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
155 PyObject * _resultobj;
156 long _result;
157 wxListItem * _arg0;
158 long _arg1;
159 PyObject * _argo0 = 0;
160 char *_kwnames[] = { "self","m_mask", NULL };
161
162 self = self;
163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
164 return NULL;
165 if (_argo0) {
166 if (_argo0 == Py_None) { _arg0 = NULL; }
167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
169 return NULL;
170 }
171 }
172 {
173 wxPy_BEGIN_ALLOW_THREADS;
174 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
175
176 wxPy_END_ALLOW_THREADS;
177 } _resultobj = Py_BuildValue("l",_result);
178 return _resultobj;
179 }
180
181 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
182 static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
183 PyObject * _resultobj;
184 long _result;
185 wxListItem * _arg0;
186 PyObject * _argo0 = 0;
187 char *_kwnames[] = { "self", NULL };
188
189 self = self;
190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
191 return NULL;
192 if (_argo0) {
193 if (_argo0 == Py_None) { _arg0 = NULL; }
194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
196 return NULL;
197 }
198 }
199 {
200 wxPy_BEGIN_ALLOW_THREADS;
201 _result = (long )wxListItem_m_mask_get(_arg0);
202
203 wxPy_END_ALLOW_THREADS;
204 } _resultobj = Py_BuildValue("l",_result);
205 return _resultobj;
206 }
207
208 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
209 static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
210 PyObject * _resultobj;
211 long _result;
212 wxListItem * _arg0;
213 long _arg1;
214 PyObject * _argo0 = 0;
215 char *_kwnames[] = { "self","m_itemId", NULL };
216
217 self = self;
218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
219 return NULL;
220 if (_argo0) {
221 if (_argo0 == Py_None) { _arg0 = NULL; }
222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
224 return NULL;
225 }
226 }
227 {
228 wxPy_BEGIN_ALLOW_THREADS;
229 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
230
231 wxPy_END_ALLOW_THREADS;
232 } _resultobj = Py_BuildValue("l",_result);
233 return _resultobj;
234 }
235
236 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
237 static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
238 PyObject * _resultobj;
239 long _result;
240 wxListItem * _arg0;
241 PyObject * _argo0 = 0;
242 char *_kwnames[] = { "self", NULL };
243
244 self = self;
245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
246 return NULL;
247 if (_argo0) {
248 if (_argo0 == Py_None) { _arg0 = NULL; }
249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
251 return NULL;
252 }
253 }
254 {
255 wxPy_BEGIN_ALLOW_THREADS;
256 _result = (long )wxListItem_m_itemId_get(_arg0);
257
258 wxPy_END_ALLOW_THREADS;
259 } _resultobj = Py_BuildValue("l",_result);
260 return _resultobj;
261 }
262
263 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
264 static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
265 PyObject * _resultobj;
266 int _result;
267 wxListItem * _arg0;
268 int _arg1;
269 PyObject * _argo0 = 0;
270 char *_kwnames[] = { "self","m_col", NULL };
271
272 self = self;
273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
274 return NULL;
275 if (_argo0) {
276 if (_argo0 == Py_None) { _arg0 = NULL; }
277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
279 return NULL;
280 }
281 }
282 {
283 wxPy_BEGIN_ALLOW_THREADS;
284 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
285
286 wxPy_END_ALLOW_THREADS;
287 } _resultobj = Py_BuildValue("i",_result);
288 return _resultobj;
289 }
290
291 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
292 static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
293 PyObject * _resultobj;
294 int _result;
295 wxListItem * _arg0;
296 PyObject * _argo0 = 0;
297 char *_kwnames[] = { "self", NULL };
298
299 self = self;
300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
301 return NULL;
302 if (_argo0) {
303 if (_argo0 == Py_None) { _arg0 = NULL; }
304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
306 return NULL;
307 }
308 }
309 {
310 wxPy_BEGIN_ALLOW_THREADS;
311 _result = (int )wxListItem_m_col_get(_arg0);
312
313 wxPy_END_ALLOW_THREADS;
314 } _resultobj = Py_BuildValue("i",_result);
315 return _resultobj;
316 }
317
318 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
319 static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
320 PyObject * _resultobj;
321 long _result;
322 wxListItem * _arg0;
323 long _arg1;
324 PyObject * _argo0 = 0;
325 char *_kwnames[] = { "self","m_state", NULL };
326
327 self = self;
328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
329 return NULL;
330 if (_argo0) {
331 if (_argo0 == Py_None) { _arg0 = NULL; }
332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
334 return NULL;
335 }
336 }
337 {
338 wxPy_BEGIN_ALLOW_THREADS;
339 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
340
341 wxPy_END_ALLOW_THREADS;
342 } _resultobj = Py_BuildValue("l",_result);
343 return _resultobj;
344 }
345
346 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
347 static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
348 PyObject * _resultobj;
349 long _result;
350 wxListItem * _arg0;
351 PyObject * _argo0 = 0;
352 char *_kwnames[] = { "self", NULL };
353
354 self = self;
355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
356 return NULL;
357 if (_argo0) {
358 if (_argo0 == Py_None) { _arg0 = NULL; }
359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
361 return NULL;
362 }
363 }
364 {
365 wxPy_BEGIN_ALLOW_THREADS;
366 _result = (long )wxListItem_m_state_get(_arg0);
367
368 wxPy_END_ALLOW_THREADS;
369 } _resultobj = Py_BuildValue("l",_result);
370 return _resultobj;
371 }
372
373 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
374 static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
375 PyObject * _resultobj;
376 long _result;
377 wxListItem * _arg0;
378 long _arg1;
379 PyObject * _argo0 = 0;
380 char *_kwnames[] = { "self","m_stateMask", NULL };
381
382 self = self;
383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
384 return NULL;
385 if (_argo0) {
386 if (_argo0 == Py_None) { _arg0 = NULL; }
387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
389 return NULL;
390 }
391 }
392 {
393 wxPy_BEGIN_ALLOW_THREADS;
394 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
395
396 wxPy_END_ALLOW_THREADS;
397 } _resultobj = Py_BuildValue("l",_result);
398 return _resultobj;
399 }
400
401 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
402 static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
403 PyObject * _resultobj;
404 long _result;
405 wxListItem * _arg0;
406 PyObject * _argo0 = 0;
407 char *_kwnames[] = { "self", NULL };
408
409 self = self;
410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
411 return NULL;
412 if (_argo0) {
413 if (_argo0 == Py_None) { _arg0 = NULL; }
414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
416 return NULL;
417 }
418 }
419 {
420 wxPy_BEGIN_ALLOW_THREADS;
421 _result = (long )wxListItem_m_stateMask_get(_arg0);
422
423 wxPy_END_ALLOW_THREADS;
424 } _resultobj = Py_BuildValue("l",_result);
425 return _resultobj;
426 }
427
428 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
429 static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
430 PyObject * _resultobj;
431 wxString * _result;
432 wxListItem * _arg0;
433 wxString * _arg1;
434 PyObject * _argo0 = 0;
435 PyObject * _obj1 = 0;
436 char *_kwnames[] = { "self","m_text", NULL };
437
438 self = self;
439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
440 return NULL;
441 if (_argo0) {
442 if (_argo0 == Py_None) { _arg0 = NULL; }
443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
445 return NULL;
446 }
447 }
448 {
449 if (!PyString_Check(_obj1)) {
450 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
451 return NULL;
452 }
453 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
454 }
455 {
456 wxPy_BEGIN_ALLOW_THREADS;
457 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
458
459 wxPy_END_ALLOW_THREADS;
460 }{
461 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
462 }
463 {
464 if (_obj1)
465 delete _arg1;
466 }
467 return _resultobj;
468 }
469
470 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
471 static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
472 PyObject * _resultobj;
473 wxString * _result;
474 wxListItem * _arg0;
475 PyObject * _argo0 = 0;
476 char *_kwnames[] = { "self", NULL };
477
478 self = self;
479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
480 return NULL;
481 if (_argo0) {
482 if (_argo0 == Py_None) { _arg0 = NULL; }
483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
485 return NULL;
486 }
487 }
488 {
489 wxPy_BEGIN_ALLOW_THREADS;
490 _result = (wxString *)wxListItem_m_text_get(_arg0);
491
492 wxPy_END_ALLOW_THREADS;
493 }{
494 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
495 }
496 return _resultobj;
497 }
498
499 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
500 static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
501 PyObject * _resultobj;
502 int _result;
503 wxListItem * _arg0;
504 int _arg1;
505 PyObject * _argo0 = 0;
506 char *_kwnames[] = { "self","m_image", NULL };
507
508 self = self;
509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
510 return NULL;
511 if (_argo0) {
512 if (_argo0 == Py_None) { _arg0 = NULL; }
513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
515 return NULL;
516 }
517 }
518 {
519 wxPy_BEGIN_ALLOW_THREADS;
520 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
521
522 wxPy_END_ALLOW_THREADS;
523 } _resultobj = Py_BuildValue("i",_result);
524 return _resultobj;
525 }
526
527 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
528 static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
529 PyObject * _resultobj;
530 int _result;
531 wxListItem * _arg0;
532 PyObject * _argo0 = 0;
533 char *_kwnames[] = { "self", NULL };
534
535 self = self;
536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
537 return NULL;
538 if (_argo0) {
539 if (_argo0 == Py_None) { _arg0 = NULL; }
540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
542 return NULL;
543 }
544 }
545 {
546 wxPy_BEGIN_ALLOW_THREADS;
547 _result = (int )wxListItem_m_image_get(_arg0);
548
549 wxPy_END_ALLOW_THREADS;
550 } _resultobj = Py_BuildValue("i",_result);
551 return _resultobj;
552 }
553
554 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
555 static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
556 PyObject * _resultobj;
557 long _result;
558 wxListItem * _arg0;
559 long _arg1;
560 PyObject * _argo0 = 0;
561 char *_kwnames[] = { "self","m_data", NULL };
562
563 self = self;
564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
565 return NULL;
566 if (_argo0) {
567 if (_argo0 == Py_None) { _arg0 = NULL; }
568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
570 return NULL;
571 }
572 }
573 {
574 wxPy_BEGIN_ALLOW_THREADS;
575 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
576
577 wxPy_END_ALLOW_THREADS;
578 } _resultobj = Py_BuildValue("l",_result);
579 return _resultobj;
580 }
581
582 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
583 static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
584 PyObject * _resultobj;
585 long _result;
586 wxListItem * _arg0;
587 PyObject * _argo0 = 0;
588 char *_kwnames[] = { "self", NULL };
589
590 self = self;
591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
592 return NULL;
593 if (_argo0) {
594 if (_argo0 == Py_None) { _arg0 = NULL; }
595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
597 return NULL;
598 }
599 }
600 {
601 wxPy_BEGIN_ALLOW_THREADS;
602 _result = (long )wxListItem_m_data_get(_arg0);
603
604 wxPy_END_ALLOW_THREADS;
605 } _resultobj = Py_BuildValue("l",_result);
606 return _resultobj;
607 }
608
609 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
610 static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
611 PyObject * _resultobj;
612 int _result;
613 wxListItem * _arg0;
614 int _arg1;
615 PyObject * _argo0 = 0;
616 char *_kwnames[] = { "self","m_format", NULL };
617
618 self = self;
619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
620 return NULL;
621 if (_argo0) {
622 if (_argo0 == Py_None) { _arg0 = NULL; }
623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
625 return NULL;
626 }
627 }
628 {
629 wxPy_BEGIN_ALLOW_THREADS;
630 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
631
632 wxPy_END_ALLOW_THREADS;
633 } _resultobj = Py_BuildValue("i",_result);
634 return _resultobj;
635 }
636
637 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
638 static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
639 PyObject * _resultobj;
640 int _result;
641 wxListItem * _arg0;
642 PyObject * _argo0 = 0;
643 char *_kwnames[] = { "self", NULL };
644
645 self = self;
646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
647 return NULL;
648 if (_argo0) {
649 if (_argo0 == Py_None) { _arg0 = NULL; }
650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
652 return NULL;
653 }
654 }
655 {
656 wxPy_BEGIN_ALLOW_THREADS;
657 _result = (int )wxListItem_m_format_get(_arg0);
658
659 wxPy_END_ALLOW_THREADS;
660 } _resultobj = Py_BuildValue("i",_result);
661 return _resultobj;
662 }
663
664 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
665 static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
666 PyObject * _resultobj;
667 int _result;
668 wxListItem * _arg0;
669 int _arg1;
670 PyObject * _argo0 = 0;
671 char *_kwnames[] = { "self","m_width", NULL };
672
673 self = self;
674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
675 return NULL;
676 if (_argo0) {
677 if (_argo0 == Py_None) { _arg0 = NULL; }
678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
680 return NULL;
681 }
682 }
683 {
684 wxPy_BEGIN_ALLOW_THREADS;
685 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
686
687 wxPy_END_ALLOW_THREADS;
688 } _resultobj = Py_BuildValue("i",_result);
689 return _resultobj;
690 }
691
692 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
693 static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
694 PyObject * _resultobj;
695 int _result;
696 wxListItem * _arg0;
697 PyObject * _argo0 = 0;
698 char *_kwnames[] = { "self", NULL };
699
700 self = self;
701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
702 return NULL;
703 if (_argo0) {
704 if (_argo0 == Py_None) { _arg0 = NULL; }
705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
707 return NULL;
708 }
709 }
710 {
711 wxPy_BEGIN_ALLOW_THREADS;
712 _result = (int )wxListItem_m_width_get(_arg0);
713
714 wxPy_END_ALLOW_THREADS;
715 } _resultobj = Py_BuildValue("i",_result);
716 return _resultobj;
717 }
718
719 #define new_wxListItem() (new wxListItem())
720 static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
721 PyObject * _resultobj;
722 wxListItem * _result;
723 char *_kwnames[] = { NULL };
724 char _ptemp[128];
725
726 self = self;
727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
728 return NULL;
729 {
730 wxPy_BEGIN_ALLOW_THREADS;
731 _result = (wxListItem *)new_wxListItem();
732
733 wxPy_END_ALLOW_THREADS;
734 } if (_result) {
735 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
736 _resultobj = Py_BuildValue("s",_ptemp);
737 } else {
738 Py_INCREF(Py_None);
739 _resultobj = Py_None;
740 }
741 return _resultobj;
742 }
743
744 #define delete_wxListItem(_swigobj) (delete _swigobj)
745 static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
746 PyObject * _resultobj;
747 wxListItem * _arg0;
748 PyObject * _argo0 = 0;
749 char *_kwnames[] = { "self", NULL };
750
751 self = self;
752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
753 return NULL;
754 if (_argo0) {
755 if (_argo0 == Py_None) { _arg0 = NULL; }
756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
758 return NULL;
759 }
760 }
761 {
762 wxPy_BEGIN_ALLOW_THREADS;
763 delete_wxListItem(_arg0);
764
765 wxPy_END_ALLOW_THREADS;
766 } Py_INCREF(Py_None);
767 _resultobj = Py_None;
768 return _resultobj;
769 }
770
771 static void *SwigwxListEventTowxCommandEvent(void *ptr) {
772 wxListEvent *src;
773 wxCommandEvent *dest;
774 src = (wxListEvent *) ptr;
775 dest = (wxCommandEvent *) src;
776 return (void *) dest;
777 }
778
779 static void *SwigwxListEventTowxEvent(void *ptr) {
780 wxListEvent *src;
781 wxEvent *dest;
782 src = (wxListEvent *) ptr;
783 dest = (wxEvent *) src;
784 return (void *) dest;
785 }
786
787 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
788 static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
789 PyObject * _resultobj;
790 int _result;
791 wxListEvent * _arg0;
792 int _arg1;
793 PyObject * _argo0 = 0;
794 char *_kwnames[] = { "self","m_code", NULL };
795
796 self = self;
797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
798 return NULL;
799 if (_argo0) {
800 if (_argo0 == Py_None) { _arg0 = NULL; }
801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
803 return NULL;
804 }
805 }
806 {
807 wxPy_BEGIN_ALLOW_THREADS;
808 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
809
810 wxPy_END_ALLOW_THREADS;
811 } _resultobj = Py_BuildValue("i",_result);
812 return _resultobj;
813 }
814
815 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
816 static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
817 PyObject * _resultobj;
818 int _result;
819 wxListEvent * _arg0;
820 PyObject * _argo0 = 0;
821 char *_kwnames[] = { "self", NULL };
822
823 self = self;
824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
825 return NULL;
826 if (_argo0) {
827 if (_argo0 == Py_None) { _arg0 = NULL; }
828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
830 return NULL;
831 }
832 }
833 {
834 wxPy_BEGIN_ALLOW_THREADS;
835 _result = (int )wxListEvent_m_code_get(_arg0);
836
837 wxPy_END_ALLOW_THREADS;
838 } _resultobj = Py_BuildValue("i",_result);
839 return _resultobj;
840 }
841
842 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
843 static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
844 PyObject * _resultobj;
845 long _result;
846 wxListEvent * _arg0;
847 long _arg1;
848 PyObject * _argo0 = 0;
849 char *_kwnames[] = { "self","m_itemIndex", NULL };
850
851 self = self;
852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
853 return NULL;
854 if (_argo0) {
855 if (_argo0 == Py_None) { _arg0 = NULL; }
856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
858 return NULL;
859 }
860 }
861 {
862 wxPy_BEGIN_ALLOW_THREADS;
863 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
864
865 wxPy_END_ALLOW_THREADS;
866 } _resultobj = Py_BuildValue("l",_result);
867 return _resultobj;
868 }
869
870 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
871 static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
872 PyObject * _resultobj;
873 long _result;
874 wxListEvent * _arg0;
875 PyObject * _argo0 = 0;
876 char *_kwnames[] = { "self", NULL };
877
878 self = self;
879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
880 return NULL;
881 if (_argo0) {
882 if (_argo0 == Py_None) { _arg0 = NULL; }
883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
885 return NULL;
886 }
887 }
888 {
889 wxPy_BEGIN_ALLOW_THREADS;
890 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
891
892 wxPy_END_ALLOW_THREADS;
893 } _resultobj = Py_BuildValue("l",_result);
894 return _resultobj;
895 }
896
897 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
898 static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
899 PyObject * _resultobj;
900 long _result;
901 wxListEvent * _arg0;
902 long _arg1;
903 PyObject * _argo0 = 0;
904 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
905
906 self = self;
907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
908 return NULL;
909 if (_argo0) {
910 if (_argo0 == Py_None) { _arg0 = NULL; }
911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
913 return NULL;
914 }
915 }
916 {
917 wxPy_BEGIN_ALLOW_THREADS;
918 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
919
920 wxPy_END_ALLOW_THREADS;
921 } _resultobj = Py_BuildValue("l",_result);
922 return _resultobj;
923 }
924
925 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
926 static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
927 PyObject * _resultobj;
928 long _result;
929 wxListEvent * _arg0;
930 PyObject * _argo0 = 0;
931 char *_kwnames[] = { "self", NULL };
932
933 self = self;
934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
935 return NULL;
936 if (_argo0) {
937 if (_argo0 == Py_None) { _arg0 = NULL; }
938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
940 return NULL;
941 }
942 }
943 {
944 wxPy_BEGIN_ALLOW_THREADS;
945 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
946
947 wxPy_END_ALLOW_THREADS;
948 } _resultobj = Py_BuildValue("l",_result);
949 return _resultobj;
950 }
951
952 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
953 static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
954 PyObject * _resultobj;
955 int _result;
956 wxListEvent * _arg0;
957 int _arg1;
958 PyObject * _argo0 = 0;
959 char *_kwnames[] = { "self","m_col", NULL };
960
961 self = self;
962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
963 return NULL;
964 if (_argo0) {
965 if (_argo0 == Py_None) { _arg0 = NULL; }
966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
968 return NULL;
969 }
970 }
971 {
972 wxPy_BEGIN_ALLOW_THREADS;
973 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
974
975 wxPy_END_ALLOW_THREADS;
976 } _resultobj = Py_BuildValue("i",_result);
977 return _resultobj;
978 }
979
980 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
981 static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
982 PyObject * _resultobj;
983 int _result;
984 wxListEvent * _arg0;
985 PyObject * _argo0 = 0;
986 char *_kwnames[] = { "self", NULL };
987
988 self = self;
989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
990 return NULL;
991 if (_argo0) {
992 if (_argo0 == Py_None) { _arg0 = NULL; }
993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
995 return NULL;
996 }
997 }
998 {
999 wxPy_BEGIN_ALLOW_THREADS;
1000 _result = (int )wxListEvent_m_col_get(_arg0);
1001
1002 wxPy_END_ALLOW_THREADS;
1003 } _resultobj = Py_BuildValue("i",_result);
1004 return _resultobj;
1005 }
1006
1007 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
1008 static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1009 PyObject * _resultobj;
1010 bool _result;
1011 wxListEvent * _arg0;
1012 bool _arg1;
1013 PyObject * _argo0 = 0;
1014 int tempbool1;
1015 char *_kwnames[] = { "self","m_cancelled", NULL };
1016
1017 self = self;
1018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1))
1019 return NULL;
1020 if (_argo0) {
1021 if (_argo0 == Py_None) { _arg0 = NULL; }
1022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
1024 return NULL;
1025 }
1026 }
1027 _arg1 = (bool ) tempbool1;
1028 {
1029 wxPy_BEGIN_ALLOW_THREADS;
1030 _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1);
1031
1032 wxPy_END_ALLOW_THREADS;
1033 } _resultobj = Py_BuildValue("i",_result);
1034 return _resultobj;
1035 }
1036
1037 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
1038 static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1039 PyObject * _resultobj;
1040 bool _result;
1041 wxListEvent * _arg0;
1042 PyObject * _argo0 = 0;
1043 char *_kwnames[] = { "self", NULL };
1044
1045 self = self;
1046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0))
1047 return NULL;
1048 if (_argo0) {
1049 if (_argo0 == Py_None) { _arg0 = NULL; }
1050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1052 return NULL;
1053 }
1054 }
1055 {
1056 wxPy_BEGIN_ALLOW_THREADS;
1057 _result = (bool )wxListEvent_m_cancelled_get(_arg0);
1058
1059 wxPy_END_ALLOW_THREADS;
1060 } _resultobj = Py_BuildValue("i",_result);
1061 return _resultobj;
1062 }
1063
1064 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
1065 static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1066 PyObject * _resultobj;
1067 wxPoint * _result;
1068 wxListEvent * _arg0;
1069 wxPoint * _arg1;
1070 PyObject * _argo0 = 0;
1071 PyObject * _argo1 = 0;
1072 char *_kwnames[] = { "self","m_pointDrag", NULL };
1073 char _ptemp[128];
1074
1075 self = self;
1076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_argo1))
1077 return NULL;
1078 if (_argo0) {
1079 if (_argo0 == Py_None) { _arg0 = NULL; }
1080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1082 return NULL;
1083 }
1084 }
1085 if (_argo1) {
1086 if (_argo1 == Py_None) { _arg1 = NULL; }
1087 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
1088 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
1089 return NULL;
1090 }
1091 }
1092 {
1093 wxPy_BEGIN_ALLOW_THREADS;
1094 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
1095
1096 wxPy_END_ALLOW_THREADS;
1097 } if (_result) {
1098 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1099 _resultobj = Py_BuildValue("s",_ptemp);
1100 } else {
1101 Py_INCREF(Py_None);
1102 _resultobj = Py_None;
1103 }
1104 return _resultobj;
1105 }
1106
1107 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1108 static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1109 PyObject * _resultobj;
1110 wxPoint * _result;
1111 wxListEvent * _arg0;
1112 PyObject * _argo0 = 0;
1113 char *_kwnames[] = { "self", NULL };
1114 char _ptemp[128];
1115
1116 self = self;
1117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
1118 return NULL;
1119 if (_argo0) {
1120 if (_argo0 == Py_None) { _arg0 = NULL; }
1121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1123 return NULL;
1124 }
1125 }
1126 {
1127 wxPy_BEGIN_ALLOW_THREADS;
1128 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
1129
1130 wxPy_END_ALLOW_THREADS;
1131 } if (_result) {
1132 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1133 _resultobj = Py_BuildValue("s",_ptemp);
1134 } else {
1135 Py_INCREF(Py_None);
1136 _resultobj = Py_None;
1137 }
1138 return _resultobj;
1139 }
1140
1141 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1142 static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject * _resultobj;
1144 wxListItem * _result;
1145 wxListEvent * _arg0;
1146 wxListItem * _arg1;
1147 PyObject * _argo0 = 0;
1148 PyObject * _argo1 = 0;
1149 char *_kwnames[] = { "self","m_item", NULL };
1150 char _ptemp[128];
1151
1152 self = self;
1153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
1154 return NULL;
1155 if (_argo0) {
1156 if (_argo0 == Py_None) { _arg0 = NULL; }
1157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1159 return NULL;
1160 }
1161 }
1162 if (_argo1) {
1163 if (_argo1 == Py_None) { _arg1 = NULL; }
1164 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
1165 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1166 return NULL;
1167 }
1168 }
1169 {
1170 wxPy_BEGIN_ALLOW_THREADS;
1171 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
1172
1173 wxPy_END_ALLOW_THREADS;
1174 } if (_result) {
1175 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1176 _resultobj = Py_BuildValue("s",_ptemp);
1177 } else {
1178 Py_INCREF(Py_None);
1179 _resultobj = Py_None;
1180 }
1181 return _resultobj;
1182 }
1183
1184 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1185 static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1186 PyObject * _resultobj;
1187 wxListItem * _result;
1188 wxListEvent * _arg0;
1189 PyObject * _argo0 = 0;
1190 char *_kwnames[] = { "self", NULL };
1191 char _ptemp[128];
1192
1193 self = self;
1194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
1195 return NULL;
1196 if (_argo0) {
1197 if (_argo0 == Py_None) { _arg0 = NULL; }
1198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1200 return NULL;
1201 }
1202 }
1203 {
1204 wxPy_BEGIN_ALLOW_THREADS;
1205 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
1206
1207 wxPy_END_ALLOW_THREADS;
1208 } if (_result) {
1209 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1210 _resultobj = Py_BuildValue("s",_ptemp);
1211 } else {
1212 Py_INCREF(Py_None);
1213 _resultobj = Py_None;
1214 }
1215 return _resultobj;
1216 }
1217
1218 static void *SwigwxListCtrlTowxControl(void *ptr) {
1219 wxListCtrl *src;
1220 wxControl *dest;
1221 src = (wxListCtrl *) ptr;
1222 dest = (wxControl *) src;
1223 return (void *) dest;
1224 }
1225
1226 static void *SwigwxListCtrlTowxWindow(void *ptr) {
1227 wxListCtrl *src;
1228 wxWindow *dest;
1229 src = (wxListCtrl *) ptr;
1230 dest = (wxWindow *) src;
1231 return (void *) dest;
1232 }
1233
1234 static void *SwigwxListCtrlTowxEvtHandler(void *ptr) {
1235 wxListCtrl *src;
1236 wxEvtHandler *dest;
1237 src = (wxListCtrl *) ptr;
1238 dest = (wxEvtHandler *) src;
1239 return (void *) dest;
1240 }
1241
1242 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1243 static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject * _resultobj;
1245 wxListCtrl * _result;
1246 wxWindow * _arg0;
1247 wxWindowID _arg1;
1248 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
1249 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
1250 long _arg4 = (long ) wxLC_ICON;
1251 wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
1252 char * _arg6 = (char *) "listCtrl";
1253 PyObject * _argo0 = 0;
1254 PyObject * _argo2 = 0;
1255 PyObject * _argo3 = 0;
1256 PyObject * _argo5 = 0;
1257 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
1258 char _ptemp[128];
1259
1260 self = self;
1261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_argo5,&_arg6))
1262 return NULL;
1263 if (_argo0) {
1264 if (_argo0 == Py_None) { _arg0 = NULL; }
1265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1267 return NULL;
1268 }
1269 }
1270 if (_argo2) {
1271 if (_argo2 == Py_None) { _arg2 = NULL; }
1272 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
1273 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
1274 return NULL;
1275 }
1276 }
1277 if (_argo3) {
1278 if (_argo3 == Py_None) { _arg3 = NULL; }
1279 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
1280 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
1281 return NULL;
1282 }
1283 }
1284 if (_argo5) {
1285 if (_argo5 == Py_None) { _arg5 = NULL; }
1286 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
1287 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1288 return NULL;
1289 }
1290 }
1291 {
1292 wxPy_BEGIN_ALLOW_THREADS;
1293 _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
1294
1295 wxPy_END_ALLOW_THREADS;
1296 } if (_result) {
1297 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p");
1298 _resultobj = Py_BuildValue("s",_ptemp);
1299 } else {
1300 Py_INCREF(Py_None);
1301 _resultobj = Py_None;
1302 }
1303 return _resultobj;
1304 }
1305
1306 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1307 static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
1308 PyObject * _resultobj;
1309 bool _result;
1310 wxListCtrl * _arg0;
1311 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
1312 PyObject * _argo0 = 0;
1313 char *_kwnames[] = { "self","flag", NULL };
1314
1315 self = self;
1316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
1317 return NULL;
1318 if (_argo0) {
1319 if (_argo0 == Py_None) { _arg0 = NULL; }
1320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1322 return NULL;
1323 }
1324 }
1325 {
1326 wxPy_BEGIN_ALLOW_THREADS;
1327 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
1328
1329 wxPy_END_ALLOW_THREADS;
1330 } _resultobj = Py_BuildValue("i",_result);
1331 return _resultobj;
1332 }
1333
1334 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1335 static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject * _resultobj;
1337 bool _result;
1338 wxListCtrl * _arg0;
1339 long _arg1;
1340 PyObject * _argo0 = 0;
1341 char *_kwnames[] = { "self","item", NULL };
1342
1343 self = self;
1344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
1345 return NULL;
1346 if (_argo0) {
1347 if (_argo0 == Py_None) { _arg0 = NULL; }
1348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1350 return NULL;
1351 }
1352 }
1353 {
1354 wxPy_BEGIN_ALLOW_THREADS;
1355 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
1356
1357 wxPy_END_ALLOW_THREADS;
1358 } _resultobj = Py_BuildValue("i",_result);
1359 return _resultobj;
1360 }
1361
1362 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1363 static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
1364 PyObject * _resultobj;
1365 bool _result;
1366 wxListCtrl * _arg0;
1367 PyObject * _argo0 = 0;
1368 char *_kwnames[] = { "self", NULL };
1369
1370 self = self;
1371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
1372 return NULL;
1373 if (_argo0) {
1374 if (_argo0 == Py_None) { _arg0 = NULL; }
1375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1377 return NULL;
1378 }
1379 }
1380 {
1381 wxPy_BEGIN_ALLOW_THREADS;
1382 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
1383
1384 wxPy_END_ALLOW_THREADS;
1385 } _resultobj = Py_BuildValue("i",_result);
1386 return _resultobj;
1387 }
1388
1389 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1390 static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject * _resultobj;
1392 bool _result;
1393 wxListCtrl * _arg0;
1394 int _arg1;
1395 PyObject * _argo0 = 0;
1396 char *_kwnames[] = { "self","col", NULL };
1397
1398 self = self;
1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
1400 return NULL;
1401 if (_argo0) {
1402 if (_argo0 == Py_None) { _arg0 = NULL; }
1403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1405 return NULL;
1406 }
1407 }
1408 {
1409 wxPy_BEGIN_ALLOW_THREADS;
1410 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
1411
1412 wxPy_END_ALLOW_THREADS;
1413 } _resultobj = Py_BuildValue("i",_result);
1414 return _resultobj;
1415 }
1416
1417 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1418 static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
1419 PyObject * _resultobj;
1420 bool _result;
1421 wxListCtrl * _arg0;
1422 PyObject * _argo0 = 0;
1423 char *_kwnames[] = { "self", NULL };
1424
1425 self = self;
1426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
1427 return NULL;
1428 if (_argo0) {
1429 if (_argo0 == Py_None) { _arg0 = NULL; }
1430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1432 return NULL;
1433 }
1434 }
1435 {
1436 wxPy_BEGIN_ALLOW_THREADS;
1437 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
1438
1439 wxPy_END_ALLOW_THREADS;
1440 } _resultobj = Py_BuildValue("i",_result);
1441 return _resultobj;
1442 }
1443
1444 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1445 static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject * _resultobj;
1447 wxListCtrl * _arg0;
1448 PyObject * _argo0 = 0;
1449 char *_kwnames[] = { "self", NULL };
1450
1451 self = self;
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
1453 return NULL;
1454 if (_argo0) {
1455 if (_argo0 == Py_None) { _arg0 = NULL; }
1456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1458 return NULL;
1459 }
1460 }
1461 {
1462 wxPy_BEGIN_ALLOW_THREADS;
1463 wxListCtrl_ClearAll(_arg0);
1464
1465 wxPy_END_ALLOW_THREADS;
1466 } Py_INCREF(Py_None);
1467 _resultobj = Py_None;
1468 return _resultobj;
1469 }
1470
1471 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1472 static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1473 PyObject * _resultobj;
1474 wxTextCtrl * _result;
1475 wxListCtrl * _arg0;
1476 long _arg1;
1477 PyObject * _argo0 = 0;
1478 char *_kwnames[] = { "self","item", NULL };
1479 char _ptemp[128];
1480
1481 self = self;
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
1483 return NULL;
1484 if (_argo0) {
1485 if (_argo0 == Py_None) { _arg0 = NULL; }
1486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1488 return NULL;
1489 }
1490 }
1491 {
1492 wxPy_BEGIN_ALLOW_THREADS;
1493 _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1);
1494
1495 wxPy_END_ALLOW_THREADS;
1496 } if (_result) {
1497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
1498 _resultobj = Py_BuildValue("s",_ptemp);
1499 } else {
1500 Py_INCREF(Py_None);
1501 _resultobj = Py_None;
1502 }
1503 return _resultobj;
1504 }
1505
1506 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
1507 static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1508 PyObject * _resultobj;
1509 bool _result;
1510 wxListCtrl * _arg0;
1511 bool _arg1;
1512 PyObject * _argo0 = 0;
1513 int tempbool1;
1514 char *_kwnames[] = { "self","cancel", NULL };
1515
1516 self = self;
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1))
1518 return NULL;
1519 if (_argo0) {
1520 if (_argo0 == Py_None) { _arg0 = NULL; }
1521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
1523 return NULL;
1524 }
1525 }
1526 _arg1 = (bool ) tempbool1;
1527 {
1528 wxPy_BEGIN_ALLOW_THREADS;
1529 _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1);
1530
1531 wxPy_END_ALLOW_THREADS;
1532 } _resultobj = Py_BuildValue("i",_result);
1533 return _resultobj;
1534 }
1535
1536 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
1537 static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1538 PyObject * _resultobj;
1539 wxTextCtrl * _result;
1540 wxListCtrl * _arg0;
1541 PyObject * _argo0 = 0;
1542 char *_kwnames[] = { "self", NULL };
1543 char _ptemp[128];
1544
1545 self = self;
1546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0))
1547 return NULL;
1548 if (_argo0) {
1549 if (_argo0 == Py_None) { _arg0 = NULL; }
1550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
1552 return NULL;
1553 }
1554 }
1555 {
1556 wxPy_BEGIN_ALLOW_THREADS;
1557 _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0);
1558
1559 wxPy_END_ALLOW_THREADS;
1560 } if (_result) {
1561 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
1562 _resultobj = Py_BuildValue("s",_ptemp);
1563 } else {
1564 Py_INCREF(Py_None);
1565 _resultobj = Py_None;
1566 }
1567 return _resultobj;
1568 }
1569
1570 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1571 static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1572 PyObject * _resultobj;
1573 bool _result;
1574 wxListCtrl * _arg0;
1575 long _arg1;
1576 PyObject * _argo0 = 0;
1577 char *_kwnames[] = { "self","item", NULL };
1578
1579 self = self;
1580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
1581 return NULL;
1582 if (_argo0) {
1583 if (_argo0 == Py_None) { _arg0 = NULL; }
1584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1586 return NULL;
1587 }
1588 }
1589 {
1590 wxPy_BEGIN_ALLOW_THREADS;
1591 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
1592
1593 wxPy_END_ALLOW_THREADS;
1594 } _resultobj = Py_BuildValue("i",_result);
1595 return _resultobj;
1596 }
1597
1598 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1599 static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
1600 PyObject * _resultobj;
1601 long _result;
1602 wxListCtrl * _arg0;
1603 long _arg1;
1604 wxString * _arg2;
1605 bool _arg3 = (bool ) FALSE;
1606 PyObject * _argo0 = 0;
1607 PyObject * _obj2 = 0;
1608 int tempbool3 = (int) FALSE;
1609 char *_kwnames[] = { "self","start","str","partial", NULL };
1610
1611 self = self;
1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
1613 return NULL;
1614 if (_argo0) {
1615 if (_argo0 == Py_None) { _arg0 = NULL; }
1616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1618 return NULL;
1619 }
1620 }
1621 {
1622 if (!PyString_Check(_obj2)) {
1623 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1624 return NULL;
1625 }
1626 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1627 }
1628 _arg3 = (bool ) tempbool3;
1629 {
1630 wxPy_BEGIN_ALLOW_THREADS;
1631 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
1632
1633 wxPy_END_ALLOW_THREADS;
1634 } _resultobj = Py_BuildValue("l",_result);
1635 {
1636 if (_obj2)
1637 delete _arg2;
1638 }
1639 return _resultobj;
1640 }
1641
1642 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1643 static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
1644 PyObject * _resultobj;
1645 long _result;
1646 wxListCtrl * _arg0;
1647 long _arg1;
1648 long _arg2;
1649 PyObject * _argo0 = 0;
1650 char *_kwnames[] = { "self","start","data", NULL };
1651
1652 self = self;
1653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
1654 return NULL;
1655 if (_argo0) {
1656 if (_argo0 == Py_None) { _arg0 = NULL; }
1657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1659 return NULL;
1660 }
1661 }
1662 {
1663 wxPy_BEGIN_ALLOW_THREADS;
1664 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
1665
1666 wxPy_END_ALLOW_THREADS;
1667 } _resultobj = Py_BuildValue("l",_result);
1668 return _resultobj;
1669 }
1670
1671 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1672 static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1673 PyObject * _resultobj;
1674 long _result;
1675 wxListCtrl * _arg0;
1676 long _arg1;
1677 wxPoint * _arg2;
1678 int _arg3;
1679 PyObject * _argo0 = 0;
1680 PyObject * _argo2 = 0;
1681 char *_kwnames[] = { "self","start","pt","direction", NULL };
1682
1683 self = self;
1684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3))
1685 return NULL;
1686 if (_argo0) {
1687 if (_argo0 == Py_None) { _arg0 = NULL; }
1688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1690 return NULL;
1691 }
1692 }
1693 if (_argo2) {
1694 if (_argo2 == Py_None) { _arg2 = NULL; }
1695 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
1696 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1697 return NULL;
1698 }
1699 }
1700 {
1701 wxPy_BEGIN_ALLOW_THREADS;
1702 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
1703
1704 wxPy_END_ALLOW_THREADS;
1705 } _resultobj = Py_BuildValue("l",_result);
1706 return _resultobj;
1707 }
1708
1709 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1710 static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1711 PyObject * _resultobj;
1712 bool _result;
1713 wxListCtrl * _arg0;
1714 int _arg1;
1715 wxListItem * _arg2;
1716 PyObject * _argo0 = 0;
1717 PyObject * _argo2 = 0;
1718 char *_kwnames[] = { "self","col","item", NULL };
1719
1720 self = self;
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
1722 return NULL;
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
1725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1727 return NULL;
1728 }
1729 }
1730 if (_argo2) {
1731 if (_argo2 == Py_None) { _arg2 = NULL; }
1732 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
1733 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1734 return NULL;
1735 }
1736 }
1737 {
1738 wxPy_BEGIN_ALLOW_THREADS;
1739 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
1740
1741 wxPy_END_ALLOW_THREADS;
1742 } _resultobj = Py_BuildValue("i",_result);
1743 return _resultobj;
1744 }
1745
1746 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1747 static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1748 PyObject * _resultobj;
1749 int _result;
1750 wxListCtrl * _arg0;
1751 int _arg1;
1752 PyObject * _argo0 = 0;
1753 char *_kwnames[] = { "self","col", NULL };
1754
1755 self = self;
1756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
1757 return NULL;
1758 if (_argo0) {
1759 if (_argo0 == Py_None) { _arg0 = NULL; }
1760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1762 return NULL;
1763 }
1764 }
1765 {
1766 wxPy_BEGIN_ALLOW_THREADS;
1767 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
1768
1769 wxPy_END_ALLOW_THREADS;
1770 } _resultobj = Py_BuildValue("i",_result);
1771 return _resultobj;
1772 }
1773
1774 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1775 static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1776 PyObject * _resultobj;
1777 int _result;
1778 wxListCtrl * _arg0;
1779 PyObject * _argo0 = 0;
1780 char *_kwnames[] = { "self", NULL };
1781
1782 self = self;
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
1784 return NULL;
1785 if (_argo0) {
1786 if (_argo0 == Py_None) { _arg0 = NULL; }
1787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1789 return NULL;
1790 }
1791 }
1792 {
1793 wxPy_BEGIN_ALLOW_THREADS;
1794 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
1795
1796 wxPy_END_ALLOW_THREADS;
1797 } _resultobj = Py_BuildValue("i",_result);
1798 return _resultobj;
1799 }
1800
1801 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1802 static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
1803 PyObject * _resultobj;
1804 wxImageList * _result;
1805 wxListCtrl * _arg0;
1806 int _arg1;
1807 PyObject * _argo0 = 0;
1808 char *_kwnames[] = { "self","which", NULL };
1809 char _ptemp[128];
1810
1811 self = self;
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
1813 return NULL;
1814 if (_argo0) {
1815 if (_argo0 == Py_None) { _arg0 = NULL; }
1816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1818 return NULL;
1819 }
1820 }
1821 {
1822 wxPy_BEGIN_ALLOW_THREADS;
1823 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
1824
1825 wxPy_END_ALLOW_THREADS;
1826 } if (_result) {
1827 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
1828 _resultobj = Py_BuildValue("s",_ptemp);
1829 } else {
1830 Py_INCREF(Py_None);
1831 _resultobj = Py_None;
1832 }
1833 return _resultobj;
1834 }
1835
1836 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1837 static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject * _resultobj;
1839 long _result;
1840 wxListCtrl * _arg0;
1841 long _arg1;
1842 PyObject * _argo0 = 0;
1843 char *_kwnames[] = { "self","item", NULL };
1844
1845 self = self;
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
1847 return NULL;
1848 if (_argo0) {
1849 if (_argo0 == Py_None) { _arg0 = NULL; }
1850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1852 return NULL;
1853 }
1854 }
1855 {
1856 wxPy_BEGIN_ALLOW_THREADS;
1857 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
1858
1859 wxPy_END_ALLOW_THREADS;
1860 } _resultobj = Py_BuildValue("l",_result);
1861 return _resultobj;
1862 }
1863
1864 static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId) {
1865 wxListItem* info = new wxListItem;
1866 info->m_itemId = itemId;
1867 self->GetItem(*info);
1868 return info;
1869 }
1870 static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject * _resultobj;
1872 wxListItem * _result;
1873 wxListCtrl * _arg0;
1874 long _arg1;
1875 PyObject * _argo0 = 0;
1876 char *_kwnames[] = { "self","itemId", NULL };
1877 char _ptemp[128];
1878
1879 self = self;
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1))
1881 return NULL;
1882 if (_argo0) {
1883 if (_argo0 == Py_None) { _arg0 = NULL; }
1884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1886 return NULL;
1887 }
1888 }
1889 {
1890 wxPy_BEGIN_ALLOW_THREADS;
1891 _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1);
1892
1893 wxPy_END_ALLOW_THREADS;
1894 } if (_result) {
1895 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1896 _resultobj = Py_BuildValue("s",_ptemp);
1897 } else {
1898 Py_INCREF(Py_None);
1899 _resultobj = Py_None;
1900 }
1901 return _resultobj;
1902 }
1903
1904 static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
1905 wxPoint* pos = new wxPoint;
1906 self->GetItemPosition(item, *pos);
1907 return pos;
1908 }
1909 static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1910 PyObject * _resultobj;
1911 wxPoint * _result;
1912 wxListCtrl * _arg0;
1913 long _arg1;
1914 PyObject * _argo0 = 0;
1915 char *_kwnames[] = { "self","item", NULL };
1916 char _ptemp[128];
1917
1918 self = self;
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
1920 return NULL;
1921 if (_argo0) {
1922 if (_argo0 == Py_None) { _arg0 = NULL; }
1923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1925 return NULL;
1926 }
1927 }
1928 {
1929 wxPy_BEGIN_ALLOW_THREADS;
1930 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
1931
1932 wxPy_END_ALLOW_THREADS;
1933 } if (_result) {
1934 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1935 _resultobj = Py_BuildValue("s",_ptemp);
1936 } else {
1937 Py_INCREF(Py_None);
1938 _resultobj = Py_None;
1939 }
1940 return _resultobj;
1941 }
1942
1943 static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
1944 wxRect* rect= new wxRect;
1945 self->GetItemRect(item, *rect, code);
1946 return rect;
1947 }
1948 static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1949 PyObject * _resultobj;
1950 wxRect * _result;
1951 wxListCtrl * _arg0;
1952 long _arg1;
1953 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
1954 PyObject * _argo0 = 0;
1955 char *_kwnames[] = { "self","item","code", NULL };
1956 char _ptemp[128];
1957
1958 self = self;
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
1960 return NULL;
1961 if (_argo0) {
1962 if (_argo0 == Py_None) { _arg0 = NULL; }
1963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1965 return NULL;
1966 }
1967 }
1968 {
1969 wxPy_BEGIN_ALLOW_THREADS;
1970 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
1971
1972 wxPy_END_ALLOW_THREADS;
1973 } if (_result) {
1974 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1975 _resultobj = Py_BuildValue("s",_ptemp);
1976 } else {
1977 Py_INCREF(Py_None);
1978 _resultobj = Py_None;
1979 }
1980 return _resultobj;
1981 }
1982
1983 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1984 static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject * _resultobj;
1986 int _result;
1987 wxListCtrl * _arg0;
1988 long _arg1;
1989 long _arg2;
1990 PyObject * _argo0 = 0;
1991 char *_kwnames[] = { "self","item","stateMask", NULL };
1992
1993 self = self;
1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
1995 return NULL;
1996 if (_argo0) {
1997 if (_argo0 == Py_None) { _arg0 = NULL; }
1998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
2000 return NULL;
2001 }
2002 }
2003 {
2004 wxPy_BEGIN_ALLOW_THREADS;
2005 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
2006
2007 wxPy_END_ALLOW_THREADS;
2008 } _resultobj = Py_BuildValue("i",_result);
2009 return _resultobj;
2010 }
2011
2012 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
2013 static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
2014 PyObject * _resultobj;
2015 int _result;
2016 wxListCtrl * _arg0;
2017 PyObject * _argo0 = 0;
2018 char *_kwnames[] = { "self", NULL };
2019
2020 self = self;
2021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
2022 return NULL;
2023 if (_argo0) {
2024 if (_argo0 == Py_None) { _arg0 = NULL; }
2025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
2027 return NULL;
2028 }
2029 }
2030 {
2031 wxPy_BEGIN_ALLOW_THREADS;
2032 _result = (int )wxListCtrl_GetItemCount(_arg0);
2033
2034 wxPy_END_ALLOW_THREADS;
2035 } _resultobj = Py_BuildValue("i",_result);
2036 return _resultobj;
2037 }
2038
2039 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
2040 static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject * _resultobj;
2042 int _result;
2043 wxListCtrl * _arg0;
2044 bool _arg1;
2045 PyObject * _argo0 = 0;
2046 int tempbool1;
2047 char *_kwnames[] = { "self","isSmall", NULL };
2048
2049 self = self;
2050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
2051 return NULL;
2052 if (_argo0) {
2053 if (_argo0 == Py_None) { _arg0 = NULL; }
2054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
2056 return NULL;
2057 }
2058 }
2059 _arg1 = (bool ) tempbool1;
2060 {
2061 wxPy_BEGIN_ALLOW_THREADS;
2062 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
2063
2064 wxPy_END_ALLOW_THREADS;
2065 } _resultobj = Py_BuildValue("i",_result);
2066 return _resultobj;
2067 }
2068
2069 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2070 static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject * _resultobj;
2072 wxString * _result;
2073 wxListCtrl * _arg0;
2074 long _arg1;
2075 PyObject * _argo0 = 0;
2076 char *_kwnames[] = { "self","item", NULL };
2077
2078 self = self;
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
2080 return NULL;
2081 if (_argo0) {
2082 if (_argo0 == Py_None) { _arg0 = NULL; }
2083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2085 return NULL;
2086 }
2087 }
2088 {
2089 wxPy_BEGIN_ALLOW_THREADS;
2090 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
2091
2092 wxPy_END_ALLOW_THREADS;
2093 }{
2094 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2095 }
2096 {
2097 delete _result;
2098 }
2099 return _resultobj;
2100 }
2101
2102 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2103 static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2104 PyObject * _resultobj;
2105 long _result;
2106 wxListCtrl * _arg0;
2107 long _arg1;
2108 int _arg2 = (int ) (wxLIST_NEXT_ALL);
2109 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
2110 PyObject * _argo0 = 0;
2111 char *_kwnames[] = { "self","item","geometry","state", NULL };
2112
2113 self = self;
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2115 return NULL;
2116 if (_argo0) {
2117 if (_argo0 == Py_None) { _arg0 = NULL; }
2118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2120 return NULL;
2121 }
2122 }
2123 {
2124 wxPy_BEGIN_ALLOW_THREADS;
2125 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
2126
2127 wxPy_END_ALLOW_THREADS;
2128 } _resultobj = Py_BuildValue("l",_result);
2129 return _resultobj;
2130 }
2131
2132 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2133 static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
2134 PyObject * _resultobj;
2135 int _result;
2136 wxListCtrl * _arg0;
2137 PyObject * _argo0 = 0;
2138 char *_kwnames[] = { "self", NULL };
2139
2140 self = self;
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
2142 return NULL;
2143 if (_argo0) {
2144 if (_argo0 == Py_None) { _arg0 = NULL; }
2145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2147 return NULL;
2148 }
2149 }
2150 {
2151 wxPy_BEGIN_ALLOW_THREADS;
2152 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
2153
2154 wxPy_END_ALLOW_THREADS;
2155 } _resultobj = Py_BuildValue("i",_result);
2156 return _resultobj;
2157 }
2158
2159 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
2160 static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2161 PyObject * _resultobj;
2162 wxColour * _result;
2163 wxListCtrl * _arg0;
2164 PyObject * _argo0 = 0;
2165 char *_kwnames[] = { "self", NULL };
2166 char _ptemp[128];
2167
2168 self = self;
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
2170 return NULL;
2171 if (_argo0) {
2172 if (_argo0 == Py_None) { _arg0 = NULL; }
2173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
2175 return NULL;
2176 }
2177 }
2178 {
2179 wxPy_BEGIN_ALLOW_THREADS;
2180 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
2181
2182 wxPy_END_ALLOW_THREADS;
2183 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2184 _resultobj = Py_BuildValue("s",_ptemp);
2185 return _resultobj;
2186 }
2187
2188 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2189 static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject * _resultobj;
2191 wxListCtrl * _arg0;
2192 wxColour * _arg1;
2193 PyObject * _argo0 = 0;
2194 PyObject * _argo1 = 0;
2195 char *_kwnames[] = { "self","col", NULL };
2196
2197 self = self;
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_argo1))
2199 return NULL;
2200 if (_argo0) {
2201 if (_argo0 == Py_None) { _arg0 = NULL; }
2202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
2204 return NULL;
2205 }
2206 }
2207 if (_argo1) {
2208 if (_argo1 == Py_None) { _arg1 = NULL; }
2209 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2210 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
2211 return NULL;
2212 }
2213 }
2214 {
2215 wxPy_BEGIN_ALLOW_THREADS;
2216 wxListCtrl_SetTextColour(_arg0,*_arg1);
2217
2218 wxPy_END_ALLOW_THREADS;
2219 } Py_INCREF(Py_None);
2220 _resultobj = Py_None;
2221 return _resultobj;
2222 }
2223
2224 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2225 static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2226 PyObject * _resultobj;
2227 long _result;
2228 wxListCtrl * _arg0;
2229 PyObject * _argo0 = 0;
2230 char *_kwnames[] = { "self", NULL };
2231
2232 self = self;
2233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
2234 return NULL;
2235 if (_argo0) {
2236 if (_argo0 == Py_None) { _arg0 = NULL; }
2237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2239 return NULL;
2240 }
2241 }
2242 {
2243 wxPy_BEGIN_ALLOW_THREADS;
2244 _result = (long )wxListCtrl_GetTopItem(_arg0);
2245
2246 wxPy_END_ALLOW_THREADS;
2247 } _resultobj = Py_BuildValue("l",_result);
2248 return _resultobj;
2249 }
2250
2251 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2252 static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2253 PyObject * _resultobj;
2254 long _result;
2255 wxListCtrl * _arg0;
2256 wxPoint * _arg1;
2257 int * _arg2;
2258 int temp;
2259 PyObject * _argo0 = 0;
2260 PyObject * _argo1 = 0;
2261 char *_kwnames[] = { "self","point", NULL };
2262
2263 self = self;
2264 {
2265 _arg2 = &temp;
2266 }
2267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_argo1))
2268 return NULL;
2269 if (_argo0) {
2270 if (_argo0 == Py_None) { _arg0 = NULL; }
2271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2273 return NULL;
2274 }
2275 }
2276 if (_argo1) {
2277 if (_argo1 == Py_None) { _arg1 = NULL; }
2278 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
2279 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
2280 return NULL;
2281 }
2282 }
2283 {
2284 wxPy_BEGIN_ALLOW_THREADS;
2285 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
2286
2287 wxPy_END_ALLOW_THREADS;
2288 } _resultobj = Py_BuildValue("l",_result);
2289 {
2290 PyObject *o;
2291 o = PyInt_FromLong((long) (*_arg2));
2292 _resultobj = t_output_helper(_resultobj, o);
2293 }
2294 return _resultobj;
2295 }
2296
2297 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2298 static PyObject *_wrap_wxListCtrl_InsertColumnWith(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject * _resultobj;
2300 long _result;
2301 wxListCtrl * _arg0;
2302 long _arg1;
2303 wxListItem * _arg2;
2304 PyObject * _argo0 = 0;
2305 PyObject * _argo2 = 0;
2306 char *_kwnames[] = { "self","col","info", NULL };
2307
2308 self = self;
2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnWith",_kwnames,&_argo0,&_arg1,&_argo2))
2310 return NULL;
2311 if (_argo0) {
2312 if (_argo0 == Py_None) { _arg0 = NULL; }
2313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2315 return NULL;
2316 }
2317 }
2318 if (_argo2) {
2319 if (_argo2 == Py_None) { _arg2 = NULL; }
2320 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
2321 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2322 return NULL;
2323 }
2324 }
2325 {
2326 wxPy_BEGIN_ALLOW_THREADS;
2327 _result = (long )wxListCtrl_InsertColumnWith(_arg0,_arg1,*_arg2);
2328
2329 wxPy_END_ALLOW_THREADS;
2330 } _resultobj = Py_BuildValue("l",_result);
2331 return _resultobj;
2332 }
2333
2334 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2335 static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2336 PyObject * _resultobj;
2337 long _result;
2338 wxListCtrl * _arg0;
2339 long _arg1;
2340 wxString * _arg2;
2341 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
2342 int _arg4 = (int ) -1;
2343 PyObject * _argo0 = 0;
2344 PyObject * _obj2 = 0;
2345 char *_kwnames[] = { "self","col","heading","format","width", NULL };
2346
2347 self = self;
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
2349 return NULL;
2350 if (_argo0) {
2351 if (_argo0 == Py_None) { _arg0 = NULL; }
2352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2354 return NULL;
2355 }
2356 }
2357 {
2358 if (!PyString_Check(_obj2)) {
2359 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2360 return NULL;
2361 }
2362 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2363 }
2364 {
2365 wxPy_BEGIN_ALLOW_THREADS;
2366 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
2367
2368 wxPy_END_ALLOW_THREADS;
2369 } _resultobj = Py_BuildValue("l",_result);
2370 {
2371 if (_obj2)
2372 delete _arg2;
2373 }
2374 return _resultobj;
2375 }
2376
2377 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2378 static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject * _resultobj;
2380 long _result;
2381 wxListCtrl * _arg0;
2382 wxListItem * _arg1;
2383 PyObject * _argo0 = 0;
2384 PyObject * _argo1 = 0;
2385 char *_kwnames[] = { "self","info", NULL };
2386
2387 self = self;
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
2389 return NULL;
2390 if (_argo0) {
2391 if (_argo0 == Py_None) { _arg0 = NULL; }
2392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2394 return NULL;
2395 }
2396 }
2397 if (_argo1) {
2398 if (_argo1 == Py_None) { _arg1 = NULL; }
2399 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2400 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2401 return NULL;
2402 }
2403 }
2404 {
2405 wxPy_BEGIN_ALLOW_THREADS;
2406 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
2407
2408 wxPy_END_ALLOW_THREADS;
2409 } _resultobj = Py_BuildValue("l",_result);
2410 return _resultobj;
2411 }
2412
2413 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2414 static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2415 PyObject * _resultobj;
2416 long _result;
2417 wxListCtrl * _arg0;
2418 long _arg1;
2419 wxString * _arg2;
2420 PyObject * _argo0 = 0;
2421 PyObject * _obj2 = 0;
2422 char *_kwnames[] = { "self","index","label", NULL };
2423
2424 self = self;
2425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
2426 return NULL;
2427 if (_argo0) {
2428 if (_argo0 == Py_None) { _arg0 = NULL; }
2429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2431 return NULL;
2432 }
2433 }
2434 {
2435 if (!PyString_Check(_obj2)) {
2436 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2437 return NULL;
2438 }
2439 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2440 }
2441 {
2442 wxPy_BEGIN_ALLOW_THREADS;
2443 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
2444
2445 wxPy_END_ALLOW_THREADS;
2446 } _resultobj = Py_BuildValue("l",_result);
2447 {
2448 if (_obj2)
2449 delete _arg2;
2450 }
2451 return _resultobj;
2452 }
2453
2454 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2455 static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject * _resultobj;
2457 long _result;
2458 wxListCtrl * _arg0;
2459 long _arg1;
2460 int _arg2;
2461 PyObject * _argo0 = 0;
2462 char *_kwnames[] = { "self","index","imageIndex", NULL };
2463
2464 self = self;
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
2466 return NULL;
2467 if (_argo0) {
2468 if (_argo0 == Py_None) { _arg0 = NULL; }
2469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2471 return NULL;
2472 }
2473 }
2474 {
2475 wxPy_BEGIN_ALLOW_THREADS;
2476 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
2477
2478 wxPy_END_ALLOW_THREADS;
2479 } _resultobj = Py_BuildValue("l",_result);
2480 return _resultobj;
2481 }
2482
2483 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2484 static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2485 PyObject * _resultobj;
2486 long _result;
2487 wxListCtrl * _arg0;
2488 long _arg1;
2489 wxString * _arg2;
2490 int _arg3;
2491 PyObject * _argo0 = 0;
2492 PyObject * _obj2 = 0;
2493 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
2494
2495 self = self;
2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
2497 return NULL;
2498 if (_argo0) {
2499 if (_argo0 == Py_None) { _arg0 = NULL; }
2500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2502 return NULL;
2503 }
2504 }
2505 {
2506 if (!PyString_Check(_obj2)) {
2507 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2508 return NULL;
2509 }
2510 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2511 }
2512 {
2513 wxPy_BEGIN_ALLOW_THREADS;
2514 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
2515
2516 wxPy_END_ALLOW_THREADS;
2517 } _resultobj = Py_BuildValue("l",_result);
2518 {
2519 if (_obj2)
2520 delete _arg2;
2521 }
2522 return _resultobj;
2523 }
2524
2525 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2526 static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject * _resultobj;
2528 bool _result;
2529 wxListCtrl * _arg0;
2530 int _arg1;
2531 int _arg2;
2532 PyObject * _argo0 = 0;
2533 char *_kwnames[] = { "self","dx","dy", NULL };
2534
2535 self = self;
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
2537 return NULL;
2538 if (_argo0) {
2539 if (_argo0 == Py_None) { _arg0 = NULL; }
2540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2542 return NULL;
2543 }
2544 }
2545 {
2546 wxPy_BEGIN_ALLOW_THREADS;
2547 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
2548
2549 wxPy_END_ALLOW_THREADS;
2550 } _resultobj = Py_BuildValue("i",_result);
2551 return _resultobj;
2552 }
2553
2554 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2555 static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2556 PyObject * _resultobj;
2557 wxListCtrl * _arg0;
2558 wxColour * _arg1;
2559 PyObject * _argo0 = 0;
2560 PyObject * _argo1 = 0;
2561 char *_kwnames[] = { "self","col", NULL };
2562
2563 self = self;
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
2565 return NULL;
2566 if (_argo0) {
2567 if (_argo0 == Py_None) { _arg0 = NULL; }
2568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2570 return NULL;
2571 }
2572 }
2573 if (_argo1) {
2574 if (_argo1 == Py_None) { _arg1 = NULL; }
2575 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2576 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2577 return NULL;
2578 }
2579 }
2580 {
2581 wxPy_BEGIN_ALLOW_THREADS;
2582 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
2583
2584 wxPy_END_ALLOW_THREADS;
2585 } Py_INCREF(Py_None);
2586 _resultobj = Py_None;
2587 return _resultobj;
2588 }
2589
2590 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2591 static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2592 PyObject * _resultobj;
2593 bool _result;
2594 wxListCtrl * _arg0;
2595 int _arg1;
2596 wxListItem * _arg2;
2597 PyObject * _argo0 = 0;
2598 PyObject * _argo2 = 0;
2599 char *_kwnames[] = { "self","col","item", NULL };
2600
2601 self = self;
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
2603 return NULL;
2604 if (_argo0) {
2605 if (_argo0 == Py_None) { _arg0 = NULL; }
2606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2608 return NULL;
2609 }
2610 }
2611 if (_argo2) {
2612 if (_argo2 == Py_None) { _arg2 = NULL; }
2613 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
2614 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2615 return NULL;
2616 }
2617 }
2618 {
2619 wxPy_BEGIN_ALLOW_THREADS;
2620 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
2621
2622 wxPy_END_ALLOW_THREADS;
2623 } _resultobj = Py_BuildValue("i",_result);
2624 return _resultobj;
2625 }
2626
2627 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2628 static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2629 PyObject * _resultobj;
2630 bool _result;
2631 wxListCtrl * _arg0;
2632 int _arg1;
2633 int _arg2;
2634 PyObject * _argo0 = 0;
2635 char *_kwnames[] = { "self","col","width", NULL };
2636
2637 self = self;
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
2639 return NULL;
2640 if (_argo0) {
2641 if (_argo0 == Py_None) { _arg0 = NULL; }
2642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2644 return NULL;
2645 }
2646 }
2647 {
2648 wxPy_BEGIN_ALLOW_THREADS;
2649 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
2650
2651 wxPy_END_ALLOW_THREADS;
2652 } _resultobj = Py_BuildValue("i",_result);
2653 return _resultobj;
2654 }
2655
2656 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2657 static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2658 PyObject * _resultobj;
2659 wxListCtrl * _arg0;
2660 wxImageList * _arg1;
2661 int _arg2;
2662 PyObject * _argo0 = 0;
2663 PyObject * _argo1 = 0;
2664 char *_kwnames[] = { "self","imageList","which", NULL };
2665
2666 self = self;
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
2668 return NULL;
2669 if (_argo0) {
2670 if (_argo0 == Py_None) { _arg0 = NULL; }
2671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2673 return NULL;
2674 }
2675 }
2676 if (_argo1) {
2677 if (_argo1 == Py_None) { _arg1 = NULL; }
2678 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2680 return NULL;
2681 }
2682 }
2683 {
2684 wxPy_BEGIN_ALLOW_THREADS;
2685 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
2686
2687 wxPy_END_ALLOW_THREADS;
2688 } Py_INCREF(Py_None);
2689 _resultobj = Py_None;
2690 return _resultobj;
2691 }
2692
2693 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2694 static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2695 PyObject * _resultobj;
2696 bool _result;
2697 wxListCtrl * _arg0;
2698 wxListItem * _arg1;
2699 PyObject * _argo0 = 0;
2700 PyObject * _argo1 = 0;
2701 char *_kwnames[] = { "self","info", NULL };
2702
2703 self = self;
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
2705 return NULL;
2706 if (_argo0) {
2707 if (_argo0 == Py_None) { _arg0 = NULL; }
2708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2710 return NULL;
2711 }
2712 }
2713 if (_argo1) {
2714 if (_argo1 == Py_None) { _arg1 = NULL; }
2715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2717 return NULL;
2718 }
2719 }
2720 {
2721 wxPy_BEGIN_ALLOW_THREADS;
2722 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
2723
2724 wxPy_END_ALLOW_THREADS;
2725 } _resultobj = Py_BuildValue("i",_result);
2726 return _resultobj;
2727 }
2728
2729 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2730 static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2731 PyObject * _resultobj;
2732 long _result;
2733 wxListCtrl * _arg0;
2734 long _arg1;
2735 int _arg2;
2736 wxString * _arg3;
2737 int _arg4 = (int ) -1;
2738 PyObject * _argo0 = 0;
2739 PyObject * _obj3 = 0;
2740 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
2741
2742 self = self;
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
2744 return NULL;
2745 if (_argo0) {
2746 if (_argo0 == Py_None) { _arg0 = NULL; }
2747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2749 return NULL;
2750 }
2751 }
2752 {
2753 if (!PyString_Check(_obj3)) {
2754 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2755 return NULL;
2756 }
2757 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
2758 }
2759 {
2760 wxPy_BEGIN_ALLOW_THREADS;
2761 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
2762
2763 wxPy_END_ALLOW_THREADS;
2764 } _resultobj = Py_BuildValue("l",_result);
2765 {
2766 if (_obj3)
2767 delete _arg3;
2768 }
2769 return _resultobj;
2770 }
2771
2772 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2773 static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
2774 PyObject * _resultobj;
2775 bool _result;
2776 wxListCtrl * _arg0;
2777 long _arg1;
2778 long _arg2;
2779 PyObject * _argo0 = 0;
2780 char *_kwnames[] = { "self","item","data", NULL };
2781
2782 self = self;
2783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
2784 return NULL;
2785 if (_argo0) {
2786 if (_argo0 == Py_None) { _arg0 = NULL; }
2787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2789 return NULL;
2790 }
2791 }
2792 {
2793 wxPy_BEGIN_ALLOW_THREADS;
2794 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
2795
2796 wxPy_END_ALLOW_THREADS;
2797 } _resultobj = Py_BuildValue("i",_result);
2798 return _resultobj;
2799 }
2800
2801 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2802 static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2803 PyObject * _resultobj;
2804 bool _result;
2805 wxListCtrl * _arg0;
2806 long _arg1;
2807 int _arg2;
2808 int _arg3;
2809 PyObject * _argo0 = 0;
2810 char *_kwnames[] = { "self","item","image","selImage", NULL };
2811
2812 self = self;
2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2814 return NULL;
2815 if (_argo0) {
2816 if (_argo0 == Py_None) { _arg0 = NULL; }
2817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2819 return NULL;
2820 }
2821 }
2822 {
2823 wxPy_BEGIN_ALLOW_THREADS;
2824 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
2825
2826 wxPy_END_ALLOW_THREADS;
2827 } _resultobj = Py_BuildValue("i",_result);
2828 return _resultobj;
2829 }
2830
2831 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2832 static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2833 PyObject * _resultobj;
2834 bool _result;
2835 wxListCtrl * _arg0;
2836 long _arg1;
2837 wxPoint * _arg2;
2838 PyObject * _argo0 = 0;
2839 PyObject * _argo2 = 0;
2840 char *_kwnames[] = { "self","item","pos", NULL };
2841
2842 self = self;
2843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_argo2))
2844 return NULL;
2845 if (_argo0) {
2846 if (_argo0 == Py_None) { _arg0 = NULL; }
2847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2849 return NULL;
2850 }
2851 }
2852 if (_argo2) {
2853 if (_argo2 == Py_None) { _arg2 = NULL; }
2854 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
2855 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2856 return NULL;
2857 }
2858 }
2859 {
2860 wxPy_BEGIN_ALLOW_THREADS;
2861 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
2862
2863 wxPy_END_ALLOW_THREADS;
2864 } _resultobj = Py_BuildValue("i",_result);
2865 return _resultobj;
2866 }
2867
2868 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2869 static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
2870 PyObject * _resultobj;
2871 bool _result;
2872 wxListCtrl * _arg0;
2873 long _arg1;
2874 long _arg2;
2875 long _arg3;
2876 PyObject * _argo0 = 0;
2877 char *_kwnames[] = { "self","item","state","stateMask", NULL };
2878
2879 self = self;
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2881 return NULL;
2882 if (_argo0) {
2883 if (_argo0 == Py_None) { _arg0 = NULL; }
2884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2886 return NULL;
2887 }
2888 }
2889 {
2890 wxPy_BEGIN_ALLOW_THREADS;
2891 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
2892
2893 wxPy_END_ALLOW_THREADS;
2894 } _resultobj = Py_BuildValue("i",_result);
2895 return _resultobj;
2896 }
2897
2898 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2899 static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject * _resultobj;
2901 wxListCtrl * _arg0;
2902 long _arg1;
2903 wxString * _arg2;
2904 PyObject * _argo0 = 0;
2905 PyObject * _obj2 = 0;
2906 char *_kwnames[] = { "self","item","text", NULL };
2907
2908 self = self;
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
2910 return NULL;
2911 if (_argo0) {
2912 if (_argo0 == Py_None) { _arg0 = NULL; }
2913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2915 return NULL;
2916 }
2917 }
2918 {
2919 if (!PyString_Check(_obj2)) {
2920 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2921 return NULL;
2922 }
2923 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2924 }
2925 {
2926 wxPy_BEGIN_ALLOW_THREADS;
2927 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
2928
2929 wxPy_END_ALLOW_THREADS;
2930 } Py_INCREF(Py_None);
2931 _resultobj = Py_None;
2932 {
2933 if (_obj2)
2934 delete _arg2;
2935 }
2936 return _resultobj;
2937 }
2938
2939 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2940 static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject * _resultobj;
2942 wxListCtrl * _arg0;
2943 long _arg1;
2944 bool _arg2 = (bool ) TRUE;
2945 PyObject * _argo0 = 0;
2946 int tempbool2 = (int) TRUE;
2947 char *_kwnames[] = { "self","style","add", NULL };
2948
2949 self = self;
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
2951 return NULL;
2952 if (_argo0) {
2953 if (_argo0 == Py_None) { _arg0 = NULL; }
2954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2956 return NULL;
2957 }
2958 }
2959 _arg2 = (bool ) tempbool2;
2960 {
2961 wxPy_BEGIN_ALLOW_THREADS;
2962 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
2963
2964 wxPy_END_ALLOW_THREADS;
2965 } Py_INCREF(Py_None);
2966 _resultobj = Py_None;
2967 return _resultobj;
2968 }
2969
2970 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2971 static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject * _resultobj;
2973 wxListCtrl * _arg0;
2974 long _arg1;
2975 PyObject * _argo0 = 0;
2976 char *_kwnames[] = { "self","style", NULL };
2977
2978 self = self;
2979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2980 return NULL;
2981 if (_argo0) {
2982 if (_argo0 == Py_None) { _arg0 = NULL; }
2983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2985 return NULL;
2986 }
2987 }
2988 {
2989 wxPy_BEGIN_ALLOW_THREADS;
2990 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
2991
2992 wxPy_END_ALLOW_THREADS;
2993 } Py_INCREF(Py_None);
2994 _resultobj = Py_None;
2995 return _resultobj;
2996 }
2997
2998 #define new_wxTreeItemId() (new wxTreeItemId())
2999 static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
3000 PyObject * _resultobj;
3001 wxTreeItemId * _result;
3002 char *_kwnames[] = { NULL };
3003 char _ptemp[128];
3004
3005 self = self;
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
3007 return NULL;
3008 {
3009 wxPy_BEGIN_ALLOW_THREADS;
3010 _result = (wxTreeItemId *)new_wxTreeItemId();
3011
3012 wxPy_END_ALLOW_THREADS;
3013 } if (_result) {
3014 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
3015 _resultobj = Py_BuildValue("s",_ptemp);
3016 } else {
3017 Py_INCREF(Py_None);
3018 _resultobj = Py_None;
3019 }
3020 return _resultobj;
3021 }
3022
3023 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
3024 static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
3025 PyObject * _resultobj;
3026 wxTreeItemId * _arg0;
3027 PyObject * _argo0 = 0;
3028 char *_kwnames[] = { "self", NULL };
3029
3030 self = self;
3031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
3032 return NULL;
3033 if (_argo0) {
3034 if (_argo0 == Py_None) { _arg0 = NULL; }
3035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
3036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
3037 return NULL;
3038 }
3039 }
3040 {
3041 wxPy_BEGIN_ALLOW_THREADS;
3042 delete_wxTreeItemId(_arg0);
3043
3044 wxPy_END_ALLOW_THREADS;
3045 } Py_INCREF(Py_None);
3046 _resultobj = Py_None;
3047 return _resultobj;
3048 }
3049
3050 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
3051 static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject * _resultobj;
3053 bool _result;
3054 wxTreeItemId * _arg0;
3055 PyObject * _argo0 = 0;
3056 char *_kwnames[] = { "self", NULL };
3057
3058 self = self;
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
3060 return NULL;
3061 if (_argo0) {
3062 if (_argo0 == Py_None) { _arg0 = NULL; }
3063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
3064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
3065 return NULL;
3066 }
3067 }
3068 {
3069 wxPy_BEGIN_ALLOW_THREADS;
3070 _result = (bool )wxTreeItemId_IsOk(_arg0);
3071
3072 wxPy_END_ALLOW_THREADS;
3073 } _resultobj = Py_BuildValue("i",_result);
3074 return _resultobj;
3075 }
3076
3077 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
3078 static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3079 PyObject * _resultobj;
3080 wxPyTreeItemData * _result;
3081 PyObject * _arg0 = (PyObject *) NULL;
3082 PyObject * _obj0 = 0;
3083 char *_kwnames[] = { "obj", NULL };
3084 char _ptemp[128];
3085
3086 self = self;
3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
3088 return NULL;
3089 if (_obj0)
3090 {
3091 _arg0 = _obj0;
3092 }
3093 {
3094 wxPy_BEGIN_ALLOW_THREADS;
3095 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
3096
3097 wxPy_END_ALLOW_THREADS;
3098 } if (_result) {
3099 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
3100 _resultobj = Py_BuildValue("s",_ptemp);
3101 } else {
3102 Py_INCREF(Py_None);
3103 _resultobj = Py_None;
3104 }
3105 return _resultobj;
3106 }
3107
3108 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
3109 static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
3110 PyObject * _resultobj;
3111 PyObject * _result;
3112 wxPyTreeItemData * _arg0;
3113 PyObject * _argo0 = 0;
3114 char *_kwnames[] = { "self", NULL };
3115
3116 self = self;
3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
3118 return NULL;
3119 if (_argo0) {
3120 if (_argo0 == Py_None) { _arg0 = NULL; }
3121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
3122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
3123 return NULL;
3124 }
3125 }
3126 {
3127 wxPy_BEGIN_ALLOW_THREADS;
3128 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
3129
3130 wxPy_END_ALLOW_THREADS;
3131 }{
3132 _resultobj = _result;
3133 }
3134 return _resultobj;
3135 }
3136
3137 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3138 static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
3139 PyObject * _resultobj;
3140 wxPyTreeItemData * _arg0;
3141 PyObject * _arg1;
3142 PyObject * _argo0 = 0;
3143 PyObject * _obj1 = 0;
3144 char *_kwnames[] = { "self","obj", NULL };
3145
3146 self = self;
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
3148 return NULL;
3149 if (_argo0) {
3150 if (_argo0 == Py_None) { _arg0 = NULL; }
3151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
3152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3153 return NULL;
3154 }
3155 }
3156 {
3157 _arg1 = _obj1;
3158 }
3159 {
3160 wxPy_BEGIN_ALLOW_THREADS;
3161 wxTreeItemData_SetData(_arg0,_arg1);
3162
3163 wxPy_END_ALLOW_THREADS;
3164 } Py_INCREF(Py_None);
3165 _resultobj = Py_None;
3166 return _resultobj;
3167 }
3168
3169 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3170 static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject * _resultobj;
3172 wxTreeItemId * _result;
3173 wxPyTreeItemData * _arg0;
3174 PyObject * _argo0 = 0;
3175 char *_kwnames[] = { "self", NULL };
3176 char _ptemp[128];
3177
3178 self = self;
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
3180 return NULL;
3181 if (_argo0) {
3182 if (_argo0 == Py_None) { _arg0 = NULL; }
3183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
3184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3185 return NULL;
3186 }
3187 }
3188 {
3189 wxPy_BEGIN_ALLOW_THREADS;
3190 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
3191 _result = (wxTreeItemId *) &_result_ref;
3192
3193 wxPy_END_ALLOW_THREADS;
3194 } if (_result) {
3195 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
3196 _resultobj = Py_BuildValue("s",_ptemp);
3197 } else {
3198 Py_INCREF(Py_None);
3199 _resultobj = Py_None;
3200 }
3201 return _resultobj;
3202 }
3203
3204 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3205 static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3206 PyObject * _resultobj;
3207 wxPyTreeItemData * _arg0;
3208 wxTreeItemId * _arg1;
3209 PyObject * _argo0 = 0;
3210 PyObject * _argo1 = 0;
3211 char *_kwnames[] = { "self","id", NULL };
3212
3213 self = self;
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
3215 return NULL;
3216 if (_argo0) {
3217 if (_argo0 == Py_None) { _arg0 = NULL; }
3218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
3219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3220 return NULL;
3221 }
3222 }
3223 if (_argo1) {
3224 if (_argo1 == Py_None) { _arg1 = NULL; }
3225 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3226 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3227 return NULL;
3228 }
3229 }
3230 {
3231 wxPy_BEGIN_ALLOW_THREADS;
3232 wxTreeItemData_SetId(_arg0,*_arg1);
3233
3234 wxPy_END_ALLOW_THREADS;
3235 } Py_INCREF(Py_None);
3236 _resultobj = Py_None;
3237 return _resultobj;
3238 }
3239
3240 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
3241 wxTreeEvent *src;
3242 wxNotifyEvent *dest;
3243 src = (wxTreeEvent *) ptr;
3244 dest = (wxNotifyEvent *) src;
3245 return (void *) dest;
3246 }
3247
3248 static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
3249 wxTreeEvent *src;
3250 wxCommandEvent *dest;
3251 src = (wxTreeEvent *) ptr;
3252 dest = (wxCommandEvent *) src;
3253 return (void *) dest;
3254 }
3255
3256 static void *SwigwxTreeEventTowxEvent(void *ptr) {
3257 wxTreeEvent *src;
3258 wxEvent *dest;
3259 src = (wxTreeEvent *) ptr;
3260 dest = (wxEvent *) src;
3261 return (void *) dest;
3262 }
3263
3264 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3265 static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject * _resultobj;
3267 wxTreeItemId * _result;
3268 wxTreeEvent * _arg0;
3269 PyObject * _argo0 = 0;
3270 char *_kwnames[] = { "self", NULL };
3271 char _ptemp[128];
3272
3273 self = self;
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
3275 return NULL;
3276 if (_argo0) {
3277 if (_argo0 == Py_None) { _arg0 = NULL; }
3278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3280 return NULL;
3281 }
3282 }
3283 {
3284 wxPy_BEGIN_ALLOW_THREADS;
3285 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
3286
3287 wxPy_END_ALLOW_THREADS;
3288 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3289 _resultobj = Py_BuildValue("s",_ptemp);
3290 return _resultobj;
3291 }
3292
3293 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3294 static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3295 PyObject * _resultobj;
3296 wxTreeItemId * _result;
3297 wxTreeEvent * _arg0;
3298 PyObject * _argo0 = 0;
3299 char *_kwnames[] = { "self", NULL };
3300 char _ptemp[128];
3301
3302 self = self;
3303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
3304 return NULL;
3305 if (_argo0) {
3306 if (_argo0 == Py_None) { _arg0 = NULL; }
3307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3309 return NULL;
3310 }
3311 }
3312 {
3313 wxPy_BEGIN_ALLOW_THREADS;
3314 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
3315
3316 wxPy_END_ALLOW_THREADS;
3317 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3318 _resultobj = Py_BuildValue("s",_ptemp);
3319 return _resultobj;
3320 }
3321
3322 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3323 static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject * _resultobj;
3325 wxPoint * _result;
3326 wxTreeEvent * _arg0;
3327 PyObject * _argo0 = 0;
3328 char *_kwnames[] = { "self", NULL };
3329 char _ptemp[128];
3330
3331 self = self;
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
3333 return NULL;
3334 if (_argo0) {
3335 if (_argo0 == Py_None) { _arg0 = NULL; }
3336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3338 return NULL;
3339 }
3340 }
3341 {
3342 wxPy_BEGIN_ALLOW_THREADS;
3343 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
3344
3345 wxPy_END_ALLOW_THREADS;
3346 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3347 _resultobj = Py_BuildValue("s",_ptemp);
3348 return _resultobj;
3349 }
3350
3351 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3352 static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject * _resultobj;
3354 int _result;
3355 wxTreeEvent * _arg0;
3356 PyObject * _argo0 = 0;
3357 char *_kwnames[] = { "self", NULL };
3358
3359 self = self;
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
3361 return NULL;
3362 if (_argo0) {
3363 if (_argo0 == Py_None) { _arg0 = NULL; }
3364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3366 return NULL;
3367 }
3368 }
3369 {
3370 wxPy_BEGIN_ALLOW_THREADS;
3371 _result = (int )wxTreeEvent_GetCode(_arg0);
3372
3373 wxPy_END_ALLOW_THREADS;
3374 } _resultobj = Py_BuildValue("i",_result);
3375 return _resultobj;
3376 }
3377
3378 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3379 static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
3380 PyObject * _resultobj;
3381 wxString * _result;
3382 wxTreeEvent * _arg0;
3383 PyObject * _argo0 = 0;
3384 char *_kwnames[] = { "self", NULL };
3385
3386 self = self;
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
3388 return NULL;
3389 if (_argo0) {
3390 if (_argo0 == Py_None) { _arg0 = NULL; }
3391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3393 return NULL;
3394 }
3395 }
3396 {
3397 wxPy_BEGIN_ALLOW_THREADS;
3398 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
3399 _result = (wxString *) &_result_ref;
3400
3401 wxPy_END_ALLOW_THREADS;
3402 }{
3403 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
3404 }
3405 return _resultobj;
3406 }
3407
3408 static void *SwigwxTreeCtrlTowxControl(void *ptr) {
3409 wxTreeCtrl *src;
3410 wxControl *dest;
3411 src = (wxTreeCtrl *) ptr;
3412 dest = (wxControl *) src;
3413 return (void *) dest;
3414 }
3415
3416 static void *SwigwxTreeCtrlTowxWindow(void *ptr) {
3417 wxTreeCtrl *src;
3418 wxWindow *dest;
3419 src = (wxTreeCtrl *) ptr;
3420 dest = (wxWindow *) src;
3421 return (void *) dest;
3422 }
3423
3424 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) {
3425 wxTreeCtrl *src;
3426 wxEvtHandler *dest;
3427 src = (wxTreeCtrl *) ptr;
3428 dest = (wxEvtHandler *) src;
3429 return (void *) dest;
3430 }
3431
3432 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3433 static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject * _resultobj;
3435 wxTreeCtrl * _result;
3436 wxWindow * _arg0;
3437 wxWindowID _arg1 = (wxWindowID ) -1;
3438 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
3439 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
3440 long _arg4 = (long ) wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT;
3441 wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
3442 char * _arg6 = (char *) "wxTreeCtrl";
3443 PyObject * _argo0 = 0;
3444 PyObject * _argo2 = 0;
3445 PyObject * _argo3 = 0;
3446 PyObject * _argo5 = 0;
3447 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
3448 char _ptemp[128];
3449
3450 self = self;
3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_argo5,&_arg6))
3452 return NULL;
3453 if (_argo0) {
3454 if (_argo0 == Py_None) { _arg0 = NULL; }
3455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3457 return NULL;
3458 }
3459 }
3460 if (_argo2) {
3461 if (_argo2 == Py_None) { _arg2 = NULL; }
3462 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
3463 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3464 return NULL;
3465 }
3466 }
3467 if (_argo3) {
3468 if (_argo3 == Py_None) { _arg3 = NULL; }
3469 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
3470 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3471 return NULL;
3472 }
3473 }
3474 if (_argo5) {
3475 if (_argo5 == Py_None) { _arg5 = NULL; }
3476 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
3477 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3478 return NULL;
3479 }
3480 }
3481 {
3482 wxPy_BEGIN_ALLOW_THREADS;
3483 _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
3484
3485 wxPy_END_ALLOW_THREADS;
3486 } if (_result) {
3487 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
3488 _resultobj = Py_BuildValue("s",_ptemp);
3489 } else {
3490 Py_INCREF(Py_None);
3491 _resultobj = Py_None;
3492 }
3493 return _resultobj;
3494 }
3495
3496 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3497 static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3498 PyObject * _resultobj;
3499 size_t _result;
3500 wxTreeCtrl * _arg0;
3501 PyObject * _argo0 = 0;
3502 char *_kwnames[] = { "self", NULL };
3503
3504 self = self;
3505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
3506 return NULL;
3507 if (_argo0) {
3508 if (_argo0 == Py_None) { _arg0 = NULL; }
3509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3511 return NULL;
3512 }
3513 }
3514 {
3515 wxPy_BEGIN_ALLOW_THREADS;
3516 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
3517
3518 wxPy_END_ALLOW_THREADS;
3519 } _resultobj = Py_BuildValue("i",_result);
3520 return _resultobj;
3521 }
3522
3523 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3524 static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3525 PyObject * _resultobj;
3526 unsigned int _result;
3527 wxTreeCtrl * _arg0;
3528 PyObject * _argo0 = 0;
3529 char *_kwnames[] = { "self", NULL };
3530
3531 self = self;
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
3533 return NULL;
3534 if (_argo0) {
3535 if (_argo0 == Py_None) { _arg0 = NULL; }
3536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3538 return NULL;
3539 }
3540 }
3541 {
3542 wxPy_BEGIN_ALLOW_THREADS;
3543 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
3544
3545 wxPy_END_ALLOW_THREADS;
3546 } _resultobj = Py_BuildValue("i",_result);
3547 return _resultobj;
3548 }
3549
3550 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3551 static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3552 PyObject * _resultobj;
3553 wxTreeCtrl * _arg0;
3554 unsigned int _arg1;
3555 PyObject * _argo0 = 0;
3556 char *_kwnames[] = { "self","indent", NULL };
3557
3558 self = self;
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
3560 return NULL;
3561 if (_argo0) {
3562 if (_argo0 == Py_None) { _arg0 = NULL; }
3563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3565 return NULL;
3566 }
3567 }
3568 {
3569 wxPy_BEGIN_ALLOW_THREADS;
3570 wxTreeCtrl_SetIndent(_arg0,_arg1);
3571
3572 wxPy_END_ALLOW_THREADS;
3573 } Py_INCREF(Py_None);
3574 _resultobj = Py_None;
3575 return _resultobj;
3576 }
3577
3578 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3579 static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3580 PyObject * _resultobj;
3581 wxImageList * _result;
3582 wxTreeCtrl * _arg0;
3583 PyObject * _argo0 = 0;
3584 char *_kwnames[] = { "self", NULL };
3585 char _ptemp[128];
3586
3587 self = self;
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
3589 return NULL;
3590 if (_argo0) {
3591 if (_argo0 == Py_None) { _arg0 = NULL; }
3592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3594 return NULL;
3595 }
3596 }
3597 {
3598 wxPy_BEGIN_ALLOW_THREADS;
3599 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
3600
3601 wxPy_END_ALLOW_THREADS;
3602 } if (_result) {
3603 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3604 _resultobj = Py_BuildValue("s",_ptemp);
3605 } else {
3606 Py_INCREF(Py_None);
3607 _resultobj = Py_None;
3608 }
3609 return _resultobj;
3610 }
3611
3612 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3613 static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3614 PyObject * _resultobj;
3615 wxImageList * _result;
3616 wxTreeCtrl * _arg0;
3617 PyObject * _argo0 = 0;
3618 char *_kwnames[] = { "self", NULL };
3619 char _ptemp[128];
3620
3621 self = self;
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
3623 return NULL;
3624 if (_argo0) {
3625 if (_argo0 == Py_None) { _arg0 = NULL; }
3626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3628 return NULL;
3629 }
3630 }
3631 {
3632 wxPy_BEGIN_ALLOW_THREADS;
3633 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
3634
3635 wxPy_END_ALLOW_THREADS;
3636 } if (_result) {
3637 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3638 _resultobj = Py_BuildValue("s",_ptemp);
3639 } else {
3640 Py_INCREF(Py_None);
3641 _resultobj = Py_None;
3642 }
3643 return _resultobj;
3644 }
3645
3646 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3647 static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3648 PyObject * _resultobj;
3649 wxTreeCtrl * _arg0;
3650 wxImageList * _arg1;
3651 PyObject * _argo0 = 0;
3652 PyObject * _argo1 = 0;
3653 char *_kwnames[] = { "self","imageList", NULL };
3654
3655 self = self;
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
3657 return NULL;
3658 if (_argo0) {
3659 if (_argo0 == Py_None) { _arg0 = NULL; }
3660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3662 return NULL;
3663 }
3664 }
3665 if (_argo1) {
3666 if (_argo1 == Py_None) { _arg1 = NULL; }
3667 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
3668 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3669 return NULL;
3670 }
3671 }
3672 {
3673 wxPy_BEGIN_ALLOW_THREADS;
3674 wxTreeCtrl_SetImageList(_arg0,_arg1);
3675
3676 wxPy_END_ALLOW_THREADS;
3677 } Py_INCREF(Py_None);
3678 _resultobj = Py_None;
3679 return _resultobj;
3680 }
3681
3682 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3683 static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3684 PyObject * _resultobj;
3685 wxTreeCtrl * _arg0;
3686 wxImageList * _arg1;
3687 PyObject * _argo0 = 0;
3688 PyObject * _argo1 = 0;
3689 char *_kwnames[] = { "self","imageList", NULL };
3690
3691 self = self;
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
3693 return NULL;
3694 if (_argo0) {
3695 if (_argo0 == Py_None) { _arg0 = NULL; }
3696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3698 return NULL;
3699 }
3700 }
3701 if (_argo1) {
3702 if (_argo1 == Py_None) { _arg1 = NULL; }
3703 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
3704 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3705 return NULL;
3706 }
3707 }
3708 {
3709 wxPy_BEGIN_ALLOW_THREADS;
3710 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
3711
3712 wxPy_END_ALLOW_THREADS;
3713 } Py_INCREF(Py_None);
3714 _resultobj = Py_None;
3715 return _resultobj;
3716 }
3717
3718 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3719 static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3720 PyObject * _resultobj;
3721 wxString * _result;
3722 wxTreeCtrl * _arg0;
3723 wxTreeItemId * _arg1;
3724 PyObject * _argo0 = 0;
3725 PyObject * _argo1 = 0;
3726 char *_kwnames[] = { "self","item", NULL };
3727
3728 self = self;
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
3730 return NULL;
3731 if (_argo0) {
3732 if (_argo0 == Py_None) { _arg0 = NULL; }
3733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3735 return NULL;
3736 }
3737 }
3738 if (_argo1) {
3739 if (_argo1 == Py_None) { _arg1 = NULL; }
3740 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3741 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3742 return NULL;
3743 }
3744 }
3745 {
3746 wxPy_BEGIN_ALLOW_THREADS;
3747 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
3748
3749 wxPy_END_ALLOW_THREADS;
3750 }{
3751 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3752 }
3753 {
3754 delete _result;
3755 }
3756 return _resultobj;
3757 }
3758
3759 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3760 static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3761 PyObject * _resultobj;
3762 int _result;
3763 wxTreeCtrl * _arg0;
3764 wxTreeItemId * _arg1;
3765 PyObject * _argo0 = 0;
3766 PyObject * _argo1 = 0;
3767 char *_kwnames[] = { "self","item", NULL };
3768
3769 self = self;
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1))
3771 return NULL;
3772 if (_argo0) {
3773 if (_argo0 == Py_None) { _arg0 = NULL; }
3774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3776 return NULL;
3777 }
3778 }
3779 if (_argo1) {
3780 if (_argo1 == Py_None) { _arg1 = NULL; }
3781 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3782 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3783 return NULL;
3784 }
3785 }
3786 {
3787 wxPy_BEGIN_ALLOW_THREADS;
3788 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1);
3789
3790 wxPy_END_ALLOW_THREADS;
3791 } _resultobj = Py_BuildValue("i",_result);
3792 return _resultobj;
3793 }
3794
3795 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3796 static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject * _resultobj;
3798 int _result;
3799 wxTreeCtrl * _arg0;
3800 wxTreeItemId * _arg1;
3801 PyObject * _argo0 = 0;
3802 PyObject * _argo1 = 0;
3803 char *_kwnames[] = { "self","item", NULL };
3804
3805 self = self;
3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
3807 return NULL;
3808 if (_argo0) {
3809 if (_argo0 == Py_None) { _arg0 = NULL; }
3810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3812 return NULL;
3813 }
3814 }
3815 if (_argo1) {
3816 if (_argo1 == Py_None) { _arg1 = NULL; }
3817 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3818 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3819 return NULL;
3820 }
3821 }
3822 {
3823 wxPy_BEGIN_ALLOW_THREADS;
3824 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
3825
3826 wxPy_END_ALLOW_THREADS;
3827 } _resultobj = Py_BuildValue("i",_result);
3828 return _resultobj;
3829 }
3830
3831 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3832 static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3833 PyObject * _resultobj;
3834 wxTreeCtrl * _arg0;
3835 wxTreeItemId * _arg1;
3836 wxString * _arg2;
3837 PyObject * _argo0 = 0;
3838 PyObject * _argo1 = 0;
3839 PyObject * _obj2 = 0;
3840 char *_kwnames[] = { "self","item","text", NULL };
3841
3842 self = self;
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
3844 return NULL;
3845 if (_argo0) {
3846 if (_argo0 == Py_None) { _arg0 = NULL; }
3847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3849 return NULL;
3850 }
3851 }
3852 if (_argo1) {
3853 if (_argo1 == Py_None) { _arg1 = NULL; }
3854 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3855 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3856 return NULL;
3857 }
3858 }
3859 {
3860 if (!PyString_Check(_obj2)) {
3861 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3862 return NULL;
3863 }
3864 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3865 }
3866 {
3867 wxPy_BEGIN_ALLOW_THREADS;
3868 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
3869
3870 wxPy_END_ALLOW_THREADS;
3871 } Py_INCREF(Py_None);
3872 _resultobj = Py_None;
3873 {
3874 if (_obj2)
3875 delete _arg2;
3876 }
3877 return _resultobj;
3878 }
3879
3880 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3881 static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3882 PyObject * _resultobj;
3883 wxTreeCtrl * _arg0;
3884 wxTreeItemId * _arg1;
3885 int _arg2;
3886 PyObject * _argo0 = 0;
3887 PyObject * _argo1 = 0;
3888 char *_kwnames[] = { "self","item","image", NULL };
3889
3890 self = self;
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
3892 return NULL;
3893 if (_argo0) {
3894 if (_argo0 == Py_None) { _arg0 = NULL; }
3895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3897 return NULL;
3898 }
3899 }
3900 if (_argo1) {
3901 if (_argo1 == Py_None) { _arg1 = NULL; }
3902 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3903 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3904 return NULL;
3905 }
3906 }
3907 {
3908 wxPy_BEGIN_ALLOW_THREADS;
3909 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2);
3910
3911 wxPy_END_ALLOW_THREADS;
3912 } Py_INCREF(Py_None);
3913 _resultobj = Py_None;
3914 return _resultobj;
3915 }
3916
3917 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3918 static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3919 PyObject * _resultobj;
3920 wxTreeCtrl * _arg0;
3921 wxTreeItemId * _arg1;
3922 int _arg2;
3923 PyObject * _argo0 = 0;
3924 PyObject * _argo1 = 0;
3925 char *_kwnames[] = { "self","item","image", NULL };
3926
3927 self = self;
3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
3929 return NULL;
3930 if (_argo0) {
3931 if (_argo0 == Py_None) { _arg0 = NULL; }
3932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3934 return NULL;
3935 }
3936 }
3937 if (_argo1) {
3938 if (_argo1 == Py_None) { _arg1 = NULL; }
3939 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3940 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3941 return NULL;
3942 }
3943 }
3944 {
3945 wxPy_BEGIN_ALLOW_THREADS;
3946 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
3947
3948 wxPy_END_ALLOW_THREADS;
3949 } Py_INCREF(Py_None);
3950 _resultobj = Py_None;
3951 return _resultobj;
3952 }
3953
3954 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3955 static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3956 PyObject * _resultobj;
3957 wxTreeCtrl * _arg0;
3958 wxTreeItemId * _arg1;
3959 bool _arg2 = (bool ) TRUE;
3960 PyObject * _argo0 = 0;
3961 PyObject * _argo1 = 0;
3962 int tempbool2 = (int) TRUE;
3963 char *_kwnames[] = { "self","item","hasChildren", NULL };
3964
3965 self = self;
3966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
3967 return NULL;
3968 if (_argo0) {
3969 if (_argo0 == Py_None) { _arg0 = NULL; }
3970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3972 return NULL;
3973 }
3974 }
3975 if (_argo1) {
3976 if (_argo1 == Py_None) { _arg1 = NULL; }
3977 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3978 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3979 return NULL;
3980 }
3981 }
3982 _arg2 = (bool ) tempbool2;
3983 {
3984 wxPy_BEGIN_ALLOW_THREADS;
3985 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
3986
3987 wxPy_END_ALLOW_THREADS;
3988 } Py_INCREF(Py_None);
3989 _resultobj = Py_None;
3990 return _resultobj;
3991 }
3992
3993 static wxPyTreeItemData * wxTreeCtrl_GetItemData(wxTreeCtrl *self,const wxTreeItemId & item) {
3994 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3995 if (data == NULL) {
3996 data = new wxPyTreeItemData();
3997 self->SetItemData(item, data);
3998 }
3999 return data;
4000 }
4001 static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject * _resultobj;
4003 wxPyTreeItemData * _result;
4004 wxTreeCtrl * _arg0;
4005 wxTreeItemId * _arg1;
4006 PyObject * _argo0 = 0;
4007 PyObject * _argo1 = 0;
4008 char *_kwnames[] = { "self","item", NULL };
4009 char _ptemp[128];
4010
4011 self = self;
4012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
4013 return NULL;
4014 if (_argo0) {
4015 if (_argo0 == Py_None) { _arg0 = NULL; }
4016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
4018 return NULL;
4019 }
4020 }
4021 if (_argo1) {
4022 if (_argo1 == Py_None) { _arg1 = NULL; }
4023 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4024 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
4025 return NULL;
4026 }
4027 }
4028 {
4029 wxPy_BEGIN_ALLOW_THREADS;
4030 _result = (wxPyTreeItemData *)wxTreeCtrl_GetItemData(_arg0,*_arg1);
4031
4032 wxPy_END_ALLOW_THREADS;
4033 } if (_result) {
4034 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
4035 _resultobj = Py_BuildValue("s",_ptemp);
4036 } else {
4037 Py_INCREF(Py_None);
4038 _resultobj = Py_None;
4039 }
4040 return _resultobj;
4041 }
4042
4043 static void wxTreeCtrl_SetItemData(wxTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
4044 self->SetItemData(item, data);
4045 }
4046 static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
4047 PyObject * _resultobj;
4048 wxTreeCtrl * _arg0;
4049 wxTreeItemId * _arg1;
4050 wxPyTreeItemData * _arg2;
4051 PyObject * _argo0 = 0;
4052 PyObject * _argo1 = 0;
4053 PyObject * _argo2 = 0;
4054 char *_kwnames[] = { "self","item","data", NULL };
4055
4056 self = self;
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
4058 return NULL;
4059 if (_argo0) {
4060 if (_argo0 == Py_None) { _arg0 = NULL; }
4061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
4063 return NULL;
4064 }
4065 }
4066 if (_argo1) {
4067 if (_argo1 == Py_None) { _arg1 = NULL; }
4068 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4069 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
4070 return NULL;
4071 }
4072 }
4073 if (_argo2) {
4074 if (_argo2 == Py_None) { _arg2 = NULL; }
4075 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
4076 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
4077 return NULL;
4078 }
4079 }
4080 {
4081 wxPy_BEGIN_ALLOW_THREADS;
4082 wxTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
4083
4084 wxPy_END_ALLOW_THREADS;
4085 } Py_INCREF(Py_None);
4086 _resultobj = Py_None;
4087 return _resultobj;
4088 }
4089
4090 static PyObject * wxTreeCtrl_GetPyData(wxTreeCtrl *self,const wxTreeItemId & item) {
4091 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
4092 if (data == NULL) {
4093 data = new wxPyTreeItemData();
4094 self->SetItemData(item, data);
4095 }
4096 return data->GetData();
4097 }
4098 static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
4099 PyObject * _resultobj;
4100 PyObject * _result;
4101 wxTreeCtrl * _arg0;
4102 wxTreeItemId * _arg1;
4103 PyObject * _argo0 = 0;
4104 PyObject * _argo1 = 0;
4105 char *_kwnames[] = { "self","item", NULL };
4106
4107 self = self;
4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
4109 return NULL;
4110 if (_argo0) {
4111 if (_argo0 == Py_None) { _arg0 = NULL; }
4112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
4114 return NULL;
4115 }
4116 }
4117 if (_argo1) {
4118 if (_argo1 == Py_None) { _arg1 = NULL; }
4119 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4120 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
4121 return NULL;
4122 }
4123 }
4124 {
4125 wxPy_BEGIN_ALLOW_THREADS;
4126 _result = (PyObject *)wxTreeCtrl_GetPyData(_arg0,*_arg1);
4127
4128 wxPy_END_ALLOW_THREADS;
4129 }{
4130 _resultobj = _result;
4131 }
4132 return _resultobj;
4133 }
4134
4135 static void wxTreeCtrl_SetPyData(wxTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
4136 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
4137 if (data == NULL) {
4138 data = new wxPyTreeItemData(obj);
4139 self->SetItemData(item, data);
4140 } else
4141 data->SetData(obj);
4142 }
4143 static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
4144 PyObject * _resultobj;
4145 wxTreeCtrl * _arg0;
4146 wxTreeItemId * _arg1;
4147 PyObject * _arg2;
4148 PyObject * _argo0 = 0;
4149 PyObject * _argo1 = 0;
4150 PyObject * _obj2 = 0;
4151 char *_kwnames[] = { "self","item","obj", NULL };
4152
4153 self = self;
4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
4155 return NULL;
4156 if (_argo0) {
4157 if (_argo0 == Py_None) { _arg0 = NULL; }
4158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4160 return NULL;
4161 }
4162 }
4163 if (_argo1) {
4164 if (_argo1 == Py_None) { _arg1 = NULL; }
4165 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4166 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4167 return NULL;
4168 }
4169 }
4170 {
4171 _arg2 = _obj2;
4172 }
4173 {
4174 wxPy_BEGIN_ALLOW_THREADS;
4175 wxTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
4176
4177 wxPy_END_ALLOW_THREADS;
4178 } Py_INCREF(Py_None);
4179 _resultobj = Py_None;
4180 return _resultobj;
4181 }
4182
4183 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4184 static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject * _resultobj;
4186 bool _result;
4187 wxTreeCtrl * _arg0;
4188 wxTreeItemId * _arg1;
4189 PyObject * _argo0 = 0;
4190 PyObject * _argo1 = 0;
4191 char *_kwnames[] = { "self","item", NULL };
4192
4193 self = self;
4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
4195 return NULL;
4196 if (_argo0) {
4197 if (_argo0 == Py_None) { _arg0 = NULL; }
4198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4200 return NULL;
4201 }
4202 }
4203 if (_argo1) {
4204 if (_argo1 == Py_None) { _arg1 = NULL; }
4205 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4206 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4207 return NULL;
4208 }
4209 }
4210 {
4211 wxPy_BEGIN_ALLOW_THREADS;
4212 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
4213
4214 wxPy_END_ALLOW_THREADS;
4215 } _resultobj = Py_BuildValue("i",_result);
4216 return _resultobj;
4217 }
4218
4219 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4220 static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
4221 PyObject * _resultobj;
4222 bool _result;
4223 wxTreeCtrl * _arg0;
4224 wxTreeItemId * _arg1;
4225 PyObject * _argo0 = 0;
4226 PyObject * _argo1 = 0;
4227 char *_kwnames[] = { "self","item", NULL };
4228
4229 self = self;
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
4231 return NULL;
4232 if (_argo0) {
4233 if (_argo0 == Py_None) { _arg0 = NULL; }
4234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4236 return NULL;
4237 }
4238 }
4239 if (_argo1) {
4240 if (_argo1 == Py_None) { _arg1 = NULL; }
4241 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4242 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4243 return NULL;
4244 }
4245 }
4246 {
4247 wxPy_BEGIN_ALLOW_THREADS;
4248 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
4249
4250 wxPy_END_ALLOW_THREADS;
4251 } _resultobj = Py_BuildValue("i",_result);
4252 return _resultobj;
4253 }
4254
4255 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4256 static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
4257 PyObject * _resultobj;
4258 bool _result;
4259 wxTreeCtrl * _arg0;
4260 wxTreeItemId * _arg1;
4261 PyObject * _argo0 = 0;
4262 PyObject * _argo1 = 0;
4263 char *_kwnames[] = { "self","item", NULL };
4264
4265 self = self;
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
4267 return NULL;
4268 if (_argo0) {
4269 if (_argo0 == Py_None) { _arg0 = NULL; }
4270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4272 return NULL;
4273 }
4274 }
4275 if (_argo1) {
4276 if (_argo1 == Py_None) { _arg1 = NULL; }
4277 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4278 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4279 return NULL;
4280 }
4281 }
4282 {
4283 wxPy_BEGIN_ALLOW_THREADS;
4284 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
4285
4286 wxPy_END_ALLOW_THREADS;
4287 } _resultobj = Py_BuildValue("i",_result);
4288 return _resultobj;
4289 }
4290
4291 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4292 static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject * _resultobj;
4294 bool _result;
4295 wxTreeCtrl * _arg0;
4296 wxTreeItemId * _arg1;
4297 PyObject * _argo0 = 0;
4298 PyObject * _argo1 = 0;
4299 char *_kwnames[] = { "self","item", NULL };
4300
4301 self = self;
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
4303 return NULL;
4304 if (_argo0) {
4305 if (_argo0 == Py_None) { _arg0 = NULL; }
4306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4308 return NULL;
4309 }
4310 }
4311 if (_argo1) {
4312 if (_argo1 == Py_None) { _arg1 = NULL; }
4313 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4314 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4315 return NULL;
4316 }
4317 }
4318 {
4319 wxPy_BEGIN_ALLOW_THREADS;
4320 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
4321
4322 wxPy_END_ALLOW_THREADS;
4323 } _resultobj = Py_BuildValue("i",_result);
4324 return _resultobj;
4325 }
4326
4327 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4328 static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4329 PyObject * _resultobj;
4330 wxTreeItemId * _result;
4331 wxTreeCtrl * _arg0;
4332 PyObject * _argo0 = 0;
4333 char *_kwnames[] = { "self", NULL };
4334 char _ptemp[128];
4335
4336 self = self;
4337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
4338 return NULL;
4339 if (_argo0) {
4340 if (_argo0 == Py_None) { _arg0 = NULL; }
4341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4343 return NULL;
4344 }
4345 }
4346 {
4347 wxPy_BEGIN_ALLOW_THREADS;
4348 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
4349
4350 wxPy_END_ALLOW_THREADS;
4351 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4352 _resultobj = Py_BuildValue("s",_ptemp);
4353 return _resultobj;
4354 }
4355
4356 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4357 static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject * _resultobj;
4359 wxTreeItemId * _result;
4360 wxTreeCtrl * _arg0;
4361 PyObject * _argo0 = 0;
4362 char *_kwnames[] = { "self", NULL };
4363 char _ptemp[128];
4364
4365 self = self;
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
4367 return NULL;
4368 if (_argo0) {
4369 if (_argo0 == Py_None) { _arg0 = NULL; }
4370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4372 return NULL;
4373 }
4374 }
4375 {
4376 wxPy_BEGIN_ALLOW_THREADS;
4377 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
4378
4379 wxPy_END_ALLOW_THREADS;
4380 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4381 _resultobj = Py_BuildValue("s",_ptemp);
4382 return _resultobj;
4383 }
4384
4385 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4386 static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4387 PyObject * _resultobj;
4388 wxTreeItemId * _result;
4389 wxTreeCtrl * _arg0;
4390 wxTreeItemId * _arg1;
4391 PyObject * _argo0 = 0;
4392 PyObject * _argo1 = 0;
4393 char *_kwnames[] = { "self","item", NULL };
4394 char _ptemp[128];
4395
4396 self = self;
4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetParent",_kwnames,&_argo0,&_argo1))
4398 return NULL;
4399 if (_argo0) {
4400 if (_argo0 == Py_None) { _arg0 = NULL; }
4401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
4403 return NULL;
4404 }
4405 }
4406 if (_argo1) {
4407 if (_argo1 == Py_None) { _arg1 = NULL; }
4408 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4409 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
4410 return NULL;
4411 }
4412 }
4413 {
4414 wxPy_BEGIN_ALLOW_THREADS;
4415 _result = new wxTreeItemId (wxTreeCtrl_GetParent(_arg0,*_arg1));
4416
4417 wxPy_END_ALLOW_THREADS;
4418 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4419 _resultobj = Py_BuildValue("s",_ptemp);
4420 return _resultobj;
4421 }
4422
4423 static PyObject * wxTreeCtrl_GetSelections(wxTreeCtrl *self) {
4424 PyObject* rval = PyList_New(0);
4425 wxArrayTreeItemIds array;
4426 size_t num, x;
4427 num = self->GetSelections(array);
4428 for (x=0; x < num; x++) {
4429 PyObject* item = wxPyConstructObject((void*)&array.Item(x),
4430 "wxTreeItemId");
4431 PyList_Append(rval, item);
4432 }
4433 return rval;
4434 }
4435 static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4436 PyObject * _resultobj;
4437 PyObject * _result;
4438 wxTreeCtrl * _arg0;
4439 PyObject * _argo0 = 0;
4440 char *_kwnames[] = { "self", NULL };
4441
4442 self = self;
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
4444 return NULL;
4445 if (_argo0) {
4446 if (_argo0 == Py_None) { _arg0 = NULL; }
4447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4449 return NULL;
4450 }
4451 }
4452 {
4453 wxPy_BEGIN_ALLOW_THREADS;
4454 _result = (PyObject *)wxTreeCtrl_GetSelections(_arg0);
4455
4456 wxPy_END_ALLOW_THREADS;
4457 }{
4458 _resultobj = _result;
4459 }
4460 return _resultobj;
4461 }
4462
4463 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4464 static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject * _resultobj;
4466 size_t _result;
4467 wxTreeCtrl * _arg0;
4468 wxTreeItemId * _arg1;
4469 bool _arg2 = (bool ) TRUE;
4470 PyObject * _argo0 = 0;
4471 PyObject * _argo1 = 0;
4472 int tempbool2 = (int) TRUE;
4473 char *_kwnames[] = { "self","item","recursively", NULL };
4474
4475 self = self;
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
4477 return NULL;
4478 if (_argo0) {
4479 if (_argo0 == Py_None) { _arg0 = NULL; }
4480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4482 return NULL;
4483 }
4484 }
4485 if (_argo1) {
4486 if (_argo1 == Py_None) { _arg1 = NULL; }
4487 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4488 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4489 return NULL;
4490 }
4491 }
4492 _arg2 = (bool ) tempbool2;
4493 {
4494 wxPy_BEGIN_ALLOW_THREADS;
4495 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
4496
4497 wxPy_END_ALLOW_THREADS;
4498 } _resultobj = Py_BuildValue("i",_result);
4499 return _resultobj;
4500 }
4501
4502 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4503 static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject * _resultobj;
4505 wxTreeItemId * _result;
4506 wxTreeCtrl * _arg0;
4507 wxTreeItemId * _arg1;
4508 long * _arg2;
4509 PyObject * _argo0 = 0;
4510 PyObject * _argo1 = 0;
4511 long temp;
4512 PyObject * _obj2 = 0;
4513 char *_kwnames[] = { "self","item","INOUT", NULL };
4514 char _ptemp[128];
4515
4516 self = self;
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
4518 return NULL;
4519 if (_argo0) {
4520 if (_argo0 == Py_None) { _arg0 = NULL; }
4521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4523 return NULL;
4524 }
4525 }
4526 if (_argo1) {
4527 if (_argo1 == Py_None) { _arg1 = NULL; }
4528 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4529 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4530 return NULL;
4531 }
4532 }
4533 {
4534 temp = (long) PyInt_AsLong(_obj2);
4535 _arg2 = &temp;
4536 }
4537 {
4538 wxPy_BEGIN_ALLOW_THREADS;
4539 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
4540
4541 wxPy_END_ALLOW_THREADS;
4542 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4543 _resultobj = Py_BuildValue("s",_ptemp);
4544 {
4545 PyObject *o;
4546 o = PyInt_FromLong((long) (*_arg2));
4547 _resultobj = t_output_helper(_resultobj, o);
4548 }
4549 return _resultobj;
4550 }
4551
4552 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4553 static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject * _resultobj;
4555 wxTreeItemId * _result;
4556 wxTreeCtrl * _arg0;
4557 wxTreeItemId * _arg1;
4558 long * _arg2;
4559 PyObject * _argo0 = 0;
4560 PyObject * _argo1 = 0;
4561 long temp;
4562 PyObject * _obj2 = 0;
4563 char *_kwnames[] = { "self","item","INOUT", NULL };
4564 char _ptemp[128];
4565
4566 self = self;
4567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
4568 return NULL;
4569 if (_argo0) {
4570 if (_argo0 == Py_None) { _arg0 = NULL; }
4571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4573 return NULL;
4574 }
4575 }
4576 if (_argo1) {
4577 if (_argo1 == Py_None) { _arg1 = NULL; }
4578 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4579 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4580 return NULL;
4581 }
4582 }
4583 {
4584 temp = (long) PyInt_AsLong(_obj2);
4585 _arg2 = &temp;
4586 }
4587 {
4588 wxPy_BEGIN_ALLOW_THREADS;
4589 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
4590
4591 wxPy_END_ALLOW_THREADS;
4592 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4593 _resultobj = Py_BuildValue("s",_ptemp);
4594 {
4595 PyObject *o;
4596 o = PyInt_FromLong((long) (*_arg2));
4597 _resultobj = t_output_helper(_resultobj, o);
4598 }
4599 return _resultobj;
4600 }
4601
4602 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4603 static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4604 PyObject * _resultobj;
4605 wxTreeItemId * _result;
4606 wxTreeCtrl * _arg0;
4607 wxTreeItemId * _arg1;
4608 PyObject * _argo0 = 0;
4609 PyObject * _argo1 = 0;
4610 char *_kwnames[] = { "self","item", NULL };
4611 char _ptemp[128];
4612
4613 self = self;
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
4615 return NULL;
4616 if (_argo0) {
4617 if (_argo0 == Py_None) { _arg0 = NULL; }
4618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4620 return NULL;
4621 }
4622 }
4623 if (_argo1) {
4624 if (_argo1 == Py_None) { _arg1 = NULL; }
4625 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4626 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4627 return NULL;
4628 }
4629 }
4630 {
4631 wxPy_BEGIN_ALLOW_THREADS;
4632 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
4633
4634 wxPy_END_ALLOW_THREADS;
4635 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4636 _resultobj = Py_BuildValue("s",_ptemp);
4637 return _resultobj;
4638 }
4639
4640 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4641 static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4642 PyObject * _resultobj;
4643 wxTreeItemId * _result;
4644 wxTreeCtrl * _arg0;
4645 wxTreeItemId * _arg1;
4646 PyObject * _argo0 = 0;
4647 PyObject * _argo1 = 0;
4648 char *_kwnames[] = { "self","item", NULL };
4649 char _ptemp[128];
4650
4651 self = self;
4652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
4653 return NULL;
4654 if (_argo0) {
4655 if (_argo0 == Py_None) { _arg0 = NULL; }
4656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4658 return NULL;
4659 }
4660 }
4661 if (_argo1) {
4662 if (_argo1 == Py_None) { _arg1 = NULL; }
4663 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4664 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4665 return NULL;
4666 }
4667 }
4668 {
4669 wxPy_BEGIN_ALLOW_THREADS;
4670 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
4671
4672 wxPy_END_ALLOW_THREADS;
4673 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4674 _resultobj = Py_BuildValue("s",_ptemp);
4675 return _resultobj;
4676 }
4677
4678 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4679 static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4680 PyObject * _resultobj;
4681 wxTreeItemId * _result;
4682 wxTreeCtrl * _arg0;
4683 PyObject * _argo0 = 0;
4684 char *_kwnames[] = { "self", NULL };
4685 char _ptemp[128];
4686
4687 self = self;
4688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
4689 return NULL;
4690 if (_argo0) {
4691 if (_argo0 == Py_None) { _arg0 = NULL; }
4692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4694 return NULL;
4695 }
4696 }
4697 {
4698 wxPy_BEGIN_ALLOW_THREADS;
4699 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
4700
4701 wxPy_END_ALLOW_THREADS;
4702 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4703 _resultobj = Py_BuildValue("s",_ptemp);
4704 return _resultobj;
4705 }
4706
4707 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4708 static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject * _resultobj;
4710 wxTreeItemId * _result;
4711 wxTreeCtrl * _arg0;
4712 wxTreeItemId * _arg1;
4713 PyObject * _argo0 = 0;
4714 PyObject * _argo1 = 0;
4715 char *_kwnames[] = { "self","item", NULL };
4716 char _ptemp[128];
4717
4718 self = self;
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
4720 return NULL;
4721 if (_argo0) {
4722 if (_argo0 == Py_None) { _arg0 = NULL; }
4723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4725 return NULL;
4726 }
4727 }
4728 if (_argo1) {
4729 if (_argo1 == Py_None) { _arg1 = NULL; }
4730 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4731 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4732 return NULL;
4733 }
4734 }
4735 {
4736 wxPy_BEGIN_ALLOW_THREADS;
4737 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
4738
4739 wxPy_END_ALLOW_THREADS;
4740 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4741 _resultobj = Py_BuildValue("s",_ptemp);
4742 return _resultobj;
4743 }
4744
4745 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4746 static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4747 PyObject * _resultobj;
4748 wxTreeItemId * _result;
4749 wxTreeCtrl * _arg0;
4750 wxTreeItemId * _arg1;
4751 PyObject * _argo0 = 0;
4752 PyObject * _argo1 = 0;
4753 char *_kwnames[] = { "self","item", NULL };
4754 char _ptemp[128];
4755
4756 self = self;
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
4758 return NULL;
4759 if (_argo0) {
4760 if (_argo0 == Py_None) { _arg0 = NULL; }
4761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4763 return NULL;
4764 }
4765 }
4766 if (_argo1) {
4767 if (_argo1 == Py_None) { _arg1 = NULL; }
4768 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4769 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4770 return NULL;
4771 }
4772 }
4773 {
4774 wxPy_BEGIN_ALLOW_THREADS;
4775 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
4776
4777 wxPy_END_ALLOW_THREADS;
4778 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4779 _resultobj = Py_BuildValue("s",_ptemp);
4780 return _resultobj;
4781 }
4782
4783 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4784 static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4785 PyObject * _resultobj;
4786 wxTreeItemId * _result;
4787 wxTreeCtrl * _arg0;
4788 wxTreeItemId * _arg1;
4789 PyObject * _argo0 = 0;
4790 PyObject * _argo1 = 0;
4791 char *_kwnames[] = { "self","item", NULL };
4792 char _ptemp[128];
4793
4794 self = self;
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
4796 return NULL;
4797 if (_argo0) {
4798 if (_argo0 == Py_None) { _arg0 = NULL; }
4799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4801 return NULL;
4802 }
4803 }
4804 if (_argo1) {
4805 if (_argo1 == Py_None) { _arg1 = NULL; }
4806 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4807 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4808 return NULL;
4809 }
4810 }
4811 {
4812 wxPy_BEGIN_ALLOW_THREADS;
4813 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
4814
4815 wxPy_END_ALLOW_THREADS;
4816 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4817 _resultobj = Py_BuildValue("s",_ptemp);
4818 return _resultobj;
4819 }
4820
4821 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4822 static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
4823 PyObject * _resultobj;
4824 wxTreeItemId * _result;
4825 wxTreeCtrl * _arg0;
4826 wxString * _arg1;
4827 int _arg2 = (int ) -1;
4828 int _arg3 = (int ) -1;
4829 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
4830 PyObject * _argo0 = 0;
4831 PyObject * _obj1 = 0;
4832 PyObject * _argo4 = 0;
4833 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
4834 char _ptemp[128];
4835
4836 self = self;
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
4838 return NULL;
4839 if (_argo0) {
4840 if (_argo0 == Py_None) { _arg0 = NULL; }
4841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4843 return NULL;
4844 }
4845 }
4846 {
4847 if (!PyString_Check(_obj1)) {
4848 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4849 return NULL;
4850 }
4851 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4852 }
4853 if (_argo4) {
4854 if (_argo4 == Py_None) { _arg4 = NULL; }
4855 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
4856 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4857 return NULL;
4858 }
4859 }
4860 {
4861 wxPy_BEGIN_ALLOW_THREADS;
4862 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
4863
4864 wxPy_END_ALLOW_THREADS;
4865 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4866 _resultobj = Py_BuildValue("s",_ptemp);
4867 {
4868 if (_obj1)
4869 delete _arg1;
4870 }
4871 return _resultobj;
4872 }
4873
4874 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4875 static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject * _resultobj;
4877 wxTreeItemId * _result;
4878 wxTreeCtrl * _arg0;
4879 wxTreeItemId * _arg1;
4880 wxString * _arg2;
4881 int _arg3 = (int ) -1;
4882 int _arg4 = (int ) -1;
4883 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
4884 PyObject * _argo0 = 0;
4885 PyObject * _argo1 = 0;
4886 PyObject * _obj2 = 0;
4887 PyObject * _argo5 = 0;
4888 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
4889 char _ptemp[128];
4890
4891 self = self;
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
4893 return NULL;
4894 if (_argo0) {
4895 if (_argo0 == Py_None) { _arg0 = NULL; }
4896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4898 return NULL;
4899 }
4900 }
4901 if (_argo1) {
4902 if (_argo1 == Py_None) { _arg1 = NULL; }
4903 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4904 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4905 return NULL;
4906 }
4907 }
4908 {
4909 if (!PyString_Check(_obj2)) {
4910 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4911 return NULL;
4912 }
4913 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4914 }
4915 if (_argo5) {
4916 if (_argo5 == Py_None) { _arg5 = NULL; }
4917 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
4918 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4919 return NULL;
4920 }
4921 }
4922 {
4923 wxPy_BEGIN_ALLOW_THREADS;
4924 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
4925
4926 wxPy_END_ALLOW_THREADS;
4927 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4928 _resultobj = Py_BuildValue("s",_ptemp);
4929 {
4930 if (_obj2)
4931 delete _arg2;
4932 }
4933 return _resultobj;
4934 }
4935
4936 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4937 static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4938 PyObject * _resultobj;
4939 wxTreeItemId * _result;
4940 wxTreeCtrl * _arg0;
4941 wxTreeItemId * _arg1;
4942 wxTreeItemId * _arg2;
4943 wxString * _arg3;
4944 int _arg4 = (int ) -1;
4945 int _arg5 = (int ) -1;
4946 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
4947 PyObject * _argo0 = 0;
4948 PyObject * _argo1 = 0;
4949 PyObject * _argo2 = 0;
4950 PyObject * _obj3 = 0;
4951 PyObject * _argo6 = 0;
4952 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
4953 char _ptemp[128];
4954
4955 self = self;
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
4957 return NULL;
4958 if (_argo0) {
4959 if (_argo0 == Py_None) { _arg0 = NULL; }
4960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4962 return NULL;
4963 }
4964 }
4965 if (_argo1) {
4966 if (_argo1 == Py_None) { _arg1 = NULL; }
4967 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4968 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4969 return NULL;
4970 }
4971 }
4972 if (_argo2) {
4973 if (_argo2 == Py_None) { _arg2 = NULL; }
4974 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
4975 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4976 return NULL;
4977 }
4978 }
4979 {
4980 if (!PyString_Check(_obj3)) {
4981 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4982 return NULL;
4983 }
4984 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4985 }
4986 if (_argo6) {
4987 if (_argo6 == Py_None) { _arg6 = NULL; }
4988 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
4989 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4990 return NULL;
4991 }
4992 }
4993 {
4994 wxPy_BEGIN_ALLOW_THREADS;
4995 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
4996
4997 wxPy_END_ALLOW_THREADS;
4998 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4999 _resultobj = Py_BuildValue("s",_ptemp);
5000 {
5001 if (_obj3)
5002 delete _arg3;
5003 }
5004 return _resultobj;
5005 }
5006
5007 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5008 static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5009 PyObject * _resultobj;
5010 wxTreeItemId * _result;
5011 wxTreeCtrl * _arg0;
5012 wxTreeItemId * _arg1;
5013 wxString * _arg2;
5014 int _arg3 = (int ) -1;
5015 int _arg4 = (int ) -1;
5016 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
5017 PyObject * _argo0 = 0;
5018 PyObject * _argo1 = 0;
5019 PyObject * _obj2 = 0;
5020 PyObject * _argo5 = 0;
5021 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
5022 char _ptemp[128];
5023
5024 self = self;
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
5026 return NULL;
5027 if (_argo0) {
5028 if (_argo0 == Py_None) { _arg0 = NULL; }
5029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
5031 return NULL;
5032 }
5033 }
5034 if (_argo1) {
5035 if (_argo1 == Py_None) { _arg1 = NULL; }
5036 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
5038 return NULL;
5039 }
5040 }
5041 {
5042 if (!PyString_Check(_obj2)) {
5043 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5044 return NULL;
5045 }
5046 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5047 }
5048 if (_argo5) {
5049 if (_argo5 == Py_None) { _arg5 = NULL; }
5050 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
5051 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
5052 return NULL;
5053 }
5054 }
5055 {
5056 wxPy_BEGIN_ALLOW_THREADS;
5057 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
5058
5059 wxPy_END_ALLOW_THREADS;
5060 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5061 _resultobj = Py_BuildValue("s",_ptemp);
5062 {
5063 if (_obj2)
5064 delete _arg2;
5065 }
5066 return _resultobj;
5067 }
5068
5069 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
5070 static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject * _resultobj;
5072 wxTreeCtrl * _arg0;
5073 wxTreeItemId * _arg1;
5074 PyObject * _argo0 = 0;
5075 PyObject * _argo1 = 0;
5076 char *_kwnames[] = { "self","item", NULL };
5077
5078 self = self;
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
5080 return NULL;
5081 if (_argo0) {
5082 if (_argo0 == Py_None) { _arg0 = NULL; }
5083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
5085 return NULL;
5086 }
5087 }
5088 if (_argo1) {
5089 if (_argo1 == Py_None) { _arg1 = NULL; }
5090 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5091 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5092 return NULL;
5093 }
5094 }
5095 {
5096 wxPy_BEGIN_ALLOW_THREADS;
5097 wxTreeCtrl_Delete(_arg0,*_arg1);
5098
5099 wxPy_END_ALLOW_THREADS;
5100 } Py_INCREF(Py_None);
5101 _resultobj = Py_None;
5102 return _resultobj;
5103 }
5104
5105 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5106 static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject * _resultobj;
5108 wxTreeCtrl * _arg0;
5109 wxTreeItemId * _arg1;
5110 PyObject * _argo0 = 0;
5111 PyObject * _argo1 = 0;
5112 char *_kwnames[] = { "self","item", NULL };
5113
5114 self = self;
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
5116 return NULL;
5117 if (_argo0) {
5118 if (_argo0 == Py_None) { _arg0 = NULL; }
5119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5121 return NULL;
5122 }
5123 }
5124 if (_argo1) {
5125 if (_argo1 == Py_None) { _arg1 = NULL; }
5126 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5127 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5128 return NULL;
5129 }
5130 }
5131 {
5132 wxPy_BEGIN_ALLOW_THREADS;
5133 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
5134
5135 wxPy_END_ALLOW_THREADS;
5136 } Py_INCREF(Py_None);
5137 _resultobj = Py_None;
5138 return _resultobj;
5139 }
5140
5141 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5142 static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject * _resultobj;
5144 wxTreeCtrl * _arg0;
5145 PyObject * _argo0 = 0;
5146 char *_kwnames[] = { "self", NULL };
5147
5148 self = self;
5149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
5150 return NULL;
5151 if (_argo0) {
5152 if (_argo0 == Py_None) { _arg0 = NULL; }
5153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5155 return NULL;
5156 }
5157 }
5158 {
5159 wxPy_BEGIN_ALLOW_THREADS;
5160 wxTreeCtrl_DeleteAllItems(_arg0);
5161
5162 wxPy_END_ALLOW_THREADS;
5163 } Py_INCREF(Py_None);
5164 _resultobj = Py_None;
5165 return _resultobj;
5166 }
5167
5168 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5169 static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
5170 PyObject * _resultobj;
5171 wxTreeCtrl * _arg0;
5172 wxTreeItemId * _arg1;
5173 PyObject * _argo0 = 0;
5174 PyObject * _argo1 = 0;
5175 char *_kwnames[] = { "self","item", NULL };
5176
5177 self = self;
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
5179 return NULL;
5180 if (_argo0) {
5181 if (_argo0 == Py_None) { _arg0 = NULL; }
5182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5184 return NULL;
5185 }
5186 }
5187 if (_argo1) {
5188 if (_argo1 == Py_None) { _arg1 = NULL; }
5189 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5190 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5191 return NULL;
5192 }
5193 }
5194 {
5195 wxPy_BEGIN_ALLOW_THREADS;
5196 wxTreeCtrl_Expand(_arg0,*_arg1);
5197
5198 wxPy_END_ALLOW_THREADS;
5199 } Py_INCREF(Py_None);
5200 _resultobj = Py_None;
5201 return _resultobj;
5202 }
5203
5204 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5205 static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
5206 PyObject * _resultobj;
5207 wxTreeCtrl * _arg0;
5208 wxTreeItemId * _arg1;
5209 PyObject * _argo0 = 0;
5210 PyObject * _argo1 = 0;
5211 char *_kwnames[] = { "self","item", NULL };
5212
5213 self = self;
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
5215 return NULL;
5216 if (_argo0) {
5217 if (_argo0 == Py_None) { _arg0 = NULL; }
5218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5220 return NULL;
5221 }
5222 }
5223 if (_argo1) {
5224 if (_argo1 == Py_None) { _arg1 = NULL; }
5225 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5226 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5227 return NULL;
5228 }
5229 }
5230 {
5231 wxPy_BEGIN_ALLOW_THREADS;
5232 wxTreeCtrl_Collapse(_arg0,*_arg1);
5233
5234 wxPy_END_ALLOW_THREADS;
5235 } Py_INCREF(Py_None);
5236 _resultobj = Py_None;
5237 return _resultobj;
5238 }
5239
5240 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5241 static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
5242 PyObject * _resultobj;
5243 wxTreeCtrl * _arg0;
5244 wxTreeItemId * _arg1;
5245 PyObject * _argo0 = 0;
5246 PyObject * _argo1 = 0;
5247 char *_kwnames[] = { "self","item", NULL };
5248
5249 self = self;
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
5251 return NULL;
5252 if (_argo0) {
5253 if (_argo0 == Py_None) { _arg0 = NULL; }
5254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5256 return NULL;
5257 }
5258 }
5259 if (_argo1) {
5260 if (_argo1 == Py_None) { _arg1 = NULL; }
5261 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5262 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5263 return NULL;
5264 }
5265 }
5266 {
5267 wxPy_BEGIN_ALLOW_THREADS;
5268 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
5269
5270 wxPy_END_ALLOW_THREADS;
5271 } Py_INCREF(Py_None);
5272 _resultobj = Py_None;
5273 return _resultobj;
5274 }
5275
5276 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5277 static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
5278 PyObject * _resultobj;
5279 wxTreeCtrl * _arg0;
5280 wxTreeItemId * _arg1;
5281 PyObject * _argo0 = 0;
5282 PyObject * _argo1 = 0;
5283 char *_kwnames[] = { "self","item", NULL };
5284
5285 self = self;
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
5287 return NULL;
5288 if (_argo0) {
5289 if (_argo0 == Py_None) { _arg0 = NULL; }
5290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5292 return NULL;
5293 }
5294 }
5295 if (_argo1) {
5296 if (_argo1 == Py_None) { _arg1 = NULL; }
5297 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5298 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5299 return NULL;
5300 }
5301 }
5302 {
5303 wxPy_BEGIN_ALLOW_THREADS;
5304 wxTreeCtrl_Toggle(_arg0,*_arg1);
5305
5306 wxPy_END_ALLOW_THREADS;
5307 } Py_INCREF(Py_None);
5308 _resultobj = Py_None;
5309 return _resultobj;
5310 }
5311
5312 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5313 static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5314 PyObject * _resultobj;
5315 wxTreeCtrl * _arg0;
5316 PyObject * _argo0 = 0;
5317 char *_kwnames[] = { "self", NULL };
5318
5319 self = self;
5320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
5321 return NULL;
5322 if (_argo0) {
5323 if (_argo0 == Py_None) { _arg0 = NULL; }
5324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5326 return NULL;
5327 }
5328 }
5329 {
5330 wxPy_BEGIN_ALLOW_THREADS;
5331 wxTreeCtrl_Unselect(_arg0);
5332
5333 wxPy_END_ALLOW_THREADS;
5334 } Py_INCREF(Py_None);
5335 _resultobj = Py_None;
5336 return _resultobj;
5337 }
5338
5339 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5340 static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5341 PyObject * _resultobj;
5342 wxTreeCtrl * _arg0;
5343 PyObject * _argo0 = 0;
5344 char *_kwnames[] = { "self", NULL };
5345
5346 self = self;
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
5348 return NULL;
5349 if (_argo0) {
5350 if (_argo0 == Py_None) { _arg0 = NULL; }
5351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5353 return NULL;
5354 }
5355 }
5356 {
5357 wxPy_BEGIN_ALLOW_THREADS;
5358 wxTreeCtrl_UnselectAll(_arg0);
5359
5360 wxPy_END_ALLOW_THREADS;
5361 } Py_INCREF(Py_None);
5362 _resultobj = Py_None;
5363 return _resultobj;
5364 }
5365
5366 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5367 static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5368 PyObject * _resultobj;
5369 wxTreeCtrl * _arg0;
5370 wxTreeItemId * _arg1;
5371 PyObject * _argo0 = 0;
5372 PyObject * _argo1 = 0;
5373 char *_kwnames[] = { "self","item", NULL };
5374
5375 self = self;
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
5377 return NULL;
5378 if (_argo0) {
5379 if (_argo0 == Py_None) { _arg0 = NULL; }
5380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5382 return NULL;
5383 }
5384 }
5385 if (_argo1) {
5386 if (_argo1 == Py_None) { _arg1 = NULL; }
5387 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5388 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5389 return NULL;
5390 }
5391 }
5392 {
5393 wxPy_BEGIN_ALLOW_THREADS;
5394 wxTreeCtrl_SelectItem(_arg0,*_arg1);
5395
5396 wxPy_END_ALLOW_THREADS;
5397 } Py_INCREF(Py_None);
5398 _resultobj = Py_None;
5399 return _resultobj;
5400 }
5401
5402 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5403 static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject * _resultobj;
5405 wxTreeCtrl * _arg0;
5406 wxTreeItemId * _arg1;
5407 PyObject * _argo0 = 0;
5408 PyObject * _argo1 = 0;
5409 char *_kwnames[] = { "self","item", NULL };
5410
5411 self = self;
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
5413 return NULL;
5414 if (_argo0) {
5415 if (_argo0 == Py_None) { _arg0 = NULL; }
5416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5418 return NULL;
5419 }
5420 }
5421 if (_argo1) {
5422 if (_argo1 == Py_None) { _arg1 = NULL; }
5423 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5424 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5425 return NULL;
5426 }
5427 }
5428 {
5429 wxPy_BEGIN_ALLOW_THREADS;
5430 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
5431
5432 wxPy_END_ALLOW_THREADS;
5433 } Py_INCREF(Py_None);
5434 _resultobj = Py_None;
5435 return _resultobj;
5436 }
5437
5438 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5439 static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject * _resultobj;
5441 wxTreeCtrl * _arg0;
5442 wxTreeItemId * _arg1;
5443 PyObject * _argo0 = 0;
5444 PyObject * _argo1 = 0;
5445 char *_kwnames[] = { "self","item", NULL };
5446
5447 self = self;
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
5449 return NULL;
5450 if (_argo0) {
5451 if (_argo0 == Py_None) { _arg0 = NULL; }
5452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5454 return NULL;
5455 }
5456 }
5457 if (_argo1) {
5458 if (_argo1 == Py_None) { _arg1 = NULL; }
5459 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5460 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5461 return NULL;
5462 }
5463 }
5464 {
5465 wxPy_BEGIN_ALLOW_THREADS;
5466 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
5467
5468 wxPy_END_ALLOW_THREADS;
5469 } Py_INCREF(Py_None);
5470 _resultobj = Py_None;
5471 return _resultobj;
5472 }
5473
5474 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5475 static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject * _resultobj;
5477 wxTextCtrl * _result;
5478 wxTreeCtrl * _arg0;
5479 wxTreeItemId * _arg1;
5480 PyObject * _argo0 = 0;
5481 PyObject * _argo1 = 0;
5482 char *_kwnames[] = { "self","item", NULL };
5483 char _ptemp[128];
5484
5485 self = self;
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
5487 return NULL;
5488 if (_argo0) {
5489 if (_argo0 == Py_None) { _arg0 = NULL; }
5490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5492 return NULL;
5493 }
5494 }
5495 if (_argo1) {
5496 if (_argo1 == Py_None) { _arg1 = NULL; }
5497 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5498 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5499 return NULL;
5500 }
5501 }
5502 {
5503 wxPy_BEGIN_ALLOW_THREADS;
5504 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
5505
5506 wxPy_END_ALLOW_THREADS;
5507 } if (_result) {
5508 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
5509 _resultobj = Py_BuildValue("s",_ptemp);
5510 } else {
5511 Py_INCREF(Py_None);
5512 _resultobj = Py_None;
5513 }
5514 return _resultobj;
5515 }
5516
5517 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
5518 static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject * _resultobj;
5520 wxTextCtrl * _result;
5521 wxTreeCtrl * _arg0;
5522 PyObject * _argo0 = 0;
5523 char *_kwnames[] = { "self", NULL };
5524 char _ptemp[128];
5525
5526 self = self;
5527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0))
5528 return NULL;
5529 if (_argo0) {
5530 if (_argo0 == Py_None) { _arg0 = NULL; }
5531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
5533 return NULL;
5534 }
5535 }
5536 {
5537 wxPy_BEGIN_ALLOW_THREADS;
5538 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
5539
5540 wxPy_END_ALLOW_THREADS;
5541 } if (_result) {
5542 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
5543 _resultobj = Py_BuildValue("s",_ptemp);
5544 } else {
5545 Py_INCREF(Py_None);
5546 _resultobj = Py_None;
5547 }
5548 return _resultobj;
5549 }
5550
5551 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
5552 static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5553 PyObject * _resultobj;
5554 wxTreeCtrl * _arg0;
5555 wxTreeItemId * _arg1;
5556 bool _arg2 = (bool ) FALSE;
5557 PyObject * _argo0 = 0;
5558 PyObject * _argo1 = 0;
5559 int tempbool2 = (int) FALSE;
5560 char *_kwnames[] = { "self","item","discardChanges", NULL };
5561
5562 self = self;
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&tempbool2))
5564 return NULL;
5565 if (_argo0) {
5566 if (_argo0 == Py_None) { _arg0 = NULL; }
5567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
5569 return NULL;
5570 }
5571 }
5572 if (_argo1) {
5573 if (_argo1 == Py_None) { _arg1 = NULL; }
5574 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5575 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
5576 return NULL;
5577 }
5578 }
5579 _arg2 = (bool ) tempbool2;
5580 {
5581 wxPy_BEGIN_ALLOW_THREADS;
5582 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
5583
5584 wxPy_END_ALLOW_THREADS;
5585 } Py_INCREF(Py_None);
5586 _resultobj = Py_None;
5587 return _resultobj;
5588 }
5589
5590 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5591 static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject * _resultobj;
5593 wxTreeCtrl * _arg0;
5594 wxTreeItemId * _arg1;
5595 PyObject * _argo0 = 0;
5596 PyObject * _argo1 = 0;
5597 char *_kwnames[] = { "self","item", NULL };
5598
5599 self = self;
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
5601 return NULL;
5602 if (_argo0) {
5603 if (_argo0 == Py_None) { _arg0 = NULL; }
5604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5606 return NULL;
5607 }
5608 }
5609 if (_argo1) {
5610 if (_argo1 == Py_None) { _arg1 = NULL; }
5611 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5612 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5613 return NULL;
5614 }
5615 }
5616 {
5617 wxPy_BEGIN_ALLOW_THREADS;
5618 wxTreeCtrl_SortChildren(_arg0,*_arg1);
5619
5620 wxPy_END_ALLOW_THREADS;
5621 } Py_INCREF(Py_None);
5622 _resultobj = Py_None;
5623 return _resultobj;
5624 }
5625
5626 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5627 static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject * _resultobj;
5629 wxTreeCtrl * _arg0;
5630 wxTreeItemId * _arg1;
5631 bool _arg2 = (bool ) TRUE;
5632 PyObject * _argo0 = 0;
5633 PyObject * _argo1 = 0;
5634 int tempbool2 = (int) TRUE;
5635 char *_kwnames[] = { "self","item","bold", NULL };
5636
5637 self = self;
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&tempbool2))
5639 return NULL;
5640 if (_argo0) {
5641 if (_argo0 == Py_None) { _arg0 = NULL; }
5642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5644 return NULL;
5645 }
5646 }
5647 if (_argo1) {
5648 if (_argo1 == Py_None) { _arg1 = NULL; }
5649 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5650 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5651 return NULL;
5652 }
5653 }
5654 _arg2 = (bool ) tempbool2;
5655 {
5656 wxPy_BEGIN_ALLOW_THREADS;
5657 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
5658
5659 wxPy_END_ALLOW_THREADS;
5660 } Py_INCREF(Py_None);
5661 _resultobj = Py_None;
5662 return _resultobj;
5663 }
5664
5665 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5666 static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject * _resultobj;
5668 bool _result;
5669 wxTreeCtrl * _arg0;
5670 wxTreeItemId * _arg1;
5671 PyObject * _argo0 = 0;
5672 PyObject * _argo1 = 0;
5673 char *_kwnames[] = { "self","item", NULL };
5674
5675 self = self;
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
5677 return NULL;
5678 if (_argo0) {
5679 if (_argo0 == Py_None) { _arg0 = NULL; }
5680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5682 return NULL;
5683 }
5684 }
5685 if (_argo1) {
5686 if (_argo1 == Py_None) { _arg1 = NULL; }
5687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5689 return NULL;
5690 }
5691 }
5692 {
5693 wxPy_BEGIN_ALLOW_THREADS;
5694 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
5695
5696 wxPy_END_ALLOW_THREADS;
5697 } _resultobj = Py_BuildValue("i",_result);
5698 return _resultobj;
5699 }
5700
5701 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5702 static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5703 PyObject * _resultobj;
5704 wxTreeItemId * _result;
5705 wxTreeCtrl * _arg0;
5706 wxPoint * _arg1;
5707 PyObject * _argo0 = 0;
5708 PyObject * _argo1 = 0;
5709 char *_kwnames[] = { "self","point", NULL };
5710 char _ptemp[128];
5711
5712 self = self;
5713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_argo1))
5714 return NULL;
5715 if (_argo0) {
5716 if (_argo0 == Py_None) { _arg0 = NULL; }
5717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5719 return NULL;
5720 }
5721 }
5722 if (_argo1) {
5723 if (_argo1 == Py_None) { _arg1 = NULL; }
5724 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
5725 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
5726 return NULL;
5727 }
5728 }
5729 {
5730 wxPy_BEGIN_ALLOW_THREADS;
5731 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1));
5732
5733 wxPy_END_ALLOW_THREADS;
5734 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5735 _resultobj = Py_BuildValue("s",_ptemp);
5736 return _resultobj;
5737 }
5738
5739 static PyObject * wxTreeCtrl_GetBoundingRect(wxTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
5740 wxRect rect;
5741 if (self->GetBoundingRect(item, rect, textOnly))
5742 return wxPyConstructObject((void*)&rect, "wxRect");
5743 else {
5744 Py_INCREF(Py_None);
5745 return Py_None;
5746 }
5747 }
5748 static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5749 PyObject * _resultobj;
5750 PyObject * _result;
5751 wxTreeCtrl * _arg0;
5752 wxTreeItemId * _arg1;
5753 int _arg2 = (int ) FALSE;
5754 PyObject * _argo0 = 0;
5755 PyObject * _argo1 = 0;
5756 char *_kwnames[] = { "self","item","textOnly", NULL };
5757
5758 self = self;
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
5760 return NULL;
5761 if (_argo0) {
5762 if (_argo0 == Py_None) { _arg0 = NULL; }
5763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeCtrl_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_GetBoundingRect. Expected _wxTreeItemId_p.");
5772 return NULL;
5773 }
5774 }
5775 {
5776 wxPy_BEGIN_ALLOW_THREADS;
5777 _result = (PyObject *)wxTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
5778
5779 wxPy_END_ALLOW_THREADS;
5780 }{
5781 _resultobj = _result;
5782 }
5783 return _resultobj;
5784 }
5785
5786 static PyMethodDef controls2cMethods[] = {
5787 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
5788 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
5789 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
5790 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
5791 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
5792 { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
5793 { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
5794 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
5795 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
5796 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
5797 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
5798 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
5799 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
5800 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
5801 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
5802 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
5803 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
5804 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
5805 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
5806 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
5807 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
5808 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
5809 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
5810 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
5811 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
5812 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
5813 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
5814 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
5815 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
5816 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
5817 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
5818 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
5819 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
5820 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
5821 { "wxTreeCtrl_GetParent", (PyCFunction) _wrap_wxTreeCtrl_GetParent, METH_VARARGS | METH_KEYWORDS },
5822 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
5823 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
5824 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
5825 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
5826 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5827 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
5828 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
5829 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
5830 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5831 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5832 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5833 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5834 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5835 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5836 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5837 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
5838 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
5839 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
5840 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5841 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
5842 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5843 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
5844 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
5845 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
5846 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5847 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
5848 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
5849 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
5850 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
5851 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
5852 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
5853 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
5854 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
5855 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
5856 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
5857 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
5858 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
5859 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
5860 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
5861 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
5862 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5863 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
5864 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
5865 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5866 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5867 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
5868 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
5869 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5870 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5871 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
5872 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5873 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
5874 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
5875 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
5876 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
5877 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
5878 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
5879 { "wxListCtrl_InsertColumnWith", (PyCFunction) _wrap_wxListCtrl_InsertColumnWith, METH_VARARGS | METH_KEYWORDS },
5880 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
5881 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
5882 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
5883 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
5884 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
5885 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
5886 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
5887 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
5888 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
5889 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
5890 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
5891 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
5892 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
5893 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5894 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5895 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
5896 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5897 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
5898 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
5899 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
5900 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
5901 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
5902 { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
5903 { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
5904 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
5905 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
5906 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
5907 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
5908 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
5909 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
5910 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
5911 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
5912 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
5913 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
5914 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
5915 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
5916 { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS },
5917 { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS },
5918 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
5919 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
5920 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
5921 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
5922 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
5923 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
5924 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
5925 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
5926 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
5927 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
5928 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
5929 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
5930 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
5931 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
5932 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
5933 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
5934 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
5935 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
5936 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
5937 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
5938 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
5939 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
5940 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
5941 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
5942 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
5943 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
5944 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
5945 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
5946 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
5947 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
5948 { NULL, NULL }
5949 };
5950 #ifdef __cplusplus
5951 }
5952 #endif
5953 /*
5954 * This table is used by the pointer type-checker
5955 */
5956 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5957 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5958 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
5959 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
5960 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
5961 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
5962 { "_wxEvent","_class_wxEvent",0},
5963 { "_class_wxActivateEvent","_wxActivateEvent",0},
5964 { "_signed_long","_long",0},
5965 { "_wxMenuEvent","_class_wxMenuEvent",0},
5966 { "_wxPrintQuality","_int",0},
5967 { "_wxPrintQuality","_signed_int",0},
5968 { "_wxPrintQuality","_unsigned_int",0},
5969 { "_wxPrintQuality","_wxWindowID",0},
5970 { "_wxPrintQuality","_uint",0},
5971 { "_wxPrintQuality","_EBool",0},
5972 { "_wxPrintQuality","_size_t",0},
5973 { "_class_wxRegionIterator","_wxRegionIterator",0},
5974 { "_class_wxMenuBar","_wxMenuBar",0},
5975 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
5976 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
5977 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
5978 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
5979 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
5980 { "_class_wxEvtHandler","_wxEvtHandler",0},
5981 { "_wxPaintEvent","_class_wxPaintEvent",0},
5982 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5983 { "_wxCursor","_class_wxCursor",0},
5984 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
5985 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
5986 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5987 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
5988 { "_wxMask","_class_wxMask",0},
5989 { "_wxPen","_class_wxPen",0},
5990 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5991 { "_byte","_unsigned_char",0},
5992 { "_wxStaticBox","_class_wxStaticBox",0},
5993 { "_wxChoice","_class_wxChoice",0},
5994 { "_wxSlider","_class_wxSlider",0},
5995 { "_long","_wxDash",0},
5996 { "_long","_unsigned_long",0},
5997 { "_long","_signed_long",0},
5998 { "_wxImageList","_class_wxImageList",0},
5999 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6000 { "_wxBitmapButton","_class_wxBitmapButton",0},
6001 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6002 { "_class_wxGauge","_wxGauge",0},
6003 { "_wxDC","_class_wxDC",0},
6004 { "_wxListEvent","_class_wxListEvent",0},
6005 { "_wxSpinEvent","_class_wxSpinEvent",0},
6006 { "_size_t","_wxPrintQuality",0},
6007 { "_size_t","_unsigned_int",0},
6008 { "_size_t","_int",0},
6009 { "_size_t","_wxWindowID",0},
6010 { "_size_t","_uint",0},
6011 { "_class_wxRealPoint","_wxRealPoint",0},
6012 { "_wxPrinterDC","_class_wxPrinterDC",0},
6013 { "_class_wxMenuItem","_wxMenuItem",0},
6014 { "_class_wxPaintEvent","_wxPaintEvent",0},
6015 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6016 { "_wxPanel","_class_wxPanel",0},
6017 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6018 { "_wxCheckBox","_class_wxCheckBox",0},
6019 { "_wxPyEvent","_class_wxPyEvent",0},
6020 { "_wxTextCtrl","_class_wxTextCtrl",0},
6021 { "_class_wxMask","_wxMask",0},
6022 { "_class_wxKeyEvent","_wxKeyEvent",0},
6023 { "_wxColour","_class_wxColour",0},
6024 { "_class_wxDialog","_wxDialog",0},
6025 { "_wxIdleEvent","_class_wxIdleEvent",0},
6026 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6027 { "_wxStaticLine","_class_wxStaticLine",0},
6028 { "_wxBrush","_class_wxBrush",0},
6029 { "_wxShowEvent","_class_wxShowEvent",0},
6030 { "_uint","_wxPrintQuality",0},
6031 { "_uint","_size_t",0},
6032 { "_uint","_unsigned_int",0},
6033 { "_uint","_int",0},
6034 { "_uint","_wxWindowID",0},
6035 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
6036 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
6037 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
6038 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
6039 { "_class_wxEvent","_wxEvent",0},
6040 { "_wxCheckListBox","_class_wxCheckListBox",0},
6041 { "_wxRect","_class_wxRect",0},
6042 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6043 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6044 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
6045 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
6046 { "_wxCommandEvent","_class_wxCommandEvent",0},
6047 { "_wxSizeEvent","_class_wxSizeEvent",0},
6048 { "_wxPoint","_class_wxPoint",0},
6049 { "_class_wxButton","_wxButton",0},
6050 { "_wxRadioBox","_class_wxRadioBox",0},
6051 { "_wxBitmap","_class_wxBitmap",0},
6052 { "_wxPyTimer","_class_wxPyTimer",0},
6053 { "_wxWindowDC","_class_wxWindowDC",0},
6054 { "_wxScrollBar","_class_wxScrollBar",0},
6055 { "_wxSpinButton","_class_wxSpinButton",0},
6056 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6057 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
6058 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
6059 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6060 { "_class_wxPyEvent","_wxPyEvent",0},
6061 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6062 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
6063 { "_wxListItem","_class_wxListItem",0},
6064 { "_class_wxStaticLine","_wxStaticLine",0},
6065 { "_wxScrollEvent","_class_wxScrollEvent",0},
6066 { "_EBool","_wxPrintQuality",0},
6067 { "_EBool","_signed_int",0},
6068 { "_EBool","_int",0},
6069 { "_EBool","_wxWindowID",0},
6070 { "_class_wxRegion","_wxRegion",0},
6071 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6072 { "_wxStaticText","_class_wxStaticText",0},
6073 { "_wxFont","_class_wxFont",0},
6074 { "_wxCloseEvent","_class_wxCloseEvent",0},
6075 { "_unsigned_long","_wxDash",0},
6076 { "_unsigned_long","_long",0},
6077 { "_class_wxRect","_wxRect",0},
6078 { "_class_wxDC","_wxDC",0},
6079 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6080 { "_class_wxTreeEvent","_wxTreeEvent",0},
6081 { "_class_wxPyTimer","_wxPyTimer",0},
6082 { "_wxFocusEvent","_class_wxFocusEvent",0},
6083 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6084 { "_class_wxSpinButton","_wxSpinButton",0},
6085 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6086 { "_class_wxPanel","_wxPanel",0},
6087 { "_class_wxCheckBox","_wxCheckBox",0},
6088 { "_wxComboBox","_class_wxComboBox",0},
6089 { "_wxRadioButton","_class_wxRadioButton",0},
6090 { "_signed_int","_wxPrintQuality",0},
6091 { "_signed_int","_EBool",0},
6092 { "_signed_int","_wxWindowID",0},
6093 { "_signed_int","_int",0},
6094 { "_class_wxTextCtrl","_wxTextCtrl",0},
6095 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6096 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6097 { "_wxMenu","_class_wxMenu",0},
6098 { "_class_wxMoveEvent","_wxMoveEvent",0},
6099 { "_wxListBox","_class_wxListBox",0},
6100 { "_wxScreenDC","_class_wxScreenDC",0},
6101 { "_WXTYPE","_short",0},
6102 { "_WXTYPE","_signed_short",0},
6103 { "_WXTYPE","_unsigned_short",0},
6104 { "_class_wxBrush","_wxBrush",0},
6105 { "_unsigned_short","_WXTYPE",0},
6106 { "_unsigned_short","_short",0},
6107 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6108 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6109 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
6110 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
6111 { "_class_wxWindow","_wxWindow",0},
6112 { "_class_wxStaticText","_wxStaticText",0},
6113 { "_class_wxFont","_wxFont",0},
6114 { "_class_wxCloseEvent","_wxCloseEvent",0},
6115 { "_class_wxMenuEvent","_wxMenuEvent",0},
6116 { "_wxClientDC","_class_wxClientDC",0},
6117 { "_wxMouseEvent","_class_wxMouseEvent",0},
6118 { "_wxListCtrl","_class_wxListCtrl",0},
6119 { "_class_wxPoint","_wxPoint",0},
6120 { "_wxRealPoint","_class_wxRealPoint",0},
6121 { "_class_wxRadioBox","_wxRadioBox",0},
6122 { "_signed_short","_WXTYPE",0},
6123 { "_signed_short","_short",0},
6124 { "_wxMemoryDC","_class_wxMemoryDC",0},
6125 { "_wxPaintDC","_class_wxPaintDC",0},
6126 { "_class_wxWindowDC","_wxWindowDC",0},
6127 { "_class_wxFocusEvent","_wxFocusEvent",0},
6128 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6129 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6130 { "_class_wxCursor","_wxCursor",0},
6131 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6132 { "_wxTreeItemId","_class_wxTreeItemId",0},
6133 { "_unsigned_char","_byte",0},
6134 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6135 { "_class_wxMenu","_wxMenu",0},
6136 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6137 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6138 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
6139 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
6140 { "_wxControl","_class_wxControl",0},
6141 { "_class_wxListBox","_wxListBox",0},
6142 { "_unsigned_int","_wxPrintQuality",0},
6143 { "_unsigned_int","_size_t",0},
6144 { "_unsigned_int","_uint",0},
6145 { "_unsigned_int","_wxWindowID",0},
6146 { "_unsigned_int","_int",0},
6147 { "_wxIcon","_class_wxIcon",0},
6148 { "_wxDialog","_class_wxDialog",0},
6149 { "_class_wxListItem","_wxListItem",0},
6150 { "_class_wxPen","_wxPen",0},
6151 { "_short","_WXTYPE",0},
6152 { "_short","_unsigned_short",0},
6153 { "_short","_signed_short",0},
6154 { "_class_wxStaticBox","_wxStaticBox",0},
6155 { "_class_wxScrollEvent","_wxScrollEvent",0},
6156 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6157 { "_class_wxChoice","_wxChoice",0},
6158 { "_class_wxSlider","_wxSlider",0},
6159 { "_class_wxImageList","_wxImageList",0},
6160 { "_class_wxBitmapButton","_wxBitmapButton",0},
6161 { "_wxWindowID","_wxPrintQuality",0},
6162 { "_wxWindowID","_size_t",0},
6163 { "_wxWindowID","_EBool",0},
6164 { "_wxWindowID","_uint",0},
6165 { "_wxWindowID","_int",0},
6166 { "_wxWindowID","_signed_int",0},
6167 { "_wxWindowID","_unsigned_int",0},
6168 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6169 { "_int","_wxPrintQuality",0},
6170 { "_int","_size_t",0},
6171 { "_int","_EBool",0},
6172 { "_int","_uint",0},
6173 { "_int","_wxWindowID",0},
6174 { "_int","_unsigned_int",0},
6175 { "_int","_signed_int",0},
6176 { "_class_wxMouseEvent","_wxMouseEvent",0},
6177 { "_class_wxListEvent","_wxListEvent",0},
6178 { "_class_wxSpinEvent","_wxSpinEvent",0},
6179 { "_wxButton","_class_wxButton",0},
6180 { "_wxSize","_class_wxSize",0},
6181 { "_wxRegionIterator","_class_wxRegionIterator",0},
6182 { "_class_wxPrinterDC","_wxPrinterDC",0},
6183 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6184 { "_class_wxPaintDC","_wxPaintDC",0},
6185 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6186 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6187 { "_class_wxComboBox","_wxComboBox",0},
6188 { "_class_wxRadioButton","_wxRadioButton",0},
6189 { "_class_wxTreeItemId","_wxTreeItemId",0},
6190 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6191 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6192 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6193 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6194 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6195 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
6196 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
6197 { "_class_wxControl","_wxControl",0},
6198 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6199 { "_class_wxIcon","_wxIcon",0},
6200 { "_class_wxColour","_wxColour",0},
6201 { "_class_wxScreenDC","_wxScreenDC",0},
6202 { "_wxPalette","_class_wxPalette",0},
6203 { "_class_wxIdleEvent","_wxIdleEvent",0},
6204 { "_wxEraseEvent","_class_wxEraseEvent",0},
6205 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6206 { "_wxRegion","_class_wxRegion",0},
6207 { "_class_wxShowEvent","_wxShowEvent",0},
6208 { "_wxActivateEvent","_class_wxActivateEvent",0},
6209 { "_wxGauge","_class_wxGauge",0},
6210 { "_class_wxCheckListBox","_wxCheckListBox",0},
6211 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6212 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6213 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
6214 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
6215 { "_class_wxCommandEvent","_wxCommandEvent",0},
6216 { "_class_wxClientDC","_wxClientDC",0},
6217 { "_class_wxSizeEvent","_wxSizeEvent",0},
6218 { "_class_wxListCtrl","_wxListCtrl",0},
6219 { "_class_wxSize","_wxSize",0},
6220 { "_class_wxBitmap","_wxBitmap",0},
6221 { "_class_wxMemoryDC","_wxMemoryDC",0},
6222 { "_wxMenuBar","_class_wxMenuBar",0},
6223 { "_wxTreeEvent","_class_wxTreeEvent",0},
6224 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6225 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6226 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6227 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6228 { "_wxEvtHandler","_class_wxEvtHandler",0},
6229 { "_wxMenuItem","_class_wxMenuItem",0},
6230 { "_class_wxScrollBar","_wxScrollBar",0},
6231 { "_wxDash","_unsigned_long",0},
6232 { "_wxDash","_long",0},
6233 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6234 { "_wxKeyEvent","_class_wxKeyEvent",0},
6235 { "_wxMoveEvent","_class_wxMoveEvent",0},
6236 { "_class_wxPalette","_wxPalette",0},
6237 { "_class_wxEraseEvent","_wxEraseEvent",0},
6238 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6239 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6240 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
6241 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
6242 { "_wxWindow","_class_wxWindow",0},
6243 {0,0,0}};
6244
6245 static PyObject *SWIG_globals;
6246 #ifdef __cplusplus
6247 extern "C"
6248 #endif
6249 SWIGEXPORT(void) initcontrols2c() {
6250 PyObject *m, *d;
6251 SWIG_globals = SWIG_newvarlink();
6252 m = Py_InitModule("controls2c", controls2cMethods);
6253 d = PyModule_GetDict(m);
6254 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
6255 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
6256 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
6257 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
6258 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
6259 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
6260 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
6261 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
6262 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
6263 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
6264 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
6265 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
6266 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
6267 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
6268 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
6269 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
6270 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
6271 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
6272 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
6273 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
6274 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
6275 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
6276 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
6277 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
6278 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
6279 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
6280 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
6281 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
6282 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
6283 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
6284 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
6285 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
6286 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
6287 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
6288 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
6289 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
6290 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
6291 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
6292 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
6293 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
6294 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
6295 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
6296 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
6297 {
6298 int i;
6299 for (i = 0; _swig_mapping[i].n1; i++)
6300 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6301 }
6302 }