]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/controls2.cpp
wxPython version 2.0b5
[wxWidgets.git] / utils / wxPython / src / gtk / controls2.cpp
CommitLineData
70551f47
RD
1/*
2 * FILE : gtk/controls2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a,b) __declspec(dllexport) a b
28# else
29# if defined(__BORLANDC__)
30# define SWIGEXPORT(a,b) a _export b
31# else
32# define SWIGEXPORT(a,b) a b
33# endif
34# endif
35#else
36# define SWIGEXPORT(a,b) a b
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
46extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47extern PyObject *SWIG_newvarlink(void);
48#ifdef __cplusplus
49}
50#endif
51
52#define SWIG_init initcontrols2c
53
54#define SWIG_name "controls2c"
55
56#include "helpers.h"
57#include <wx/listctrl.h>
58#include <wx/treectrl.h>
70551f47
RD
59
60static PyObject* l_output_helper(PyObject* target, PyObject* o) {
61 PyObject* o2;
62 PyObject* o3;
63 if (!target) {
64 target = o;
65 } else if (target == Py_None) {
66 Py_DECREF(Py_None);
67 target = o;
68 } else {
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79}
80
81static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
85 if (!target) {
86 target = o;
87 } else if (target == Py_None) {
88 Py_DECREF(Py_None);
89 target = o;
90 } else {
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
98
99 o2 = target;
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
102 Py_DECREF(o3);
103 }
104 return target;
105}
106
107
105e45b9 108extern byte* byte_LIST_helper(PyObject* source);
70551f47
RD
109extern int* int_LIST_helper(PyObject* source);
110extern long* long_LIST_helper(PyObject* source);
111extern char** string_LIST_helper(PyObject* source);
112extern wxPoint* wxPoint_LIST_helper(PyObject* source);
113extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
114extern wxString* wxString_LIST_helper(PyObject* source);
70551f47 115extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
70551f47
RD
116
117
118static char* wxStringErrorMsg = "string type is required for parameter";
119
120extern wxValidator wxPyDefaultValidator;
21f8d7ea
RD
121#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
122static 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
70551f47
RD
143#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
144static 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
21f8d7ea
RD
164#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
165static 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
70551f47
RD
186#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
187static 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
21f8d7ea
RD
207#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
208static 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
70551f47
RD
229#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
230static 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
21f8d7ea
RD
250#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
251static 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
70551f47
RD
272#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
273static 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
21f8d7ea
RD
293#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
294static 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
70551f47
RD
315#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
316static 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
21f8d7ea
RD
336#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
337static 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
70551f47
RD
372#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
373static 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
21f8d7ea
RD
395#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
396static 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
70551f47
RD
417#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
418static 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
21f8d7ea
RD
438#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
439static 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
70551f47
RD
460#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
461static 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
21f8d7ea
RD
481#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
482static 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
70551f47
RD
503#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
504static 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
21f8d7ea
RD
524#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
525static 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
70551f47
RD
546#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
547static 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())
568static 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)
583static 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
603static void *SwigwxListEventTowxCommandEvent(void *ptr) {
604 wxListEvent *src;
605 wxCommandEvent *dest;
606 src = (wxListEvent *) ptr;
607 dest = (wxCommandEvent *) src;
608 return (void *) dest;
609}
610
611static void *SwigwxListEventTowxEvent(void *ptr) {
612 wxListEvent *src;
613 wxEvent *dest;
614 src = (wxListEvent *) ptr;
615 dest = (wxEvent *) src;
616 return (void *) dest;
617}
618
21f8d7ea
RD
619#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
620static 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
70551f47
RD
641#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
642static 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
21f8d7ea
RD
662#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
663static 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
70551f47
RD
684#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
685static 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
21f8d7ea
RD
705#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
706static 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
70551f47
RD
727#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
728static 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
21f8d7ea
RD
748#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
749static 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
70551f47
RD
770#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
771static 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
21f8d7ea
RD
791#define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
792static 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
70551f47
RD
815#define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
816static 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
21f8d7ea
RD
836#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
837static 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
70551f47
RD
867#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
868static 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
21f8d7ea
RD
890#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
891static 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
70551f47
RD
921#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
922static 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
944static void *SwigwxListCtrlTowxControl(void *ptr) {
945 wxListCtrl *src;
946 wxControl *dest;
947 src = (wxListCtrl *) ptr;
948 dest = (wxControl *) src;
949 return (void *) dest;
950}
951
952static void *SwigwxListCtrlTowxWindow(void *ptr) {
953 wxListCtrl *src;
954 wxWindow *dest;
955 src = (wxListCtrl *) ptr;
956 dest = (wxWindow *) src;
957 return (void *) dest;
958}
959
960static void *SwigwxListCtrlTowxEvtHandler(void *ptr) {
961 wxListCtrl *src;
962 wxEvtHandler *dest;
963 src = (wxListCtrl *) ptr;
964 dest = (wxEvtHandler *) src;
965 return (void *) dest;
966}
967
60e05667 968#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
70551f47
RD
969static 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);
60e05667
RD
977 wxValidator * _arg5 = &wxPyDefaultValidator;
978 char * _arg6 = "listCtrl";
70551f47
RD
979 char * _argc0 = 0;
980 char * _argc2 = 0;
981 char * _argc3 = 0;
60e05667 982 char * _argc5 = 0;
70551f47
RD
983 char _ptemp[128];
984
985 self = self;
60e05667 986 if(!PyArg_ParseTuple(args,"si|sslss:new_wxListCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6))
70551f47
RD
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 }
60e05667
RD
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);
70551f47
RD
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))
1019static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args) {
1020 PyObject * _resultobj;
1021 bool _result;
1022 wxListCtrl * _arg0;
21f8d7ea 1023 int _arg1 = (wxLIST_ALIGN_DEFAULT);
70551f47
RD
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))
1041static 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())
1063static 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))
1084static 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
c95e68d8
RD
1105#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1106static 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())
1127static 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
70551f47
RD
1147#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1148static 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))
1170static 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))
1208static 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))
1231static 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))
1262static 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))
1292static 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())
1314static 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))
1335static 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))
1359static 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
1380static wxListItem * wxListCtrl_GetItem(wxListCtrl *self) {
1381 wxListItem* info = new wxListItem;
1382 self->GetItem(*info);
1383 return info;
1384 }
1385static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args) {
1386 PyObject * _resultobj;
1387 wxListItem * _result;
1388 wxListCtrl * _arg0;
1389 char * _argc0 = 0;
1390 char _ptemp[128];
1391
1392 self = self;
1393 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItem",&_argc0))
1394 return NULL;
1395 if (_argc0) {
1396 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1398 return NULL;
1399 }
1400 }
1401 _result = (wxListItem *)wxListCtrl_GetItem(_arg0);
1402 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1403 _resultobj = Py_BuildValue("s",_ptemp);
1404 return _resultobj;
1405}
1406
1407static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
1408 wxPoint* pos = new wxPoint;
1409 self->GetItemPosition(item, *pos);
1410 return pos;
1411 }
1412static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args) {
1413 PyObject * _resultobj;
1414 wxPoint * _result;
1415 wxListCtrl * _arg0;
1416 long _arg1;
1417 char * _argc0 = 0;
1418 char _ptemp[128];
1419
1420 self = self;
1421 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemPosition",&_argc0,&_arg1))
1422 return NULL;
1423 if (_argc0) {
1424 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1426 return NULL;
1427 }
1428 }
1429 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
1430 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1431 _resultobj = Py_BuildValue("s",_ptemp);
1432 return _resultobj;
1433}
1434
1435static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
1436 wxRect* rect= new wxRect;
1437 self->GetItemRect(item, *rect, code);
1438 return rect;
1439 }
1440static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args) {
1441 PyObject * _resultobj;
1442 wxRect * _result;
1443 wxListCtrl * _arg0;
1444 long _arg1;
21f8d7ea 1445 int _arg2 = (wxLIST_RECT_BOUNDS);
70551f47
RD
1446 char * _argc0 = 0;
1447 char _ptemp[128];
1448
1449 self = self;
1450 if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_GetItemRect",&_argc0,&_arg1,&_arg2))
1451 return NULL;
1452 if (_argc0) {
1453 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1455 return NULL;
1456 }
1457 }
1458 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
1459 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1460 _resultobj = Py_BuildValue("s",_ptemp);
1461 return _resultobj;
1462}
1463
1464#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1465static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args) {
1466 PyObject * _resultobj;
1467 int _result;
1468 wxListCtrl * _arg0;
1469 long _arg1;
1470 long _arg2;
1471 char * _argc0 = 0;
1472
1473 self = self;
1474 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_GetItemState",&_argc0,&_arg1,&_arg2))
1475 return NULL;
1476 if (_argc0) {
1477 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1479 return NULL;
1480 }
1481 }
1482 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
1483 _resultobj = Py_BuildValue("i",_result);
1484 return _resultobj;
1485}
1486
1487#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1488static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args) {
1489 PyObject * _resultobj;
1490 int _result;
1491 wxListCtrl * _arg0;
1492 char * _argc0 = 0;
1493
1494 self = self;
1495 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItemCount",&_argc0))
1496 return NULL;
1497 if (_argc0) {
1498 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1500 return NULL;
1501 }
1502 }
1503 _result = (int )wxListCtrl_GetItemCount(_arg0);
1504 _resultobj = Py_BuildValue("i",_result);
1505 return _resultobj;
1506}
1507
1508#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1509static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args) {
1510 PyObject * _resultobj;
1511 int _result;
1512 wxListCtrl * _arg0;
1513 bool _arg1;
1514 char * _argc0 = 0;
1515 int tempbool1;
1516
1517 self = self;
1518 if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetItemSpacing",&_argc0,&tempbool1))
1519 return NULL;
1520 if (_argc0) {
1521 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1523 return NULL;
1524 }
1525 }
1526 _arg1 = (bool ) tempbool1;
1527 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
1528 _resultobj = Py_BuildValue("i",_result);
1529 return _resultobj;
1530}
1531
1532#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1533static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args) {
1534 PyObject * _resultobj;
1535 wxString * _result;
1536 wxListCtrl * _arg0;
1537 long _arg1;
1538 char * _argc0 = 0;
1539
1540 self = self;
1541 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemText",&_argc0,&_arg1))
1542 return NULL;
1543 if (_argc0) {
1544 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1546 return NULL;
1547 }
1548 }
1549 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
1550{
1551 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1552}
1553{
1554 delete _result;
1555}
1556 return _resultobj;
1557}
1558
1559#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1560static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args) {
1561 PyObject * _resultobj;
1562 long _result;
1563 wxListCtrl * _arg0;
1564 long _arg1;
21f8d7ea
RD
1565 int _arg2 = (wxLIST_NEXT_ALL);
1566 int _arg3 = (wxLIST_STATE_DONTCARE);
70551f47
RD
1567 char * _argc0 = 0;
1568
1569 self = self;
1570 if(!PyArg_ParseTuple(args,"sl|ii:wxListCtrl_GetNextItem",&_argc0,&_arg1,&_arg2,&_arg3))
1571 return NULL;
1572 if (_argc0) {
1573 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1575 return NULL;
1576 }
1577 }
1578 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
1579 _resultobj = Py_BuildValue("l",_result);
1580 return _resultobj;
1581}
1582
1583#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1584static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args) {
1585 PyObject * _resultobj;
1586 int _result;
1587 wxListCtrl * _arg0;
1588 char * _argc0 = 0;
1589
1590 self = self;
1591 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetSelectedItemCount",&_argc0))
1592 return NULL;
1593 if (_argc0) {
1594 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1596 return NULL;
1597 }
1598 }
1599 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
1600 _resultobj = Py_BuildValue("i",_result);
1601 return _resultobj;
1602}
1603
1604#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1605static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args) {
1606 PyObject * _resultobj;
1607 long _result;
1608 wxListCtrl * _arg0;
1609 char * _argc0 = 0;
1610
1611 self = self;
1612 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetTopItem",&_argc0))
1613 return NULL;
1614 if (_argc0) {
1615 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1617 return NULL;
1618 }
1619 }
1620 _result = (long )wxListCtrl_GetTopItem(_arg0);
1621 _resultobj = Py_BuildValue("l",_result);
1622 return _resultobj;
1623}
1624
1625#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1626static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args) {
1627 PyObject * _resultobj;
1628 long _result;
1629 wxListCtrl * _arg0;
1630 wxPoint * _arg1;
1631 int * _arg2;
1632 int temp;
1633 char * _argc0 = 0;
1634 char * _argc1 = 0;
1635
1636 self = self;
1637{
1638 _arg2 = &temp;
1639}
1640 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_HitTest",&_argc0,&_argc1))
1641 return NULL;
1642 if (_argc0) {
1643 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1645 return NULL;
1646 }
1647 }
1648 if (_argc1) {
1649 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
1650 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1651 return NULL;
1652 }
1653 }
1654 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
1655 _resultobj = Py_BuildValue("l",_result);
1656{
1657 PyObject *o;
1658 o = PyInt_FromLong((long) (*_arg2));
1659 _resultobj = t_output_helper(_resultobj, o);
1660}
1661 return _resultobj;
1662}
1663
1664#define wxListCtrl_InsertColumnWithInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1665static PyObject *_wrap_wxListCtrl_InsertColumnWithInfo(PyObject *self, PyObject *args) {
1666 PyObject * _resultobj;
1667 long _result;
1668 wxListCtrl * _arg0;
1669 long _arg1;
1670 wxListItem * _arg2;
1671 char * _argc0 = 0;
1672 char * _argc2 = 0;
1673
1674 self = self;
1675 if(!PyArg_ParseTuple(args,"sls:wxListCtrl_InsertColumnWithInfo",&_argc0,&_arg1,&_argc2))
1676 return NULL;
1677 if (_argc0) {
1678 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWithInfo. Expected _wxListCtrl_p.");
1680 return NULL;
1681 }
1682 }
1683 if (_argc2) {
1684 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
1685 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWithInfo. Expected _wxListItem_p.");
1686 return NULL;
1687 }
1688 }
1689 _result = (long )wxListCtrl_InsertColumnWithInfo(_arg0,_arg1,*_arg2);
1690 _resultobj = Py_BuildValue("l",_result);
1691 return _resultobj;
1692}
1693
1694#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1695static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args) {
1696 PyObject * _resultobj;
1697 long _result;
1698 wxListCtrl * _arg0;
1699 long _arg1;
1700 wxString * _arg2;
21f8d7ea 1701 int _arg3 = (wxLIST_FORMAT_LEFT);
70551f47
RD
1702 int _arg4 = -1;
1703 char * _argc0 = 0;
1704 PyObject * _obj2 = 0;
1705
1706 self = self;
1707 if(!PyArg_ParseTuple(args,"slO|ii:wxListCtrl_InsertColumn",&_argc0,&_arg1,&_obj2,&_arg3,&_arg4))
1708 return NULL;
1709 if (_argc0) {
1710 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
1712 return NULL;
1713 }
1714 }
1715{
1716 if (!PyString_Check(_obj2)) {
1717 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1718 return NULL;
1719 }
1720 _arg2 = new wxString(PyString_AsString(_obj2));
1721}
1722 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
1723 _resultobj = Py_BuildValue("l",_result);
1724{
1725 if (_obj2)
1726 delete _arg2;
1727}
1728 return _resultobj;
1729}
1730
1731#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
1732static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args) {
1733 PyObject * _resultobj;
1734 long _result;
1735 wxListCtrl * _arg0;
1736 wxListItem * _arg1;
1737 char * _argc0 = 0;
1738 char * _argc1 = 0;
1739
1740 self = self;
1741 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_InsertItem",&_argc0,&_argc1))
1742 return NULL;
1743 if (_argc0) {
1744 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
1746 return NULL;
1747 }
1748 }
1749 if (_argc1) {
1750 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) {
1751 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
1752 return NULL;
1753 }
1754 }
1755 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
1756 _resultobj = Py_BuildValue("l",_result);
1757 return _resultobj;
1758}
1759
1760#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1761static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args) {
1762 PyObject * _resultobj;
1763 long _result;
1764 wxListCtrl * _arg0;
1765 long _arg1;
1766 wxString * _arg2;
1767 char * _argc0 = 0;
1768 PyObject * _obj2 = 0;
1769
1770 self = self;
1771 if(!PyArg_ParseTuple(args,"slO:wxListCtrl_InsertStringItem",&_argc0,&_arg1,&_obj2))
1772 return NULL;
1773 if (_argc0) {
1774 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
1776 return NULL;
1777 }
1778 }
1779{
1780 if (!PyString_Check(_obj2)) {
1781 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1782 return NULL;
1783 }
1784 _arg2 = new wxString(PyString_AsString(_obj2));
1785}
1786 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
1787 _resultobj = Py_BuildValue("l",_result);
1788{
1789 if (_obj2)
1790 delete _arg2;
1791}
1792 return _resultobj;
1793}
1794
1795#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1796static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args) {
1797 PyObject * _resultobj;
1798 long _result;
1799 wxListCtrl * _arg0;
1800 long _arg1;
1801 int _arg2;
1802 char * _argc0 = 0;
1803
1804 self = self;
1805 if(!PyArg_ParseTuple(args,"sli:wxListCtrl_InsertImageItem",&_argc0,&_arg1,&_arg2))
1806 return NULL;
1807 if (_argc0) {
1808 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
1810 return NULL;
1811 }
1812 }
1813 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
1814 _resultobj = Py_BuildValue("l",_result);
1815 return _resultobj;
1816}
1817
1818#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
1819static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args) {
1820 PyObject * _resultobj;
1821 long _result;
1822 wxListCtrl * _arg0;
1823 long _arg1;
1824 wxString * _arg2;
1825 int _arg3;
1826 char * _argc0 = 0;
1827 PyObject * _obj2 = 0;
1828
1829 self = self;
1830 if(!PyArg_ParseTuple(args,"slOi:wxListCtrl_InsertImageStringItem",&_argc0,&_arg1,&_obj2,&_arg3))
1831 return NULL;
1832 if (_argc0) {
1833 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
1835 return NULL;
1836 }
1837 }
1838{
1839 if (!PyString_Check(_obj2)) {
1840 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1841 return NULL;
1842 }
1843 _arg2 = new wxString(PyString_AsString(_obj2));
1844}
1845 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
1846 _resultobj = Py_BuildValue("l",_result);
1847{
1848 if (_obj2)
1849 delete _arg2;
1850}
1851 return _resultobj;
1852}
1853
1854#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
1855static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args) {
1856 PyObject * _resultobj;
1857 bool _result;
1858 wxListCtrl * _arg0;
1859 int _arg1;
1860 int _arg2;
1861 char * _argc0 = 0;
1862
1863 self = self;
1864 if(!PyArg_ParseTuple(args,"sii:wxListCtrl_ScrollList",&_argc0,&_arg1,&_arg2))
1865 return NULL;
1866 if (_argc0) {
1867 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
1869 return NULL;
1870 }
1871 }
1872 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
1873 _resultobj = Py_BuildValue("i",_result);
1874 return _resultobj;
1875}
1876
1877#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1878static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args) {
1879 PyObject * _resultobj;
1880 wxListCtrl * _arg0;
1881 wxColour * _arg1;
1882 char * _argc0 = 0;
1883 char * _argc1 = 0;
1884
1885 self = self;
1886 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetBackgroundColour",&_argc0,&_argc1))
1887 return NULL;
1888 if (_argc0) {
1889 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
1891 return NULL;
1892 }
1893 }
1894 if (_argc1) {
1895 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1896 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
1897 return NULL;
1898 }
1899 }
1900 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
1901 Py_INCREF(Py_None);
1902 _resultobj = Py_None;
1903 return _resultobj;
1904}
1905
1906#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
1907static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args) {
1908 PyObject * _resultobj;
1909 bool _result;
1910 wxListCtrl * _arg0;
1911 int _arg1;
1912 wxListItem * _arg2;
1913 char * _argc0 = 0;
1914 char * _argc2 = 0;
1915
1916 self = self;
1917 if(!PyArg_ParseTuple(args,"sis:wxListCtrl_SetColumn",&_argc0,&_arg1,&_argc2))
1918 return NULL;
1919 if (_argc0) {
1920 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
1922 return NULL;
1923 }
1924 }
1925 if (_argc2) {
1926 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
1927 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
1928 return NULL;
1929 }
1930 }
1931 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
1932 _resultobj = Py_BuildValue("i",_result);
1933 return _resultobj;
1934}
1935
1936#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
1937static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args) {
1938 PyObject * _resultobj;
1939 bool _result;
1940 wxListCtrl * _arg0;
1941 int _arg1;
1942 int _arg2;
1943 char * _argc0 = 0;
1944
1945 self = self;
1946 if(!PyArg_ParseTuple(args,"sii:wxListCtrl_SetColumnWidth",&_argc0,&_arg1,&_arg2))
1947 return NULL;
1948 if (_argc0) {
1949 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
1951 return NULL;
1952 }
1953 }
1954 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
1955 _resultobj = Py_BuildValue("i",_result);
1956 return _resultobj;
1957}
1958
1959#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
1960static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args) {
1961 PyObject * _resultobj;
1962 wxListCtrl * _arg0;
1963 wxImageList * _arg1;
1964 int _arg2;
1965 char * _argc0 = 0;
1966 char * _argc1 = 0;
1967
1968 self = self;
1969 if(!PyArg_ParseTuple(args,"ssi:wxListCtrl_SetImageList",&_argc0,&_argc1,&_arg2))
1970 return NULL;
1971 if (_argc0) {
1972 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
1974 return NULL;
1975 }
1976 }
1977 if (_argc1) {
1978 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
1979 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
1980 return NULL;
1981 }
1982 }
1983 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
1984 Py_INCREF(Py_None);
1985 _resultobj = Py_None;
1986 return _resultobj;
1987}
1988
1989#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
1990static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args) {
1991 PyObject * _resultobj;
1992 bool _result;
1993 wxListCtrl * _arg0;
1994 wxListItem * _arg1;
1995 char * _argc0 = 0;
1996 char * _argc1 = 0;
1997
1998 self = self;
1999 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetItem",&_argc0,&_argc1))
2000 return NULL;
2001 if (_argc0) {
2002 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2004 return NULL;
2005 }
2006 }
2007 if (_argc1) {
2008 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) {
2009 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2010 return NULL;
2011 }
2012 }
2013 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
2014 _resultobj = Py_BuildValue("i",_result);
2015 return _resultobj;
2016}
2017
21f8d7ea
RD
2018#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2019static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args) {
70551f47
RD
2020 PyObject * _resultobj;
2021 long _result;
2022 wxListCtrl * _arg0;
2023 long _arg1;
2024 int _arg2;
2025 wxString * _arg3;
2026 int _arg4 = -1;
2027 char * _argc0 = 0;
2028 PyObject * _obj3 = 0;
2029
2030 self = self;
21f8d7ea 2031 if(!PyArg_ParseTuple(args,"sliO|i:wxListCtrl_SetStringItem",&_argc0,&_arg1,&_arg2,&_obj3,&_arg4))
70551f47
RD
2032 return NULL;
2033 if (_argc0) {
2034 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
21f8d7ea 2035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
70551f47
RD
2036 return NULL;
2037 }
2038 }
2039{
2040 if (!PyString_Check(_obj3)) {
2041 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2042 return NULL;
2043 }
2044 _arg3 = new wxString(PyString_AsString(_obj3));
2045}
21f8d7ea 2046 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
70551f47
RD
2047 _resultobj = Py_BuildValue("l",_result);
2048{
2049 if (_obj3)
2050 delete _arg3;
2051}
2052 return _resultobj;
2053}
2054
2055#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2056static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args) {
2057 PyObject * _resultobj;
2058 bool _result;
2059 wxListCtrl * _arg0;
2060 long _arg1;
2061 long _arg2;
2062 char * _argc0 = 0;
2063
2064 self = self;
2065 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_SetItemData",&_argc0,&_arg1,&_arg2))
2066 return NULL;
2067 if (_argc0) {
2068 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2070 return NULL;
2071 }
2072 }
2073 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
2074 _resultobj = Py_BuildValue("i",_result);
2075 return _resultobj;
2076}
2077
2078#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2079static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args) {
2080 PyObject * _resultobj;
2081 bool _result;
2082 wxListCtrl * _arg0;
2083 long _arg1;
2084 int _arg2;
2085 int _arg3;
2086 char * _argc0 = 0;
2087
2088 self = self;
2089 if(!PyArg_ParseTuple(args,"slii:wxListCtrl_SetItemImage",&_argc0,&_arg1,&_arg2,&_arg3))
2090 return NULL;
2091 if (_argc0) {
2092 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2094 return NULL;
2095 }
2096 }
2097 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
2098 _resultobj = Py_BuildValue("i",_result);
2099 return _resultobj;
2100}
2101
2102#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2103static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args) {
2104 PyObject * _resultobj;
2105 bool _result;
2106 wxListCtrl * _arg0;
2107 long _arg1;
2108 wxPoint * _arg2;
2109 char * _argc0 = 0;
2110 char * _argc2 = 0;
2111
2112 self = self;
2113 if(!PyArg_ParseTuple(args,"sls:wxListCtrl_SetItemPosition",&_argc0,&_arg1,&_argc2))
2114 return NULL;
2115 if (_argc0) {
2116 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2118 return NULL;
2119 }
2120 }
2121 if (_argc2) {
2122 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2123 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2124 return NULL;
2125 }
2126 }
2127 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
2128 _resultobj = Py_BuildValue("i",_result);
2129 return _resultobj;
2130}
2131
2132#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2133static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args) {
2134 PyObject * _resultobj;
2135 bool _result;
2136 wxListCtrl * _arg0;
2137 long _arg1;
2138 long _arg2;
2139 long _arg3;
2140 char * _argc0 = 0;
2141
2142 self = self;
2143 if(!PyArg_ParseTuple(args,"slll:wxListCtrl_SetItemState",&_argc0,&_arg1,&_arg2,&_arg3))
2144 return NULL;
2145 if (_argc0) {
2146 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2148 return NULL;
2149 }
2150 }
2151 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
2152 _resultobj = Py_BuildValue("i",_result);
2153 return _resultobj;
2154}
2155
2156#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2157static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args) {
2158 PyObject * _resultobj;
2159 wxListCtrl * _arg0;
2160 long _arg1;
2161 wxString * _arg2;
2162 char * _argc0 = 0;
2163 PyObject * _obj2 = 0;
2164
2165 self = self;
2166 if(!PyArg_ParseTuple(args,"slO:wxListCtrl_SetItemText",&_argc0,&_arg1,&_obj2))
2167 return NULL;
2168 if (_argc0) {
2169 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2171 return NULL;
2172 }
2173 }
2174{
2175 if (!PyString_Check(_obj2)) {
2176 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2177 return NULL;
2178 }
2179 _arg2 = new wxString(PyString_AsString(_obj2));
2180}
2181 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
2182 Py_INCREF(Py_None);
2183 _resultobj = Py_None;
2184{
2185 if (_obj2)
2186 delete _arg2;
2187}
2188 return _resultobj;
2189}
2190
2191#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2192static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args) {
2193 PyObject * _resultobj;
2194 wxListCtrl * _arg0;
2195 long _arg1;
2196 bool _arg2 = (1);
2197 char * _argc0 = 0;
2198 int tempbool2;
2199
2200 self = self;
2201 if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_SetSingleStyle",&_argc0,&_arg1,&tempbool2))
2202 return NULL;
2203 if (_argc0) {
2204 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2206 return NULL;
2207 }
2208 }
2209 _arg2 = (bool ) tempbool2;
2210 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
2211 Py_INCREF(Py_None);
2212 _resultobj = Py_None;
2213 return _resultobj;
2214}
2215
2216#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2217static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args) {
2218 PyObject * _resultobj;
2219 wxListCtrl * _arg0;
2220 long _arg1;
2221 char * _argc0 = 0;
2222
2223 self = self;
2224 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0,&_arg1))
2225 return NULL;
2226 if (_argc0) {
2227 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2229 return NULL;
2230 }
2231 }
2232 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
2233 Py_INCREF(Py_None);
2234 _resultobj = Py_None;
2235 return _resultobj;
2236}
2237
60e05667
RD
2238#define new_wxTreeItemId() (new wxTreeItemId())
2239static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args) {
2240 PyObject * _resultobj;
2241 wxTreeItemId * _result;
2242 char _ptemp[128];
2243
2244 self = self;
2245 if(!PyArg_ParseTuple(args,":new_wxTreeItemId"))
2246 return NULL;
2247 _result = (wxTreeItemId *)new_wxTreeItemId();
2248 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
2249 _resultobj = Py_BuildValue("s",_ptemp);
2250 return _resultobj;
2251}
2252
2253#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2254static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args) {
2255 PyObject * _resultobj;
2256 wxTreeItemId * _arg0;
2257 char * _argc0 = 0;
2258
2259 self = self;
2260 if(!PyArg_ParseTuple(args,"s:delete_wxTreeItemId",&_argc0))
2261 return NULL;
2262 if (_argc0) {
2263 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemId_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2265 return NULL;
2266 }
2267 }
2268 delete_wxTreeItemId(_arg0);
2269 Py_INCREF(Py_None);
2270 _resultobj = Py_None;
2271 return _resultobj;
2272}
2273
2274#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2275static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args) {
2276 PyObject * _resultobj;
2277 bool _result;
2278 wxTreeItemId * _arg0;
2279 char * _argc0 = 0;
2280
2281 self = self;
2282 if(!PyArg_ParseTuple(args,"s:wxTreeItemId_IsOk",&_argc0))
2283 return NULL;
2284 if (_argc0) {
2285 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemId_p")) {
2286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2287 return NULL;
2288 }
2289 }
2290 _result = (bool )wxTreeItemId_IsOk(_arg0);
2291 _resultobj = Py_BuildValue("i",_result);
2292 return _resultobj;
2293}
2294
2295#define new_wxTreeItemData() (new wxTreeItemData())
2296static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args) {
2297 PyObject * _resultobj;
2298 wxTreeItemData * _result;
2299 char _ptemp[128];
2300
2301 self = self;
2302 if(!PyArg_ParseTuple(args,":new_wxTreeItemData"))
2303 return NULL;
2304 _result = (wxTreeItemData *)new_wxTreeItemData();
2305 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemData_p");
2306 _resultobj = Py_BuildValue("s",_ptemp);
2307 return _resultobj;
2308}
2309
2310#define delete_wxTreeItemData(_swigobj) (delete _swigobj)
2311static PyObject *_wrap_delete_wxTreeItemData(PyObject *self, PyObject *args) {
2312 PyObject * _resultobj;
2313 wxTreeItemData * _arg0;
2314 char * _argc0 = 0;
2315
2316 self = self;
2317 if(!PyArg_ParseTuple(args,"s:delete_wxTreeItemData",&_argc0))
2318 return NULL;
2319 if (_argc0) {
2320 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) {
2321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemData. Expected _wxTreeItemData_p.");
2322 return NULL;
2323 }
2324 }
2325 delete_wxTreeItemData(_arg0);
2326 Py_INCREF(Py_None);
2327 _resultobj = Py_None;
2328 return _resultobj;
2329}
2330
2331#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2332static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args) {
2333 PyObject * _resultobj;
2334 wxTreeItemId * _result;
2335 wxTreeItemData * _arg0;
2336 char * _argc0 = 0;
2337 char _ptemp[128];
2338
2339 self = self;
2340 if(!PyArg_ParseTuple(args,"s:wxTreeItemData_GetId",&_argc0))
2341 return NULL;
2342 if (_argc0) {
2343 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) {
2344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxTreeItemData_p.");
2345 return NULL;
2346 }
2347 }
2348 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
2349 _result = (wxTreeItemId *) &_result_ref;
2350 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
2351 _resultobj = Py_BuildValue("s",_ptemp);
2352 return _resultobj;
2353}
2354
2355#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2356static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args) {
2357 PyObject * _resultobj;
2358 wxTreeItemData * _arg0;
2359 wxTreeItemId * _arg1;
2360 char * _argc0 = 0;
2361 char * _argc1 = 0;
2362
2363 self = self;
2364 if(!PyArg_ParseTuple(args,"ss:wxTreeItemData_SetId",&_argc0,&_argc1))
2365 return NULL;
2366 if (_argc0) {
2367 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) {
2368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxTreeItemData_p.");
2369 return NULL;
2370 }
2371 }
2372 if (_argc1) {
2373 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2374 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2375 return NULL;
2376 }
2377 }
2378 wxTreeItemData_SetId(_arg0,*_arg1);
2379 Py_INCREF(Py_None);
2380 _resultobj = Py_None;
2381 return _resultobj;
2382}
2383
2384static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
2385 wxTreeEvent *src;
2386 wxCommandEvent *dest;
2387 src = (wxTreeEvent *) ptr;
2388 dest = (wxCommandEvent *) src;
2389 return (void *) dest;
2390}
2391
2392static void *SwigwxTreeEventTowxEvent(void *ptr) {
2393 wxTreeEvent *src;
2394 wxEvent *dest;
2395 src = (wxTreeEvent *) ptr;
2396 dest = (wxEvent *) src;
2397 return (void *) dest;
2398}
2399
2400#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2401static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args) {
2402 PyObject * _resultobj;
2403 wxTreeItemId * _result;
2404 wxTreeEvent * _arg0;
2405 char * _argc0 = 0;
2406 char _ptemp[128];
2407
2408 self = self;
2409 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetItem",&_argc0))
2410 return NULL;
2411 if (_argc0) {
2412 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2414 return NULL;
2415 }
2416 }
2417 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
2418 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2419 _resultobj = Py_BuildValue("s",_ptemp);
2420 return _resultobj;
2421}
2422
2423#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2424static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args) {
2425 PyObject * _resultobj;
2426 wxTreeItemId * _result;
2427 wxTreeEvent * _arg0;
2428 char * _argc0 = 0;
2429 char _ptemp[128];
2430
2431 self = self;
2432 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetOldItem",&_argc0))
2433 return NULL;
2434 if (_argc0) {
2435 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2437 return NULL;
2438 }
2439 }
2440 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
2441 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2442 _resultobj = Py_BuildValue("s",_ptemp);
2443 return _resultobj;
2444}
2445
2446#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2447static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args) {
2448 PyObject * _resultobj;
2449 wxPoint * _result;
2450 wxTreeEvent * _arg0;
2451 char * _argc0 = 0;
2452 char _ptemp[128];
2453
2454 self = self;
2455 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetPoint",&_argc0))
2456 return NULL;
2457 if (_argc0) {
2458 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2460 return NULL;
2461 }
2462 }
2463 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
2464 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2465 _resultobj = Py_BuildValue("s",_ptemp);
2466 return _resultobj;
2467}
2468
2469#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2470static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args) {
2471 PyObject * _resultobj;
2472 int _result;
2473 wxTreeEvent * _arg0;
2474 char * _argc0 = 0;
2475
2476 self = self;
2477 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetCode",&_argc0))
2478 return NULL;
2479 if (_argc0) {
2480 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2482 return NULL;
2483 }
2484 }
2485 _result = (int )wxTreeEvent_GetCode(_arg0);
2486 _resultobj = Py_BuildValue("i",_result);
2487 return _resultobj;
2488}
2489
2490#define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
2491static PyObject *_wrap_wxTreeEvent_Veto(PyObject *self, PyObject *args) {
2492 PyObject * _resultobj;
2493 wxTreeEvent * _arg0;
2494 char * _argc0 = 0;
2495
2496 self = self;
2497 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_Veto",&_argc0))
2498 return NULL;
2499 if (_argc0) {
2500 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
2502 return NULL;
2503 }
2504 }
2505 wxTreeEvent_Veto(_arg0);
2506 Py_INCREF(Py_None);
2507 _resultobj = Py_None;
2508 return _resultobj;
2509}
2510
2511static void *SwigwxTreeCtrlTowxControl(void *ptr) {
2512 wxTreeCtrl *src;
2513 wxControl *dest;
2514 src = (wxTreeCtrl *) ptr;
2515 dest = (wxControl *) src;
2516 return (void *) dest;
2517}
2518
2519static void *SwigwxTreeCtrlTowxWindow(void *ptr) {
2520 wxTreeCtrl *src;
2521 wxWindow *dest;
2522 src = (wxTreeCtrl *) ptr;
2523 dest = (wxWindow *) src;
2524 return (void *) dest;
2525}
2526
2527static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) {
2528 wxTreeCtrl *src;
2529 wxEvtHandler *dest;
2530 src = (wxTreeCtrl *) ptr;
2531 dest = (wxEvtHandler *) src;
2532 return (void *) dest;
2533}
2534
c95e68d8 2535#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
60e05667
RD
2536static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args) {
2537 PyObject * _resultobj;
2538 wxTreeCtrl * _result;
2539 wxWindow * _arg0;
2540 wxWindowID _arg1 = -1;
2541 wxPoint * _arg2 = &wxPyDefaultPosition;
2542 wxSize * _arg3 = &wxPyDefaultSize;
2543 long _arg4 = (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
c95e68d8
RD
2544 wxValidator * _arg5 = &wxPyDefaultValidator;
2545 char * _arg6 = "wxTreeCtrl";
60e05667
RD
2546 char * _argc0 = 0;
2547 char * _argc2 = 0;
2548 char * _argc3 = 0;
c95e68d8 2549 char * _argc5 = 0;
60e05667
RD
2550 char _ptemp[128];
2551
2552 self = self;
c95e68d8 2553 if(!PyArg_ParseTuple(args,"s|isslss:new_wxTreeCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6))
60e05667
RD
2554 return NULL;
2555 if (_argc0) {
2556 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2558 return NULL;
2559 }
2560 }
2561 if (_argc2) {
2562 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2563 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2564 return NULL;
2565 }
2566 }
2567 if (_argc3) {
2568 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2569 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2570 return NULL;
2571 }
2572 }
c95e68d8
RD
2573 if (_argc5) {
2574 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) {
2575 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
2576 return NULL;
2577 }
2578 }
2579 _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
60e05667
RD
2580 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
2581 _resultobj = Py_BuildValue("s",_ptemp);
2582 return _resultobj;
2583}
2584
2585#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2586static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args) {
2587 PyObject * _resultobj;
2588 size_t * _result;
2589 wxTreeCtrl * _arg0;
2590 char * _argc0 = 0;
2591 char _ptemp[128];
2592
2593 self = self;
2594 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetCount",&_argc0))
2595 return NULL;
2596 if (_argc0) {
2597 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2599 return NULL;
2600 }
2601 }
2602 _result = new size_t (wxTreeCtrl_GetCount(_arg0));
2603 SWIG_MakePtr(_ptemp, (void *) _result,"_size_t_p");
2604 _resultobj = Py_BuildValue("s",_ptemp);
2605 return _resultobj;
2606}
2607
2608#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2609static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args) {
2610 PyObject * _resultobj;
2611 unsigned int _result;
2612 wxTreeCtrl * _arg0;
2613 char * _argc0 = 0;
2614
2615 self = self;
2616 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetIndent",&_argc0))
2617 return NULL;
2618 if (_argc0) {
2619 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2621 return NULL;
2622 }
2623 }
2624 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
2625 _resultobj = Py_BuildValue("i",_result);
2626 return _resultobj;
2627}
2628
2629#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2630static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args) {
2631 PyObject * _resultobj;
2632 wxTreeCtrl * _arg0;
2633 unsigned int _arg1;
2634 char * _argc0 = 0;
2635
2636 self = self;
2637 if(!PyArg_ParseTuple(args,"si:wxTreeCtrl_SetIndent",&_argc0,&_arg1))
2638 return NULL;
2639 if (_argc0) {
2640 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2642 return NULL;
2643 }
2644 }
2645 wxTreeCtrl_SetIndent(_arg0,_arg1);
2646 Py_INCREF(Py_None);
2647 _resultobj = Py_None;
2648 return _resultobj;
2649}
2650
2651#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2652static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args) {
2653 PyObject * _resultobj;
2654 wxImageList * _result;
2655 wxTreeCtrl * _arg0;
2656 char * _argc0 = 0;
2657 char _ptemp[128];
2658
2659 self = self;
2660 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetImageList",&_argc0))
2661 return NULL;
2662 if (_argc0) {
2663 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2665 return NULL;
2666 }
2667 }
2668 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
2669 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
2670 _resultobj = Py_BuildValue("s",_ptemp);
2671 return _resultobj;
2672}
2673
2674#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2675static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args) {
2676 PyObject * _resultobj;
2677 wxImageList * _result;
2678 wxTreeCtrl * _arg0;
2679 char * _argc0 = 0;
2680 char _ptemp[128];
2681
2682 self = self;
2683 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetStateImageList",&_argc0))
2684 return NULL;
2685 if (_argc0) {
2686 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
2688 return NULL;
2689 }
2690 }
2691 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
2692 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
2693 _resultobj = Py_BuildValue("s",_ptemp);
2694 return _resultobj;
2695}
2696
2697#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2698static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args) {
2699 PyObject * _resultobj;
2700 wxTreeCtrl * _arg0;
2701 wxImageList * _arg1;
2702 char * _argc0 = 0;
2703 char * _argc1 = 0;
2704
2705 self = self;
2706 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetImageList",&_argc0,&_argc1))
2707 return NULL;
2708 if (_argc0) {
2709 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2711 return NULL;
2712 }
2713 }
2714 if (_argc1) {
2715 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2717 return NULL;
2718 }
2719 }
2720 wxTreeCtrl_SetImageList(_arg0,_arg1);
2721 Py_INCREF(Py_None);
2722 _resultobj = Py_None;
2723 return _resultobj;
2724}
2725
2726#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2727static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args) {
2728 PyObject * _resultobj;
2729 wxTreeCtrl * _arg0;
2730 wxImageList * _arg1;
2731 char * _argc0 = 0;
2732 char * _argc1 = 0;
2733
2734 self = self;
2735 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetStateImageList",&_argc0,&_argc1))
2736 return NULL;
2737 if (_argc0) {
2738 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
2740 return NULL;
2741 }
2742 }
2743 if (_argc1) {
2744 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2745 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
2746 return NULL;
2747 }
2748 }
2749 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
2750 Py_INCREF(Py_None);
2751 _resultobj = Py_None;
2752 return _resultobj;
2753}
2754
2755#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2756static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args) {
2757 PyObject * _resultobj;
2758 wxString * _result;
2759 wxTreeCtrl * _arg0;
2760 wxTreeItemId * _arg1;
2761 char * _argc0 = 0;
2762 char * _argc1 = 0;
2763
2764 self = self;
2765 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemText",&_argc0,&_argc1))
2766 return NULL;
2767 if (_argc0) {
2768 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2770 return NULL;
2771 }
2772 }
2773 if (_argc1) {
2774 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2775 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
2776 return NULL;
2777 }
2778 }
2779 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
2780{
2781 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2782}
2783{
2784 delete _result;
2785}
2786 return _resultobj;
2787}
2788
2789#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
2790static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args) {
2791 PyObject * _resultobj;
2792 int _result;
2793 wxTreeCtrl * _arg0;
2794 wxTreeItemId * _arg1;
2795 char * _argc0 = 0;
2796 char * _argc1 = 0;
2797
2798 self = self;
2799 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemImage",&_argc0,&_argc1))
2800 return NULL;
2801 if (_argc0) {
2802 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
2804 return NULL;
2805 }
2806 }
2807 if (_argc1) {
2808 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2809 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
2810 return NULL;
2811 }
2812 }
2813 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1);
2814 _resultobj = Py_BuildValue("i",_result);
2815 return _resultobj;
2816}
2817
2818#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
2819static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args) {
2820 PyObject * _resultobj;
2821 int _result;
2822 wxTreeCtrl * _arg0;
2823 wxTreeItemId * _arg1;
2824 char * _argc0 = 0;
2825 char * _argc1 = 0;
2826
2827 self = self;
2828 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0,&_argc1))
2829 return NULL;
2830 if (_argc0) {
2831 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
2833 return NULL;
2834 }
2835 }
2836 if (_argc1) {
2837 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2838 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
2839 return NULL;
2840 }
2841 }
2842 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
2843 _resultobj = Py_BuildValue("i",_result);
2844 return _resultobj;
2845}
2846
2847#define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2848static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args) {
2849 PyObject * _resultobj;
2850 wxTreeItemData * _result;
2851 wxTreeCtrl * _arg0;
2852 wxTreeItemId * _arg1;
2853 char * _argc0 = 0;
2854 char * _argc1 = 0;
2855 char _ptemp[128];
2856
2857 self = self;
2858 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemData",&_argc0,&_argc1))
2859 return NULL;
2860 if (_argc0) {
2861 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2863 return NULL;
2864 }
2865 }
2866 if (_argc1) {
2867 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2868 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
2869 return NULL;
2870 }
2871 }
2872 _result = (wxTreeItemData *)wxTreeCtrl_GetItemData(_arg0,*_arg1);
2873 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemData_p");
2874 _resultobj = Py_BuildValue("s",_ptemp);
2875 return _resultobj;
2876}
2877
2878#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2879static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args) {
2880 PyObject * _resultobj;
2881 wxTreeCtrl * _arg0;
2882 wxTreeItemId * _arg1;
2883 wxString * _arg2;
2884 char * _argc0 = 0;
2885 char * _argc1 = 0;
2886 PyObject * _obj2 = 0;
2887
2888 self = self;
2889 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_SetItemText",&_argc0,&_argc1,&_obj2))
2890 return NULL;
2891 if (_argc0) {
2892 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
2894 return NULL;
2895 }
2896 }
2897 if (_argc1) {
2898 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
2900 return NULL;
2901 }
2902 }
2903{
2904 if (!PyString_Check(_obj2)) {
2905 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2906 return NULL;
2907 }
2908 _arg2 = new wxString(PyString_AsString(_obj2));
2909}
2910 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
2911 Py_INCREF(Py_None);
2912 _resultobj = Py_None;
2913{
2914 if (_obj2)
2915 delete _arg2;
2916}
2917 return _resultobj;
2918}
2919
2920#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
2921static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args) {
2922 PyObject * _resultobj;
2923 wxTreeCtrl * _arg0;
2924 wxTreeItemId * _arg1;
2925 int _arg2;
2926 char * _argc0 = 0;
2927 char * _argc1 = 0;
2928
2929 self = self;
2930 if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemImage",&_argc0,&_argc1,&_arg2))
2931 return NULL;
2932 if (_argc0) {
2933 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
2935 return NULL;
2936 }
2937 }
2938 if (_argc1) {
2939 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2940 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
2941 return NULL;
2942 }
2943 }
2944 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2);
2945 Py_INCREF(Py_None);
2946 _resultobj = Py_None;
2947 return _resultobj;
2948}
2949
2950#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
2951static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args) {
2952 PyObject * _resultobj;
2953 wxTreeCtrl * _arg0;
2954 wxTreeItemId * _arg1;
2955 int _arg2;
2956 char * _argc0 = 0;
2957 char * _argc1 = 0;
2958
2959 self = self;
2960 if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0,&_argc1,&_arg2))
2961 return NULL;
2962 if (_argc0) {
2963 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
2965 return NULL;
2966 }
2967 }
2968 if (_argc1) {
2969 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2970 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
2971 return NULL;
2972 }
2973 }
2974 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
2975 Py_INCREF(Py_None);
2976 _resultobj = Py_None;
2977 return _resultobj;
2978}
2979
2980#define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2981static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args) {
2982 PyObject * _resultobj;
2983 wxTreeCtrl * _arg0;
2984 wxTreeItemId * _arg1;
2985 wxTreeItemData * _arg2;
2986 char * _argc0 = 0;
2987 char * _argc1 = 0;
2988 char * _argc2 = 0;
2989
2990 self = self;
2991 if(!PyArg_ParseTuple(args,"sss:wxTreeCtrl_SetItemData",&_argc0,&_argc1,&_argc2))
2992 return NULL;
2993 if (_argc0) {
2994 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
2996 return NULL;
2997 }
2998 }
2999 if (_argc1) {
3000 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3001 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3002 return NULL;
3003 }
3004 }
3005 if (_argc2) {
3006 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItemData_p")) {
3007 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxTreeItemData_p.");
3008 return NULL;
3009 }
3010 }
3011 wxTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
3012 Py_INCREF(Py_None);
3013 _resultobj = Py_None;
3014 return _resultobj;
3015}
3016
dd9a3de8
RD
3017#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3018static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args) {
3019 PyObject * _resultobj;
3020 wxTreeCtrl * _arg0;
3021 wxTreeItemId * _arg1;
3022 bool _arg2 = (1);
3023 char * _argc0 = 0;
3024 char * _argc1 = 0;
3025 int tempbool2;
3026
3027 self = self;
3028 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0,&_argc1,&tempbool2))
3029 return NULL;
3030 if (_argc0) {
3031 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3033 return NULL;
3034 }
3035 }
3036 if (_argc1) {
3037 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3038 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3039 return NULL;
3040 }
3041 }
3042 _arg2 = (bool ) tempbool2;
3043 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
3044 Py_INCREF(Py_None);
3045 _resultobj = Py_None;
3046 return _resultobj;
3047}
3048
60e05667
RD
3049#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3050static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args) {
3051 PyObject * _resultobj;
3052 bool _result;
3053 wxTreeCtrl * _arg0;
3054 wxTreeItemId * _arg1;
3055 char * _argc0 = 0;
3056 char * _argc1 = 0;
3057
3058 self = self;
3059 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsVisible",&_argc0,&_argc1))
3060 return NULL;
3061 if (_argc0) {
3062 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3064 return NULL;
3065 }
3066 }
3067 if (_argc1) {
3068 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3069 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3070 return NULL;
3071 }
3072 }
3073 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
3074 _resultobj = Py_BuildValue("i",_result);
3075 return _resultobj;
3076}
3077
3078#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3079static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args) {
3080 PyObject * _resultobj;
3081 bool _result;
3082 wxTreeCtrl * _arg0;
3083 wxTreeItemId * _arg1;
3084 char * _argc0 = 0;
3085 char * _argc1 = 0;
3086
3087 self = self;
3088 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ItemHasChildren",&_argc0,&_argc1))
3089 return NULL;
3090 if (_argc0) {
3091 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3093 return NULL;
3094 }
3095 }
3096 if (_argc1) {
3097 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3098 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3099 return NULL;
3100 }
3101 }
3102 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
3103 _resultobj = Py_BuildValue("i",_result);
3104 return _resultobj;
3105}
3106
3107#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3108static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args) {
3109 PyObject * _resultobj;
3110 bool _result;
3111 wxTreeCtrl * _arg0;
3112 wxTreeItemId * _arg1;
3113 char * _argc0 = 0;
3114 char * _argc1 = 0;
3115
3116 self = self;
3117 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsExpanded",&_argc0,&_argc1))
3118 return NULL;
3119 if (_argc0) {
3120 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3122 return NULL;
3123 }
3124 }
3125 if (_argc1) {
3126 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3127 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3128 return NULL;
3129 }
3130 }
3131 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
3132 _resultobj = Py_BuildValue("i",_result);
3133 return _resultobj;
3134}
3135
3136#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3137static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args) {
3138 PyObject * _resultobj;
3139 bool _result;
3140 wxTreeCtrl * _arg0;
3141 wxTreeItemId * _arg1;
3142 char * _argc0 = 0;
3143 char * _argc1 = 0;
3144
3145 self = self;
3146 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsSelected",&_argc0,&_argc1))
3147 return NULL;
3148 if (_argc0) {
3149 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3151 return NULL;
3152 }
3153 }
3154 if (_argc1) {
3155 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3157 return NULL;
3158 }
3159 }
3160 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
3161 _resultobj = Py_BuildValue("i",_result);
3162 return _resultobj;
3163}
3164
3165#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3166static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args) {
3167 PyObject * _resultobj;
3168 wxTreeItemId * _result;
3169 wxTreeCtrl * _arg0;
3170 char * _argc0 = 0;
3171 char _ptemp[128];
3172
3173 self = self;
3174 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetRootItem",&_argc0))
3175 return NULL;
3176 if (_argc0) {
3177 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3179 return NULL;
3180 }
3181 }
3182 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
3183 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3184 _resultobj = Py_BuildValue("s",_ptemp);
3185 return _resultobj;
3186}
3187
3188#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3189static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args) {
3190 PyObject * _resultobj;
3191 wxTreeItemId * _result;
3192 wxTreeCtrl * _arg0;
3193 char * _argc0 = 0;
3194 char _ptemp[128];
3195
3196 self = self;
3197 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetSelection",&_argc0))
3198 return NULL;
3199 if (_argc0) {
3200 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3202 return NULL;
3203 }
3204 }
3205 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
3206 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3207 _resultobj = Py_BuildValue("s",_ptemp);
3208 return _resultobj;
3209}
3210
3211#define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3212static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args) {
3213 PyObject * _resultobj;
3214 wxTreeItemId * _result;
3215 wxTreeCtrl * _arg0;
3216 wxTreeItemId * _arg1;
3217 char * _argc0 = 0;
3218 char * _argc1 = 0;
3219 char _ptemp[128];
3220
3221 self = self;
3222 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetParent",&_argc0,&_argc1))
3223 return NULL;
3224 if (_argc0) {
3225 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3227 return NULL;
3228 }
3229 }
3230 if (_argc1) {
3231 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3232 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3233 return NULL;
3234 }
3235 }
3236 _result = new wxTreeItemId (wxTreeCtrl_GetParent(_arg0,*_arg1));
3237 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3238 _resultobj = Py_BuildValue("s",_ptemp);
3239 return _resultobj;
3240}
3241
3242#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3243static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args) {
3244 PyObject * _resultobj;
3245 wxTreeItemId * _result;
3246 wxTreeCtrl * _arg0;
3247 wxTreeItemId * _arg1;
3248 long * _arg2;
3249 char * _argc0 = 0;
3250 char * _argc1 = 0;
3251 long temp;
3252 PyObject * _obj2 = 0;
3253 char _ptemp[128];
3254
3255 self = self;
3256 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetFirstChild",&_argc0,&_argc1,&_obj2))
3257 return NULL;
3258 if (_argc0) {
3259 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3261 return NULL;
3262 }
3263 }
3264 if (_argc1) {
3265 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3267 return NULL;
3268 }
3269 }
3270{
3271 temp = (long) PyInt_AsLong(_obj2);
3272 _arg2 = &temp;
3273}
3274 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
3275 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3276 _resultobj = Py_BuildValue("s",_ptemp);
3277{
3278 PyObject *o;
3279 o = PyInt_FromLong((long) (*_arg2));
3280 _resultobj = t_output_helper(_resultobj, o);
3281}
3282 return _resultobj;
3283}
3284
3285#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
3286static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args) {
3287 PyObject * _resultobj;
3288 wxTreeItemId * _result;
3289 wxTreeCtrl * _arg0;
3290 wxTreeItemId * _arg1;
3291 long * _arg2;
3292 char * _argc0 = 0;
3293 char * _argc1 = 0;
3294 long temp;
3295 PyObject * _obj2 = 0;
3296 char _ptemp[128];
3297
3298 self = self;
3299 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetNextChild",&_argc0,&_argc1,&_obj2))
3300 return NULL;
3301 if (_argc0) {
3302 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
3304 return NULL;
3305 }
3306 }
3307 if (_argc1) {
3308 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3309 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
3310 return NULL;
3311 }
3312 }
3313{
3314 temp = (long) PyInt_AsLong(_obj2);
3315 _arg2 = &temp;
3316}
3317 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
3318 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3319 _resultobj = Py_BuildValue("s",_ptemp);
3320{
3321 PyObject *o;
3322 o = PyInt_FromLong((long) (*_arg2));
3323 _resultobj = t_output_helper(_resultobj, o);
3324}
3325 return _resultobj;
3326}
3327
3328#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
3329static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args) {
3330 PyObject * _resultobj;
3331 wxTreeItemId * _result;
3332 wxTreeCtrl * _arg0;
3333 wxTreeItemId * _arg1;
3334 char * _argc0 = 0;
3335 char * _argc1 = 0;
3336 char _ptemp[128];
3337
3338 self = self;
3339 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextSibling",&_argc0,&_argc1))
3340 return NULL;
3341 if (_argc0) {
3342 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
3344 return NULL;
3345 }
3346 }
3347 if (_argc1) {
3348 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3349 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
3350 return NULL;
3351 }
3352 }
3353 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
3354 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3355 _resultobj = Py_BuildValue("s",_ptemp);
3356 return _resultobj;
3357}
3358
3359#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
3360static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args) {
3361 PyObject * _resultobj;
3362 wxTreeItemId * _result;
3363 wxTreeCtrl * _arg0;
3364 wxTreeItemId * _arg1;
3365 char * _argc0 = 0;
3366 char * _argc1 = 0;
3367 char _ptemp[128];
3368
3369 self = self;
3370 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevSibling",&_argc0,&_argc1))
3371 return NULL;
3372 if (_argc0) {
3373 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
3375 return NULL;
3376 }
3377 }
3378 if (_argc1) {
3379 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3380 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
3381 return NULL;
3382 }
3383 }
3384 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
3385 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3386 _resultobj = Py_BuildValue("s",_ptemp);
3387 return _resultobj;
3388}
3389
3390#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
3391static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args) {
3392 PyObject * _resultobj;
3393 wxTreeItemId * _result;
3394 wxTreeCtrl * _arg0;
3395 char * _argc0 = 0;
3396 char _ptemp[128];
3397
3398 self = self;
3399 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0))
3400 return NULL;
3401 if (_argc0) {
3402 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
3404 return NULL;
3405 }
3406 }
3407 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
3408 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3409 _resultobj = Py_BuildValue("s",_ptemp);
3410 return _resultobj;
3411}
3412
3413#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
3414static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args) {
3415 PyObject * _resultobj;
3416 wxTreeItemId * _result;
3417 wxTreeCtrl * _arg0;
3418 wxTreeItemId * _arg1;
3419 char * _argc0 = 0;
3420 char * _argc1 = 0;
3421 char _ptemp[128];
3422
3423 self = self;
3424 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextVisible",&_argc0,&_argc1))
3425 return NULL;
3426 if (_argc0) {
3427 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
3429 return NULL;
3430 }
3431 }
3432 if (_argc1) {
3433 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3434 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
3435 return NULL;
3436 }
3437 }
3438 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
3439 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3440 _resultobj = Py_BuildValue("s",_ptemp);
3441 return _resultobj;
3442}
3443
3444#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
3445static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args) {
3446 PyObject * _resultobj;
3447 wxTreeItemId * _result;
3448 wxTreeCtrl * _arg0;
3449 wxTreeItemId * _arg1;
3450 char * _argc0 = 0;
3451 char * _argc1 = 0;
3452 char _ptemp[128];
3453
3454 self = self;
3455 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevVisible",&_argc0,&_argc1))
3456 return NULL;
3457 if (_argc0) {
3458 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
3460 return NULL;
3461 }
3462 }
3463 if (_argc1) {
3464 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3465 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
3466 return NULL;
3467 }
3468 }
3469 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
3470 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3471 _resultobj = Py_BuildValue("s",_ptemp);
3472 return _resultobj;
3473}
3474
3475#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3476static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args) {
3477 PyObject * _resultobj;
3478 wxTreeItemId * _result;
3479 wxTreeCtrl * _arg0;
3480 wxString * _arg1;
3481 int _arg2 = -1;
3482 int _arg3 = -1;
3483 wxTreeItemData * _arg4 = NULL;
3484 char * _argc0 = 0;
3485 PyObject * _obj1 = 0;
3486 char * _argc4 = 0;
3487 char _ptemp[128];
3488
3489 self = self;
3490 if(!PyArg_ParseTuple(args,"sO|iis:wxTreeCtrl_AddRoot",&_argc0,&_obj1,&_arg2,&_arg3,&_argc4))
3491 return NULL;
3492 if (_argc0) {
3493 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
3495 return NULL;
3496 }
3497 }
3498{
3499 if (!PyString_Check(_obj1)) {
3500 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3501 return NULL;
3502 }
3503 _arg1 = new wxString(PyString_AsString(_obj1));
3504}
3505 if (_argc4) {
3506 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxTreeItemData_p")) {
3507 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p.");
3508 return NULL;
3509 }
3510 }
3511 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
3512 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3513 _resultobj = Py_BuildValue("s",_ptemp);
3514{
3515 if (_obj1)
3516 delete _arg1;
3517}
3518 return _resultobj;
3519}
3520
3521#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3522static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args) {
3523 PyObject * _resultobj;
3524 wxTreeItemId * _result;
3525 wxTreeCtrl * _arg0;
3526 wxTreeItemId * _arg1;
3527 wxString * _arg2;
3528 int _arg3 = -1;
3529 int _arg4 = -1;
3530 wxTreeItemData * _arg5 = NULL;
3531 char * _argc0 = 0;
3532 char * _argc1 = 0;
3533 PyObject * _obj2 = 0;
3534 char * _argc5 = 0;
3535 char _ptemp[128];
3536
3537 self = self;
3538 if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5))
3539 return NULL;
3540 if (_argc0) {
3541 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
3543 return NULL;
3544 }
3545 }
3546 if (_argc1) {
3547 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
3549 return NULL;
3550 }
3551 }
3552{
3553 if (!PyString_Check(_obj2)) {
3554 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3555 return NULL;
3556 }
3557 _arg2 = new wxString(PyString_AsString(_obj2));
3558}
3559 if (_argc5) {
3560 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxTreeItemData_p")) {
3561 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p.");
3562 return NULL;
3563 }
3564 }
3565 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
3566 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3567 _resultobj = Py_BuildValue("s",_ptemp);
3568{
3569 if (_obj2)
3570 delete _arg2;
3571}
3572 return _resultobj;
3573}
3574
3575#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3576static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args) {
3577 PyObject * _resultobj;
3578 wxTreeItemId * _result;
3579 wxTreeCtrl * _arg0;
3580 wxTreeItemId * _arg1;
3581 wxTreeItemId * _arg2;
3582 wxString * _arg3;
3583 int _arg4 = -1;
3584 int _arg5 = -1;
3585 wxTreeItemData * _arg6 = NULL;
3586 char * _argc0 = 0;
3587 char * _argc1 = 0;
3588 char * _argc2 = 0;
3589 PyObject * _obj3 = 0;
3590 char * _argc6 = 0;
3591 char _ptemp[128];
3592
3593 self = self;
3594 if(!PyArg_ParseTuple(args,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0,&_argc1,&_argc2,&_obj3,&_arg4,&_arg5,&_argc6))
3595 return NULL;
3596 if (_argc0) {
3597 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
3599 return NULL;
3600 }
3601 }
3602 if (_argc1) {
3603 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3604 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3605 return NULL;
3606 }
3607 }
3608 if (_argc2) {
3609 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItemId_p")) {
3610 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3611 return NULL;
3612 }
3613 }
3614{
3615 if (!PyString_Check(_obj3)) {
3616 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3617 return NULL;
3618 }
3619 _arg3 = new wxString(PyString_AsString(_obj3));
3620}
3621 if (_argc6) {
3622 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxTreeItemData_p")) {
3623 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p.");
3624 return NULL;
3625 }
3626 }
3627 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
3628 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3629 _resultobj = Py_BuildValue("s",_ptemp);
3630{
3631 if (_obj3)
3632 delete _arg3;
3633}
3634 return _resultobj;
3635}
3636
3637#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3638static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args) {
3639 PyObject * _resultobj;
3640 wxTreeItemId * _result;
3641 wxTreeCtrl * _arg0;
3642 wxTreeItemId * _arg1;
3643 wxString * _arg2;
3644 int _arg3 = -1;
3645 int _arg4 = -1;
3646 wxTreeItemData * _arg5 = NULL;
3647 char * _argc0 = 0;
3648 char * _argc1 = 0;
3649 PyObject * _obj2 = 0;
3650 char * _argc5 = 0;
3651 char _ptemp[128];
3652
3653 self = self;
3654 if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5))
3655 return NULL;
3656 if (_argc0) {
3657 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
3659 return NULL;
3660 }
3661 }
3662 if (_argc1) {
3663 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3664 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
3665 return NULL;
3666 }
3667 }
3668{
3669 if (!PyString_Check(_obj2)) {
3670 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3671 return NULL;
3672 }
3673 _arg2 = new wxString(PyString_AsString(_obj2));
3674}
3675 if (_argc5) {
3676 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxTreeItemData_p")) {
3677 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p.");
3678 return NULL;
3679 }
3680 }
3681 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
3682 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3683 _resultobj = Py_BuildValue("s",_ptemp);
3684{
3685 if (_obj2)
3686 delete _arg2;
3687}
3688 return _resultobj;
3689}
3690
3691#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3692static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args) {
3693 PyObject * _resultobj;
3694 wxTreeCtrl * _arg0;
3695 wxTreeItemId * _arg1;
3696 char * _argc0 = 0;
3697 char * _argc1 = 0;
3698
3699 self = self;
3700 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Delete",&_argc0,&_argc1))
3701 return NULL;
3702 if (_argc0) {
3703 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
3705 return NULL;
3706 }
3707 }
3708 if (_argc1) {
3709 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3710 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
3711 return NULL;
3712 }
3713 }
3714 wxTreeCtrl_Delete(_arg0,*_arg1);
3715 Py_INCREF(Py_None);
3716 _resultobj = Py_None;
3717 return _resultobj;
3718}
3719
dd9a3de8
RD
3720#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
3721static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args) {
3722 PyObject * _resultobj;
3723 wxTreeCtrl * _arg0;
3724 wxTreeItemId * _arg1;
3725 char * _argc0 = 0;
3726 char * _argc1 = 0;
3727
3728 self = self;
3729 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_DeleteChildren",&_argc0,&_argc1))
3730 return NULL;
3731 if (_argc0) {
3732 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
3734 return NULL;
3735 }
3736 }
3737 if (_argc1) {
3738 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3739 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
3740 return NULL;
3741 }
3742 }
3743 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
3744 Py_INCREF(Py_None);
3745 _resultobj = Py_None;
3746 return _resultobj;
3747}
3748
60e05667
RD
3749#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3750static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args) {
3751 PyObject * _resultobj;
3752 wxTreeCtrl * _arg0;
3753 char * _argc0 = 0;
3754
3755 self = self;
3756 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_DeleteAllItems",&_argc0))
3757 return NULL;
3758 if (_argc0) {
3759 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
3761 return NULL;
3762 }
3763 }
3764 wxTreeCtrl_DeleteAllItems(_arg0);
3765 Py_INCREF(Py_None);
3766 _resultobj = Py_None;
3767 return _resultobj;
3768}
3769
3770#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
3771static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args) {
3772 PyObject * _resultobj;
3773 wxTreeCtrl * _arg0;
3774 wxTreeItemId * _arg1;
3775 char * _argc0 = 0;
3776 char * _argc1 = 0;
3777
3778 self = self;
3779 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Expand",&_argc0,&_argc1))
3780 return NULL;
3781 if (_argc0) {
3782 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
3784 return NULL;
3785 }
3786 }
3787 if (_argc1) {
3788 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3789 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
3790 return NULL;
3791 }
3792 }
3793 wxTreeCtrl_Expand(_arg0,*_arg1);
3794 Py_INCREF(Py_None);
3795 _resultobj = Py_None;
3796 return _resultobj;
3797}
3798
3799#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
3800static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args) {
3801 PyObject * _resultobj;
3802 wxTreeCtrl * _arg0;
3803 wxTreeItemId * _arg1;
3804 char * _argc0 = 0;
3805 char * _argc1 = 0;
3806
3807 self = self;
3808 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Collapse",&_argc0,&_argc1))
3809 return NULL;
3810 if (_argc0) {
3811 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
3813 return NULL;
3814 }
3815 }
3816 if (_argc1) {
3817 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3818 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
3819 return NULL;
3820 }
3821 }
3822 wxTreeCtrl_Collapse(_arg0,*_arg1);
3823 Py_INCREF(Py_None);
3824 _resultobj = Py_None;
3825 return _resultobj;
3826}
3827
3828#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
3829static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args) {
3830 PyObject * _resultobj;
3831 wxTreeCtrl * _arg0;
3832 wxTreeItemId * _arg1;
3833 char * _argc0 = 0;
3834 char * _argc1 = 0;
3835
3836 self = self;
3837 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_CollapseAndReset",&_argc0,&_argc1))
3838 return NULL;
3839 if (_argc0) {
3840 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
3842 return NULL;
3843 }
3844 }
3845 if (_argc1) {
3846 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3847 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
3848 return NULL;
3849 }
3850 }
3851 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
3852 Py_INCREF(Py_None);
3853 _resultobj = Py_None;
3854 return _resultobj;
3855}
3856
3857#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3858static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args) {
3859 PyObject * _resultobj;
3860 wxTreeCtrl * _arg0;
3861 wxTreeItemId * _arg1;
3862 char * _argc0 = 0;
3863 char * _argc1 = 0;
3864
3865 self = self;
3866 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Toggle",&_argc0,&_argc1))
3867 return NULL;
3868 if (_argc0) {
3869 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
3871 return NULL;
3872 }
3873 }
3874 if (_argc1) {
3875 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3876 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
3877 return NULL;
3878 }
3879 }
3880 wxTreeCtrl_Toggle(_arg0,*_arg1);
3881 Py_INCREF(Py_None);
3882 _resultobj = Py_None;
3883 return _resultobj;
3884}
3885
3886#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
3887static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args) {
3888 PyObject * _resultobj;
3889 wxTreeCtrl * _arg0;
3890 char * _argc0 = 0;
3891
3892 self = self;
3893 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_Unselect",&_argc0))
3894 return NULL;
3895 if (_argc0) {
3896 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
3898 return NULL;
3899 }
3900 }
3901 wxTreeCtrl_Unselect(_arg0);
3902 Py_INCREF(Py_None);
3903 _resultobj = Py_None;
3904 return _resultobj;
3905}
3906
3907#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
3908static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args) {
3909 PyObject * _resultobj;
3910 wxTreeCtrl * _arg0;
3911 wxTreeItemId * _arg1;
3912 char * _argc0 = 0;
3913 char * _argc1 = 0;
3914
3915 self = self;
3916 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SelectItem",&_argc0,&_argc1))
3917 return NULL;
3918 if (_argc0) {
3919 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
3921 return NULL;
3922 }
3923 }
3924 if (_argc1) {
3925 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3926 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
3927 return NULL;
3928 }
3929 }
3930 wxTreeCtrl_SelectItem(_arg0,*_arg1);
3931 Py_INCREF(Py_None);
3932 _resultobj = Py_None;
3933 return _resultobj;
3934}
3935
3936#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3937static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args) {
3938 PyObject * _resultobj;
3939 wxTreeCtrl * _arg0;
3940 wxTreeItemId * _arg1;
3941 char * _argc0 = 0;
3942 char * _argc1 = 0;
3943
3944 self = self;
3945 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EnsureVisible",&_argc0,&_argc1))
3946 return NULL;
3947 if (_argc0) {
3948 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
3950 return NULL;
3951 }
3952 }
3953 if (_argc1) {
3954 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3955 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
3956 return NULL;
3957 }
3958 }
3959 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
3960 Py_INCREF(Py_None);
3961 _resultobj = Py_None;
3962 return _resultobj;
3963}
3964
3965#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
3966static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args) {
3967 PyObject * _resultobj;
3968 wxTreeCtrl * _arg0;
3969 wxTreeItemId * _arg1;
3970 char * _argc0 = 0;
3971 char * _argc1 = 0;
3972
3973 self = self;
3974 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ScrollTo",&_argc0,&_argc1))
3975 return NULL;
3976 if (_argc0) {
3977 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
3979 return NULL;
3980 }
3981 }
3982 if (_argc1) {
3983 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3984 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
3985 return NULL;
3986 }
3987 }
3988 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
3989 Py_INCREF(Py_None);
3990 _resultobj = Py_None;
3991 return _resultobj;
3992}
3993
3994#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3995static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args) {
3996 PyObject * _resultobj;
3997 wxTextCtrl * _result;
3998 wxTreeCtrl * _arg0;
3999 wxTreeItemId * _arg1;
4000 char * _argc0 = 0;
4001 char * _argc1 = 0;
4002 char _ptemp[128];
4003
4004 self = self;
4005 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EditLabel",&_argc0,&_argc1))
4006 return NULL;
4007 if (_argc0) {
4008 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4010 return NULL;
4011 }
4012 }
4013 if (_argc1) {
4014 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4015 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4016 return NULL;
4017 }
4018 }
4019 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
4020 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
4021 _resultobj = Py_BuildValue("s",_ptemp);
4022 return _resultobj;
4023}
4024
4025#define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
4026static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args) {
4027 PyObject * _resultobj;
4028 wxTextCtrl * _result;
4029 wxTreeCtrl * _arg0;
4030 char * _argc0 = 0;
4031 char _ptemp[128];
4032
4033 self = self;
4034 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetEditControl",&_argc0))
4035 return NULL;
4036 if (_argc0) {
4037 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
4039 return NULL;
4040 }
4041 }
4042 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
4043 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
4044 _resultobj = Py_BuildValue("s",_ptemp);
4045 return _resultobj;
4046}
4047
4048#define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
4049static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args) {
4050 PyObject * _resultobj;
4051 wxTreeCtrl * _arg0;
4052 wxTreeItemId * _arg1;
4053 bool _arg2 = (0);
4054 char * _argc0 = 0;
4055 char * _argc1 = 0;
4056 int tempbool2;
4057
4058 self = self;
4059 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0,&_argc1,&tempbool2))
4060 return NULL;
4061 if (_argc0) {
4062 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
4064 return NULL;
4065 }
4066 }
4067 if (_argc1) {
4068 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4069 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
4070 return NULL;
4071 }
4072 }
4073 _arg2 = (bool ) tempbool2;
4074 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
4075 Py_INCREF(Py_None);
4076 _resultobj = Py_None;
4077 return _resultobj;
4078}
4079
105e45b9
RD
4080#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4081static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args) {
4082 PyObject * _resultobj;
4083 wxTreeCtrl * _arg0;
4084 wxTreeItemId * _arg1;
4085 bool _arg2 = (1);
4086 char * _argc0 = 0;
4087 char * _argc1 = 0;
4088 int tempbool2;
4089
4090 self = self;
4091 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetItemBold",&_argc0,&_argc1,&tempbool2))
4092 return NULL;
4093 if (_argc0) {
4094 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4096 return NULL;
4097 }
4098 }
4099 if (_argc1) {
4100 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4101 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4102 return NULL;
4103 }
4104 }
4105 _arg2 = (bool ) tempbool2;
4106 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
4107 Py_INCREF(Py_None);
4108 _resultobj = Py_None;
4109 return _resultobj;
4110}
4111
4112#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4113static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args) {
4114 PyObject * _resultobj;
4115 bool _result;
4116 wxTreeCtrl * _arg0;
4117 wxTreeItemId * _arg1;
4118 char * _argc0 = 0;
4119 char * _argc1 = 0;
4120
4121 self = self;
4122 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsBold",&_argc0,&_argc1))
4123 return NULL;
4124 if (_argc0) {
4125 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4127 return NULL;
4128 }
4129 }
4130 if (_argc1) {
4131 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4132 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4133 return NULL;
4134 }
4135 }
4136 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
4137 _resultobj = Py_BuildValue("i",_result);
4138 return _resultobj;
4139}
4140
c95e68d8
RD
4141#define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4142static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args) {
4143 PyObject * _resultobj;
4144 wxTreeItemId * _result;
4145 wxTreeCtrl * _arg0;
4146 wxPoint * _arg1;
4147 char * _argc0 = 0;
4148 char * _argc1 = 0;
4149 char _ptemp[128];
4150
4151 self = self;
4152 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_HitTest",&_argc0,&_argc1))
4153 return NULL;
4154 if (_argc0) {
4155 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4157 return NULL;
4158 }
4159 }
4160 if (_argc1) {
4161 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
4162 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4163 return NULL;
4164 }
4165 }
4166 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1));
4167 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4168 _resultobj = Py_BuildValue("s",_ptemp);
4169 return _resultobj;
4170}
4171
70551f47 4172static PyMethodDef controls2cMethods[] = {
c95e68d8 4173 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest, 1 },
105e45b9
RD
4174 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold, 1 },
4175 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold, 1 },
60e05667
RD
4176 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel, 1 },
4177 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl, 1 },
4178 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel, 1 },
4179 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo, 1 },
4180 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible, 1 },
4181 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem, 1 },
4182 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect, 1 },
4183 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle, 1 },
4184 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset, 1 },
4185 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse, 1 },
4186 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand, 1 },
4187 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems, 1 },
dd9a3de8 4188 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren, 1 },
60e05667
RD
4189 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete, 1 },
4190 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem, 1 },
4191 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem, 1 },
4192 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem, 1 },
4193 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot, 1 },
4194 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible, 1 },
4195 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible, 1 },
4196 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem, 1 },
4197 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling, 1 },
4198 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling, 1 },
4199 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild, 1 },
4200 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild, 1 },
4201 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent, 1 },
4202 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection, 1 },
4203 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem, 1 },
4204 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected, 1 },
4205 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded, 1 },
4206 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren, 1 },
4207 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible, 1 },
dd9a3de8 4208 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren, 1 },
60e05667
RD
4209 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData, 1 },
4210 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage, 1 },
4211 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage, 1 },
4212 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText, 1 },
4213 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData, 1 },
4214 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage, 1 },
4215 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage, 1 },
4216 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText, 1 },
4217 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList, 1 },
4218 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList, 1 },
4219 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList, 1 },
4220 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList, 1 },
4221 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent, 1 },
4222 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent, 1 },
4223 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount, 1 },
4224 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl, 1 },
4225 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto, 1 },
4226 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode, 1 },
4227 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint, 1 },
4228 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem, 1 },
4229 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem, 1 },
4230 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId, 1 },
4231 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId, 1 },
4232 { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData, 1 },
4233 { "new_wxTreeItemData", _wrap_new_wxTreeItemData, 1 },
4234 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk, 1 },
4235 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId, 1 },
4236 { "new_wxTreeItemId", _wrap_new_wxTreeItemId, 1 },
70551f47
RD
4237 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag, 1 },
4238 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle, 1 },
4239 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText, 1 },
4240 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState, 1 },
4241 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition, 1 },
4242 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage, 1 },
4243 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData, 1 },
21f8d7ea 4244 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem, 1 },
70551f47
RD
4245 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem, 1 },
4246 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList, 1 },
4247 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth, 1 },
4248 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn, 1 },
4249 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour, 1 },
4250 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList, 1 },
4251 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem, 1 },
4252 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem, 1 },
4253 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem, 1 },
4254 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem, 1 },
4255 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn, 1 },
4256 { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo, 1 },
4257 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest, 1 },
4258 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem, 1 },
4259 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount, 1 },
4260 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem, 1 },
4261 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText, 1 },
4262 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing, 1 },
4263 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount, 1 },
4264 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState, 1 },
4265 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect, 1 },
4266 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition, 1 },
4267 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem, 1 },
4268 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData, 1 },
4269 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList, 1 },
4270 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage, 1 },
4271 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth, 1 },
4272 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn, 1 },
4273 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos, 1 },
4274 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData, 1 },
4275 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem, 1 },
4276 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible, 1 },
c95e68d8
RD
4277 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll, 1 },
4278 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns, 1 },
70551f47
RD
4279 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn, 1 },
4280 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems, 1 },
4281 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem, 1 },
4282 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange, 1 },
4283 { "new_wxListCtrl", _wrap_new_wxListCtrl, 1 },
4284 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get, 1 },
21f8d7ea 4285 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set, 1 },
70551f47 4286 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get, 1 },
21f8d7ea 4287 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set, 1 },
70551f47 4288 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get, 1 },
21f8d7ea 4289 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set, 1 },
70551f47 4290 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get, 1 },
21f8d7ea 4291 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set, 1 },
70551f47 4292 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get, 1 },
21f8d7ea 4293 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set, 1 },
70551f47 4294 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get, 1 },
21f8d7ea 4295 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set, 1 },
70551f47 4296 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get, 1 },
21f8d7ea 4297 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set, 1 },
70551f47
RD
4298 { "delete_wxListItem", _wrap_delete_wxListItem, 1 },
4299 { "new_wxListItem", _wrap_new_wxListItem, 1 },
4300 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get, 1 },
21f8d7ea 4301 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set, 1 },
70551f47 4302 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get, 1 },
21f8d7ea 4303 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set, 1 },
70551f47 4304 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get, 1 },
21f8d7ea 4305 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set, 1 },
70551f47 4306 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get, 1 },
21f8d7ea 4307 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set, 1 },
70551f47 4308 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get, 1 },
21f8d7ea 4309 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set, 1 },
70551f47 4310 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get, 1 },
21f8d7ea 4311 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set, 1 },
70551f47 4312 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get, 1 },
21f8d7ea 4313 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set, 1 },
70551f47 4314 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get, 1 },
21f8d7ea 4315 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set, 1 },
70551f47 4316 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get, 1 },
21f8d7ea 4317 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set, 1 },
70551f47 4318 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get, 1 },
21f8d7ea 4319 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set, 1 },
70551f47
RD
4320 { NULL, NULL }
4321};
4322static PyObject *SWIG_globals;
4323#ifdef __cplusplus
4324extern "C"
4325#endif
4326SWIGEXPORT(void,initcontrols2c)() {
4327 PyObject *m, *d;
4328 SWIG_globals = SWIG_newvarlink();
4329 m = Py_InitModule("controls2c", controls2cMethods);
4330 d = PyModule_GetDict(m);
21f8d7ea
RD
4331 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
4332 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
4333 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
4334 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
4335 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
4336 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
4337 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
4338 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
4339 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
4340 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
4341 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
4342 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
4343 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
4344 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
4345 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
4346 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
4347 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
4348 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
4349 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
4350 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
4351 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
4352 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
4353 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
4354 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
4355 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
4356 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
4357 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
4358 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
4359 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
4360 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
4361 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
4362 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
4363 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
4364 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
4365 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
4366 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
4367 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
4368 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
4369 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
4370 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
4371 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
4372 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
70551f47
RD
4373/*
4374 * These are the pointer type-equivalency mappings.
4375 * (Used by the SWIG pointer type-checker).
4376 */
faf3cb35 4377 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
60e05667
RD
4378 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
4379 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
70551f47
RD
4380 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
4381 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
4382 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
4383 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
4384 SWIG_RegisterMapping("_signed_long","_long",0);
4385 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
105e45b9 4386 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
70551f47 4387 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
60e05667
RD
4388 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
4389 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
70551f47
RD
4390 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
4391 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
4392 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4393 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4394 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4395 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
60e05667 4396 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
21f8d7ea 4397 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
70551f47
RD
4398 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4399 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4400 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4401 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4402 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4403 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4404 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4405 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4406 SWIG_RegisterMapping("_long","_wxDash",0);
4407 SWIG_RegisterMapping("_long","_unsigned_long",0);
4408 SWIG_RegisterMapping("_long","_signed_long",0);
21f8d7ea 4409 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
70551f47
RD
4410 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4411 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
faf3cb35 4412 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
70551f47
RD
4413 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4414 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4415 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
62bd0874 4416 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
70551f47
RD
4417 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4418 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4419 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4420 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4421 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4422 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4423 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4424 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4425 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
21f8d7ea 4426 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
70551f47
RD
4427 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4428 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4429 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4430 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4431 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4432 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4433 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4434 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4435 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4436 SWIG_RegisterMapping("_uint","_int",0);
4437 SWIG_RegisterMapping("_uint","_wxWindowID",0);
60e05667
RD
4438 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
4439 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
70551f47
RD
4440 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
4441 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
4442 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
c95e68d8 4443 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
70551f47 4444 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
60e05667
RD
4445 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
4446 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
70551f47
RD
4447 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
4448 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
4449 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4450 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4451 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4452 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4453 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
60e05667 4454 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
70551f47
RD
4455 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4456 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
c95e68d8 4457 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
70551f47 4458 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
62bd0874 4459 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
70551f47
RD
4460 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4461 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4462 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4463 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
4464 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4465 SWIG_RegisterMapping("_EBool","_signed_int",0);
4466 SWIG_RegisterMapping("_EBool","_int",0);
4467 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
105e45b9 4468 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
70551f47
RD
4469 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4470 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4471 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4472 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4473 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4474 SWIG_RegisterMapping("_unsigned_long","_long",0);
4475 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4476 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
60e05667 4477 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
70551f47
RD
4478 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4479 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4480 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
62bd0874 4481 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
faf3cb35 4482 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
70551f47
RD
4483 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4484 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4485 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4486 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4487 SWIG_RegisterMapping("_signed_int","_EBool",0);
4488 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4489 SWIG_RegisterMapping("_signed_int","_int",0);
4490 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4491 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4492 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4493 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4494 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4495 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4496 SWIG_RegisterMapping("_WXTYPE","_short",0);
4497 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4498 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4499 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4500 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4501 SWIG_RegisterMapping("_unsigned_short","_short",0);
60e05667
RD
4502 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
4503 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
70551f47
RD
4504 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
4505 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
4506 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4507 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4508 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4509 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
70551f47
RD
4510 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4511 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4512 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4513 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
4514 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4515 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4516 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4517 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4518 SWIG_RegisterMapping("_signed_short","_short",0);
4519 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4520 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
c95e68d8 4521 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
70551f47
RD
4522 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4523 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
faf3cb35 4524 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
70551f47
RD
4525 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4526 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4527 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
60e05667 4528 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
70551f47
RD
4529 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4530 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
60e05667
RD
4531 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
4532 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
70551f47
RD
4533 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
4534 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
4535 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4536 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4537 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4538 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4539 SWIG_RegisterMapping("_unsigned_int","_int",0);
4540 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4541 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4542 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4543 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
4544 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4545 SWIG_RegisterMapping("_short","_WXTYPE",0);
4546 SWIG_RegisterMapping("_short","_unsigned_short",0);
4547 SWIG_RegisterMapping("_short","_signed_short",0);
4548 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4549 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4550 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4551 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4552 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
21f8d7ea 4553 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
70551f47 4554 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
70551f47
RD
4555 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4556 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4557 SWIG_RegisterMapping("_wxWindowID","_int",0);
4558 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4559 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4560 SWIG_RegisterMapping("_int","_EBool",0);
4561 SWIG_RegisterMapping("_int","_uint",0);
4562 SWIG_RegisterMapping("_int","_wxWindowID",0);
4563 SWIG_RegisterMapping("_int","_unsigned_int",0);
4564 SWIG_RegisterMapping("_int","_signed_int",0);
4565 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4566 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
62bd0874 4567 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
70551f47
RD
4568 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4569 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
105e45b9 4570 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
70551f47
RD
4571 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4572 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4573 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4574 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4575 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
60e05667
RD
4576 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
4577 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
70551f47
RD
4578 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4579 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
60e05667
RD
4580 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
4581 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
70551f47
RD
4582 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
4583 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
4584 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4585 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4586 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4587 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4588 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
105e45b9 4589 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
70551f47
RD
4590 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4591 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4592 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
105e45b9 4593 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
70551f47
RD
4594 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4595 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4596 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
c95e68d8 4597 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
60e05667
RD
4598 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
4599 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
70551f47
RD
4600 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
4601 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
4602 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4603 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4604 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4605 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
60e05667 4606 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
70551f47
RD
4607 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4608 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4609 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4610 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
60e05667
RD
4611 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
4612 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
4613 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
70551f47
RD
4614 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
4615 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
4616 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4617 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4618 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4619 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4620 SWIG_RegisterMapping("_wxDash","_long",0);
4621 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4622 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4623 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
105e45b9 4624 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
70551f47 4625 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
60e05667
RD
4626 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
4627 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
70551f47
RD
4628 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
4629 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
4630 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
70551f47 4631}