]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls2.cpp
More framework fixes and fixes for building dlls.
[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_FromStringAndSize(_result->c_str(), _result->Len());
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_FromStringAndSize(_result->c_str(), _result->Len());
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_FromStringAndSize(_result->c_str(), _result->Len());
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_FromStringAndSize(_result->c_str(), _result->Len());
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_FromStringAndSize(_result->c_str(), _result->Len());
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 bool doSave = wxPyRestoreThread();
4337 PyObject* rval = PyList_New(0);
4338 wxArrayTreeItemIds array;
4339 size_t num, x;
4340 num = self->GetSelections(array);
4341 for (x=0; x < num; x++) {
4342 PyObject* item = wxPyConstructObject((void*)&array.Item(x),
4343 "wxTreeItemId");
4344 PyList_Append(rval, item);
4345 }
4346 wxPySaveThread(doSave);
4347 return rval;
4348 }
4349 static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject * _resultobj;
4351 PyObject * _result;
4352 wxTreeCtrl * _arg0;
4353 PyObject * _argo0 = 0;
4354 char *_kwnames[] = { "self", NULL };
4355
4356 self = self;
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
4358 return NULL;
4359 if (_argo0) {
4360 if (_argo0 == Py_None) { _arg0 = NULL; }
4361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4363 return NULL;
4364 }
4365 }
4366 {
4367 wxPy_BEGIN_ALLOW_THREADS;
4368 _result = (PyObject *)wxTreeCtrl_GetSelections(_arg0);
4369
4370 wxPy_END_ALLOW_THREADS;
4371 }{
4372 _resultobj = _result;
4373 }
4374 return _resultobj;
4375 }
4376
4377 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4378 static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4379 PyObject * _resultobj;
4380 size_t _result;
4381 wxTreeCtrl * _arg0;
4382 wxTreeItemId * _arg1;
4383 bool _arg2 = (bool ) TRUE;
4384 PyObject * _argo0 = 0;
4385 PyObject * _argo1 = 0;
4386 int tempbool2 = (int) TRUE;
4387 char *_kwnames[] = { "self","item","recursively", NULL };
4388
4389 self = self;
4390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
4391 return NULL;
4392 if (_argo0) {
4393 if (_argo0 == Py_None) { _arg0 = NULL; }
4394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4396 return NULL;
4397 }
4398 }
4399 if (_argo1) {
4400 if (_argo1 == Py_None) { _arg1 = NULL; }
4401 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4402 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4403 return NULL;
4404 }
4405 }
4406 _arg2 = (bool ) tempbool2;
4407 {
4408 wxPy_BEGIN_ALLOW_THREADS;
4409 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
4410
4411 wxPy_END_ALLOW_THREADS;
4412 } _resultobj = Py_BuildValue("i",_result);
4413 return _resultobj;
4414 }
4415
4416 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4417 static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject * _resultobj;
4419 wxTreeItemId * _result;
4420 wxTreeCtrl * _arg0;
4421 wxTreeItemId * _arg1;
4422 long * _arg2;
4423 PyObject * _argo0 = 0;
4424 PyObject * _argo1 = 0;
4425 long temp;
4426 PyObject * _obj2 = 0;
4427 char *_kwnames[] = { "self","item","INOUT", NULL };
4428 char _ptemp[128];
4429
4430 self = self;
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
4432 return NULL;
4433 if (_argo0) {
4434 if (_argo0 == Py_None) { _arg0 = NULL; }
4435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4437 return NULL;
4438 }
4439 }
4440 if (_argo1) {
4441 if (_argo1 == Py_None) { _arg1 = NULL; }
4442 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4443 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4444 return NULL;
4445 }
4446 }
4447 {
4448 temp = (long) PyInt_AsLong(_obj2);
4449 _arg2 = &temp;
4450 }
4451 {
4452 wxPy_BEGIN_ALLOW_THREADS;
4453 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
4454
4455 wxPy_END_ALLOW_THREADS;
4456 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4457 _resultobj = Py_BuildValue("s",_ptemp);
4458 {
4459 PyObject *o;
4460 o = PyInt_FromLong((long) (*_arg2));
4461 _resultobj = t_output_helper(_resultobj, o);
4462 }
4463 return _resultobj;
4464 }
4465
4466 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4467 static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4468 PyObject * _resultobj;
4469 wxTreeItemId * _result;
4470 wxTreeCtrl * _arg0;
4471 wxTreeItemId * _arg1;
4472 long * _arg2;
4473 PyObject * _argo0 = 0;
4474 PyObject * _argo1 = 0;
4475 long temp;
4476 PyObject * _obj2 = 0;
4477 char *_kwnames[] = { "self","item","INOUT", NULL };
4478 char _ptemp[128];
4479
4480 self = self;
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
4482 return NULL;
4483 if (_argo0) {
4484 if (_argo0 == Py_None) { _arg0 = NULL; }
4485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4487 return NULL;
4488 }
4489 }
4490 if (_argo1) {
4491 if (_argo1 == Py_None) { _arg1 = NULL; }
4492 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4493 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4494 return NULL;
4495 }
4496 }
4497 {
4498 temp = (long) PyInt_AsLong(_obj2);
4499 _arg2 = &temp;
4500 }
4501 {
4502 wxPy_BEGIN_ALLOW_THREADS;
4503 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
4504
4505 wxPy_END_ALLOW_THREADS;
4506 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4507 _resultobj = Py_BuildValue("s",_ptemp);
4508 {
4509 PyObject *o;
4510 o = PyInt_FromLong((long) (*_arg2));
4511 _resultobj = t_output_helper(_resultobj, o);
4512 }
4513 return _resultobj;
4514 }
4515
4516 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4517 static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject * _resultobj;
4519 wxTreeItemId * _result;
4520 wxTreeCtrl * _arg0;
4521 wxTreeItemId * _arg1;
4522 PyObject * _argo0 = 0;
4523 PyObject * _argo1 = 0;
4524 char *_kwnames[] = { "self","item", NULL };
4525 char _ptemp[128];
4526
4527 self = self;
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
4529 return NULL;
4530 if (_argo0) {
4531 if (_argo0 == Py_None) { _arg0 = NULL; }
4532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4534 return NULL;
4535 }
4536 }
4537 if (_argo1) {
4538 if (_argo1 == Py_None) { _arg1 = NULL; }
4539 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4540 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4541 return NULL;
4542 }
4543 }
4544 {
4545 wxPy_BEGIN_ALLOW_THREADS;
4546 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
4547
4548 wxPy_END_ALLOW_THREADS;
4549 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4550 _resultobj = Py_BuildValue("s",_ptemp);
4551 return _resultobj;
4552 }
4553
4554 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4555 static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject * _resultobj;
4557 wxTreeItemId * _result;
4558 wxTreeCtrl * _arg0;
4559 wxTreeItemId * _arg1;
4560 PyObject * _argo0 = 0;
4561 PyObject * _argo1 = 0;
4562 char *_kwnames[] = { "self","item", NULL };
4563 char _ptemp[128];
4564
4565 self = self;
4566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
4567 return NULL;
4568 if (_argo0) {
4569 if (_argo0 == Py_None) { _arg0 = NULL; }
4570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4572 return NULL;
4573 }
4574 }
4575 if (_argo1) {
4576 if (_argo1 == Py_None) { _arg1 = NULL; }
4577 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4578 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4579 return NULL;
4580 }
4581 }
4582 {
4583 wxPy_BEGIN_ALLOW_THREADS;
4584 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
4585
4586 wxPy_END_ALLOW_THREADS;
4587 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4588 _resultobj = Py_BuildValue("s",_ptemp);
4589 return _resultobj;
4590 }
4591
4592 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4593 static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject * _resultobj;
4595 wxTreeItemId * _result;
4596 wxTreeCtrl * _arg0;
4597 PyObject * _argo0 = 0;
4598 char *_kwnames[] = { "self", NULL };
4599 char _ptemp[128];
4600
4601 self = self;
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
4603 return NULL;
4604 if (_argo0) {
4605 if (_argo0 == Py_None) { _arg0 = NULL; }
4606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4608 return NULL;
4609 }
4610 }
4611 {
4612 wxPy_BEGIN_ALLOW_THREADS;
4613 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
4614
4615 wxPy_END_ALLOW_THREADS;
4616 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4617 _resultobj = Py_BuildValue("s",_ptemp);
4618 return _resultobj;
4619 }
4620
4621 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4622 static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject * _resultobj;
4624 wxTreeItemId * _result;
4625 wxTreeCtrl * _arg0;
4626 wxTreeItemId * _arg1;
4627 PyObject * _argo0 = 0;
4628 PyObject * _argo1 = 0;
4629 char *_kwnames[] = { "self","item", NULL };
4630 char _ptemp[128];
4631
4632 self = self;
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
4634 return NULL;
4635 if (_argo0) {
4636 if (_argo0 == Py_None) { _arg0 = NULL; }
4637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4639 return NULL;
4640 }
4641 }
4642 if (_argo1) {
4643 if (_argo1 == Py_None) { _arg1 = NULL; }
4644 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4645 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4646 return NULL;
4647 }
4648 }
4649 {
4650 wxPy_BEGIN_ALLOW_THREADS;
4651 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
4652
4653 wxPy_END_ALLOW_THREADS;
4654 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4655 _resultobj = Py_BuildValue("s",_ptemp);
4656 return _resultobj;
4657 }
4658
4659 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4660 static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4661 PyObject * _resultobj;
4662 wxTreeItemId * _result;
4663 wxTreeCtrl * _arg0;
4664 wxTreeItemId * _arg1;
4665 PyObject * _argo0 = 0;
4666 PyObject * _argo1 = 0;
4667 char *_kwnames[] = { "self","item", NULL };
4668 char _ptemp[128];
4669
4670 self = self;
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
4672 return NULL;
4673 if (_argo0) {
4674 if (_argo0 == Py_None) { _arg0 = NULL; }
4675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4677 return NULL;
4678 }
4679 }
4680 if (_argo1) {
4681 if (_argo1 == Py_None) { _arg1 = NULL; }
4682 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4683 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4684 return NULL;
4685 }
4686 }
4687 {
4688 wxPy_BEGIN_ALLOW_THREADS;
4689 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
4690
4691 wxPy_END_ALLOW_THREADS;
4692 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4693 _resultobj = Py_BuildValue("s",_ptemp);
4694 return _resultobj;
4695 }
4696
4697 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4698 static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4699 PyObject * _resultobj;
4700 wxTreeItemId * _result;
4701 wxTreeCtrl * _arg0;
4702 wxTreeItemId * _arg1;
4703 PyObject * _argo0 = 0;
4704 PyObject * _argo1 = 0;
4705 char *_kwnames[] = { "self","item", NULL };
4706 char _ptemp[128];
4707
4708 self = self;
4709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
4710 return NULL;
4711 if (_argo0) {
4712 if (_argo0 == Py_None) { _arg0 = NULL; }
4713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4715 return NULL;
4716 }
4717 }
4718 if (_argo1) {
4719 if (_argo1 == Py_None) { _arg1 = NULL; }
4720 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4721 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4722 return NULL;
4723 }
4724 }
4725 {
4726 wxPy_BEGIN_ALLOW_THREADS;
4727 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
4728
4729 wxPy_END_ALLOW_THREADS;
4730 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4731 _resultobj = Py_BuildValue("s",_ptemp);
4732 return _resultobj;
4733 }
4734
4735 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4736 static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
4737 PyObject * _resultobj;
4738 wxTreeItemId * _result;
4739 wxTreeCtrl * _arg0;
4740 wxString * _arg1;
4741 int _arg2 = (int ) -1;
4742 int _arg3 = (int ) -1;
4743 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
4744 PyObject * _argo0 = 0;
4745 PyObject * _obj1 = 0;
4746 PyObject * _argo4 = 0;
4747 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
4748 char _ptemp[128];
4749
4750 self = self;
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
4752 return NULL;
4753 if (_argo0) {
4754 if (_argo0 == Py_None) { _arg0 = NULL; }
4755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4757 return NULL;
4758 }
4759 }
4760 {
4761 if (!PyString_Check(_obj1)) {
4762 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4763 return NULL;
4764 }
4765 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4766 }
4767 if (_argo4) {
4768 if (_argo4 == Py_None) { _arg4 = NULL; }
4769 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
4770 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4771 return NULL;
4772 }
4773 }
4774 {
4775 wxPy_BEGIN_ALLOW_THREADS;
4776 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
4777
4778 wxPy_END_ALLOW_THREADS;
4779 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4780 _resultobj = Py_BuildValue("s",_ptemp);
4781 {
4782 if (_obj1)
4783 delete _arg1;
4784 }
4785 return _resultobj;
4786 }
4787
4788 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4789 static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4790 PyObject * _resultobj;
4791 wxTreeItemId * _result;
4792 wxTreeCtrl * _arg0;
4793 wxTreeItemId * _arg1;
4794 wxString * _arg2;
4795 int _arg3 = (int ) -1;
4796 int _arg4 = (int ) -1;
4797 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
4798 PyObject * _argo0 = 0;
4799 PyObject * _argo1 = 0;
4800 PyObject * _obj2 = 0;
4801 PyObject * _argo5 = 0;
4802 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
4803 char _ptemp[128];
4804
4805 self = self;
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
4807 return NULL;
4808 if (_argo0) {
4809 if (_argo0 == Py_None) { _arg0 = NULL; }
4810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4812 return NULL;
4813 }
4814 }
4815 if (_argo1) {
4816 if (_argo1 == Py_None) { _arg1 = NULL; }
4817 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4818 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4819 return NULL;
4820 }
4821 }
4822 {
4823 if (!PyString_Check(_obj2)) {
4824 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4825 return NULL;
4826 }
4827 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4828 }
4829 if (_argo5) {
4830 if (_argo5 == Py_None) { _arg5 = NULL; }
4831 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
4832 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4833 return NULL;
4834 }
4835 }
4836 {
4837 wxPy_BEGIN_ALLOW_THREADS;
4838 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
4839
4840 wxPy_END_ALLOW_THREADS;
4841 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4842 _resultobj = Py_BuildValue("s",_ptemp);
4843 {
4844 if (_obj2)
4845 delete _arg2;
4846 }
4847 return _resultobj;
4848 }
4849
4850 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4851 static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject * _resultobj;
4853 wxTreeItemId * _result;
4854 wxTreeCtrl * _arg0;
4855 wxTreeItemId * _arg1;
4856 wxTreeItemId * _arg2;
4857 wxString * _arg3;
4858 int _arg4 = (int ) -1;
4859 int _arg5 = (int ) -1;
4860 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
4861 PyObject * _argo0 = 0;
4862 PyObject * _argo1 = 0;
4863 PyObject * _argo2 = 0;
4864 PyObject * _obj3 = 0;
4865 PyObject * _argo6 = 0;
4866 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
4867 char _ptemp[128];
4868
4869 self = self;
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
4871 return NULL;
4872 if (_argo0) {
4873 if (_argo0 == Py_None) { _arg0 = NULL; }
4874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4876 return NULL;
4877 }
4878 }
4879 if (_argo1) {
4880 if (_argo1 == Py_None) { _arg1 = NULL; }
4881 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4882 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4883 return NULL;
4884 }
4885 }
4886 if (_argo2) {
4887 if (_argo2 == Py_None) { _arg2 = NULL; }
4888 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
4889 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4890 return NULL;
4891 }
4892 }
4893 {
4894 if (!PyString_Check(_obj3)) {
4895 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4896 return NULL;
4897 }
4898 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4899 }
4900 if (_argo6) {
4901 if (_argo6 == Py_None) { _arg6 = NULL; }
4902 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
4903 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4904 return NULL;
4905 }
4906 }
4907 {
4908 wxPy_BEGIN_ALLOW_THREADS;
4909 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
4910
4911 wxPy_END_ALLOW_THREADS;
4912 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4913 _resultobj = Py_BuildValue("s",_ptemp);
4914 {
4915 if (_obj3)
4916 delete _arg3;
4917 }
4918 return _resultobj;
4919 }
4920
4921 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4922 static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4923 PyObject * _resultobj;
4924 wxTreeItemId * _result;
4925 wxTreeCtrl * _arg0;
4926 wxTreeItemId * _arg1;
4927 wxString * _arg2;
4928 int _arg3 = (int ) -1;
4929 int _arg4 = (int ) -1;
4930 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
4931 PyObject * _argo0 = 0;
4932 PyObject * _argo1 = 0;
4933 PyObject * _obj2 = 0;
4934 PyObject * _argo5 = 0;
4935 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
4936 char _ptemp[128];
4937
4938 self = self;
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
4940 return NULL;
4941 if (_argo0) {
4942 if (_argo0 == Py_None) { _arg0 = NULL; }
4943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4945 return NULL;
4946 }
4947 }
4948 if (_argo1) {
4949 if (_argo1 == Py_None) { _arg1 = NULL; }
4950 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4951 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4952 return NULL;
4953 }
4954 }
4955 {
4956 if (!PyString_Check(_obj2)) {
4957 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4958 return NULL;
4959 }
4960 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4961 }
4962 if (_argo5) {
4963 if (_argo5 == Py_None) { _arg5 = NULL; }
4964 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
4965 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4966 return NULL;
4967 }
4968 }
4969 {
4970 wxPy_BEGIN_ALLOW_THREADS;
4971 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
4972
4973 wxPy_END_ALLOW_THREADS;
4974 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4975 _resultobj = Py_BuildValue("s",_ptemp);
4976 {
4977 if (_obj2)
4978 delete _arg2;
4979 }
4980 return _resultobj;
4981 }
4982
4983 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4984 static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject * _resultobj;
4986 wxTreeCtrl * _arg0;
4987 wxTreeItemId * _arg1;
4988 PyObject * _argo0 = 0;
4989 PyObject * _argo1 = 0;
4990 char *_kwnames[] = { "self","item", NULL };
4991
4992 self = self;
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
4994 return NULL;
4995 if (_argo0) {
4996 if (_argo0 == Py_None) { _arg0 = NULL; }
4997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4999 return NULL;
5000 }
5001 }
5002 if (_argo1) {
5003 if (_argo1 == Py_None) { _arg1 = NULL; }
5004 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5005 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5006 return NULL;
5007 }
5008 }
5009 {
5010 wxPy_BEGIN_ALLOW_THREADS;
5011 wxTreeCtrl_Delete(_arg0,*_arg1);
5012
5013 wxPy_END_ALLOW_THREADS;
5014 } Py_INCREF(Py_None);
5015 _resultobj = Py_None;
5016 return _resultobj;
5017 }
5018
5019 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5020 static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5021 PyObject * _resultobj;
5022 wxTreeCtrl * _arg0;
5023 wxTreeItemId * _arg1;
5024 PyObject * _argo0 = 0;
5025 PyObject * _argo1 = 0;
5026 char *_kwnames[] = { "self","item", NULL };
5027
5028 self = self;
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
5030 return NULL;
5031 if (_argo0) {
5032 if (_argo0 == Py_None) { _arg0 = NULL; }
5033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5035 return NULL;
5036 }
5037 }
5038 if (_argo1) {
5039 if (_argo1 == Py_None) { _arg1 = NULL; }
5040 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5041 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5042 return NULL;
5043 }
5044 }
5045 {
5046 wxPy_BEGIN_ALLOW_THREADS;
5047 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
5048
5049 wxPy_END_ALLOW_THREADS;
5050 } Py_INCREF(Py_None);
5051 _resultobj = Py_None;
5052 return _resultobj;
5053 }
5054
5055 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5056 static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject * _resultobj;
5058 wxTreeCtrl * _arg0;
5059 PyObject * _argo0 = 0;
5060 char *_kwnames[] = { "self", NULL };
5061
5062 self = self;
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
5064 return NULL;
5065 if (_argo0) {
5066 if (_argo0 == Py_None) { _arg0 = NULL; }
5067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5069 return NULL;
5070 }
5071 }
5072 {
5073 wxPy_BEGIN_ALLOW_THREADS;
5074 wxTreeCtrl_DeleteAllItems(_arg0);
5075
5076 wxPy_END_ALLOW_THREADS;
5077 } Py_INCREF(Py_None);
5078 _resultobj = Py_None;
5079 return _resultobj;
5080 }
5081
5082 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5083 static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject * _resultobj;
5085 wxTreeCtrl * _arg0;
5086 wxTreeItemId * _arg1;
5087 PyObject * _argo0 = 0;
5088 PyObject * _argo1 = 0;
5089 char *_kwnames[] = { "self","item", NULL };
5090
5091 self = self;
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
5093 return NULL;
5094 if (_argo0) {
5095 if (_argo0 == Py_None) { _arg0 = NULL; }
5096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5098 return NULL;
5099 }
5100 }
5101 if (_argo1) {
5102 if (_argo1 == Py_None) { _arg1 = NULL; }
5103 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5104 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5105 return NULL;
5106 }
5107 }
5108 {
5109 wxPy_BEGIN_ALLOW_THREADS;
5110 wxTreeCtrl_Expand(_arg0,*_arg1);
5111
5112 wxPy_END_ALLOW_THREADS;
5113 } Py_INCREF(Py_None);
5114 _resultobj = Py_None;
5115 return _resultobj;
5116 }
5117
5118 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5119 static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
5120 PyObject * _resultobj;
5121 wxTreeCtrl * _arg0;
5122 wxTreeItemId * _arg1;
5123 PyObject * _argo0 = 0;
5124 PyObject * _argo1 = 0;
5125 char *_kwnames[] = { "self","item", NULL };
5126
5127 self = self;
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
5129 return NULL;
5130 if (_argo0) {
5131 if (_argo0 == Py_None) { _arg0 = NULL; }
5132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5134 return NULL;
5135 }
5136 }
5137 if (_argo1) {
5138 if (_argo1 == Py_None) { _arg1 = NULL; }
5139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5141 return NULL;
5142 }
5143 }
5144 {
5145 wxPy_BEGIN_ALLOW_THREADS;
5146 wxTreeCtrl_Collapse(_arg0,*_arg1);
5147
5148 wxPy_END_ALLOW_THREADS;
5149 } Py_INCREF(Py_None);
5150 _resultobj = Py_None;
5151 return _resultobj;
5152 }
5153
5154 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5155 static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject * _resultobj;
5157 wxTreeCtrl * _arg0;
5158 wxTreeItemId * _arg1;
5159 PyObject * _argo0 = 0;
5160 PyObject * _argo1 = 0;
5161 char *_kwnames[] = { "self","item", NULL };
5162
5163 self = self;
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
5165 return NULL;
5166 if (_argo0) {
5167 if (_argo0 == Py_None) { _arg0 = NULL; }
5168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5170 return NULL;
5171 }
5172 }
5173 if (_argo1) {
5174 if (_argo1 == Py_None) { _arg1 = NULL; }
5175 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5176 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5177 return NULL;
5178 }
5179 }
5180 {
5181 wxPy_BEGIN_ALLOW_THREADS;
5182 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
5183
5184 wxPy_END_ALLOW_THREADS;
5185 } Py_INCREF(Py_None);
5186 _resultobj = Py_None;
5187 return _resultobj;
5188 }
5189
5190 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5191 static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
5192 PyObject * _resultobj;
5193 wxTreeCtrl * _arg0;
5194 wxTreeItemId * _arg1;
5195 PyObject * _argo0 = 0;
5196 PyObject * _argo1 = 0;
5197 char *_kwnames[] = { "self","item", NULL };
5198
5199 self = self;
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
5201 return NULL;
5202 if (_argo0) {
5203 if (_argo0 == Py_None) { _arg0 = NULL; }
5204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5206 return NULL;
5207 }
5208 }
5209 if (_argo1) {
5210 if (_argo1 == Py_None) { _arg1 = NULL; }
5211 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5212 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5213 return NULL;
5214 }
5215 }
5216 {
5217 wxPy_BEGIN_ALLOW_THREADS;
5218 wxTreeCtrl_Toggle(_arg0,*_arg1);
5219
5220 wxPy_END_ALLOW_THREADS;
5221 } Py_INCREF(Py_None);
5222 _resultobj = Py_None;
5223 return _resultobj;
5224 }
5225
5226 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5227 static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject * _resultobj;
5229 wxTreeCtrl * _arg0;
5230 PyObject * _argo0 = 0;
5231 char *_kwnames[] = { "self", NULL };
5232
5233 self = self;
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
5235 return NULL;
5236 if (_argo0) {
5237 if (_argo0 == Py_None) { _arg0 = NULL; }
5238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5240 return NULL;
5241 }
5242 }
5243 {
5244 wxPy_BEGIN_ALLOW_THREADS;
5245 wxTreeCtrl_Unselect(_arg0);
5246
5247 wxPy_END_ALLOW_THREADS;
5248 } Py_INCREF(Py_None);
5249 _resultobj = Py_None;
5250 return _resultobj;
5251 }
5252
5253 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5254 static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5255 PyObject * _resultobj;
5256 wxTreeCtrl * _arg0;
5257 PyObject * _argo0 = 0;
5258 char *_kwnames[] = { "self", NULL };
5259
5260 self = self;
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
5262 return NULL;
5263 if (_argo0) {
5264 if (_argo0 == Py_None) { _arg0 = NULL; }
5265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5267 return NULL;
5268 }
5269 }
5270 {
5271 wxPy_BEGIN_ALLOW_THREADS;
5272 wxTreeCtrl_UnselectAll(_arg0);
5273
5274 wxPy_END_ALLOW_THREADS;
5275 } Py_INCREF(Py_None);
5276 _resultobj = Py_None;
5277 return _resultobj;
5278 }
5279
5280 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5281 static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject * _resultobj;
5283 wxTreeCtrl * _arg0;
5284 wxTreeItemId * _arg1;
5285 PyObject * _argo0 = 0;
5286 PyObject * _argo1 = 0;
5287 char *_kwnames[] = { "self","item", NULL };
5288
5289 self = self;
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
5291 return NULL;
5292 if (_argo0) {
5293 if (_argo0 == Py_None) { _arg0 = NULL; }
5294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5296 return NULL;
5297 }
5298 }
5299 if (_argo1) {
5300 if (_argo1 == Py_None) { _arg1 = NULL; }
5301 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5302 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5303 return NULL;
5304 }
5305 }
5306 {
5307 wxPy_BEGIN_ALLOW_THREADS;
5308 wxTreeCtrl_SelectItem(_arg0,*_arg1);
5309
5310 wxPy_END_ALLOW_THREADS;
5311 } Py_INCREF(Py_None);
5312 _resultobj = Py_None;
5313 return _resultobj;
5314 }
5315
5316 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5317 static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5318 PyObject * _resultobj;
5319 wxTreeCtrl * _arg0;
5320 wxTreeItemId * _arg1;
5321 PyObject * _argo0 = 0;
5322 PyObject * _argo1 = 0;
5323 char *_kwnames[] = { "self","item", NULL };
5324
5325 self = self;
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
5327 return NULL;
5328 if (_argo0) {
5329 if (_argo0 == Py_None) { _arg0 = NULL; }
5330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5332 return NULL;
5333 }
5334 }
5335 if (_argo1) {
5336 if (_argo1 == Py_None) { _arg1 = NULL; }
5337 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5338 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5339 return NULL;
5340 }
5341 }
5342 {
5343 wxPy_BEGIN_ALLOW_THREADS;
5344 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
5345
5346 wxPy_END_ALLOW_THREADS;
5347 } Py_INCREF(Py_None);
5348 _resultobj = Py_None;
5349 return _resultobj;
5350 }
5351
5352 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5353 static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject * _resultobj;
5355 wxTreeCtrl * _arg0;
5356 wxTreeItemId * _arg1;
5357 PyObject * _argo0 = 0;
5358 PyObject * _argo1 = 0;
5359 char *_kwnames[] = { "self","item", NULL };
5360
5361 self = self;
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
5363 return NULL;
5364 if (_argo0) {
5365 if (_argo0 == Py_None) { _arg0 = NULL; }
5366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5368 return NULL;
5369 }
5370 }
5371 if (_argo1) {
5372 if (_argo1 == Py_None) { _arg1 = NULL; }
5373 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5374 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5375 return NULL;
5376 }
5377 }
5378 {
5379 wxPy_BEGIN_ALLOW_THREADS;
5380 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
5381
5382 wxPy_END_ALLOW_THREADS;
5383 } Py_INCREF(Py_None);
5384 _resultobj = Py_None;
5385 return _resultobj;
5386 }
5387
5388 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5389 static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5390 PyObject * _resultobj;
5391 wxTreeCtrl * _arg0;
5392 wxTreeItemId * _arg1;
5393 PyObject * _argo0 = 0;
5394 PyObject * _argo1 = 0;
5395 char *_kwnames[] = { "self","item", NULL };
5396
5397 self = self;
5398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
5399 return NULL;
5400 if (_argo0) {
5401 if (_argo0 == Py_None) { _arg0 = NULL; }
5402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5404 return NULL;
5405 }
5406 }
5407 if (_argo1) {
5408 if (_argo1 == Py_None) { _arg1 = NULL; }
5409 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5410 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5411 return NULL;
5412 }
5413 }
5414 {
5415 wxPy_BEGIN_ALLOW_THREADS;
5416 wxTreeCtrl_EditLabel(_arg0,*_arg1);
5417
5418 wxPy_END_ALLOW_THREADS;
5419 } Py_INCREF(Py_None);
5420 _resultobj = Py_None;
5421 return _resultobj;
5422 }
5423
5424 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5425 static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject * _resultobj;
5427 wxTreeCtrl * _arg0;
5428 wxTreeItemId * _arg1;
5429 PyObject * _argo0 = 0;
5430 PyObject * _argo1 = 0;
5431 char *_kwnames[] = { "self","item", NULL };
5432
5433 self = self;
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
5435 return NULL;
5436 if (_argo0) {
5437 if (_argo0 == Py_None) { _arg0 = NULL; }
5438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5440 return NULL;
5441 }
5442 }
5443 if (_argo1) {
5444 if (_argo1 == Py_None) { _arg1 = NULL; }
5445 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5446 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5447 return NULL;
5448 }
5449 }
5450 {
5451 wxPy_BEGIN_ALLOW_THREADS;
5452 wxTreeCtrl_SortChildren(_arg0,*_arg1);
5453
5454 wxPy_END_ALLOW_THREADS;
5455 } Py_INCREF(Py_None);
5456 _resultobj = Py_None;
5457 return _resultobj;
5458 }
5459
5460 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5461 static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
5462 PyObject * _resultobj;
5463 wxTreeCtrl * _arg0;
5464 wxTreeItemId * _arg1;
5465 int _arg2 = (int ) TRUE;
5466 PyObject * _argo0 = 0;
5467 PyObject * _argo1 = 0;
5468 char *_kwnames[] = { "self","item","bold", NULL };
5469
5470 self = self;
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
5472 return NULL;
5473 if (_argo0) {
5474 if (_argo0 == Py_None) { _arg0 = NULL; }
5475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5477 return NULL;
5478 }
5479 }
5480 if (_argo1) {
5481 if (_argo1 == Py_None) { _arg1 = NULL; }
5482 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5483 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5484 return NULL;
5485 }
5486 }
5487 {
5488 wxPy_BEGIN_ALLOW_THREADS;
5489 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
5490
5491 wxPy_END_ALLOW_THREADS;
5492 } Py_INCREF(Py_None);
5493 _resultobj = Py_None;
5494 return _resultobj;
5495 }
5496
5497 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5498 static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
5499 PyObject * _resultobj;
5500 bool _result;
5501 wxTreeCtrl * _arg0;
5502 wxTreeItemId * _arg1;
5503 PyObject * _argo0 = 0;
5504 PyObject * _argo1 = 0;
5505 char *_kwnames[] = { "self","item", NULL };
5506
5507 self = self;
5508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
5509 return NULL;
5510 if (_argo0) {
5511 if (_argo0 == Py_None) { _arg0 = NULL; }
5512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5514 return NULL;
5515 }
5516 }
5517 if (_argo1) {
5518 if (_argo1 == Py_None) { _arg1 = NULL; }
5519 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5520 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5521 return NULL;
5522 }
5523 }
5524 {
5525 wxPy_BEGIN_ALLOW_THREADS;
5526 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
5527
5528 wxPy_END_ALLOW_THREADS;
5529 } _resultobj = Py_BuildValue("i",_result);
5530 return _resultobj;
5531 }
5532
5533 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5534 static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5535 PyObject * _resultobj;
5536 wxTreeItemId * _result;
5537 wxTreeCtrl * _arg0;
5538 wxPoint * _arg1;
5539 int * _arg2;
5540 int temp;
5541 PyObject * _argo0 = 0;
5542 wxPoint temp0;
5543 PyObject * _obj1 = 0;
5544 char *_kwnames[] = { "self","point", NULL };
5545 char _ptemp[128];
5546
5547 self = self;
5548 {
5549 _arg2 = &temp;
5550 }
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
5552 return NULL;
5553 if (_argo0) {
5554 if (_argo0 == Py_None) { _arg0 = NULL; }
5555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5557 return NULL;
5558 }
5559 }
5560 {
5561 _arg1 = &temp0;
5562 if (! wxPoint_helper(_obj1, &_arg1))
5563 return NULL;
5564 }
5565 {
5566 wxPy_BEGIN_ALLOW_THREADS;
5567 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
5568
5569 wxPy_END_ALLOW_THREADS;
5570 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
5571 _resultobj = Py_BuildValue("s",_ptemp);
5572 {
5573 PyObject *o;
5574 o = PyInt_FromLong((long) (*_arg2));
5575 _resultobj = t_output_helper(_resultobj, o);
5576 }
5577 return _resultobj;
5578 }
5579
5580 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
5581 static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject * _resultobj;
5583 wxTreeCtrl * _arg0;
5584 wxTreeItemId * _arg1;
5585 wxColour * _arg2;
5586 PyObject * _argo0 = 0;
5587 PyObject * _argo1 = 0;
5588 PyObject * _argo2 = 0;
5589 char *_kwnames[] = { "self","item","col", NULL };
5590
5591 self = self;
5592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_argo2))
5593 return NULL;
5594 if (_argo0) {
5595 if (_argo0 == Py_None) { _arg0 = NULL; }
5596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeCtrl_p.");
5598 return NULL;
5599 }
5600 }
5601 if (_argo1) {
5602 if (_argo1 == Py_None) { _arg1 = NULL; }
5603 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5604 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
5605 return NULL;
5606 }
5607 }
5608 if (_argo2) {
5609 if (_argo2 == Py_None) { _arg2 = NULL; }
5610 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxColour_p")) {
5611 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemTextColour. Expected _wxColour_p.");
5612 return NULL;
5613 }
5614 }
5615 {
5616 wxPy_BEGIN_ALLOW_THREADS;
5617 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
5618
5619 wxPy_END_ALLOW_THREADS;
5620 } Py_INCREF(Py_None);
5621 _resultobj = Py_None;
5622 return _resultobj;
5623 }
5624
5625 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
5626 static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject * _resultobj;
5628 wxTreeCtrl * _arg0;
5629 wxTreeItemId * _arg1;
5630 wxColour * _arg2;
5631 PyObject * _argo0 = 0;
5632 PyObject * _argo1 = 0;
5633 PyObject * _argo2 = 0;
5634 char *_kwnames[] = { "self","item","col", NULL };
5635
5636 self = self;
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_argo2))
5638 return NULL;
5639 if (_argo0) {
5640 if (_argo0 == Py_None) { _arg0 = NULL; }
5641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeCtrl_p.");
5643 return NULL;
5644 }
5645 }
5646 if (_argo1) {
5647 if (_argo1 == Py_None) { _arg1 = NULL; }
5648 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5649 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
5650 return NULL;
5651 }
5652 }
5653 if (_argo2) {
5654 if (_argo2 == Py_None) { _arg2 = NULL; }
5655 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxColour_p")) {
5656 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxColour_p.");
5657 return NULL;
5658 }
5659 }
5660 {
5661 wxPy_BEGIN_ALLOW_THREADS;
5662 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
5663
5664 wxPy_END_ALLOW_THREADS;
5665 } Py_INCREF(Py_None);
5666 _resultobj = Py_None;
5667 return _resultobj;
5668 }
5669
5670 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
5671 static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5672 PyObject * _resultobj;
5673 wxTreeCtrl * _arg0;
5674 wxTreeItemId * _arg1;
5675 wxFont * _arg2;
5676 PyObject * _argo0 = 0;
5677 PyObject * _argo1 = 0;
5678 PyObject * _argo2 = 0;
5679 char *_kwnames[] = { "self","item","font", NULL };
5680
5681 self = self;
5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
5683 return NULL;
5684 if (_argo0) {
5685 if (_argo0 == Py_None) { _arg0 = NULL; }
5686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxTreeCtrl_p.");
5688 return NULL;
5689 }
5690 }
5691 if (_argo1) {
5692 if (_argo1 == Py_None) { _arg1 = NULL; }
5693 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5694 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
5695 return NULL;
5696 }
5697 }
5698 if (_argo2) {
5699 if (_argo2 == Py_None) { _arg2 = NULL; }
5700 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5701 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
5702 return NULL;
5703 }
5704 }
5705 {
5706 wxPy_BEGIN_ALLOW_THREADS;
5707 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
5708
5709 wxPy_END_ALLOW_THREADS;
5710 } Py_INCREF(Py_None);
5711 _resultobj = Py_None;
5712 return _resultobj;
5713 }
5714
5715 static PyMethodDef controls2cMethods[] = {
5716 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
5717 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5718 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
5719 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
5720 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
5721 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
5722 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
5723 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
5724 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
5725 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
5726 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
5727 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
5728 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
5729 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
5730 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
5731 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
5732 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
5733 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
5734 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
5735 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
5736 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
5737 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
5738 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
5739 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
5740 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
5741 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
5742 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
5743 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
5744 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
5745 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
5746 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
5747 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
5748 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
5749 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
5750 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
5751 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
5752 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
5753 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
5754 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
5755 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5756 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
5757 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
5758 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
5759 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5760 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5761 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5762 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5763 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5764 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5765 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5766 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
5767 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
5768 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
5769 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
5770 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
5771 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5772 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
5773 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5774 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
5775 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
5776 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
5777 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5778 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
5779 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
5780 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
5781 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
5782 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
5783 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
5784 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
5785 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
5786 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
5787 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
5788 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
5789 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
5790 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
5791 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
5792 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
5793 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5794 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
5795 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
5796 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5797 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5798 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
5799 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
5800 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5801 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5802 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
5803 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5804 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
5805 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
5806 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
5807 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
5808 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
5809 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
5810 { "wxListCtrl_InsertColumnWith", (PyCFunction) _wrap_wxListCtrl_InsertColumnWith, METH_VARARGS | METH_KEYWORDS },
5811 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
5812 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
5813 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
5814 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
5815 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
5816 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
5817 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
5818 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
5819 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
5820 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
5821 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
5822 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5823 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5824 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
5825 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5826 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
5827 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
5828 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
5829 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
5830 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
5831 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
5832 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
5833 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
5834 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
5835 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
5836 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
5837 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
5838 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
5839 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
5840 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
5841 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
5842 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
5843 { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS },
5844 { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS },
5845 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
5846 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
5847 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
5848 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
5849 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
5850 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
5851 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
5852 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
5853 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
5854 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
5855 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
5856 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
5857 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
5858 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
5859 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
5860 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
5861 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
5862 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
5863 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
5864 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
5865 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
5866 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
5867 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
5868 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
5869 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
5870 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
5871 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
5872 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
5873 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
5874 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
5875 { NULL, NULL }
5876 };
5877 #ifdef __cplusplus
5878 }
5879 #endif
5880 /*
5881 * This table is used by the pointer type-checker
5882 */
5883 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5884 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5885 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
5886 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
5887 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
5888 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
5889 { "_wxEvent","_class_wxEvent",0},
5890 { "_class_wxActivateEvent","_wxActivateEvent",0},
5891 { "_signed_long","_long",0},
5892 { "_wxMenuEvent","_class_wxMenuEvent",0},
5893 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5894 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5895 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5896 { "_wxPrintQuality","_wxCoord",0},
5897 { "_wxPrintQuality","_int",0},
5898 { "_wxPrintQuality","_signed_int",0},
5899 { "_wxPrintQuality","_unsigned_int",0},
5900 { "_wxPrintQuality","_wxWindowID",0},
5901 { "_wxPrintQuality","_uint",0},
5902 { "_wxPrintQuality","_EBool",0},
5903 { "_wxPrintQuality","_size_t",0},
5904 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5905 { "_class_wxRegionIterator","_wxRegionIterator",0},
5906 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5907 { "_class_wxMenuBar","_wxMenuBar",0},
5908 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
5909 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
5910 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
5911 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
5912 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
5913 { "_class_wxEvtHandler","_wxEvtHandler",0},
5914 { "_wxPaintEvent","_class_wxPaintEvent",0},
5915 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5916 { "_wxCursor","_class_wxCursor",0},
5917 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
5918 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
5919 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5920 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
5921 { "_wxMask","_class_wxMask",0},
5922 { "_wxPen","_class_wxPen",0},
5923 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5924 { "_byte","_unsigned_char",0},
5925 { "_wxDataObject","_class_wxDataObject",0},
5926 { "_wxStaticBox","_class_wxStaticBox",0},
5927 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5928 { "_wxPyDropSource","_class_wxPyDropSource",0},
5929 { "_wxChoice","_class_wxChoice",0},
5930 { "_wxSlider","_class_wxSlider",0},
5931 { "_long","_unsigned_long",0},
5932 { "_long","_signed_long",0},
5933 { "_wxImageList","_class_wxImageList",0},
5934 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5935 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5936 { "_wxBitmapButton","_class_wxBitmapButton",0},
5937 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5938 { "_class_wxClipboard","_wxClipboard",0},
5939 { "_class_wxGauge","_wxGauge",0},
5940 { "_wxDC","_class_wxDC",0},
5941 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5942 { "_wxListEvent","_class_wxListEvent",0},
5943 { "_wxSpinEvent","_class_wxSpinEvent",0},
5944 { "_size_t","_wxCoord",0},
5945 { "_size_t","_wxPrintQuality",0},
5946 { "_size_t","_unsigned_int",0},
5947 { "_size_t","_int",0},
5948 { "_size_t","_wxWindowID",0},
5949 { "_size_t","_uint",0},
5950 { "_class_wxRealPoint","_wxRealPoint",0},
5951 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5952 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5953 { "_class_wxMenuItem","_wxMenuItem",0},
5954 { "_class_wxPaintEvent","_wxPaintEvent",0},
5955 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5956 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5957 { "_wxPanel","_class_wxPanel",0},
5958 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5959 { "_wxCheckBox","_class_wxCheckBox",0},
5960 { "_wxPyEvent","_class_wxPyEvent",0},
5961 { "_wxTextCtrl","_class_wxTextCtrl",0},
5962 { "_class_wxMask","_wxMask",0},
5963 { "_wxTextDataObject","_class_wxTextDataObject",0},
5964 { "_class_wxKeyEvent","_wxKeyEvent",0},
5965 { "_wxColour","_class_wxColour",0},
5966 { "_class_wxDialog","_wxDialog",0},
5967 { "_class_wxFileDataObject","_wxFileDataObject",0},
5968 { "_wxIdleEvent","_class_wxIdleEvent",0},
5969 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5970 { "_class_wxDataObject","_wxDataObject",0},
5971 { "_wxStaticLine","_class_wxStaticLine",0},
5972 { "_wxBrush","_class_wxBrush",0},
5973 { "_wxDataFormat","_class_wxDataFormat",0},
5974 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5975 { "_wxShowEvent","_class_wxShowEvent",0},
5976 { "_uint","_wxCoord",0},
5977 { "_uint","_wxPrintQuality",0},
5978 { "_uint","_size_t",0},
5979 { "_uint","_unsigned_int",0},
5980 { "_uint","_int",0},
5981 { "_uint","_wxWindowID",0},
5982 { "_wxPyValidator","_class_wxPyValidator",0},
5983 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
5984 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
5985 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
5986 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
5987 { "_class_wxEvent","_wxEvent",0},
5988 { "_wxCheckListBox","_class_wxCheckListBox",0},
5989 { "_wxRect","_class_wxRect",0},
5990 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
5991 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
5992 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
5993 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
5994 { "_wxCommandEvent","_class_wxCommandEvent",0},
5995 { "_wxSizeEvent","_class_wxSizeEvent",0},
5996 { "_wxPoint","_class_wxPoint",0},
5997 { "_class_wxButton","_wxButton",0},
5998 { "_wxRadioBox","_class_wxRadioBox",0},
5999 { "_wxBitmap","_class_wxBitmap",0},
6000 { "_char","_wxDash",0},
6001 { "_wxPyTimer","_class_wxPyTimer",0},
6002 { "_wxWindowDC","_class_wxWindowDC",0},
6003 { "_wxScrollBar","_class_wxScrollBar",0},
6004 { "_wxSpinButton","_class_wxSpinButton",0},
6005 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6006 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
6007 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
6008 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6009 { "_class_wxValidator","_wxValidator",0},
6010 { "_class_wxPyEvent","_wxPyEvent",0},
6011 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6012 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
6013 { "_wxListItem","_class_wxListItem",0},
6014 { "_wxDropTarget","_class_wxDropTarget",0},
6015 { "_class_wxStaticLine","_wxStaticLine",0},
6016 { "_wxScrollEvent","_class_wxScrollEvent",0},
6017 { "_EBool","_wxCoord",0},
6018 { "_EBool","_wxPrintQuality",0},
6019 { "_EBool","_signed_int",0},
6020 { "_EBool","_int",0},
6021 { "_EBool","_wxWindowID",0},
6022 { "_class_wxRegion","_wxRegion",0},
6023 { "_class_wxDataFormat","_wxDataFormat",0},
6024 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6025 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6026 { "_wxStaticText","_class_wxStaticText",0},
6027 { "_wxFont","_class_wxFont",0},
6028 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
6029 { "_wxCloseEvent","_class_wxCloseEvent",0},
6030 { "_unsigned_long","_long",0},
6031 { "_class_wxRect","_wxRect",0},
6032 { "_class_wxDC","_wxDC",0},
6033 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6034 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6035 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6036 { "_class_wxTreeEvent","_wxTreeEvent",0},
6037 { "_class_wxPyTimer","_wxPyTimer",0},
6038 { "_wxFocusEvent","_class_wxFocusEvent",0},
6039 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6040 { "_class_wxSpinButton","_wxSpinButton",0},
6041 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6042 { "_class_wxPanel","_wxPanel",0},
6043 { "_class_wxCheckBox","_wxCheckBox",0},
6044 { "_wxComboBox","_class_wxComboBox",0},
6045 { "_wxRadioButton","_class_wxRadioButton",0},
6046 { "_signed_int","_wxCoord",0},
6047 { "_signed_int","_wxPrintQuality",0},
6048 { "_signed_int","_EBool",0},
6049 { "_signed_int","_wxWindowID",0},
6050 { "_signed_int","_int",0},
6051 { "_class_wxTextCtrl","_wxTextCtrl",0},
6052 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6053 { "_class_wxTextDataObject","_wxTextDataObject",0},
6054 { "_wxMenu","_class_wxMenu",0},
6055 { "_class_wxMoveEvent","_wxMoveEvent",0},
6056 { "_wxListBox","_class_wxListBox",0},
6057 { "_wxScreenDC","_class_wxScreenDC",0},
6058 { "_WXTYPE","_short",0},
6059 { "_WXTYPE","_signed_short",0},
6060 { "_WXTYPE","_unsigned_short",0},
6061 { "_class_wxDropTarget","_wxDropTarget",0},
6062 { "_class_wxBrush","_wxBrush",0},
6063 { "_unsigned_short","_WXTYPE",0},
6064 { "_unsigned_short","_short",0},
6065 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6066 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6067 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
6068 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
6069 { "_class_wxWindow","_wxWindow",0},
6070 { "_class_wxStaticText","_wxStaticText",0},
6071 { "_class_wxFont","_wxFont",0},
6072 { "_wxClipboard","_class_wxClipboard",0},
6073 { "_class_wxPyValidator","_wxPyValidator",0},
6074 { "_class_wxCloseEvent","_wxCloseEvent",0},
6075 { "_wxBusyInfo","_class_wxBusyInfo",0},
6076 { "_class_wxMenuEvent","_wxMenuEvent",0},
6077 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6078 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
6079 { "_wxClientDC","_class_wxClientDC",0},
6080 { "_wxMouseEvent","_class_wxMouseEvent",0},
6081 { "_wxListCtrl","_class_wxListCtrl",0},
6082 { "_class_wxPoint","_wxPoint",0},
6083 { "_wxRealPoint","_class_wxRealPoint",0},
6084 { "_class_wxRadioBox","_wxRadioBox",0},
6085 { "_signed_short","_WXTYPE",0},
6086 { "_signed_short","_short",0},
6087 { "_wxMemoryDC","_class_wxMemoryDC",0},
6088 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
6089 { "_wxPaintDC","_class_wxPaintDC",0},
6090 { "_class_wxWindowDC","_wxWindowDC",0},
6091 { "_class_wxFocusEvent","_wxFocusEvent",0},
6092 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6093 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6094 { "_class_wxCursor","_wxCursor",0},
6095 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
6096 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
6097 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6098 { "_wxTreeItemId","_class_wxTreeItemId",0},
6099 { "_unsigned_char","_byte",0},
6100 { "_class_wxMenu","_wxMenu",0},
6101 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6102 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6103 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
6104 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
6105 { "_wxControl","_class_wxControl",0},
6106 { "_class_wxListBox","_wxListBox",0},
6107 { "_unsigned_int","_wxCoord",0},
6108 { "_unsigned_int","_wxPrintQuality",0},
6109 { "_unsigned_int","_size_t",0},
6110 { "_unsigned_int","_uint",0},
6111 { "_unsigned_int","_wxWindowID",0},
6112 { "_unsigned_int","_int",0},
6113 { "_wxIcon","_class_wxIcon",0},
6114 { "_wxDialog","_class_wxDialog",0},
6115 { "_class_wxListItem","_wxListItem",0},
6116 { "_class_wxPen","_wxPen",0},
6117 { "_short","_WXTYPE",0},
6118 { "_short","_unsigned_short",0},
6119 { "_short","_signed_short",0},
6120 { "_class_wxStaticBox","_wxStaticBox",0},
6121 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
6122 { "_class_wxPyDropSource","_wxPyDropSource",0},
6123 { "_class_wxScrollEvent","_wxScrollEvent",0},
6124 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6125 { "_class_wxChoice","_wxChoice",0},
6126 { "_class_wxSlider","_wxSlider",0},
6127 { "_class_wxImageList","_wxImageList",0},
6128 { "_class_wxBitmapButton","_wxBitmapButton",0},
6129 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6130 { "_wxWindowID","_wxCoord",0},
6131 { "_wxWindowID","_wxPrintQuality",0},
6132 { "_wxWindowID","_size_t",0},
6133 { "_wxWindowID","_EBool",0},
6134 { "_wxWindowID","_uint",0},
6135 { "_wxWindowID","_int",0},
6136 { "_wxWindowID","_signed_int",0},
6137 { "_wxWindowID","_unsigned_int",0},
6138 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6139 { "_int","_wxCoord",0},
6140 { "_int","_wxPrintQuality",0},
6141 { "_int","_size_t",0},
6142 { "_int","_EBool",0},
6143 { "_int","_uint",0},
6144 { "_int","_wxWindowID",0},
6145 { "_int","_unsigned_int",0},
6146 { "_int","_signed_int",0},
6147 { "_class_wxMouseEvent","_wxMouseEvent",0},
6148 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6149 { "_class_wxListEvent","_wxListEvent",0},
6150 { "_class_wxSpinEvent","_wxSpinEvent",0},
6151 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6152 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6153 { "_wxButton","_class_wxButton",0},
6154 { "_wxSize","_class_wxSize",0},
6155 { "_wxRegionIterator","_class_wxRegionIterator",0},
6156 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
6157 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6158 { "_class_wxPaintDC","_wxPaintDC",0},
6159 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6160 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
6161 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6162 { "_class_wxComboBox","_wxComboBox",0},
6163 { "_class_wxRadioButton","_wxRadioButton",0},
6164 { "_wxValidator","_class_wxValidator",0},
6165 { "_class_wxTreeItemId","_wxTreeItemId",0},
6166 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6167 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6168 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6169 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6170 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6171 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
6172 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
6173 { "_class_wxControl","_wxControl",0},
6174 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6175 { "_class_wxIcon","_wxIcon",0},
6176 { "_class_wxColour","_wxColour",0},
6177 { "_class_wxScreenDC","_wxScreenDC",0},
6178 { "_wxPalette","_class_wxPalette",0},
6179 { "_class_wxIdleEvent","_wxIdleEvent",0},
6180 { "_wxCoord","_int",0},
6181 { "_wxCoord","_signed_int",0},
6182 { "_wxCoord","_unsigned_int",0},
6183 { "_wxCoord","_wxWindowID",0},
6184 { "_wxCoord","_uint",0},
6185 { "_wxCoord","_EBool",0},
6186 { "_wxCoord","_size_t",0},
6187 { "_wxCoord","_wxPrintQuality",0},
6188 { "_wxEraseEvent","_class_wxEraseEvent",0},
6189 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
6190 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6191 { "_wxRegion","_class_wxRegion",0},
6192 { "_class_wxShowEvent","_wxShowEvent",0},
6193 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
6194 { "_wxActivateEvent","_class_wxActivateEvent",0},
6195 { "_wxGauge","_class_wxGauge",0},
6196 { "_class_wxCheckListBox","_wxCheckListBox",0},
6197 { "_class_wxBusyInfo","_wxBusyInfo",0},
6198 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6199 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6200 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
6201 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
6202 { "_class_wxCommandEvent","_wxCommandEvent",0},
6203 { "_class_wxClientDC","_wxClientDC",0},
6204 { "_class_wxSizeEvent","_wxSizeEvent",0},
6205 { "_class_wxListCtrl","_wxListCtrl",0},
6206 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
6207 { "_class_wxSize","_wxSize",0},
6208 { "_class_wxBitmap","_wxBitmap",0},
6209 { "_class_wxMemoryDC","_wxMemoryDC",0},
6210 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
6211 { "_wxMenuBar","_class_wxMenuBar",0},
6212 { "_wxTreeEvent","_class_wxTreeEvent",0},
6213 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6214 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6215 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6216 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6217 { "_wxEvtHandler","_class_wxEvtHandler",0},
6218 { "_wxMenuItem","_class_wxMenuItem",0},
6219 { "_class_wxScrollBar","_wxScrollBar",0},
6220 { "_wxDash","_char",0},
6221 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6222 { "_wxKeyEvent","_class_wxKeyEvent",0},
6223 { "_wxMoveEvent","_class_wxMoveEvent",0},
6224 { "_class_wxPalette","_wxPalette",0},
6225 { "_wxFileDataObject","_class_wxFileDataObject",0},
6226 { "_class_wxEraseEvent","_wxEraseEvent",0},
6227 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
6228 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6229 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6230 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
6231 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
6232 { "_wxWindow","_class_wxWindow",0},
6233 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6234 {0,0,0}};
6235
6236 static PyObject *SWIG_globals;
6237 #ifdef __cplusplus
6238 extern "C"
6239 #endif
6240 SWIGEXPORT(void) initcontrols2c() {
6241 PyObject *m, *d;
6242 SWIG_globals = SWIG_newvarlink();
6243 m = Py_InitModule("controls2c", controls2cMethods);
6244 d = PyModule_GetDict(m);
6245 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
6246 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
6247 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
6248 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
6249 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
6250 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
6251 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
6252 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
6253 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
6254 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
6255 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
6256 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
6257 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
6258 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
6259 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
6260 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
6261 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
6262 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
6263 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
6264 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
6265 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
6266 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
6267 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
6268 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
6269 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
6270 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
6271 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
6272 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
6273 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
6274 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
6275 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
6276 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
6277 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
6278 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
6279 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
6280 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
6281 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
6282 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
6283 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
6284 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
6285 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
6286 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
6287 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
6288 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
6289 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
6290 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
6291 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
6292 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
6293 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
6294 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
6295 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
6296 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
6297 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
6298 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
6299 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
6300 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
6301 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
6302 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
6303 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
6304 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
6305 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
6306 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
6307 {
6308 int i;
6309 for (i = 0; _swig_mapping[i].n1; i++)
6310 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6311 }
6312 }