]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls2.cpp
wxPython 2.1b1:
[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_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1353 static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args) {
1354 PyObject * _resultobj;
1355 wxListCtrl * _arg0;
1356 long _arg1;
1357 char * _argc0 = 0;
1358
1359 self = self;
1360 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_EditLabel",&_argc0,&_arg1))
1361 return NULL;
1362 if (_argc0) {
1363 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1365 return NULL;
1366 }
1367 }
1368 {
1369 wxPy_BEGIN_ALLOW_THREADS;
1370 wxListCtrl_EditLabel(_arg0,_arg1);
1371
1372 wxPy_END_ALLOW_THREADS;
1373 } Py_INCREF(Py_None);
1374 _resultobj = Py_None;
1375 return _resultobj;
1376 }
1377
1378 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1379 static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args) {
1380 PyObject * _resultobj;
1381 bool _result;
1382 wxListCtrl * _arg0;
1383 long _arg1;
1384 char * _argc0 = 0;
1385
1386 self = self;
1387 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_EnsureVisible",&_argc0,&_arg1))
1388 return NULL;
1389 if (_argc0) {
1390 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1392 return NULL;
1393 }
1394 }
1395 {
1396 wxPy_BEGIN_ALLOW_THREADS;
1397 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
1398
1399 wxPy_END_ALLOW_THREADS;
1400 } _resultobj = Py_BuildValue("i",_result);
1401 return _resultobj;
1402 }
1403
1404 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1405 static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args) {
1406 PyObject * _resultobj;
1407 long _result;
1408 wxListCtrl * _arg0;
1409 long _arg1;
1410 wxString * _arg2;
1411 bool _arg3 = (0);
1412 char * _argc0 = 0;
1413 PyObject * _obj2 = 0;
1414 int tempbool3;
1415
1416 self = self;
1417 if(!PyArg_ParseTuple(args,"slO|i:wxListCtrl_FindItem",&_argc0,&_arg1,&_obj2,&tempbool3))
1418 return NULL;
1419 if (_argc0) {
1420 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1422 return NULL;
1423 }
1424 }
1425 {
1426 if (!PyString_Check(_obj2)) {
1427 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1428 return NULL;
1429 }
1430 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1431 }
1432 _arg3 = (bool ) tempbool3;
1433 {
1434 wxPy_BEGIN_ALLOW_THREADS;
1435 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
1436
1437 wxPy_END_ALLOW_THREADS;
1438 } _resultobj = Py_BuildValue("l",_result);
1439 {
1440 if (_obj2)
1441 delete _arg2;
1442 }
1443 return _resultobj;
1444 }
1445
1446 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1447 static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args) {
1448 PyObject * _resultobj;
1449 long _result;
1450 wxListCtrl * _arg0;
1451 long _arg1;
1452 long _arg2;
1453 char * _argc0 = 0;
1454
1455 self = self;
1456 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_FindItemData",&_argc0,&_arg1,&_arg2))
1457 return NULL;
1458 if (_argc0) {
1459 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1461 return NULL;
1462 }
1463 }
1464 {
1465 wxPy_BEGIN_ALLOW_THREADS;
1466 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
1467
1468 wxPy_END_ALLOW_THREADS;
1469 } _resultobj = Py_BuildValue("l",_result);
1470 return _resultobj;
1471 }
1472
1473 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1474 static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args) {
1475 PyObject * _resultobj;
1476 long _result;
1477 wxListCtrl * _arg0;
1478 long _arg1;
1479 wxPoint * _arg2;
1480 int _arg3;
1481 char * _argc0 = 0;
1482 char * _argc2 = 0;
1483
1484 self = self;
1485 if(!PyArg_ParseTuple(args,"slsi:wxListCtrl_FindItemAtPos",&_argc0,&_arg1,&_argc2,&_arg3))
1486 return NULL;
1487 if (_argc0) {
1488 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1490 return NULL;
1491 }
1492 }
1493 if (_argc2) {
1494 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
1495 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1496 return NULL;
1497 }
1498 }
1499 {
1500 wxPy_BEGIN_ALLOW_THREADS;
1501 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
1502
1503 wxPy_END_ALLOW_THREADS;
1504 } _resultobj = Py_BuildValue("l",_result);
1505 return _resultobj;
1506 }
1507
1508 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1509 static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args) {
1510 PyObject * _resultobj;
1511 bool _result;
1512 wxListCtrl * _arg0;
1513 int _arg1;
1514 wxListItem * _arg2;
1515 char * _argc0 = 0;
1516 char * _argc2 = 0;
1517
1518 self = self;
1519 if(!PyArg_ParseTuple(args,"sis:wxListCtrl_GetColumn",&_argc0,&_arg1,&_argc2))
1520 return NULL;
1521 if (_argc0) {
1522 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1524 return NULL;
1525 }
1526 }
1527 if (_argc2) {
1528 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
1529 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1530 return NULL;
1531 }
1532 }
1533 {
1534 wxPy_BEGIN_ALLOW_THREADS;
1535 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
1536
1537 wxPy_END_ALLOW_THREADS;
1538 } _resultobj = Py_BuildValue("i",_result);
1539 return _resultobj;
1540 }
1541
1542 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1543 static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args) {
1544 PyObject * _resultobj;
1545 int _result;
1546 wxListCtrl * _arg0;
1547 int _arg1;
1548 char * _argc0 = 0;
1549
1550 self = self;
1551 if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetColumnWidth",&_argc0,&_arg1))
1552 return NULL;
1553 if (_argc0) {
1554 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1556 return NULL;
1557 }
1558 }
1559 {
1560 wxPy_BEGIN_ALLOW_THREADS;
1561 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
1562
1563 wxPy_END_ALLOW_THREADS;
1564 } _resultobj = Py_BuildValue("i",_result);
1565 return _resultobj;
1566 }
1567
1568 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1569 static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args) {
1570 PyObject * _resultobj;
1571 int _result;
1572 wxListCtrl * _arg0;
1573 char * _argc0 = 0;
1574
1575 self = self;
1576 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetCountPerPage",&_argc0))
1577 return NULL;
1578 if (_argc0) {
1579 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1581 return NULL;
1582 }
1583 }
1584 {
1585 wxPy_BEGIN_ALLOW_THREADS;
1586 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
1587
1588 wxPy_END_ALLOW_THREADS;
1589 } _resultobj = Py_BuildValue("i",_result);
1590 return _resultobj;
1591 }
1592
1593 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1594 static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args) {
1595 PyObject * _resultobj;
1596 wxImageList * _result;
1597 wxListCtrl * _arg0;
1598 int _arg1;
1599 char * _argc0 = 0;
1600 char _ptemp[128];
1601
1602 self = self;
1603 if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetImageList",&_argc0,&_arg1))
1604 return NULL;
1605 if (_argc0) {
1606 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1608 return NULL;
1609 }
1610 }
1611 {
1612 wxPy_BEGIN_ALLOW_THREADS;
1613 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
1614
1615 wxPy_END_ALLOW_THREADS;
1616 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
1617 _resultobj = Py_BuildValue("s",_ptemp);
1618 return _resultobj;
1619 }
1620
1621 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1622 static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args) {
1623 PyObject * _resultobj;
1624 long _result;
1625 wxListCtrl * _arg0;
1626 long _arg1;
1627 char * _argc0 = 0;
1628
1629 self = self;
1630 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemData",&_argc0,&_arg1))
1631 return NULL;
1632 if (_argc0) {
1633 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1635 return NULL;
1636 }
1637 }
1638 {
1639 wxPy_BEGIN_ALLOW_THREADS;
1640 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
1641
1642 wxPy_END_ALLOW_THREADS;
1643 } _resultobj = Py_BuildValue("l",_result);
1644 return _resultobj;
1645 }
1646
1647 static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId) {
1648 wxListItem* info = new wxListItem;
1649 info->m_itemId = itemId;
1650 self->GetItem(*info);
1651 return info;
1652 }
1653 static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args) {
1654 PyObject * _resultobj;
1655 wxListItem * _result;
1656 wxListCtrl * _arg0;
1657 long _arg1;
1658 char * _argc0 = 0;
1659 char _ptemp[128];
1660
1661 self = self;
1662 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItem",&_argc0,&_arg1))
1663 return NULL;
1664 if (_argc0) {
1665 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1667 return NULL;
1668 }
1669 }
1670 {
1671 wxPy_BEGIN_ALLOW_THREADS;
1672 _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1);
1673
1674 wxPy_END_ALLOW_THREADS;
1675 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1676 _resultobj = Py_BuildValue("s",_ptemp);
1677 return _resultobj;
1678 }
1679
1680 static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
1681 wxPoint* pos = new wxPoint;
1682 self->GetItemPosition(item, *pos);
1683 return pos;
1684 }
1685 static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args) {
1686 PyObject * _resultobj;
1687 wxPoint * _result;
1688 wxListCtrl * _arg0;
1689 long _arg1;
1690 char * _argc0 = 0;
1691 char _ptemp[128];
1692
1693 self = self;
1694 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemPosition",&_argc0,&_arg1))
1695 return NULL;
1696 if (_argc0) {
1697 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1699 return NULL;
1700 }
1701 }
1702 {
1703 wxPy_BEGIN_ALLOW_THREADS;
1704 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
1705
1706 wxPy_END_ALLOW_THREADS;
1707 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1708 _resultobj = Py_BuildValue("s",_ptemp);
1709 return _resultobj;
1710 }
1711
1712 static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
1713 wxRect* rect= new wxRect;
1714 self->GetItemRect(item, *rect, code);
1715 return rect;
1716 }
1717 static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args) {
1718 PyObject * _resultobj;
1719 wxRect * _result;
1720 wxListCtrl * _arg0;
1721 long _arg1;
1722 int _arg2 = (wxLIST_RECT_BOUNDS);
1723 char * _argc0 = 0;
1724 char _ptemp[128];
1725
1726 self = self;
1727 if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_GetItemRect",&_argc0,&_arg1,&_arg2))
1728 return NULL;
1729 if (_argc0) {
1730 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1732 return NULL;
1733 }
1734 }
1735 {
1736 wxPy_BEGIN_ALLOW_THREADS;
1737 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
1738
1739 wxPy_END_ALLOW_THREADS;
1740 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1741 _resultobj = Py_BuildValue("s",_ptemp);
1742 return _resultobj;
1743 }
1744
1745 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1746 static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args) {
1747 PyObject * _resultobj;
1748 int _result;
1749 wxListCtrl * _arg0;
1750 long _arg1;
1751 long _arg2;
1752 char * _argc0 = 0;
1753
1754 self = self;
1755 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_GetItemState",&_argc0,&_arg1,&_arg2))
1756 return NULL;
1757 if (_argc0) {
1758 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1760 return NULL;
1761 }
1762 }
1763 {
1764 wxPy_BEGIN_ALLOW_THREADS;
1765 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
1766
1767 wxPy_END_ALLOW_THREADS;
1768 } _resultobj = Py_BuildValue("i",_result);
1769 return _resultobj;
1770 }
1771
1772 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1773 static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args) {
1774 PyObject * _resultobj;
1775 int _result;
1776 wxListCtrl * _arg0;
1777 char * _argc0 = 0;
1778
1779 self = self;
1780 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItemCount",&_argc0))
1781 return NULL;
1782 if (_argc0) {
1783 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1785 return NULL;
1786 }
1787 }
1788 {
1789 wxPy_BEGIN_ALLOW_THREADS;
1790 _result = (int )wxListCtrl_GetItemCount(_arg0);
1791
1792 wxPy_END_ALLOW_THREADS;
1793 } _resultobj = Py_BuildValue("i",_result);
1794 return _resultobj;
1795 }
1796
1797 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1798 static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args) {
1799 PyObject * _resultobj;
1800 int _result;
1801 wxListCtrl * _arg0;
1802 bool _arg1;
1803 char * _argc0 = 0;
1804 int tempbool1;
1805
1806 self = self;
1807 if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetItemSpacing",&_argc0,&tempbool1))
1808 return NULL;
1809 if (_argc0) {
1810 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1812 return NULL;
1813 }
1814 }
1815 _arg1 = (bool ) tempbool1;
1816 {
1817 wxPy_BEGIN_ALLOW_THREADS;
1818 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
1819
1820 wxPy_END_ALLOW_THREADS;
1821 } _resultobj = Py_BuildValue("i",_result);
1822 return _resultobj;
1823 }
1824
1825 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1826 static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args) {
1827 PyObject * _resultobj;
1828 wxString * _result;
1829 wxListCtrl * _arg0;
1830 long _arg1;
1831 char * _argc0 = 0;
1832
1833 self = self;
1834 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemText",&_argc0,&_arg1))
1835 return NULL;
1836 if (_argc0) {
1837 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1839 return NULL;
1840 }
1841 }
1842 {
1843 wxPy_BEGIN_ALLOW_THREADS;
1844 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
1845
1846 wxPy_END_ALLOW_THREADS;
1847 }{
1848 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1849 }
1850 {
1851 delete _result;
1852 }
1853 return _resultobj;
1854 }
1855
1856 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1857 static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args) {
1858 PyObject * _resultobj;
1859 long _result;
1860 wxListCtrl * _arg0;
1861 long _arg1;
1862 int _arg2 = (wxLIST_NEXT_ALL);
1863 int _arg3 = (wxLIST_STATE_DONTCARE);
1864 char * _argc0 = 0;
1865
1866 self = self;
1867 if(!PyArg_ParseTuple(args,"sl|ii:wxListCtrl_GetNextItem",&_argc0,&_arg1,&_arg2,&_arg3))
1868 return NULL;
1869 if (_argc0) {
1870 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1872 return NULL;
1873 }
1874 }
1875 {
1876 wxPy_BEGIN_ALLOW_THREADS;
1877 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
1878
1879 wxPy_END_ALLOW_THREADS;
1880 } _resultobj = Py_BuildValue("l",_result);
1881 return _resultobj;
1882 }
1883
1884 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1885 static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args) {
1886 PyObject * _resultobj;
1887 int _result;
1888 wxListCtrl * _arg0;
1889 char * _argc0 = 0;
1890
1891 self = self;
1892 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetSelectedItemCount",&_argc0))
1893 return NULL;
1894 if (_argc0) {
1895 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1897 return NULL;
1898 }
1899 }
1900 {
1901 wxPy_BEGIN_ALLOW_THREADS;
1902 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
1903
1904 wxPy_END_ALLOW_THREADS;
1905 } _resultobj = Py_BuildValue("i",_result);
1906 return _resultobj;
1907 }
1908
1909 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1910 static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args) {
1911 PyObject * _resultobj;
1912 long _result;
1913 wxListCtrl * _arg0;
1914 char * _argc0 = 0;
1915
1916 self = self;
1917 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetTopItem",&_argc0))
1918 return NULL;
1919 if (_argc0) {
1920 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1922 return NULL;
1923 }
1924 }
1925 {
1926 wxPy_BEGIN_ALLOW_THREADS;
1927 _result = (long )wxListCtrl_GetTopItem(_arg0);
1928
1929 wxPy_END_ALLOW_THREADS;
1930 } _resultobj = Py_BuildValue("l",_result);
1931 return _resultobj;
1932 }
1933
1934 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1935 static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args) {
1936 PyObject * _resultobj;
1937 long _result;
1938 wxListCtrl * _arg0;
1939 wxPoint * _arg1;
1940 int * _arg2;
1941 int temp;
1942 char * _argc0 = 0;
1943 char * _argc1 = 0;
1944
1945 self = self;
1946 {
1947 _arg2 = &temp;
1948 }
1949 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_HitTest",&_argc0,&_argc1))
1950 return NULL;
1951 if (_argc0) {
1952 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1954 return NULL;
1955 }
1956 }
1957 if (_argc1) {
1958 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1960 return NULL;
1961 }
1962 }
1963 {
1964 wxPy_BEGIN_ALLOW_THREADS;
1965 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
1966
1967 wxPy_END_ALLOW_THREADS;
1968 } _resultobj = Py_BuildValue("l",_result);
1969 {
1970 PyObject *o;
1971 o = PyInt_FromLong((long) (*_arg2));
1972 _resultobj = t_output_helper(_resultobj, o);
1973 }
1974 return _resultobj;
1975 }
1976
1977 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1978 static PyObject *_wrap_wxListCtrl_InsertColumnWith(PyObject *self, PyObject *args) {
1979 PyObject * _resultobj;
1980 long _result;
1981 wxListCtrl * _arg0;
1982 long _arg1;
1983 wxListItem * _arg2;
1984 char * _argc0 = 0;
1985 char * _argc2 = 0;
1986
1987 self = self;
1988 if(!PyArg_ParseTuple(args,"sls:wxListCtrl_InsertColumnWith",&_argc0,&_arg1,&_argc2))
1989 return NULL;
1990 if (_argc0) {
1991 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
1993 return NULL;
1994 }
1995 }
1996 if (_argc2) {
1997 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
1998 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
1999 return NULL;
2000 }
2001 }
2002 {
2003 wxPy_BEGIN_ALLOW_THREADS;
2004 _result = (long )wxListCtrl_InsertColumnWith(_arg0,_arg1,*_arg2);
2005
2006 wxPy_END_ALLOW_THREADS;
2007 } _resultobj = Py_BuildValue("l",_result);
2008 return _resultobj;
2009 }
2010
2011 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2012 static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args) {
2013 PyObject * _resultobj;
2014 long _result;
2015 wxListCtrl * _arg0;
2016 long _arg1;
2017 wxString * _arg2;
2018 int _arg3 = (wxLIST_FORMAT_LEFT);
2019 int _arg4 = -1;
2020 char * _argc0 = 0;
2021 PyObject * _obj2 = 0;
2022
2023 self = self;
2024 if(!PyArg_ParseTuple(args,"slO|ii:wxListCtrl_InsertColumn",&_argc0,&_arg1,&_obj2,&_arg3,&_arg4))
2025 return NULL;
2026 if (_argc0) {
2027 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2029 return NULL;
2030 }
2031 }
2032 {
2033 if (!PyString_Check(_obj2)) {
2034 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2035 return NULL;
2036 }
2037 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2038 }
2039 {
2040 wxPy_BEGIN_ALLOW_THREADS;
2041 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
2042
2043 wxPy_END_ALLOW_THREADS;
2044 } _resultobj = Py_BuildValue("l",_result);
2045 {
2046 if (_obj2)
2047 delete _arg2;
2048 }
2049 return _resultobj;
2050 }
2051
2052 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2053 static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args) {
2054 PyObject * _resultobj;
2055 long _result;
2056 wxListCtrl * _arg0;
2057 wxListItem * _arg1;
2058 char * _argc0 = 0;
2059 char * _argc1 = 0;
2060
2061 self = self;
2062 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_InsertItem",&_argc0,&_argc1))
2063 return NULL;
2064 if (_argc0) {
2065 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2067 return NULL;
2068 }
2069 }
2070 if (_argc1) {
2071 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) {
2072 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2073 return NULL;
2074 }
2075 }
2076 {
2077 wxPy_BEGIN_ALLOW_THREADS;
2078 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
2079
2080 wxPy_END_ALLOW_THREADS;
2081 } _resultobj = Py_BuildValue("l",_result);
2082 return _resultobj;
2083 }
2084
2085 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2086 static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args) {
2087 PyObject * _resultobj;
2088 long _result;
2089 wxListCtrl * _arg0;
2090 long _arg1;
2091 wxString * _arg2;
2092 char * _argc0 = 0;
2093 PyObject * _obj2 = 0;
2094
2095 self = self;
2096 if(!PyArg_ParseTuple(args,"slO:wxListCtrl_InsertStringItem",&_argc0,&_arg1,&_obj2))
2097 return NULL;
2098 if (_argc0) {
2099 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2101 return NULL;
2102 }
2103 }
2104 {
2105 if (!PyString_Check(_obj2)) {
2106 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2107 return NULL;
2108 }
2109 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2110 }
2111 {
2112 wxPy_BEGIN_ALLOW_THREADS;
2113 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
2114
2115 wxPy_END_ALLOW_THREADS;
2116 } _resultobj = Py_BuildValue("l",_result);
2117 {
2118 if (_obj2)
2119 delete _arg2;
2120 }
2121 return _resultobj;
2122 }
2123
2124 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2125 static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args) {
2126 PyObject * _resultobj;
2127 long _result;
2128 wxListCtrl * _arg0;
2129 long _arg1;
2130 int _arg2;
2131 char * _argc0 = 0;
2132
2133 self = self;
2134 if(!PyArg_ParseTuple(args,"sli:wxListCtrl_InsertImageItem",&_argc0,&_arg1,&_arg2))
2135 return NULL;
2136 if (_argc0) {
2137 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2139 return NULL;
2140 }
2141 }
2142 {
2143 wxPy_BEGIN_ALLOW_THREADS;
2144 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
2145
2146 wxPy_END_ALLOW_THREADS;
2147 } _resultobj = Py_BuildValue("l",_result);
2148 return _resultobj;
2149 }
2150
2151 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2152 static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args) {
2153 PyObject * _resultobj;
2154 long _result;
2155 wxListCtrl * _arg0;
2156 long _arg1;
2157 wxString * _arg2;
2158 int _arg3;
2159 char * _argc0 = 0;
2160 PyObject * _obj2 = 0;
2161
2162 self = self;
2163 if(!PyArg_ParseTuple(args,"slOi:wxListCtrl_InsertImageStringItem",&_argc0,&_arg1,&_obj2,&_arg3))
2164 return NULL;
2165 if (_argc0) {
2166 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2168 return NULL;
2169 }
2170 }
2171 {
2172 if (!PyString_Check(_obj2)) {
2173 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2174 return NULL;
2175 }
2176 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2177 }
2178 {
2179 wxPy_BEGIN_ALLOW_THREADS;
2180 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
2181
2182 wxPy_END_ALLOW_THREADS;
2183 } _resultobj = Py_BuildValue("l",_result);
2184 {
2185 if (_obj2)
2186 delete _arg2;
2187 }
2188 return _resultobj;
2189 }
2190
2191 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2192 static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args) {
2193 PyObject * _resultobj;
2194 bool _result;
2195 wxListCtrl * _arg0;
2196 int _arg1;
2197 int _arg2;
2198 char * _argc0 = 0;
2199
2200 self = self;
2201 if(!PyArg_ParseTuple(args,"sii:wxListCtrl_ScrollList",&_argc0,&_arg1,&_arg2))
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_ScrollList. Expected _wxListCtrl_p.");
2206 return NULL;
2207 }
2208 }
2209 {
2210 wxPy_BEGIN_ALLOW_THREADS;
2211 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
2212
2213 wxPy_END_ALLOW_THREADS;
2214 } _resultobj = Py_BuildValue("i",_result);
2215 return _resultobj;
2216 }
2217
2218 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2219 static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args) {
2220 PyObject * _resultobj;
2221 wxListCtrl * _arg0;
2222 wxColour * _arg1;
2223 char * _argc0 = 0;
2224 char * _argc1 = 0;
2225
2226 self = self;
2227 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetBackgroundColour",&_argc0,&_argc1))
2228 return NULL;
2229 if (_argc0) {
2230 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2232 return NULL;
2233 }
2234 }
2235 if (_argc1) {
2236 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2237 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2238 return NULL;
2239 }
2240 }
2241 {
2242 wxPy_BEGIN_ALLOW_THREADS;
2243 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
2244
2245 wxPy_END_ALLOW_THREADS;
2246 } Py_INCREF(Py_None);
2247 _resultobj = Py_None;
2248 return _resultobj;
2249 }
2250
2251 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2252 static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args) {
2253 PyObject * _resultobj;
2254 bool _result;
2255 wxListCtrl * _arg0;
2256 int _arg1;
2257 wxListItem * _arg2;
2258 char * _argc0 = 0;
2259 char * _argc2 = 0;
2260
2261 self = self;
2262 if(!PyArg_ParseTuple(args,"sis:wxListCtrl_SetColumn",&_argc0,&_arg1,&_argc2))
2263 return NULL;
2264 if (_argc0) {
2265 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2267 return NULL;
2268 }
2269 }
2270 if (_argc2) {
2271 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
2272 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2273 return NULL;
2274 }
2275 }
2276 {
2277 wxPy_BEGIN_ALLOW_THREADS;
2278 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
2279
2280 wxPy_END_ALLOW_THREADS;
2281 } _resultobj = Py_BuildValue("i",_result);
2282 return _resultobj;
2283 }
2284
2285 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2286 static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args) {
2287 PyObject * _resultobj;
2288 bool _result;
2289 wxListCtrl * _arg0;
2290 int _arg1;
2291 int _arg2;
2292 char * _argc0 = 0;
2293
2294 self = self;
2295 if(!PyArg_ParseTuple(args,"sii:wxListCtrl_SetColumnWidth",&_argc0,&_arg1,&_arg2))
2296 return NULL;
2297 if (_argc0) {
2298 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2300 return NULL;
2301 }
2302 }
2303 {
2304 wxPy_BEGIN_ALLOW_THREADS;
2305 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
2306
2307 wxPy_END_ALLOW_THREADS;
2308 } _resultobj = Py_BuildValue("i",_result);
2309 return _resultobj;
2310 }
2311
2312 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2313 static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args) {
2314 PyObject * _resultobj;
2315 wxListCtrl * _arg0;
2316 wxImageList * _arg1;
2317 int _arg2;
2318 char * _argc0 = 0;
2319 char * _argc1 = 0;
2320
2321 self = self;
2322 if(!PyArg_ParseTuple(args,"ssi:wxListCtrl_SetImageList",&_argc0,&_argc1,&_arg2))
2323 return NULL;
2324 if (_argc0) {
2325 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2327 return NULL;
2328 }
2329 }
2330 if (_argc1) {
2331 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2332 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2333 return NULL;
2334 }
2335 }
2336 {
2337 wxPy_BEGIN_ALLOW_THREADS;
2338 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
2339
2340 wxPy_END_ALLOW_THREADS;
2341 } Py_INCREF(Py_None);
2342 _resultobj = Py_None;
2343 return _resultobj;
2344 }
2345
2346 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2347 static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args) {
2348 PyObject * _resultobj;
2349 bool _result;
2350 wxListCtrl * _arg0;
2351 wxListItem * _arg1;
2352 char * _argc0 = 0;
2353 char * _argc1 = 0;
2354
2355 self = self;
2356 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetItem",&_argc0,&_argc1))
2357 return NULL;
2358 if (_argc0) {
2359 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2361 return NULL;
2362 }
2363 }
2364 if (_argc1) {
2365 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) {
2366 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2367 return NULL;
2368 }
2369 }
2370 {
2371 wxPy_BEGIN_ALLOW_THREADS;
2372 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
2373
2374 wxPy_END_ALLOW_THREADS;
2375 } _resultobj = Py_BuildValue("i",_result);
2376 return _resultobj;
2377 }
2378
2379 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2380 static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args) {
2381 PyObject * _resultobj;
2382 long _result;
2383 wxListCtrl * _arg0;
2384 long _arg1;
2385 int _arg2;
2386 wxString * _arg3;
2387 int _arg4 = -1;
2388 char * _argc0 = 0;
2389 PyObject * _obj3 = 0;
2390
2391 self = self;
2392 if(!PyArg_ParseTuple(args,"sliO|i:wxListCtrl_SetStringItem",&_argc0,&_arg1,&_arg2,&_obj3,&_arg4))
2393 return NULL;
2394 if (_argc0) {
2395 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2397 return NULL;
2398 }
2399 }
2400 {
2401 if (!PyString_Check(_obj3)) {
2402 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2403 return NULL;
2404 }
2405 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
2406 }
2407 {
2408 wxPy_BEGIN_ALLOW_THREADS;
2409 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
2410
2411 wxPy_END_ALLOW_THREADS;
2412 } _resultobj = Py_BuildValue("l",_result);
2413 {
2414 if (_obj3)
2415 delete _arg3;
2416 }
2417 return _resultobj;
2418 }
2419
2420 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2421 static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args) {
2422 PyObject * _resultobj;
2423 bool _result;
2424 wxListCtrl * _arg0;
2425 long _arg1;
2426 long _arg2;
2427 char * _argc0 = 0;
2428
2429 self = self;
2430 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_SetItemData",&_argc0,&_arg1,&_arg2))
2431 return NULL;
2432 if (_argc0) {
2433 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2435 return NULL;
2436 }
2437 }
2438 {
2439 wxPy_BEGIN_ALLOW_THREADS;
2440 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
2441
2442 wxPy_END_ALLOW_THREADS;
2443 } _resultobj = Py_BuildValue("i",_result);
2444 return _resultobj;
2445 }
2446
2447 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2448 static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args) {
2449 PyObject * _resultobj;
2450 bool _result;
2451 wxListCtrl * _arg0;
2452 long _arg1;
2453 int _arg2;
2454 int _arg3;
2455 char * _argc0 = 0;
2456
2457 self = self;
2458 if(!PyArg_ParseTuple(args,"slii:wxListCtrl_SetItemImage",&_argc0,&_arg1,&_arg2,&_arg3))
2459 return NULL;
2460 if (_argc0) {
2461 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2463 return NULL;
2464 }
2465 }
2466 {
2467 wxPy_BEGIN_ALLOW_THREADS;
2468 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
2469
2470 wxPy_END_ALLOW_THREADS;
2471 } _resultobj = Py_BuildValue("i",_result);
2472 return _resultobj;
2473 }
2474
2475 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2476 static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args) {
2477 PyObject * _resultobj;
2478 bool _result;
2479 wxListCtrl * _arg0;
2480 long _arg1;
2481 wxPoint * _arg2;
2482 char * _argc0 = 0;
2483 char * _argc2 = 0;
2484
2485 self = self;
2486 if(!PyArg_ParseTuple(args,"sls:wxListCtrl_SetItemPosition",&_argc0,&_arg1,&_argc2))
2487 return NULL;
2488 if (_argc0) {
2489 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2491 return NULL;
2492 }
2493 }
2494 if (_argc2) {
2495 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2496 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2497 return NULL;
2498 }
2499 }
2500 {
2501 wxPy_BEGIN_ALLOW_THREADS;
2502 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
2503
2504 wxPy_END_ALLOW_THREADS;
2505 } _resultobj = Py_BuildValue("i",_result);
2506 return _resultobj;
2507 }
2508
2509 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2510 static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args) {
2511 PyObject * _resultobj;
2512 bool _result;
2513 wxListCtrl * _arg0;
2514 long _arg1;
2515 long _arg2;
2516 long _arg3;
2517 char * _argc0 = 0;
2518
2519 self = self;
2520 if(!PyArg_ParseTuple(args,"slll:wxListCtrl_SetItemState",&_argc0,&_arg1,&_arg2,&_arg3))
2521 return NULL;
2522 if (_argc0) {
2523 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2525 return NULL;
2526 }
2527 }
2528 {
2529 wxPy_BEGIN_ALLOW_THREADS;
2530 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
2531
2532 wxPy_END_ALLOW_THREADS;
2533 } _resultobj = Py_BuildValue("i",_result);
2534 return _resultobj;
2535 }
2536
2537 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2538 static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args) {
2539 PyObject * _resultobj;
2540 wxListCtrl * _arg0;
2541 long _arg1;
2542 wxString * _arg2;
2543 char * _argc0 = 0;
2544 PyObject * _obj2 = 0;
2545
2546 self = self;
2547 if(!PyArg_ParseTuple(args,"slO:wxListCtrl_SetItemText",&_argc0,&_arg1,&_obj2))
2548 return NULL;
2549 if (_argc0) {
2550 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2552 return NULL;
2553 }
2554 }
2555 {
2556 if (!PyString_Check(_obj2)) {
2557 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2558 return NULL;
2559 }
2560 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2561 }
2562 {
2563 wxPy_BEGIN_ALLOW_THREADS;
2564 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
2565
2566 wxPy_END_ALLOW_THREADS;
2567 } Py_INCREF(Py_None);
2568 _resultobj = Py_None;
2569 {
2570 if (_obj2)
2571 delete _arg2;
2572 }
2573 return _resultobj;
2574 }
2575
2576 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2577 static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args) {
2578 PyObject * _resultobj;
2579 wxListCtrl * _arg0;
2580 long _arg1;
2581 bool _arg2 = (1);
2582 char * _argc0 = 0;
2583 int tempbool2;
2584
2585 self = self;
2586 if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_SetSingleStyle",&_argc0,&_arg1,&tempbool2))
2587 return NULL;
2588 if (_argc0) {
2589 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2591 return NULL;
2592 }
2593 }
2594 _arg2 = (bool ) tempbool2;
2595 {
2596 wxPy_BEGIN_ALLOW_THREADS;
2597 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
2598
2599 wxPy_END_ALLOW_THREADS;
2600 } Py_INCREF(Py_None);
2601 _resultobj = Py_None;
2602 return _resultobj;
2603 }
2604
2605 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2606 static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args) {
2607 PyObject * _resultobj;
2608 wxListCtrl * _arg0;
2609 long _arg1;
2610 char * _argc0 = 0;
2611
2612 self = self;
2613 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0,&_arg1))
2614 return NULL;
2615 if (_argc0) {
2616 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2618 return NULL;
2619 }
2620 }
2621 {
2622 wxPy_BEGIN_ALLOW_THREADS;
2623 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
2624
2625 wxPy_END_ALLOW_THREADS;
2626 } Py_INCREF(Py_None);
2627 _resultobj = Py_None;
2628 return _resultobj;
2629 }
2630
2631 #define new_wxTreeItemId() (new wxTreeItemId())
2632 static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args) {
2633 PyObject * _resultobj;
2634 wxTreeItemId * _result;
2635 char _ptemp[128];
2636
2637 self = self;
2638 if(!PyArg_ParseTuple(args,":new_wxTreeItemId"))
2639 return NULL;
2640 {
2641 wxPy_BEGIN_ALLOW_THREADS;
2642 _result = (wxTreeItemId *)new_wxTreeItemId();
2643
2644 wxPy_END_ALLOW_THREADS;
2645 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
2646 _resultobj = Py_BuildValue("s",_ptemp);
2647 return _resultobj;
2648 }
2649
2650 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2651 static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args) {
2652 PyObject * _resultobj;
2653 wxTreeItemId * _arg0;
2654 char * _argc0 = 0;
2655
2656 self = self;
2657 if(!PyArg_ParseTuple(args,"s:delete_wxTreeItemId",&_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 delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2662 return NULL;
2663 }
2664 }
2665 {
2666 wxPy_BEGIN_ALLOW_THREADS;
2667 delete_wxTreeItemId(_arg0);
2668
2669 wxPy_END_ALLOW_THREADS;
2670 } Py_INCREF(Py_None);
2671 _resultobj = Py_None;
2672 return _resultobj;
2673 }
2674
2675 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2676 static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args) {
2677 PyObject * _resultobj;
2678 bool _result;
2679 wxTreeItemId * _arg0;
2680 char * _argc0 = 0;
2681
2682 self = self;
2683 if(!PyArg_ParseTuple(args,"s:wxTreeItemId_IsOk",&_argc0))
2684 return NULL;
2685 if (_argc0) {
2686 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemId_p")) {
2687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2688 return NULL;
2689 }
2690 }
2691 {
2692 wxPy_BEGIN_ALLOW_THREADS;
2693 _result = (bool )wxTreeItemId_IsOk(_arg0);
2694
2695 wxPy_END_ALLOW_THREADS;
2696 } _resultobj = Py_BuildValue("i",_result);
2697 return _resultobj;
2698 }
2699
2700 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2701 static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args) {
2702 PyObject * _resultobj;
2703 wxPyTreeItemData * _result;
2704 PyObject * _arg0 = NULL;
2705 PyObject * _obj0 = 0;
2706 char _ptemp[128];
2707
2708 self = self;
2709 if(!PyArg_ParseTuple(args,"|O:new_wxTreeItemData",&_obj0))
2710 return NULL;
2711 if (_obj0)
2712 {
2713 _arg0 = _obj0;
2714 }
2715 {
2716 wxPy_BEGIN_ALLOW_THREADS;
2717 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
2718
2719 wxPy_END_ALLOW_THREADS;
2720 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
2721 _resultobj = Py_BuildValue("s",_ptemp);
2722 return _resultobj;
2723 }
2724
2725 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
2726 static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args) {
2727 PyObject * _resultobj;
2728 PyObject * _result;
2729 wxPyTreeItemData * _arg0;
2730 char * _argc0 = 0;
2731
2732 self = self;
2733 if(!PyArg_ParseTuple(args,"s:wxTreeItemData_GetData",&_argc0))
2734 return NULL;
2735 if (_argc0) {
2736 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
2737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
2738 return NULL;
2739 }
2740 }
2741 {
2742 wxPy_BEGIN_ALLOW_THREADS;
2743 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
2744
2745 wxPy_END_ALLOW_THREADS;
2746 }{
2747 _resultobj = _result;
2748 }
2749 return _resultobj;
2750 }
2751
2752 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2753 static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args) {
2754 PyObject * _resultobj;
2755 wxPyTreeItemData * _arg0;
2756 PyObject * _arg1;
2757 char * _argc0 = 0;
2758 PyObject * _obj1 = 0;
2759
2760 self = self;
2761 if(!PyArg_ParseTuple(args,"sO:wxTreeItemData_SetData",&_argc0,&_obj1))
2762 return NULL;
2763 if (_argc0) {
2764 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
2765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
2766 return NULL;
2767 }
2768 }
2769 {
2770 _arg1 = _obj1;
2771 }
2772 {
2773 wxPy_BEGIN_ALLOW_THREADS;
2774 wxTreeItemData_SetData(_arg0,_arg1);
2775
2776 wxPy_END_ALLOW_THREADS;
2777 } Py_INCREF(Py_None);
2778 _resultobj = Py_None;
2779 return _resultobj;
2780 }
2781
2782 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2783 static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args) {
2784 PyObject * _resultobj;
2785 wxTreeItemId * _result;
2786 wxPyTreeItemData * _arg0;
2787 char * _argc0 = 0;
2788 char _ptemp[128];
2789
2790 self = self;
2791 if(!PyArg_ParseTuple(args,"s:wxTreeItemData_GetId",&_argc0))
2792 return NULL;
2793 if (_argc0) {
2794 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
2795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
2796 return NULL;
2797 }
2798 }
2799 {
2800 wxPy_BEGIN_ALLOW_THREADS;
2801 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
2802 _result = (wxTreeItemId *) &_result_ref;
2803
2804 wxPy_END_ALLOW_THREADS;
2805 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
2806 _resultobj = Py_BuildValue("s",_ptemp);
2807 return _resultobj;
2808 }
2809
2810 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2811 static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args) {
2812 PyObject * _resultobj;
2813 wxPyTreeItemData * _arg0;
2814 wxTreeItemId * _arg1;
2815 char * _argc0 = 0;
2816 char * _argc1 = 0;
2817
2818 self = self;
2819 if(!PyArg_ParseTuple(args,"ss:wxTreeItemData_SetId",&_argc0,&_argc1))
2820 return NULL;
2821 if (_argc0) {
2822 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
2823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
2824 return NULL;
2825 }
2826 }
2827 if (_argc1) {
2828 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2829 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2830 return NULL;
2831 }
2832 }
2833 {
2834 wxPy_BEGIN_ALLOW_THREADS;
2835 wxTreeItemData_SetId(_arg0,*_arg1);
2836
2837 wxPy_END_ALLOW_THREADS;
2838 } Py_INCREF(Py_None);
2839 _resultobj = Py_None;
2840 return _resultobj;
2841 }
2842
2843 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
2844 wxTreeEvent *src;
2845 wxNotifyEvent *dest;
2846 src = (wxTreeEvent *) ptr;
2847 dest = (wxNotifyEvent *) src;
2848 return (void *) dest;
2849 }
2850
2851 static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
2852 wxTreeEvent *src;
2853 wxCommandEvent *dest;
2854 src = (wxTreeEvent *) ptr;
2855 dest = (wxCommandEvent *) src;
2856 return (void *) dest;
2857 }
2858
2859 static void *SwigwxTreeEventTowxEvent(void *ptr) {
2860 wxTreeEvent *src;
2861 wxEvent *dest;
2862 src = (wxTreeEvent *) ptr;
2863 dest = (wxEvent *) src;
2864 return (void *) dest;
2865 }
2866
2867 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2868 static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args) {
2869 PyObject * _resultobj;
2870 wxTreeItemId * _result;
2871 wxTreeEvent * _arg0;
2872 char * _argc0 = 0;
2873 char _ptemp[128];
2874
2875 self = self;
2876 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetItem",&_argc0))
2877 return NULL;
2878 if (_argc0) {
2879 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2881 return NULL;
2882 }
2883 }
2884 {
2885 wxPy_BEGIN_ALLOW_THREADS;
2886 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
2887
2888 wxPy_END_ALLOW_THREADS;
2889 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2890 _resultobj = Py_BuildValue("s",_ptemp);
2891 return _resultobj;
2892 }
2893
2894 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2895 static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args) {
2896 PyObject * _resultobj;
2897 wxTreeItemId * _result;
2898 wxTreeEvent * _arg0;
2899 char * _argc0 = 0;
2900 char _ptemp[128];
2901
2902 self = self;
2903 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetOldItem",&_argc0))
2904 return NULL;
2905 if (_argc0) {
2906 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2908 return NULL;
2909 }
2910 }
2911 {
2912 wxPy_BEGIN_ALLOW_THREADS;
2913 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
2914
2915 wxPy_END_ALLOW_THREADS;
2916 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2917 _resultobj = Py_BuildValue("s",_ptemp);
2918 return _resultobj;
2919 }
2920
2921 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2922 static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args) {
2923 PyObject * _resultobj;
2924 wxPoint * _result;
2925 wxTreeEvent * _arg0;
2926 char * _argc0 = 0;
2927 char _ptemp[128];
2928
2929 self = self;
2930 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetPoint",&_argc0))
2931 return NULL;
2932 if (_argc0) {
2933 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2935 return NULL;
2936 }
2937 }
2938 {
2939 wxPy_BEGIN_ALLOW_THREADS;
2940 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
2941
2942 wxPy_END_ALLOW_THREADS;
2943 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2944 _resultobj = Py_BuildValue("s",_ptemp);
2945 return _resultobj;
2946 }
2947
2948 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2949 static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args) {
2950 PyObject * _resultobj;
2951 int _result;
2952 wxTreeEvent * _arg0;
2953 char * _argc0 = 0;
2954
2955 self = self;
2956 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetCode",&_argc0))
2957 return NULL;
2958 if (_argc0) {
2959 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2961 return NULL;
2962 }
2963 }
2964 {
2965 wxPy_BEGIN_ALLOW_THREADS;
2966 _result = (int )wxTreeEvent_GetCode(_arg0);
2967
2968 wxPy_END_ALLOW_THREADS;
2969 } _resultobj = Py_BuildValue("i",_result);
2970 return _resultobj;
2971 }
2972
2973 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2974 static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args) {
2975 PyObject * _resultobj;
2976 wxString * _result;
2977 wxTreeEvent * _arg0;
2978 char * _argc0 = 0;
2979
2980 self = self;
2981 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetLabel",&_argc0))
2982 return NULL;
2983 if (_argc0) {
2984 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
2986 return NULL;
2987 }
2988 }
2989 {
2990 wxPy_BEGIN_ALLOW_THREADS;
2991 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
2992 _result = (wxString *) &_result_ref;
2993
2994 wxPy_END_ALLOW_THREADS;
2995 }{
2996 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
2997 }
2998 return _resultobj;
2999 }
3000
3001 static void *SwigwxTreeCtrlTowxControl(void *ptr) {
3002 wxTreeCtrl *src;
3003 wxControl *dest;
3004 src = (wxTreeCtrl *) ptr;
3005 dest = (wxControl *) src;
3006 return (void *) dest;
3007 }
3008
3009 static void *SwigwxTreeCtrlTowxWindow(void *ptr) {
3010 wxTreeCtrl *src;
3011 wxWindow *dest;
3012 src = (wxTreeCtrl *) ptr;
3013 dest = (wxWindow *) src;
3014 return (void *) dest;
3015 }
3016
3017 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) {
3018 wxTreeCtrl *src;
3019 wxEvtHandler *dest;
3020 src = (wxTreeCtrl *) ptr;
3021 dest = (wxEvtHandler *) src;
3022 return (void *) dest;
3023 }
3024
3025 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3026 static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args) {
3027 PyObject * _resultobj;
3028 wxTreeCtrl * _result;
3029 wxWindow * _arg0;
3030 wxWindowID _arg1 = -1;
3031 wxPoint * _arg2 = &wxPyDefaultPosition;
3032 wxSize * _arg3 = &wxPyDefaultSize;
3033 long _arg4 = (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
3034 wxValidator * _arg5 = &wxPyDefaultValidator;
3035 char * _arg6 = "wxTreeCtrl";
3036 char * _argc0 = 0;
3037 char * _argc2 = 0;
3038 char * _argc3 = 0;
3039 char * _argc5 = 0;
3040 char _ptemp[128];
3041
3042 self = self;
3043 if(!PyArg_ParseTuple(args,"s|isslss:new_wxTreeCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6))
3044 return NULL;
3045 if (_argc0) {
3046 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3048 return NULL;
3049 }
3050 }
3051 if (_argc2) {
3052 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3053 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3054 return NULL;
3055 }
3056 }
3057 if (_argc3) {
3058 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3059 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3060 return NULL;
3061 }
3062 }
3063 if (_argc5) {
3064 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) {
3065 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3066 return NULL;
3067 }
3068 }
3069 {
3070 wxPy_BEGIN_ALLOW_THREADS;
3071 _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
3072
3073 wxPy_END_ALLOW_THREADS;
3074 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
3075 _resultobj = Py_BuildValue("s",_ptemp);
3076 return _resultobj;
3077 }
3078
3079 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3080 static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args) {
3081 PyObject * _resultobj;
3082 size_t _result;
3083 wxTreeCtrl * _arg0;
3084 char * _argc0 = 0;
3085
3086 self = self;
3087 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetCount",&_argc0))
3088 return NULL;
3089 if (_argc0) {
3090 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3092 return NULL;
3093 }
3094 }
3095 {
3096 wxPy_BEGIN_ALLOW_THREADS;
3097 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
3098
3099 wxPy_END_ALLOW_THREADS;
3100 } _resultobj = Py_BuildValue("i",_result);
3101 return _resultobj;
3102 }
3103
3104 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3105 static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args) {
3106 PyObject * _resultobj;
3107 unsigned int _result;
3108 wxTreeCtrl * _arg0;
3109 char * _argc0 = 0;
3110
3111 self = self;
3112 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetIndent",&_argc0))
3113 return NULL;
3114 if (_argc0) {
3115 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3117 return NULL;
3118 }
3119 }
3120 {
3121 wxPy_BEGIN_ALLOW_THREADS;
3122 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
3123
3124 wxPy_END_ALLOW_THREADS;
3125 } _resultobj = Py_BuildValue("i",_result);
3126 return _resultobj;
3127 }
3128
3129 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3130 static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args) {
3131 PyObject * _resultobj;
3132 wxTreeCtrl * _arg0;
3133 unsigned int _arg1;
3134 char * _argc0 = 0;
3135
3136 self = self;
3137 if(!PyArg_ParseTuple(args,"si:wxTreeCtrl_SetIndent",&_argc0,&_arg1))
3138 return NULL;
3139 if (_argc0) {
3140 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3142 return NULL;
3143 }
3144 }
3145 {
3146 wxPy_BEGIN_ALLOW_THREADS;
3147 wxTreeCtrl_SetIndent(_arg0,_arg1);
3148
3149 wxPy_END_ALLOW_THREADS;
3150 } Py_INCREF(Py_None);
3151 _resultobj = Py_None;
3152 return _resultobj;
3153 }
3154
3155 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3156 static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args) {
3157 PyObject * _resultobj;
3158 wxImageList * _result;
3159 wxTreeCtrl * _arg0;
3160 char * _argc0 = 0;
3161 char _ptemp[128];
3162
3163 self = self;
3164 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetImageList",&_argc0))
3165 return NULL;
3166 if (_argc0) {
3167 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3169 return NULL;
3170 }
3171 }
3172 {
3173 wxPy_BEGIN_ALLOW_THREADS;
3174 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
3175
3176 wxPy_END_ALLOW_THREADS;
3177 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3178 _resultobj = Py_BuildValue("s",_ptemp);
3179 return _resultobj;
3180 }
3181
3182 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3183 static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args) {
3184 PyObject * _resultobj;
3185 wxImageList * _result;
3186 wxTreeCtrl * _arg0;
3187 char * _argc0 = 0;
3188 char _ptemp[128];
3189
3190 self = self;
3191 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetStateImageList",&_argc0))
3192 return NULL;
3193 if (_argc0) {
3194 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3196 return NULL;
3197 }
3198 }
3199 {
3200 wxPy_BEGIN_ALLOW_THREADS;
3201 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
3202
3203 wxPy_END_ALLOW_THREADS;
3204 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3205 _resultobj = Py_BuildValue("s",_ptemp);
3206 return _resultobj;
3207 }
3208
3209 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3210 static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args) {
3211 PyObject * _resultobj;
3212 wxTreeCtrl * _arg0;
3213 wxImageList * _arg1;
3214 char * _argc0 = 0;
3215 char * _argc1 = 0;
3216
3217 self = self;
3218 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetImageList",&_argc0,&_argc1))
3219 return NULL;
3220 if (_argc0) {
3221 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3223 return NULL;
3224 }
3225 }
3226 if (_argc1) {
3227 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
3228 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3229 return NULL;
3230 }
3231 }
3232 {
3233 wxPy_BEGIN_ALLOW_THREADS;
3234 wxTreeCtrl_SetImageList(_arg0,_arg1);
3235
3236 wxPy_END_ALLOW_THREADS;
3237 } Py_INCREF(Py_None);
3238 _resultobj = Py_None;
3239 return _resultobj;
3240 }
3241
3242 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3243 static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args) {
3244 PyObject * _resultobj;
3245 wxTreeCtrl * _arg0;
3246 wxImageList * _arg1;
3247 char * _argc0 = 0;
3248 char * _argc1 = 0;
3249
3250 self = self;
3251 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetStateImageList",&_argc0,&_argc1))
3252 return NULL;
3253 if (_argc0) {
3254 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3256 return NULL;
3257 }
3258 }
3259 if (_argc1) {
3260 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
3261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3262 return NULL;
3263 }
3264 }
3265 {
3266 wxPy_BEGIN_ALLOW_THREADS;
3267 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
3268
3269 wxPy_END_ALLOW_THREADS;
3270 } Py_INCREF(Py_None);
3271 _resultobj = Py_None;
3272 return _resultobj;
3273 }
3274
3275 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3276 static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args) {
3277 PyObject * _resultobj;
3278 wxString * _result;
3279 wxTreeCtrl * _arg0;
3280 wxTreeItemId * _arg1;
3281 char * _argc0 = 0;
3282 char * _argc1 = 0;
3283
3284 self = self;
3285 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemText",&_argc0,&_argc1))
3286 return NULL;
3287 if (_argc0) {
3288 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3290 return NULL;
3291 }
3292 }
3293 if (_argc1) {
3294 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3295 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3296 return NULL;
3297 }
3298 }
3299 {
3300 wxPy_BEGIN_ALLOW_THREADS;
3301 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
3302
3303 wxPy_END_ALLOW_THREADS;
3304 }{
3305 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3306 }
3307 {
3308 delete _result;
3309 }
3310 return _resultobj;
3311 }
3312
3313 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3314 static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args) {
3315 PyObject * _resultobj;
3316 int _result;
3317 wxTreeCtrl * _arg0;
3318 wxTreeItemId * _arg1;
3319 char * _argc0 = 0;
3320 char * _argc1 = 0;
3321
3322 self = self;
3323 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemImage",&_argc0,&_argc1))
3324 return NULL;
3325 if (_argc0) {
3326 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3328 return NULL;
3329 }
3330 }
3331 if (_argc1) {
3332 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3333 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3334 return NULL;
3335 }
3336 }
3337 {
3338 wxPy_BEGIN_ALLOW_THREADS;
3339 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1);
3340
3341 wxPy_END_ALLOW_THREADS;
3342 } _resultobj = Py_BuildValue("i",_result);
3343 return _resultobj;
3344 }
3345
3346 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3347 static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args) {
3348 PyObject * _resultobj;
3349 int _result;
3350 wxTreeCtrl * _arg0;
3351 wxTreeItemId * _arg1;
3352 char * _argc0 = 0;
3353 char * _argc1 = 0;
3354
3355 self = self;
3356 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0,&_argc1))
3357 return NULL;
3358 if (_argc0) {
3359 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3361 return NULL;
3362 }
3363 }
3364 if (_argc1) {
3365 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3366 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3367 return NULL;
3368 }
3369 }
3370 {
3371 wxPy_BEGIN_ALLOW_THREADS;
3372 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
3373
3374 wxPy_END_ALLOW_THREADS;
3375 } _resultobj = Py_BuildValue("i",_result);
3376 return _resultobj;
3377 }
3378
3379 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3380 static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args) {
3381 PyObject * _resultobj;
3382 wxTreeCtrl * _arg0;
3383 wxTreeItemId * _arg1;
3384 wxString * _arg2;
3385 char * _argc0 = 0;
3386 char * _argc1 = 0;
3387 PyObject * _obj2 = 0;
3388
3389 self = self;
3390 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_SetItemText",&_argc0,&_argc1,&_obj2))
3391 return NULL;
3392 if (_argc0) {
3393 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3395 return NULL;
3396 }
3397 }
3398 if (_argc1) {
3399 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3400 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3401 return NULL;
3402 }
3403 }
3404 {
3405 if (!PyString_Check(_obj2)) {
3406 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3407 return NULL;
3408 }
3409 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3410 }
3411 {
3412 wxPy_BEGIN_ALLOW_THREADS;
3413 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
3414
3415 wxPy_END_ALLOW_THREADS;
3416 } Py_INCREF(Py_None);
3417 _resultobj = Py_None;
3418 {
3419 if (_obj2)
3420 delete _arg2;
3421 }
3422 return _resultobj;
3423 }
3424
3425 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3426 static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args) {
3427 PyObject * _resultobj;
3428 wxTreeCtrl * _arg0;
3429 wxTreeItemId * _arg1;
3430 int _arg2;
3431 char * _argc0 = 0;
3432 char * _argc1 = 0;
3433
3434 self = self;
3435 if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemImage",&_argc0,&_argc1,&_arg2))
3436 return NULL;
3437 if (_argc0) {
3438 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3440 return NULL;
3441 }
3442 }
3443 if (_argc1) {
3444 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3445 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3446 return NULL;
3447 }
3448 }
3449 {
3450 wxPy_BEGIN_ALLOW_THREADS;
3451 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2);
3452
3453 wxPy_END_ALLOW_THREADS;
3454 } Py_INCREF(Py_None);
3455 _resultobj = Py_None;
3456 return _resultobj;
3457 }
3458
3459 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3460 static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args) {
3461 PyObject * _resultobj;
3462 wxTreeCtrl * _arg0;
3463 wxTreeItemId * _arg1;
3464 int _arg2;
3465 char * _argc0 = 0;
3466 char * _argc1 = 0;
3467
3468 self = self;
3469 if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0,&_argc1,&_arg2))
3470 return NULL;
3471 if (_argc0) {
3472 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3474 return NULL;
3475 }
3476 }
3477 if (_argc1) {
3478 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3479 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3480 return NULL;
3481 }
3482 }
3483 {
3484 wxPy_BEGIN_ALLOW_THREADS;
3485 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
3486
3487 wxPy_END_ALLOW_THREADS;
3488 } Py_INCREF(Py_None);
3489 _resultobj = Py_None;
3490 return _resultobj;
3491 }
3492
3493 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3494 static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args) {
3495 PyObject * _resultobj;
3496 wxTreeCtrl * _arg0;
3497 wxTreeItemId * _arg1;
3498 bool _arg2 = (1);
3499 char * _argc0 = 0;
3500 char * _argc1 = 0;
3501 int tempbool2;
3502
3503 self = self;
3504 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0,&_argc1,&tempbool2))
3505 return NULL;
3506 if (_argc0) {
3507 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3509 return NULL;
3510 }
3511 }
3512 if (_argc1) {
3513 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3514 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3515 return NULL;
3516 }
3517 }
3518 _arg2 = (bool ) tempbool2;
3519 {
3520 wxPy_BEGIN_ALLOW_THREADS;
3521 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
3522
3523 wxPy_END_ALLOW_THREADS;
3524 } Py_INCREF(Py_None);
3525 _resultobj = Py_None;
3526 return _resultobj;
3527 }
3528
3529 static wxPyTreeItemData * wxTreeCtrl_GetItemData(wxTreeCtrl *self,const wxTreeItemId & item) {
3530 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3531 if (data == NULL) {
3532 data = new wxPyTreeItemData();
3533 self->SetItemData(item, data);
3534 }
3535 return data;
3536 }
3537 static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args) {
3538 PyObject * _resultobj;
3539 wxPyTreeItemData * _result;
3540 wxTreeCtrl * _arg0;
3541 wxTreeItemId * _arg1;
3542 char * _argc0 = 0;
3543 char * _argc1 = 0;
3544 char _ptemp[128];
3545
3546 self = self;
3547 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemData",&_argc0,&_argc1))
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_GetItemData. 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_GetItemData. Expected _wxTreeItemId_p.");
3558 return NULL;
3559 }
3560 }
3561 {
3562 wxPy_BEGIN_ALLOW_THREADS;
3563 _result = (wxPyTreeItemData *)wxTreeCtrl_GetItemData(_arg0,*_arg1);
3564
3565 wxPy_END_ALLOW_THREADS;
3566 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
3567 _resultobj = Py_BuildValue("s",_ptemp);
3568 return _resultobj;
3569 }
3570
3571 static void wxTreeCtrl_SetItemData(wxTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
3572 self->SetItemData(item, data);
3573 }
3574 static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args) {
3575 PyObject * _resultobj;
3576 wxTreeCtrl * _arg0;
3577 wxTreeItemId * _arg1;
3578 wxPyTreeItemData * _arg2;
3579 char * _argc0 = 0;
3580 char * _argc1 = 0;
3581 char * _argc2 = 0;
3582
3583 self = self;
3584 if(!PyArg_ParseTuple(args,"sss:wxTreeCtrl_SetItemData",&_argc0,&_argc1,&_argc2))
3585 return NULL;
3586 if (_argc0) {
3587 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3589 return NULL;
3590 }
3591 }
3592 if (_argc1) {
3593 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3595 return NULL;
3596 }
3597 }
3598 if (_argc2) {
3599 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
3600 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3601 return NULL;
3602 }
3603 }
3604 {
3605 wxPy_BEGIN_ALLOW_THREADS;
3606 wxTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
3607
3608 wxPy_END_ALLOW_THREADS;
3609 } Py_INCREF(Py_None);
3610 _resultobj = Py_None;
3611 return _resultobj;
3612 }
3613
3614 static PyObject * wxTreeCtrl_GetPyData(wxTreeCtrl *self,const wxTreeItemId & item) {
3615 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3616 if (data == NULL) {
3617 data = new wxPyTreeItemData();
3618 self->SetItemData(item, data);
3619 }
3620 return data->GetData();
3621 }
3622 static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args) {
3623 PyObject * _resultobj;
3624 PyObject * _result;
3625 wxTreeCtrl * _arg0;
3626 wxTreeItemId * _arg1;
3627 char * _argc0 = 0;
3628 char * _argc1 = 0;
3629
3630 self = self;
3631 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPyData",&_argc0,&_argc1))
3632 return NULL;
3633 if (_argc0) {
3634 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
3636 return NULL;
3637 }
3638 }
3639 if (_argc1) {
3640 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
3642 return NULL;
3643 }
3644 }
3645 {
3646 wxPy_BEGIN_ALLOW_THREADS;
3647 _result = (PyObject *)wxTreeCtrl_GetPyData(_arg0,*_arg1);
3648
3649 wxPy_END_ALLOW_THREADS;
3650 }{
3651 _resultobj = _result;
3652 }
3653 return _resultobj;
3654 }
3655
3656 static void wxTreeCtrl_SetPyData(wxTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
3657 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3658 if (data == NULL) {
3659 data = new wxPyTreeItemData(obj);
3660 self->SetItemData(item, data);
3661 } else
3662 data->SetData(obj);
3663 }
3664 static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args) {
3665 PyObject * _resultobj;
3666 wxTreeCtrl * _arg0;
3667 wxTreeItemId * _arg1;
3668 PyObject * _arg2;
3669 char * _argc0 = 0;
3670 char * _argc1 = 0;
3671 PyObject * _obj2 = 0;
3672
3673 self = self;
3674 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_SetPyData",&_argc0,&_argc1,&_obj2))
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_SetPyData. 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_SetPyData. Expected _wxTreeItemId_p.");
3685 return NULL;
3686 }
3687 }
3688 {
3689 _arg2 = _obj2;
3690 }
3691 {
3692 wxPy_BEGIN_ALLOW_THREADS;
3693 wxTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
3694
3695 wxPy_END_ALLOW_THREADS;
3696 } Py_INCREF(Py_None);
3697 _resultobj = Py_None;
3698 return _resultobj;
3699 }
3700
3701 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3702 static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args) {
3703 PyObject * _resultobj;
3704 bool _result;
3705 wxTreeCtrl * _arg0;
3706 wxTreeItemId * _arg1;
3707 char * _argc0 = 0;
3708 char * _argc1 = 0;
3709
3710 self = self;
3711 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsVisible",&_argc0,&_argc1))
3712 return NULL;
3713 if (_argc0) {
3714 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3716 return NULL;
3717 }
3718 }
3719 if (_argc1) {
3720 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3721 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3722 return NULL;
3723 }
3724 }
3725 {
3726 wxPy_BEGIN_ALLOW_THREADS;
3727 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
3728
3729 wxPy_END_ALLOW_THREADS;
3730 } _resultobj = Py_BuildValue("i",_result);
3731 return _resultobj;
3732 }
3733
3734 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3735 static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args) {
3736 PyObject * _resultobj;
3737 bool _result;
3738 wxTreeCtrl * _arg0;
3739 wxTreeItemId * _arg1;
3740 char * _argc0 = 0;
3741 char * _argc1 = 0;
3742
3743 self = self;
3744 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ItemHasChildren",&_argc0,&_argc1))
3745 return NULL;
3746 if (_argc0) {
3747 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3749 return NULL;
3750 }
3751 }
3752 if (_argc1) {
3753 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3754 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3755 return NULL;
3756 }
3757 }
3758 {
3759 wxPy_BEGIN_ALLOW_THREADS;
3760 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
3761
3762 wxPy_END_ALLOW_THREADS;
3763 } _resultobj = Py_BuildValue("i",_result);
3764 return _resultobj;
3765 }
3766
3767 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3768 static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args) {
3769 PyObject * _resultobj;
3770 bool _result;
3771 wxTreeCtrl * _arg0;
3772 wxTreeItemId * _arg1;
3773 char * _argc0 = 0;
3774 char * _argc1 = 0;
3775
3776 self = self;
3777 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsExpanded",&_argc0,&_argc1))
3778 return NULL;
3779 if (_argc0) {
3780 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3782 return NULL;
3783 }
3784 }
3785 if (_argc1) {
3786 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3787 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3788 return NULL;
3789 }
3790 }
3791 {
3792 wxPy_BEGIN_ALLOW_THREADS;
3793 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
3794
3795 wxPy_END_ALLOW_THREADS;
3796 } _resultobj = Py_BuildValue("i",_result);
3797 return _resultobj;
3798 }
3799
3800 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3801 static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args) {
3802 PyObject * _resultobj;
3803 bool _result;
3804 wxTreeCtrl * _arg0;
3805 wxTreeItemId * _arg1;
3806 char * _argc0 = 0;
3807 char * _argc1 = 0;
3808
3809 self = self;
3810 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsSelected",&_argc0,&_argc1))
3811 return NULL;
3812 if (_argc0) {
3813 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3815 return NULL;
3816 }
3817 }
3818 if (_argc1) {
3819 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3820 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3821 return NULL;
3822 }
3823 }
3824 {
3825 wxPy_BEGIN_ALLOW_THREADS;
3826 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
3827
3828 wxPy_END_ALLOW_THREADS;
3829 } _resultobj = Py_BuildValue("i",_result);
3830 return _resultobj;
3831 }
3832
3833 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3834 static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args) {
3835 PyObject * _resultobj;
3836 wxTreeItemId * _result;
3837 wxTreeCtrl * _arg0;
3838 char * _argc0 = 0;
3839 char _ptemp[128];
3840
3841 self = self;
3842 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetRootItem",&_argc0))
3843 return NULL;
3844 if (_argc0) {
3845 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3847 return NULL;
3848 }
3849 }
3850 {
3851 wxPy_BEGIN_ALLOW_THREADS;
3852 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
3853
3854 wxPy_END_ALLOW_THREADS;
3855 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3856 _resultobj = Py_BuildValue("s",_ptemp);
3857 return _resultobj;
3858 }
3859
3860 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3861 static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args) {
3862 PyObject * _resultobj;
3863 wxTreeItemId * _result;
3864 wxTreeCtrl * _arg0;
3865 char * _argc0 = 0;
3866 char _ptemp[128];
3867
3868 self = self;
3869 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetSelection",&_argc0))
3870 return NULL;
3871 if (_argc0) {
3872 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3874 return NULL;
3875 }
3876 }
3877 {
3878 wxPy_BEGIN_ALLOW_THREADS;
3879 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
3880
3881 wxPy_END_ALLOW_THREADS;
3882 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3883 _resultobj = Py_BuildValue("s",_ptemp);
3884 return _resultobj;
3885 }
3886
3887 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3888 static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args) {
3889 PyObject * _resultobj;
3890 wxTreeItemId * _result;
3891 wxTreeCtrl * _arg0;
3892 wxTreeItemId * _arg1;
3893 char * _argc0 = 0;
3894 char * _argc1 = 0;
3895 char _ptemp[128];
3896
3897 self = self;
3898 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetParent",&_argc0,&_argc1))
3899 return NULL;
3900 if (_argc0) {
3901 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3903 return NULL;
3904 }
3905 }
3906 if (_argc1) {
3907 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3908 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3909 return NULL;
3910 }
3911 }
3912 {
3913 wxPy_BEGIN_ALLOW_THREADS;
3914 _result = new wxTreeItemId (wxTreeCtrl_GetParent(_arg0,*_arg1));
3915
3916 wxPy_END_ALLOW_THREADS;
3917 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3918 _resultobj = Py_BuildValue("s",_ptemp);
3919 return _resultobj;
3920 }
3921
3922 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
3923 static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args) {
3924 PyObject * _resultobj;
3925 size_t _result;
3926 wxTreeCtrl * _arg0;
3927 wxTreeItemId * _arg1;
3928 bool _arg2 = (1);
3929 char * _argc0 = 0;
3930 char * _argc1 = 0;
3931 int tempbool2;
3932
3933 self = self;
3934 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_GetChildrenCount",&_argc0,&_argc1,&tempbool2))
3935 return NULL;
3936 if (_argc0) {
3937 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
3939 return NULL;
3940 }
3941 }
3942 if (_argc1) {
3943 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3944 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
3945 return NULL;
3946 }
3947 }
3948 _arg2 = (bool ) tempbool2;
3949 {
3950 wxPy_BEGIN_ALLOW_THREADS;
3951 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
3952
3953 wxPy_END_ALLOW_THREADS;
3954 } _resultobj = Py_BuildValue("i",_result);
3955 return _resultobj;
3956 }
3957
3958 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3959 static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args) {
3960 PyObject * _resultobj;
3961 wxTreeItemId * _result;
3962 wxTreeCtrl * _arg0;
3963 wxTreeItemId * _arg1;
3964 long * _arg2;
3965 char * _argc0 = 0;
3966 char * _argc1 = 0;
3967 long temp;
3968 PyObject * _obj2 = 0;
3969 char _ptemp[128];
3970
3971 self = self;
3972 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetFirstChild",&_argc0,&_argc1,&_obj2))
3973 return NULL;
3974 if (_argc0) {
3975 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3977 return NULL;
3978 }
3979 }
3980 if (_argc1) {
3981 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3982 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3983 return NULL;
3984 }
3985 }
3986 {
3987 temp = (long) PyInt_AsLong(_obj2);
3988 _arg2 = &temp;
3989 }
3990 {
3991 wxPy_BEGIN_ALLOW_THREADS;
3992 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
3993
3994 wxPy_END_ALLOW_THREADS;
3995 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3996 _resultobj = Py_BuildValue("s",_ptemp);
3997 {
3998 PyObject *o;
3999 o = PyInt_FromLong((long) (*_arg2));
4000 _resultobj = t_output_helper(_resultobj, o);
4001 }
4002 return _resultobj;
4003 }
4004
4005 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4006 static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args) {
4007 PyObject * _resultobj;
4008 wxTreeItemId * _result;
4009 wxTreeCtrl * _arg0;
4010 wxTreeItemId * _arg1;
4011 long * _arg2;
4012 char * _argc0 = 0;
4013 char * _argc1 = 0;
4014 long temp;
4015 PyObject * _obj2 = 0;
4016 char _ptemp[128];
4017
4018 self = self;
4019 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetNextChild",&_argc0,&_argc1,&_obj2))
4020 return NULL;
4021 if (_argc0) {
4022 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4024 return NULL;
4025 }
4026 }
4027 if (_argc1) {
4028 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4029 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4030 return NULL;
4031 }
4032 }
4033 {
4034 temp = (long) PyInt_AsLong(_obj2);
4035 _arg2 = &temp;
4036 }
4037 {
4038 wxPy_BEGIN_ALLOW_THREADS;
4039 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
4040
4041 wxPy_END_ALLOW_THREADS;
4042 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4043 _resultobj = Py_BuildValue("s",_ptemp);
4044 {
4045 PyObject *o;
4046 o = PyInt_FromLong((long) (*_arg2));
4047 _resultobj = t_output_helper(_resultobj, o);
4048 }
4049 return _resultobj;
4050 }
4051
4052 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4053 static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args) {
4054 PyObject * _resultobj;
4055 wxTreeItemId * _result;
4056 wxTreeCtrl * _arg0;
4057 wxTreeItemId * _arg1;
4058 char * _argc0 = 0;
4059 char * _argc1 = 0;
4060 char _ptemp[128];
4061
4062 self = self;
4063 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextSibling",&_argc0,&_argc1))
4064 return NULL;
4065 if (_argc0) {
4066 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4068 return NULL;
4069 }
4070 }
4071 if (_argc1) {
4072 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4073 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4074 return NULL;
4075 }
4076 }
4077 {
4078 wxPy_BEGIN_ALLOW_THREADS;
4079 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
4080
4081 wxPy_END_ALLOW_THREADS;
4082 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4083 _resultobj = Py_BuildValue("s",_ptemp);
4084 return _resultobj;
4085 }
4086
4087 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4088 static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args) {
4089 PyObject * _resultobj;
4090 wxTreeItemId * _result;
4091 wxTreeCtrl * _arg0;
4092 wxTreeItemId * _arg1;
4093 char * _argc0 = 0;
4094 char * _argc1 = 0;
4095 char _ptemp[128];
4096
4097 self = self;
4098 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevSibling",&_argc0,&_argc1))
4099 return NULL;
4100 if (_argc0) {
4101 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4103 return NULL;
4104 }
4105 }
4106 if (_argc1) {
4107 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4108 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4109 return NULL;
4110 }
4111 }
4112 {
4113 wxPy_BEGIN_ALLOW_THREADS;
4114 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
4115
4116 wxPy_END_ALLOW_THREADS;
4117 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4118 _resultobj = Py_BuildValue("s",_ptemp);
4119 return _resultobj;
4120 }
4121
4122 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4123 static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args) {
4124 PyObject * _resultobj;
4125 wxTreeItemId * _result;
4126 wxTreeCtrl * _arg0;
4127 char * _argc0 = 0;
4128 char _ptemp[128];
4129
4130 self = self;
4131 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0))
4132 return NULL;
4133 if (_argc0) {
4134 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4136 return NULL;
4137 }
4138 }
4139 {
4140 wxPy_BEGIN_ALLOW_THREADS;
4141 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
4142
4143 wxPy_END_ALLOW_THREADS;
4144 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4145 _resultobj = Py_BuildValue("s",_ptemp);
4146 return _resultobj;
4147 }
4148
4149 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4150 static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args) {
4151 PyObject * _resultobj;
4152 wxTreeItemId * _result;
4153 wxTreeCtrl * _arg0;
4154 wxTreeItemId * _arg1;
4155 char * _argc0 = 0;
4156 char * _argc1 = 0;
4157 char _ptemp[128];
4158
4159 self = self;
4160 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextVisible",&_argc0,&_argc1))
4161 return NULL;
4162 if (_argc0) {
4163 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4165 return NULL;
4166 }
4167 }
4168 if (_argc1) {
4169 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4170 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4171 return NULL;
4172 }
4173 }
4174 {
4175 wxPy_BEGIN_ALLOW_THREADS;
4176 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
4177
4178 wxPy_END_ALLOW_THREADS;
4179 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4180 _resultobj = Py_BuildValue("s",_ptemp);
4181 return _resultobj;
4182 }
4183
4184 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4185 static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args) {
4186 PyObject * _resultobj;
4187 wxTreeItemId * _result;
4188 wxTreeCtrl * _arg0;
4189 wxTreeItemId * _arg1;
4190 char * _argc0 = 0;
4191 char * _argc1 = 0;
4192 char _ptemp[128];
4193
4194 self = self;
4195 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevVisible",&_argc0,&_argc1))
4196 return NULL;
4197 if (_argc0) {
4198 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4200 return NULL;
4201 }
4202 }
4203 if (_argc1) {
4204 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4205 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4206 return NULL;
4207 }
4208 }
4209 {
4210 wxPy_BEGIN_ALLOW_THREADS;
4211 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
4212
4213 wxPy_END_ALLOW_THREADS;
4214 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4215 _resultobj = Py_BuildValue("s",_ptemp);
4216 return _resultobj;
4217 }
4218
4219 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4220 static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args) {
4221 PyObject * _resultobj;
4222 wxTreeItemId * _result;
4223 wxTreeCtrl * _arg0;
4224 wxString * _arg1;
4225 int _arg2 = -1;
4226 int _arg3 = -1;
4227 wxPyTreeItemData * _arg4 = NULL;
4228 char * _argc0 = 0;
4229 PyObject * _obj1 = 0;
4230 char * _argc4 = 0;
4231 char _ptemp[128];
4232
4233 self = self;
4234 if(!PyArg_ParseTuple(args,"sO|iis:wxTreeCtrl_AddRoot",&_argc0,&_obj1,&_arg2,&_arg3,&_argc4))
4235 return NULL;
4236 if (_argc0) {
4237 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4239 return NULL;
4240 }
4241 }
4242 {
4243 if (!PyString_Check(_obj1)) {
4244 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4245 return NULL;
4246 }
4247 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4248 }
4249 if (_argc4) {
4250 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
4251 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4252 return NULL;
4253 }
4254 }
4255 {
4256 wxPy_BEGIN_ALLOW_THREADS;
4257 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
4258
4259 wxPy_END_ALLOW_THREADS;
4260 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4261 _resultobj = Py_BuildValue("s",_ptemp);
4262 {
4263 if (_obj1)
4264 delete _arg1;
4265 }
4266 return _resultobj;
4267 }
4268
4269 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4270 static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args) {
4271 PyObject * _resultobj;
4272 wxTreeItemId * _result;
4273 wxTreeCtrl * _arg0;
4274 wxTreeItemId * _arg1;
4275 wxString * _arg2;
4276 int _arg3 = -1;
4277 int _arg4 = -1;
4278 wxPyTreeItemData * _arg5 = NULL;
4279 char * _argc0 = 0;
4280 char * _argc1 = 0;
4281 PyObject * _obj2 = 0;
4282 char * _argc5 = 0;
4283 char _ptemp[128];
4284
4285 self = self;
4286 if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5))
4287 return NULL;
4288 if (_argc0) {
4289 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4291 return NULL;
4292 }
4293 }
4294 if (_argc1) {
4295 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4296 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4297 return NULL;
4298 }
4299 }
4300 {
4301 if (!PyString_Check(_obj2)) {
4302 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4303 return NULL;
4304 }
4305 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4306 }
4307 if (_argc5) {
4308 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
4309 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4310 return NULL;
4311 }
4312 }
4313 {
4314 wxPy_BEGIN_ALLOW_THREADS;
4315 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
4316
4317 wxPy_END_ALLOW_THREADS;
4318 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4319 _resultobj = Py_BuildValue("s",_ptemp);
4320 {
4321 if (_obj2)
4322 delete _arg2;
4323 }
4324 return _resultobj;
4325 }
4326
4327 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4328 static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args) {
4329 PyObject * _resultobj;
4330 wxTreeItemId * _result;
4331 wxTreeCtrl * _arg0;
4332 wxTreeItemId * _arg1;
4333 wxTreeItemId * _arg2;
4334 wxString * _arg3;
4335 int _arg4 = -1;
4336 int _arg5 = -1;
4337 wxPyTreeItemData * _arg6 = NULL;
4338 char * _argc0 = 0;
4339 char * _argc1 = 0;
4340 char * _argc2 = 0;
4341 PyObject * _obj3 = 0;
4342 char * _argc6 = 0;
4343 char _ptemp[128];
4344
4345 self = self;
4346 if(!PyArg_ParseTuple(args,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0,&_argc1,&_argc2,&_obj3,&_arg4,&_arg5,&_argc6))
4347 return NULL;
4348 if (_argc0) {
4349 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4351 return NULL;
4352 }
4353 }
4354 if (_argc1) {
4355 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4356 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4357 return NULL;
4358 }
4359 }
4360 if (_argc2) {
4361 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItemId_p")) {
4362 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4363 return NULL;
4364 }
4365 }
4366 {
4367 if (!PyString_Check(_obj3)) {
4368 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4369 return NULL;
4370 }
4371 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4372 }
4373 if (_argc6) {
4374 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
4375 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4376 return NULL;
4377 }
4378 }
4379 {
4380 wxPy_BEGIN_ALLOW_THREADS;
4381 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
4382
4383 wxPy_END_ALLOW_THREADS;
4384 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4385 _resultobj = Py_BuildValue("s",_ptemp);
4386 {
4387 if (_obj3)
4388 delete _arg3;
4389 }
4390 return _resultobj;
4391 }
4392
4393 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4394 static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args) {
4395 PyObject * _resultobj;
4396 wxTreeItemId * _result;
4397 wxTreeCtrl * _arg0;
4398 wxTreeItemId * _arg1;
4399 wxString * _arg2;
4400 int _arg3 = -1;
4401 int _arg4 = -1;
4402 wxPyTreeItemData * _arg5 = NULL;
4403 char * _argc0 = 0;
4404 char * _argc1 = 0;
4405 PyObject * _obj2 = 0;
4406 char * _argc5 = 0;
4407 char _ptemp[128];
4408
4409 self = self;
4410 if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5))
4411 return NULL;
4412 if (_argc0) {
4413 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4415 return NULL;
4416 }
4417 }
4418 if (_argc1) {
4419 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4420 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4421 return NULL;
4422 }
4423 }
4424 {
4425 if (!PyString_Check(_obj2)) {
4426 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4427 return NULL;
4428 }
4429 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4430 }
4431 if (_argc5) {
4432 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
4433 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4434 return NULL;
4435 }
4436 }
4437 {
4438 wxPy_BEGIN_ALLOW_THREADS;
4439 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
4440
4441 wxPy_END_ALLOW_THREADS;
4442 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4443 _resultobj = Py_BuildValue("s",_ptemp);
4444 {
4445 if (_obj2)
4446 delete _arg2;
4447 }
4448 return _resultobj;
4449 }
4450
4451 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4452 static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args) {
4453 PyObject * _resultobj;
4454 wxTreeCtrl * _arg0;
4455 wxTreeItemId * _arg1;
4456 char * _argc0 = 0;
4457 char * _argc1 = 0;
4458
4459 self = self;
4460 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Delete",&_argc0,&_argc1))
4461 return NULL;
4462 if (_argc0) {
4463 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4465 return NULL;
4466 }
4467 }
4468 if (_argc1) {
4469 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4470 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
4471 return NULL;
4472 }
4473 }
4474 {
4475 wxPy_BEGIN_ALLOW_THREADS;
4476 wxTreeCtrl_Delete(_arg0,*_arg1);
4477
4478 wxPy_END_ALLOW_THREADS;
4479 } Py_INCREF(Py_None);
4480 _resultobj = Py_None;
4481 return _resultobj;
4482 }
4483
4484 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
4485 static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args) {
4486 PyObject * _resultobj;
4487 wxTreeCtrl * _arg0;
4488 wxTreeItemId * _arg1;
4489 char * _argc0 = 0;
4490 char * _argc1 = 0;
4491
4492 self = self;
4493 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_DeleteChildren",&_argc0,&_argc1))
4494 return NULL;
4495 if (_argc0) {
4496 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
4498 return NULL;
4499 }
4500 }
4501 if (_argc1) {
4502 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4503 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
4504 return NULL;
4505 }
4506 }
4507 {
4508 wxPy_BEGIN_ALLOW_THREADS;
4509 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
4510
4511 wxPy_END_ALLOW_THREADS;
4512 } Py_INCREF(Py_None);
4513 _resultobj = Py_None;
4514 return _resultobj;
4515 }
4516
4517 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4518 static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args) {
4519 PyObject * _resultobj;
4520 wxTreeCtrl * _arg0;
4521 char * _argc0 = 0;
4522
4523 self = self;
4524 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_DeleteAllItems",&_argc0))
4525 return NULL;
4526 if (_argc0) {
4527 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
4529 return NULL;
4530 }
4531 }
4532 {
4533 wxPy_BEGIN_ALLOW_THREADS;
4534 wxTreeCtrl_DeleteAllItems(_arg0);
4535
4536 wxPy_END_ALLOW_THREADS;
4537 } Py_INCREF(Py_None);
4538 _resultobj = Py_None;
4539 return _resultobj;
4540 }
4541
4542 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
4543 static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args) {
4544 PyObject * _resultobj;
4545 wxTreeCtrl * _arg0;
4546 wxTreeItemId * _arg1;
4547 char * _argc0 = 0;
4548 char * _argc1 = 0;
4549
4550 self = self;
4551 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Expand",&_argc0,&_argc1))
4552 return NULL;
4553 if (_argc0) {
4554 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
4556 return NULL;
4557 }
4558 }
4559 if (_argc1) {
4560 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4561 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
4562 return NULL;
4563 }
4564 }
4565 {
4566 wxPy_BEGIN_ALLOW_THREADS;
4567 wxTreeCtrl_Expand(_arg0,*_arg1);
4568
4569 wxPy_END_ALLOW_THREADS;
4570 } Py_INCREF(Py_None);
4571 _resultobj = Py_None;
4572 return _resultobj;
4573 }
4574
4575 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
4576 static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args) {
4577 PyObject * _resultobj;
4578 wxTreeCtrl * _arg0;
4579 wxTreeItemId * _arg1;
4580 char * _argc0 = 0;
4581 char * _argc1 = 0;
4582
4583 self = self;
4584 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Collapse",&_argc0,&_argc1))
4585 return NULL;
4586 if (_argc0) {
4587 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
4589 return NULL;
4590 }
4591 }
4592 if (_argc1) {
4593 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
4595 return NULL;
4596 }
4597 }
4598 {
4599 wxPy_BEGIN_ALLOW_THREADS;
4600 wxTreeCtrl_Collapse(_arg0,*_arg1);
4601
4602 wxPy_END_ALLOW_THREADS;
4603 } Py_INCREF(Py_None);
4604 _resultobj = Py_None;
4605 return _resultobj;
4606 }
4607
4608 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
4609 static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args) {
4610 PyObject * _resultobj;
4611 wxTreeCtrl * _arg0;
4612 wxTreeItemId * _arg1;
4613 char * _argc0 = 0;
4614 char * _argc1 = 0;
4615
4616 self = self;
4617 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_CollapseAndReset",&_argc0,&_argc1))
4618 return NULL;
4619 if (_argc0) {
4620 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
4622 return NULL;
4623 }
4624 }
4625 if (_argc1) {
4626 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4627 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
4628 return NULL;
4629 }
4630 }
4631 {
4632 wxPy_BEGIN_ALLOW_THREADS;
4633 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
4634
4635 wxPy_END_ALLOW_THREADS;
4636 } Py_INCREF(Py_None);
4637 _resultobj = Py_None;
4638 return _resultobj;
4639 }
4640
4641 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
4642 static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args) {
4643 PyObject * _resultobj;
4644 wxTreeCtrl * _arg0;
4645 wxTreeItemId * _arg1;
4646 char * _argc0 = 0;
4647 char * _argc1 = 0;
4648
4649 self = self;
4650 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Toggle",&_argc0,&_argc1))
4651 return NULL;
4652 if (_argc0) {
4653 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
4655 return NULL;
4656 }
4657 }
4658 if (_argc1) {
4659 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4660 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
4661 return NULL;
4662 }
4663 }
4664 {
4665 wxPy_BEGIN_ALLOW_THREADS;
4666 wxTreeCtrl_Toggle(_arg0,*_arg1);
4667
4668 wxPy_END_ALLOW_THREADS;
4669 } Py_INCREF(Py_None);
4670 _resultobj = Py_None;
4671 return _resultobj;
4672 }
4673
4674 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
4675 static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args) {
4676 PyObject * _resultobj;
4677 wxTreeCtrl * _arg0;
4678 char * _argc0 = 0;
4679
4680 self = self;
4681 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_Unselect",&_argc0))
4682 return NULL;
4683 if (_argc0) {
4684 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
4686 return NULL;
4687 }
4688 }
4689 {
4690 wxPy_BEGIN_ALLOW_THREADS;
4691 wxTreeCtrl_Unselect(_arg0);
4692
4693 wxPy_END_ALLOW_THREADS;
4694 } Py_INCREF(Py_None);
4695 _resultobj = Py_None;
4696 return _resultobj;
4697 }
4698
4699 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
4700 static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args) {
4701 PyObject * _resultobj;
4702 wxTreeCtrl * _arg0;
4703 char * _argc0 = 0;
4704
4705 self = self;
4706 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_UnselectAll",&_argc0))
4707 return NULL;
4708 if (_argc0) {
4709 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
4711 return NULL;
4712 }
4713 }
4714 {
4715 wxPy_BEGIN_ALLOW_THREADS;
4716 wxTreeCtrl_UnselectAll(_arg0);
4717
4718 wxPy_END_ALLOW_THREADS;
4719 } Py_INCREF(Py_None);
4720 _resultobj = Py_None;
4721 return _resultobj;
4722 }
4723
4724 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
4725 static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args) {
4726 PyObject * _resultobj;
4727 wxTreeCtrl * _arg0;
4728 wxTreeItemId * _arg1;
4729 char * _argc0 = 0;
4730 char * _argc1 = 0;
4731
4732 self = self;
4733 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SelectItem",&_argc0,&_argc1))
4734 return NULL;
4735 if (_argc0) {
4736 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
4738 return NULL;
4739 }
4740 }
4741 if (_argc1) {
4742 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4743 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
4744 return NULL;
4745 }
4746 }
4747 {
4748 wxPy_BEGIN_ALLOW_THREADS;
4749 wxTreeCtrl_SelectItem(_arg0,*_arg1);
4750
4751 wxPy_END_ALLOW_THREADS;
4752 } Py_INCREF(Py_None);
4753 _resultobj = Py_None;
4754 return _resultobj;
4755 }
4756
4757 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4758 static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args) {
4759 PyObject * _resultobj;
4760 wxTreeCtrl * _arg0;
4761 wxTreeItemId * _arg1;
4762 char * _argc0 = 0;
4763 char * _argc1 = 0;
4764
4765 self = self;
4766 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EnsureVisible",&_argc0,&_argc1))
4767 return NULL;
4768 if (_argc0) {
4769 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
4771 return NULL;
4772 }
4773 }
4774 if (_argc1) {
4775 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4776 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
4777 return NULL;
4778 }
4779 }
4780 {
4781 wxPy_BEGIN_ALLOW_THREADS;
4782 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
4783
4784 wxPy_END_ALLOW_THREADS;
4785 } Py_INCREF(Py_None);
4786 _resultobj = Py_None;
4787 return _resultobj;
4788 }
4789
4790 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
4791 static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args) {
4792 PyObject * _resultobj;
4793 wxTreeCtrl * _arg0;
4794 wxTreeItemId * _arg1;
4795 char * _argc0 = 0;
4796 char * _argc1 = 0;
4797
4798 self = self;
4799 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ScrollTo",&_argc0,&_argc1))
4800 return NULL;
4801 if (_argc0) {
4802 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
4804 return NULL;
4805 }
4806 }
4807 if (_argc1) {
4808 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4809 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
4810 return NULL;
4811 }
4812 }
4813 {
4814 wxPy_BEGIN_ALLOW_THREADS;
4815 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
4816
4817 wxPy_END_ALLOW_THREADS;
4818 } Py_INCREF(Py_None);
4819 _resultobj = Py_None;
4820 return _resultobj;
4821 }
4822
4823 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4824 static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args) {
4825 PyObject * _resultobj;
4826 wxTreeCtrl * _arg0;
4827 wxTreeItemId * _arg1;
4828 char * _argc0 = 0;
4829 char * _argc1 = 0;
4830
4831 self = self;
4832 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EditLabel",&_argc0,&_argc1))
4833 return NULL;
4834 if (_argc0) {
4835 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4837 return NULL;
4838 }
4839 }
4840 if (_argc1) {
4841 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4842 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4843 return NULL;
4844 }
4845 }
4846 {
4847 wxPy_BEGIN_ALLOW_THREADS;
4848 wxTreeCtrl_EditLabel(_arg0,*_arg1);
4849
4850 wxPy_END_ALLOW_THREADS;
4851 } Py_INCREF(Py_None);
4852 _resultobj = Py_None;
4853 return _resultobj;
4854 }
4855
4856 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4857 static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args) {
4858 PyObject * _resultobj;
4859 wxTreeCtrl * _arg0;
4860 wxTreeItemId * _arg1;
4861 bool _arg2 = (1);
4862 char * _argc0 = 0;
4863 char * _argc1 = 0;
4864 int tempbool2;
4865
4866 self = self;
4867 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetItemBold",&_argc0,&_argc1,&tempbool2))
4868 return NULL;
4869 if (_argc0) {
4870 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4872 return NULL;
4873 }
4874 }
4875 if (_argc1) {
4876 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4877 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4878 return NULL;
4879 }
4880 }
4881 _arg2 = (bool ) tempbool2;
4882 {
4883 wxPy_BEGIN_ALLOW_THREADS;
4884 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
4885
4886 wxPy_END_ALLOW_THREADS;
4887 } Py_INCREF(Py_None);
4888 _resultobj = Py_None;
4889 return _resultobj;
4890 }
4891
4892 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4893 static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args) {
4894 PyObject * _resultobj;
4895 bool _result;
4896 wxTreeCtrl * _arg0;
4897 wxTreeItemId * _arg1;
4898 char * _argc0 = 0;
4899 char * _argc1 = 0;
4900
4901 self = self;
4902 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsBold",&_argc0,&_argc1))
4903 return NULL;
4904 if (_argc0) {
4905 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4907 return NULL;
4908 }
4909 }
4910 if (_argc1) {
4911 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4912 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4913 return NULL;
4914 }
4915 }
4916 {
4917 wxPy_BEGIN_ALLOW_THREADS;
4918 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
4919
4920 wxPy_END_ALLOW_THREADS;
4921 } _resultobj = Py_BuildValue("i",_result);
4922 return _resultobj;
4923 }
4924
4925 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4926 static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args) {
4927 PyObject * _resultobj;
4928 wxTreeItemId * _result;
4929 wxTreeCtrl * _arg0;
4930 wxPoint * _arg1;
4931 char * _argc0 = 0;
4932 char * _argc1 = 0;
4933 char _ptemp[128];
4934
4935 self = self;
4936 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_HitTest",&_argc0,&_argc1))
4937 return NULL;
4938 if (_argc0) {
4939 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4941 return NULL;
4942 }
4943 }
4944 if (_argc1) {
4945 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
4946 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4947 return NULL;
4948 }
4949 }
4950 {
4951 wxPy_BEGIN_ALLOW_THREADS;
4952 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1));
4953
4954 wxPy_END_ALLOW_THREADS;
4955 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4956 _resultobj = Py_BuildValue("s",_ptemp);
4957 return _resultobj;
4958 }
4959
4960 static PyMethodDef controls2cMethods[] = {
4961 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest, 1 },
4962 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold, 1 },
4963 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold, 1 },
4964 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel, 1 },
4965 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo, 1 },
4966 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible, 1 },
4967 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem, 1 },
4968 { "wxTreeCtrl_UnselectAll", _wrap_wxTreeCtrl_UnselectAll, 1 },
4969 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect, 1 },
4970 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle, 1 },
4971 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset, 1 },
4972 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse, 1 },
4973 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand, 1 },
4974 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems, 1 },
4975 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren, 1 },
4976 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete, 1 },
4977 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem, 1 },
4978 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem, 1 },
4979 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem, 1 },
4980 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot, 1 },
4981 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible, 1 },
4982 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible, 1 },
4983 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem, 1 },
4984 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling, 1 },
4985 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling, 1 },
4986 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild, 1 },
4987 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild, 1 },
4988 { "wxTreeCtrl_GetChildrenCount", _wrap_wxTreeCtrl_GetChildrenCount, 1 },
4989 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent, 1 },
4990 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection, 1 },
4991 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem, 1 },
4992 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected, 1 },
4993 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded, 1 },
4994 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren, 1 },
4995 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible, 1 },
4996 { "wxTreeCtrl_SetPyData", _wrap_wxTreeCtrl_SetPyData, 1 },
4997 { "wxTreeCtrl_GetPyData", _wrap_wxTreeCtrl_GetPyData, 1 },
4998 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData, 1 },
4999 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData, 1 },
5000 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren, 1 },
5001 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage, 1 },
5002 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage, 1 },
5003 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText, 1 },
5004 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage, 1 },
5005 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage, 1 },
5006 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText, 1 },
5007 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList, 1 },
5008 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList, 1 },
5009 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList, 1 },
5010 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList, 1 },
5011 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent, 1 },
5012 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent, 1 },
5013 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount, 1 },
5014 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl, 1 },
5015 { "wxTreeEvent_GetLabel", _wrap_wxTreeEvent_GetLabel, 1 },
5016 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode, 1 },
5017 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint, 1 },
5018 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem, 1 },
5019 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem, 1 },
5020 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId, 1 },
5021 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId, 1 },
5022 { "wxTreeItemData_SetData", _wrap_wxTreeItemData_SetData, 1 },
5023 { "wxTreeItemData_GetData", _wrap_wxTreeItemData_GetData, 1 },
5024 { "new_wxTreeItemData", _wrap_new_wxTreeItemData, 1 },
5025 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk, 1 },
5026 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId, 1 },
5027 { "new_wxTreeItemId", _wrap_new_wxTreeItemId, 1 },
5028 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag, 1 },
5029 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle, 1 },
5030 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText, 1 },
5031 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState, 1 },
5032 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition, 1 },
5033 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage, 1 },
5034 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData, 1 },
5035 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem, 1 },
5036 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem, 1 },
5037 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList, 1 },
5038 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth, 1 },
5039 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn, 1 },
5040 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour, 1 },
5041 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList, 1 },
5042 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem, 1 },
5043 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem, 1 },
5044 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem, 1 },
5045 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem, 1 },
5046 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn, 1 },
5047 { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith, 1 },
5048 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest, 1 },
5049 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem, 1 },
5050 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount, 1 },
5051 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem, 1 },
5052 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText, 1 },
5053 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing, 1 },
5054 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount, 1 },
5055 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState, 1 },
5056 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect, 1 },
5057 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition, 1 },
5058 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem, 1 },
5059 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData, 1 },
5060 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList, 1 },
5061 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage, 1 },
5062 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth, 1 },
5063 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn, 1 },
5064 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos, 1 },
5065 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData, 1 },
5066 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem, 1 },
5067 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible, 1 },
5068 { "wxListCtrl_EditLabel", _wrap_wxListCtrl_EditLabel, 1 },
5069 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll, 1 },
5070 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns, 1 },
5071 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn, 1 },
5072 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems, 1 },
5073 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem, 1 },
5074 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange, 1 },
5075 { "new_wxListCtrl", _wrap_new_wxListCtrl, 1 },
5076 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get, 1 },
5077 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set, 1 },
5078 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get, 1 },
5079 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set, 1 },
5080 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get, 1 },
5081 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set, 1 },
5082 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get, 1 },
5083 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set, 1 },
5084 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get, 1 },
5085 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set, 1 },
5086 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get, 1 },
5087 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set, 1 },
5088 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get, 1 },
5089 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set, 1 },
5090 { "delete_wxListItem", _wrap_delete_wxListItem, 1 },
5091 { "new_wxListItem", _wrap_new_wxListItem, 1 },
5092 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get, 1 },
5093 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set, 1 },
5094 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get, 1 },
5095 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set, 1 },
5096 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get, 1 },
5097 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set, 1 },
5098 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get, 1 },
5099 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set, 1 },
5100 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get, 1 },
5101 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set, 1 },
5102 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get, 1 },
5103 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set, 1 },
5104 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get, 1 },
5105 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set, 1 },
5106 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get, 1 },
5107 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set, 1 },
5108 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get, 1 },
5109 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set, 1 },
5110 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get, 1 },
5111 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set, 1 },
5112 { NULL, NULL }
5113 };
5114 static PyObject *SWIG_globals;
5115 #ifdef __cplusplus
5116 extern "C"
5117 #endif
5118 SWIGEXPORT(void,initcontrols2c)() {
5119 PyObject *m, *d;
5120 SWIG_globals = SWIG_newvarlink();
5121 m = Py_InitModule("controls2c", controls2cMethods);
5122 d = PyModule_GetDict(m);
5123 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
5124 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
5125 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
5126 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
5127 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
5128 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
5129 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
5130 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
5131 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
5132 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
5133 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
5134 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
5135 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
5136 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
5137 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
5138 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
5139 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
5140 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
5141 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
5142 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
5143 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
5144 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
5145 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
5146 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
5147 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
5148 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
5149 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
5150 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
5151 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
5152 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
5153 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
5154 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
5155 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
5156 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
5157 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
5158 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
5159 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
5160 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
5161 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
5162 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
5163 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
5164 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
5165 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
5166 /*
5167 * These are the pointer type-equivalency mappings.
5168 * (Used by the SWIG pointer type-checker).
5169 */
5170 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5171 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
5172 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
5173 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
5174 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
5175 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
5176 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
5177 SWIG_RegisterMapping("_signed_long","_long",0);
5178 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
5179 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
5180 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
5181 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
5182 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
5183 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
5184 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
5185 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
5186 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5187 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5188 SWIG_RegisterMapping("_class_wxPyTreeItemData","_wxPyTreeItemData",0);
5189 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
5190 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
5191 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
5192 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
5193 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5194 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
5195 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5196 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5197 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent);
5198 SWIG_RegisterMapping("_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent);
5199 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
5200 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
5201 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5202 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5203 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
5204 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5205 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
5206 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
5207 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
5208 SWIG_RegisterMapping("_long","_wxDash",0);
5209 SWIG_RegisterMapping("_long","_unsigned_long",0);
5210 SWIG_RegisterMapping("_long","_signed_long",0);
5211 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5212 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
5213 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
5214 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5215 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
5216 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5217 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
5218 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
5219 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
5220 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5221 SWIG_RegisterMapping("_size_t","_int",0);
5222 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5223 SWIG_RegisterMapping("_size_t","_uint",0);
5224 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5225 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5226 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
5227 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
5228 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5229 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5230 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
5231 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
5232 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
5233 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
5234 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5235 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
5236 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5237 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5238 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
5239 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
5240 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
5241 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5242 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
5243 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
5244 SWIG_RegisterMapping("_uint","_size_t",0);
5245 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5246 SWIG_RegisterMapping("_uint","_int",0);
5247 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5248 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
5249 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
5250 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
5251 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
5252 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
5253 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
5254 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5255 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
5256 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
5257 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
5258 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
5259 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
5260 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
5261 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5262 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
5263 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
5264 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5265 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5266 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5267 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
5268 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
5269 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5270 SWIG_RegisterMapping("_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent);
5271 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent);
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_wxListItem","_wxListItem",0);
5361 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5362 SWIG_RegisterMapping("_short","_WXTYPE",0);
5363 SWIG_RegisterMapping("_short","_unsigned_short",0);
5364 SWIG_RegisterMapping("_short","_signed_short",0);
5365 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
5366 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
5367 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
5368 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
5369 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
5370 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5371 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
5372 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
5373 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5374 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5375 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5376 SWIG_RegisterMapping("_wxWindowID","_int",0);
5377 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5378 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5379 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
5380 SWIG_RegisterMapping("_int","_size_t",0);
5381 SWIG_RegisterMapping("_int","_EBool",0);
5382 SWIG_RegisterMapping("_int","_uint",0);
5383 SWIG_RegisterMapping("_int","_wxWindowID",0);
5384 SWIG_RegisterMapping("_int","_unsigned_int",0);
5385 SWIG_RegisterMapping("_int","_signed_int",0);
5386 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
5387 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
5388 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
5389 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
5390 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5391 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5392 SWIG_RegisterMapping("_wxPyTreeItemData","_class_wxPyTreeItemData",0);
5393 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5394 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
5395 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
5396 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
5397 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
5398 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
5399 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
5400 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5401 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
5402 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
5403 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
5404 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
5405 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
5406 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
5407 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
5408 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5409 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5410 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5411 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5412 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
5413 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
5414 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
5415 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5416 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
5417 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
5418 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
5419 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
5420 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
5421 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
5422 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
5423 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
5424 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
5425 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5426 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
5427 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
5428 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5429 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5430 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5431 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5432 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
5433 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
5434 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
5435 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
5436 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
5437 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5438 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5439 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
5440 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5441 SWIG_RegisterMapping("_wxDash","_long",0);
5442 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5443 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
5444 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
5445 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5446 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
5447 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
5448 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
5449 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
5450 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
5451 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
5452 }