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