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