]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls2.cpp
Enabling the use of masks for wxGTK in some of the demos
[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 (Build 810)
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) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
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 char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initcontrols2c
53
54 #define SWIG_name "controls2c"
55
56 #include "helpers.h"
57 #ifdef __WXMSW__
58 #include <windows.h>
59 #endif
60 #include <wx/listctrl.h>
61 #include <wx/treectrl.h>
62
63 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyList_Check(target)) {
73 o2 = target;
74 target = PyList_New(0);
75 PyList_Append(target, o2);
76 Py_XDECREF(o2);
77 }
78 PyList_Append(target,o);
79 Py_XDECREF(o);
80 }
81 return target;
82 }
83
84 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
85 PyObject* o2;
86 PyObject* o3;
87
88 if (!target) {
89 target = o;
90 } else if (target == Py_None) {
91 Py_DECREF(Py_None);
92 target = o;
93 } else {
94 if (!PyTuple_Check(target)) {
95 o2 = target;
96 target = PyTuple_New(1);
97 PyTuple_SetItem(target, 0, o2);
98 }
99 o3 = PyTuple_New(1);
100 PyTuple_SetItem(o3, 0, o);
101
102 o2 = target;
103 target = PySequence_Concat(o2, o3);
104 Py_DECREF(o2);
105 Py_DECREF(o3);
106 }
107 return target;
108 }
109
110 static char* wxStringErrorMsg = "string type is required for parameter";
111
112 extern wxValidator wxPyDefaultValidator;
113
114 class wxPyTreeItemData : public wxTreeItemData {
115 public:
116 wxPyTreeItemData(PyObject* obj = NULL) {
117 if (obj == NULL)
118 obj = Py_None;
119 Py_INCREF(obj);
120 m_obj = obj;
121 }
122
123 ~wxPyTreeItemData() {
124 bool doSave = wxPyRestoreThread();
125 Py_DECREF(m_obj);
126 wxPySaveThread(doSave);
127 }
128
129 PyObject* GetData() {
130 Py_INCREF(m_obj);
131 return m_obj;
132 }
133
134 void SetData(PyObject* obj) {
135 Py_DECREF(m_obj);
136 m_obj = obj;
137 Py_INCREF(obj);
138 }
139
140 PyObject* m_obj;
141 };
142 #ifdef __cplusplus
143 extern "C" {
144 #endif
145 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
146 static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
147 PyObject * _resultobj;
148 long _result;
149 wxListItem * _arg0;
150 long _arg1;
151 PyObject * _argo0 = 0;
152 char *_kwnames[] = { "self","m_mask", NULL };
153
154 self = self;
155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
156 return NULL;
157 if (_argo0) {
158 if (_argo0 == Py_None) { _arg0 = NULL; }
159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
161 return NULL;
162 }
163 }
164 {
165 wxPy_BEGIN_ALLOW_THREADS;
166 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
167
168 wxPy_END_ALLOW_THREADS;
169 } _resultobj = Py_BuildValue("l",_result);
170 return _resultobj;
171 }
172
173 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
174 static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
175 PyObject * _resultobj;
176 long _result;
177 wxListItem * _arg0;
178 PyObject * _argo0 = 0;
179 char *_kwnames[] = { "self", NULL };
180
181 self = self;
182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
183 return NULL;
184 if (_argo0) {
185 if (_argo0 == Py_None) { _arg0 = NULL; }
186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
188 return NULL;
189 }
190 }
191 {
192 wxPy_BEGIN_ALLOW_THREADS;
193 _result = (long )wxListItem_m_mask_get(_arg0);
194
195 wxPy_END_ALLOW_THREADS;
196 } _resultobj = Py_BuildValue("l",_result);
197 return _resultobj;
198 }
199
200 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
201 static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
202 PyObject * _resultobj;
203 long _result;
204 wxListItem * _arg0;
205 long _arg1;
206 PyObject * _argo0 = 0;
207 char *_kwnames[] = { "self","m_itemId", NULL };
208
209 self = self;
210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
211 return NULL;
212 if (_argo0) {
213 if (_argo0 == Py_None) { _arg0 = NULL; }
214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
216 return NULL;
217 }
218 }
219 {
220 wxPy_BEGIN_ALLOW_THREADS;
221 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
222
223 wxPy_END_ALLOW_THREADS;
224 } _resultobj = Py_BuildValue("l",_result);
225 return _resultobj;
226 }
227
228 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
229 static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
230 PyObject * _resultobj;
231 long _result;
232 wxListItem * _arg0;
233 PyObject * _argo0 = 0;
234 char *_kwnames[] = { "self", NULL };
235
236 self = self;
237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
238 return NULL;
239 if (_argo0) {
240 if (_argo0 == Py_None) { _arg0 = NULL; }
241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
243 return NULL;
244 }
245 }
246 {
247 wxPy_BEGIN_ALLOW_THREADS;
248 _result = (long )wxListItem_m_itemId_get(_arg0);
249
250 wxPy_END_ALLOW_THREADS;
251 } _resultobj = Py_BuildValue("l",_result);
252 return _resultobj;
253 }
254
255 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
256 static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
257 PyObject * _resultobj;
258 int _result;
259 wxListItem * _arg0;
260 int _arg1;
261 PyObject * _argo0 = 0;
262 char *_kwnames[] = { "self","m_col", NULL };
263
264 self = self;
265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
266 return NULL;
267 if (_argo0) {
268 if (_argo0 == Py_None) { _arg0 = NULL; }
269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
271 return NULL;
272 }
273 }
274 {
275 wxPy_BEGIN_ALLOW_THREADS;
276 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
277
278 wxPy_END_ALLOW_THREADS;
279 } _resultobj = Py_BuildValue("i",_result);
280 return _resultobj;
281 }
282
283 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
284 static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
285 PyObject * _resultobj;
286 int _result;
287 wxListItem * _arg0;
288 PyObject * _argo0 = 0;
289 char *_kwnames[] = { "self", NULL };
290
291 self = self;
292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
293 return NULL;
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
298 return NULL;
299 }
300 }
301 {
302 wxPy_BEGIN_ALLOW_THREADS;
303 _result = (int )wxListItem_m_col_get(_arg0);
304
305 wxPy_END_ALLOW_THREADS;
306 } _resultobj = Py_BuildValue("i",_result);
307 return _resultobj;
308 }
309
310 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
311 static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
312 PyObject * _resultobj;
313 long _result;
314 wxListItem * _arg0;
315 long _arg1;
316 PyObject * _argo0 = 0;
317 char *_kwnames[] = { "self","m_state", NULL };
318
319 self = self;
320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
321 return NULL;
322 if (_argo0) {
323 if (_argo0 == Py_None) { _arg0 = NULL; }
324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
326 return NULL;
327 }
328 }
329 {
330 wxPy_BEGIN_ALLOW_THREADS;
331 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
332
333 wxPy_END_ALLOW_THREADS;
334 } _resultobj = Py_BuildValue("l",_result);
335 return _resultobj;
336 }
337
338 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
339 static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
340 PyObject * _resultobj;
341 long _result;
342 wxListItem * _arg0;
343 PyObject * _argo0 = 0;
344 char *_kwnames[] = { "self", NULL };
345
346 self = self;
347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
348 return NULL;
349 if (_argo0) {
350 if (_argo0 == Py_None) { _arg0 = NULL; }
351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
353 return NULL;
354 }
355 }
356 {
357 wxPy_BEGIN_ALLOW_THREADS;
358 _result = (long )wxListItem_m_state_get(_arg0);
359
360 wxPy_END_ALLOW_THREADS;
361 } _resultobj = Py_BuildValue("l",_result);
362 return _resultobj;
363 }
364
365 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
366 static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
367 PyObject * _resultobj;
368 long _result;
369 wxListItem * _arg0;
370 long _arg1;
371 PyObject * _argo0 = 0;
372 char *_kwnames[] = { "self","m_stateMask", NULL };
373
374 self = self;
375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
376 return NULL;
377 if (_argo0) {
378 if (_argo0 == Py_None) { _arg0 = NULL; }
379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
381 return NULL;
382 }
383 }
384 {
385 wxPy_BEGIN_ALLOW_THREADS;
386 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
387
388 wxPy_END_ALLOW_THREADS;
389 } _resultobj = Py_BuildValue("l",_result);
390 return _resultobj;
391 }
392
393 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
394 static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
395 PyObject * _resultobj;
396 long _result;
397 wxListItem * _arg0;
398 PyObject * _argo0 = 0;
399 char *_kwnames[] = { "self", NULL };
400
401 self = self;
402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
403 return NULL;
404 if (_argo0) {
405 if (_argo0 == Py_None) { _arg0 = NULL; }
406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
408 return NULL;
409 }
410 }
411 {
412 wxPy_BEGIN_ALLOW_THREADS;
413 _result = (long )wxListItem_m_stateMask_get(_arg0);
414
415 wxPy_END_ALLOW_THREADS;
416 } _resultobj = Py_BuildValue("l",_result);
417 return _resultobj;
418 }
419
420 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
421 static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
422 PyObject * _resultobj;
423 wxString * _result;
424 wxListItem * _arg0;
425 wxString * _arg1;
426 PyObject * _argo0 = 0;
427 PyObject * _obj1 = 0;
428 char *_kwnames[] = { "self","m_text", NULL };
429
430 self = self;
431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
432 return NULL;
433 if (_argo0) {
434 if (_argo0 == Py_None) { _arg0 = NULL; }
435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
437 return NULL;
438 }
439 }
440 {
441 if (!PyString_Check(_obj1)) {
442 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
443 return NULL;
444 }
445 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
446 }
447 {
448 wxPy_BEGIN_ALLOW_THREADS;
449 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
450
451 wxPy_END_ALLOW_THREADS;
452 }{
453 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
454 }
455 {
456 if (_obj1)
457 delete _arg1;
458 }
459 return _resultobj;
460 }
461
462 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
463 static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
464 PyObject * _resultobj;
465 wxString * _result;
466 wxListItem * _arg0;
467 PyObject * _argo0 = 0;
468 char *_kwnames[] = { "self", NULL };
469
470 self = self;
471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
472 return NULL;
473 if (_argo0) {
474 if (_argo0 == Py_None) { _arg0 = NULL; }
475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
477 return NULL;
478 }
479 }
480 {
481 wxPy_BEGIN_ALLOW_THREADS;
482 _result = (wxString *)wxListItem_m_text_get(_arg0);
483
484 wxPy_END_ALLOW_THREADS;
485 }{
486 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
487 }
488 return _resultobj;
489 }
490
491 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
492 static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
493 PyObject * _resultobj;
494 int _result;
495 wxListItem * _arg0;
496 int _arg1;
497 PyObject * _argo0 = 0;
498 char *_kwnames[] = { "self","m_image", NULL };
499
500 self = self;
501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
502 return NULL;
503 if (_argo0) {
504 if (_argo0 == Py_None) { _arg0 = NULL; }
505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
507 return NULL;
508 }
509 }
510 {
511 wxPy_BEGIN_ALLOW_THREADS;
512 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
513
514 wxPy_END_ALLOW_THREADS;
515 } _resultobj = Py_BuildValue("i",_result);
516 return _resultobj;
517 }
518
519 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
520 static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 int _result;
523 wxListItem * _arg0;
524 PyObject * _argo0 = 0;
525 char *_kwnames[] = { "self", NULL };
526
527 self = self;
528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
529 return NULL;
530 if (_argo0) {
531 if (_argo0 == Py_None) { _arg0 = NULL; }
532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
534 return NULL;
535 }
536 }
537 {
538 wxPy_BEGIN_ALLOW_THREADS;
539 _result = (int )wxListItem_m_image_get(_arg0);
540
541 wxPy_END_ALLOW_THREADS;
542 } _resultobj = Py_BuildValue("i",_result);
543 return _resultobj;
544 }
545
546 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
547 static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
548 PyObject * _resultobj;
549 long _result;
550 wxListItem * _arg0;
551 long _arg1;
552 PyObject * _argo0 = 0;
553 char *_kwnames[] = { "self","m_data", NULL };
554
555 self = self;
556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
557 return NULL;
558 if (_argo0) {
559 if (_argo0 == Py_None) { _arg0 = NULL; }
560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
562 return NULL;
563 }
564 }
565 {
566 wxPy_BEGIN_ALLOW_THREADS;
567 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
568
569 wxPy_END_ALLOW_THREADS;
570 } _resultobj = Py_BuildValue("l",_result);
571 return _resultobj;
572 }
573
574 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
575 static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
576 PyObject * _resultobj;
577 long _result;
578 wxListItem * _arg0;
579 PyObject * _argo0 = 0;
580 char *_kwnames[] = { "self", NULL };
581
582 self = self;
583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
584 return NULL;
585 if (_argo0) {
586 if (_argo0 == Py_None) { _arg0 = NULL; }
587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
589 return NULL;
590 }
591 }
592 {
593 wxPy_BEGIN_ALLOW_THREADS;
594 _result = (long )wxListItem_m_data_get(_arg0);
595
596 wxPy_END_ALLOW_THREADS;
597 } _resultobj = Py_BuildValue("l",_result);
598 return _resultobj;
599 }
600
601 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
602 static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
603 PyObject * _resultobj;
604 int _result;
605 wxListItem * _arg0;
606 int _arg1;
607 PyObject * _argo0 = 0;
608 char *_kwnames[] = { "self","m_format", NULL };
609
610 self = self;
611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
612 return NULL;
613 if (_argo0) {
614 if (_argo0 == Py_None) { _arg0 = NULL; }
615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
617 return NULL;
618 }
619 }
620 {
621 wxPy_BEGIN_ALLOW_THREADS;
622 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
623
624 wxPy_END_ALLOW_THREADS;
625 } _resultobj = Py_BuildValue("i",_result);
626 return _resultobj;
627 }
628
629 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
630 static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
631 PyObject * _resultobj;
632 int _result;
633 wxListItem * _arg0;
634 PyObject * _argo0 = 0;
635 char *_kwnames[] = { "self", NULL };
636
637 self = self;
638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
639 return NULL;
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
644 return NULL;
645 }
646 }
647 {
648 wxPy_BEGIN_ALLOW_THREADS;
649 _result = (int )wxListItem_m_format_get(_arg0);
650
651 wxPy_END_ALLOW_THREADS;
652 } _resultobj = Py_BuildValue("i",_result);
653 return _resultobj;
654 }
655
656 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
657 static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
658 PyObject * _resultobj;
659 int _result;
660 wxListItem * _arg0;
661 int _arg1;
662 PyObject * _argo0 = 0;
663 char *_kwnames[] = { "self","m_width", NULL };
664
665 self = self;
666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
667 return NULL;
668 if (_argo0) {
669 if (_argo0 == Py_None) { _arg0 = NULL; }
670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
672 return NULL;
673 }
674 }
675 {
676 wxPy_BEGIN_ALLOW_THREADS;
677 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
678
679 wxPy_END_ALLOW_THREADS;
680 } _resultobj = Py_BuildValue("i",_result);
681 return _resultobj;
682 }
683
684 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
685 static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
686 PyObject * _resultobj;
687 int _result;
688 wxListItem * _arg0;
689 PyObject * _argo0 = 0;
690 char *_kwnames[] = { "self", NULL };
691
692 self = self;
693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
694 return NULL;
695 if (_argo0) {
696 if (_argo0 == Py_None) { _arg0 = NULL; }
697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
699 return NULL;
700 }
701 }
702 {
703 wxPy_BEGIN_ALLOW_THREADS;
704 _result = (int )wxListItem_m_width_get(_arg0);
705
706 wxPy_END_ALLOW_THREADS;
707 } _resultobj = Py_BuildValue("i",_result);
708 return _resultobj;
709 }
710
711 #define new_wxListItem() (new wxListItem())
712 static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
713 PyObject * _resultobj;
714 wxListItem * _result;
715 char *_kwnames[] = { NULL };
716 char _ptemp[128];
717
718 self = self;
719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
720 return NULL;
721 {
722 wxPy_BEGIN_ALLOW_THREADS;
723 _result = (wxListItem *)new_wxListItem();
724
725 wxPy_END_ALLOW_THREADS;
726 } if (_result) {
727 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
728 _resultobj = Py_BuildValue("s",_ptemp);
729 } else {
730 Py_INCREF(Py_None);
731 _resultobj = Py_None;
732 }
733 return _resultobj;
734 }
735
736 #define delete_wxListItem(_swigobj) (delete _swigobj)
737 static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
738 PyObject * _resultobj;
739 wxListItem * _arg0;
740 PyObject * _argo0 = 0;
741 char *_kwnames[] = { "self", NULL };
742
743 self = self;
744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
745 return NULL;
746 if (_argo0) {
747 if (_argo0 == Py_None) { _arg0 = NULL; }
748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
750 return NULL;
751 }
752 }
753 {
754 wxPy_BEGIN_ALLOW_THREADS;
755 delete_wxListItem(_arg0);
756
757 wxPy_END_ALLOW_THREADS;
758 } Py_INCREF(Py_None);
759 _resultobj = Py_None;
760 return _resultobj;
761 }
762
763 static void *SwigwxListEventTowxCommandEvent(void *ptr) {
764 wxListEvent *src;
765 wxCommandEvent *dest;
766 src = (wxListEvent *) ptr;
767 dest = (wxCommandEvent *) src;
768 return (void *) dest;
769 }
770
771 static void *SwigwxListEventTowxEvent(void *ptr) {
772 wxListEvent *src;
773 wxEvent *dest;
774 src = (wxListEvent *) ptr;
775 dest = (wxEvent *) src;
776 return (void *) dest;
777 }
778
779 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
780 static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
781 PyObject * _resultobj;
782 int _result;
783 wxListEvent * _arg0;
784 int _arg1;
785 PyObject * _argo0 = 0;
786 char *_kwnames[] = { "self","m_code", NULL };
787
788 self = self;
789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
790 return NULL;
791 if (_argo0) {
792 if (_argo0 == Py_None) { _arg0 = NULL; }
793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
795 return NULL;
796 }
797 }
798 {
799 wxPy_BEGIN_ALLOW_THREADS;
800 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
801
802 wxPy_END_ALLOW_THREADS;
803 } _resultobj = Py_BuildValue("i",_result);
804 return _resultobj;
805 }
806
807 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
808 static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
809 PyObject * _resultobj;
810 int _result;
811 wxListEvent * _arg0;
812 PyObject * _argo0 = 0;
813 char *_kwnames[] = { "self", NULL };
814
815 self = self;
816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
817 return NULL;
818 if (_argo0) {
819 if (_argo0 == Py_None) { _arg0 = NULL; }
820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
822 return NULL;
823 }
824 }
825 {
826 wxPy_BEGIN_ALLOW_THREADS;
827 _result = (int )wxListEvent_m_code_get(_arg0);
828
829 wxPy_END_ALLOW_THREADS;
830 } _resultobj = Py_BuildValue("i",_result);
831 return _resultobj;
832 }
833
834 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
835 static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
836 PyObject * _resultobj;
837 long _result;
838 wxListEvent * _arg0;
839 long _arg1;
840 PyObject * _argo0 = 0;
841 char *_kwnames[] = { "self","m_itemIndex", NULL };
842
843 self = self;
844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
845 return NULL;
846 if (_argo0) {
847 if (_argo0 == Py_None) { _arg0 = NULL; }
848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
850 return NULL;
851 }
852 }
853 {
854 wxPy_BEGIN_ALLOW_THREADS;
855 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
856
857 wxPy_END_ALLOW_THREADS;
858 } _resultobj = Py_BuildValue("l",_result);
859 return _resultobj;
860 }
861
862 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
863 static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
864 PyObject * _resultobj;
865 long _result;
866 wxListEvent * _arg0;
867 PyObject * _argo0 = 0;
868 char *_kwnames[] = { "self", NULL };
869
870 self = self;
871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
872 return NULL;
873 if (_argo0) {
874 if (_argo0 == Py_None) { _arg0 = NULL; }
875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
877 return NULL;
878 }
879 }
880 {
881 wxPy_BEGIN_ALLOW_THREADS;
882 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
883
884 wxPy_END_ALLOW_THREADS;
885 } _resultobj = Py_BuildValue("l",_result);
886 return _resultobj;
887 }
888
889 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
890 static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
891 PyObject * _resultobj;
892 long _result;
893 wxListEvent * _arg0;
894 long _arg1;
895 PyObject * _argo0 = 0;
896 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
897
898 self = self;
899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
900 return NULL;
901 if (_argo0) {
902 if (_argo0 == Py_None) { _arg0 = NULL; }
903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
905 return NULL;
906 }
907 }
908 {
909 wxPy_BEGIN_ALLOW_THREADS;
910 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
911
912 wxPy_END_ALLOW_THREADS;
913 } _resultobj = Py_BuildValue("l",_result);
914 return _resultobj;
915 }
916
917 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
918 static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
919 PyObject * _resultobj;
920 long _result;
921 wxListEvent * _arg0;
922 PyObject * _argo0 = 0;
923 char *_kwnames[] = { "self", NULL };
924
925 self = self;
926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
927 return NULL;
928 if (_argo0) {
929 if (_argo0 == Py_None) { _arg0 = NULL; }
930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
932 return NULL;
933 }
934 }
935 {
936 wxPy_BEGIN_ALLOW_THREADS;
937 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
938
939 wxPy_END_ALLOW_THREADS;
940 } _resultobj = Py_BuildValue("l",_result);
941 return _resultobj;
942 }
943
944 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
945 static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
946 PyObject * _resultobj;
947 int _result;
948 wxListEvent * _arg0;
949 int _arg1;
950 PyObject * _argo0 = 0;
951 char *_kwnames[] = { "self","m_col", NULL };
952
953 self = self;
954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
955 return NULL;
956 if (_argo0) {
957 if (_argo0 == Py_None) { _arg0 = NULL; }
958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
960 return NULL;
961 }
962 }
963 {
964 wxPy_BEGIN_ALLOW_THREADS;
965 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
966
967 wxPy_END_ALLOW_THREADS;
968 } _resultobj = Py_BuildValue("i",_result);
969 return _resultobj;
970 }
971
972 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
973 static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
974 PyObject * _resultobj;
975 int _result;
976 wxListEvent * _arg0;
977 PyObject * _argo0 = 0;
978 char *_kwnames[] = { "self", NULL };
979
980 self = self;
981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
982 return NULL;
983 if (_argo0) {
984 if (_argo0 == Py_None) { _arg0 = NULL; }
985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
987 return NULL;
988 }
989 }
990 {
991 wxPy_BEGIN_ALLOW_THREADS;
992 _result = (int )wxListEvent_m_col_get(_arg0);
993
994 wxPy_END_ALLOW_THREADS;
995 } _resultobj = Py_BuildValue("i",_result);
996 return _resultobj;
997 }
998
999 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
1000 static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1001 PyObject * _resultobj;
1002 bool _result;
1003 wxListEvent * _arg0;
1004 bool _arg1;
1005 PyObject * _argo0 = 0;
1006 int tempbool1;
1007 char *_kwnames[] = { "self","m_cancelled", NULL };
1008
1009 self = self;
1010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1))
1011 return NULL;
1012 if (_argo0) {
1013 if (_argo0 == Py_None) { _arg0 = NULL; }
1014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
1016 return NULL;
1017 }
1018 }
1019 _arg1 = (bool ) tempbool1;
1020 {
1021 wxPy_BEGIN_ALLOW_THREADS;
1022 _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1);
1023
1024 wxPy_END_ALLOW_THREADS;
1025 } _resultobj = Py_BuildValue("i",_result);
1026 return _resultobj;
1027 }
1028
1029 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
1030 static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1031 PyObject * _resultobj;
1032 bool _result;
1033 wxListEvent * _arg0;
1034 PyObject * _argo0 = 0;
1035 char *_kwnames[] = { "self", NULL };
1036
1037 self = self;
1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0))
1039 return NULL;
1040 if (_argo0) {
1041 if (_argo0 == Py_None) { _arg0 = NULL; }
1042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1044 return NULL;
1045 }
1046 }
1047 {
1048 wxPy_BEGIN_ALLOW_THREADS;
1049 _result = (bool )wxListEvent_m_cancelled_get(_arg0);
1050
1051 wxPy_END_ALLOW_THREADS;
1052 } _resultobj = Py_BuildValue("i",_result);
1053 return _resultobj;
1054 }
1055
1056 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
1057 static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1058 PyObject * _resultobj;
1059 wxPoint * _result;
1060 wxListEvent * _arg0;
1061 wxPoint * _arg1;
1062 PyObject * _argo0 = 0;
1063 wxPoint temp;
1064 PyObject * _obj1 = 0;
1065 char *_kwnames[] = { "self","m_pointDrag", NULL };
1066 char _ptemp[128];
1067
1068 self = self;
1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
1070 return NULL;
1071 if (_argo0) {
1072 if (_argo0 == Py_None) { _arg0 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1075 return NULL;
1076 }
1077 }
1078 {
1079 _arg1 = &temp;
1080 if (! wxPoint_helper(_obj1, &_arg1))
1081 return NULL;
1082 }
1083 {
1084 wxPy_BEGIN_ALLOW_THREADS;
1085 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
1086
1087 wxPy_END_ALLOW_THREADS;
1088 } if (_result) {
1089 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1090 _resultobj = Py_BuildValue("s",_ptemp);
1091 } else {
1092 Py_INCREF(Py_None);
1093 _resultobj = Py_None;
1094 }
1095 return _resultobj;
1096 }
1097
1098 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1099 static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1100 PyObject * _resultobj;
1101 wxPoint * _result;
1102 wxListEvent * _arg0;
1103 PyObject * _argo0 = 0;
1104 char *_kwnames[] = { "self", NULL };
1105 char _ptemp[128];
1106
1107 self = self;
1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
1109 return NULL;
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1114 return NULL;
1115 }
1116 }
1117 {
1118 wxPy_BEGIN_ALLOW_THREADS;
1119 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
1120
1121 wxPy_END_ALLOW_THREADS;
1122 } if (_result) {
1123 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1124 _resultobj = Py_BuildValue("s",_ptemp);
1125 } else {
1126 Py_INCREF(Py_None);
1127 _resultobj = Py_None;
1128 }
1129 return _resultobj;
1130 }
1131
1132 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1133 static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject * _resultobj;
1135 wxListItem * _result;
1136 wxListEvent * _arg0;
1137 wxListItem * _arg1;
1138 PyObject * _argo0 = 0;
1139 PyObject * _argo1 = 0;
1140 char *_kwnames[] = { "self","m_item", NULL };
1141 char _ptemp[128];
1142
1143 self = self;
1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
1145 return NULL;
1146 if (_argo0) {
1147 if (_argo0 == Py_None) { _arg0 = NULL; }
1148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1150 return NULL;
1151 }
1152 }
1153 if (_argo1) {
1154 if (_argo1 == Py_None) { _arg1 = NULL; }
1155 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
1156 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1157 return NULL;
1158 }
1159 }
1160 {
1161 wxPy_BEGIN_ALLOW_THREADS;
1162 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
1163
1164 wxPy_END_ALLOW_THREADS;
1165 } if (_result) {
1166 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1167 _resultobj = Py_BuildValue("s",_ptemp);
1168 } else {
1169 Py_INCREF(Py_None);
1170 _resultobj = Py_None;
1171 }
1172 return _resultobj;
1173 }
1174
1175 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1176 static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject * _resultobj;
1178 wxListItem * _result;
1179 wxListEvent * _arg0;
1180 PyObject * _argo0 = 0;
1181 char *_kwnames[] = { "self", NULL };
1182 char _ptemp[128];
1183
1184 self = self;
1185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
1186 return NULL;
1187 if (_argo0) {
1188 if (_argo0 == Py_None) { _arg0 = NULL; }
1189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
1190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1191 return NULL;
1192 }
1193 }
1194 {
1195 wxPy_BEGIN_ALLOW_THREADS;
1196 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
1197
1198 wxPy_END_ALLOW_THREADS;
1199 } if (_result) {
1200 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1201 _resultobj = Py_BuildValue("s",_ptemp);
1202 } else {
1203 Py_INCREF(Py_None);
1204 _resultobj = Py_None;
1205 }
1206 return _resultobj;
1207 }
1208
1209 static void *SwigwxListCtrlTowxControl(void *ptr) {
1210 wxListCtrl *src;
1211 wxControl *dest;
1212 src = (wxListCtrl *) ptr;
1213 dest = (wxControl *) src;
1214 return (void *) dest;
1215 }
1216
1217 static void *SwigwxListCtrlTowxWindow(void *ptr) {
1218 wxListCtrl *src;
1219 wxWindow *dest;
1220 src = (wxListCtrl *) ptr;
1221 dest = (wxWindow *) src;
1222 return (void *) dest;
1223 }
1224
1225 static void *SwigwxListCtrlTowxEvtHandler(void *ptr) {
1226 wxListCtrl *src;
1227 wxEvtHandler *dest;
1228 src = (wxListCtrl *) ptr;
1229 dest = (wxEvtHandler *) src;
1230 return (void *) dest;
1231 }
1232
1233 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1234 static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1235 PyObject * _resultobj;
1236 wxListCtrl * _result;
1237 wxWindow * _arg0;
1238 wxWindowID _arg1;
1239 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
1240 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
1241 long _arg4 = (long ) wxLC_ICON;
1242 wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
1243 char * _arg6 = (char *) "listCtrl";
1244 PyObject * _argo0 = 0;
1245 wxPoint temp;
1246 PyObject * _obj2 = 0;
1247 wxSize temp0;
1248 PyObject * _obj3 = 0;
1249 PyObject * _argo5 = 0;
1250 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
1251 char _ptemp[128];
1252
1253 self = self;
1254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
1255 return NULL;
1256 if (_argo0) {
1257 if (_argo0 == Py_None) { _arg0 = NULL; }
1258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1260 return NULL;
1261 }
1262 }
1263 if (_obj2)
1264 {
1265 _arg2 = &temp;
1266 if (! wxPoint_helper(_obj2, &_arg2))
1267 return NULL;
1268 }
1269 if (_obj3)
1270 {
1271 _arg3 = &temp0;
1272 if (! wxSize_helper(_obj3, &_arg3))
1273 return NULL;
1274 }
1275 if (_argo5) {
1276 if (_argo5 == Py_None) { _arg5 = NULL; }
1277 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
1278 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1279 return NULL;
1280 }
1281 }
1282 {
1283 wxPy_BEGIN_ALLOW_THREADS;
1284 _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
1285
1286 wxPy_END_ALLOW_THREADS;
1287 } if (_result) {
1288 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p");
1289 _resultobj = Py_BuildValue("s",_ptemp);
1290 } else {
1291 Py_INCREF(Py_None);
1292 _resultobj = Py_None;
1293 }
1294 return _resultobj;
1295 }
1296
1297 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1298 static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
1299 PyObject * _resultobj;
1300 bool _result;
1301 wxListCtrl * _arg0;
1302 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
1303 PyObject * _argo0 = 0;
1304 char *_kwnames[] = { "self","flag", NULL };
1305
1306 self = self;
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
1308 return NULL;
1309 if (_argo0) {
1310 if (_argo0 == Py_None) { _arg0 = NULL; }
1311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1313 return NULL;
1314 }
1315 }
1316 {
1317 wxPy_BEGIN_ALLOW_THREADS;
1318 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
1319
1320 wxPy_END_ALLOW_THREADS;
1321 } _resultobj = Py_BuildValue("i",_result);
1322 return _resultobj;
1323 }
1324
1325 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1326 static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
1327 PyObject * _resultobj;
1328 bool _result;
1329 wxListCtrl * _arg0;
1330 long _arg1;
1331 PyObject * _argo0 = 0;
1332 char *_kwnames[] = { "self","item", NULL };
1333
1334 self = self;
1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
1336 return NULL;
1337 if (_argo0) {
1338 if (_argo0 == Py_None) { _arg0 = NULL; }
1339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1341 return NULL;
1342 }
1343 }
1344 {
1345 wxPy_BEGIN_ALLOW_THREADS;
1346 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
1347
1348 wxPy_END_ALLOW_THREADS;
1349 } _resultobj = Py_BuildValue("i",_result);
1350 return _resultobj;
1351 }
1352
1353 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1354 static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
1355 PyObject * _resultobj;
1356 bool _result;
1357 wxListCtrl * _arg0;
1358 PyObject * _argo0 = 0;
1359 char *_kwnames[] = { "self", NULL };
1360
1361 self = self;
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
1363 return NULL;
1364 if (_argo0) {
1365 if (_argo0 == Py_None) { _arg0 = NULL; }
1366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1368 return NULL;
1369 }
1370 }
1371 {
1372 wxPy_BEGIN_ALLOW_THREADS;
1373 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
1374
1375 wxPy_END_ALLOW_THREADS;
1376 } _resultobj = Py_BuildValue("i",_result);
1377 return _resultobj;
1378 }
1379
1380 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1381 static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject * _resultobj;
1383 bool _result;
1384 wxListCtrl * _arg0;
1385 int _arg1;
1386 PyObject * _argo0 = 0;
1387 char *_kwnames[] = { "self","col", NULL };
1388
1389 self = self;
1390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
1391 return NULL;
1392 if (_argo0) {
1393 if (_argo0 == Py_None) { _arg0 = NULL; }
1394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1396 return NULL;
1397 }
1398 }
1399 {
1400 wxPy_BEGIN_ALLOW_THREADS;
1401 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
1402
1403 wxPy_END_ALLOW_THREADS;
1404 } _resultobj = Py_BuildValue("i",_result);
1405 return _resultobj;
1406 }
1407
1408 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1409 static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
1410 PyObject * _resultobj;
1411 bool _result;
1412 wxListCtrl * _arg0;
1413 PyObject * _argo0 = 0;
1414 char *_kwnames[] = { "self", NULL };
1415
1416 self = self;
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
1418 return NULL;
1419 if (_argo0) {
1420 if (_argo0 == Py_None) { _arg0 = NULL; }
1421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1423 return NULL;
1424 }
1425 }
1426 {
1427 wxPy_BEGIN_ALLOW_THREADS;
1428 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
1429
1430 wxPy_END_ALLOW_THREADS;
1431 } _resultobj = Py_BuildValue("i",_result);
1432 return _resultobj;
1433 }
1434
1435 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1436 static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1437 PyObject * _resultobj;
1438 wxListCtrl * _arg0;
1439 PyObject * _argo0 = 0;
1440 char *_kwnames[] = { "self", NULL };
1441
1442 self = self;
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
1444 return NULL;
1445 if (_argo0) {
1446 if (_argo0 == Py_None) { _arg0 = NULL; }
1447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1449 return NULL;
1450 }
1451 }
1452 {
1453 wxPy_BEGIN_ALLOW_THREADS;
1454 wxListCtrl_ClearAll(_arg0);
1455
1456 wxPy_END_ALLOW_THREADS;
1457 } Py_INCREF(Py_None);
1458 _resultobj = Py_None;
1459 return _resultobj;
1460 }
1461
1462 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1463 static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1464 PyObject * _resultobj;
1465 wxListCtrl * _arg0;
1466 long _arg1;
1467 PyObject * _argo0 = 0;
1468 char *_kwnames[] = { "self","item", NULL };
1469
1470 self = self;
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
1472 return NULL;
1473 if (_argo0) {
1474 if (_argo0 == Py_None) { _arg0 = NULL; }
1475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1477 return NULL;
1478 }
1479 }
1480 {
1481 wxPy_BEGIN_ALLOW_THREADS;
1482 wxListCtrl_EditLabel(_arg0,_arg1);
1483
1484 wxPy_END_ALLOW_THREADS;
1485 } Py_INCREF(Py_None);
1486 _resultobj = Py_None;
1487 return _resultobj;
1488 }
1489
1490 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1491 static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1492 PyObject * _resultobj;
1493 bool _result;
1494 wxListCtrl * _arg0;
1495 long _arg1;
1496 PyObject * _argo0 = 0;
1497 char *_kwnames[] = { "self","item", NULL };
1498
1499 self = self;
1500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
1501 return NULL;
1502 if (_argo0) {
1503 if (_argo0 == Py_None) { _arg0 = NULL; }
1504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1506 return NULL;
1507 }
1508 }
1509 {
1510 wxPy_BEGIN_ALLOW_THREADS;
1511 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
1512
1513 wxPy_END_ALLOW_THREADS;
1514 } _resultobj = Py_BuildValue("i",_result);
1515 return _resultobj;
1516 }
1517
1518 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1519 static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
1520 PyObject * _resultobj;
1521 long _result;
1522 wxListCtrl * _arg0;
1523 long _arg1;
1524 wxString * _arg2;
1525 bool _arg3 = (bool ) FALSE;
1526 PyObject * _argo0 = 0;
1527 PyObject * _obj2 = 0;
1528 int tempbool3 = (int) FALSE;
1529 char *_kwnames[] = { "self","start","str","partial", NULL };
1530
1531 self = self;
1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
1533 return NULL;
1534 if (_argo0) {
1535 if (_argo0 == Py_None) { _arg0 = NULL; }
1536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1538 return NULL;
1539 }
1540 }
1541 {
1542 if (!PyString_Check(_obj2)) {
1543 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1544 return NULL;
1545 }
1546 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1547 }
1548 _arg3 = (bool ) tempbool3;
1549 {
1550 wxPy_BEGIN_ALLOW_THREADS;
1551 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
1552
1553 wxPy_END_ALLOW_THREADS;
1554 } _resultobj = Py_BuildValue("l",_result);
1555 {
1556 if (_obj2)
1557 delete _arg2;
1558 }
1559 return _resultobj;
1560 }
1561
1562 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1563 static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
1564 PyObject * _resultobj;
1565 long _result;
1566 wxListCtrl * _arg0;
1567 long _arg1;
1568 long _arg2;
1569 PyObject * _argo0 = 0;
1570 char *_kwnames[] = { "self","start","data", NULL };
1571
1572 self = self;
1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
1574 return NULL;
1575 if (_argo0) {
1576 if (_argo0 == Py_None) { _arg0 = NULL; }
1577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1579 return NULL;
1580 }
1581 }
1582 {
1583 wxPy_BEGIN_ALLOW_THREADS;
1584 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
1585
1586 wxPy_END_ALLOW_THREADS;
1587 } _resultobj = Py_BuildValue("l",_result);
1588 return _resultobj;
1589 }
1590
1591 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1592 static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject * _resultobj;
1594 long _result;
1595 wxListCtrl * _arg0;
1596 long _arg1;
1597 wxPoint * _arg2;
1598 int _arg3;
1599 PyObject * _argo0 = 0;
1600 wxPoint temp;
1601 PyObject * _obj2 = 0;
1602 char *_kwnames[] = { "self","start","pt","direction", NULL };
1603
1604 self = self;
1605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
1606 return NULL;
1607 if (_argo0) {
1608 if (_argo0 == Py_None) { _arg0 = NULL; }
1609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1611 return NULL;
1612 }
1613 }
1614 {
1615 _arg2 = &temp;
1616 if (! wxPoint_helper(_obj2, &_arg2))
1617 return NULL;
1618 }
1619 {
1620 wxPy_BEGIN_ALLOW_THREADS;
1621 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
1622
1623 wxPy_END_ALLOW_THREADS;
1624 } _resultobj = Py_BuildValue("l",_result);
1625 return _resultobj;
1626 }
1627
1628 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1629 static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1630 PyObject * _resultobj;
1631 bool _result;
1632 wxListCtrl * _arg0;
1633 int _arg1;
1634 wxListItem * _arg2;
1635 PyObject * _argo0 = 0;
1636 PyObject * _argo2 = 0;
1637 char *_kwnames[] = { "self","col","item", NULL };
1638
1639 self = self;
1640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
1641 return NULL;
1642 if (_argo0) {
1643 if (_argo0 == Py_None) { _arg0 = NULL; }
1644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1646 return NULL;
1647 }
1648 }
1649 if (_argo2) {
1650 if (_argo2 == Py_None) { _arg2 = NULL; }
1651 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
1652 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1653 return NULL;
1654 }
1655 }
1656 {
1657 wxPy_BEGIN_ALLOW_THREADS;
1658 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
1659
1660 wxPy_END_ALLOW_THREADS;
1661 } _resultobj = Py_BuildValue("i",_result);
1662 return _resultobj;
1663 }
1664
1665 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1666 static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1667 PyObject * _resultobj;
1668 int _result;
1669 wxListCtrl * _arg0;
1670 int _arg1;
1671 PyObject * _argo0 = 0;
1672 char *_kwnames[] = { "self","col", NULL };
1673
1674 self = self;
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
1676 return NULL;
1677 if (_argo0) {
1678 if (_argo0 == Py_None) { _arg0 = NULL; }
1679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1681 return NULL;
1682 }
1683 }
1684 {
1685 wxPy_BEGIN_ALLOW_THREADS;
1686 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
1687
1688 wxPy_END_ALLOW_THREADS;
1689 } _resultobj = Py_BuildValue("i",_result);
1690 return _resultobj;
1691 }
1692
1693 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1694 static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1695 PyObject * _resultobj;
1696 int _result;
1697 wxListCtrl * _arg0;
1698 PyObject * _argo0 = 0;
1699 char *_kwnames[] = { "self", NULL };
1700
1701 self = self;
1702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
1703 return NULL;
1704 if (_argo0) {
1705 if (_argo0 == Py_None) { _arg0 = NULL; }
1706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1708 return NULL;
1709 }
1710 }
1711 {
1712 wxPy_BEGIN_ALLOW_THREADS;
1713 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
1714
1715 wxPy_END_ALLOW_THREADS;
1716 } _resultobj = Py_BuildValue("i",_result);
1717 return _resultobj;
1718 }
1719
1720 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1721 static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject * _resultobj;
1723 wxImageList * _result;
1724 wxListCtrl * _arg0;
1725 int _arg1;
1726 PyObject * _argo0 = 0;
1727 char *_kwnames[] = { "self","which", NULL };
1728 char _ptemp[128];
1729
1730 self = self;
1731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
1732 return NULL;
1733 if (_argo0) {
1734 if (_argo0 == Py_None) { _arg0 = NULL; }
1735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1737 return NULL;
1738 }
1739 }
1740 {
1741 wxPy_BEGIN_ALLOW_THREADS;
1742 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
1743
1744 wxPy_END_ALLOW_THREADS;
1745 } if (_result) {
1746 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
1747 _resultobj = Py_BuildValue("s",_ptemp);
1748 } else {
1749 Py_INCREF(Py_None);
1750 _resultobj = Py_None;
1751 }
1752 return _resultobj;
1753 }
1754
1755 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1756 static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
1757 PyObject * _resultobj;
1758 long _result;
1759 wxListCtrl * _arg0;
1760 long _arg1;
1761 PyObject * _argo0 = 0;
1762 char *_kwnames[] = { "self","item", NULL };
1763
1764 self = self;
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
1766 return NULL;
1767 if (_argo0) {
1768 if (_argo0 == Py_None) { _arg0 = NULL; }
1769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1771 return NULL;
1772 }
1773 }
1774 {
1775 wxPy_BEGIN_ALLOW_THREADS;
1776 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
1777
1778 wxPy_END_ALLOW_THREADS;
1779 } _resultobj = Py_BuildValue("l",_result);
1780 return _resultobj;
1781 }
1782
1783 static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId,int col) {
1784 wxListItem* info = new wxListItem;
1785 info->m_itemId = itemId;
1786 info->m_col = col;
1787 info->m_mask = 0xFFFF;
1788 self->GetItem(*info);
1789 return info;
1790 }
1791 static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject * _resultobj;
1793 wxListItem * _result;
1794 wxListCtrl * _arg0;
1795 long _arg1;
1796 int _arg2 = (int ) 0;
1797 PyObject * _argo0 = 0;
1798 char *_kwnames[] = { "self","itemId","col", NULL };
1799 char _ptemp[128];
1800
1801 self = self;
1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
1803 return NULL;
1804 if (_argo0) {
1805 if (_argo0 == Py_None) { _arg0 = NULL; }
1806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1808 return NULL;
1809 }
1810 }
1811 {
1812 wxPy_BEGIN_ALLOW_THREADS;
1813 _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1,_arg2);
1814
1815 wxPy_END_ALLOW_THREADS;
1816 } if (_result) {
1817 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1818 _resultobj = Py_BuildValue("s",_ptemp);
1819 } else {
1820 Py_INCREF(Py_None);
1821 _resultobj = Py_None;
1822 }
1823 return _resultobj;
1824 }
1825
1826 static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
1827 wxPoint* pos = new wxPoint;
1828 self->GetItemPosition(item, *pos);
1829 return pos;
1830 }
1831 static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1832 PyObject * _resultobj;
1833 wxPoint * _result;
1834 wxListCtrl * _arg0;
1835 long _arg1;
1836 PyObject * _argo0 = 0;
1837 char *_kwnames[] = { "self","item", NULL };
1838 char _ptemp[128];
1839
1840 self = self;
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
1842 return NULL;
1843 if (_argo0) {
1844 if (_argo0 == Py_None) { _arg0 = NULL; }
1845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1847 return NULL;
1848 }
1849 }
1850 {
1851 wxPy_BEGIN_ALLOW_THREADS;
1852 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
1853
1854 wxPy_END_ALLOW_THREADS;
1855 } if (_result) {
1856 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1857 _resultobj = Py_BuildValue("s",_ptemp);
1858 } else {
1859 Py_INCREF(Py_None);
1860 _resultobj = Py_None;
1861 }
1862 return _resultobj;
1863 }
1864
1865 static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
1866 wxRect* rect= new wxRect;
1867 self->GetItemRect(item, *rect, code);
1868 return rect;
1869 }
1870 static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject * _resultobj;
1872 wxRect * _result;
1873 wxListCtrl * _arg0;
1874 long _arg1;
1875 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
1876 PyObject * _argo0 = 0;
1877 char *_kwnames[] = { "self","item","code", NULL };
1878 char _ptemp[128];
1879
1880 self = self;
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
1882 return NULL;
1883 if (_argo0) {
1884 if (_argo0 == Py_None) { _arg0 = NULL; }
1885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1887 return NULL;
1888 }
1889 }
1890 {
1891 wxPy_BEGIN_ALLOW_THREADS;
1892 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
1893
1894 wxPy_END_ALLOW_THREADS;
1895 } if (_result) {
1896 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1897 _resultobj = Py_BuildValue("s",_ptemp);
1898 } else {
1899 Py_INCREF(Py_None);
1900 _resultobj = Py_None;
1901 }
1902 return _resultobj;
1903 }
1904
1905 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1906 static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject * _resultobj;
1908 int _result;
1909 wxListCtrl * _arg0;
1910 long _arg1;
1911 long _arg2;
1912 PyObject * _argo0 = 0;
1913 char *_kwnames[] = { "self","item","stateMask", NULL };
1914
1915 self = self;
1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
1917 return NULL;
1918 if (_argo0) {
1919 if (_argo0 == Py_None) { _arg0 = NULL; }
1920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1922 return NULL;
1923 }
1924 }
1925 {
1926 wxPy_BEGIN_ALLOW_THREADS;
1927 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
1928
1929 wxPy_END_ALLOW_THREADS;
1930 } _resultobj = Py_BuildValue("i",_result);
1931 return _resultobj;
1932 }
1933
1934 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1935 static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject * _resultobj;
1937 int _result;
1938 wxListCtrl * _arg0;
1939 PyObject * _argo0 = 0;
1940 char *_kwnames[] = { "self", NULL };
1941
1942 self = self;
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
1944 return NULL;
1945 if (_argo0) {
1946 if (_argo0 == Py_None) { _arg0 = NULL; }
1947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1949 return NULL;
1950 }
1951 }
1952 {
1953 wxPy_BEGIN_ALLOW_THREADS;
1954 _result = (int )wxListCtrl_GetItemCount(_arg0);
1955
1956 wxPy_END_ALLOW_THREADS;
1957 } _resultobj = Py_BuildValue("i",_result);
1958 return _resultobj;
1959 }
1960
1961 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1962 static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
1963 PyObject * _resultobj;
1964 int _result;
1965 wxListCtrl * _arg0;
1966 bool _arg1;
1967 PyObject * _argo0 = 0;
1968 int tempbool1;
1969 char *_kwnames[] = { "self","isSmall", NULL };
1970
1971 self = self;
1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
1973 return NULL;
1974 if (_argo0) {
1975 if (_argo0 == Py_None) { _arg0 = NULL; }
1976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
1977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1978 return NULL;
1979 }
1980 }
1981 _arg1 = (bool ) tempbool1;
1982 {
1983 wxPy_BEGIN_ALLOW_THREADS;
1984 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
1985
1986 wxPy_END_ALLOW_THREADS;
1987 } _resultobj = Py_BuildValue("i",_result);
1988 return _resultobj;
1989 }
1990
1991 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1992 static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
1993 PyObject * _resultobj;
1994 wxString * _result;
1995 wxListCtrl * _arg0;
1996 long _arg1;
1997 PyObject * _argo0 = 0;
1998 char *_kwnames[] = { "self","item", NULL };
1999
2000 self = self;
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
2002 return NULL;
2003 if (_argo0) {
2004 if (_argo0 == Py_None) { _arg0 = NULL; }
2005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2007 return NULL;
2008 }
2009 }
2010 {
2011 wxPy_BEGIN_ALLOW_THREADS;
2012 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
2013
2014 wxPy_END_ALLOW_THREADS;
2015 }{
2016 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2017 }
2018 {
2019 delete _result;
2020 }
2021 return _resultobj;
2022 }
2023
2024 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2025 static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject * _resultobj;
2027 long _result;
2028 wxListCtrl * _arg0;
2029 long _arg1;
2030 int _arg2 = (int ) (wxLIST_NEXT_ALL);
2031 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
2032 PyObject * _argo0 = 0;
2033 char *_kwnames[] = { "self","item","geometry","state", NULL };
2034
2035 self = self;
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2037 return NULL;
2038 if (_argo0) {
2039 if (_argo0 == Py_None) { _arg0 = NULL; }
2040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2042 return NULL;
2043 }
2044 }
2045 {
2046 wxPy_BEGIN_ALLOW_THREADS;
2047 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
2048
2049 wxPy_END_ALLOW_THREADS;
2050 } _resultobj = Py_BuildValue("l",_result);
2051 return _resultobj;
2052 }
2053
2054 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2055 static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
2056 PyObject * _resultobj;
2057 int _result;
2058 wxListCtrl * _arg0;
2059 PyObject * _argo0 = 0;
2060 char *_kwnames[] = { "self", NULL };
2061
2062 self = self;
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
2064 return NULL;
2065 if (_argo0) {
2066 if (_argo0 == Py_None) { _arg0 = NULL; }
2067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2069 return NULL;
2070 }
2071 }
2072 {
2073 wxPy_BEGIN_ALLOW_THREADS;
2074 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
2075
2076 wxPy_END_ALLOW_THREADS;
2077 } _resultobj = Py_BuildValue("i",_result);
2078 return _resultobj;
2079 }
2080
2081 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2082 static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2083 PyObject * _resultobj;
2084 long _result;
2085 wxListCtrl * _arg0;
2086 PyObject * _argo0 = 0;
2087 char *_kwnames[] = { "self", NULL };
2088
2089 self = self;
2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
2091 return NULL;
2092 if (_argo0) {
2093 if (_argo0 == Py_None) { _arg0 = NULL; }
2094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2096 return NULL;
2097 }
2098 }
2099 {
2100 wxPy_BEGIN_ALLOW_THREADS;
2101 _result = (long )wxListCtrl_GetTopItem(_arg0);
2102
2103 wxPy_END_ALLOW_THREADS;
2104 } _resultobj = Py_BuildValue("l",_result);
2105 return _resultobj;
2106 }
2107
2108 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2109 static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
2110 PyObject * _resultobj;
2111 long _result;
2112 wxListCtrl * _arg0;
2113 wxPoint * _arg1;
2114 int * _arg2;
2115 int temp;
2116 PyObject * _argo0 = 0;
2117 wxPoint temp0;
2118 PyObject * _obj1 = 0;
2119 char *_kwnames[] = { "self","point", NULL };
2120
2121 self = self;
2122 {
2123 _arg2 = &temp;
2124 }
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
2126 return NULL;
2127 if (_argo0) {
2128 if (_argo0 == Py_None) { _arg0 = NULL; }
2129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2131 return NULL;
2132 }
2133 }
2134 {
2135 _arg1 = &temp0;
2136 if (! wxPoint_helper(_obj1, &_arg1))
2137 return NULL;
2138 }
2139 {
2140 wxPy_BEGIN_ALLOW_THREADS;
2141 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
2142
2143 wxPy_END_ALLOW_THREADS;
2144 } _resultobj = Py_BuildValue("l",_result);
2145 {
2146 PyObject *o;
2147 o = PyInt_FromLong((long) (*_arg2));
2148 _resultobj = t_output_helper(_resultobj, o);
2149 }
2150 return _resultobj;
2151 }
2152
2153 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2154 static PyObject *_wrap_wxListCtrl_InsertColumnWith(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject * _resultobj;
2156 long _result;
2157 wxListCtrl * _arg0;
2158 long _arg1;
2159 wxListItem * _arg2;
2160 PyObject * _argo0 = 0;
2161 PyObject * _argo2 = 0;
2162 char *_kwnames[] = { "self","col","info", NULL };
2163
2164 self = self;
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnWith",_kwnames,&_argo0,&_arg1,&_argo2))
2166 return NULL;
2167 if (_argo0) {
2168 if (_argo0 == Py_None) { _arg0 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2171 return NULL;
2172 }
2173 }
2174 if (_argo2) {
2175 if (_argo2 == Py_None) { _arg2 = NULL; }
2176 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2178 return NULL;
2179 }
2180 }
2181 {
2182 wxPy_BEGIN_ALLOW_THREADS;
2183 _result = (long )wxListCtrl_InsertColumnWith(_arg0,_arg1,*_arg2);
2184
2185 wxPy_END_ALLOW_THREADS;
2186 } _resultobj = Py_BuildValue("l",_result);
2187 return _resultobj;
2188 }
2189
2190 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2191 static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2192 PyObject * _resultobj;
2193 long _result;
2194 wxListCtrl * _arg0;
2195 long _arg1;
2196 wxString * _arg2;
2197 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
2198 int _arg4 = (int ) -1;
2199 PyObject * _argo0 = 0;
2200 PyObject * _obj2 = 0;
2201 char *_kwnames[] = { "self","col","heading","format","width", NULL };
2202
2203 self = self;
2204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
2205 return NULL;
2206 if (_argo0) {
2207 if (_argo0 == Py_None) { _arg0 = NULL; }
2208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2210 return NULL;
2211 }
2212 }
2213 {
2214 if (!PyString_Check(_obj2)) {
2215 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2216 return NULL;
2217 }
2218 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2219 }
2220 {
2221 wxPy_BEGIN_ALLOW_THREADS;
2222 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
2223
2224 wxPy_END_ALLOW_THREADS;
2225 } _resultobj = Py_BuildValue("l",_result);
2226 {
2227 if (_obj2)
2228 delete _arg2;
2229 }
2230 return _resultobj;
2231 }
2232
2233 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2234 static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject * _resultobj;
2236 long _result;
2237 wxListCtrl * _arg0;
2238 wxListItem * _arg1;
2239 PyObject * _argo0 = 0;
2240 PyObject * _argo1 = 0;
2241 char *_kwnames[] = { "self","info", NULL };
2242
2243 self = self;
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
2245 return NULL;
2246 if (_argo0) {
2247 if (_argo0 == Py_None) { _arg0 = NULL; }
2248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2250 return NULL;
2251 }
2252 }
2253 if (_argo1) {
2254 if (_argo1 == Py_None) { _arg1 = NULL; }
2255 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2256 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2257 return NULL;
2258 }
2259 }
2260 {
2261 wxPy_BEGIN_ALLOW_THREADS;
2262 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
2263
2264 wxPy_END_ALLOW_THREADS;
2265 } _resultobj = Py_BuildValue("l",_result);
2266 return _resultobj;
2267 }
2268
2269 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2270 static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2271 PyObject * _resultobj;
2272 long _result;
2273 wxListCtrl * _arg0;
2274 long _arg1;
2275 wxString * _arg2;
2276 PyObject * _argo0 = 0;
2277 PyObject * _obj2 = 0;
2278 char *_kwnames[] = { "self","index","label", NULL };
2279
2280 self = self;
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
2282 return NULL;
2283 if (_argo0) {
2284 if (_argo0 == Py_None) { _arg0 = NULL; }
2285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2287 return NULL;
2288 }
2289 }
2290 {
2291 if (!PyString_Check(_obj2)) {
2292 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2293 return NULL;
2294 }
2295 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2296 }
2297 {
2298 wxPy_BEGIN_ALLOW_THREADS;
2299 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
2300
2301 wxPy_END_ALLOW_THREADS;
2302 } _resultobj = Py_BuildValue("l",_result);
2303 {
2304 if (_obj2)
2305 delete _arg2;
2306 }
2307 return _resultobj;
2308 }
2309
2310 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2311 static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject * _resultobj;
2313 long _result;
2314 wxListCtrl * _arg0;
2315 long _arg1;
2316 int _arg2;
2317 PyObject * _argo0 = 0;
2318 char *_kwnames[] = { "self","index","imageIndex", NULL };
2319
2320 self = self;
2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
2322 return NULL;
2323 if (_argo0) {
2324 if (_argo0 == Py_None) { _arg0 = NULL; }
2325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2327 return NULL;
2328 }
2329 }
2330 {
2331 wxPy_BEGIN_ALLOW_THREADS;
2332 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
2333
2334 wxPy_END_ALLOW_THREADS;
2335 } _resultobj = Py_BuildValue("l",_result);
2336 return _resultobj;
2337 }
2338
2339 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2340 static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject * _resultobj;
2342 long _result;
2343 wxListCtrl * _arg0;
2344 long _arg1;
2345 wxString * _arg2;
2346 int _arg3;
2347 PyObject * _argo0 = 0;
2348 PyObject * _obj2 = 0;
2349 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
2350
2351 self = self;
2352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
2353 return NULL;
2354 if (_argo0) {
2355 if (_argo0 == Py_None) { _arg0 = NULL; }
2356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2358 return NULL;
2359 }
2360 }
2361 {
2362 if (!PyString_Check(_obj2)) {
2363 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2364 return NULL;
2365 }
2366 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2367 }
2368 {
2369 wxPy_BEGIN_ALLOW_THREADS;
2370 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
2371
2372 wxPy_END_ALLOW_THREADS;
2373 } _resultobj = Py_BuildValue("l",_result);
2374 {
2375 if (_obj2)
2376 delete _arg2;
2377 }
2378 return _resultobj;
2379 }
2380
2381 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2382 static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
2383 PyObject * _resultobj;
2384 bool _result;
2385 wxListCtrl * _arg0;
2386 int _arg1;
2387 int _arg2;
2388 PyObject * _argo0 = 0;
2389 char *_kwnames[] = { "self","dx","dy", NULL };
2390
2391 self = self;
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
2393 return NULL;
2394 if (_argo0) {
2395 if (_argo0 == Py_None) { _arg0 = NULL; }
2396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2398 return NULL;
2399 }
2400 }
2401 {
2402 wxPy_BEGIN_ALLOW_THREADS;
2403 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
2404
2405 wxPy_END_ALLOW_THREADS;
2406 } _resultobj = Py_BuildValue("i",_result);
2407 return _resultobj;
2408 }
2409
2410 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2411 static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2412 PyObject * _resultobj;
2413 wxListCtrl * _arg0;
2414 wxColour * _arg1;
2415 PyObject * _argo0 = 0;
2416 PyObject * _argo1 = 0;
2417 char *_kwnames[] = { "self","col", NULL };
2418
2419 self = self;
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
2421 return NULL;
2422 if (_argo0) {
2423 if (_argo0 == Py_None) { _arg0 = NULL; }
2424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2426 return NULL;
2427 }
2428 }
2429 if (_argo1) {
2430 if (_argo1 == Py_None) { _arg1 = NULL; }
2431 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2432 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2433 return NULL;
2434 }
2435 }
2436 {
2437 wxPy_BEGIN_ALLOW_THREADS;
2438 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
2439
2440 wxPy_END_ALLOW_THREADS;
2441 } Py_INCREF(Py_None);
2442 _resultobj = Py_None;
2443 return _resultobj;
2444 }
2445
2446 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2447 static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2448 PyObject * _resultobj;
2449 bool _result;
2450 wxListCtrl * _arg0;
2451 int _arg1;
2452 wxListItem * _arg2;
2453 PyObject * _argo0 = 0;
2454 PyObject * _argo2 = 0;
2455 char *_kwnames[] = { "self","col","item", NULL };
2456
2457 self = self;
2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
2459 return NULL;
2460 if (_argo0) {
2461 if (_argo0 == Py_None) { _arg0 = NULL; }
2462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2464 return NULL;
2465 }
2466 }
2467 if (_argo2) {
2468 if (_argo2 == Py_None) { _arg2 = NULL; }
2469 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
2470 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2471 return NULL;
2472 }
2473 }
2474 {
2475 wxPy_BEGIN_ALLOW_THREADS;
2476 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
2477
2478 wxPy_END_ALLOW_THREADS;
2479 } _resultobj = Py_BuildValue("i",_result);
2480 return _resultobj;
2481 }
2482
2483 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2484 static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2485 PyObject * _resultobj;
2486 bool _result;
2487 wxListCtrl * _arg0;
2488 int _arg1;
2489 int _arg2;
2490 PyObject * _argo0 = 0;
2491 char *_kwnames[] = { "self","col","width", NULL };
2492
2493 self = self;
2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
2495 return NULL;
2496 if (_argo0) {
2497 if (_argo0 == Py_None) { _arg0 = NULL; }
2498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2500 return NULL;
2501 }
2502 }
2503 {
2504 wxPy_BEGIN_ALLOW_THREADS;
2505 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
2506
2507 wxPy_END_ALLOW_THREADS;
2508 } _resultobj = Py_BuildValue("i",_result);
2509 return _resultobj;
2510 }
2511
2512 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2513 static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
2514 PyObject * _resultobj;
2515 wxListCtrl * _arg0;
2516 wxImageList * _arg1;
2517 int _arg2;
2518 PyObject * _argo0 = 0;
2519 PyObject * _argo1 = 0;
2520 char *_kwnames[] = { "self","imageList","which", NULL };
2521
2522 self = self;
2523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
2524 return NULL;
2525 if (_argo0) {
2526 if (_argo0 == Py_None) { _arg0 = NULL; }
2527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2529 return NULL;
2530 }
2531 }
2532 if (_argo1) {
2533 if (_argo1 == Py_None) { _arg1 = NULL; }
2534 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
2535 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2536 return NULL;
2537 }
2538 }
2539 {
2540 wxPy_BEGIN_ALLOW_THREADS;
2541 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
2542
2543 wxPy_END_ALLOW_THREADS;
2544 } Py_INCREF(Py_None);
2545 _resultobj = Py_None;
2546 return _resultobj;
2547 }
2548
2549 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2550 static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2551 PyObject * _resultobj;
2552 bool _result;
2553 wxListCtrl * _arg0;
2554 wxListItem * _arg1;
2555 PyObject * _argo0 = 0;
2556 PyObject * _argo1 = 0;
2557 char *_kwnames[] = { "self","info", NULL };
2558
2559 self = self;
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
2561 return NULL;
2562 if (_argo0) {
2563 if (_argo0 == Py_None) { _arg0 = NULL; }
2564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2566 return NULL;
2567 }
2568 }
2569 if (_argo1) {
2570 if (_argo1 == Py_None) { _arg1 = NULL; }
2571 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2572 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2573 return NULL;
2574 }
2575 }
2576 {
2577 wxPy_BEGIN_ALLOW_THREADS;
2578 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
2579
2580 wxPy_END_ALLOW_THREADS;
2581 } _resultobj = Py_BuildValue("i",_result);
2582 return _resultobj;
2583 }
2584
2585 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2586 static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject * _resultobj;
2588 long _result;
2589 wxListCtrl * _arg0;
2590 long _arg1;
2591 int _arg2;
2592 wxString * _arg3;
2593 int _arg4 = (int ) -1;
2594 PyObject * _argo0 = 0;
2595 PyObject * _obj3 = 0;
2596 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
2597
2598 self = self;
2599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
2600 return NULL;
2601 if (_argo0) {
2602 if (_argo0 == Py_None) { _arg0 = NULL; }
2603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2605 return NULL;
2606 }
2607 }
2608 {
2609 if (!PyString_Check(_obj3)) {
2610 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2611 return NULL;
2612 }
2613 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
2614 }
2615 {
2616 wxPy_BEGIN_ALLOW_THREADS;
2617 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
2618
2619 wxPy_END_ALLOW_THREADS;
2620 } _resultobj = Py_BuildValue("l",_result);
2621 {
2622 if (_obj3)
2623 delete _arg3;
2624 }
2625 return _resultobj;
2626 }
2627
2628 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2629 static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
2630 PyObject * _resultobj;
2631 bool _result;
2632 wxListCtrl * _arg0;
2633 long _arg1;
2634 long _arg2;
2635 PyObject * _argo0 = 0;
2636 char *_kwnames[] = { "self","item","data", NULL };
2637
2638 self = self;
2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
2640 return NULL;
2641 if (_argo0) {
2642 if (_argo0 == Py_None) { _arg0 = NULL; }
2643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2645 return NULL;
2646 }
2647 }
2648 {
2649 wxPy_BEGIN_ALLOW_THREADS;
2650 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
2651
2652 wxPy_END_ALLOW_THREADS;
2653 } _resultobj = Py_BuildValue("i",_result);
2654 return _resultobj;
2655 }
2656
2657 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2658 static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2659 PyObject * _resultobj;
2660 bool _result;
2661 wxListCtrl * _arg0;
2662 long _arg1;
2663 int _arg2;
2664 int _arg3;
2665 PyObject * _argo0 = 0;
2666 char *_kwnames[] = { "self","item","image","selImage", NULL };
2667
2668 self = self;
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2670 return NULL;
2671 if (_argo0) {
2672 if (_argo0 == Py_None) { _arg0 = NULL; }
2673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2675 return NULL;
2676 }
2677 }
2678 {
2679 wxPy_BEGIN_ALLOW_THREADS;
2680 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
2681
2682 wxPy_END_ALLOW_THREADS;
2683 } _resultobj = Py_BuildValue("i",_result);
2684 return _resultobj;
2685 }
2686
2687 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2688 static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject * _resultobj;
2690 bool _result;
2691 wxListCtrl * _arg0;
2692 long _arg1;
2693 wxPoint * _arg2;
2694 PyObject * _argo0 = 0;
2695 wxPoint temp;
2696 PyObject * _obj2 = 0;
2697 char *_kwnames[] = { "self","item","pos", NULL };
2698
2699 self = self;
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
2701 return NULL;
2702 if (_argo0) {
2703 if (_argo0 == Py_None) { _arg0 = NULL; }
2704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2706 return NULL;
2707 }
2708 }
2709 {
2710 _arg2 = &temp;
2711 if (! wxPoint_helper(_obj2, &_arg2))
2712 return NULL;
2713 }
2714 {
2715 wxPy_BEGIN_ALLOW_THREADS;
2716 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
2717
2718 wxPy_END_ALLOW_THREADS;
2719 } _resultobj = Py_BuildValue("i",_result);
2720 return _resultobj;
2721 }
2722
2723 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2724 static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject * _resultobj;
2726 bool _result;
2727 wxListCtrl * _arg0;
2728 long _arg1;
2729 long _arg2;
2730 long _arg3;
2731 PyObject * _argo0 = 0;
2732 char *_kwnames[] = { "self","item","state","stateMask", NULL };
2733
2734 self = self;
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2736 return NULL;
2737 if (_argo0) {
2738 if (_argo0 == Py_None) { _arg0 = NULL; }
2739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2741 return NULL;
2742 }
2743 }
2744 {
2745 wxPy_BEGIN_ALLOW_THREADS;
2746 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
2747
2748 wxPy_END_ALLOW_THREADS;
2749 } _resultobj = Py_BuildValue("i",_result);
2750 return _resultobj;
2751 }
2752
2753 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2754 static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject * _resultobj;
2756 wxListCtrl * _arg0;
2757 long _arg1;
2758 wxString * _arg2;
2759 PyObject * _argo0 = 0;
2760 PyObject * _obj2 = 0;
2761 char *_kwnames[] = { "self","item","text", NULL };
2762
2763 self = self;
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
2765 return NULL;
2766 if (_argo0) {
2767 if (_argo0 == Py_None) { _arg0 = NULL; }
2768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2770 return NULL;
2771 }
2772 }
2773 {
2774 if (!PyString_Check(_obj2)) {
2775 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2776 return NULL;
2777 }
2778 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2779 }
2780 {
2781 wxPy_BEGIN_ALLOW_THREADS;
2782 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
2783
2784 wxPy_END_ALLOW_THREADS;
2785 } Py_INCREF(Py_None);
2786 _resultobj = Py_None;
2787 {
2788 if (_obj2)
2789 delete _arg2;
2790 }
2791 return _resultobj;
2792 }
2793
2794 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2795 static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject * _resultobj;
2797 wxListCtrl * _arg0;
2798 long _arg1;
2799 bool _arg2 = (bool ) TRUE;
2800 PyObject * _argo0 = 0;
2801 int tempbool2 = (int) TRUE;
2802 char *_kwnames[] = { "self","style","add", NULL };
2803
2804 self = self;
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
2806 return NULL;
2807 if (_argo0) {
2808 if (_argo0 == Py_None) { _arg0 = NULL; }
2809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2811 return NULL;
2812 }
2813 }
2814 _arg2 = (bool ) tempbool2;
2815 {
2816 wxPy_BEGIN_ALLOW_THREADS;
2817 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
2818
2819 wxPy_END_ALLOW_THREADS;
2820 } Py_INCREF(Py_None);
2821 _resultobj = Py_None;
2822 return _resultobj;
2823 }
2824
2825 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2826 static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject * _resultobj;
2828 wxListCtrl * _arg0;
2829 long _arg1;
2830 PyObject * _argo0 = 0;
2831 char *_kwnames[] = { "self","style", NULL };
2832
2833 self = self;
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
2835 return NULL;
2836 if (_argo0) {
2837 if (_argo0 == Py_None) { _arg0 = NULL; }
2838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2840 return NULL;
2841 }
2842 }
2843 {
2844 wxPy_BEGIN_ALLOW_THREADS;
2845 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
2846
2847 wxPy_END_ALLOW_THREADS;
2848 } Py_INCREF(Py_None);
2849 _resultobj = Py_None;
2850 return _resultobj;
2851 }
2852
2853 #define new_wxTreeItemId() (new wxTreeItemId())
2854 static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
2855 PyObject * _resultobj;
2856 wxTreeItemId * _result;
2857 char *_kwnames[] = { NULL };
2858 char _ptemp[128];
2859
2860 self = self;
2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
2862 return NULL;
2863 {
2864 wxPy_BEGIN_ALLOW_THREADS;
2865 _result = (wxTreeItemId *)new_wxTreeItemId();
2866
2867 wxPy_END_ALLOW_THREADS;
2868 } if (_result) {
2869 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
2870 _resultobj = Py_BuildValue("s",_ptemp);
2871 } else {
2872 Py_INCREF(Py_None);
2873 _resultobj = Py_None;
2874 }
2875 return _resultobj;
2876 }
2877
2878 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2879 static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject * _resultobj;
2881 wxTreeItemId * _arg0;
2882 PyObject * _argo0 = 0;
2883 char *_kwnames[] = { "self", NULL };
2884
2885 self = self;
2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
2887 return NULL;
2888 if (_argo0) {
2889 if (_argo0 == Py_None) { _arg0 = NULL; }
2890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
2891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2892 return NULL;
2893 }
2894 }
2895 {
2896 wxPy_BEGIN_ALLOW_THREADS;
2897 delete_wxTreeItemId(_arg0);
2898
2899 wxPy_END_ALLOW_THREADS;
2900 } Py_INCREF(Py_None);
2901 _resultobj = Py_None;
2902 return _resultobj;
2903 }
2904
2905 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2906 static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
2907 PyObject * _resultobj;
2908 bool _result;
2909 wxTreeItemId * _arg0;
2910 PyObject * _argo0 = 0;
2911 char *_kwnames[] = { "self", NULL };
2912
2913 self = self;
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
2915 return NULL;
2916 if (_argo0) {
2917 if (_argo0 == Py_None) { _arg0 = NULL; }
2918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
2919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2920 return NULL;
2921 }
2922 }
2923 {
2924 wxPy_BEGIN_ALLOW_THREADS;
2925 _result = (bool )wxTreeItemId_IsOk(_arg0);
2926
2927 wxPy_END_ALLOW_THREADS;
2928 } _resultobj = Py_BuildValue("i",_result);
2929 return _resultobj;
2930 }
2931
2932 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2933 static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject * _resultobj;
2935 wxPyTreeItemData * _result;
2936 PyObject * _arg0 = (PyObject *) NULL;
2937 PyObject * _obj0 = 0;
2938 char *_kwnames[] = { "obj", NULL };
2939 char _ptemp[128];
2940
2941 self = self;
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
2943 return NULL;
2944 if (_obj0)
2945 {
2946 _arg0 = _obj0;
2947 }
2948 {
2949 wxPy_BEGIN_ALLOW_THREADS;
2950 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
2951
2952 wxPy_END_ALLOW_THREADS;
2953 } if (_result) {
2954 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
2955 _resultobj = Py_BuildValue("s",_ptemp);
2956 } else {
2957 Py_INCREF(Py_None);
2958 _resultobj = Py_None;
2959 }
2960 return _resultobj;
2961 }
2962
2963 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
2964 static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
2965 PyObject * _resultobj;
2966 PyObject * _result;
2967 wxPyTreeItemData * _arg0;
2968 PyObject * _argo0 = 0;
2969 char *_kwnames[] = { "self", NULL };
2970
2971 self = self;
2972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
2973 return NULL;
2974 if (_argo0) {
2975 if (_argo0 == Py_None) { _arg0 = NULL; }
2976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
2977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
2978 return NULL;
2979 }
2980 }
2981 {
2982 wxPy_BEGIN_ALLOW_THREADS;
2983 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
2984
2985 wxPy_END_ALLOW_THREADS;
2986 }{
2987 _resultobj = _result;
2988 }
2989 return _resultobj;
2990 }
2991
2992 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2993 static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
2994 PyObject * _resultobj;
2995 wxPyTreeItemData * _arg0;
2996 PyObject * _arg1;
2997 PyObject * _argo0 = 0;
2998 PyObject * _obj1 = 0;
2999 char *_kwnames[] = { "self","obj", NULL };
3000
3001 self = self;
3002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
3003 return NULL;
3004 if (_argo0) {
3005 if (_argo0 == Py_None) { _arg0 = NULL; }
3006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
3007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3008 return NULL;
3009 }
3010 }
3011 {
3012 _arg1 = _obj1;
3013 }
3014 {
3015 wxPy_BEGIN_ALLOW_THREADS;
3016 wxTreeItemData_SetData(_arg0,_arg1);
3017
3018 wxPy_END_ALLOW_THREADS;
3019 } Py_INCREF(Py_None);
3020 _resultobj = Py_None;
3021 return _resultobj;
3022 }
3023
3024 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3025 static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject * _resultobj;
3027 wxTreeItemId * _result;
3028 wxPyTreeItemData * _arg0;
3029 PyObject * _argo0 = 0;
3030 char *_kwnames[] = { "self", NULL };
3031 char _ptemp[128];
3032
3033 self = self;
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
3035 return NULL;
3036 if (_argo0) {
3037 if (_argo0 == Py_None) { _arg0 = NULL; }
3038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
3039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3040 return NULL;
3041 }
3042 }
3043 {
3044 wxPy_BEGIN_ALLOW_THREADS;
3045 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
3046 _result = (wxTreeItemId *) &_result_ref;
3047
3048 wxPy_END_ALLOW_THREADS;
3049 } if (_result) {
3050 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
3051 _resultobj = Py_BuildValue("s",_ptemp);
3052 } else {
3053 Py_INCREF(Py_None);
3054 _resultobj = Py_None;
3055 }
3056 return _resultobj;
3057 }
3058
3059 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3060 static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3061 PyObject * _resultobj;
3062 wxPyTreeItemData * _arg0;
3063 wxTreeItemId * _arg1;
3064 PyObject * _argo0 = 0;
3065 PyObject * _argo1 = 0;
3066 char *_kwnames[] = { "self","id", NULL };
3067
3068 self = self;
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
3070 return NULL;
3071 if (_argo0) {
3072 if (_argo0 == Py_None) { _arg0 = NULL; }
3073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
3074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3075 return NULL;
3076 }
3077 }
3078 if (_argo1) {
3079 if (_argo1 == Py_None) { _arg1 = NULL; }
3080 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3081 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3082 return NULL;
3083 }
3084 }
3085 {
3086 wxPy_BEGIN_ALLOW_THREADS;
3087 wxTreeItemData_SetId(_arg0,*_arg1);
3088
3089 wxPy_END_ALLOW_THREADS;
3090 } Py_INCREF(Py_None);
3091 _resultobj = Py_None;
3092 return _resultobj;
3093 }
3094
3095 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
3096 wxTreeEvent *src;
3097 wxNotifyEvent *dest;
3098 src = (wxTreeEvent *) ptr;
3099 dest = (wxNotifyEvent *) src;
3100 return (void *) dest;
3101 }
3102
3103 static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
3104 wxTreeEvent *src;
3105 wxCommandEvent *dest;
3106 src = (wxTreeEvent *) ptr;
3107 dest = (wxCommandEvent *) src;
3108 return (void *) dest;
3109 }
3110
3111 static void *SwigwxTreeEventTowxEvent(void *ptr) {
3112 wxTreeEvent *src;
3113 wxEvent *dest;
3114 src = (wxTreeEvent *) ptr;
3115 dest = (wxEvent *) src;
3116 return (void *) dest;
3117 }
3118
3119 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3120 static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject * _resultobj;
3122 wxTreeItemId * _result;
3123 wxTreeEvent * _arg0;
3124 PyObject * _argo0 = 0;
3125 char *_kwnames[] = { "self", NULL };
3126 char _ptemp[128];
3127
3128 self = self;
3129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
3130 return NULL;
3131 if (_argo0) {
3132 if (_argo0 == Py_None) { _arg0 = NULL; }
3133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3135 return NULL;
3136 }
3137 }
3138 {
3139 wxPy_BEGIN_ALLOW_THREADS;
3140 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
3141
3142 wxPy_END_ALLOW_THREADS;
3143 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3144 _resultobj = Py_BuildValue("s",_ptemp);
3145 return _resultobj;
3146 }
3147
3148 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3149 static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3150 PyObject * _resultobj;
3151 wxTreeItemId * _result;
3152 wxTreeEvent * _arg0;
3153 PyObject * _argo0 = 0;
3154 char *_kwnames[] = { "self", NULL };
3155 char _ptemp[128];
3156
3157 self = self;
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
3159 return NULL;
3160 if (_argo0) {
3161 if (_argo0 == Py_None) { _arg0 = NULL; }
3162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3164 return NULL;
3165 }
3166 }
3167 {
3168 wxPy_BEGIN_ALLOW_THREADS;
3169 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
3170
3171 wxPy_END_ALLOW_THREADS;
3172 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3173 _resultobj = Py_BuildValue("s",_ptemp);
3174 return _resultobj;
3175 }
3176
3177 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3178 static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3179 PyObject * _resultobj;
3180 wxPoint * _result;
3181 wxTreeEvent * _arg0;
3182 PyObject * _argo0 = 0;
3183 char *_kwnames[] = { "self", NULL };
3184 char _ptemp[128];
3185
3186 self = self;
3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
3188 return NULL;
3189 if (_argo0) {
3190 if (_argo0 == Py_None) { _arg0 = NULL; }
3191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3193 return NULL;
3194 }
3195 }
3196 {
3197 wxPy_BEGIN_ALLOW_THREADS;
3198 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
3199
3200 wxPy_END_ALLOW_THREADS;
3201 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3202 _resultobj = Py_BuildValue("s",_ptemp);
3203 return _resultobj;
3204 }
3205
3206 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3207 static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject * _resultobj;
3209 int _result;
3210 wxTreeEvent * _arg0;
3211 PyObject * _argo0 = 0;
3212 char *_kwnames[] = { "self", NULL };
3213
3214 self = self;
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
3216 return NULL;
3217 if (_argo0) {
3218 if (_argo0 == Py_None) { _arg0 = NULL; }
3219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3221 return NULL;
3222 }
3223 }
3224 {
3225 wxPy_BEGIN_ALLOW_THREADS;
3226 _result = (int )wxTreeEvent_GetCode(_arg0);
3227
3228 wxPy_END_ALLOW_THREADS;
3229 } _resultobj = Py_BuildValue("i",_result);
3230 return _resultobj;
3231 }
3232
3233 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3234 static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
3235 PyObject * _resultobj;
3236 wxString * _result;
3237 wxTreeEvent * _arg0;
3238 PyObject * _argo0 = 0;
3239 char *_kwnames[] = { "self", NULL };
3240
3241 self = self;
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
3243 return NULL;
3244 if (_argo0) {
3245 if (_argo0 == Py_None) { _arg0 = NULL; }
3246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
3247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3248 return NULL;
3249 }
3250 }
3251 {
3252 wxPy_BEGIN_ALLOW_THREADS;
3253 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
3254 _result = (wxString *) &_result_ref;
3255
3256 wxPy_END_ALLOW_THREADS;
3257 }{
3258 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
3259 }
3260 return _resultobj;
3261 }
3262
3263 static void *SwigwxTreeCtrlTowxControl(void *ptr) {
3264 wxTreeCtrl *src;
3265 wxControl *dest;
3266 src = (wxTreeCtrl *) ptr;
3267 dest = (wxControl *) src;
3268 return (void *) dest;
3269 }
3270
3271 static void *SwigwxTreeCtrlTowxWindow(void *ptr) {
3272 wxTreeCtrl *src;
3273 wxWindow *dest;
3274 src = (wxTreeCtrl *) ptr;
3275 dest = (wxWindow *) src;
3276 return (void *) dest;
3277 }
3278
3279 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) {
3280 wxTreeCtrl *src;
3281 wxEvtHandler *dest;
3282 src = (wxTreeCtrl *) ptr;
3283 dest = (wxEvtHandler *) src;
3284 return (void *) dest;
3285 }
3286
3287 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3288 static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject * _resultobj;
3290 wxTreeCtrl * _result;
3291 wxWindow * _arg0;
3292 wxWindowID _arg1 = (wxWindowID ) -1;
3293 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
3294 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
3295 long _arg4 = (long ) wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT;
3296 wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
3297 char * _arg6 = (char *) "wxTreeCtrl";
3298 PyObject * _argo0 = 0;
3299 wxPoint temp;
3300 PyObject * _obj2 = 0;
3301 wxSize temp0;
3302 PyObject * _obj3 = 0;
3303 PyObject * _argo5 = 0;
3304 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
3305 char _ptemp[128];
3306
3307 self = self;
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
3309 return NULL;
3310 if (_argo0) {
3311 if (_argo0 == Py_None) { _arg0 = NULL; }
3312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3314 return NULL;
3315 }
3316 }
3317 if (_obj2)
3318 {
3319 _arg2 = &temp;
3320 if (! wxPoint_helper(_obj2, &_arg2))
3321 return NULL;
3322 }
3323 if (_obj3)
3324 {
3325 _arg3 = &temp0;
3326 if (! wxSize_helper(_obj3, &_arg3))
3327 return NULL;
3328 }
3329 if (_argo5) {
3330 if (_argo5 == Py_None) { _arg5 = NULL; }
3331 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
3332 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3333 return NULL;
3334 }
3335 }
3336 {
3337 wxPy_BEGIN_ALLOW_THREADS;
3338 _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
3339
3340 wxPy_END_ALLOW_THREADS;
3341 } if (_result) {
3342 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
3343 _resultobj = Py_BuildValue("s",_ptemp);
3344 } else {
3345 Py_INCREF(Py_None);
3346 _resultobj = Py_None;
3347 }
3348 return _resultobj;
3349 }
3350
3351 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3352 static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject * _resultobj;
3354 size_t _result;
3355 wxTreeCtrl * _arg0;
3356 PyObject * _argo0 = 0;
3357 char *_kwnames[] = { "self", NULL };
3358
3359 self = self;
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
3361 return NULL;
3362 if (_argo0) {
3363 if (_argo0 == Py_None) { _arg0 = NULL; }
3364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3366 return NULL;
3367 }
3368 }
3369 {
3370 wxPy_BEGIN_ALLOW_THREADS;
3371 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
3372
3373 wxPy_END_ALLOW_THREADS;
3374 } _resultobj = Py_BuildValue("i",_result);
3375 return _resultobj;
3376 }
3377
3378 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3379 static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3380 PyObject * _resultobj;
3381 unsigned int _result;
3382 wxTreeCtrl * _arg0;
3383 PyObject * _argo0 = 0;
3384 char *_kwnames[] = { "self", NULL };
3385
3386 self = self;
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
3388 return NULL;
3389 if (_argo0) {
3390 if (_argo0 == Py_None) { _arg0 = NULL; }
3391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3393 return NULL;
3394 }
3395 }
3396 {
3397 wxPy_BEGIN_ALLOW_THREADS;
3398 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
3399
3400 wxPy_END_ALLOW_THREADS;
3401 } _resultobj = Py_BuildValue("i",_result);
3402 return _resultobj;
3403 }
3404
3405 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3406 static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3407 PyObject * _resultobj;
3408 wxTreeCtrl * _arg0;
3409 unsigned int _arg1;
3410 PyObject * _argo0 = 0;
3411 char *_kwnames[] = { "self","indent", NULL };
3412
3413 self = self;
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
3415 return NULL;
3416 if (_argo0) {
3417 if (_argo0 == Py_None) { _arg0 = NULL; }
3418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3420 return NULL;
3421 }
3422 }
3423 {
3424 wxPy_BEGIN_ALLOW_THREADS;
3425 wxTreeCtrl_SetIndent(_arg0,_arg1);
3426
3427 wxPy_END_ALLOW_THREADS;
3428 } Py_INCREF(Py_None);
3429 _resultobj = Py_None;
3430 return _resultobj;
3431 }
3432
3433 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3434 static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3435 PyObject * _resultobj;
3436 wxImageList * _result;
3437 wxTreeCtrl * _arg0;
3438 PyObject * _argo0 = 0;
3439 char *_kwnames[] = { "self", NULL };
3440 char _ptemp[128];
3441
3442 self = self;
3443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
3444 return NULL;
3445 if (_argo0) {
3446 if (_argo0 == Py_None) { _arg0 = NULL; }
3447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3449 return NULL;
3450 }
3451 }
3452 {
3453 wxPy_BEGIN_ALLOW_THREADS;
3454 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
3455
3456 wxPy_END_ALLOW_THREADS;
3457 } if (_result) {
3458 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3459 _resultobj = Py_BuildValue("s",_ptemp);
3460 } else {
3461 Py_INCREF(Py_None);
3462 _resultobj = Py_None;
3463 }
3464 return _resultobj;
3465 }
3466
3467 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3468 static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3469 PyObject * _resultobj;
3470 wxImageList * _result;
3471 wxTreeCtrl * _arg0;
3472 PyObject * _argo0 = 0;
3473 char *_kwnames[] = { "self", NULL };
3474 char _ptemp[128];
3475
3476 self = self;
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
3478 return NULL;
3479 if (_argo0) {
3480 if (_argo0 == Py_None) { _arg0 = NULL; }
3481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3483 return NULL;
3484 }
3485 }
3486 {
3487 wxPy_BEGIN_ALLOW_THREADS;
3488 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
3489
3490 wxPy_END_ALLOW_THREADS;
3491 } if (_result) {
3492 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3493 _resultobj = Py_BuildValue("s",_ptemp);
3494 } else {
3495 Py_INCREF(Py_None);
3496 _resultobj = Py_None;
3497 }
3498 return _resultobj;
3499 }
3500
3501 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3502 static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3503 PyObject * _resultobj;
3504 wxTreeCtrl * _arg0;
3505 wxImageList * _arg1;
3506 PyObject * _argo0 = 0;
3507 PyObject * _argo1 = 0;
3508 char *_kwnames[] = { "self","imageList", NULL };
3509
3510 self = self;
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
3512 return NULL;
3513 if (_argo0) {
3514 if (_argo0 == Py_None) { _arg0 = NULL; }
3515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3517 return NULL;
3518 }
3519 }
3520 if (_argo1) {
3521 if (_argo1 == Py_None) { _arg1 = NULL; }
3522 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
3523 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3524 return NULL;
3525 }
3526 }
3527 {
3528 wxPy_BEGIN_ALLOW_THREADS;
3529 wxTreeCtrl_SetImageList(_arg0,_arg1);
3530
3531 wxPy_END_ALLOW_THREADS;
3532 } Py_INCREF(Py_None);
3533 _resultobj = Py_None;
3534 return _resultobj;
3535 }
3536
3537 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3538 static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3539 PyObject * _resultobj;
3540 wxTreeCtrl * _arg0;
3541 wxImageList * _arg1;
3542 PyObject * _argo0 = 0;
3543 PyObject * _argo1 = 0;
3544 char *_kwnames[] = { "self","imageList", NULL };
3545
3546 self = self;
3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
3548 return NULL;
3549 if (_argo0) {
3550 if (_argo0 == Py_None) { _arg0 = NULL; }
3551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3553 return NULL;
3554 }
3555 }
3556 if (_argo1) {
3557 if (_argo1 == Py_None) { _arg1 = NULL; }
3558 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
3559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3560 return NULL;
3561 }
3562 }
3563 {
3564 wxPy_BEGIN_ALLOW_THREADS;
3565 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
3566
3567 wxPy_END_ALLOW_THREADS;
3568 } Py_INCREF(Py_None);
3569 _resultobj = Py_None;
3570 return _resultobj;
3571 }
3572
3573 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
3574 static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
3575 PyObject * _resultobj;
3576 unsigned int _result;
3577 wxTreeCtrl * _arg0;
3578 PyObject * _argo0 = 0;
3579 char *_kwnames[] = { "self", NULL };
3580
3581 self = self;
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
3583 return NULL;
3584 if (_argo0) {
3585 if (_argo0 == Py_None) { _arg0 = NULL; }
3586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxTreeCtrl_p.");
3588 return NULL;
3589 }
3590 }
3591 {
3592 wxPy_BEGIN_ALLOW_THREADS;
3593 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
3594
3595 wxPy_END_ALLOW_THREADS;
3596 } _resultobj = Py_BuildValue("i",_result);
3597 return _resultobj;
3598 }
3599
3600 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
3601 static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
3602 PyObject * _resultobj;
3603 wxTreeCtrl * _arg0;
3604 unsigned int _arg1;
3605 PyObject * _argo0 = 0;
3606 char *_kwnames[] = { "self","spacing", NULL };
3607
3608 self = self;
3609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
3610 return NULL;
3611 if (_argo0) {
3612 if (_argo0 == Py_None) { _arg0 = NULL; }
3613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxTreeCtrl_p.");
3615 return NULL;
3616 }
3617 }
3618 {
3619 wxPy_BEGIN_ALLOW_THREADS;
3620 wxTreeCtrl_SetSpacing(_arg0,_arg1);
3621
3622 wxPy_END_ALLOW_THREADS;
3623 } Py_INCREF(Py_None);
3624 _resultobj = Py_None;
3625 return _resultobj;
3626 }
3627
3628 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3629 static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3630 PyObject * _resultobj;
3631 wxString * _result;
3632 wxTreeCtrl * _arg0;
3633 wxTreeItemId * _arg1;
3634 PyObject * _argo0 = 0;
3635 PyObject * _argo1 = 0;
3636 char *_kwnames[] = { "self","item", NULL };
3637
3638 self = self;
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
3640 return NULL;
3641 if (_argo0) {
3642 if (_argo0 == Py_None) { _arg0 = NULL; }
3643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3645 return NULL;
3646 }
3647 }
3648 if (_argo1) {
3649 if (_argo1 == Py_None) { _arg1 = NULL; }
3650 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3651 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3652 return NULL;
3653 }
3654 }
3655 {
3656 wxPy_BEGIN_ALLOW_THREADS;
3657 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
3658
3659 wxPy_END_ALLOW_THREADS;
3660 }{
3661 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3662 }
3663 {
3664 delete _result;
3665 }
3666 return _resultobj;
3667 }
3668
3669 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
3670 static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3671 PyObject * _resultobj;
3672 int _result;
3673 wxTreeCtrl * _arg0;
3674 wxTreeItemId * _arg1;
3675 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
3676 PyObject * _argo0 = 0;
3677 PyObject * _argo1 = 0;
3678 char *_kwnames[] = { "self","item","which", NULL };
3679
3680 self = self;
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
3682 return NULL;
3683 if (_argo0) {
3684 if (_argo0 == Py_None) { _arg0 = NULL; }
3685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3687 return NULL;
3688 }
3689 }
3690 if (_argo1) {
3691 if (_argo1 == Py_None) { _arg1 = NULL; }
3692 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3693 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3694 return NULL;
3695 }
3696 }
3697 {
3698 wxPy_BEGIN_ALLOW_THREADS;
3699 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
3700
3701 wxPy_END_ALLOW_THREADS;
3702 } _resultobj = Py_BuildValue("i",_result);
3703 return _resultobj;
3704 }
3705
3706 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3707 static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3708 PyObject * _resultobj;
3709 int _result;
3710 wxTreeCtrl * _arg0;
3711 wxTreeItemId * _arg1;
3712 PyObject * _argo0 = 0;
3713 PyObject * _argo1 = 0;
3714 char *_kwnames[] = { "self","item", NULL };
3715
3716 self = self;
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
3718 return NULL;
3719 if (_argo0) {
3720 if (_argo0 == Py_None) { _arg0 = NULL; }
3721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3723 return NULL;
3724 }
3725 }
3726 if (_argo1) {
3727 if (_argo1 == Py_None) { _arg1 = NULL; }
3728 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3729 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3730 return NULL;
3731 }
3732 }
3733 {
3734 wxPy_BEGIN_ALLOW_THREADS;
3735 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
3736
3737 wxPy_END_ALLOW_THREADS;
3738 } _resultobj = Py_BuildValue("i",_result);
3739 return _resultobj;
3740 }
3741
3742 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3743 static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3744 PyObject * _resultobj;
3745 wxTreeCtrl * _arg0;
3746 wxTreeItemId * _arg1;
3747 wxString * _arg2;
3748 PyObject * _argo0 = 0;
3749 PyObject * _argo1 = 0;
3750 PyObject * _obj2 = 0;
3751 char *_kwnames[] = { "self","item","text", NULL };
3752
3753 self = self;
3754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
3755 return NULL;
3756 if (_argo0) {
3757 if (_argo0 == Py_None) { _arg0 = NULL; }
3758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3760 return NULL;
3761 }
3762 }
3763 if (_argo1) {
3764 if (_argo1 == Py_None) { _arg1 = NULL; }
3765 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3766 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3767 return NULL;
3768 }
3769 }
3770 {
3771 if (!PyString_Check(_obj2)) {
3772 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3773 return NULL;
3774 }
3775 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3776 }
3777 {
3778 wxPy_BEGIN_ALLOW_THREADS;
3779 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
3780
3781 wxPy_END_ALLOW_THREADS;
3782 } Py_INCREF(Py_None);
3783 _resultobj = Py_None;
3784 {
3785 if (_obj2)
3786 delete _arg2;
3787 }
3788 return _resultobj;
3789 }
3790
3791 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3792 static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject * _resultobj;
3794 wxTreeCtrl * _arg0;
3795 wxTreeItemId * _arg1;
3796 int _arg2;
3797 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
3798 PyObject * _argo0 = 0;
3799 PyObject * _argo1 = 0;
3800 char *_kwnames[] = { "self","item","image","which", NULL };
3801
3802 self = self;
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3804 return NULL;
3805 if (_argo0) {
3806 if (_argo0 == Py_None) { _arg0 = NULL; }
3807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3809 return NULL;
3810 }
3811 }
3812 if (_argo1) {
3813 if (_argo1 == Py_None) { _arg1 = NULL; }
3814 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3815 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3816 return NULL;
3817 }
3818 }
3819 {
3820 wxPy_BEGIN_ALLOW_THREADS;
3821 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
3822
3823 wxPy_END_ALLOW_THREADS;
3824 } Py_INCREF(Py_None);
3825 _resultobj = Py_None;
3826 return _resultobj;
3827 }
3828
3829 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3830 static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3831 PyObject * _resultobj;
3832 wxTreeCtrl * _arg0;
3833 wxTreeItemId * _arg1;
3834 int _arg2;
3835 PyObject * _argo0 = 0;
3836 PyObject * _argo1 = 0;
3837 char *_kwnames[] = { "self","item","image", NULL };
3838
3839 self = self;
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
3841 return NULL;
3842 if (_argo0) {
3843 if (_argo0 == Py_None) { _arg0 = NULL; }
3844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3846 return NULL;
3847 }
3848 }
3849 if (_argo1) {
3850 if (_argo1 == Py_None) { _arg1 = NULL; }
3851 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3852 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3853 return NULL;
3854 }
3855 }
3856 {
3857 wxPy_BEGIN_ALLOW_THREADS;
3858 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
3859
3860 wxPy_END_ALLOW_THREADS;
3861 } Py_INCREF(Py_None);
3862 _resultobj = Py_None;
3863 return _resultobj;
3864 }
3865
3866 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3867 static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject * _resultobj;
3869 wxTreeCtrl * _arg0;
3870 wxTreeItemId * _arg1;
3871 bool _arg2 = (bool ) TRUE;
3872 PyObject * _argo0 = 0;
3873 PyObject * _argo1 = 0;
3874 int tempbool2 = (int) TRUE;
3875 char *_kwnames[] = { "self","item","hasChildren", NULL };
3876
3877 self = self;
3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
3879 return NULL;
3880 if (_argo0) {
3881 if (_argo0 == Py_None) { _arg0 = NULL; }
3882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3884 return NULL;
3885 }
3886 }
3887 if (_argo1) {
3888 if (_argo1 == Py_None) { _arg1 = NULL; }
3889 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3890 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3891 return NULL;
3892 }
3893 }
3894 _arg2 = (bool ) tempbool2;
3895 {
3896 wxPy_BEGIN_ALLOW_THREADS;
3897 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
3898
3899 wxPy_END_ALLOW_THREADS;
3900 } Py_INCREF(Py_None);
3901 _resultobj = Py_None;
3902 return _resultobj;
3903 }
3904
3905 static wxPyTreeItemData * wxTreeCtrl_GetItemData(wxTreeCtrl *self,const wxTreeItemId & item) {
3906 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3907 if (data == NULL) {
3908 data = new wxPyTreeItemData();
3909 self->SetItemData(item, data);
3910 }
3911 return data;
3912 }
3913 static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3914 PyObject * _resultobj;
3915 wxPyTreeItemData * _result;
3916 wxTreeCtrl * _arg0;
3917 wxTreeItemId * _arg1;
3918 PyObject * _argo0 = 0;
3919 PyObject * _argo1 = 0;
3920 char *_kwnames[] = { "self","item", NULL };
3921 char _ptemp[128];
3922
3923 self = self;
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
3925 return NULL;
3926 if (_argo0) {
3927 if (_argo0 == Py_None) { _arg0 = NULL; }
3928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3930 return NULL;
3931 }
3932 }
3933 if (_argo1) {
3934 if (_argo1 == Py_None) { _arg1 = NULL; }
3935 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3936 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3937 return NULL;
3938 }
3939 }
3940 {
3941 wxPy_BEGIN_ALLOW_THREADS;
3942 _result = (wxPyTreeItemData *)wxTreeCtrl_GetItemData(_arg0,*_arg1);
3943
3944 wxPy_END_ALLOW_THREADS;
3945 } if (_result) {
3946 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
3947 _resultobj = Py_BuildValue("s",_ptemp);
3948 } else {
3949 Py_INCREF(Py_None);
3950 _resultobj = Py_None;
3951 }
3952 return _resultobj;
3953 }
3954
3955 static void wxTreeCtrl_SetItemData(wxTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
3956 self->SetItemData(item, data);
3957 }
3958 static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject * _resultobj;
3960 wxTreeCtrl * _arg0;
3961 wxTreeItemId * _arg1;
3962 wxPyTreeItemData * _arg2;
3963 PyObject * _argo0 = 0;
3964 PyObject * _argo1 = 0;
3965 PyObject * _argo2 = 0;
3966 char *_kwnames[] = { "self","item","data", NULL };
3967
3968 self = self;
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
3970 return NULL;
3971 if (_argo0) {
3972 if (_argo0 == Py_None) { _arg0 = NULL; }
3973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3975 return NULL;
3976 }
3977 }
3978 if (_argo1) {
3979 if (_argo1 == Py_None) { _arg1 = NULL; }
3980 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3981 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3982 return NULL;
3983 }
3984 }
3985 if (_argo2) {
3986 if (_argo2 == Py_None) { _arg2 = NULL; }
3987 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
3988 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3989 return NULL;
3990 }
3991 }
3992 {
3993 wxPy_BEGIN_ALLOW_THREADS;
3994 wxTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
3995
3996 wxPy_END_ALLOW_THREADS;
3997 } Py_INCREF(Py_None);
3998 _resultobj = Py_None;
3999 return _resultobj;
4000 }
4001
4002 static PyObject * wxTreeCtrl_GetPyData(wxTreeCtrl *self,const wxTreeItemId & item) {
4003 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
4004 if (data == NULL) {
4005 data = new wxPyTreeItemData();
4006 self->SetItemData(item, data);
4007 }
4008 return data->GetData();
4009 }
4010 static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject * _resultobj;
4012 PyObject * _result;
4013 wxTreeCtrl * _arg0;
4014 wxTreeItemId * _arg1;
4015 PyObject * _argo0 = 0;
4016 PyObject * _argo1 = 0;
4017 char *_kwnames[] = { "self","item", NULL };
4018
4019 self = self;
4020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
4021 return NULL;
4022 if (_argo0) {
4023 if (_argo0 == Py_None) { _arg0 = NULL; }
4024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
4026 return NULL;
4027 }
4028 }
4029 if (_argo1) {
4030 if (_argo1 == Py_None) { _arg1 = NULL; }
4031 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4032 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
4033 return NULL;
4034 }
4035 }
4036 {
4037 wxPy_BEGIN_ALLOW_THREADS;
4038 _result = (PyObject *)wxTreeCtrl_GetPyData(_arg0,*_arg1);
4039
4040 wxPy_END_ALLOW_THREADS;
4041 }{
4042 _resultobj = _result;
4043 }
4044 return _resultobj;
4045 }
4046
4047 static void wxTreeCtrl_SetPyData(wxTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
4048 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
4049 if (data == NULL) {
4050 data = new wxPyTreeItemData(obj);
4051 self->SetItemData(item, data);
4052 } else
4053 data->SetData(obj);
4054 }
4055 static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
4056 PyObject * _resultobj;
4057 wxTreeCtrl * _arg0;
4058 wxTreeItemId * _arg1;
4059 PyObject * _arg2;
4060 PyObject * _argo0 = 0;
4061 PyObject * _argo1 = 0;
4062 PyObject * _obj2 = 0;
4063 char *_kwnames[] = { "self","item","obj", NULL };
4064
4065 self = self;
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
4067 return NULL;
4068 if (_argo0) {
4069 if (_argo0 == Py_None) { _arg0 = NULL; }
4070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4072 return NULL;
4073 }
4074 }
4075 if (_argo1) {
4076 if (_argo1 == Py_None) { _arg1 = NULL; }
4077 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4078 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4079 return NULL;
4080 }
4081 }
4082 {
4083 _arg2 = _obj2;
4084 }
4085 {
4086 wxPy_BEGIN_ALLOW_THREADS;
4087 wxTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
4088
4089 wxPy_END_ALLOW_THREADS;
4090 } Py_INCREF(Py_None);
4091 _resultobj = Py_None;
4092 return _resultobj;
4093 }
4094
4095 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4096 static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4097 PyObject * _resultobj;
4098 bool _result;
4099 wxTreeCtrl * _arg0;
4100 wxTreeItemId * _arg1;
4101 PyObject * _argo0 = 0;
4102 PyObject * _argo1 = 0;
4103 char *_kwnames[] = { "self","item", NULL };
4104
4105 self = self;
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
4107 return NULL;
4108 if (_argo0) {
4109 if (_argo0 == Py_None) { _arg0 = NULL; }
4110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4112 return NULL;
4113 }
4114 }
4115 if (_argo1) {
4116 if (_argo1 == Py_None) { _arg1 = NULL; }
4117 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4118 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4119 return NULL;
4120 }
4121 }
4122 {
4123 wxPy_BEGIN_ALLOW_THREADS;
4124 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
4125
4126 wxPy_END_ALLOW_THREADS;
4127 } _resultobj = Py_BuildValue("i",_result);
4128 return _resultobj;
4129 }
4130
4131 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4132 static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject * _resultobj;
4134 bool _result;
4135 wxTreeCtrl * _arg0;
4136 wxTreeItemId * _arg1;
4137 PyObject * _argo0 = 0;
4138 PyObject * _argo1 = 0;
4139 char *_kwnames[] = { "self","item", NULL };
4140
4141 self = self;
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
4143 return NULL;
4144 if (_argo0) {
4145 if (_argo0 == Py_None) { _arg0 = NULL; }
4146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4148 return NULL;
4149 }
4150 }
4151 if (_argo1) {
4152 if (_argo1 == Py_None) { _arg1 = NULL; }
4153 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4154 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4155 return NULL;
4156 }
4157 }
4158 {
4159 wxPy_BEGIN_ALLOW_THREADS;
4160 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
4161
4162 wxPy_END_ALLOW_THREADS;
4163 } _resultobj = Py_BuildValue("i",_result);
4164 return _resultobj;
4165 }
4166
4167 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4168 static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
4169 PyObject * _resultobj;
4170 bool _result;
4171 wxTreeCtrl * _arg0;
4172 wxTreeItemId * _arg1;
4173 PyObject * _argo0 = 0;
4174 PyObject * _argo1 = 0;
4175 char *_kwnames[] = { "self","item", NULL };
4176
4177 self = self;
4178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
4179 return NULL;
4180 if (_argo0) {
4181 if (_argo0 == Py_None) { _arg0 = NULL; }
4182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4184 return NULL;
4185 }
4186 }
4187 if (_argo1) {
4188 if (_argo1 == Py_None) { _arg1 = NULL; }
4189 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4190 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4191 return NULL;
4192 }
4193 }
4194 {
4195 wxPy_BEGIN_ALLOW_THREADS;
4196 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
4197
4198 wxPy_END_ALLOW_THREADS;
4199 } _resultobj = Py_BuildValue("i",_result);
4200 return _resultobj;
4201 }
4202
4203 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4204 static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4205 PyObject * _resultobj;
4206 bool _result;
4207 wxTreeCtrl * _arg0;
4208 wxTreeItemId * _arg1;
4209 PyObject * _argo0 = 0;
4210 PyObject * _argo1 = 0;
4211 char *_kwnames[] = { "self","item", NULL };
4212
4213 self = self;
4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
4215 return NULL;
4216 if (_argo0) {
4217 if (_argo0 == Py_None) { _arg0 = NULL; }
4218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4220 return NULL;
4221 }
4222 }
4223 if (_argo1) {
4224 if (_argo1 == Py_None) { _arg1 = NULL; }
4225 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4226 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4227 return NULL;
4228 }
4229 }
4230 {
4231 wxPy_BEGIN_ALLOW_THREADS;
4232 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
4233
4234 wxPy_END_ALLOW_THREADS;
4235 } _resultobj = Py_BuildValue("i",_result);
4236 return _resultobj;
4237 }
4238
4239 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4240 static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject * _resultobj;
4242 wxTreeItemId * _result;
4243 wxTreeCtrl * _arg0;
4244 PyObject * _argo0 = 0;
4245 char *_kwnames[] = { "self", NULL };
4246 char _ptemp[128];
4247
4248 self = self;
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
4250 return NULL;
4251 if (_argo0) {
4252 if (_argo0 == Py_None) { _arg0 = NULL; }
4253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4255 return NULL;
4256 }
4257 }
4258 {
4259 wxPy_BEGIN_ALLOW_THREADS;
4260 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
4261
4262 wxPy_END_ALLOW_THREADS;
4263 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4264 _resultobj = Py_BuildValue("s",_ptemp);
4265 return _resultobj;
4266 }
4267
4268 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4269 static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject * _resultobj;
4271 wxTreeItemId * _result;
4272 wxTreeCtrl * _arg0;
4273 PyObject * _argo0 = 0;
4274 char *_kwnames[] = { "self", NULL };
4275 char _ptemp[128];
4276
4277 self = self;
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
4279 return NULL;
4280 if (_argo0) {
4281 if (_argo0 == Py_None) { _arg0 = NULL; }
4282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4284 return NULL;
4285 }
4286 }
4287 {
4288 wxPy_BEGIN_ALLOW_THREADS;
4289 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
4290
4291 wxPy_END_ALLOW_THREADS;
4292 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4293 _resultobj = Py_BuildValue("s",_ptemp);
4294 return _resultobj;
4295 }
4296
4297 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4298 static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject * _resultobj;
4300 wxTreeItemId * _result;
4301 wxTreeCtrl * _arg0;
4302 wxTreeItemId * _arg1;
4303 PyObject * _argo0 = 0;
4304 PyObject * _argo1 = 0;
4305 char *_kwnames[] = { "self","item", NULL };
4306 char _ptemp[128];
4307
4308 self = self;
4309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
4310 return NULL;
4311 if (_argo0) {
4312 if (_argo0 == Py_None) { _arg0 = NULL; }
4313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxTreeCtrl_p.");
4315 return NULL;
4316 }
4317 }
4318 if (_argo1) {
4319 if (_argo1 == Py_None) { _arg1 = NULL; }
4320 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4321 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
4322 return NULL;
4323 }
4324 }
4325 {
4326 wxPy_BEGIN_ALLOW_THREADS;
4327 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
4328
4329 wxPy_END_ALLOW_THREADS;
4330 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4331 _resultobj = Py_BuildValue("s",_ptemp);
4332 return _resultobj;
4333 }
4334
4335 static PyObject * wxTreeCtrl_GetSelections(wxTreeCtrl *self) {
4336 PyObject* rval = PyList_New(0);
4337 wxArrayTreeItemIds array;
4338 size_t num, x;
4339 num = self->GetSelections(array);
4340 for (x=0; x < num; x++) {
4341 PyObject* item = wxPyConstructObject((void*)&array.Item(x),
4342 "wxTreeItemId");
4343 PyList_Append(rval, item);
4344 }
4345 return rval;
4346 }
4347 static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4348 PyObject * _resultobj;
4349 PyObject * _result;
4350 wxTreeCtrl * _arg0;
4351 PyObject * _argo0 = 0;
4352 char *_kwnames[] = { "self", NULL };
4353
4354 self = self;
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
4356 return NULL;
4357 if (_argo0) {
4358 if (_argo0 == Py_None) { _arg0 = NULL; }
4359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4361 return NULL;
4362 }
4363 }
4364 {
4365 wxPy_BEGIN_ALLOW_THREADS;
4366 _result = (PyObject *)wxTreeCtrl_GetSelections(_arg0);
4367
4368 wxPy_END_ALLOW_THREADS;
4369 }{
4370 _resultobj = _result;
4371 }
4372 return _resultobj;
4373 }
4374
4375 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4376 static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject * _resultobj;
4378 size_t _result;
4379 wxTreeCtrl * _arg0;
4380 wxTreeItemId * _arg1;
4381 bool _arg2 = (bool ) TRUE;
4382 PyObject * _argo0 = 0;
4383 PyObject * _argo1 = 0;
4384 int tempbool2 = (int) TRUE;
4385 char *_kwnames[] = { "self","item","recursively", NULL };
4386
4387 self = self;
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
4389 return NULL;
4390 if (_argo0) {
4391 if (_argo0 == Py_None) { _arg0 = NULL; }
4392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4394 return NULL;
4395 }
4396 }
4397 if (_argo1) {
4398 if (_argo1 == Py_None) { _arg1 = NULL; }
4399 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4400 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4401 return NULL;
4402 }
4403 }
4404 _arg2 = (bool ) tempbool2;
4405 {
4406 wxPy_BEGIN_ALLOW_THREADS;
4407 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
4408
4409 wxPy_END_ALLOW_THREADS;
4410 } _resultobj = Py_BuildValue("i",_result);
4411 return _resultobj;
4412 }
4413
4414 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4415 static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4416 PyObject * _resultobj;
4417 wxTreeItemId * _result;
4418 wxTreeCtrl * _arg0;
4419 wxTreeItemId * _arg1;
4420 long * _arg2;
4421 PyObject * _argo0 = 0;
4422 PyObject * _argo1 = 0;
4423 long temp;
4424 PyObject * _obj2 = 0;
4425 char *_kwnames[] = { "self","item","INOUT", NULL };
4426 char _ptemp[128];
4427
4428 self = self;
4429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
4430 return NULL;
4431 if (_argo0) {
4432 if (_argo0 == Py_None) { _arg0 = NULL; }
4433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4435 return NULL;
4436 }
4437 }
4438 if (_argo1) {
4439 if (_argo1 == Py_None) { _arg1 = NULL; }
4440 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4441 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4442 return NULL;
4443 }
4444 }
4445 {
4446 temp = (long) PyInt_AsLong(_obj2);
4447 _arg2 = &temp;
4448 }
4449 {
4450 wxPy_BEGIN_ALLOW_THREADS;
4451 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
4452
4453 wxPy_END_ALLOW_THREADS;
4454 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4455 _resultobj = Py_BuildValue("s",_ptemp);
4456 {
4457 PyObject *o;
4458 o = PyInt_FromLong((long) (*_arg2));
4459 _resultobj = t_output_helper(_resultobj, o);
4460 }
4461 return _resultobj;
4462 }
4463
4464 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4465 static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4466 PyObject * _resultobj;
4467 wxTreeItemId * _result;
4468 wxTreeCtrl * _arg0;
4469 wxTreeItemId * _arg1;
4470 long * _arg2;
4471 PyObject * _argo0 = 0;
4472 PyObject * _argo1 = 0;
4473 long temp;
4474 PyObject * _obj2 = 0;
4475 char *_kwnames[] = { "self","item","INOUT", NULL };
4476 char _ptemp[128];
4477
4478 self = self;
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
4480 return NULL;
4481 if (_argo0) {
4482 if (_argo0 == Py_None) { _arg0 = NULL; }
4483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4485 return NULL;
4486 }
4487 }
4488 if (_argo1) {
4489 if (_argo1 == Py_None) { _arg1 = NULL; }
4490 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4491 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4492 return NULL;
4493 }
4494 }
4495 {
4496 temp = (long) PyInt_AsLong(_obj2);
4497 _arg2 = &temp;
4498 }
4499 {
4500 wxPy_BEGIN_ALLOW_THREADS;
4501 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
4502
4503 wxPy_END_ALLOW_THREADS;
4504 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4505 _resultobj = Py_BuildValue("s",_ptemp);
4506 {
4507 PyObject *o;
4508 o = PyInt_FromLong((long) (*_arg2));
4509 _resultobj = t_output_helper(_resultobj, o);
4510 }
4511 return _resultobj;
4512 }
4513
4514 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4515 static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4516 PyObject * _resultobj;
4517 wxTreeItemId * _result;
4518 wxTreeCtrl * _arg0;
4519 wxTreeItemId * _arg1;
4520 PyObject * _argo0 = 0;
4521 PyObject * _argo1 = 0;
4522 char *_kwnames[] = { "self","item", NULL };
4523 char _ptemp[128];
4524
4525 self = self;
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
4527 return NULL;
4528 if (_argo0) {
4529 if (_argo0 == Py_None) { _arg0 = NULL; }
4530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4532 return NULL;
4533 }
4534 }
4535 if (_argo1) {
4536 if (_argo1 == Py_None) { _arg1 = NULL; }
4537 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4538 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4539 return NULL;
4540 }
4541 }
4542 {
4543 wxPy_BEGIN_ALLOW_THREADS;
4544 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
4545
4546 wxPy_END_ALLOW_THREADS;
4547 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4548 _resultobj = Py_BuildValue("s",_ptemp);
4549 return _resultobj;
4550 }
4551
4552 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4553 static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject * _resultobj;
4555 wxTreeItemId * _result;
4556 wxTreeCtrl * _arg0;
4557 wxTreeItemId * _arg1;
4558 PyObject * _argo0 = 0;
4559 PyObject * _argo1 = 0;
4560 char *_kwnames[] = { "self","item", NULL };
4561 char _ptemp[128];
4562
4563 self = self;
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
4565 return NULL;
4566 if (_argo0) {
4567 if (_argo0 == Py_None) { _arg0 = NULL; }
4568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4570 return NULL;
4571 }
4572 }
4573 if (_argo1) {
4574 if (_argo1 == Py_None) { _arg1 = NULL; }
4575 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4576 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4577 return NULL;
4578 }
4579 }
4580 {
4581 wxPy_BEGIN_ALLOW_THREADS;
4582 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
4583
4584 wxPy_END_ALLOW_THREADS;
4585 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4586 _resultobj = Py_BuildValue("s",_ptemp);
4587 return _resultobj;
4588 }
4589
4590 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4591 static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4592 PyObject * _resultobj;
4593 wxTreeItemId * _result;
4594 wxTreeCtrl * _arg0;
4595 PyObject * _argo0 = 0;
4596 char *_kwnames[] = { "self", NULL };
4597 char _ptemp[128];
4598
4599 self = self;
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
4601 return NULL;
4602 if (_argo0) {
4603 if (_argo0 == Py_None) { _arg0 = NULL; }
4604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4606 return NULL;
4607 }
4608 }
4609 {
4610 wxPy_BEGIN_ALLOW_THREADS;
4611 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
4612
4613 wxPy_END_ALLOW_THREADS;
4614 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4615 _resultobj = Py_BuildValue("s",_ptemp);
4616 return _resultobj;
4617 }
4618
4619 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4620 static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject * _resultobj;
4622 wxTreeItemId * _result;
4623 wxTreeCtrl * _arg0;
4624 wxTreeItemId * _arg1;
4625 PyObject * _argo0 = 0;
4626 PyObject * _argo1 = 0;
4627 char *_kwnames[] = { "self","item", NULL };
4628 char _ptemp[128];
4629
4630 self = self;
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
4632 return NULL;
4633 if (_argo0) {
4634 if (_argo0 == Py_None) { _arg0 = NULL; }
4635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4637 return NULL;
4638 }
4639 }
4640 if (_argo1) {
4641 if (_argo1 == Py_None) { _arg1 = NULL; }
4642 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4643 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4644 return NULL;
4645 }
4646 }
4647 {
4648 wxPy_BEGIN_ALLOW_THREADS;
4649 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
4650
4651 wxPy_END_ALLOW_THREADS;
4652 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4653 _resultobj = Py_BuildValue("s",_ptemp);
4654 return _resultobj;
4655 }
4656
4657 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4658 static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject * _resultobj;
4660 wxTreeItemId * _result;
4661 wxTreeCtrl * _arg0;
4662 wxTreeItemId * _arg1;
4663 PyObject * _argo0 = 0;
4664 PyObject * _argo1 = 0;
4665 char *_kwnames[] = { "self","item", NULL };
4666 char _ptemp[128];
4667
4668 self = self;
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
4670 return NULL;
4671 if (_argo0) {
4672 if (_argo0 == Py_None) { _arg0 = NULL; }
4673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4675 return NULL;
4676 }
4677 }
4678 if (_argo1) {
4679 if (_argo1 == Py_None) { _arg1 = NULL; }
4680 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4681 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4682 return NULL;
4683 }
4684 }
4685 {
4686 wxPy_BEGIN_ALLOW_THREADS;
4687 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
4688
4689 wxPy_END_ALLOW_THREADS;
4690 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4691 _resultobj = Py_BuildValue("s",_ptemp);
4692 return _resultobj;
4693 }
4694
4695 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4696 static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4697 PyObject * _resultobj;
4698 wxTreeItemId * _result;
4699 wxTreeCtrl * _arg0;
4700 wxTreeItemId * _arg1;
4701 PyObject * _argo0 = 0;
4702 PyObject * _argo1 = 0;
4703 char *_kwnames[] = { "self","item", NULL };
4704 char _ptemp[128];
4705
4706 self = self;
4707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
4708 return NULL;
4709 if (_argo0) {
4710 if (_argo0 == Py_None) { _arg0 = NULL; }
4711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4713 return NULL;
4714 }
4715 }
4716 if (_argo1) {
4717 if (_argo1 == Py_None) { _arg1 = NULL; }
4718 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4719 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4720 return NULL;
4721 }
4722 }
4723 {
4724 wxPy_BEGIN_ALLOW_THREADS;
4725 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
4726
4727 wxPy_END_ALLOW_THREADS;
4728 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4729 _resultobj = Py_BuildValue("s",_ptemp);
4730 return _resultobj;
4731 }
4732
4733 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4734 static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
4735 PyObject * _resultobj;
4736 wxTreeItemId * _result;
4737 wxTreeCtrl * _arg0;
4738 wxString * _arg1;
4739 int _arg2 = (int ) -1;
4740 int _arg3 = (int ) -1;
4741 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
4742 PyObject * _argo0 = 0;
4743 PyObject * _obj1 = 0;
4744 PyObject * _argo4 = 0;
4745 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
4746 char _ptemp[128];
4747
4748 self = self;
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
4750 return NULL;
4751 if (_argo0) {
4752 if (_argo0 == Py_None) { _arg0 = NULL; }
4753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4755 return NULL;
4756 }
4757 }
4758 {
4759 if (!PyString_Check(_obj1)) {
4760 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4761 return NULL;
4762 }
4763 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4764 }
4765 if (_argo4) {
4766 if (_argo4 == Py_None) { _arg4 = NULL; }
4767 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
4768 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4769 return NULL;
4770 }
4771 }
4772 {
4773 wxPy_BEGIN_ALLOW_THREADS;
4774 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
4775
4776 wxPy_END_ALLOW_THREADS;
4777 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4778 _resultobj = Py_BuildValue("s",_ptemp);
4779 {
4780 if (_obj1)
4781 delete _arg1;
4782 }
4783 return _resultobj;
4784 }
4785
4786 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4787 static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4788 PyObject * _resultobj;
4789 wxTreeItemId * _result;
4790 wxTreeCtrl * _arg0;
4791 wxTreeItemId * _arg1;
4792 wxString * _arg2;
4793 int _arg3 = (int ) -1;
4794 int _arg4 = (int ) -1;
4795 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
4796 PyObject * _argo0 = 0;
4797 PyObject * _argo1 = 0;
4798 PyObject * _obj2 = 0;
4799 PyObject * _argo5 = 0;
4800 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
4801 char _ptemp[128];
4802
4803 self = self;
4804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
4805 return NULL;
4806 if (_argo0) {
4807 if (_argo0 == Py_None) { _arg0 = NULL; }
4808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4810 return NULL;
4811 }
4812 }
4813 if (_argo1) {
4814 if (_argo1 == Py_None) { _arg1 = NULL; }
4815 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4816 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4817 return NULL;
4818 }
4819 }
4820 {
4821 if (!PyString_Check(_obj2)) {
4822 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4823 return NULL;
4824 }
4825 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4826 }
4827 if (_argo5) {
4828 if (_argo5 == Py_None) { _arg5 = NULL; }
4829 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
4830 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4831 return NULL;
4832 }
4833 }
4834 {
4835 wxPy_BEGIN_ALLOW_THREADS;
4836 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
4837
4838 wxPy_END_ALLOW_THREADS;
4839 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4840 _resultobj = Py_BuildValue("s",_ptemp);
4841 {
4842 if (_obj2)
4843 delete _arg2;
4844 }
4845 return _resultobj;
4846 }
4847
4848 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4849 static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject * _resultobj;
4851 wxTreeItemId * _result;
4852 wxTreeCtrl * _arg0;
4853 wxTreeItemId * _arg1;
4854 wxTreeItemId * _arg2;
4855 wxString * _arg3;
4856 int _arg4 = (int ) -1;
4857 int _arg5 = (int ) -1;
4858 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
4859 PyObject * _argo0 = 0;
4860 PyObject * _argo1 = 0;
4861 PyObject * _argo2 = 0;
4862 PyObject * _obj3 = 0;
4863 PyObject * _argo6 = 0;
4864 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
4865 char _ptemp[128];
4866
4867 self = self;
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
4869 return NULL;
4870 if (_argo0) {
4871 if (_argo0 == Py_None) { _arg0 = NULL; }
4872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4874 return NULL;
4875 }
4876 }
4877 if (_argo1) {
4878 if (_argo1 == Py_None) { _arg1 = NULL; }
4879 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4880 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4881 return NULL;
4882 }
4883 }
4884 if (_argo2) {
4885 if (_argo2 == Py_None) { _arg2 = NULL; }
4886 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
4887 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4888 return NULL;
4889 }
4890 }
4891 {
4892 if (!PyString_Check(_obj3)) {
4893 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4894 return NULL;
4895 }
4896 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4897 }
4898 if (_argo6) {
4899 if (_argo6 == Py_None) { _arg6 = NULL; }
4900 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
4901 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4902 return NULL;
4903 }
4904 }
4905 {
4906 wxPy_BEGIN_ALLOW_THREADS;
4907 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
4908
4909 wxPy_END_ALLOW_THREADS;
4910 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4911 _resultobj = Py_BuildValue("s",_ptemp);
4912 {
4913 if (_obj3)
4914 delete _arg3;
4915 }
4916 return _resultobj;
4917 }
4918
4919 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4920 static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4921 PyObject * _resultobj;
4922 wxTreeItemId * _result;
4923 wxTreeCtrl * _arg0;
4924 wxTreeItemId * _arg1;
4925 wxString * _arg2;
4926 int _arg3 = (int ) -1;
4927 int _arg4 = (int ) -1;
4928 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
4929 PyObject * _argo0 = 0;
4930 PyObject * _argo1 = 0;
4931 PyObject * _obj2 = 0;
4932 PyObject * _argo5 = 0;
4933 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
4934 char _ptemp[128];
4935
4936 self = self;
4937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
4938 return NULL;
4939 if (_argo0) {
4940 if (_argo0 == Py_None) { _arg0 = NULL; }
4941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4943 return NULL;
4944 }
4945 }
4946 if (_argo1) {
4947 if (_argo1 == Py_None) { _arg1 = NULL; }
4948 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4949 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4950 return NULL;
4951 }
4952 }
4953 {
4954 if (!PyString_Check(_obj2)) {
4955 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4956 return NULL;
4957 }
4958 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4959 }
4960 if (_argo5) {
4961 if (_argo5 == Py_None) { _arg5 = NULL; }
4962 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
4963 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4964 return NULL;
4965 }
4966 }
4967 {
4968 wxPy_BEGIN_ALLOW_THREADS;
4969 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
4970
4971 wxPy_END_ALLOW_THREADS;
4972 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4973 _resultobj = Py_BuildValue("s",_ptemp);
4974 {
4975 if (_obj2)
4976 delete _arg2;
4977 }
4978 return _resultobj;
4979 }
4980
4981 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4982 static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
4983 PyObject * _resultobj;
4984 wxTreeCtrl * _arg0;
4985 wxTreeItemId * _arg1;
4986 PyObject * _argo0 = 0;
4987 PyObject * _argo1 = 0;
4988 char *_kwnames[] = { "self","item", NULL };
4989
4990 self = self;
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
4992 return NULL;
4993 if (_argo0) {
4994 if (_argo0 == Py_None) { _arg0 = NULL; }
4995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4997 return NULL;
4998 }
4999 }
5000 if (_argo1) {
5001 if (_argo1 == Py_None) { _arg1 = NULL; }
5002 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5003 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5004 return NULL;
5005 }
5006 }
5007 {
5008 wxPy_BEGIN_ALLOW_THREADS;
5009 wxTreeCtrl_Delete(_arg0,*_arg1);
5010
5011 wxPy_END_ALLOW_THREADS;
5012 } Py_INCREF(Py_None);
5013 _resultobj = Py_None;
5014 return _resultobj;
5015 }
5016
5017 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5018 static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject * _resultobj;
5020 wxTreeCtrl * _arg0;
5021 wxTreeItemId * _arg1;
5022 PyObject * _argo0 = 0;
5023 PyObject * _argo1 = 0;
5024 char *_kwnames[] = { "self","item", NULL };
5025
5026 self = self;
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
5028 return NULL;
5029 if (_argo0) {
5030 if (_argo0 == Py_None) { _arg0 = NULL; }
5031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5033 return NULL;
5034 }
5035 }
5036 if (_argo1) {
5037 if (_argo1 == Py_None) { _arg1 = NULL; }
5038 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5039 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5040 return NULL;
5041 }
5042 }
5043 {
5044 wxPy_BEGIN_ALLOW_THREADS;
5045 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
5046
5047 wxPy_END_ALLOW_THREADS;
5048 } Py_INCREF(Py_None);
5049 _resultobj = Py_None;
5050 return _resultobj;
5051 }
5052
5053 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5054 static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5055 PyObject * _resultobj;
5056 wxTreeCtrl * _arg0;
5057 PyObject * _argo0 = 0;
5058 char *_kwnames[] = { "self", NULL };
5059
5060 self = self;
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
5062 return NULL;
5063 if (_argo0) {
5064 if (_argo0 == Py_None) { _arg0 = NULL; }
5065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5067 return NULL;
5068 }
5069 }
5070 {
5071 wxPy_BEGIN_ALLOW_THREADS;
5072 wxTreeCtrl_DeleteAllItems(_arg0);
5073
5074 wxPy_END_ALLOW_THREADS;
5075 } Py_INCREF(Py_None);
5076 _resultobj = Py_None;
5077 return _resultobj;
5078 }
5079
5080 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5081 static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
5082 PyObject * _resultobj;
5083 wxTreeCtrl * _arg0;
5084 wxTreeItemId * _arg1;
5085 PyObject * _argo0 = 0;
5086 PyObject * _argo1 = 0;
5087 char *_kwnames[] = { "self","item", NULL };
5088
5089 self = self;
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
5091 return NULL;
5092 if (_argo0) {
5093 if (_argo0 == Py_None) { _arg0 = NULL; }
5094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5096 return NULL;
5097 }
5098 }
5099 if (_argo1) {
5100 if (_argo1 == Py_None) { _arg1 = NULL; }
5101 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5102 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5103 return NULL;
5104 }
5105 }
5106 {
5107 wxPy_BEGIN_ALLOW_THREADS;
5108 wxTreeCtrl_Expand(_arg0,*_arg1);
5109
5110 wxPy_END_ALLOW_THREADS;
5111 } Py_INCREF(Py_None);
5112 _resultobj = Py_None;
5113 return _resultobj;
5114 }
5115
5116 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5117 static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject * _resultobj;
5119 wxTreeCtrl * _arg0;
5120 wxTreeItemId * _arg1;
5121 PyObject * _argo0 = 0;
5122 PyObject * _argo1 = 0;
5123 char *_kwnames[] = { "self","item", NULL };
5124
5125 self = self;
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
5127 return NULL;
5128 if (_argo0) {
5129 if (_argo0 == Py_None) { _arg0 = NULL; }
5130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5132 return NULL;
5133 }
5134 }
5135 if (_argo1) {
5136 if (_argo1 == Py_None) { _arg1 = NULL; }
5137 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5138 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5139 return NULL;
5140 }
5141 }
5142 {
5143 wxPy_BEGIN_ALLOW_THREADS;
5144 wxTreeCtrl_Collapse(_arg0,*_arg1);
5145
5146 wxPy_END_ALLOW_THREADS;
5147 } Py_INCREF(Py_None);
5148 _resultobj = Py_None;
5149 return _resultobj;
5150 }
5151
5152 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5153 static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
5154 PyObject * _resultobj;
5155 wxTreeCtrl * _arg0;
5156 wxTreeItemId * _arg1;
5157 PyObject * _argo0 = 0;
5158 PyObject * _argo1 = 0;
5159 char *_kwnames[] = { "self","item", NULL };
5160
5161 self = self;
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
5163 return NULL;
5164 if (_argo0) {
5165 if (_argo0 == Py_None) { _arg0 = NULL; }
5166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5168 return NULL;
5169 }
5170 }
5171 if (_argo1) {
5172 if (_argo1 == Py_None) { _arg1 = NULL; }
5173 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5174 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5175 return NULL;
5176 }
5177 }
5178 {
5179 wxPy_BEGIN_ALLOW_THREADS;
5180 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
5181
5182 wxPy_END_ALLOW_THREADS;
5183 } Py_INCREF(Py_None);
5184 _resultobj = Py_None;
5185 return _resultobj;
5186 }
5187
5188 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5189 static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject * _resultobj;
5191 wxTreeCtrl * _arg0;
5192 wxTreeItemId * _arg1;
5193 PyObject * _argo0 = 0;
5194 PyObject * _argo1 = 0;
5195 char *_kwnames[] = { "self","item", NULL };
5196
5197 self = self;
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
5199 return NULL;
5200 if (_argo0) {
5201 if (_argo0 == Py_None) { _arg0 = NULL; }
5202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5204 return NULL;
5205 }
5206 }
5207 if (_argo1) {
5208 if (_argo1 == Py_None) { _arg1 = NULL; }
5209 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5210 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5211 return NULL;
5212 }
5213 }
5214 {
5215 wxPy_BEGIN_ALLOW_THREADS;
5216 wxTreeCtrl_Toggle(_arg0,*_arg1);
5217
5218 wxPy_END_ALLOW_THREADS;
5219 } Py_INCREF(Py_None);
5220 _resultobj = Py_None;
5221 return _resultobj;
5222 }
5223
5224 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5225 static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5226 PyObject * _resultobj;
5227 wxTreeCtrl * _arg0;
5228 PyObject * _argo0 = 0;
5229 char *_kwnames[] = { "self", NULL };
5230
5231 self = self;
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
5233 return NULL;
5234 if (_argo0) {
5235 if (_argo0 == Py_None) { _arg0 = NULL; }
5236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5238 return NULL;
5239 }
5240 }
5241 {
5242 wxPy_BEGIN_ALLOW_THREADS;
5243 wxTreeCtrl_Unselect(_arg0);
5244
5245 wxPy_END_ALLOW_THREADS;
5246 } Py_INCREF(Py_None);
5247 _resultobj = Py_None;
5248 return _resultobj;
5249 }
5250
5251 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5252 static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5253 PyObject * _resultobj;
5254 wxTreeCtrl * _arg0;
5255 PyObject * _argo0 = 0;
5256 char *_kwnames[] = { "self", NULL };
5257
5258 self = self;
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
5260 return NULL;
5261 if (_argo0) {
5262 if (_argo0 == Py_None) { _arg0 = NULL; }
5263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5265 return NULL;
5266 }
5267 }
5268 {
5269 wxPy_BEGIN_ALLOW_THREADS;
5270 wxTreeCtrl_UnselectAll(_arg0);
5271
5272 wxPy_END_ALLOW_THREADS;
5273 } Py_INCREF(Py_None);
5274 _resultobj = Py_None;
5275 return _resultobj;
5276 }
5277
5278 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5279 static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5280 PyObject * _resultobj;
5281 wxTreeCtrl * _arg0;
5282 wxTreeItemId * _arg1;
5283 PyObject * _argo0 = 0;
5284 PyObject * _argo1 = 0;
5285 char *_kwnames[] = { "self","item", NULL };
5286
5287 self = self;
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
5289 return NULL;
5290 if (_argo0) {
5291 if (_argo0 == Py_None) { _arg0 = NULL; }
5292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5294 return NULL;
5295 }
5296 }
5297 if (_argo1) {
5298 if (_argo1 == Py_None) { _arg1 = NULL; }
5299 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5301 return NULL;
5302 }
5303 }
5304 {
5305 wxPy_BEGIN_ALLOW_THREADS;
5306 wxTreeCtrl_SelectItem(_arg0,*_arg1);
5307
5308 wxPy_END_ALLOW_THREADS;
5309 } Py_INCREF(Py_None);
5310 _resultobj = Py_None;
5311 return _resultobj;
5312 }
5313
5314 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5315 static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5316 PyObject * _resultobj;
5317 wxTreeCtrl * _arg0;
5318 wxTreeItemId * _arg1;
5319 PyObject * _argo0 = 0;
5320 PyObject * _argo1 = 0;
5321 char *_kwnames[] = { "self","item", NULL };
5322
5323 self = self;
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
5325 return NULL;
5326 if (_argo0) {
5327 if (_argo0 == Py_None) { _arg0 = NULL; }
5328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5330 return NULL;
5331 }
5332 }
5333 if (_argo1) {
5334 if (_argo1 == Py_None) { _arg1 = NULL; }
5335 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5336 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5337 return NULL;
5338 }
5339 }
5340 {
5341 wxPy_BEGIN_ALLOW_THREADS;
5342 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
5343
5344 wxPy_END_ALLOW_THREADS;
5345 } Py_INCREF(Py_None);
5346 _resultobj = Py_None;
5347 return _resultobj;
5348 }
5349
5350 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5351 static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5352 PyObject * _resultobj;
5353 wxTreeCtrl * _arg0;
5354 wxTreeItemId * _arg1;
5355 PyObject * _argo0 = 0;
5356 PyObject * _argo1 = 0;
5357 char *_kwnames[] = { "self","item", NULL };
5358
5359 self = self;
5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
5361 return NULL;
5362 if (_argo0) {
5363 if (_argo0 == Py_None) { _arg0 = NULL; }
5364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5366 return NULL;
5367 }
5368 }
5369 if (_argo1) {
5370 if (_argo1 == Py_None) { _arg1 = NULL; }
5371 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5372 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5373 return NULL;
5374 }
5375 }
5376 {
5377 wxPy_BEGIN_ALLOW_THREADS;
5378 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
5379
5380 wxPy_END_ALLOW_THREADS;
5381 } Py_INCREF(Py_None);
5382 _resultobj = Py_None;
5383 return _resultobj;
5384 }
5385
5386 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5387 static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5388 PyObject * _resultobj;
5389 wxTreeCtrl * _arg0;
5390 wxTreeItemId * _arg1;
5391 PyObject * _argo0 = 0;
5392 PyObject * _argo1 = 0;
5393 char *_kwnames[] = { "self","item", NULL };
5394
5395 self = self;
5396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
5397 return NULL;
5398 if (_argo0) {
5399 if (_argo0 == Py_None) { _arg0 = NULL; }
5400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5402 return NULL;
5403 }
5404 }
5405 if (_argo1) {
5406 if (_argo1 == Py_None) { _arg1 = NULL; }
5407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5409 return NULL;
5410 }
5411 }
5412 {
5413 wxPy_BEGIN_ALLOW_THREADS;
5414 wxTreeCtrl_EditLabel(_arg0,*_arg1);
5415
5416 wxPy_END_ALLOW_THREADS;
5417 } Py_INCREF(Py_None);
5418 _resultobj = Py_None;
5419 return _resultobj;
5420 }
5421
5422 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5423 static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5424 PyObject * _resultobj;
5425 wxTreeCtrl * _arg0;
5426 wxTreeItemId * _arg1;
5427 PyObject * _argo0 = 0;
5428 PyObject * _argo1 = 0;
5429 char *_kwnames[] = { "self","item", NULL };
5430
5431 self = self;
5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
5433 return NULL;
5434 if (_argo0) {
5435 if (_argo0 == Py_None) { _arg0 = NULL; }
5436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5438 return NULL;
5439 }
5440 }
5441 if (_argo1) {
5442 if (_argo1 == Py_None) { _arg1 = NULL; }
5443 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5444 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5445 return NULL;
5446 }
5447 }
5448 {
5449 wxPy_BEGIN_ALLOW_THREADS;
5450 wxTreeCtrl_SortChildren(_arg0,*_arg1);
5451
5452 wxPy_END_ALLOW_THREADS;
5453 } Py_INCREF(Py_None);
5454 _resultobj = Py_None;
5455 return _resultobj;
5456 }
5457
5458 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5459 static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject * _resultobj;
5461 wxTreeCtrl * _arg0;
5462 wxTreeItemId * _arg1;
5463 int _arg2 = (int ) TRUE;
5464 PyObject * _argo0 = 0;
5465 PyObject * _argo1 = 0;
5466 char *_kwnames[] = { "self","item","bold", NULL };
5467
5468 self = self;
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
5470 return NULL;
5471 if (_argo0) {
5472 if (_argo0 == Py_None) { _arg0 = NULL; }
5473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5475 return NULL;
5476 }
5477 }
5478 if (_argo1) {
5479 if (_argo1 == Py_None) { _arg1 = NULL; }
5480 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5481 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5482 return NULL;
5483 }
5484 }
5485 {
5486 wxPy_BEGIN_ALLOW_THREADS;
5487 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
5488
5489 wxPy_END_ALLOW_THREADS;
5490 } Py_INCREF(Py_None);
5491 _resultobj = Py_None;
5492 return _resultobj;
5493 }
5494
5495 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5496 static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject * _resultobj;
5498 bool _result;
5499 wxTreeCtrl * _arg0;
5500 wxTreeItemId * _arg1;
5501 PyObject * _argo0 = 0;
5502 PyObject * _argo1 = 0;
5503 char *_kwnames[] = { "self","item", NULL };
5504
5505 self = self;
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
5507 return NULL;
5508 if (_argo0) {
5509 if (_argo0 == Py_None) { _arg0 = NULL; }
5510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5512 return NULL;
5513 }
5514 }
5515 if (_argo1) {
5516 if (_argo1 == Py_None) { _arg1 = NULL; }
5517 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5518 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5519 return NULL;
5520 }
5521 }
5522 {
5523 wxPy_BEGIN_ALLOW_THREADS;
5524 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
5525
5526 wxPy_END_ALLOW_THREADS;
5527 } _resultobj = Py_BuildValue("i",_result);
5528 return _resultobj;
5529 }
5530
5531 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5532 static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject * _resultobj;
5534 wxTreeItemId * _result;
5535 wxTreeCtrl * _arg0;
5536 wxPoint * _arg1;
5537 PyObject * _argo0 = 0;
5538 wxPoint temp;
5539 PyObject * _obj1 = 0;
5540 char *_kwnames[] = { "self","point", NULL };
5541 char _ptemp[128];
5542
5543 self = self;
5544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
5545 return NULL;
5546 if (_argo0) {
5547 if (_argo0 == Py_None) { _arg0 = NULL; }
5548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5550 return NULL;
5551 }
5552 }
5553 {
5554 _arg1 = &temp;
5555 if (! wxPoint_helper(_obj1, &_arg1))
5556 return NULL;
5557 }
5558 {
5559 wxPy_BEGIN_ALLOW_THREADS;
5560 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1));
5561
5562 wxPy_END_ALLOW_THREADS;
5563 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5564 _resultobj = Py_BuildValue("s",_ptemp);
5565 return _resultobj;
5566 }
5567
5568 static PyMethodDef controls2cMethods[] = {
5569 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
5570 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
5571 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
5572 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
5573 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
5574 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
5575 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
5576 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
5577 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
5578 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
5579 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
5580 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
5581 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
5582 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
5583 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
5584 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
5585 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
5586 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
5587 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
5588 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
5589 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
5590 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
5591 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
5592 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
5593 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
5594 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
5595 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
5596 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
5597 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
5598 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
5599 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
5600 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
5601 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
5602 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
5603 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
5604 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
5605 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5606 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
5607 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
5608 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
5609 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5610 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5611 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5612 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5613 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5614 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5615 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5616 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
5617 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
5618 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
5619 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
5620 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
5621 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5622 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
5623 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5624 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
5625 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
5626 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
5627 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5628 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
5629 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
5630 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
5631 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
5632 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
5633 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
5634 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
5635 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
5636 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
5637 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
5638 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
5639 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
5640 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
5641 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
5642 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
5643 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5644 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
5645 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
5646 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5647 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5648 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
5649 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
5650 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5651 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5652 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
5653 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5654 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
5655 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
5656 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
5657 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
5658 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
5659 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
5660 { "wxListCtrl_InsertColumnWith", (PyCFunction) _wrap_wxListCtrl_InsertColumnWith, METH_VARARGS | METH_KEYWORDS },
5661 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
5662 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
5663 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
5664 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
5665 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
5666 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
5667 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
5668 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
5669 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
5670 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
5671 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
5672 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5673 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5674 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
5675 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5676 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
5677 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
5678 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
5679 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
5680 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
5681 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
5682 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
5683 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
5684 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
5685 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
5686 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
5687 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
5688 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
5689 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
5690 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
5691 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
5692 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
5693 { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS },
5694 { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS },
5695 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
5696 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
5697 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
5698 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
5699 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
5700 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
5701 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
5702 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
5703 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
5704 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
5705 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
5706 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
5707 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
5708 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
5709 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
5710 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
5711 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
5712 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
5713 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
5714 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
5715 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
5716 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
5717 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
5718 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
5719 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
5720 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
5721 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
5722 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
5723 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
5724 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
5725 { NULL, NULL }
5726 };
5727 #ifdef __cplusplus
5728 }
5729 #endif
5730 /*
5731 * This table is used by the pointer type-checker
5732 */
5733 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5734 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5735 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
5736 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
5737 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
5738 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
5739 { "_wxEvent","_class_wxEvent",0},
5740 { "_class_wxActivateEvent","_wxActivateEvent",0},
5741 { "_signed_long","_long",0},
5742 { "_wxMenuEvent","_class_wxMenuEvent",0},
5743 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5744 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5745 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5746 { "_wxPrintQuality","_wxCoord",0},
5747 { "_wxPrintQuality","_int",0},
5748 { "_wxPrintQuality","_signed_int",0},
5749 { "_wxPrintQuality","_unsigned_int",0},
5750 { "_wxPrintQuality","_wxWindowID",0},
5751 { "_wxPrintQuality","_uint",0},
5752 { "_wxPrintQuality","_EBool",0},
5753 { "_wxPrintQuality","_size_t",0},
5754 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5755 { "_class_wxRegionIterator","_wxRegionIterator",0},
5756 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5757 { "_class_wxMenuBar","_wxMenuBar",0},
5758 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
5759 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
5760 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
5761 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
5762 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
5763 { "_class_wxEvtHandler","_wxEvtHandler",0},
5764 { "_wxPaintEvent","_class_wxPaintEvent",0},
5765 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5766 { "_wxCursor","_class_wxCursor",0},
5767 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
5768 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
5769 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5770 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
5771 { "_wxMask","_class_wxMask",0},
5772 { "_wxPen","_class_wxPen",0},
5773 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5774 { "_byte","_unsigned_char",0},
5775 { "_wxDataObject","_class_wxDataObject",0},
5776 { "_wxStaticBox","_class_wxStaticBox",0},
5777 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5778 { "_wxPyDropSource","_class_wxPyDropSource",0},
5779 { "_wxChoice","_class_wxChoice",0},
5780 { "_wxSlider","_class_wxSlider",0},
5781 { "_long","_unsigned_long",0},
5782 { "_long","_signed_long",0},
5783 { "_wxImageList","_class_wxImageList",0},
5784 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5785 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5786 { "_wxBitmapButton","_class_wxBitmapButton",0},
5787 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5788 { "_class_wxClipboard","_wxClipboard",0},
5789 { "_class_wxGauge","_wxGauge",0},
5790 { "_wxDC","_class_wxDC",0},
5791 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5792 { "_wxListEvent","_class_wxListEvent",0},
5793 { "_wxSpinEvent","_class_wxSpinEvent",0},
5794 { "_size_t","_wxCoord",0},
5795 { "_size_t","_wxPrintQuality",0},
5796 { "_size_t","_unsigned_int",0},
5797 { "_size_t","_int",0},
5798 { "_size_t","_wxWindowID",0},
5799 { "_size_t","_uint",0},
5800 { "_class_wxRealPoint","_wxRealPoint",0},
5801 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5802 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5803 { "_class_wxMenuItem","_wxMenuItem",0},
5804 { "_class_wxPaintEvent","_wxPaintEvent",0},
5805 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5806 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5807 { "_wxPanel","_class_wxPanel",0},
5808 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5809 { "_wxCheckBox","_class_wxCheckBox",0},
5810 { "_wxPyEvent","_class_wxPyEvent",0},
5811 { "_wxTextCtrl","_class_wxTextCtrl",0},
5812 { "_class_wxMask","_wxMask",0},
5813 { "_wxTextDataObject","_class_wxTextDataObject",0},
5814 { "_class_wxKeyEvent","_wxKeyEvent",0},
5815 { "_wxColour","_class_wxColour",0},
5816 { "_class_wxDialog","_wxDialog",0},
5817 { "_class_wxFileDataObject","_wxFileDataObject",0},
5818 { "_wxIdleEvent","_class_wxIdleEvent",0},
5819 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5820 { "_class_wxDataObject","_wxDataObject",0},
5821 { "_wxStaticLine","_class_wxStaticLine",0},
5822 { "_wxBrush","_class_wxBrush",0},
5823 { "_wxDataFormat","_class_wxDataFormat",0},
5824 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5825 { "_wxShowEvent","_class_wxShowEvent",0},
5826 { "_uint","_wxCoord",0},
5827 { "_uint","_wxPrintQuality",0},
5828 { "_uint","_size_t",0},
5829 { "_uint","_unsigned_int",0},
5830 { "_uint","_int",0},
5831 { "_uint","_wxWindowID",0},
5832 { "_wxPyValidator","_class_wxPyValidator",0},
5833 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
5834 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
5835 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
5836 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
5837 { "_class_wxEvent","_wxEvent",0},
5838 { "_wxCheckListBox","_class_wxCheckListBox",0},
5839 { "_wxRect","_class_wxRect",0},
5840 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
5841 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
5842 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
5843 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
5844 { "_wxCommandEvent","_class_wxCommandEvent",0},
5845 { "_wxSizeEvent","_class_wxSizeEvent",0},
5846 { "_wxPoint","_class_wxPoint",0},
5847 { "_class_wxButton","_wxButton",0},
5848 { "_wxRadioBox","_class_wxRadioBox",0},
5849 { "_wxBitmap","_class_wxBitmap",0},
5850 { "_char","_wxDash",0},
5851 { "_wxPyTimer","_class_wxPyTimer",0},
5852 { "_wxWindowDC","_class_wxWindowDC",0},
5853 { "_wxScrollBar","_class_wxScrollBar",0},
5854 { "_wxSpinButton","_class_wxSpinButton",0},
5855 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5856 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
5857 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
5858 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5859 { "_class_wxValidator","_wxValidator",0},
5860 { "_class_wxPyEvent","_wxPyEvent",0},
5861 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5862 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5863 { "_wxListItem","_class_wxListItem",0},
5864 { "_wxDropTarget","_class_wxDropTarget",0},
5865 { "_class_wxStaticLine","_wxStaticLine",0},
5866 { "_wxScrollEvent","_class_wxScrollEvent",0},
5867 { "_EBool","_wxCoord",0},
5868 { "_EBool","_wxPrintQuality",0},
5869 { "_EBool","_signed_int",0},
5870 { "_EBool","_int",0},
5871 { "_EBool","_wxWindowID",0},
5872 { "_class_wxRegion","_wxRegion",0},
5873 { "_class_wxDataFormat","_wxDataFormat",0},
5874 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5875 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5876 { "_wxStaticText","_class_wxStaticText",0},
5877 { "_wxFont","_class_wxFont",0},
5878 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5879 { "_wxCloseEvent","_class_wxCloseEvent",0},
5880 { "_unsigned_long","_long",0},
5881 { "_class_wxRect","_wxRect",0},
5882 { "_class_wxDC","_wxDC",0},
5883 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5884 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5885 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5886 { "_class_wxTreeEvent","_wxTreeEvent",0},
5887 { "_class_wxPyTimer","_wxPyTimer",0},
5888 { "_wxFocusEvent","_class_wxFocusEvent",0},
5889 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5890 { "_class_wxSpinButton","_wxSpinButton",0},
5891 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5892 { "_class_wxPanel","_wxPanel",0},
5893 { "_class_wxCheckBox","_wxCheckBox",0},
5894 { "_wxComboBox","_class_wxComboBox",0},
5895 { "_wxRadioButton","_class_wxRadioButton",0},
5896 { "_signed_int","_wxCoord",0},
5897 { "_signed_int","_wxPrintQuality",0},
5898 { "_signed_int","_EBool",0},
5899 { "_signed_int","_wxWindowID",0},
5900 { "_signed_int","_int",0},
5901 { "_class_wxTextCtrl","_wxTextCtrl",0},
5902 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5903 { "_class_wxTextDataObject","_wxTextDataObject",0},
5904 { "_wxMenu","_class_wxMenu",0},
5905 { "_class_wxMoveEvent","_wxMoveEvent",0},
5906 { "_wxListBox","_class_wxListBox",0},
5907 { "_wxScreenDC","_class_wxScreenDC",0},
5908 { "_WXTYPE","_short",0},
5909 { "_WXTYPE","_signed_short",0},
5910 { "_WXTYPE","_unsigned_short",0},
5911 { "_class_wxDropTarget","_wxDropTarget",0},
5912 { "_class_wxBrush","_wxBrush",0},
5913 { "_unsigned_short","_WXTYPE",0},
5914 { "_unsigned_short","_short",0},
5915 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
5916 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
5917 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
5918 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
5919 { "_class_wxWindow","_wxWindow",0},
5920 { "_class_wxStaticText","_wxStaticText",0},
5921 { "_class_wxFont","_wxFont",0},
5922 { "_wxClipboard","_class_wxClipboard",0},
5923 { "_class_wxPyValidator","_wxPyValidator",0},
5924 { "_class_wxCloseEvent","_wxCloseEvent",0},
5925 { "_wxBusyInfo","_class_wxBusyInfo",0},
5926 { "_class_wxMenuEvent","_wxMenuEvent",0},
5927 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5928 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5929 { "_wxClientDC","_class_wxClientDC",0},
5930 { "_wxMouseEvent","_class_wxMouseEvent",0},
5931 { "_wxListCtrl","_class_wxListCtrl",0},
5932 { "_class_wxPoint","_wxPoint",0},
5933 { "_wxRealPoint","_class_wxRealPoint",0},
5934 { "_class_wxRadioBox","_wxRadioBox",0},
5935 { "_signed_short","_WXTYPE",0},
5936 { "_signed_short","_short",0},
5937 { "_wxMemoryDC","_class_wxMemoryDC",0},
5938 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5939 { "_wxPaintDC","_class_wxPaintDC",0},
5940 { "_class_wxWindowDC","_wxWindowDC",0},
5941 { "_class_wxFocusEvent","_wxFocusEvent",0},
5942 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5943 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5944 { "_class_wxCursor","_wxCursor",0},
5945 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5946 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5947 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5948 { "_wxTreeItemId","_class_wxTreeItemId",0},
5949 { "_unsigned_char","_byte",0},
5950 { "_class_wxMenu","_wxMenu",0},
5951 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
5952 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
5953 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
5954 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
5955 { "_wxControl","_class_wxControl",0},
5956 { "_class_wxListBox","_wxListBox",0},
5957 { "_unsigned_int","_wxCoord",0},
5958 { "_unsigned_int","_wxPrintQuality",0},
5959 { "_unsigned_int","_size_t",0},
5960 { "_unsigned_int","_uint",0},
5961 { "_unsigned_int","_wxWindowID",0},
5962 { "_unsigned_int","_int",0},
5963 { "_wxIcon","_class_wxIcon",0},
5964 { "_wxDialog","_class_wxDialog",0},
5965 { "_class_wxListItem","_wxListItem",0},
5966 { "_class_wxPen","_wxPen",0},
5967 { "_short","_WXTYPE",0},
5968 { "_short","_unsigned_short",0},
5969 { "_short","_signed_short",0},
5970 { "_class_wxStaticBox","_wxStaticBox",0},
5971 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5972 { "_class_wxPyDropSource","_wxPyDropSource",0},
5973 { "_class_wxScrollEvent","_wxScrollEvent",0},
5974 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5975 { "_class_wxChoice","_wxChoice",0},
5976 { "_class_wxSlider","_wxSlider",0},
5977 { "_class_wxImageList","_wxImageList",0},
5978 { "_class_wxBitmapButton","_wxBitmapButton",0},
5979 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5980 { "_wxWindowID","_wxCoord",0},
5981 { "_wxWindowID","_wxPrintQuality",0},
5982 { "_wxWindowID","_size_t",0},
5983 { "_wxWindowID","_EBool",0},
5984 { "_wxWindowID","_uint",0},
5985 { "_wxWindowID","_int",0},
5986 { "_wxWindowID","_signed_int",0},
5987 { "_wxWindowID","_unsigned_int",0},
5988 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5989 { "_int","_wxCoord",0},
5990 { "_int","_wxPrintQuality",0},
5991 { "_int","_size_t",0},
5992 { "_int","_EBool",0},
5993 { "_int","_uint",0},
5994 { "_int","_wxWindowID",0},
5995 { "_int","_unsigned_int",0},
5996 { "_int","_signed_int",0},
5997 { "_class_wxMouseEvent","_wxMouseEvent",0},
5998 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5999 { "_class_wxListEvent","_wxListEvent",0},
6000 { "_class_wxSpinEvent","_wxSpinEvent",0},
6001 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6002 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6003 { "_wxButton","_class_wxButton",0},
6004 { "_wxSize","_class_wxSize",0},
6005 { "_wxRegionIterator","_class_wxRegionIterator",0},
6006 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
6007 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6008 { "_class_wxPaintDC","_wxPaintDC",0},
6009 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6010 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
6011 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6012 { "_class_wxComboBox","_wxComboBox",0},
6013 { "_class_wxRadioButton","_wxRadioButton",0},
6014 { "_wxValidator","_class_wxValidator",0},
6015 { "_class_wxTreeItemId","_wxTreeItemId",0},
6016 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6017 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6018 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6019 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6020 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6021 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
6022 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
6023 { "_class_wxControl","_wxControl",0},
6024 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6025 { "_class_wxIcon","_wxIcon",0},
6026 { "_class_wxColour","_wxColour",0},
6027 { "_class_wxScreenDC","_wxScreenDC",0},
6028 { "_wxPalette","_class_wxPalette",0},
6029 { "_class_wxIdleEvent","_wxIdleEvent",0},
6030 { "_wxCoord","_int",0},
6031 { "_wxCoord","_signed_int",0},
6032 { "_wxCoord","_unsigned_int",0},
6033 { "_wxCoord","_wxWindowID",0},
6034 { "_wxCoord","_uint",0},
6035 { "_wxCoord","_EBool",0},
6036 { "_wxCoord","_size_t",0},
6037 { "_wxCoord","_wxPrintQuality",0},
6038 { "_wxEraseEvent","_class_wxEraseEvent",0},
6039 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
6040 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6041 { "_wxRegion","_class_wxRegion",0},
6042 { "_class_wxShowEvent","_wxShowEvent",0},
6043 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
6044 { "_wxActivateEvent","_class_wxActivateEvent",0},
6045 { "_wxGauge","_class_wxGauge",0},
6046 { "_class_wxCheckListBox","_wxCheckListBox",0},
6047 { "_class_wxBusyInfo","_wxBusyInfo",0},
6048 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6049 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6050 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
6051 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
6052 { "_class_wxCommandEvent","_wxCommandEvent",0},
6053 { "_class_wxClientDC","_wxClientDC",0},
6054 { "_class_wxSizeEvent","_wxSizeEvent",0},
6055 { "_class_wxListCtrl","_wxListCtrl",0},
6056 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
6057 { "_class_wxSize","_wxSize",0},
6058 { "_class_wxBitmap","_wxBitmap",0},
6059 { "_class_wxMemoryDC","_wxMemoryDC",0},
6060 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
6061 { "_wxMenuBar","_class_wxMenuBar",0},
6062 { "_wxTreeEvent","_class_wxTreeEvent",0},
6063 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6064 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6065 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6066 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6067 { "_wxEvtHandler","_class_wxEvtHandler",0},
6068 { "_wxMenuItem","_class_wxMenuItem",0},
6069 { "_class_wxScrollBar","_wxScrollBar",0},
6070 { "_wxDash","_char",0},
6071 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6072 { "_wxKeyEvent","_class_wxKeyEvent",0},
6073 { "_wxMoveEvent","_class_wxMoveEvent",0},
6074 { "_class_wxPalette","_wxPalette",0},
6075 { "_wxFileDataObject","_class_wxFileDataObject",0},
6076 { "_class_wxEraseEvent","_wxEraseEvent",0},
6077 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
6078 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6079 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6080 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
6081 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
6082 { "_wxWindow","_class_wxWindow",0},
6083 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6084 {0,0,0}};
6085
6086 static PyObject *SWIG_globals;
6087 #ifdef __cplusplus
6088 extern "C"
6089 #endif
6090 SWIGEXPORT(void) initcontrols2c() {
6091 PyObject *m, *d;
6092 SWIG_globals = SWIG_newvarlink();
6093 m = Py_InitModule("controls2c", controls2cMethods);
6094 d = PyModule_GetDict(m);
6095 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
6096 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
6097 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
6098 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
6099 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
6100 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
6101 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
6102 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
6103 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
6104 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
6105 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
6106 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
6107 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
6108 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
6109 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
6110 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
6111 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
6112 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
6113 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
6114 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
6115 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
6116 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
6117 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
6118 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
6119 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
6120 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
6121 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
6122 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
6123 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
6124 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
6125 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
6126 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
6127 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
6128 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
6129 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
6130 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
6131 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
6132 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
6133 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
6134 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
6135 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
6136 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
6137 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
6138 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
6139 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
6140 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
6141 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
6142 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
6143 {
6144 int i;
6145 for (i = 0; _swig_mapping[i].n1; i++)
6146 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6147 }
6148 }