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