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