]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls2.cpp
some tweaks for wxGTK
[wxWidgets.git] / utils / wxPython / src / gtk / controls2.cpp
1 /*
2 * FILE : gtk/controls2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #define SWIG_init initcontrols2c
53
54 #define SWIG_name "controls2c"
55
56 #include "helpers.h"
57 #include <wx/listctrl.h>
58 #include <wx/treectrl.h>
59 #include <wx/tabctrl.h>
60
61 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
63 PyObject* o3;
64 if (!target) {
65 target = o;
66 } else if (target == Py_None) {
67 Py_DECREF(Py_None);
68 target = o;
69 } else {
70 if (!PyList_Check(target)) {
71 o2 = target;
72 target = PyList_New(0);
73 PyList_Append(target, o2);
74 Py_XDECREF(o2);
75 }
76 PyList_Append(target,o);
77 Py_XDECREF(o);
78 }
79 return target;
80 }
81
82 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
83 PyObject* o2;
84 PyObject* o3;
85
86 if (!target) {
87 target = o;
88 } else if (target == Py_None) {
89 Py_DECREF(Py_None);
90 target = o;
91 } else {
92 if (!PyTuple_Check(target)) {
93 o2 = target;
94 target = PyTuple_New(1);
95 PyTuple_SetItem(target, 0, o2);
96 }
97 o3 = PyTuple_New(1);
98 PyTuple_SetItem(o3, 0, o);
99
100 o2 = target;
101 target = PySequence_Concat(o2, o3);
102 Py_DECREF(o2);
103 Py_DECREF(o3);
104 }
105 return target;
106 }
107
108
109 extern int* int_LIST_helper(PyObject* source);
110 extern long* long_LIST_helper(PyObject* source);
111 extern char** string_LIST_helper(PyObject* source);
112 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
113 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
114 extern wxString* wxString_LIST_helper(PyObject* source);
115 #ifdef __WXMSW__
116 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
117 #endif
118
119
120 static char* wxStringErrorMsg = "string type is required for parameter";
121
122 extern wxValidator wxPyDefaultValidator;
123 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
124 static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args) {
125 PyObject * _resultobj;
126 long _result;
127 wxListItem * _arg0;
128 char * _argc0 = 0;
129
130 self = self;
131 if(!PyArg_ParseTuple(args,"s:wxListItem_m_mask_get",&_argc0))
132 return NULL;
133 if (_argc0) {
134 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
136 return NULL;
137 }
138 }
139 _result = (long )wxListItem_m_mask_get(_arg0);
140 _resultobj = Py_BuildValue("l",_result);
141 return _resultobj;
142 }
143
144 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
145 static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args) {
146 PyObject * _resultobj;
147 long _result;
148 wxListItem * _arg0;
149 char * _argc0 = 0;
150
151 self = self;
152 if(!PyArg_ParseTuple(args,"s:wxListItem_m_itemId_get",&_argc0))
153 return NULL;
154 if (_argc0) {
155 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
157 return NULL;
158 }
159 }
160 _result = (long )wxListItem_m_itemId_get(_arg0);
161 _resultobj = Py_BuildValue("l",_result);
162 return _resultobj;
163 }
164
165 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
166 static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args) {
167 PyObject * _resultobj;
168 int _result;
169 wxListItem * _arg0;
170 char * _argc0 = 0;
171
172 self = self;
173 if(!PyArg_ParseTuple(args,"s:wxListItem_m_col_get",&_argc0))
174 return NULL;
175 if (_argc0) {
176 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
178 return NULL;
179 }
180 }
181 _result = (int )wxListItem_m_col_get(_arg0);
182 _resultobj = Py_BuildValue("i",_result);
183 return _resultobj;
184 }
185
186 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
187 static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args) {
188 PyObject * _resultobj;
189 long _result;
190 wxListItem * _arg0;
191 char * _argc0 = 0;
192
193 self = self;
194 if(!PyArg_ParseTuple(args,"s:wxListItem_m_state_get",&_argc0))
195 return NULL;
196 if (_argc0) {
197 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
199 return NULL;
200 }
201 }
202 _result = (long )wxListItem_m_state_get(_arg0);
203 _resultobj = Py_BuildValue("l",_result);
204 return _resultobj;
205 }
206
207 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
208 static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args) {
209 PyObject * _resultobj;
210 long _result;
211 wxListItem * _arg0;
212 char * _argc0 = 0;
213
214 self = self;
215 if(!PyArg_ParseTuple(args,"s:wxListItem_m_stateMask_get",&_argc0))
216 return NULL;
217 if (_argc0) {
218 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
220 return NULL;
221 }
222 }
223 _result = (long )wxListItem_m_stateMask_get(_arg0);
224 _resultobj = Py_BuildValue("l",_result);
225 return _resultobj;
226 }
227
228 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
229 static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args) {
230 PyObject * _resultobj;
231 wxString * _result;
232 wxListItem * _arg0;
233 char * _argc0 = 0;
234
235 self = self;
236 if(!PyArg_ParseTuple(args,"s:wxListItem_m_text_get",&_argc0))
237 return NULL;
238 if (_argc0) {
239 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
241 return NULL;
242 }
243 }
244 _result = (wxString *)wxListItem_m_text_get(_arg0);
245 {
246 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
247 }
248 return _resultobj;
249 }
250
251 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
252 static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args) {
253 PyObject * _resultobj;
254 int _result;
255 wxListItem * _arg0;
256 char * _argc0 = 0;
257
258 self = self;
259 if(!PyArg_ParseTuple(args,"s:wxListItem_m_image_get",&_argc0))
260 return NULL;
261 if (_argc0) {
262 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
264 return NULL;
265 }
266 }
267 _result = (int )wxListItem_m_image_get(_arg0);
268 _resultobj = Py_BuildValue("i",_result);
269 return _resultobj;
270 }
271
272 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
273 static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args) {
274 PyObject * _resultobj;
275 long _result;
276 wxListItem * _arg0;
277 char * _argc0 = 0;
278
279 self = self;
280 if(!PyArg_ParseTuple(args,"s:wxListItem_m_data_get",&_argc0))
281 return NULL;
282 if (_argc0) {
283 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
285 return NULL;
286 }
287 }
288 _result = (long )wxListItem_m_data_get(_arg0);
289 _resultobj = Py_BuildValue("l",_result);
290 return _resultobj;
291 }
292
293 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
294 static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args) {
295 PyObject * _resultobj;
296 int _result;
297 wxListItem * _arg0;
298 char * _argc0 = 0;
299
300 self = self;
301 if(!PyArg_ParseTuple(args,"s:wxListItem_m_format_get",&_argc0))
302 return NULL;
303 if (_argc0) {
304 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
306 return NULL;
307 }
308 }
309 _result = (int )wxListItem_m_format_get(_arg0);
310 _resultobj = Py_BuildValue("i",_result);
311 return _resultobj;
312 }
313
314 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
315 static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args) {
316 PyObject * _resultobj;
317 int _result;
318 wxListItem * _arg0;
319 char * _argc0 = 0;
320
321 self = self;
322 if(!PyArg_ParseTuple(args,"s:wxListItem_m_width_get",&_argc0))
323 return NULL;
324 if (_argc0) {
325 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
327 return NULL;
328 }
329 }
330 _result = (int )wxListItem_m_width_get(_arg0);
331 _resultobj = Py_BuildValue("i",_result);
332 return _resultobj;
333 }
334
335 #define new_wxListItem() (new wxListItem())
336 static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args) {
337 PyObject * _resultobj;
338 wxListItem * _result;
339 char _ptemp[128];
340
341 self = self;
342 if(!PyArg_ParseTuple(args,":new_wxListItem"))
343 return NULL;
344 _result = (wxListItem *)new_wxListItem();
345 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
346 _resultobj = Py_BuildValue("s",_ptemp);
347 return _resultobj;
348 }
349
350 #define delete_wxListItem(_swigobj) (delete _swigobj)
351 static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args) {
352 PyObject * _resultobj;
353 wxListItem * _arg0;
354 char * _argc0 = 0;
355
356 self = self;
357 if(!PyArg_ParseTuple(args,"s:delete_wxListItem",&_argc0))
358 return NULL;
359 if (_argc0) {
360 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) {
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
362 return NULL;
363 }
364 }
365 delete_wxListItem(_arg0);
366 Py_INCREF(Py_None);
367 _resultobj = Py_None;
368 return _resultobj;
369 }
370
371 static void *SwigwxListEventTowxCommandEvent(void *ptr) {
372 wxListEvent *src;
373 wxCommandEvent *dest;
374 src = (wxListEvent *) ptr;
375 dest = (wxCommandEvent *) src;
376 return (void *) dest;
377 }
378
379 static void *SwigwxListEventTowxEvent(void *ptr) {
380 wxListEvent *src;
381 wxEvent *dest;
382 src = (wxListEvent *) ptr;
383 dest = (wxEvent *) src;
384 return (void *) dest;
385 }
386
387 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
388 static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args) {
389 PyObject * _resultobj;
390 int _result;
391 wxListEvent * _arg0;
392 char * _argc0 = 0;
393
394 self = self;
395 if(!PyArg_ParseTuple(args,"s:wxListEvent_m_code_get",&_argc0))
396 return NULL;
397 if (_argc0) {
398 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) {
399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
400 return NULL;
401 }
402 }
403 _result = (int )wxListEvent_m_code_get(_arg0);
404 _resultobj = Py_BuildValue("i",_result);
405 return _resultobj;
406 }
407
408 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
409 static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args) {
410 PyObject * _resultobj;
411 long _result;
412 wxListEvent * _arg0;
413 char * _argc0 = 0;
414
415 self = self;
416 if(!PyArg_ParseTuple(args,"s:wxListEvent_m_itemIndex_get",&_argc0))
417 return NULL;
418 if (_argc0) {
419 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) {
420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
421 return NULL;
422 }
423 }
424 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
425 _resultobj = Py_BuildValue("l",_result);
426 return _resultobj;
427 }
428
429 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
430 static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args) {
431 PyObject * _resultobj;
432 long _result;
433 wxListEvent * _arg0;
434 char * _argc0 = 0;
435
436 self = self;
437 if(!PyArg_ParseTuple(args,"s:wxListEvent_m_oldItemIndex_get",&_argc0))
438 return NULL;
439 if (_argc0) {
440 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) {
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
442 return NULL;
443 }
444 }
445 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
446 _resultobj = Py_BuildValue("l",_result);
447 return _resultobj;
448 }
449
450 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
451 static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args) {
452 PyObject * _resultobj;
453 int _result;
454 wxListEvent * _arg0;
455 char * _argc0 = 0;
456
457 self = self;
458 if(!PyArg_ParseTuple(args,"s:wxListEvent_m_col_get",&_argc0))
459 return NULL;
460 if (_argc0) {
461 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) {
462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
463 return NULL;
464 }
465 }
466 _result = (int )wxListEvent_m_col_get(_arg0);
467 _resultobj = Py_BuildValue("i",_result);
468 return _resultobj;
469 }
470
471 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
472 static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args) {
473 PyObject * _resultobj;
474 bool _result;
475 wxListEvent * _arg0;
476 char * _argc0 = 0;
477
478 self = self;
479 if(!PyArg_ParseTuple(args,"s:wxListEvent_m_cancelled_get",&_argc0))
480 return NULL;
481 if (_argc0) {
482 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) {
483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
484 return NULL;
485 }
486 }
487 _result = (bool )wxListEvent_m_cancelled_get(_arg0);
488 _resultobj = Py_BuildValue("i",_result);
489 return _resultobj;
490 }
491
492 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
493 static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args) {
494 PyObject * _resultobj;
495 wxPoint * _result;
496 wxListEvent * _arg0;
497 char * _argc0 = 0;
498 char _ptemp[128];
499
500 self = self;
501 if(!PyArg_ParseTuple(args,"s:wxListEvent_m_pointDrag_get",&_argc0))
502 return NULL;
503 if (_argc0) {
504 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) {
505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
506 return NULL;
507 }
508 }
509 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
510 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
511 _resultobj = Py_BuildValue("s",_ptemp);
512 return _resultobj;
513 }
514
515 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
516 static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args) {
517 PyObject * _resultobj;
518 wxListItem * _result;
519 wxListEvent * _arg0;
520 char * _argc0 = 0;
521 char _ptemp[128];
522
523 self = self;
524 if(!PyArg_ParseTuple(args,"s:wxListEvent_m_item_get",&_argc0))
525 return NULL;
526 if (_argc0) {
527 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) {
528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
529 return NULL;
530 }
531 }
532 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
533 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
534 _resultobj = Py_BuildValue("s",_ptemp);
535 return _resultobj;
536 }
537
538 static void *SwigwxListCtrlTowxControl(void *ptr) {
539 wxListCtrl *src;
540 wxControl *dest;
541 src = (wxListCtrl *) ptr;
542 dest = (wxControl *) src;
543 return (void *) dest;
544 }
545
546 static void *SwigwxListCtrlTowxWindow(void *ptr) {
547 wxListCtrl *src;
548 wxWindow *dest;
549 src = (wxListCtrl *) ptr;
550 dest = (wxWindow *) src;
551 return (void *) dest;
552 }
553
554 static void *SwigwxListCtrlTowxEvtHandler(void *ptr) {
555 wxListCtrl *src;
556 wxEvtHandler *dest;
557 src = (wxListCtrl *) ptr;
558 dest = (wxEvtHandler *) src;
559 return (void *) dest;
560 }
561
562 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
563 static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args) {
564 PyObject * _resultobj;
565 wxListCtrl * _result;
566 wxWindow * _arg0;
567 wxWindowID _arg1;
568 wxPoint * _arg2 = &wxPyDefaultPosition;
569 wxSize * _arg3 = &wxPyDefaultSize;
570 long _arg4 = (wxLC_ICON);
571 char * _arg5 = "listctrl";
572 char * _argc0 = 0;
573 char * _argc2 = 0;
574 char * _argc3 = 0;
575 char _ptemp[128];
576
577 self = self;
578 if(!PyArg_ParseTuple(args,"si|ssls:new_wxListCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
579 return NULL;
580 if (_argc0) {
581 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
583 return NULL;
584 }
585 }
586 if (_argc2) {
587 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
588 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
589 return NULL;
590 }
591 }
592 if (_argc3) {
593 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
594 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
595 return NULL;
596 }
597 }
598 _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
599 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p");
600 _resultobj = Py_BuildValue("s",_ptemp);
601 return _resultobj;
602 }
603
604 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
605 static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args) {
606 PyObject * _resultobj;
607 bool _result;
608 wxListCtrl * _arg0;
609 int _arg1 = wxLIST_ALIGN_DEFAULT;
610 char * _argc0 = 0;
611
612 self = self;
613 if(!PyArg_ParseTuple(args,"s|i:wxListCtrl_Arrange",&_argc0,&_arg1))
614 return NULL;
615 if (_argc0) {
616 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
618 return NULL;
619 }
620 }
621 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
622 _resultobj = Py_BuildValue("i",_result);
623 return _resultobj;
624 }
625
626 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
627 static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args) {
628 PyObject * _resultobj;
629 bool _result;
630 wxListCtrl * _arg0;
631 long _arg1;
632 char * _argc0 = 0;
633
634 self = self;
635 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_DeleteItem",&_argc0,&_arg1))
636 return NULL;
637 if (_argc0) {
638 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
640 return NULL;
641 }
642 }
643 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
644 _resultobj = Py_BuildValue("i",_result);
645 return _resultobj;
646 }
647
648 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
649 static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args) {
650 PyObject * _resultobj;
651 bool _result;
652 wxListCtrl * _arg0;
653 char * _argc0 = 0;
654
655 self = self;
656 if(!PyArg_ParseTuple(args,"s:wxListCtrl_DeleteAllItems",&_argc0))
657 return NULL;
658 if (_argc0) {
659 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
661 return NULL;
662 }
663 }
664 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
665 _resultobj = Py_BuildValue("i",_result);
666 return _resultobj;
667 }
668
669 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
670 static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args) {
671 PyObject * _resultobj;
672 bool _result;
673 wxListCtrl * _arg0;
674 int _arg1;
675 char * _argc0 = 0;
676
677 self = self;
678 if(!PyArg_ParseTuple(args,"si:wxListCtrl_DeleteColumn",&_argc0,&_arg1))
679 return NULL;
680 if (_argc0) {
681 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
683 return NULL;
684 }
685 }
686 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
687 _resultobj = Py_BuildValue("i",_result);
688 return _resultobj;
689 }
690
691 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
692 static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args) {
693 PyObject * _resultobj;
694 bool _result;
695 wxListCtrl * _arg0;
696 long _arg1;
697 char * _argc0 = 0;
698
699 self = self;
700 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_EnsureVisible",&_argc0,&_arg1))
701 return NULL;
702 if (_argc0) {
703 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
705 return NULL;
706 }
707 }
708 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
709 _resultobj = Py_BuildValue("i",_result);
710 return _resultobj;
711 }
712
713 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
714 static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args) {
715 PyObject * _resultobj;
716 long _result;
717 wxListCtrl * _arg0;
718 long _arg1;
719 wxString * _arg2;
720 bool _arg3 = (0);
721 char * _argc0 = 0;
722 PyObject * _obj2 = 0;
723 int tempbool3;
724
725 self = self;
726 if(!PyArg_ParseTuple(args,"slO|i:wxListCtrl_FindItem",&_argc0,&_arg1,&_obj2,&tempbool3))
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_FindItem. Expected _wxListCtrl_p.");
731 return NULL;
732 }
733 }
734 {
735 if (!PyString_Check(_obj2)) {
736 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
737 return NULL;
738 }
739 _arg2 = new wxString(PyString_AsString(_obj2));
740 }
741 _arg3 = (bool ) tempbool3;
742 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
743 _resultobj = Py_BuildValue("l",_result);
744 {
745 if (_obj2)
746 delete _arg2;
747 }
748 return _resultobj;
749 }
750
751 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
752 static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args) {
753 PyObject * _resultobj;
754 long _result;
755 wxListCtrl * _arg0;
756 long _arg1;
757 long _arg2;
758 char * _argc0 = 0;
759
760 self = self;
761 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_FindItemData",&_argc0,&_arg1,&_arg2))
762 return NULL;
763 if (_argc0) {
764 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
766 return NULL;
767 }
768 }
769 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
770 _resultobj = Py_BuildValue("l",_result);
771 return _resultobj;
772 }
773
774 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
775 static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args) {
776 PyObject * _resultobj;
777 long _result;
778 wxListCtrl * _arg0;
779 long _arg1;
780 wxPoint * _arg2;
781 int _arg3;
782 char * _argc0 = 0;
783 char * _argc2 = 0;
784
785 self = self;
786 if(!PyArg_ParseTuple(args,"slsi:wxListCtrl_FindItemAtPos",&_argc0,&_arg1,&_argc2,&_arg3))
787 return NULL;
788 if (_argc0) {
789 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
791 return NULL;
792 }
793 }
794 if (_argc2) {
795 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
796 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
797 return NULL;
798 }
799 }
800 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
801 _resultobj = Py_BuildValue("l",_result);
802 return _resultobj;
803 }
804
805 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
806 static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args) {
807 PyObject * _resultobj;
808 bool _result;
809 wxListCtrl * _arg0;
810 int _arg1;
811 wxListItem * _arg2;
812 char * _argc0 = 0;
813 char * _argc2 = 0;
814
815 self = self;
816 if(!PyArg_ParseTuple(args,"sis:wxListCtrl_GetColumn",&_argc0,&_arg1,&_argc2))
817 return NULL;
818 if (_argc0) {
819 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
821 return NULL;
822 }
823 }
824 if (_argc2) {
825 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
826 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
827 return NULL;
828 }
829 }
830 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
831 _resultobj = Py_BuildValue("i",_result);
832 return _resultobj;
833 }
834
835 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
836 static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args) {
837 PyObject * _resultobj;
838 int _result;
839 wxListCtrl * _arg0;
840 int _arg1;
841 char * _argc0 = 0;
842
843 self = self;
844 if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetColumnWidth",&_argc0,&_arg1))
845 return NULL;
846 if (_argc0) {
847 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
849 return NULL;
850 }
851 }
852 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
853 _resultobj = Py_BuildValue("i",_result);
854 return _resultobj;
855 }
856
857 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
858 static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args) {
859 PyObject * _resultobj;
860 int _result;
861 wxListCtrl * _arg0;
862 char * _argc0 = 0;
863
864 self = self;
865 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetCountPerPage",&_argc0))
866 return NULL;
867 if (_argc0) {
868 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
870 return NULL;
871 }
872 }
873 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
874 _resultobj = Py_BuildValue("i",_result);
875 return _resultobj;
876 }
877
878 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
879 static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args) {
880 PyObject * _resultobj;
881 wxImageList * _result;
882 wxListCtrl * _arg0;
883 int _arg1;
884 char * _argc0 = 0;
885 char _ptemp[128];
886
887 self = self;
888 if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetImageList",&_argc0,&_arg1))
889 return NULL;
890 if (_argc0) {
891 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
893 return NULL;
894 }
895 }
896 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
897 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
898 _resultobj = Py_BuildValue("s",_ptemp);
899 return _resultobj;
900 }
901
902 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
903 static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args) {
904 PyObject * _resultobj;
905 long _result;
906 wxListCtrl * _arg0;
907 long _arg1;
908 char * _argc0 = 0;
909
910 self = self;
911 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemData",&_argc0,&_arg1))
912 return NULL;
913 if (_argc0) {
914 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
916 return NULL;
917 }
918 }
919 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
920 _resultobj = Py_BuildValue("l",_result);
921 return _resultobj;
922 }
923
924 static wxListItem * wxListCtrl_GetItem(wxListCtrl *self) {
925 wxListItem* info = new wxListItem;
926 self->GetItem(*info);
927 return info;
928 }
929 static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args) {
930 PyObject * _resultobj;
931 wxListItem * _result;
932 wxListCtrl * _arg0;
933 char * _argc0 = 0;
934 char _ptemp[128];
935
936 self = self;
937 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItem",&_argc0))
938 return NULL;
939 if (_argc0) {
940 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
942 return NULL;
943 }
944 }
945 _result = (wxListItem *)wxListCtrl_GetItem(_arg0);
946 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
947 _resultobj = Py_BuildValue("s",_ptemp);
948 return _resultobj;
949 }
950
951 static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
952 wxPoint* pos = new wxPoint;
953 self->GetItemPosition(item, *pos);
954 return pos;
955 }
956 static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args) {
957 PyObject * _resultobj;
958 wxPoint * _result;
959 wxListCtrl * _arg0;
960 long _arg1;
961 char * _argc0 = 0;
962 char _ptemp[128];
963
964 self = self;
965 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemPosition",&_argc0,&_arg1))
966 return NULL;
967 if (_argc0) {
968 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
970 return NULL;
971 }
972 }
973 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
974 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
975 _resultobj = Py_BuildValue("s",_ptemp);
976 return _resultobj;
977 }
978
979 static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
980 wxRect* rect= new wxRect;
981 self->GetItemRect(item, *rect, code);
982 return rect;
983 }
984 static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args) {
985 PyObject * _resultobj;
986 wxRect * _result;
987 wxListCtrl * _arg0;
988 long _arg1;
989 int _arg2 = wxLIST_RECT_BOUNDS;
990 char * _argc0 = 0;
991 char _ptemp[128];
992
993 self = self;
994 if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_GetItemRect",&_argc0,&_arg1,&_arg2))
995 return NULL;
996 if (_argc0) {
997 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
999 return NULL;
1000 }
1001 }
1002 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
1003 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1004 _resultobj = Py_BuildValue("s",_ptemp);
1005 return _resultobj;
1006 }
1007
1008 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1009 static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args) {
1010 PyObject * _resultobj;
1011 int _result;
1012 wxListCtrl * _arg0;
1013 long _arg1;
1014 long _arg2;
1015 char * _argc0 = 0;
1016
1017 self = self;
1018 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_GetItemState",&_argc0,&_arg1,&_arg2))
1019 return NULL;
1020 if (_argc0) {
1021 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1023 return NULL;
1024 }
1025 }
1026 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
1027 _resultobj = Py_BuildValue("i",_result);
1028 return _resultobj;
1029 }
1030
1031 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1032 static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args) {
1033 PyObject * _resultobj;
1034 int _result;
1035 wxListCtrl * _arg0;
1036 char * _argc0 = 0;
1037
1038 self = self;
1039 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItemCount",&_argc0))
1040 return NULL;
1041 if (_argc0) {
1042 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1044 return NULL;
1045 }
1046 }
1047 _result = (int )wxListCtrl_GetItemCount(_arg0);
1048 _resultobj = Py_BuildValue("i",_result);
1049 return _resultobj;
1050 }
1051
1052 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1053 static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args) {
1054 PyObject * _resultobj;
1055 int _result;
1056 wxListCtrl * _arg0;
1057 bool _arg1;
1058 char * _argc0 = 0;
1059 int tempbool1;
1060
1061 self = self;
1062 if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetItemSpacing",&_argc0,&tempbool1))
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_GetItemSpacing. Expected _wxListCtrl_p.");
1067 return NULL;
1068 }
1069 }
1070 _arg1 = (bool ) tempbool1;
1071 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
1072 _resultobj = Py_BuildValue("i",_result);
1073 return _resultobj;
1074 }
1075
1076 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1077 static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args) {
1078 PyObject * _resultobj;
1079 wxString * _result;
1080 wxListCtrl * _arg0;
1081 long _arg1;
1082 char * _argc0 = 0;
1083
1084 self = self;
1085 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemText",&_argc0,&_arg1))
1086 return NULL;
1087 if (_argc0) {
1088 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1090 return NULL;
1091 }
1092 }
1093 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
1094 {
1095 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1096 }
1097 {
1098 delete _result;
1099 }
1100 return _resultobj;
1101 }
1102
1103 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1104 static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args) {
1105 PyObject * _resultobj;
1106 long _result;
1107 wxListCtrl * _arg0;
1108 long _arg1;
1109 int _arg2 = wxLIST_NEXT_ALL;
1110 int _arg3 = wxLIST_STATE_DONTCARE;
1111 char * _argc0 = 0;
1112
1113 self = self;
1114 if(!PyArg_ParseTuple(args,"sl|ii:wxListCtrl_GetNextItem",&_argc0,&_arg1,&_arg2,&_arg3))
1115 return NULL;
1116 if (_argc0) {
1117 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1119 return NULL;
1120 }
1121 }
1122 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
1123 _resultobj = Py_BuildValue("l",_result);
1124 return _resultobj;
1125 }
1126
1127 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1128 static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args) {
1129 PyObject * _resultobj;
1130 int _result;
1131 wxListCtrl * _arg0;
1132 char * _argc0 = 0;
1133
1134 self = self;
1135 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetSelectedItemCount",&_argc0))
1136 return NULL;
1137 if (_argc0) {
1138 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1140 return NULL;
1141 }
1142 }
1143 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
1144 _resultobj = Py_BuildValue("i",_result);
1145 return _resultobj;
1146 }
1147
1148 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1149 static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args) {
1150 PyObject * _resultobj;
1151 long _result;
1152 wxListCtrl * _arg0;
1153 char * _argc0 = 0;
1154
1155 self = self;
1156 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetTopItem",&_argc0))
1157 return NULL;
1158 if (_argc0) {
1159 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1161 return NULL;
1162 }
1163 }
1164 _result = (long )wxListCtrl_GetTopItem(_arg0);
1165 _resultobj = Py_BuildValue("l",_result);
1166 return _resultobj;
1167 }
1168
1169 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1170 static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args) {
1171 PyObject * _resultobj;
1172 long _result;
1173 wxListCtrl * _arg0;
1174 wxPoint * _arg1;
1175 int * _arg2;
1176 int temp;
1177 char * _argc0 = 0;
1178 char * _argc1 = 0;
1179
1180 self = self;
1181 {
1182 _arg2 = &temp;
1183 }
1184 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_HitTest",&_argc0,&_argc1))
1185 return NULL;
1186 if (_argc0) {
1187 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1189 return NULL;
1190 }
1191 }
1192 if (_argc1) {
1193 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
1194 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1195 return NULL;
1196 }
1197 }
1198 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
1199 _resultobj = Py_BuildValue("l",_result);
1200 {
1201 PyObject *o;
1202 o = PyInt_FromLong((long) (*_arg2));
1203 _resultobj = t_output_helper(_resultobj, o);
1204 }
1205 return _resultobj;
1206 }
1207
1208 #define wxListCtrl_InsertColumnWithInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1209 static PyObject *_wrap_wxListCtrl_InsertColumnWithInfo(PyObject *self, PyObject *args) {
1210 PyObject * _resultobj;
1211 long _result;
1212 wxListCtrl * _arg0;
1213 long _arg1;
1214 wxListItem * _arg2;
1215 char * _argc0 = 0;
1216 char * _argc2 = 0;
1217
1218 self = self;
1219 if(!PyArg_ParseTuple(args,"sls:wxListCtrl_InsertColumnWithInfo",&_argc0,&_arg1,&_argc2))
1220 return NULL;
1221 if (_argc0) {
1222 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWithInfo. Expected _wxListCtrl_p.");
1224 return NULL;
1225 }
1226 }
1227 if (_argc2) {
1228 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
1229 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWithInfo. Expected _wxListItem_p.");
1230 return NULL;
1231 }
1232 }
1233 _result = (long )wxListCtrl_InsertColumnWithInfo(_arg0,_arg1,*_arg2);
1234 _resultobj = Py_BuildValue("l",_result);
1235 return _resultobj;
1236 }
1237
1238 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1239 static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args) {
1240 PyObject * _resultobj;
1241 long _result;
1242 wxListCtrl * _arg0;
1243 long _arg1;
1244 wxString * _arg2;
1245 int _arg3 = wxLIST_FORMAT_LEFT;
1246 int _arg4 = -1;
1247 char * _argc0 = 0;
1248 PyObject * _obj2 = 0;
1249
1250 self = self;
1251 if(!PyArg_ParseTuple(args,"slO|ii:wxListCtrl_InsertColumn",&_argc0,&_arg1,&_obj2,&_arg3,&_arg4))
1252 return NULL;
1253 if (_argc0) {
1254 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
1256 return NULL;
1257 }
1258 }
1259 {
1260 if (!PyString_Check(_obj2)) {
1261 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1262 return NULL;
1263 }
1264 _arg2 = new wxString(PyString_AsString(_obj2));
1265 }
1266 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
1267 _resultobj = Py_BuildValue("l",_result);
1268 {
1269 if (_obj2)
1270 delete _arg2;
1271 }
1272 return _resultobj;
1273 }
1274
1275 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
1276 static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args) {
1277 PyObject * _resultobj;
1278 long _result;
1279 wxListCtrl * _arg0;
1280 wxListItem * _arg1;
1281 char * _argc0 = 0;
1282 char * _argc1 = 0;
1283
1284 self = self;
1285 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_InsertItem",&_argc0,&_argc1))
1286 return NULL;
1287 if (_argc0) {
1288 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
1290 return NULL;
1291 }
1292 }
1293 if (_argc1) {
1294 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) {
1295 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
1296 return NULL;
1297 }
1298 }
1299 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
1300 _resultobj = Py_BuildValue("l",_result);
1301 return _resultobj;
1302 }
1303
1304 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1305 static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args) {
1306 PyObject * _resultobj;
1307 long _result;
1308 wxListCtrl * _arg0;
1309 long _arg1;
1310 wxString * _arg2;
1311 char * _argc0 = 0;
1312 PyObject * _obj2 = 0;
1313
1314 self = self;
1315 if(!PyArg_ParseTuple(args,"slO:wxListCtrl_InsertStringItem",&_argc0,&_arg1,&_obj2))
1316 return NULL;
1317 if (_argc0) {
1318 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
1320 return NULL;
1321 }
1322 }
1323 {
1324 if (!PyString_Check(_obj2)) {
1325 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1326 return NULL;
1327 }
1328 _arg2 = new wxString(PyString_AsString(_obj2));
1329 }
1330 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
1331 _resultobj = Py_BuildValue("l",_result);
1332 {
1333 if (_obj2)
1334 delete _arg2;
1335 }
1336 return _resultobj;
1337 }
1338
1339 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1340 static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args) {
1341 PyObject * _resultobj;
1342 long _result;
1343 wxListCtrl * _arg0;
1344 long _arg1;
1345 int _arg2;
1346 char * _argc0 = 0;
1347
1348 self = self;
1349 if(!PyArg_ParseTuple(args,"sli:wxListCtrl_InsertImageItem",&_argc0,&_arg1,&_arg2))
1350 return NULL;
1351 if (_argc0) {
1352 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
1354 return NULL;
1355 }
1356 }
1357 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
1358 _resultobj = Py_BuildValue("l",_result);
1359 return _resultobj;
1360 }
1361
1362 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
1363 static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args) {
1364 PyObject * _resultobj;
1365 long _result;
1366 wxListCtrl * _arg0;
1367 long _arg1;
1368 wxString * _arg2;
1369 int _arg3;
1370 char * _argc0 = 0;
1371 PyObject * _obj2 = 0;
1372
1373 self = self;
1374 if(!PyArg_ParseTuple(args,"slOi:wxListCtrl_InsertImageStringItem",&_argc0,&_arg1,&_obj2,&_arg3))
1375 return NULL;
1376 if (_argc0) {
1377 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
1379 return NULL;
1380 }
1381 }
1382 {
1383 if (!PyString_Check(_obj2)) {
1384 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1385 return NULL;
1386 }
1387 _arg2 = new wxString(PyString_AsString(_obj2));
1388 }
1389 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
1390 _resultobj = Py_BuildValue("l",_result);
1391 {
1392 if (_obj2)
1393 delete _arg2;
1394 }
1395 return _resultobj;
1396 }
1397
1398 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
1399 static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args) {
1400 PyObject * _resultobj;
1401 bool _result;
1402 wxListCtrl * _arg0;
1403 int _arg1;
1404 int _arg2;
1405 char * _argc0 = 0;
1406
1407 self = self;
1408 if(!PyArg_ParseTuple(args,"sii:wxListCtrl_ScrollList",&_argc0,&_arg1,&_arg2))
1409 return NULL;
1410 if (_argc0) {
1411 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
1413 return NULL;
1414 }
1415 }
1416 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
1417 _resultobj = Py_BuildValue("i",_result);
1418 return _resultobj;
1419 }
1420
1421 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1422 static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args) {
1423 PyObject * _resultobj;
1424 wxListCtrl * _arg0;
1425 wxColour * _arg1;
1426 char * _argc0 = 0;
1427 char * _argc1 = 0;
1428
1429 self = self;
1430 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetBackgroundColour",&_argc0,&_argc1))
1431 return NULL;
1432 if (_argc0) {
1433 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
1435 return NULL;
1436 }
1437 }
1438 if (_argc1) {
1439 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1440 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
1441 return NULL;
1442 }
1443 }
1444 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
1445 Py_INCREF(Py_None);
1446 _resultobj = Py_None;
1447 return _resultobj;
1448 }
1449
1450 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
1451 static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args) {
1452 PyObject * _resultobj;
1453 bool _result;
1454 wxListCtrl * _arg0;
1455 int _arg1;
1456 wxListItem * _arg2;
1457 char * _argc0 = 0;
1458 char * _argc2 = 0;
1459
1460 self = self;
1461 if(!PyArg_ParseTuple(args,"sis:wxListCtrl_SetColumn",&_argc0,&_arg1,&_argc2))
1462 return NULL;
1463 if (_argc0) {
1464 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
1466 return NULL;
1467 }
1468 }
1469 if (_argc2) {
1470 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
1471 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
1472 return NULL;
1473 }
1474 }
1475 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
1476 _resultobj = Py_BuildValue("i",_result);
1477 return _resultobj;
1478 }
1479
1480 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
1481 static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args) {
1482 PyObject * _resultobj;
1483 bool _result;
1484 wxListCtrl * _arg0;
1485 int _arg1;
1486 int _arg2;
1487 char * _argc0 = 0;
1488
1489 self = self;
1490 if(!PyArg_ParseTuple(args,"sii:wxListCtrl_SetColumnWidth",&_argc0,&_arg1,&_arg2))
1491 return NULL;
1492 if (_argc0) {
1493 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
1495 return NULL;
1496 }
1497 }
1498 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
1499 _resultobj = Py_BuildValue("i",_result);
1500 return _resultobj;
1501 }
1502
1503 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
1504 static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args) {
1505 PyObject * _resultobj;
1506 wxListCtrl * _arg0;
1507 wxImageList * _arg1;
1508 int _arg2;
1509 char * _argc0 = 0;
1510 char * _argc1 = 0;
1511
1512 self = self;
1513 if(!PyArg_ParseTuple(args,"ssi:wxListCtrl_SetImageList",&_argc0,&_argc1,&_arg2))
1514 return NULL;
1515 if (_argc0) {
1516 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
1518 return NULL;
1519 }
1520 }
1521 if (_argc1) {
1522 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
1523 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
1524 return NULL;
1525 }
1526 }
1527 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
1528 Py_INCREF(Py_None);
1529 _resultobj = Py_None;
1530 return _resultobj;
1531 }
1532
1533 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
1534 static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args) {
1535 PyObject * _resultobj;
1536 bool _result;
1537 wxListCtrl * _arg0;
1538 wxListItem * _arg1;
1539 char * _argc0 = 0;
1540 char * _argc1 = 0;
1541
1542 self = self;
1543 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetItem",&_argc0,&_argc1))
1544 return NULL;
1545 if (_argc0) {
1546 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
1548 return NULL;
1549 }
1550 }
1551 if (_argc1) {
1552 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) {
1553 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
1554 return NULL;
1555 }
1556 }
1557 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
1558 _resultobj = Py_BuildValue("i",_result);
1559 return _resultobj;
1560 }
1561
1562 #define wxListCtrl_SetItemString(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1563 static PyObject *_wrap_wxListCtrl_SetItemString(PyObject *self, PyObject *args) {
1564 PyObject * _resultobj;
1565 long _result;
1566 wxListCtrl * _arg0;
1567 long _arg1;
1568 int _arg2;
1569 wxString * _arg3;
1570 int _arg4 = -1;
1571 char * _argc0 = 0;
1572 PyObject * _obj3 = 0;
1573
1574 self = self;
1575 if(!PyArg_ParseTuple(args,"sliO|i:wxListCtrl_SetItemString",&_argc0,&_arg1,&_arg2,&_obj3,&_arg4))
1576 return NULL;
1577 if (_argc0) {
1578 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemString. Expected _wxListCtrl_p.");
1580 return NULL;
1581 }
1582 }
1583 {
1584 if (!PyString_Check(_obj3)) {
1585 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1586 return NULL;
1587 }
1588 _arg3 = new wxString(PyString_AsString(_obj3));
1589 }
1590 _result = (long )wxListCtrl_SetItemString(_arg0,_arg1,_arg2,*_arg3,_arg4);
1591 _resultobj = Py_BuildValue("l",_result);
1592 {
1593 if (_obj3)
1594 delete _arg3;
1595 }
1596 return _resultobj;
1597 }
1598
1599 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
1600 static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args) {
1601 PyObject * _resultobj;
1602 bool _result;
1603 wxListCtrl * _arg0;
1604 long _arg1;
1605 long _arg2;
1606 char * _argc0 = 0;
1607
1608 self = self;
1609 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_SetItemData",&_argc0,&_arg1,&_arg2))
1610 return NULL;
1611 if (_argc0) {
1612 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
1614 return NULL;
1615 }
1616 }
1617 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
1618 _resultobj = Py_BuildValue("i",_result);
1619 return _resultobj;
1620 }
1621
1622 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
1623 static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args) {
1624 PyObject * _resultobj;
1625 bool _result;
1626 wxListCtrl * _arg0;
1627 long _arg1;
1628 int _arg2;
1629 int _arg3;
1630 char * _argc0 = 0;
1631
1632 self = self;
1633 if(!PyArg_ParseTuple(args,"slii:wxListCtrl_SetItemImage",&_argc0,&_arg1,&_arg2,&_arg3))
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_SetItemImage. Expected _wxListCtrl_p.");
1638 return NULL;
1639 }
1640 }
1641 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
1642 _resultobj = Py_BuildValue("i",_result);
1643 return _resultobj;
1644 }
1645
1646 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
1647 static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args) {
1648 PyObject * _resultobj;
1649 bool _result;
1650 wxListCtrl * _arg0;
1651 long _arg1;
1652 wxPoint * _arg2;
1653 char * _argc0 = 0;
1654 char * _argc2 = 0;
1655
1656 self = self;
1657 if(!PyArg_ParseTuple(args,"sls:wxListCtrl_SetItemPosition",&_argc0,&_arg1,&_argc2))
1658 return NULL;
1659 if (_argc0) {
1660 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
1662 return NULL;
1663 }
1664 }
1665 if (_argc2) {
1666 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
1667 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
1668 return NULL;
1669 }
1670 }
1671 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
1672 _resultobj = Py_BuildValue("i",_result);
1673 return _resultobj;
1674 }
1675
1676 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
1677 static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args) {
1678 PyObject * _resultobj;
1679 bool _result;
1680 wxListCtrl * _arg0;
1681 long _arg1;
1682 long _arg2;
1683 long _arg3;
1684 char * _argc0 = 0;
1685
1686 self = self;
1687 if(!PyArg_ParseTuple(args,"slll:wxListCtrl_SetItemState",&_argc0,&_arg1,&_arg2,&_arg3))
1688 return NULL;
1689 if (_argc0) {
1690 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
1692 return NULL;
1693 }
1694 }
1695 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
1696 _resultobj = Py_BuildValue("i",_result);
1697 return _resultobj;
1698 }
1699
1700 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
1701 static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args) {
1702 PyObject * _resultobj;
1703 wxListCtrl * _arg0;
1704 long _arg1;
1705 wxString * _arg2;
1706 char * _argc0 = 0;
1707 PyObject * _obj2 = 0;
1708
1709 self = self;
1710 if(!PyArg_ParseTuple(args,"slO:wxListCtrl_SetItemText",&_argc0,&_arg1,&_obj2))
1711 return NULL;
1712 if (_argc0) {
1713 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
1715 return NULL;
1716 }
1717 }
1718 {
1719 if (!PyString_Check(_obj2)) {
1720 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1721 return NULL;
1722 }
1723 _arg2 = new wxString(PyString_AsString(_obj2));
1724 }
1725 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
1726 Py_INCREF(Py_None);
1727 _resultobj = Py_None;
1728 {
1729 if (_obj2)
1730 delete _arg2;
1731 }
1732 return _resultobj;
1733 }
1734
1735 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
1736 static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args) {
1737 PyObject * _resultobj;
1738 wxListCtrl * _arg0;
1739 long _arg1;
1740 bool _arg2 = (1);
1741 char * _argc0 = 0;
1742 int tempbool2;
1743
1744 self = self;
1745 if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_SetSingleStyle",&_argc0,&_arg1,&tempbool2))
1746 return NULL;
1747 if (_argc0) {
1748 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
1750 return NULL;
1751 }
1752 }
1753 _arg2 = (bool ) tempbool2;
1754 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
1755 Py_INCREF(Py_None);
1756 _resultobj = Py_None;
1757 return _resultobj;
1758 }
1759
1760 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
1761 static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args) {
1762 PyObject * _resultobj;
1763 wxListCtrl * _arg0;
1764 long _arg1;
1765 char * _argc0 = 0;
1766
1767 self = self;
1768 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0,&_arg1))
1769 return NULL;
1770 if (_argc0) {
1771 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
1773 return NULL;
1774 }
1775 }
1776 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
1777 Py_INCREF(Py_None);
1778 _resultobj = Py_None;
1779 return _resultobj;
1780 }
1781
1782 #define wxTreeItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1783 static PyObject *_wrap_wxTreeItem_m_mask_get(PyObject *self, PyObject *args) {
1784 PyObject * _resultobj;
1785 long _result;
1786 wxTreeItem * _arg0;
1787 char * _argc0 = 0;
1788
1789 self = self;
1790 if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_mask_get",&_argc0))
1791 return NULL;
1792 if (_argc0) {
1793 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
1794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_mask_get. Expected _wxTreeItem_p.");
1795 return NULL;
1796 }
1797 }
1798 _result = (long )wxTreeItem_m_mask_get(_arg0);
1799 _resultobj = Py_BuildValue("l",_result);
1800 return _resultobj;
1801 }
1802
1803 #define wxTreeItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1804 static PyObject *_wrap_wxTreeItem_m_itemId_get(PyObject *self, PyObject *args) {
1805 PyObject * _resultobj;
1806 long _result;
1807 wxTreeItem * _arg0;
1808 char * _argc0 = 0;
1809
1810 self = self;
1811 if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_itemId_get",&_argc0))
1812 return NULL;
1813 if (_argc0) {
1814 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
1815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_itemId_get. Expected _wxTreeItem_p.");
1816 return NULL;
1817 }
1818 }
1819 _result = (long )wxTreeItem_m_itemId_get(_arg0);
1820 _resultobj = Py_BuildValue("l",_result);
1821 return _resultobj;
1822 }
1823
1824 #define wxTreeItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1825 static PyObject *_wrap_wxTreeItem_m_state_get(PyObject *self, PyObject *args) {
1826 PyObject * _resultobj;
1827 long _result;
1828 wxTreeItem * _arg0;
1829 char * _argc0 = 0;
1830
1831 self = self;
1832 if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_state_get",&_argc0))
1833 return NULL;
1834 if (_argc0) {
1835 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
1836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_state_get. Expected _wxTreeItem_p.");
1837 return NULL;
1838 }
1839 }
1840 _result = (long )wxTreeItem_m_state_get(_arg0);
1841 _resultobj = Py_BuildValue("l",_result);
1842 return _resultobj;
1843 }
1844
1845 #define wxTreeItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1846 static PyObject *_wrap_wxTreeItem_m_stateMask_get(PyObject *self, PyObject *args) {
1847 PyObject * _resultobj;
1848 long _result;
1849 wxTreeItem * _arg0;
1850 char * _argc0 = 0;
1851
1852 self = self;
1853 if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_stateMask_get",&_argc0))
1854 return NULL;
1855 if (_argc0) {
1856 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
1857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_stateMask_get. Expected _wxTreeItem_p.");
1858 return NULL;
1859 }
1860 }
1861 _result = (long )wxTreeItem_m_stateMask_get(_arg0);
1862 _resultobj = Py_BuildValue("l",_result);
1863 return _resultobj;
1864 }
1865
1866 #define wxTreeItem_m_text_get(_swigobj) (&_swigobj->m_text)
1867 static PyObject *_wrap_wxTreeItem_m_text_get(PyObject *self, PyObject *args) {
1868 PyObject * _resultobj;
1869 wxString * _result;
1870 wxTreeItem * _arg0;
1871 char * _argc0 = 0;
1872
1873 self = self;
1874 if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_text_get",&_argc0))
1875 return NULL;
1876 if (_argc0) {
1877 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
1878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_text_get. Expected _wxTreeItem_p.");
1879 return NULL;
1880 }
1881 }
1882 _result = (wxString *)wxTreeItem_m_text_get(_arg0);
1883 {
1884 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1885 }
1886 return _resultobj;
1887 }
1888
1889 #define wxTreeItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1890 static PyObject *_wrap_wxTreeItem_m_image_get(PyObject *self, PyObject *args) {
1891 PyObject * _resultobj;
1892 int _result;
1893 wxTreeItem * _arg0;
1894 char * _argc0 = 0;
1895
1896 self = self;
1897 if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_image_get",&_argc0))
1898 return NULL;
1899 if (_argc0) {
1900 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
1901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_image_get. Expected _wxTreeItem_p.");
1902 return NULL;
1903 }
1904 }
1905 _result = (int )wxTreeItem_m_image_get(_arg0);
1906 _resultobj = Py_BuildValue("i",_result);
1907 return _resultobj;
1908 }
1909
1910 #define wxTreeItem_m_selectedImage_get(_swigobj) ((int ) _swigobj->m_selectedImage)
1911 static PyObject *_wrap_wxTreeItem_m_selectedImage_get(PyObject *self, PyObject *args) {
1912 PyObject * _resultobj;
1913 int _result;
1914 wxTreeItem * _arg0;
1915 char * _argc0 = 0;
1916
1917 self = self;
1918 if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_selectedImage_get",&_argc0))
1919 return NULL;
1920 if (_argc0) {
1921 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
1922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_selectedImage_get. Expected _wxTreeItem_p.");
1923 return NULL;
1924 }
1925 }
1926 _result = (int )wxTreeItem_m_selectedImage_get(_arg0);
1927 _resultobj = Py_BuildValue("i",_result);
1928 return _resultobj;
1929 }
1930
1931 #define wxTreeItem_m_children_get(_swigobj) ((int ) _swigobj->m_children)
1932 static PyObject *_wrap_wxTreeItem_m_children_get(PyObject *self, PyObject *args) {
1933 PyObject * _resultobj;
1934 int _result;
1935 wxTreeItem * _arg0;
1936 char * _argc0 = 0;
1937
1938 self = self;
1939 if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_children_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_children_get. Expected _wxTreeItem_p.");
1944 return NULL;
1945 }
1946 }
1947 _result = (int )wxTreeItem_m_children_get(_arg0);
1948 _resultobj = Py_BuildValue("i",_result);
1949 return _resultobj;
1950 }
1951
1952 #define wxTreeItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1953 static PyObject *_wrap_wxTreeItem_m_data_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_data_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_data_get. Expected _wxTreeItem_p.");
1965 return NULL;
1966 }
1967 }
1968 _result = (long )wxTreeItem_m_data_get(_arg0);
1969 _resultobj = Py_BuildValue("l",_result);
1970 return _resultobj;
1971 }
1972
1973 #define new_wxTreeItem() (new wxTreeItem())
1974 static PyObject *_wrap_new_wxTreeItem(PyObject *self, PyObject *args) {
1975 PyObject * _resultobj;
1976 wxTreeItem * _result;
1977 char _ptemp[128];
1978
1979 self = self;
1980 if(!PyArg_ParseTuple(args,":new_wxTreeItem"))
1981 return NULL;
1982 _result = (wxTreeItem *)new_wxTreeItem();
1983 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItem_p");
1984 _resultobj = Py_BuildValue("s",_ptemp);
1985 return _resultobj;
1986 }
1987
1988 #define delete_wxTreeItem(_swigobj) (delete _swigobj)
1989 static PyObject *_wrap_delete_wxTreeItem(PyObject *self, PyObject *args) {
1990 PyObject * _resultobj;
1991 wxTreeItem * _arg0;
1992 char * _argc0 = 0;
1993
1994 self = self;
1995 if(!PyArg_ParseTuple(args,"s:delete_wxTreeItem",&_argc0))
1996 return NULL;
1997 if (_argc0) {
1998 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
1999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItem. Expected _wxTreeItem_p.");
2000 return NULL;
2001 }
2002 }
2003 delete_wxTreeItem(_arg0);
2004 Py_INCREF(Py_None);
2005 _resultobj = Py_None;
2006 return _resultobj;
2007 }
2008
2009 static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
2010 wxTreeEvent *src;
2011 wxCommandEvent *dest;
2012 src = (wxTreeEvent *) ptr;
2013 dest = (wxCommandEvent *) src;
2014 return (void *) dest;
2015 }
2016
2017 static void *SwigwxTreeEventTowxEvent(void *ptr) {
2018 wxTreeEvent *src;
2019 wxEvent *dest;
2020 src = (wxTreeEvent *) ptr;
2021 dest = (wxEvent *) src;
2022 return (void *) dest;
2023 }
2024
2025 #define wxTreeEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2026 static PyObject *_wrap_wxTreeEvent_m_code_get(PyObject *self, PyObject *args) {
2027 PyObject * _resultobj;
2028 int _result;
2029 wxTreeEvent * _arg0;
2030 char * _argc0 = 0;
2031
2032 self = self;
2033 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_m_code_get",&_argc0))
2034 return NULL;
2035 if (_argc0) {
2036 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_m_code_get. Expected _wxTreeEvent_p.");
2038 return NULL;
2039 }
2040 }
2041 _result = (int )wxTreeEvent_m_code_get(_arg0);
2042 _resultobj = Py_BuildValue("i",_result);
2043 return _resultobj;
2044 }
2045
2046 #define wxTreeEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2047 static PyObject *_wrap_wxTreeEvent_m_item_get(PyObject *self, PyObject *args) {
2048 PyObject * _resultobj;
2049 wxTreeItem * _result;
2050 wxTreeEvent * _arg0;
2051 char * _argc0 = 0;
2052 char _ptemp[128];
2053
2054 self = self;
2055 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_m_item_get",&_argc0))
2056 return NULL;
2057 if (_argc0) {
2058 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_m_item_get. Expected _wxTreeEvent_p.");
2060 return NULL;
2061 }
2062 }
2063 _result = (wxTreeItem *)wxTreeEvent_m_item_get(_arg0);
2064 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItem_p");
2065 _resultobj = Py_BuildValue("s",_ptemp);
2066 return _resultobj;
2067 }
2068
2069 #define wxTreeEvent_m_oldItem_get(_swigobj) ((long ) _swigobj->m_oldItem)
2070 static PyObject *_wrap_wxTreeEvent_m_oldItem_get(PyObject *self, PyObject *args) {
2071 PyObject * _resultobj;
2072 long _result;
2073 wxTreeEvent * _arg0;
2074 char * _argc0 = 0;
2075
2076 self = self;
2077 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_m_oldItem_get",&_argc0))
2078 return NULL;
2079 if (_argc0) {
2080 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_m_oldItem_get. Expected _wxTreeEvent_p.");
2082 return NULL;
2083 }
2084 }
2085 _result = (long )wxTreeEvent_m_oldItem_get(_arg0);
2086 _resultobj = Py_BuildValue("l",_result);
2087 return _resultobj;
2088 }
2089
2090 #define wxTreeEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2091 static PyObject *_wrap_wxTreeEvent_m_pointDrag_get(PyObject *self, PyObject *args) {
2092 PyObject * _resultobj;
2093 wxPoint * _result;
2094 wxTreeEvent * _arg0;
2095 char * _argc0 = 0;
2096 char _ptemp[128];
2097
2098 self = self;
2099 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_m_pointDrag_get",&_argc0))
2100 return NULL;
2101 if (_argc0) {
2102 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_m_pointDrag_get. Expected _wxTreeEvent_p.");
2104 return NULL;
2105 }
2106 }
2107 _result = (wxPoint *)wxTreeEvent_m_pointDrag_get(_arg0);
2108 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2109 _resultobj = Py_BuildValue("s",_ptemp);
2110 return _resultobj;
2111 }
2112
2113 static void *SwigwxTreeCtrlTowxControl(void *ptr) {
2114 wxTreeCtrl *src;
2115 wxControl *dest;
2116 src = (wxTreeCtrl *) ptr;
2117 dest = (wxControl *) src;
2118 return (void *) dest;
2119 }
2120
2121 static void *SwigwxTreeCtrlTowxWindow(void *ptr) {
2122 wxTreeCtrl *src;
2123 wxWindow *dest;
2124 src = (wxTreeCtrl *) ptr;
2125 dest = (wxWindow *) src;
2126 return (void *) dest;
2127 }
2128
2129 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) {
2130 wxTreeCtrl *src;
2131 wxEvtHandler *dest;
2132 src = (wxTreeCtrl *) ptr;
2133 dest = (wxEvtHandler *) src;
2134 return (void *) dest;
2135 }
2136
2137 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2138 static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args) {
2139 PyObject * _resultobj;
2140 wxTreeCtrl * _result;
2141 wxWindow * _arg0;
2142 wxWindowID _arg1 = -1;
2143 wxPoint * _arg2 = &wxPyDefaultPosition;
2144 wxSize * _arg3 = &wxPyDefaultSize;
2145 long _arg4 = (wxTR_HAS_BUTTONS);
2146 char * _arg5 = "wxTreeCtrl";
2147 char * _argc0 = 0;
2148 char * _argc2 = 0;
2149 char * _argc3 = 0;
2150 char _ptemp[128];
2151
2152 self = self;
2153 if(!PyArg_ParseTuple(args,"s|issls:new_wxTreeCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
2154 return NULL;
2155 if (_argc0) {
2156 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2158 return NULL;
2159 }
2160 }
2161 if (_argc2) {
2162 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2163 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2164 return NULL;
2165 }
2166 }
2167 if (_argc3) {
2168 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2169 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2170 return NULL;
2171 }
2172 }
2173 _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
2174 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
2175 _resultobj = Py_BuildValue("s",_ptemp);
2176 return _resultobj;
2177 }
2178
2179 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
2180 static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args) {
2181 PyObject * _resultobj;
2182 bool _result;
2183 wxTreeCtrl * _arg0;
2184 char * _argc0 = 0;
2185
2186 self = self;
2187 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_DeleteAllItems",&_argc0))
2188 return NULL;
2189 if (_argc0) {
2190 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
2192 return NULL;
2193 }
2194 }
2195 _result = (bool )wxTreeCtrl_DeleteAllItems(_arg0);
2196 _resultobj = Py_BuildValue("i",_result);
2197 return _resultobj;
2198 }
2199
2200 #define wxTreeCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2201 static PyObject *_wrap_wxTreeCtrl_DeleteItem(PyObject *self, PyObject *args) {
2202 PyObject * _resultobj;
2203 wxTreeCtrl * _arg0;
2204 long _arg1;
2205 char * _argc0 = 0;
2206
2207 self = self;
2208 if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_DeleteItem",&_argc0,&_arg1))
2209 return NULL;
2210 if (_argc0) {
2211 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteItem. Expected _wxTreeCtrl_p.");
2213 return NULL;
2214 }
2215 }
2216 wxTreeCtrl_DeleteItem(_arg0,_arg1);
2217 Py_INCREF(Py_None);
2218 _resultobj = Py_None;
2219 return _resultobj;
2220 }
2221
2222 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2223 static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args) {
2224 PyObject * _resultobj;
2225 int _result;
2226 wxTreeCtrl * _arg0;
2227 char * _argc0 = 0;
2228
2229 self = self;
2230 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetCount",&_argc0))
2231 return NULL;
2232 if (_argc0) {
2233 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2235 return NULL;
2236 }
2237 }
2238 _result = (int )wxTreeCtrl_GetCount(_arg0);
2239 _resultobj = Py_BuildValue("i",_result);
2240 return _resultobj;
2241 }
2242
2243 #define wxTreeCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
2244 static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args) {
2245 PyObject * _resultobj;
2246 wxImageList * _result;
2247 wxTreeCtrl * _arg0;
2248 int _arg1 = wxIMAGE_LIST_NORMAL;
2249 char * _argc0 = 0;
2250 char _ptemp[128];
2251
2252 self = self;
2253 if(!PyArg_ParseTuple(args,"s|i:wxTreeCtrl_GetImageList",&_argc0,&_arg1))
2254 return NULL;
2255 if (_argc0) {
2256 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2258 return NULL;
2259 }
2260 }
2261 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0,_arg1);
2262 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
2263 _resultobj = Py_BuildValue("s",_ptemp);
2264 return _resultobj;
2265 }
2266
2267 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2268 static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args) {
2269 PyObject * _resultobj;
2270 int _result;
2271 wxTreeCtrl * _arg0;
2272 char * _argc0 = 0;
2273
2274 self = self;
2275 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetIndent",&_argc0))
2276 return NULL;
2277 if (_argc0) {
2278 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2280 return NULL;
2281 }
2282 }
2283 _result = (int )wxTreeCtrl_GetIndent(_arg0);
2284 _resultobj = Py_BuildValue("i",_result);
2285 return _resultobj;
2286 }
2287
2288 #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2289 static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args) {
2290 PyObject * _resultobj;
2291 long _result;
2292 wxTreeCtrl * _arg0;
2293 long _arg1;
2294 char * _argc0 = 0;
2295
2296 self = self;
2297 if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_GetItemData",&_argc0,&_arg1))
2298 return NULL;
2299 if (_argc0) {
2300 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2302 return NULL;
2303 }
2304 }
2305 _result = (long )wxTreeCtrl_GetItemData(_arg0,_arg1);
2306 _resultobj = Py_BuildValue("l",_result);
2307 return _resultobj;
2308 }
2309
2310 static wxTreeItem * wxTreeCtrl_GetItem(wxTreeCtrl *self) {
2311 wxTreeItem* info = new wxTreeItem;
2312 self->GetItem(*info);
2313 return info;
2314 }
2315 static PyObject *_wrap_wxTreeCtrl_GetItem(PyObject *self, PyObject *args) {
2316 PyObject * _resultobj;
2317 wxTreeItem * _result;
2318 wxTreeCtrl * _arg0;
2319 char * _argc0 = 0;
2320 char _ptemp[128];
2321
2322 self = self;
2323 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetItem",&_argc0))
2324 return NULL;
2325 if (_argc0) {
2326 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItem. Expected _wxTreeCtrl_p.");
2328 return NULL;
2329 }
2330 }
2331 _result = (wxTreeItem *)wxTreeCtrl_GetItem(_arg0);
2332 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItem_p");
2333 _resultobj = Py_BuildValue("s",_ptemp);
2334 return _resultobj;
2335 }
2336
2337 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2338 static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args) {
2339 PyObject * _resultobj;
2340 wxString * _result;
2341 wxTreeCtrl * _arg0;
2342 long _arg1;
2343 char * _argc0 = 0;
2344
2345 self = self;
2346 if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_GetItemText",&_argc0,&_arg1))
2347 return NULL;
2348 if (_argc0) {
2349 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2351 return NULL;
2352 }
2353 }
2354 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,_arg1));
2355 {
2356 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2357 }
2358 {
2359 delete _result;
2360 }
2361 return _resultobj;
2362 }
2363
2364 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
2365 static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args) {
2366 PyObject * _resultobj;
2367 long _result;
2368 wxTreeCtrl * _arg0;
2369 long _arg1;
2370 char * _argc0 = 0;
2371
2372 self = self;
2373 if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_GetParent",&_argc0,&_arg1))
2374 return NULL;
2375 if (_argc0) {
2376 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
2378 return NULL;
2379 }
2380 }
2381 _result = (long )wxTreeCtrl_GetParent(_arg0,_arg1);
2382 _resultobj = Py_BuildValue("l",_result);
2383 return _resultobj;
2384 }
2385
2386 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
2387 static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args) {
2388 PyObject * _resultobj;
2389 long _result;
2390 wxTreeCtrl * _arg0;
2391 char * _argc0 = 0;
2392
2393 self = self;
2394 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetRootItem",&_argc0))
2395 return NULL;
2396 if (_argc0) {
2397 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
2399 return NULL;
2400 }
2401 }
2402 _result = (long )wxTreeCtrl_GetRootItem(_arg0);
2403 _resultobj = Py_BuildValue("l",_result);
2404 return _resultobj;
2405 }
2406
2407 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
2408 static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args) {
2409 PyObject * _resultobj;
2410 long _result;
2411 wxTreeCtrl * _arg0;
2412 char * _argc0 = 0;
2413
2414 self = self;
2415 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetSelection",&_argc0))
2416 return NULL;
2417 if (_argc0) {
2418 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
2420 return NULL;
2421 }
2422 }
2423 _result = (long )wxTreeCtrl_GetSelection(_arg0);
2424 _resultobj = Py_BuildValue("l",_result);
2425 return _resultobj;
2426 }
2427
2428 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2429 static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args) {
2430 PyObject * _resultobj;
2431 long _result;
2432 wxTreeCtrl * _arg0;
2433 wxPoint * _arg1;
2434 int * _arg2;
2435 int temp;
2436 char * _argc0 = 0;
2437 char * _argc1 = 0;
2438
2439 self = self;
2440 {
2441 _arg2 = &temp;
2442 }
2443 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_HitTest",&_argc0,&_argc1))
2444 return NULL;
2445 if (_argc0) {
2446 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
2448 return NULL;
2449 }
2450 }
2451 if (_argc1) {
2452 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
2453 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
2454 return NULL;
2455 }
2456 }
2457 _result = (long )wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2);
2458 _resultobj = Py_BuildValue("l",_result);
2459 {
2460 PyObject *o;
2461 o = PyInt_FromLong((long) (*_arg2));
2462 _resultobj = t_output_helper(_resultobj, o);
2463 }
2464 return _resultobj;
2465 }
2466
2467 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2468 static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args) {
2469 PyObject * _resultobj;
2470 long _result;
2471 wxTreeCtrl * _arg0;
2472 long _arg1;
2473 wxTreeItem * _arg2;
2474 long _arg3 = (wxTREE_INSERT_LAST);
2475 char * _argc0 = 0;
2476 char * _argc2 = 0;
2477
2478 self = self;
2479 if(!PyArg_ParseTuple(args,"sls|l:wxTreeCtrl_InsertItem",&_argc0,&_arg1,&_argc2,&_arg3))
2480 return NULL;
2481 if (_argc0) {
2482 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
2484 return NULL;
2485 }
2486 }
2487 if (_argc2) {
2488 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItem_p")) {
2489 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItem_p.");
2490 return NULL;
2491 }
2492 }
2493 _result = (long )wxTreeCtrl_InsertItem(_arg0,_arg1,*_arg2,_arg3);
2494 _resultobj = Py_BuildValue("l",_result);
2495 return _resultobj;
2496 }
2497
2498 #define wxTreeCtrl_InsertItemString(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2499 static PyObject *_wrap_wxTreeCtrl_InsertItemString(PyObject *self, PyObject *args) {
2500 PyObject * _resultobj;
2501 long _result;
2502 wxTreeCtrl * _arg0;
2503 long _arg1;
2504 wxString * _arg2;
2505 int _arg3 = -1;
2506 int _arg4 = -1;
2507 long _arg5 = (wxTREE_INSERT_LAST);
2508 char * _argc0 = 0;
2509 PyObject * _obj2 = 0;
2510
2511 self = self;
2512 if(!PyArg_ParseTuple(args,"slO|iil:wxTreeCtrl_InsertItemString",&_argc0,&_arg1,&_obj2,&_arg3,&_arg4,&_arg5))
2513 return NULL;
2514 if (_argc0) {
2515 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemString. Expected _wxTreeCtrl_p.");
2517 return NULL;
2518 }
2519 }
2520 {
2521 if (!PyString_Check(_obj2)) {
2522 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2523 return NULL;
2524 }
2525 _arg2 = new wxString(PyString_AsString(_obj2));
2526 }
2527 _result = (long )wxTreeCtrl_InsertItemString(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5);
2528 _resultobj = Py_BuildValue("l",_result);
2529 {
2530 if (_obj2)
2531 delete _arg2;
2532 }
2533 return _resultobj;
2534 }
2535
2536 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
2537 static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args) {
2538 PyObject * _resultobj;
2539 bool _result;
2540 wxTreeCtrl * _arg0;
2541 long _arg1;
2542 char * _argc0 = 0;
2543
2544 self = self;
2545 if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_ItemHasChildren",&_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_ItemHasChildren. Expected _wxTreeCtrl_p.");
2550 return NULL;
2551 }
2552 }
2553 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,_arg1);
2554 _resultobj = Py_BuildValue("i",_result);
2555 return _resultobj;
2556 }
2557
2558 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
2559 static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args) {
2560 PyObject * _resultobj;
2561 bool _result;
2562 wxTreeCtrl * _arg0;
2563 long _arg1;
2564 char * _argc0 = 0;
2565
2566 self = self;
2567 if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_SelectItem",&_argc0,&_arg1))
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_SelectItem. Expected _wxTreeCtrl_p.");
2572 return NULL;
2573 }
2574 }
2575 _result = (bool )wxTreeCtrl_SelectItem(_arg0,_arg1);
2576 _resultobj = Py_BuildValue("i",_result);
2577 return _resultobj;
2578 }
2579
2580 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2581 static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args) {
2582 PyObject * _resultobj;
2583 wxTreeCtrl * _arg0;
2584 int _arg1;
2585 char * _argc0 = 0;
2586
2587 self = self;
2588 if(!PyArg_ParseTuple(args,"si:wxTreeCtrl_SetIndent",&_argc0,&_arg1))
2589 return NULL;
2590 if (_argc0) {
2591 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2593 return NULL;
2594 }
2595 }
2596 wxTreeCtrl_SetIndent(_arg0,_arg1);
2597 Py_INCREF(Py_None);
2598 _resultobj = Py_None;
2599 return _resultobj;
2600 }
2601
2602 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2603 static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args) {
2604 PyObject * _resultobj;
2605 wxTreeCtrl * _arg0;
2606 wxImageList * _arg1;
2607 int _arg2 = wxIMAGE_LIST_NORMAL;
2608 char * _argc0 = 0;
2609 char * _argc1 = 0;
2610
2611 self = self;
2612 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetImageList",&_argc0,&_argc1,&_arg2))
2613 return NULL;
2614 if (_argc0) {
2615 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2617 return NULL;
2618 }
2619 }
2620 if (_argc1) {
2621 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2622 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2623 return NULL;
2624 }
2625 }
2626 wxTreeCtrl_SetImageList(_arg0,_arg1,_arg2);
2627 Py_INCREF(Py_None);
2628 _resultobj = Py_None;
2629 return _resultobj;
2630 }
2631
2632 #define wxTreeCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2633 static PyObject *_wrap_wxTreeCtrl_SetItem(PyObject *self, PyObject *args) {
2634 PyObject * _resultobj;
2635 bool _result;
2636 wxTreeCtrl * _arg0;
2637 wxTreeItem * _arg1;
2638 char * _argc0 = 0;
2639 char * _argc1 = 0;
2640
2641 self = self;
2642 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetItem",&_argc0,&_argc1))
2643 return NULL;
2644 if (_argc0) {
2645 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItem. Expected _wxTreeCtrl_p.");
2647 return NULL;
2648 }
2649 }
2650 if (_argc1) {
2651 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItem_p")) {
2652 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItem. Expected _wxTreeItem_p.");
2653 return NULL;
2654 }
2655 }
2656 _result = (bool )wxTreeCtrl_SetItem(_arg0,*_arg1);
2657 _resultobj = Py_BuildValue("i",_result);
2658 return _resultobj;
2659 }
2660
2661 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2662 static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args) {
2663 PyObject * _resultobj;
2664 wxTreeCtrl * _arg0;
2665 long _arg1;
2666 int _arg2;
2667 int _arg3;
2668 char * _argc0 = 0;
2669
2670 self = self;
2671 if(!PyArg_ParseTuple(args,"slii:wxTreeCtrl_SetItemImage",&_argc0,&_arg1,&_arg2,&_arg3))
2672 return NULL;
2673 if (_argc0) {
2674 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
2676 return NULL;
2677 }
2678 }
2679 wxTreeCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
2680 Py_INCREF(Py_None);
2681 _resultobj = Py_None;
2682 return _resultobj;
2683 }
2684
2685 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2686 static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args) {
2687 PyObject * _resultobj;
2688 wxTreeCtrl * _arg0;
2689 long _arg1;
2690 wxString * _arg2;
2691 char * _argc0 = 0;
2692 PyObject * _obj2 = 0;
2693
2694 self = self;
2695 if(!PyArg_ParseTuple(args,"slO:wxTreeCtrl_SetItemText",&_argc0,&_arg1,&_obj2))
2696 return NULL;
2697 if (_argc0) {
2698 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
2700 return NULL;
2701 }
2702 }
2703 {
2704 if (!PyString_Check(_obj2)) {
2705 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2706 return NULL;
2707 }
2708 _arg2 = new wxString(PyString_AsString(_obj2));
2709 }
2710 wxTreeCtrl_SetItemText(_arg0,_arg1,*_arg2);
2711 Py_INCREF(Py_None);
2712 _resultobj = Py_None;
2713 {
2714 if (_obj2)
2715 delete _arg2;
2716 }
2717 return _resultobj;
2718 }
2719
2720 #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2721 static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args) {
2722 PyObject * _resultobj;
2723 bool _result;
2724 wxTreeCtrl * _arg0;
2725 long _arg1;
2726 long _arg2;
2727 char * _argc0 = 0;
2728
2729 self = self;
2730 if(!PyArg_ParseTuple(args,"sll:wxTreeCtrl_SetItemData",&_argc0,&_arg1,&_arg2))
2731 return NULL;
2732 if (_argc0) {
2733 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
2735 return NULL;
2736 }
2737 }
2738 _result = (bool )wxTreeCtrl_SetItemData(_arg0,_arg1,_arg2);
2739 _resultobj = Py_BuildValue("i",_result);
2740 return _resultobj;
2741 }
2742
2743 static PyMethodDef controls2cMethods[] = {
2744 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData, 1 },
2745 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText, 1 },
2746 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage, 1 },
2747 { "wxTreeCtrl_SetItem", _wrap_wxTreeCtrl_SetItem, 1 },
2748 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList, 1 },
2749 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent, 1 },
2750 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem, 1 },
2751 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren, 1 },
2752 { "wxTreeCtrl_InsertItemString", _wrap_wxTreeCtrl_InsertItemString, 1 },
2753 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem, 1 },
2754 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest, 1 },
2755 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection, 1 },
2756 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem, 1 },
2757 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent, 1 },
2758 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText, 1 },
2759 { "wxTreeCtrl_GetItem", _wrap_wxTreeCtrl_GetItem, 1 },
2760 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData, 1 },
2761 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent, 1 },
2762 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList, 1 },
2763 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount, 1 },
2764 { "wxTreeCtrl_DeleteItem", _wrap_wxTreeCtrl_DeleteItem, 1 },
2765 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems, 1 },
2766 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl, 1 },
2767 { "wxTreeEvent_m_pointDrag_get", _wrap_wxTreeEvent_m_pointDrag_get, 1 },
2768 { "wxTreeEvent_m_oldItem_get", _wrap_wxTreeEvent_m_oldItem_get, 1 },
2769 { "wxTreeEvent_m_item_get", _wrap_wxTreeEvent_m_item_get, 1 },
2770 { "wxTreeEvent_m_code_get", _wrap_wxTreeEvent_m_code_get, 1 },
2771 { "delete_wxTreeItem", _wrap_delete_wxTreeItem, 1 },
2772 { "new_wxTreeItem", _wrap_new_wxTreeItem, 1 },
2773 { "wxTreeItem_m_data_get", _wrap_wxTreeItem_m_data_get, 1 },
2774 { "wxTreeItem_m_children_get", _wrap_wxTreeItem_m_children_get, 1 },
2775 { "wxTreeItem_m_selectedImage_get", _wrap_wxTreeItem_m_selectedImage_get, 1 },
2776 { "wxTreeItem_m_image_get", _wrap_wxTreeItem_m_image_get, 1 },
2777 { "wxTreeItem_m_text_get", _wrap_wxTreeItem_m_text_get, 1 },
2778 { "wxTreeItem_m_stateMask_get", _wrap_wxTreeItem_m_stateMask_get, 1 },
2779 { "wxTreeItem_m_state_get", _wrap_wxTreeItem_m_state_get, 1 },
2780 { "wxTreeItem_m_itemId_get", _wrap_wxTreeItem_m_itemId_get, 1 },
2781 { "wxTreeItem_m_mask_get", _wrap_wxTreeItem_m_mask_get, 1 },
2782 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag, 1 },
2783 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle, 1 },
2784 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText, 1 },
2785 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState, 1 },
2786 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition, 1 },
2787 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage, 1 },
2788 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData, 1 },
2789 { "wxListCtrl_SetItemString", _wrap_wxListCtrl_SetItemString, 1 },
2790 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem, 1 },
2791 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList, 1 },
2792 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth, 1 },
2793 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn, 1 },
2794 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour, 1 },
2795 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList, 1 },
2796 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem, 1 },
2797 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem, 1 },
2798 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem, 1 },
2799 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem, 1 },
2800 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn, 1 },
2801 { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo, 1 },
2802 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest, 1 },
2803 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem, 1 },
2804 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount, 1 },
2805 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem, 1 },
2806 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText, 1 },
2807 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing, 1 },
2808 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount, 1 },
2809 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState, 1 },
2810 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect, 1 },
2811 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition, 1 },
2812 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem, 1 },
2813 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData, 1 },
2814 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList, 1 },
2815 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage, 1 },
2816 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth, 1 },
2817 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn, 1 },
2818 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos, 1 },
2819 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData, 1 },
2820 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem, 1 },
2821 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible, 1 },
2822 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn, 1 },
2823 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems, 1 },
2824 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem, 1 },
2825 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange, 1 },
2826 { "new_wxListCtrl", _wrap_new_wxListCtrl, 1 },
2827 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get, 1 },
2828 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get, 1 },
2829 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get, 1 },
2830 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get, 1 },
2831 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get, 1 },
2832 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get, 1 },
2833 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get, 1 },
2834 { "delete_wxListItem", _wrap_delete_wxListItem, 1 },
2835 { "new_wxListItem", _wrap_new_wxListItem, 1 },
2836 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get, 1 },
2837 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get, 1 },
2838 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get, 1 },
2839 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get, 1 },
2840 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get, 1 },
2841 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get, 1 },
2842 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get, 1 },
2843 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get, 1 },
2844 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get, 1 },
2845 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get, 1 },
2846 { NULL, NULL }
2847 };
2848 static PyObject *SWIG_globals;
2849 #ifdef __cplusplus
2850 extern "C"
2851 #endif
2852 SWIGEXPORT(void,initcontrols2c)() {
2853 PyObject *m, *d;
2854 SWIG_globals = SWIG_newvarlink();
2855 m = Py_InitModule("controls2c", controls2cMethods);
2856 d = PyModule_GetDict(m);
2857 PyDict_SetItemString(d,"wxTREE_MASK_HANDLE", PyInt_FromLong((long) wxTREE_MASK_HANDLE));
2858 PyDict_SetItemString(d,"wxTREE_MASK_STATE", PyInt_FromLong((long) wxTREE_MASK_STATE));
2859 PyDict_SetItemString(d,"wxTREE_MASK_TEXT", PyInt_FromLong((long) wxTREE_MASK_TEXT));
2860 PyDict_SetItemString(d,"wxTREE_MASK_IMAGE", PyInt_FromLong((long) wxTREE_MASK_IMAGE));
2861 PyDict_SetItemString(d,"wxTREE_MASK_SELECTED_IMAGE", PyInt_FromLong((long) wxTREE_MASK_SELECTED_IMAGE));
2862 PyDict_SetItemString(d,"wxTREE_MASK_CHILDREN", PyInt_FromLong((long) wxTREE_MASK_CHILDREN));
2863 PyDict_SetItemString(d,"wxTREE_MASK_DATA", PyInt_FromLong((long) wxTREE_MASK_DATA));
2864 PyDict_SetItemString(d,"wxTREE_STATE_BOLD", PyInt_FromLong((long) wxTREE_STATE_BOLD));
2865 PyDict_SetItemString(d,"wxTREE_STATE_DROPHILITED", PyInt_FromLong((long) wxTREE_STATE_DROPHILITED));
2866 PyDict_SetItemString(d,"wxTREE_STATE_EXPANDED", PyInt_FromLong((long) wxTREE_STATE_EXPANDED));
2867 PyDict_SetItemString(d,"wxTREE_STATE_EXPANDEDONCE", PyInt_FromLong((long) wxTREE_STATE_EXPANDEDONCE));
2868 PyDict_SetItemString(d,"wxTREE_STATE_FOCUSED", PyInt_FromLong((long) wxTREE_STATE_FOCUSED));
2869 PyDict_SetItemString(d,"wxTREE_STATE_SELECTED", PyInt_FromLong((long) wxTREE_STATE_SELECTED));
2870 PyDict_SetItemString(d,"wxTREE_STATE_CUT", PyInt_FromLong((long) wxTREE_STATE_CUT));
2871 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
2872 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
2873 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
2874 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
2875 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
2876 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
2877 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
2878 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
2879 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
2880 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
2881 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
2882 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
2883 PyDict_SetItemString(d,"wxTREE_NEXT_CARET", PyInt_FromLong((long) wxTREE_NEXT_CARET));
2884 PyDict_SetItemString(d,"wxTREE_NEXT_CHILD", PyInt_FromLong((long) wxTREE_NEXT_CHILD));
2885 PyDict_SetItemString(d,"wxTREE_NEXT_DROPHILITE", PyInt_FromLong((long) wxTREE_NEXT_DROPHILITE));
2886 PyDict_SetItemString(d,"wxTREE_NEXT_FIRSTVISIBLE", PyInt_FromLong((long) wxTREE_NEXT_FIRSTVISIBLE));
2887 PyDict_SetItemString(d,"wxTREE_NEXT_NEXT", PyInt_FromLong((long) wxTREE_NEXT_NEXT));
2888 PyDict_SetItemString(d,"wxTREE_NEXT_NEXTVISIBLE", PyInt_FromLong((long) wxTREE_NEXT_NEXTVISIBLE));
2889 PyDict_SetItemString(d,"wxTREE_NEXT_PARENT", PyInt_FromLong((long) wxTREE_NEXT_PARENT));
2890 PyDict_SetItemString(d,"wxTREE_NEXT_PREVIOUS", PyInt_FromLong((long) wxTREE_NEXT_PREVIOUS));
2891 PyDict_SetItemString(d,"wxTREE_NEXT_PREVIOUSVISIBLE", PyInt_FromLong((long) wxTREE_NEXT_PREVIOUSVISIBLE));
2892 PyDict_SetItemString(d,"wxTREE_NEXT_ROOT", PyInt_FromLong((long) wxTREE_NEXT_ROOT));
2893 PyDict_SetItemString(d,"wxTREE_EXPAND_EXPAND", PyInt_FromLong((long) wxTREE_EXPAND_EXPAND));
2894 PyDict_SetItemString(d,"wxTREE_EXPAND_COLLAPSE", PyInt_FromLong((long) wxTREE_EXPAND_COLLAPSE));
2895 PyDict_SetItemString(d,"wxTREE_EXPAND_COLLAPSE_RESET", PyInt_FromLong((long) wxTREE_EXPAND_COLLAPSE_RESET));
2896 PyDict_SetItemString(d,"wxTREE_EXPAND_TOGGLE", PyInt_FromLong((long) wxTREE_EXPAND_TOGGLE));
2897 PyDict_SetItemString(d,"wxTREE_INSERT_LAST", PyInt_FromLong((long) wxTREE_INSERT_LAST));
2898 PyDict_SetItemString(d,"wxTREE_INSERT_FIRST", PyInt_FromLong((long) wxTREE_INSERT_FIRST));
2899 PyDict_SetItemString(d,"wxTREE_INSERT_SORT", PyInt_FromLong((long) wxTREE_INSERT_SORT));
2900 /*
2901 * These are the pointer type-equivalency mappings.
2902 * (Used by the SWIG pointer type-checker).
2903 */
2904 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
2905 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
2906 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
2907 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
2908 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
2909 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
2910 SWIG_RegisterMapping("_signed_long","_long",0);
2911 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
2912 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
2913 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
2914 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
2915 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
2916 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
2917 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
2918 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
2919 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2920 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
2921 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
2922 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
2923 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
2924 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
2925 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
2926 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2927 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
2928 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
2929 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
2930 SWIG_RegisterMapping("_long","_wxDash",0);
2931 SWIG_RegisterMapping("_long","_unsigned_long",0);
2932 SWIG_RegisterMapping("_long","_signed_long",0);
2933 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
2934 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
2935 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
2936 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
2937 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
2938 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2939 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
2940 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
2941 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
2942 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
2943 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
2944 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
2945 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
2946 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
2947 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
2948 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
2949 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
2950 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
2951 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
2952 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
2953 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
2954 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
2955 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2956 SWIG_RegisterMapping("_uint","_int",0);
2957 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2958 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
2959 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
2960 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
2961 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
2962 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
2963 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2964 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
2965 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
2966 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
2967 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
2968 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
2969 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
2970 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2971 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
2972 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
2973 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
2974 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2975 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
2976 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2977 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2978 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
2979 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
2980 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2981 SWIG_RegisterMapping("_EBool","_signed_int",0);
2982 SWIG_RegisterMapping("_EBool","_int",0);
2983 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2984 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2985 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
2986 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
2987 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2988 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
2989 SWIG_RegisterMapping("_unsigned_long","_long",0);
2990 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2991 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
2992 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
2993 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2994 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2995 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2996 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
2997 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
2998 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
2999 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
3000 SWIG_RegisterMapping("_signed_int","_EBool",0);
3001 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3002 SWIG_RegisterMapping("_signed_int","_int",0);
3003 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
3004 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3005 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
3006 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3007 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
3008 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
3009 SWIG_RegisterMapping("_WXTYPE","_short",0);
3010 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3011 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3012 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
3013 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3014 SWIG_RegisterMapping("_unsigned_short","_short",0);
3015 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
3016 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
3017 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
3018 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
3019 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
3020 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
3021 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
3022 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3023 SWIG_RegisterMapping("_wxTreeItem","_class_wxTreeItem",0);
3024 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3025 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
3026 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3027 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
3028 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3029 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3030 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
3031 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3032 SWIG_RegisterMapping("_signed_short","_short",0);
3033 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
3034 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
3035 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3036 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3037 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
3038 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
3039 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
3040 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3041 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
3042 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
3043 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
3044 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
3045 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
3046 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
3047 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
3048 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3049 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3050 SWIG_RegisterMapping("_unsigned_int","_int",0);
3051 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
3052 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
3053 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
3054 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
3055 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
3056 SWIG_RegisterMapping("_short","_WXTYPE",0);
3057 SWIG_RegisterMapping("_short","_unsigned_short",0);
3058 SWIG_RegisterMapping("_short","_signed_short",0);
3059 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
3060 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
3061 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
3062 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
3063 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
3064 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
3065 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
3066 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3067 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3068 SWIG_RegisterMapping("_wxWindowID","_int",0);
3069 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3070 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3071 SWIG_RegisterMapping("_int","_EBool",0);
3072 SWIG_RegisterMapping("_int","_uint",0);
3073 SWIG_RegisterMapping("_int","_wxWindowID",0);
3074 SWIG_RegisterMapping("_int","_unsigned_int",0);
3075 SWIG_RegisterMapping("_int","_signed_int",0);
3076 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
3077 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
3078 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
3079 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3080 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
3081 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3082 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3083 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
3084 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
3085 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
3086 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3087 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3088 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
3089 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
3090 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
3091 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
3092 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
3093 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
3094 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
3095 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
3096 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
3097 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3098 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
3099 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
3100 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3101 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3102 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
3103 SWIG_RegisterMapping("_class_wxTreeItem","_wxTreeItem",0);
3104 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
3105 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
3106 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
3107 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
3108 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3109 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
3110 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3111 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
3112 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3113 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
3114 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
3115 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
3116 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
3117 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
3118 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
3119 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
3120 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
3121 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
3122 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
3123 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
3124 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
3125 SWIG_RegisterMapping("_wxDash","_long",0);
3126 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
3127 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3128 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
3129 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
3130 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
3131 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
3132 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
3133 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
3134 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
3135 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);
3136 }