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