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