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