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