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