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