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