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