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