]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls2.cpp
52f5782e12426490f02678ee36ad84220f3e106f
[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) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
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 char * _arg5 = "wxTreeCtrl";
2097 char * _argc0 = 0;
2098 char * _argc2 = 0;
2099 char * _argc3 = 0;
2100 char _ptemp[128];
2101
2102 self = self;
2103 if(!PyArg_ParseTuple(args,"s|issls:new_wxTreeCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
2104 return NULL;
2105 if (_argc0) {
2106 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2108 return NULL;
2109 }
2110 }
2111 if (_argc2) {
2112 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2113 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2114 return NULL;
2115 }
2116 }
2117 if (_argc3) {
2118 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2119 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2120 return NULL;
2121 }
2122 }
2123 _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
2124 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
2125 _resultobj = Py_BuildValue("s",_ptemp);
2126 return _resultobj;
2127 }
2128
2129 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2130 static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args) {
2131 PyObject * _resultobj;
2132 size_t * _result;
2133 wxTreeCtrl * _arg0;
2134 char * _argc0 = 0;
2135 char _ptemp[128];
2136
2137 self = self;
2138 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetCount",&_argc0))
2139 return NULL;
2140 if (_argc0) {
2141 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2143 return NULL;
2144 }
2145 }
2146 _result = new size_t (wxTreeCtrl_GetCount(_arg0));
2147 SWIG_MakePtr(_ptemp, (void *) _result,"_size_t_p");
2148 _resultobj = Py_BuildValue("s",_ptemp);
2149 return _resultobj;
2150 }
2151
2152 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2153 static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args) {
2154 PyObject * _resultobj;
2155 unsigned int _result;
2156 wxTreeCtrl * _arg0;
2157 char * _argc0 = 0;
2158
2159 self = self;
2160 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetIndent",&_argc0))
2161 return NULL;
2162 if (_argc0) {
2163 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2165 return NULL;
2166 }
2167 }
2168 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
2169 _resultobj = Py_BuildValue("i",_result);
2170 return _resultobj;
2171 }
2172
2173 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2174 static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args) {
2175 PyObject * _resultobj;
2176 wxTreeCtrl * _arg0;
2177 unsigned int _arg1;
2178 char * _argc0 = 0;
2179
2180 self = self;
2181 if(!PyArg_ParseTuple(args,"si:wxTreeCtrl_SetIndent",&_argc0,&_arg1))
2182 return NULL;
2183 if (_argc0) {
2184 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2186 return NULL;
2187 }
2188 }
2189 wxTreeCtrl_SetIndent(_arg0,_arg1);
2190 Py_INCREF(Py_None);
2191 _resultobj = Py_None;
2192 return _resultobj;
2193 }
2194
2195 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2196 static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args) {
2197 PyObject * _resultobj;
2198 wxImageList * _result;
2199 wxTreeCtrl * _arg0;
2200 char * _argc0 = 0;
2201 char _ptemp[128];
2202
2203 self = self;
2204 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetImageList",&_argc0))
2205 return NULL;
2206 if (_argc0) {
2207 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2209 return NULL;
2210 }
2211 }
2212 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
2213 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
2214 _resultobj = Py_BuildValue("s",_ptemp);
2215 return _resultobj;
2216 }
2217
2218 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2219 static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args) {
2220 PyObject * _resultobj;
2221 wxImageList * _result;
2222 wxTreeCtrl * _arg0;
2223 char * _argc0 = 0;
2224 char _ptemp[128];
2225
2226 self = self;
2227 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetStateImageList",&_argc0))
2228 return NULL;
2229 if (_argc0) {
2230 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
2232 return NULL;
2233 }
2234 }
2235 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
2236 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
2237 _resultobj = Py_BuildValue("s",_ptemp);
2238 return _resultobj;
2239 }
2240
2241 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2242 static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args) {
2243 PyObject * _resultobj;
2244 wxTreeCtrl * _arg0;
2245 wxImageList * _arg1;
2246 char * _argc0 = 0;
2247 char * _argc1 = 0;
2248
2249 self = self;
2250 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetImageList",&_argc0,&_argc1))
2251 return NULL;
2252 if (_argc0) {
2253 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2255 return NULL;
2256 }
2257 }
2258 if (_argc1) {
2259 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2260 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2261 return NULL;
2262 }
2263 }
2264 wxTreeCtrl_SetImageList(_arg0,_arg1);
2265 Py_INCREF(Py_None);
2266 _resultobj = Py_None;
2267 return _resultobj;
2268 }
2269
2270 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2271 static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args) {
2272 PyObject * _resultobj;
2273 wxTreeCtrl * _arg0;
2274 wxImageList * _arg1;
2275 char * _argc0 = 0;
2276 char * _argc1 = 0;
2277
2278 self = self;
2279 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetStateImageList",&_argc0,&_argc1))
2280 return NULL;
2281 if (_argc0) {
2282 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
2284 return NULL;
2285 }
2286 }
2287 if (_argc1) {
2288 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
2290 return NULL;
2291 }
2292 }
2293 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
2294 Py_INCREF(Py_None);
2295 _resultobj = Py_None;
2296 return _resultobj;
2297 }
2298
2299 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2300 static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args) {
2301 PyObject * _resultobj;
2302 wxString * _result;
2303 wxTreeCtrl * _arg0;
2304 wxTreeItemId * _arg1;
2305 char * _argc0 = 0;
2306 char * _argc1 = 0;
2307
2308 self = self;
2309 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemText",&_argc0,&_argc1))
2310 return NULL;
2311 if (_argc0) {
2312 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2314 return NULL;
2315 }
2316 }
2317 if (_argc1) {
2318 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2319 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
2320 return NULL;
2321 }
2322 }
2323 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
2324 {
2325 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2326 }
2327 {
2328 delete _result;
2329 }
2330 return _resultobj;
2331 }
2332
2333 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
2334 static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args) {
2335 PyObject * _resultobj;
2336 int _result;
2337 wxTreeCtrl * _arg0;
2338 wxTreeItemId * _arg1;
2339 char * _argc0 = 0;
2340 char * _argc1 = 0;
2341
2342 self = self;
2343 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemImage",&_argc0,&_argc1))
2344 return NULL;
2345 if (_argc0) {
2346 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
2348 return NULL;
2349 }
2350 }
2351 if (_argc1) {
2352 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2353 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
2354 return NULL;
2355 }
2356 }
2357 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1);
2358 _resultobj = Py_BuildValue("i",_result);
2359 return _resultobj;
2360 }
2361
2362 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
2363 static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args) {
2364 PyObject * _resultobj;
2365 int _result;
2366 wxTreeCtrl * _arg0;
2367 wxTreeItemId * _arg1;
2368 char * _argc0 = 0;
2369 char * _argc1 = 0;
2370
2371 self = self;
2372 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0,&_argc1))
2373 return NULL;
2374 if (_argc0) {
2375 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
2377 return NULL;
2378 }
2379 }
2380 if (_argc1) {
2381 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2382 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
2383 return NULL;
2384 }
2385 }
2386 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
2387 _resultobj = Py_BuildValue("i",_result);
2388 return _resultobj;
2389 }
2390
2391 #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2392 static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args) {
2393 PyObject * _resultobj;
2394 wxTreeItemData * _result;
2395 wxTreeCtrl * _arg0;
2396 wxTreeItemId * _arg1;
2397 char * _argc0 = 0;
2398 char * _argc1 = 0;
2399 char _ptemp[128];
2400
2401 self = self;
2402 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemData",&_argc0,&_argc1))
2403 return NULL;
2404 if (_argc0) {
2405 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2407 return NULL;
2408 }
2409 }
2410 if (_argc1) {
2411 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2412 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
2413 return NULL;
2414 }
2415 }
2416 _result = (wxTreeItemData *)wxTreeCtrl_GetItemData(_arg0,*_arg1);
2417 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemData_p");
2418 _resultobj = Py_BuildValue("s",_ptemp);
2419 return _resultobj;
2420 }
2421
2422 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2423 static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args) {
2424 PyObject * _resultobj;
2425 wxTreeCtrl * _arg0;
2426 wxTreeItemId * _arg1;
2427 wxString * _arg2;
2428 char * _argc0 = 0;
2429 char * _argc1 = 0;
2430 PyObject * _obj2 = 0;
2431
2432 self = self;
2433 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_SetItemText",&_argc0,&_argc1,&_obj2))
2434 return NULL;
2435 if (_argc0) {
2436 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
2438 return NULL;
2439 }
2440 }
2441 if (_argc1) {
2442 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2443 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
2444 return NULL;
2445 }
2446 }
2447 {
2448 if (!PyString_Check(_obj2)) {
2449 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2450 return NULL;
2451 }
2452 _arg2 = new wxString(PyString_AsString(_obj2));
2453 }
2454 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
2455 Py_INCREF(Py_None);
2456 _resultobj = Py_None;
2457 {
2458 if (_obj2)
2459 delete _arg2;
2460 }
2461 return _resultobj;
2462 }
2463
2464 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
2465 static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args) {
2466 PyObject * _resultobj;
2467 wxTreeCtrl * _arg0;
2468 wxTreeItemId * _arg1;
2469 int _arg2;
2470 char * _argc0 = 0;
2471 char * _argc1 = 0;
2472
2473 self = self;
2474 if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemImage",&_argc0,&_argc1,&_arg2))
2475 return NULL;
2476 if (_argc0) {
2477 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
2479 return NULL;
2480 }
2481 }
2482 if (_argc1) {
2483 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2484 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
2485 return NULL;
2486 }
2487 }
2488 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2);
2489 Py_INCREF(Py_None);
2490 _resultobj = Py_None;
2491 return _resultobj;
2492 }
2493
2494 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
2495 static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args) {
2496 PyObject * _resultobj;
2497 wxTreeCtrl * _arg0;
2498 wxTreeItemId * _arg1;
2499 int _arg2;
2500 char * _argc0 = 0;
2501 char * _argc1 = 0;
2502
2503 self = self;
2504 if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0,&_argc1,&_arg2))
2505 return NULL;
2506 if (_argc0) {
2507 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
2509 return NULL;
2510 }
2511 }
2512 if (_argc1) {
2513 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2514 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
2515 return NULL;
2516 }
2517 }
2518 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
2519 Py_INCREF(Py_None);
2520 _resultobj = Py_None;
2521 return _resultobj;
2522 }
2523
2524 #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2525 static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args) {
2526 PyObject * _resultobj;
2527 wxTreeCtrl * _arg0;
2528 wxTreeItemId * _arg1;
2529 wxTreeItemData * _arg2;
2530 char * _argc0 = 0;
2531 char * _argc1 = 0;
2532 char * _argc2 = 0;
2533
2534 self = self;
2535 if(!PyArg_ParseTuple(args,"sss:wxTreeCtrl_SetItemData",&_argc0,&_argc1,&_argc2))
2536 return NULL;
2537 if (_argc0) {
2538 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
2540 return NULL;
2541 }
2542 }
2543 if (_argc1) {
2544 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2545 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
2546 return NULL;
2547 }
2548 }
2549 if (_argc2) {
2550 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItemData_p")) {
2551 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxTreeItemData_p.");
2552 return NULL;
2553 }
2554 }
2555 wxTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
2556 Py_INCREF(Py_None);
2557 _resultobj = Py_None;
2558 return _resultobj;
2559 }
2560
2561 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
2562 static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args) {
2563 PyObject * _resultobj;
2564 bool _result;
2565 wxTreeCtrl * _arg0;
2566 wxTreeItemId * _arg1;
2567 char * _argc0 = 0;
2568 char * _argc1 = 0;
2569
2570 self = self;
2571 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsVisible",&_argc0,&_argc1))
2572 return NULL;
2573 if (_argc0) {
2574 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
2576 return NULL;
2577 }
2578 }
2579 if (_argc1) {
2580 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2581 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
2582 return NULL;
2583 }
2584 }
2585 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
2586 _resultobj = Py_BuildValue("i",_result);
2587 return _resultobj;
2588 }
2589
2590 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
2591 static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args) {
2592 PyObject * _resultobj;
2593 bool _result;
2594 wxTreeCtrl * _arg0;
2595 wxTreeItemId * _arg1;
2596 char * _argc0 = 0;
2597 char * _argc1 = 0;
2598
2599 self = self;
2600 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ItemHasChildren",&_argc0,&_argc1))
2601 return NULL;
2602 if (_argc0) {
2603 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
2605 return NULL;
2606 }
2607 }
2608 if (_argc1) {
2609 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2610 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
2611 return NULL;
2612 }
2613 }
2614 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
2615 _resultobj = Py_BuildValue("i",_result);
2616 return _resultobj;
2617 }
2618
2619 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
2620 static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args) {
2621 PyObject * _resultobj;
2622 bool _result;
2623 wxTreeCtrl * _arg0;
2624 wxTreeItemId * _arg1;
2625 char * _argc0 = 0;
2626 char * _argc1 = 0;
2627
2628 self = self;
2629 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsExpanded",&_argc0,&_argc1))
2630 return NULL;
2631 if (_argc0) {
2632 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
2634 return NULL;
2635 }
2636 }
2637 if (_argc1) {
2638 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2639 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
2640 return NULL;
2641 }
2642 }
2643 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
2644 _resultobj = Py_BuildValue("i",_result);
2645 return _resultobj;
2646 }
2647
2648 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
2649 static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args) {
2650 PyObject * _resultobj;
2651 bool _result;
2652 wxTreeCtrl * _arg0;
2653 wxTreeItemId * _arg1;
2654 char * _argc0 = 0;
2655 char * _argc1 = 0;
2656
2657 self = self;
2658 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsSelected",&_argc0,&_argc1))
2659 return NULL;
2660 if (_argc0) {
2661 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
2663 return NULL;
2664 }
2665 }
2666 if (_argc1) {
2667 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2668 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
2669 return NULL;
2670 }
2671 }
2672 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
2673 _resultobj = Py_BuildValue("i",_result);
2674 return _resultobj;
2675 }
2676
2677 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
2678 static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args) {
2679 PyObject * _resultobj;
2680 wxTreeItemId * _result;
2681 wxTreeCtrl * _arg0;
2682 char * _argc0 = 0;
2683 char _ptemp[128];
2684
2685 self = self;
2686 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetRootItem",&_argc0))
2687 return NULL;
2688 if (_argc0) {
2689 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
2691 return NULL;
2692 }
2693 }
2694 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
2695 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2696 _resultobj = Py_BuildValue("s",_ptemp);
2697 return _resultobj;
2698 }
2699
2700 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
2701 static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args) {
2702 PyObject * _resultobj;
2703 wxTreeItemId * _result;
2704 wxTreeCtrl * _arg0;
2705 char * _argc0 = 0;
2706 char _ptemp[128];
2707
2708 self = self;
2709 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetSelection",&_argc0))
2710 return NULL;
2711 if (_argc0) {
2712 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
2714 return NULL;
2715 }
2716 }
2717 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
2718 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2719 _resultobj = Py_BuildValue("s",_ptemp);
2720 return _resultobj;
2721 }
2722
2723 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
2724 static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args) {
2725 PyObject * _resultobj;
2726 wxTreeItemId * _result;
2727 wxTreeCtrl * _arg0;
2728 wxTreeItemId * _arg1;
2729 char * _argc0 = 0;
2730 char * _argc1 = 0;
2731 char _ptemp[128];
2732
2733 self = self;
2734 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetParent",&_argc0,&_argc1))
2735 return NULL;
2736 if (_argc0) {
2737 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
2739 return NULL;
2740 }
2741 }
2742 if (_argc1) {
2743 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2744 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
2745 return NULL;
2746 }
2747 }
2748 _result = new wxTreeItemId (wxTreeCtrl_GetParent(_arg0,*_arg1));
2749 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2750 _resultobj = Py_BuildValue("s",_ptemp);
2751 return _resultobj;
2752 }
2753
2754 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
2755 static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args) {
2756 PyObject * _resultobj;
2757 wxTreeItemId * _result;
2758 wxTreeCtrl * _arg0;
2759 wxTreeItemId * _arg1;
2760 long * _arg2;
2761 char * _argc0 = 0;
2762 char * _argc1 = 0;
2763 long temp;
2764 PyObject * _obj2 = 0;
2765 char _ptemp[128];
2766
2767 self = self;
2768 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetFirstChild",&_argc0,&_argc1,&_obj2))
2769 return NULL;
2770 if (_argc0) {
2771 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
2773 return NULL;
2774 }
2775 }
2776 if (_argc1) {
2777 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2778 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
2779 return NULL;
2780 }
2781 }
2782 {
2783 temp = (long) PyInt_AsLong(_obj2);
2784 _arg2 = &temp;
2785 }
2786 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
2787 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2788 _resultobj = Py_BuildValue("s",_ptemp);
2789 {
2790 PyObject *o;
2791 o = PyInt_FromLong((long) (*_arg2));
2792 _resultobj = t_output_helper(_resultobj, o);
2793 }
2794 return _resultobj;
2795 }
2796
2797 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
2798 static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args) {
2799 PyObject * _resultobj;
2800 wxTreeItemId * _result;
2801 wxTreeCtrl * _arg0;
2802 wxTreeItemId * _arg1;
2803 long * _arg2;
2804 char * _argc0 = 0;
2805 char * _argc1 = 0;
2806 long temp;
2807 PyObject * _obj2 = 0;
2808 char _ptemp[128];
2809
2810 self = self;
2811 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetNextChild",&_argc0,&_argc1,&_obj2))
2812 return NULL;
2813 if (_argc0) {
2814 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
2816 return NULL;
2817 }
2818 }
2819 if (_argc1) {
2820 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2821 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
2822 return NULL;
2823 }
2824 }
2825 {
2826 temp = (long) PyInt_AsLong(_obj2);
2827 _arg2 = &temp;
2828 }
2829 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
2830 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2831 _resultobj = Py_BuildValue("s",_ptemp);
2832 {
2833 PyObject *o;
2834 o = PyInt_FromLong((long) (*_arg2));
2835 _resultobj = t_output_helper(_resultobj, o);
2836 }
2837 return _resultobj;
2838 }
2839
2840 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
2841 static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args) {
2842 PyObject * _resultobj;
2843 wxTreeItemId * _result;
2844 wxTreeCtrl * _arg0;
2845 wxTreeItemId * _arg1;
2846 char * _argc0 = 0;
2847 char * _argc1 = 0;
2848 char _ptemp[128];
2849
2850 self = self;
2851 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextSibling",&_argc0,&_argc1))
2852 return NULL;
2853 if (_argc0) {
2854 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
2856 return NULL;
2857 }
2858 }
2859 if (_argc1) {
2860 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2861 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
2862 return NULL;
2863 }
2864 }
2865 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
2866 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2867 _resultobj = Py_BuildValue("s",_ptemp);
2868 return _resultobj;
2869 }
2870
2871 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
2872 static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args) {
2873 PyObject * _resultobj;
2874 wxTreeItemId * _result;
2875 wxTreeCtrl * _arg0;
2876 wxTreeItemId * _arg1;
2877 char * _argc0 = 0;
2878 char * _argc1 = 0;
2879 char _ptemp[128];
2880
2881 self = self;
2882 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevSibling",&_argc0,&_argc1))
2883 return NULL;
2884 if (_argc0) {
2885 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
2887 return NULL;
2888 }
2889 }
2890 if (_argc1) {
2891 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2892 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
2893 return NULL;
2894 }
2895 }
2896 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
2897 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2898 _resultobj = Py_BuildValue("s",_ptemp);
2899 return _resultobj;
2900 }
2901
2902 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
2903 static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args) {
2904 PyObject * _resultobj;
2905 wxTreeItemId * _result;
2906 wxTreeCtrl * _arg0;
2907 char * _argc0 = 0;
2908 char _ptemp[128];
2909
2910 self = self;
2911 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0))
2912 return NULL;
2913 if (_argc0) {
2914 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
2916 return NULL;
2917 }
2918 }
2919 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
2920 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2921 _resultobj = Py_BuildValue("s",_ptemp);
2922 return _resultobj;
2923 }
2924
2925 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
2926 static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args) {
2927 PyObject * _resultobj;
2928 wxTreeItemId * _result;
2929 wxTreeCtrl * _arg0;
2930 wxTreeItemId * _arg1;
2931 char * _argc0 = 0;
2932 char * _argc1 = 0;
2933 char _ptemp[128];
2934
2935 self = self;
2936 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextVisible",&_argc0,&_argc1))
2937 return NULL;
2938 if (_argc0) {
2939 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
2941 return NULL;
2942 }
2943 }
2944 if (_argc1) {
2945 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2946 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
2947 return NULL;
2948 }
2949 }
2950 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
2951 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2952 _resultobj = Py_BuildValue("s",_ptemp);
2953 return _resultobj;
2954 }
2955
2956 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
2957 static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args) {
2958 PyObject * _resultobj;
2959 wxTreeItemId * _result;
2960 wxTreeCtrl * _arg0;
2961 wxTreeItemId * _arg1;
2962 char * _argc0 = 0;
2963 char * _argc1 = 0;
2964 char _ptemp[128];
2965
2966 self = self;
2967 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevVisible",&_argc0,&_argc1))
2968 return NULL;
2969 if (_argc0) {
2970 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
2972 return NULL;
2973 }
2974 }
2975 if (_argc1) {
2976 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2977 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
2978 return NULL;
2979 }
2980 }
2981 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
2982 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2983 _resultobj = Py_BuildValue("s",_ptemp);
2984 return _resultobj;
2985 }
2986
2987 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2988 static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args) {
2989 PyObject * _resultobj;
2990 wxTreeItemId * _result;
2991 wxTreeCtrl * _arg0;
2992 wxString * _arg1;
2993 int _arg2 = -1;
2994 int _arg3 = -1;
2995 wxTreeItemData * _arg4 = NULL;
2996 char * _argc0 = 0;
2997 PyObject * _obj1 = 0;
2998 char * _argc4 = 0;
2999 char _ptemp[128];
3000
3001 self = self;
3002 if(!PyArg_ParseTuple(args,"sO|iis:wxTreeCtrl_AddRoot",&_argc0,&_obj1,&_arg2,&_arg3,&_argc4))
3003 return NULL;
3004 if (_argc0) {
3005 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
3007 return NULL;
3008 }
3009 }
3010 {
3011 if (!PyString_Check(_obj1)) {
3012 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3013 return NULL;
3014 }
3015 _arg1 = new wxString(PyString_AsString(_obj1));
3016 }
3017 if (_argc4) {
3018 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxTreeItemData_p")) {
3019 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p.");
3020 return NULL;
3021 }
3022 }
3023 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
3024 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3025 _resultobj = Py_BuildValue("s",_ptemp);
3026 {
3027 if (_obj1)
3028 delete _arg1;
3029 }
3030 return _resultobj;
3031 }
3032
3033 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3034 static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args) {
3035 PyObject * _resultobj;
3036 wxTreeItemId * _result;
3037 wxTreeCtrl * _arg0;
3038 wxTreeItemId * _arg1;
3039 wxString * _arg2;
3040 int _arg3 = -1;
3041 int _arg4 = -1;
3042 wxTreeItemData * _arg5 = NULL;
3043 char * _argc0 = 0;
3044 char * _argc1 = 0;
3045 PyObject * _obj2 = 0;
3046 char * _argc5 = 0;
3047 char _ptemp[128];
3048
3049 self = self;
3050 if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5))
3051 return NULL;
3052 if (_argc0) {
3053 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
3055 return NULL;
3056 }
3057 }
3058 if (_argc1) {
3059 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3060 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
3061 return NULL;
3062 }
3063 }
3064 {
3065 if (!PyString_Check(_obj2)) {
3066 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3067 return NULL;
3068 }
3069 _arg2 = new wxString(PyString_AsString(_obj2));
3070 }
3071 if (_argc5) {
3072 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxTreeItemData_p")) {
3073 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p.");
3074 return NULL;
3075 }
3076 }
3077 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
3078 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3079 _resultobj = Py_BuildValue("s",_ptemp);
3080 {
3081 if (_obj2)
3082 delete _arg2;
3083 }
3084 return _resultobj;
3085 }
3086
3087 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3088 static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args) {
3089 PyObject * _resultobj;
3090 wxTreeItemId * _result;
3091 wxTreeCtrl * _arg0;
3092 wxTreeItemId * _arg1;
3093 wxTreeItemId * _arg2;
3094 wxString * _arg3;
3095 int _arg4 = -1;
3096 int _arg5 = -1;
3097 wxTreeItemData * _arg6 = NULL;
3098 char * _argc0 = 0;
3099 char * _argc1 = 0;
3100 char * _argc2 = 0;
3101 PyObject * _obj3 = 0;
3102 char * _argc6 = 0;
3103 char _ptemp[128];
3104
3105 self = self;
3106 if(!PyArg_ParseTuple(args,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0,&_argc1,&_argc2,&_obj3,&_arg4,&_arg5,&_argc6))
3107 return NULL;
3108 if (_argc0) {
3109 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
3111 return NULL;
3112 }
3113 }
3114 if (_argc1) {
3115 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3116 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3117 return NULL;
3118 }
3119 }
3120 if (_argc2) {
3121 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItemId_p")) {
3122 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3123 return NULL;
3124 }
3125 }
3126 {
3127 if (!PyString_Check(_obj3)) {
3128 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3129 return NULL;
3130 }
3131 _arg3 = new wxString(PyString_AsString(_obj3));
3132 }
3133 if (_argc6) {
3134 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxTreeItemData_p")) {
3135 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p.");
3136 return NULL;
3137 }
3138 }
3139 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
3140 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3141 _resultobj = Py_BuildValue("s",_ptemp);
3142 {
3143 if (_obj3)
3144 delete _arg3;
3145 }
3146 return _resultobj;
3147 }
3148
3149 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3150 static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args) {
3151 PyObject * _resultobj;
3152 wxTreeItemId * _result;
3153 wxTreeCtrl * _arg0;
3154 wxTreeItemId * _arg1;
3155 wxString * _arg2;
3156 int _arg3 = -1;
3157 int _arg4 = -1;
3158 wxTreeItemData * _arg5 = NULL;
3159 char * _argc0 = 0;
3160 char * _argc1 = 0;
3161 PyObject * _obj2 = 0;
3162 char * _argc5 = 0;
3163 char _ptemp[128];
3164
3165 self = self;
3166 if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5))
3167 return NULL;
3168 if (_argc0) {
3169 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
3171 return NULL;
3172 }
3173 }
3174 if (_argc1) {
3175 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3176 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
3177 return NULL;
3178 }
3179 }
3180 {
3181 if (!PyString_Check(_obj2)) {
3182 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3183 return NULL;
3184 }
3185 _arg2 = new wxString(PyString_AsString(_obj2));
3186 }
3187 if (_argc5) {
3188 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxTreeItemData_p")) {
3189 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p.");
3190 return NULL;
3191 }
3192 }
3193 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
3194 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3195 _resultobj = Py_BuildValue("s",_ptemp);
3196 {
3197 if (_obj2)
3198 delete _arg2;
3199 }
3200 return _resultobj;
3201 }
3202
3203 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3204 static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args) {
3205 PyObject * _resultobj;
3206 wxTreeCtrl * _arg0;
3207 wxTreeItemId * _arg1;
3208 char * _argc0 = 0;
3209 char * _argc1 = 0;
3210
3211 self = self;
3212 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Delete",&_argc0,&_argc1))
3213 return NULL;
3214 if (_argc0) {
3215 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
3217 return NULL;
3218 }
3219 }
3220 if (_argc1) {
3221 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3222 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
3223 return NULL;
3224 }
3225 }
3226 wxTreeCtrl_Delete(_arg0,*_arg1);
3227 Py_INCREF(Py_None);
3228 _resultobj = Py_None;
3229 return _resultobj;
3230 }
3231
3232 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3233 static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args) {
3234 PyObject * _resultobj;
3235 wxTreeCtrl * _arg0;
3236 char * _argc0 = 0;
3237
3238 self = self;
3239 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_DeleteAllItems",&_argc0))
3240 return NULL;
3241 if (_argc0) {
3242 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
3244 return NULL;
3245 }
3246 }
3247 wxTreeCtrl_DeleteAllItems(_arg0);
3248 Py_INCREF(Py_None);
3249 _resultobj = Py_None;
3250 return _resultobj;
3251 }
3252
3253 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
3254 static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args) {
3255 PyObject * _resultobj;
3256 wxTreeCtrl * _arg0;
3257 wxTreeItemId * _arg1;
3258 char * _argc0 = 0;
3259 char * _argc1 = 0;
3260
3261 self = self;
3262 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Expand",&_argc0,&_argc1))
3263 return NULL;
3264 if (_argc0) {
3265 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
3267 return NULL;
3268 }
3269 }
3270 if (_argc1) {
3271 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3272 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
3273 return NULL;
3274 }
3275 }
3276 wxTreeCtrl_Expand(_arg0,*_arg1);
3277 Py_INCREF(Py_None);
3278 _resultobj = Py_None;
3279 return _resultobj;
3280 }
3281
3282 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
3283 static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args) {
3284 PyObject * _resultobj;
3285 wxTreeCtrl * _arg0;
3286 wxTreeItemId * _arg1;
3287 char * _argc0 = 0;
3288 char * _argc1 = 0;
3289
3290 self = self;
3291 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Collapse",&_argc0,&_argc1))
3292 return NULL;
3293 if (_argc0) {
3294 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
3296 return NULL;
3297 }
3298 }
3299 if (_argc1) {
3300 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3301 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
3302 return NULL;
3303 }
3304 }
3305 wxTreeCtrl_Collapse(_arg0,*_arg1);
3306 Py_INCREF(Py_None);
3307 _resultobj = Py_None;
3308 return _resultobj;
3309 }
3310
3311 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
3312 static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args) {
3313 PyObject * _resultobj;
3314 wxTreeCtrl * _arg0;
3315 wxTreeItemId * _arg1;
3316 char * _argc0 = 0;
3317 char * _argc1 = 0;
3318
3319 self = self;
3320 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_CollapseAndReset",&_argc0,&_argc1))
3321 return NULL;
3322 if (_argc0) {
3323 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
3325 return NULL;
3326 }
3327 }
3328 if (_argc1) {
3329 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3330 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
3331 return NULL;
3332 }
3333 }
3334 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
3335 Py_INCREF(Py_None);
3336 _resultobj = Py_None;
3337 return _resultobj;
3338 }
3339
3340 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3341 static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args) {
3342 PyObject * _resultobj;
3343 wxTreeCtrl * _arg0;
3344 wxTreeItemId * _arg1;
3345 char * _argc0 = 0;
3346 char * _argc1 = 0;
3347
3348 self = self;
3349 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Toggle",&_argc0,&_argc1))
3350 return NULL;
3351 if (_argc0) {
3352 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
3354 return NULL;
3355 }
3356 }
3357 if (_argc1) {
3358 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
3360 return NULL;
3361 }
3362 }
3363 wxTreeCtrl_Toggle(_arg0,*_arg1);
3364 Py_INCREF(Py_None);
3365 _resultobj = Py_None;
3366 return _resultobj;
3367 }
3368
3369 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
3370 static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args) {
3371 PyObject * _resultobj;
3372 wxTreeCtrl * _arg0;
3373 char * _argc0 = 0;
3374
3375 self = self;
3376 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_Unselect",&_argc0))
3377 return NULL;
3378 if (_argc0) {
3379 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
3381 return NULL;
3382 }
3383 }
3384 wxTreeCtrl_Unselect(_arg0);
3385 Py_INCREF(Py_None);
3386 _resultobj = Py_None;
3387 return _resultobj;
3388 }
3389
3390 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
3391 static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args) {
3392 PyObject * _resultobj;
3393 wxTreeCtrl * _arg0;
3394 wxTreeItemId * _arg1;
3395 char * _argc0 = 0;
3396 char * _argc1 = 0;
3397
3398 self = self;
3399 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SelectItem",&_argc0,&_argc1))
3400 return NULL;
3401 if (_argc0) {
3402 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
3404 return NULL;
3405 }
3406 }
3407 if (_argc1) {
3408 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3409 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
3410 return NULL;
3411 }
3412 }
3413 wxTreeCtrl_SelectItem(_arg0,*_arg1);
3414 Py_INCREF(Py_None);
3415 _resultobj = Py_None;
3416 return _resultobj;
3417 }
3418
3419 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3420 static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args) {
3421 PyObject * _resultobj;
3422 wxTreeCtrl * _arg0;
3423 wxTreeItemId * _arg1;
3424 char * _argc0 = 0;
3425 char * _argc1 = 0;
3426
3427 self = self;
3428 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EnsureVisible",&_argc0,&_argc1))
3429 return NULL;
3430 if (_argc0) {
3431 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
3433 return NULL;
3434 }
3435 }
3436 if (_argc1) {
3437 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3438 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
3439 return NULL;
3440 }
3441 }
3442 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
3443 Py_INCREF(Py_None);
3444 _resultobj = Py_None;
3445 return _resultobj;
3446 }
3447
3448 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
3449 static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args) {
3450 PyObject * _resultobj;
3451 wxTreeCtrl * _arg0;
3452 wxTreeItemId * _arg1;
3453 char * _argc0 = 0;
3454 char * _argc1 = 0;
3455
3456 self = self;
3457 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ScrollTo",&_argc0,&_argc1))
3458 return NULL;
3459 if (_argc0) {
3460 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
3462 return NULL;
3463 }
3464 }
3465 if (_argc1) {
3466 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3467 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
3468 return NULL;
3469 }
3470 }
3471 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
3472 Py_INCREF(Py_None);
3473 _resultobj = Py_None;
3474 return _resultobj;
3475 }
3476
3477 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3478 static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args) {
3479 PyObject * _resultobj;
3480 wxTextCtrl * _result;
3481 wxTreeCtrl * _arg0;
3482 wxTreeItemId * _arg1;
3483 char * _argc0 = 0;
3484 char * _argc1 = 0;
3485 char _ptemp[128];
3486
3487 self = self;
3488 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EditLabel",&_argc0,&_argc1))
3489 return NULL;
3490 if (_argc0) {
3491 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
3493 return NULL;
3494 }
3495 }
3496 if (_argc1) {
3497 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3498 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
3499 return NULL;
3500 }
3501 }
3502 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
3503 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
3504 _resultobj = Py_BuildValue("s",_ptemp);
3505 return _resultobj;
3506 }
3507
3508 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3509 static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args) {
3510 PyObject * _resultobj;
3511 wxTextCtrl * _result;
3512 wxTreeCtrl * _arg0;
3513 char * _argc0 = 0;
3514 char _ptemp[128];
3515
3516 self = self;
3517 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetEditControl",&_argc0))
3518 return NULL;
3519 if (_argc0) {
3520 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
3522 return NULL;
3523 }
3524 }
3525 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
3526 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
3527 _resultobj = Py_BuildValue("s",_ptemp);
3528 return _resultobj;
3529 }
3530
3531 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
3532 static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args) {
3533 PyObject * _resultobj;
3534 wxTreeCtrl * _arg0;
3535 wxTreeItemId * _arg1;
3536 bool _arg2 = (0);
3537 char * _argc0 = 0;
3538 char * _argc1 = 0;
3539 int tempbool2;
3540
3541 self = self;
3542 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0,&_argc1,&tempbool2))
3543 return NULL;
3544 if (_argc0) {
3545 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
3547 return NULL;
3548 }
3549 }
3550 if (_argc1) {
3551 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3552 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
3553 return NULL;
3554 }
3555 }
3556 _arg2 = (bool ) tempbool2;
3557 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
3558 Py_INCREF(Py_None);
3559 _resultobj = Py_None;
3560 return _resultobj;
3561 }
3562
3563 static PyMethodDef controls2cMethods[] = {
3564 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel, 1 },
3565 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl, 1 },
3566 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel, 1 },
3567 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo, 1 },
3568 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible, 1 },
3569 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem, 1 },
3570 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect, 1 },
3571 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle, 1 },
3572 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset, 1 },
3573 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse, 1 },
3574 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand, 1 },
3575 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems, 1 },
3576 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete, 1 },
3577 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem, 1 },
3578 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem, 1 },
3579 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem, 1 },
3580 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot, 1 },
3581 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible, 1 },
3582 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible, 1 },
3583 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem, 1 },
3584 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling, 1 },
3585 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling, 1 },
3586 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild, 1 },
3587 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild, 1 },
3588 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent, 1 },
3589 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection, 1 },
3590 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem, 1 },
3591 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected, 1 },
3592 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded, 1 },
3593 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren, 1 },
3594 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible, 1 },
3595 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData, 1 },
3596 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage, 1 },
3597 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage, 1 },
3598 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText, 1 },
3599 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData, 1 },
3600 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage, 1 },
3601 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage, 1 },
3602 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText, 1 },
3603 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList, 1 },
3604 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList, 1 },
3605 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList, 1 },
3606 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList, 1 },
3607 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent, 1 },
3608 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent, 1 },
3609 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount, 1 },
3610 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl, 1 },
3611 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto, 1 },
3612 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode, 1 },
3613 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint, 1 },
3614 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem, 1 },
3615 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem, 1 },
3616 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId, 1 },
3617 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId, 1 },
3618 { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData, 1 },
3619 { "new_wxTreeItemData", _wrap_new_wxTreeItemData, 1 },
3620 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk, 1 },
3621 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId, 1 },
3622 { "new_wxTreeItemId", _wrap_new_wxTreeItemId, 1 },
3623 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag, 1 },
3624 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle, 1 },
3625 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText, 1 },
3626 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState, 1 },
3627 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition, 1 },
3628 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage, 1 },
3629 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData, 1 },
3630 { "wxListCtrl_SetItemString", _wrap_wxListCtrl_SetItemString, 1 },
3631 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem, 1 },
3632 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList, 1 },
3633 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth, 1 },
3634 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn, 1 },
3635 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour, 1 },
3636 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList, 1 },
3637 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem, 1 },
3638 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem, 1 },
3639 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem, 1 },
3640 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem, 1 },
3641 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn, 1 },
3642 { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo, 1 },
3643 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest, 1 },
3644 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem, 1 },
3645 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount, 1 },
3646 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem, 1 },
3647 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText, 1 },
3648 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing, 1 },
3649 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount, 1 },
3650 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState, 1 },
3651 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect, 1 },
3652 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition, 1 },
3653 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem, 1 },
3654 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData, 1 },
3655 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList, 1 },
3656 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage, 1 },
3657 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth, 1 },
3658 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn, 1 },
3659 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos, 1 },
3660 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData, 1 },
3661 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem, 1 },
3662 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible, 1 },
3663 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn, 1 },
3664 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems, 1 },
3665 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem, 1 },
3666 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange, 1 },
3667 { "new_wxListCtrl", _wrap_new_wxListCtrl, 1 },
3668 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get, 1 },
3669 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get, 1 },
3670 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get, 1 },
3671 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get, 1 },
3672 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get, 1 },
3673 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get, 1 },
3674 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get, 1 },
3675 { "delete_wxListItem", _wrap_delete_wxListItem, 1 },
3676 { "new_wxListItem", _wrap_new_wxListItem, 1 },
3677 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get, 1 },
3678 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get, 1 },
3679 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get, 1 },
3680 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get, 1 },
3681 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get, 1 },
3682 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get, 1 },
3683 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get, 1 },
3684 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get, 1 },
3685 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get, 1 },
3686 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get, 1 },
3687 { NULL, NULL }
3688 };
3689 static PyObject *SWIG_globals;
3690 #ifdef __cplusplus
3691 extern "C"
3692 #endif
3693 SWIGEXPORT(void,initcontrols2c)() {
3694 PyObject *m, *d;
3695 SWIG_globals = SWIG_newvarlink();
3696 m = Py_InitModule("controls2c", controls2cMethods);
3697 d = PyModule_GetDict(m);
3698 /*
3699 * These are the pointer type-equivalency mappings.
3700 * (Used by the SWIG pointer type-checker).
3701 */
3702 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3703 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
3704 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
3705 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
3706 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
3707 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3708 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3709 SWIG_RegisterMapping("_signed_long","_long",0);
3710 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3711 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3712 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
3713 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
3714 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
3715 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
3716 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3717 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3718 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3719 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3720 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
3721 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3722 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3723 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3724 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3725 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3726 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
3727 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
3728 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
3729 SWIG_RegisterMapping("_long","_wxDash",0);
3730 SWIG_RegisterMapping("_long","_unsigned_long",0);
3731 SWIG_RegisterMapping("_long","_signed_long",0);
3732 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
3733 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
3734 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3735 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
3736 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
3737 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
3738 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
3739 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3740 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
3741 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
3742 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
3743 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
3744 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
3745 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
3746 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
3747 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
3748 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
3749 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
3750 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
3751 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
3752 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
3753 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
3754 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
3755 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
3756 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3757 SWIG_RegisterMapping("_uint","_int",0);
3758 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3759 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
3760 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
3761 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
3762 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
3763 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
3764 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3765 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
3766 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
3767 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
3768 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
3769 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
3770 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
3771 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3772 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
3773 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
3774 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
3775 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
3776 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3777 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
3778 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
3779 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3780 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
3781 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
3782 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
3783 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
3784 SWIG_RegisterMapping("_EBool","_signed_int",0);
3785 SWIG_RegisterMapping("_EBool","_int",0);
3786 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3787 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
3788 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
3789 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
3790 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
3791 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
3792 SWIG_RegisterMapping("_unsigned_long","_long",0);
3793 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3794 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
3795 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
3796 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3797 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
3798 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
3799 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
3800 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3801 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
3802 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
3803 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
3804 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
3805 SWIG_RegisterMapping("_signed_int","_EBool",0);
3806 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3807 SWIG_RegisterMapping("_signed_int","_int",0);
3808 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
3809 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3810 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
3811 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3812 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
3813 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
3814 SWIG_RegisterMapping("_WXTYPE","_short",0);
3815 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3816 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3817 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
3818 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3819 SWIG_RegisterMapping("_unsigned_short","_short",0);
3820 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
3821 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
3822 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
3823 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
3824 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
3825 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
3826 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
3827 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3828 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3829 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
3830 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3831 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
3832 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3833 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3834 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
3835 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3836 SWIG_RegisterMapping("_signed_short","_short",0);
3837 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
3838 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
3839 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3840 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3841 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3842 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
3843 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
3844 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
3845 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
3846 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3847 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
3848 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
3849 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
3850 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
3851 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
3852 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
3853 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
3854 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3855 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3856 SWIG_RegisterMapping("_unsigned_int","_int",0);
3857 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
3858 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
3859 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
3860 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
3861 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
3862 SWIG_RegisterMapping("_short","_WXTYPE",0);
3863 SWIG_RegisterMapping("_short","_unsigned_short",0);
3864 SWIG_RegisterMapping("_short","_signed_short",0);
3865 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
3866 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
3867 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
3868 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
3869 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
3870 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
3871 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3872 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3873 SWIG_RegisterMapping("_wxWindowID","_int",0);
3874 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3875 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3876 SWIG_RegisterMapping("_int","_EBool",0);
3877 SWIG_RegisterMapping("_int","_uint",0);
3878 SWIG_RegisterMapping("_int","_wxWindowID",0);
3879 SWIG_RegisterMapping("_int","_unsigned_int",0);
3880 SWIG_RegisterMapping("_int","_signed_int",0);
3881 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
3882 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
3883 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
3884 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
3885 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3886 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
3887 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3888 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3889 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
3890 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
3891 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
3892 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
3893 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3894 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3895 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
3896 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
3897 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
3898 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
3899 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
3900 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
3901 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
3902 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
3903 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
3904 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3905 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
3906 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
3907 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3908 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3909 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
3910 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
3911 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
3912 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
3913 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
3914 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3915 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
3916 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3917 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
3918 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
3919 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3920 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
3921 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
3922 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
3923 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
3924 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
3925 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
3926 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
3927 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
3928 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
3929 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
3930 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
3931 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
3932 SWIG_RegisterMapping("_wxDash","_long",0);
3933 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
3934 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3935 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
3936 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
3937 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
3938 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
3939 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
3940 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
3941 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
3942 }