]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls2.cpp
*** empty log message ***
[wxWidgets.git] / wxPython / src / gtk / controls2.cpp
1 /*
2 * FILE : src/gtk/controls2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initcontrols2c
55
56 #define SWIG_name "controls2c"
57
58 #include "helpers.h"
59 #ifdef __WXMSW__
60 #include <windows.h>
61 #endif
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64
65 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
66 PyObject* o2;
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyList_Check(target)) {
74 o2 = target;
75 target = PyList_New(0);
76 PyList_Append(target, o2);
77 Py_XDECREF(o2);
78 }
79 PyList_Append(target,o);
80 Py_XDECREF(o);
81 }
82 return target;
83 }
84
85 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
86 PyObject* o2;
87 PyObject* o3;
88
89 if (!target) {
90 target = o;
91 } else if (target == Py_None) {
92 Py_DECREF(Py_None);
93 target = o;
94 } else {
95 if (!PyTuple_Check(target)) {
96 o2 = target;
97 target = PyTuple_New(1);
98 PyTuple_SetItem(target, 0, o2);
99 }
100 o3 = PyTuple_New(1);
101 PyTuple_SetItem(o3, 0, o);
102
103 o2 = target;
104 target = PySequence_Concat(o2, o3);
105 Py_DECREF(o2);
106 Py_DECREF(o3);
107 }
108 return target;
109 }
110
111 static char* wxStringErrorMsg = "string type is required for parameter";
112
113 extern wxValidator wxPyDefaultValidator;
114
115 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
116 int retval = 0;
117 PyObject* func = (PyObject*)funcPtr;
118 bool doSave = wxPyRestoreThread();
119
120 PyObject* args = Py_BuildValue("(ii)", item1, item2);
121 PyObject* result = PyEval_CallObject(func, args);
122 Py_DECREF(args);
123 if (result) {
124 retval = PyInt_AsLong(result);
125 Py_DECREF(result);
126 }
127
128 wxPySaveThread(doSave);
129 return retval;
130 }
131
132
133 class wxPyTreeItemData : public wxTreeItemData {
134 public:
135 wxPyTreeItemData(PyObject* obj = NULL) {
136 if (obj == NULL)
137 obj = Py_None;
138 Py_INCREF(obj);
139 m_obj = obj;
140 }
141
142 ~wxPyTreeItemData() {
143 bool doSave = wxPyRestoreThread();
144 Py_DECREF(m_obj);
145 wxPySaveThread(doSave);
146 }
147
148 PyObject* GetData() {
149 Py_INCREF(m_obj);
150 return m_obj;
151 }
152
153 void SetData(PyObject* obj) {
154 bool doSave = wxPyRestoreThread();
155 Py_DECREF(m_obj);
156 wxPySaveThread(doSave);
157 m_obj = obj;
158 Py_INCREF(obj);
159 }
160
161 PyObject* m_obj;
162 };
163
164 class wxPyTreeCtrl : public wxTreeCtrl {
165 public:
166 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
167 const wxPoint& pos,
168 const wxSize& size,
169 long style,
170 const wxValidator& validator,
171 char* name) :
172 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
173
174
175 int OnCompareItems(const wxTreeItemId& item1,
176 const wxTreeItemId& item2) {
177 int rval = 0;
178 bool doSave = wxPyRestoreThread();
179 if (m_myInst.findCallback("OnCompareItems"))
180 rval = m_myInst.callCallback(Py_BuildValue(
181 "(OO)",
182 wxPyConstructObject((void*)&item1, "wxTreeItemId"),
183 wxPyConstructObject((void*)&item2, "wxTreeItemId")));
184 else
185 rval = wxTreeCtrl::OnCompareItems(item1, item2);
186 wxPySaveThread(doSave);
187 return rval;
188 }
189 PYPRIVATE;
190 };
191
192 #ifdef __cplusplus
193 extern "C" {
194 #endif
195 #define new_wxListItemAttr() (new wxListItemAttr())
196 static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
197 PyObject * _resultobj;
198 wxListItemAttr * _result;
199 char *_kwnames[] = { NULL };
200 char _ptemp[128];
201
202 self = self;
203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItemAttr",_kwnames))
204 return NULL;
205 {
206 wxPy_BEGIN_ALLOW_THREADS;
207 _result = (wxListItemAttr *)new_wxListItemAttr();
208
209 wxPy_END_ALLOW_THREADS;
210 } if (_result) {
211 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
212 _resultobj = Py_BuildValue("s",_ptemp);
213 } else {
214 Py_INCREF(Py_None);
215 _resultobj = Py_None;
216 }
217 return _resultobj;
218 }
219
220 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
221 static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
222 PyObject * _resultobj;
223 wxListItemAttr * _arg0;
224 wxColour * _arg1;
225 PyObject * _argo0 = 0;
226 wxColour temp;
227 PyObject * _obj1 = 0;
228 char *_kwnames[] = { "self","colText", NULL };
229
230 self = self;
231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
232 return NULL;
233 if (_argo0) {
234 if (_argo0 == Py_None) { _arg0 = NULL; }
235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
237 return NULL;
238 }
239 }
240 {
241 _arg1 = &temp;
242 if (! wxColour_helper(_obj1, &_arg1))
243 return NULL;
244 }
245 {
246 wxPy_BEGIN_ALLOW_THREADS;
247 wxListItemAttr_SetTextColour(_arg0,*_arg1);
248
249 wxPy_END_ALLOW_THREADS;
250 } Py_INCREF(Py_None);
251 _resultobj = Py_None;
252 return _resultobj;
253 }
254
255 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
256 static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
257 PyObject * _resultobj;
258 wxListItemAttr * _arg0;
259 wxColour * _arg1;
260 PyObject * _argo0 = 0;
261 wxColour temp;
262 PyObject * _obj1 = 0;
263 char *_kwnames[] = { "self","colBack", NULL };
264
265 self = self;
266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
267 return NULL;
268 if (_argo0) {
269 if (_argo0 == Py_None) { _arg0 = NULL; }
270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
272 return NULL;
273 }
274 }
275 {
276 _arg1 = &temp;
277 if (! wxColour_helper(_obj1, &_arg1))
278 return NULL;
279 }
280 {
281 wxPy_BEGIN_ALLOW_THREADS;
282 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
283
284 wxPy_END_ALLOW_THREADS;
285 } Py_INCREF(Py_None);
286 _resultobj = Py_None;
287 return _resultobj;
288 }
289
290 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
291 static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
292 PyObject * _resultobj;
293 wxListItemAttr * _arg0;
294 wxFont * _arg1;
295 PyObject * _argo0 = 0;
296 PyObject * _argo1 = 0;
297 char *_kwnames[] = { "self","font", NULL };
298
299 self = self;
300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
301 return NULL;
302 if (_argo0) {
303 if (_argo0 == Py_None) { _arg0 = NULL; }
304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
306 return NULL;
307 }
308 }
309 if (_argo1) {
310 if (_argo1 == Py_None) { _arg1 = NULL; }
311 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
312 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
313 return NULL;
314 }
315 }
316 {
317 wxPy_BEGIN_ALLOW_THREADS;
318 wxListItemAttr_SetFont(_arg0,*_arg1);
319
320 wxPy_END_ALLOW_THREADS;
321 } Py_INCREF(Py_None);
322 _resultobj = Py_None;
323 return _resultobj;
324 }
325
326 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
327 static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
328 PyObject * _resultobj;
329 bool _result;
330 wxListItemAttr * _arg0;
331 PyObject * _argo0 = 0;
332 char *_kwnames[] = { "self", NULL };
333
334 self = self;
335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
336 return NULL;
337 if (_argo0) {
338 if (_argo0 == Py_None) { _arg0 = NULL; }
339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
341 return NULL;
342 }
343 }
344 {
345 wxPy_BEGIN_ALLOW_THREADS;
346 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
347
348 wxPy_END_ALLOW_THREADS;
349 } _resultobj = Py_BuildValue("i",_result);
350 return _resultobj;
351 }
352
353 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
354 static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
355 PyObject * _resultobj;
356 bool _result;
357 wxListItemAttr * _arg0;
358 PyObject * _argo0 = 0;
359 char *_kwnames[] = { "self", NULL };
360
361 self = self;
362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
363 return NULL;
364 if (_argo0) {
365 if (_argo0 == Py_None) { _arg0 = NULL; }
366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
368 return NULL;
369 }
370 }
371 {
372 wxPy_BEGIN_ALLOW_THREADS;
373 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
374
375 wxPy_END_ALLOW_THREADS;
376 } _resultobj = Py_BuildValue("i",_result);
377 return _resultobj;
378 }
379
380 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
381 static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
382 PyObject * _resultobj;
383 bool _result;
384 wxListItemAttr * _arg0;
385 PyObject * _argo0 = 0;
386 char *_kwnames[] = { "self", NULL };
387
388 self = self;
389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
390 return NULL;
391 if (_argo0) {
392 if (_argo0 == Py_None) { _arg0 = NULL; }
393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
395 return NULL;
396 }
397 }
398 {
399 wxPy_BEGIN_ALLOW_THREADS;
400 _result = (bool )wxListItemAttr_HasFont(_arg0);
401
402 wxPy_END_ALLOW_THREADS;
403 } _resultobj = Py_BuildValue("i",_result);
404 return _resultobj;
405 }
406
407 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
408 static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
409 PyObject * _resultobj;
410 wxColour * _result;
411 wxListItemAttr * _arg0;
412 PyObject * _argo0 = 0;
413 char *_kwnames[] = { "self", NULL };
414 char _ptemp[128];
415
416 self = self;
417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
418 return NULL;
419 if (_argo0) {
420 if (_argo0 == Py_None) { _arg0 = NULL; }
421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
423 return NULL;
424 }
425 }
426 {
427 wxPy_BEGIN_ALLOW_THREADS;
428 const wxColour & _result_ref = wxListItemAttr_GetTextColour(_arg0);
429 _result = (wxColour *) &_result_ref;
430
431 wxPy_END_ALLOW_THREADS;
432 } if (_result) {
433 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
434 _resultobj = Py_BuildValue("s",_ptemp);
435 } else {
436 Py_INCREF(Py_None);
437 _resultobj = Py_None;
438 }
439 return _resultobj;
440 }
441
442 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
443 static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
444 PyObject * _resultobj;
445 wxColour * _result;
446 wxListItemAttr * _arg0;
447 PyObject * _argo0 = 0;
448 char *_kwnames[] = { "self", NULL };
449 char _ptemp[128];
450
451 self = self;
452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
453 return NULL;
454 if (_argo0) {
455 if (_argo0 == Py_None) { _arg0 = NULL; }
456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
458 return NULL;
459 }
460 }
461 {
462 wxPy_BEGIN_ALLOW_THREADS;
463 const wxColour & _result_ref = wxListItemAttr_GetBackgroundColour(_arg0);
464 _result = (wxColour *) &_result_ref;
465
466 wxPy_END_ALLOW_THREADS;
467 } if (_result) {
468 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
469 _resultobj = Py_BuildValue("s",_ptemp);
470 } else {
471 Py_INCREF(Py_None);
472 _resultobj = Py_None;
473 }
474 return _resultobj;
475 }
476
477 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
478 static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
479 PyObject * _resultobj;
480 wxFont * _result;
481 wxListItemAttr * _arg0;
482 PyObject * _argo0 = 0;
483 char *_kwnames[] = { "self", NULL };
484 char _ptemp[128];
485
486 self = self;
487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
488 return NULL;
489 if (_argo0) {
490 if (_argo0 == Py_None) { _arg0 = NULL; }
491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
493 return NULL;
494 }
495 }
496 {
497 wxPy_BEGIN_ALLOW_THREADS;
498 const wxFont & _result_ref = wxListItemAttr_GetFont(_arg0);
499 _result = (wxFont *) &_result_ref;
500
501 wxPy_END_ALLOW_THREADS;
502 } if (_result) {
503 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
504 _resultobj = Py_BuildValue("s",_ptemp);
505 } else {
506 Py_INCREF(Py_None);
507 _resultobj = Py_None;
508 }
509 return _resultobj;
510 }
511
512 #define new_wxListItem() (new wxListItem())
513 static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
514 PyObject * _resultobj;
515 wxListItem * _result;
516 char *_kwnames[] = { NULL };
517 char _ptemp[128];
518
519 self = self;
520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
521 return NULL;
522 {
523 wxPy_BEGIN_ALLOW_THREADS;
524 _result = (wxListItem *)new_wxListItem();
525
526 wxPy_END_ALLOW_THREADS;
527 } if (_result) {
528 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
529 _resultobj = Py_BuildValue("s",_ptemp);
530 } else {
531 Py_INCREF(Py_None);
532 _resultobj = Py_None;
533 }
534 return _resultobj;
535 }
536
537 #define delete_wxListItem(_swigobj) (delete _swigobj)
538 static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
539 PyObject * _resultobj;
540 wxListItem * _arg0;
541 PyObject * _argo0 = 0;
542 char *_kwnames[] = { "self", NULL };
543
544 self = self;
545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
546 return NULL;
547 if (_argo0) {
548 if (_argo0 == Py_None) { _arg0 = NULL; }
549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
551 return NULL;
552 }
553 }
554 {
555 wxPy_BEGIN_ALLOW_THREADS;
556 delete_wxListItem(_arg0);
557
558 wxPy_END_ALLOW_THREADS;
559 } Py_INCREF(Py_None);
560 _resultobj = Py_None;
561 return _resultobj;
562 }
563
564 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
565 static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
566 PyObject * _resultobj;
567 wxListItem * _arg0;
568 PyObject * _argo0 = 0;
569 char *_kwnames[] = { "self", NULL };
570
571 self = self;
572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
573 return NULL;
574 if (_argo0) {
575 if (_argo0 == Py_None) { _arg0 = NULL; }
576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
578 return NULL;
579 }
580 }
581 {
582 wxPy_BEGIN_ALLOW_THREADS;
583 wxListItem_Clear(_arg0);
584
585 wxPy_END_ALLOW_THREADS;
586 } Py_INCREF(Py_None);
587 _resultobj = Py_None;
588 return _resultobj;
589 }
590
591 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
592 static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
593 PyObject * _resultobj;
594 wxListItem * _arg0;
595 PyObject * _argo0 = 0;
596 char *_kwnames[] = { "self", NULL };
597
598 self = self;
599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
600 return NULL;
601 if (_argo0) {
602 if (_argo0 == Py_None) { _arg0 = NULL; }
603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
605 return NULL;
606 }
607 }
608 {
609 wxPy_BEGIN_ALLOW_THREADS;
610 wxListItem_ClearAttributes(_arg0);
611
612 wxPy_END_ALLOW_THREADS;
613 } Py_INCREF(Py_None);
614 _resultobj = Py_None;
615 return _resultobj;
616 }
617
618 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
619 static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
620 PyObject * _resultobj;
621 wxListItem * _arg0;
622 long _arg1;
623 PyObject * _argo0 = 0;
624 char *_kwnames[] = { "self","mask", NULL };
625
626 self = self;
627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
628 return NULL;
629 if (_argo0) {
630 if (_argo0 == Py_None) { _arg0 = NULL; }
631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
633 return NULL;
634 }
635 }
636 {
637 wxPy_BEGIN_ALLOW_THREADS;
638 wxListItem_SetMask(_arg0,_arg1);
639
640 wxPy_END_ALLOW_THREADS;
641 } Py_INCREF(Py_None);
642 _resultobj = Py_None;
643 return _resultobj;
644 }
645
646 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
647 static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
648 PyObject * _resultobj;
649 wxListItem * _arg0;
650 long _arg1;
651 PyObject * _argo0 = 0;
652 char *_kwnames[] = { "self","id", NULL };
653
654 self = self;
655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
656 return NULL;
657 if (_argo0) {
658 if (_argo0 == Py_None) { _arg0 = NULL; }
659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
661 return NULL;
662 }
663 }
664 {
665 wxPy_BEGIN_ALLOW_THREADS;
666 wxListItem_SetId(_arg0,_arg1);
667
668 wxPy_END_ALLOW_THREADS;
669 } Py_INCREF(Py_None);
670 _resultobj = Py_None;
671 return _resultobj;
672 }
673
674 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
675 static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
676 PyObject * _resultobj;
677 wxListItem * _arg0;
678 int _arg1;
679 PyObject * _argo0 = 0;
680 char *_kwnames[] = { "self","col", NULL };
681
682 self = self;
683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
684 return NULL;
685 if (_argo0) {
686 if (_argo0 == Py_None) { _arg0 = NULL; }
687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
689 return NULL;
690 }
691 }
692 {
693 wxPy_BEGIN_ALLOW_THREADS;
694 wxListItem_SetColumn(_arg0,_arg1);
695
696 wxPy_END_ALLOW_THREADS;
697 } Py_INCREF(Py_None);
698 _resultobj = Py_None;
699 return _resultobj;
700 }
701
702 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
703 static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
704 PyObject * _resultobj;
705 wxListItem * _arg0;
706 long _arg1;
707 PyObject * _argo0 = 0;
708 char *_kwnames[] = { "self","state", NULL };
709
710 self = self;
711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
712 return NULL;
713 if (_argo0) {
714 if (_argo0 == Py_None) { _arg0 = NULL; }
715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
717 return NULL;
718 }
719 }
720 {
721 wxPy_BEGIN_ALLOW_THREADS;
722 wxListItem_SetState(_arg0,_arg1);
723
724 wxPy_END_ALLOW_THREADS;
725 } Py_INCREF(Py_None);
726 _resultobj = Py_None;
727 return _resultobj;
728 }
729
730 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
731 static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
732 PyObject * _resultobj;
733 wxListItem * _arg0;
734 long _arg1;
735 PyObject * _argo0 = 0;
736 char *_kwnames[] = { "self","stateMask", NULL };
737
738 self = self;
739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
740 return NULL;
741 if (_argo0) {
742 if (_argo0 == Py_None) { _arg0 = NULL; }
743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
745 return NULL;
746 }
747 }
748 {
749 wxPy_BEGIN_ALLOW_THREADS;
750 wxListItem_SetStateMask(_arg0,_arg1);
751
752 wxPy_END_ALLOW_THREADS;
753 } Py_INCREF(Py_None);
754 _resultobj = Py_None;
755 return _resultobj;
756 }
757
758 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
759 static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
760 PyObject * _resultobj;
761 wxListItem * _arg0;
762 wxString * _arg1;
763 PyObject * _argo0 = 0;
764 PyObject * _obj1 = 0;
765 char *_kwnames[] = { "self","text", NULL };
766
767 self = self;
768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
769 return NULL;
770 if (_argo0) {
771 if (_argo0 == Py_None) { _arg0 = NULL; }
772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
774 return NULL;
775 }
776 }
777 {
778 #if PYTHON_API_VERSION >= 1009
779 char* tmpPtr; int tmpSize;
780 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
781 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
782 return NULL;
783 }
784 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
785 return NULL;
786 _arg1 = new wxString(tmpPtr, tmpSize);
787 #else
788 if (!PyString_Check(_obj1)) {
789 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
790 return NULL;
791 }
792 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
793 #endif
794 }
795 {
796 wxPy_BEGIN_ALLOW_THREADS;
797 wxListItem_SetText(_arg0,*_arg1);
798
799 wxPy_END_ALLOW_THREADS;
800 } Py_INCREF(Py_None);
801 _resultobj = Py_None;
802 {
803 if (_obj1)
804 delete _arg1;
805 }
806 return _resultobj;
807 }
808
809 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
810 static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
811 PyObject * _resultobj;
812 wxListItem * _arg0;
813 int _arg1;
814 PyObject * _argo0 = 0;
815 char *_kwnames[] = { "self","image", NULL };
816
817 self = self;
818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
819 return NULL;
820 if (_argo0) {
821 if (_argo0 == Py_None) { _arg0 = NULL; }
822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
824 return NULL;
825 }
826 }
827 {
828 wxPy_BEGIN_ALLOW_THREADS;
829 wxListItem_SetImage(_arg0,_arg1);
830
831 wxPy_END_ALLOW_THREADS;
832 } Py_INCREF(Py_None);
833 _resultobj = Py_None;
834 return _resultobj;
835 }
836
837 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
838 static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
839 PyObject * _resultobj;
840 wxListItem * _arg0;
841 long _arg1;
842 PyObject * _argo0 = 0;
843 char *_kwnames[] = { "self","data", NULL };
844
845 self = self;
846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
847 return NULL;
848 if (_argo0) {
849 if (_argo0 == Py_None) { _arg0 = NULL; }
850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
852 return NULL;
853 }
854 }
855 {
856 wxPy_BEGIN_ALLOW_THREADS;
857 wxListItem_SetData(_arg0,_arg1);
858
859 wxPy_END_ALLOW_THREADS;
860 } Py_INCREF(Py_None);
861 _resultobj = Py_None;
862 return _resultobj;
863 }
864
865 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
866 static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
867 PyObject * _resultobj;
868 wxListItem * _arg0;
869 int _arg1;
870 PyObject * _argo0 = 0;
871 char *_kwnames[] = { "self","width", NULL };
872
873 self = self;
874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
875 return NULL;
876 if (_argo0) {
877 if (_argo0 == Py_None) { _arg0 = NULL; }
878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
880 return NULL;
881 }
882 }
883 {
884 wxPy_BEGIN_ALLOW_THREADS;
885 wxListItem_SetWidth(_arg0,_arg1);
886
887 wxPy_END_ALLOW_THREADS;
888 } Py_INCREF(Py_None);
889 _resultobj = Py_None;
890 return _resultobj;
891 }
892
893 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
894 static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
895 PyObject * _resultobj;
896 wxListItem * _arg0;
897 wxListColumnFormat _arg1;
898 PyObject * _argo0 = 0;
899 char *_kwnames[] = { "self","align", NULL };
900
901 self = self;
902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
903 return NULL;
904 if (_argo0) {
905 if (_argo0 == Py_None) { _arg0 = NULL; }
906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
908 return NULL;
909 }
910 }
911 {
912 wxPy_BEGIN_ALLOW_THREADS;
913 wxListItem_SetAlign(_arg0,_arg1);
914
915 wxPy_END_ALLOW_THREADS;
916 } Py_INCREF(Py_None);
917 _resultobj = Py_None;
918 return _resultobj;
919 }
920
921 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
922 static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
923 PyObject * _resultobj;
924 wxListItem * _arg0;
925 wxColour * _arg1;
926 PyObject * _argo0 = 0;
927 wxColour temp;
928 PyObject * _obj1 = 0;
929 char *_kwnames[] = { "self","colText", NULL };
930
931 self = self;
932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
933 return NULL;
934 if (_argo0) {
935 if (_argo0 == Py_None) { _arg0 = NULL; }
936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
938 return NULL;
939 }
940 }
941 {
942 _arg1 = &temp;
943 if (! wxColour_helper(_obj1, &_arg1))
944 return NULL;
945 }
946 {
947 wxPy_BEGIN_ALLOW_THREADS;
948 wxListItem_SetTextColour(_arg0,*_arg1);
949
950 wxPy_END_ALLOW_THREADS;
951 } Py_INCREF(Py_None);
952 _resultobj = Py_None;
953 return _resultobj;
954 }
955
956 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
957 static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
958 PyObject * _resultobj;
959 wxListItem * _arg0;
960 wxColour * _arg1;
961 PyObject * _argo0 = 0;
962 wxColour temp;
963 PyObject * _obj1 = 0;
964 char *_kwnames[] = { "self","colBack", NULL };
965
966 self = self;
967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
968 return NULL;
969 if (_argo0) {
970 if (_argo0 == Py_None) { _arg0 = NULL; }
971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
973 return NULL;
974 }
975 }
976 {
977 _arg1 = &temp;
978 if (! wxColour_helper(_obj1, &_arg1))
979 return NULL;
980 }
981 {
982 wxPy_BEGIN_ALLOW_THREADS;
983 wxListItem_SetBackgroundColour(_arg0,*_arg1);
984
985 wxPy_END_ALLOW_THREADS;
986 } Py_INCREF(Py_None);
987 _resultobj = Py_None;
988 return _resultobj;
989 }
990
991 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
992 static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
993 PyObject * _resultobj;
994 wxListItem * _arg0;
995 wxFont * _arg1;
996 PyObject * _argo0 = 0;
997 PyObject * _argo1 = 0;
998 char *_kwnames[] = { "self","font", NULL };
999
1000 self = self;
1001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1002 return NULL;
1003 if (_argo0) {
1004 if (_argo0 == Py_None) { _arg0 = NULL; }
1005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1007 return NULL;
1008 }
1009 }
1010 if (_argo1) {
1011 if (_argo1 == Py_None) { _arg1 = NULL; }
1012 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1013 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1014 return NULL;
1015 }
1016 }
1017 {
1018 wxPy_BEGIN_ALLOW_THREADS;
1019 wxListItem_SetFont(_arg0,*_arg1);
1020
1021 wxPy_END_ALLOW_THREADS;
1022 } Py_INCREF(Py_None);
1023 _resultobj = Py_None;
1024 return _resultobj;
1025 }
1026
1027 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1028 static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1029 PyObject * _resultobj;
1030 long _result;
1031 wxListItem * _arg0;
1032 PyObject * _argo0 = 0;
1033 char *_kwnames[] = { "self", NULL };
1034
1035 self = self;
1036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1037 return NULL;
1038 if (_argo0) {
1039 if (_argo0 == Py_None) { _arg0 = NULL; }
1040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1042 return NULL;
1043 }
1044 }
1045 {
1046 wxPy_BEGIN_ALLOW_THREADS;
1047 _result = (long )wxListItem_GetMask(_arg0);
1048
1049 wxPy_END_ALLOW_THREADS;
1050 } _resultobj = Py_BuildValue("l",_result);
1051 return _resultobj;
1052 }
1053
1054 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1055 static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject * _resultobj;
1057 long _result;
1058 wxListItem * _arg0;
1059 PyObject * _argo0 = 0;
1060 char *_kwnames[] = { "self", NULL };
1061
1062 self = self;
1063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1064 return NULL;
1065 if (_argo0) {
1066 if (_argo0 == Py_None) { _arg0 = NULL; }
1067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1069 return NULL;
1070 }
1071 }
1072 {
1073 wxPy_BEGIN_ALLOW_THREADS;
1074 _result = (long )wxListItem_GetId(_arg0);
1075
1076 wxPy_END_ALLOW_THREADS;
1077 } _resultobj = Py_BuildValue("l",_result);
1078 return _resultobj;
1079 }
1080
1081 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1082 static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1083 PyObject * _resultobj;
1084 int _result;
1085 wxListItem * _arg0;
1086 PyObject * _argo0 = 0;
1087 char *_kwnames[] = { "self", NULL };
1088
1089 self = self;
1090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1091 return NULL;
1092 if (_argo0) {
1093 if (_argo0 == Py_None) { _arg0 = NULL; }
1094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1096 return NULL;
1097 }
1098 }
1099 {
1100 wxPy_BEGIN_ALLOW_THREADS;
1101 _result = (int )wxListItem_GetColumn(_arg0);
1102
1103 wxPy_END_ALLOW_THREADS;
1104 } _resultobj = Py_BuildValue("i",_result);
1105 return _resultobj;
1106 }
1107
1108 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1109 static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1110 PyObject * _resultobj;
1111 long _result;
1112 wxListItem * _arg0;
1113 PyObject * _argo0 = 0;
1114 char *_kwnames[] = { "self", NULL };
1115
1116 self = self;
1117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1118 return NULL;
1119 if (_argo0) {
1120 if (_argo0 == Py_None) { _arg0 = NULL; }
1121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1123 return NULL;
1124 }
1125 }
1126 {
1127 wxPy_BEGIN_ALLOW_THREADS;
1128 _result = (long )wxListItem_GetState(_arg0);
1129
1130 wxPy_END_ALLOW_THREADS;
1131 } _resultobj = Py_BuildValue("l",_result);
1132 return _resultobj;
1133 }
1134
1135 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1136 static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1137 PyObject * _resultobj;
1138 wxString * _result;
1139 wxListItem * _arg0;
1140 PyObject * _argo0 = 0;
1141 char *_kwnames[] = { "self", NULL };
1142
1143 self = self;
1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1145 return NULL;
1146 if (_argo0) {
1147 if (_argo0 == Py_None) { _arg0 = NULL; }
1148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1150 return NULL;
1151 }
1152 }
1153 {
1154 wxPy_BEGIN_ALLOW_THREADS;
1155 const wxString & _result_ref = wxListItem_GetText(_arg0);
1156 _result = (wxString *) &_result_ref;
1157
1158 wxPy_END_ALLOW_THREADS;
1159 }{
1160 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1161 }
1162 return _resultobj;
1163 }
1164
1165 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1166 static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1167 PyObject * _resultobj;
1168 int _result;
1169 wxListItem * _arg0;
1170 PyObject * _argo0 = 0;
1171 char *_kwnames[] = { "self", NULL };
1172
1173 self = self;
1174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1175 return NULL;
1176 if (_argo0) {
1177 if (_argo0 == Py_None) { _arg0 = NULL; }
1178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1180 return NULL;
1181 }
1182 }
1183 {
1184 wxPy_BEGIN_ALLOW_THREADS;
1185 _result = (int )wxListItem_GetImage(_arg0);
1186
1187 wxPy_END_ALLOW_THREADS;
1188 } _resultobj = Py_BuildValue("i",_result);
1189 return _resultobj;
1190 }
1191
1192 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1193 static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1194 PyObject * _resultobj;
1195 long _result;
1196 wxListItem * _arg0;
1197 PyObject * _argo0 = 0;
1198 char *_kwnames[] = { "self", NULL };
1199
1200 self = self;
1201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1202 return NULL;
1203 if (_argo0) {
1204 if (_argo0 == Py_None) { _arg0 = NULL; }
1205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1207 return NULL;
1208 }
1209 }
1210 {
1211 wxPy_BEGIN_ALLOW_THREADS;
1212 _result = (long )wxListItem_GetData(_arg0);
1213
1214 wxPy_END_ALLOW_THREADS;
1215 } _resultobj = Py_BuildValue("l",_result);
1216 return _resultobj;
1217 }
1218
1219 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1220 static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1221 PyObject * _resultobj;
1222 int _result;
1223 wxListItem * _arg0;
1224 PyObject * _argo0 = 0;
1225 char *_kwnames[] = { "self", NULL };
1226
1227 self = self;
1228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1229 return NULL;
1230 if (_argo0) {
1231 if (_argo0 == Py_None) { _arg0 = NULL; }
1232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1234 return NULL;
1235 }
1236 }
1237 {
1238 wxPy_BEGIN_ALLOW_THREADS;
1239 _result = (int )wxListItem_GetWidth(_arg0);
1240
1241 wxPy_END_ALLOW_THREADS;
1242 } _resultobj = Py_BuildValue("i",_result);
1243 return _resultobj;
1244 }
1245
1246 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1247 static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject * _resultobj;
1249 wxListColumnFormat _result;
1250 wxListItem * _arg0;
1251 PyObject * _argo0 = 0;
1252 char *_kwnames[] = { "self", NULL };
1253
1254 self = self;
1255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1256 return NULL;
1257 if (_argo0) {
1258 if (_argo0 == Py_None) { _arg0 = NULL; }
1259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1261 return NULL;
1262 }
1263 }
1264 {
1265 wxPy_BEGIN_ALLOW_THREADS;
1266 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
1267
1268 wxPy_END_ALLOW_THREADS;
1269 } _resultobj = Py_BuildValue("i",_result);
1270 return _resultobj;
1271 }
1272
1273 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1274 static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1275 PyObject * _resultobj;
1276 wxListItemAttr * _result;
1277 wxListItem * _arg0;
1278 PyObject * _argo0 = 0;
1279 char *_kwnames[] = { "self", NULL };
1280 char _ptemp[128];
1281
1282 self = self;
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1284 return NULL;
1285 if (_argo0) {
1286 if (_argo0 == Py_None) { _arg0 = NULL; }
1287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1289 return NULL;
1290 }
1291 }
1292 {
1293 wxPy_BEGIN_ALLOW_THREADS;
1294 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
1295
1296 wxPy_END_ALLOW_THREADS;
1297 } if (_result) {
1298 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1299 _resultobj = Py_BuildValue("s",_ptemp);
1300 } else {
1301 Py_INCREF(Py_None);
1302 _resultobj = Py_None;
1303 }
1304 return _resultobj;
1305 }
1306
1307 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1308 static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1309 PyObject * _resultobj;
1310 bool _result;
1311 wxListItem * _arg0;
1312 PyObject * _argo0 = 0;
1313 char *_kwnames[] = { "self", NULL };
1314
1315 self = self;
1316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1317 return NULL;
1318 if (_argo0) {
1319 if (_argo0 == Py_None) { _arg0 = NULL; }
1320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1322 return NULL;
1323 }
1324 }
1325 {
1326 wxPy_BEGIN_ALLOW_THREADS;
1327 _result = (bool )wxListItem_HasAttributes(_arg0);
1328
1329 wxPy_END_ALLOW_THREADS;
1330 } _resultobj = Py_BuildValue("i",_result);
1331 return _resultobj;
1332 }
1333
1334 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1335 static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject * _resultobj;
1337 wxColour * _result;
1338 wxListItem * _arg0;
1339 PyObject * _argo0 = 0;
1340 char *_kwnames[] = { "self", NULL };
1341 char _ptemp[128];
1342
1343 self = self;
1344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1345 return NULL;
1346 if (_argo0) {
1347 if (_argo0 == Py_None) { _arg0 = NULL; }
1348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1350 return NULL;
1351 }
1352 }
1353 {
1354 wxPy_BEGIN_ALLOW_THREADS;
1355 _result = new wxColour (wxListItem_GetTextColour(_arg0));
1356
1357 wxPy_END_ALLOW_THREADS;
1358 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1359 _resultobj = Py_BuildValue("s",_ptemp);
1360 return _resultobj;
1361 }
1362
1363 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1364 static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject * _resultobj;
1366 wxColour * _result;
1367 wxListItem * _arg0;
1368 PyObject * _argo0 = 0;
1369 char *_kwnames[] = { "self", NULL };
1370 char _ptemp[128];
1371
1372 self = self;
1373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1374 return NULL;
1375 if (_argo0) {
1376 if (_argo0 == Py_None) { _arg0 = NULL; }
1377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1379 return NULL;
1380 }
1381 }
1382 {
1383 wxPy_BEGIN_ALLOW_THREADS;
1384 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
1385
1386 wxPy_END_ALLOW_THREADS;
1387 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1388 _resultobj = Py_BuildValue("s",_ptemp);
1389 return _resultobj;
1390 }
1391
1392 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1393 static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1394 PyObject * _resultobj;
1395 wxFont * _result;
1396 wxListItem * _arg0;
1397 PyObject * _argo0 = 0;
1398 char *_kwnames[] = { "self", NULL };
1399 char _ptemp[128];
1400
1401 self = self;
1402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1403 return NULL;
1404 if (_argo0) {
1405 if (_argo0 == Py_None) { _arg0 = NULL; }
1406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1408 return NULL;
1409 }
1410 }
1411 {
1412 wxPy_BEGIN_ALLOW_THREADS;
1413 _result = new wxFont (wxListItem_GetFont(_arg0));
1414
1415 wxPy_END_ALLOW_THREADS;
1416 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1417 _resultobj = Py_BuildValue("s",_ptemp);
1418 return _resultobj;
1419 }
1420
1421 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1422 static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject * _resultobj;
1424 long _result;
1425 wxListItem * _arg0;
1426 long _arg1;
1427 PyObject * _argo0 = 0;
1428 char *_kwnames[] = { "self","m_mask", NULL };
1429
1430 self = self;
1431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1432 return NULL;
1433 if (_argo0) {
1434 if (_argo0 == Py_None) { _arg0 = NULL; }
1435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1437 return NULL;
1438 }
1439 }
1440 {
1441 wxPy_BEGIN_ALLOW_THREADS;
1442 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
1443
1444 wxPy_END_ALLOW_THREADS;
1445 } _resultobj = Py_BuildValue("l",_result);
1446 return _resultobj;
1447 }
1448
1449 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1450 static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1451 PyObject * _resultobj;
1452 long _result;
1453 wxListItem * _arg0;
1454 PyObject * _argo0 = 0;
1455 char *_kwnames[] = { "self", NULL };
1456
1457 self = self;
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1459 return NULL;
1460 if (_argo0) {
1461 if (_argo0 == Py_None) { _arg0 = NULL; }
1462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1464 return NULL;
1465 }
1466 }
1467 {
1468 wxPy_BEGIN_ALLOW_THREADS;
1469 _result = (long )wxListItem_m_mask_get(_arg0);
1470
1471 wxPy_END_ALLOW_THREADS;
1472 } _resultobj = Py_BuildValue("l",_result);
1473 return _resultobj;
1474 }
1475
1476 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1477 static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject * _resultobj;
1479 long _result;
1480 wxListItem * _arg0;
1481 long _arg1;
1482 PyObject * _argo0 = 0;
1483 char *_kwnames[] = { "self","m_itemId", NULL };
1484
1485 self = self;
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
1487 return NULL;
1488 if (_argo0) {
1489 if (_argo0 == Py_None) { _arg0 = NULL; }
1490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1492 return NULL;
1493 }
1494 }
1495 {
1496 wxPy_BEGIN_ALLOW_THREADS;
1497 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
1498
1499 wxPy_END_ALLOW_THREADS;
1500 } _resultobj = Py_BuildValue("l",_result);
1501 return _resultobj;
1502 }
1503
1504 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1505 static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1506 PyObject * _resultobj;
1507 long _result;
1508 wxListItem * _arg0;
1509 PyObject * _argo0 = 0;
1510 char *_kwnames[] = { "self", NULL };
1511
1512 self = self;
1513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1514 return NULL;
1515 if (_argo0) {
1516 if (_argo0 == Py_None) { _arg0 = NULL; }
1517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1519 return NULL;
1520 }
1521 }
1522 {
1523 wxPy_BEGIN_ALLOW_THREADS;
1524 _result = (long )wxListItem_m_itemId_get(_arg0);
1525
1526 wxPy_END_ALLOW_THREADS;
1527 } _resultobj = Py_BuildValue("l",_result);
1528 return _resultobj;
1529 }
1530
1531 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1532 static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1533 PyObject * _resultobj;
1534 int _result;
1535 wxListItem * _arg0;
1536 int _arg1;
1537 PyObject * _argo0 = 0;
1538 char *_kwnames[] = { "self","m_col", NULL };
1539
1540 self = self;
1541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1542 return NULL;
1543 if (_argo0) {
1544 if (_argo0 == Py_None) { _arg0 = NULL; }
1545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1547 return NULL;
1548 }
1549 }
1550 {
1551 wxPy_BEGIN_ALLOW_THREADS;
1552 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
1553
1554 wxPy_END_ALLOW_THREADS;
1555 } _resultobj = Py_BuildValue("i",_result);
1556 return _resultobj;
1557 }
1558
1559 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1560 static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject * _resultobj;
1562 int _result;
1563 wxListItem * _arg0;
1564 PyObject * _argo0 = 0;
1565 char *_kwnames[] = { "self", NULL };
1566
1567 self = self;
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1569 return NULL;
1570 if (_argo0) {
1571 if (_argo0 == Py_None) { _arg0 = NULL; }
1572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1574 return NULL;
1575 }
1576 }
1577 {
1578 wxPy_BEGIN_ALLOW_THREADS;
1579 _result = (int )wxListItem_m_col_get(_arg0);
1580
1581 wxPy_END_ALLOW_THREADS;
1582 } _resultobj = Py_BuildValue("i",_result);
1583 return _resultobj;
1584 }
1585
1586 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1587 static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject * _resultobj;
1589 long _result;
1590 wxListItem * _arg0;
1591 long _arg1;
1592 PyObject * _argo0 = 0;
1593 char *_kwnames[] = { "self","m_state", NULL };
1594
1595 self = self;
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1597 return NULL;
1598 if (_argo0) {
1599 if (_argo0 == Py_None) { _arg0 = NULL; }
1600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1602 return NULL;
1603 }
1604 }
1605 {
1606 wxPy_BEGIN_ALLOW_THREADS;
1607 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
1608
1609 wxPy_END_ALLOW_THREADS;
1610 } _resultobj = Py_BuildValue("l",_result);
1611 return _resultobj;
1612 }
1613
1614 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1615 static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1616 PyObject * _resultobj;
1617 long _result;
1618 wxListItem * _arg0;
1619 PyObject * _argo0 = 0;
1620 char *_kwnames[] = { "self", NULL };
1621
1622 self = self;
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1624 return NULL;
1625 if (_argo0) {
1626 if (_argo0 == Py_None) { _arg0 = NULL; }
1627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1629 return NULL;
1630 }
1631 }
1632 {
1633 wxPy_BEGIN_ALLOW_THREADS;
1634 _result = (long )wxListItem_m_state_get(_arg0);
1635
1636 wxPy_END_ALLOW_THREADS;
1637 } _resultobj = Py_BuildValue("l",_result);
1638 return _resultobj;
1639 }
1640
1641 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1642 static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject * _resultobj;
1644 long _result;
1645 wxListItem * _arg0;
1646 long _arg1;
1647 PyObject * _argo0 = 0;
1648 char *_kwnames[] = { "self","m_stateMask", NULL };
1649
1650 self = self;
1651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1652 return NULL;
1653 if (_argo0) {
1654 if (_argo0 == Py_None) { _arg0 = NULL; }
1655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1657 return NULL;
1658 }
1659 }
1660 {
1661 wxPy_BEGIN_ALLOW_THREADS;
1662 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
1663
1664 wxPy_END_ALLOW_THREADS;
1665 } _resultobj = Py_BuildValue("l",_result);
1666 return _resultobj;
1667 }
1668
1669 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1670 static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1671 PyObject * _resultobj;
1672 long _result;
1673 wxListItem * _arg0;
1674 PyObject * _argo0 = 0;
1675 char *_kwnames[] = { "self", NULL };
1676
1677 self = self;
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1679 return NULL;
1680 if (_argo0) {
1681 if (_argo0 == Py_None) { _arg0 = NULL; }
1682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1684 return NULL;
1685 }
1686 }
1687 {
1688 wxPy_BEGIN_ALLOW_THREADS;
1689 _result = (long )wxListItem_m_stateMask_get(_arg0);
1690
1691 wxPy_END_ALLOW_THREADS;
1692 } _resultobj = Py_BuildValue("l",_result);
1693 return _resultobj;
1694 }
1695
1696 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1697 static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1698 PyObject * _resultobj;
1699 wxString * _result;
1700 wxListItem * _arg0;
1701 wxString * _arg1;
1702 PyObject * _argo0 = 0;
1703 PyObject * _obj1 = 0;
1704 char *_kwnames[] = { "self","m_text", NULL };
1705
1706 self = self;
1707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1708 return NULL;
1709 if (_argo0) {
1710 if (_argo0 == Py_None) { _arg0 = NULL; }
1711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1713 return NULL;
1714 }
1715 }
1716 {
1717 #if PYTHON_API_VERSION >= 1009
1718 char* tmpPtr; int tmpSize;
1719 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1720 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1721 return NULL;
1722 }
1723 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1724 return NULL;
1725 _arg1 = new wxString(tmpPtr, tmpSize);
1726 #else
1727 if (!PyString_Check(_obj1)) {
1728 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1729 return NULL;
1730 }
1731 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1732 #endif
1733 }
1734 {
1735 wxPy_BEGIN_ALLOW_THREADS;
1736 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
1737
1738 wxPy_END_ALLOW_THREADS;
1739 }{
1740 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1741 }
1742 {
1743 if (_obj1)
1744 delete _arg1;
1745 }
1746 return _resultobj;
1747 }
1748
1749 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1750 static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject * _resultobj;
1752 wxString * _result;
1753 wxListItem * _arg0;
1754 PyObject * _argo0 = 0;
1755 char *_kwnames[] = { "self", NULL };
1756
1757 self = self;
1758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
1759 return NULL;
1760 if (_argo0) {
1761 if (_argo0 == Py_None) { _arg0 = NULL; }
1762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1764 return NULL;
1765 }
1766 }
1767 {
1768 wxPy_BEGIN_ALLOW_THREADS;
1769 _result = (wxString *)wxListItem_m_text_get(_arg0);
1770
1771 wxPy_END_ALLOW_THREADS;
1772 }{
1773 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1774 }
1775 return _resultobj;
1776 }
1777
1778 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1779 static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1780 PyObject * _resultobj;
1781 int _result;
1782 wxListItem * _arg0;
1783 int _arg1;
1784 PyObject * _argo0 = 0;
1785 char *_kwnames[] = { "self","m_image", NULL };
1786
1787 self = self;
1788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
1789 return NULL;
1790 if (_argo0) {
1791 if (_argo0 == Py_None) { _arg0 = NULL; }
1792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1794 return NULL;
1795 }
1796 }
1797 {
1798 wxPy_BEGIN_ALLOW_THREADS;
1799 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
1800
1801 wxPy_END_ALLOW_THREADS;
1802 } _resultobj = Py_BuildValue("i",_result);
1803 return _resultobj;
1804 }
1805
1806 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1807 static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1808 PyObject * _resultobj;
1809 int _result;
1810 wxListItem * _arg0;
1811 PyObject * _argo0 = 0;
1812 char *_kwnames[] = { "self", NULL };
1813
1814 self = self;
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
1816 return NULL;
1817 if (_argo0) {
1818 if (_argo0 == Py_None) { _arg0 = NULL; }
1819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1821 return NULL;
1822 }
1823 }
1824 {
1825 wxPy_BEGIN_ALLOW_THREADS;
1826 _result = (int )wxListItem_m_image_get(_arg0);
1827
1828 wxPy_END_ALLOW_THREADS;
1829 } _resultobj = Py_BuildValue("i",_result);
1830 return _resultobj;
1831 }
1832
1833 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1834 static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject * _resultobj;
1836 long _result;
1837 wxListItem * _arg0;
1838 long _arg1;
1839 PyObject * _argo0 = 0;
1840 char *_kwnames[] = { "self","m_data", NULL };
1841
1842 self = self;
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
1844 return NULL;
1845 if (_argo0) {
1846 if (_argo0 == Py_None) { _arg0 = NULL; }
1847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1849 return NULL;
1850 }
1851 }
1852 {
1853 wxPy_BEGIN_ALLOW_THREADS;
1854 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
1855
1856 wxPy_END_ALLOW_THREADS;
1857 } _resultobj = Py_BuildValue("l",_result);
1858 return _resultobj;
1859 }
1860
1861 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1862 static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1863 PyObject * _resultobj;
1864 long _result;
1865 wxListItem * _arg0;
1866 PyObject * _argo0 = 0;
1867 char *_kwnames[] = { "self", NULL };
1868
1869 self = self;
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
1871 return NULL;
1872 if (_argo0) {
1873 if (_argo0 == Py_None) { _arg0 = NULL; }
1874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1876 return NULL;
1877 }
1878 }
1879 {
1880 wxPy_BEGIN_ALLOW_THREADS;
1881 _result = (long )wxListItem_m_data_get(_arg0);
1882
1883 wxPy_END_ALLOW_THREADS;
1884 } _resultobj = Py_BuildValue("l",_result);
1885 return _resultobj;
1886 }
1887
1888 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1889 static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject * _resultobj;
1891 int _result;
1892 wxListItem * _arg0;
1893 int _arg1;
1894 PyObject * _argo0 = 0;
1895 char *_kwnames[] = { "self","m_format", NULL };
1896
1897 self = self;
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
1899 return NULL;
1900 if (_argo0) {
1901 if (_argo0 == Py_None) { _arg0 = NULL; }
1902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1904 return NULL;
1905 }
1906 }
1907 {
1908 wxPy_BEGIN_ALLOW_THREADS;
1909 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
1910
1911 wxPy_END_ALLOW_THREADS;
1912 } _resultobj = Py_BuildValue("i",_result);
1913 return _resultobj;
1914 }
1915
1916 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1917 static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1918 PyObject * _resultobj;
1919 int _result;
1920 wxListItem * _arg0;
1921 PyObject * _argo0 = 0;
1922 char *_kwnames[] = { "self", NULL };
1923
1924 self = self;
1925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
1926 return NULL;
1927 if (_argo0) {
1928 if (_argo0 == Py_None) { _arg0 = NULL; }
1929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1931 return NULL;
1932 }
1933 }
1934 {
1935 wxPy_BEGIN_ALLOW_THREADS;
1936 _result = (int )wxListItem_m_format_get(_arg0);
1937
1938 wxPy_END_ALLOW_THREADS;
1939 } _resultobj = Py_BuildValue("i",_result);
1940 return _resultobj;
1941 }
1942
1943 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1944 static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1945 PyObject * _resultobj;
1946 int _result;
1947 wxListItem * _arg0;
1948 int _arg1;
1949 PyObject * _argo0 = 0;
1950 char *_kwnames[] = { "self","m_width", NULL };
1951
1952 self = self;
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
1954 return NULL;
1955 if (_argo0) {
1956 if (_argo0 == Py_None) { _arg0 = NULL; }
1957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1959 return NULL;
1960 }
1961 }
1962 {
1963 wxPy_BEGIN_ALLOW_THREADS;
1964 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
1965
1966 wxPy_END_ALLOW_THREADS;
1967 } _resultobj = Py_BuildValue("i",_result);
1968 return _resultobj;
1969 }
1970
1971 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1972 static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1973 PyObject * _resultobj;
1974 int _result;
1975 wxListItem * _arg0;
1976 PyObject * _argo0 = 0;
1977 char *_kwnames[] = { "self", NULL };
1978
1979 self = self;
1980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
1981 return NULL;
1982 if (_argo0) {
1983 if (_argo0 == Py_None) { _arg0 = NULL; }
1984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
1986 return NULL;
1987 }
1988 }
1989 {
1990 wxPy_BEGIN_ALLOW_THREADS;
1991 _result = (int )wxListItem_m_width_get(_arg0);
1992
1993 wxPy_END_ALLOW_THREADS;
1994 } _resultobj = Py_BuildValue("i",_result);
1995 return _resultobj;
1996 }
1997
1998 static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
1999 wxListEvent *src;
2000 wxNotifyEvent *dest;
2001 src = (wxListEvent *) ptr;
2002 dest = (wxNotifyEvent *) src;
2003 return (void *) dest;
2004 }
2005
2006 static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2007 wxListEvent *src;
2008 wxCommandEvent *dest;
2009 src = (wxListEvent *) ptr;
2010 dest = (wxCommandEvent *) src;
2011 return (void *) dest;
2012 }
2013
2014 static void *SwigwxListEventTowxEvent(void *ptr) {
2015 wxListEvent *src;
2016 wxEvent *dest;
2017 src = (wxListEvent *) ptr;
2018 dest = (wxEvent *) src;
2019 return (void *) dest;
2020 }
2021
2022 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2023 static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2024 PyObject * _resultobj;
2025 int _result;
2026 wxListEvent * _arg0;
2027 int _arg1;
2028 PyObject * _argo0 = 0;
2029 char *_kwnames[] = { "self","m_code", NULL };
2030
2031 self = self;
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
2033 return NULL;
2034 if (_argo0) {
2035 if (_argo0 == Py_None) { _arg0 = NULL; }
2036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2038 return NULL;
2039 }
2040 }
2041 {
2042 wxPy_BEGIN_ALLOW_THREADS;
2043 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
2044
2045 wxPy_END_ALLOW_THREADS;
2046 } _resultobj = Py_BuildValue("i",_result);
2047 return _resultobj;
2048 }
2049
2050 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2051 static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2052 PyObject * _resultobj;
2053 int _result;
2054 wxListEvent * _arg0;
2055 PyObject * _argo0 = 0;
2056 char *_kwnames[] = { "self", NULL };
2057
2058 self = self;
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
2060 return NULL;
2061 if (_argo0) {
2062 if (_argo0 == Py_None) { _arg0 = NULL; }
2063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2065 return NULL;
2066 }
2067 }
2068 {
2069 wxPy_BEGIN_ALLOW_THREADS;
2070 _result = (int )wxListEvent_m_code_get(_arg0);
2071
2072 wxPy_END_ALLOW_THREADS;
2073 } _resultobj = Py_BuildValue("i",_result);
2074 return _resultobj;
2075 }
2076
2077 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2078 static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2079 PyObject * _resultobj;
2080 long _result;
2081 wxListEvent * _arg0;
2082 long _arg1;
2083 PyObject * _argo0 = 0;
2084 char *_kwnames[] = { "self","m_itemIndex", NULL };
2085
2086 self = self;
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
2088 return NULL;
2089 if (_argo0) {
2090 if (_argo0 == Py_None) { _arg0 = NULL; }
2091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2093 return NULL;
2094 }
2095 }
2096 {
2097 wxPy_BEGIN_ALLOW_THREADS;
2098 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
2099
2100 wxPy_END_ALLOW_THREADS;
2101 } _resultobj = Py_BuildValue("l",_result);
2102 return _resultobj;
2103 }
2104
2105 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2106 static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2107 PyObject * _resultobj;
2108 long _result;
2109 wxListEvent * _arg0;
2110 PyObject * _argo0 = 0;
2111 char *_kwnames[] = { "self", NULL };
2112
2113 self = self;
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
2115 return NULL;
2116 if (_argo0) {
2117 if (_argo0 == Py_None) { _arg0 = NULL; }
2118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2120 return NULL;
2121 }
2122 }
2123 {
2124 wxPy_BEGIN_ALLOW_THREADS;
2125 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
2126
2127 wxPy_END_ALLOW_THREADS;
2128 } _resultobj = Py_BuildValue("l",_result);
2129 return _resultobj;
2130 }
2131
2132 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2133 static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2134 PyObject * _resultobj;
2135 long _result;
2136 wxListEvent * _arg0;
2137 long _arg1;
2138 PyObject * _argo0 = 0;
2139 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
2140
2141 self = self;
2142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
2143 return NULL;
2144 if (_argo0) {
2145 if (_argo0 == Py_None) { _arg0 = NULL; }
2146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2148 return NULL;
2149 }
2150 }
2151 {
2152 wxPy_BEGIN_ALLOW_THREADS;
2153 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
2154
2155 wxPy_END_ALLOW_THREADS;
2156 } _resultobj = Py_BuildValue("l",_result);
2157 return _resultobj;
2158 }
2159
2160 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2161 static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2162 PyObject * _resultobj;
2163 long _result;
2164 wxListEvent * _arg0;
2165 PyObject * _argo0 = 0;
2166 char *_kwnames[] = { "self", NULL };
2167
2168 self = self;
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
2170 return NULL;
2171 if (_argo0) {
2172 if (_argo0 == Py_None) { _arg0 = NULL; }
2173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2175 return NULL;
2176 }
2177 }
2178 {
2179 wxPy_BEGIN_ALLOW_THREADS;
2180 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
2181
2182 wxPy_END_ALLOW_THREADS;
2183 } _resultobj = Py_BuildValue("l",_result);
2184 return _resultobj;
2185 }
2186
2187 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2188 static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject * _resultobj;
2190 int _result;
2191 wxListEvent * _arg0;
2192 int _arg1;
2193 PyObject * _argo0 = 0;
2194 char *_kwnames[] = { "self","m_col", NULL };
2195
2196 self = self;
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
2198 return NULL;
2199 if (_argo0) {
2200 if (_argo0 == Py_None) { _arg0 = NULL; }
2201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2203 return NULL;
2204 }
2205 }
2206 {
2207 wxPy_BEGIN_ALLOW_THREADS;
2208 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
2209
2210 wxPy_END_ALLOW_THREADS;
2211 } _resultobj = Py_BuildValue("i",_result);
2212 return _resultobj;
2213 }
2214
2215 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2216 static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2217 PyObject * _resultobj;
2218 int _result;
2219 wxListEvent * _arg0;
2220 PyObject * _argo0 = 0;
2221 char *_kwnames[] = { "self", NULL };
2222
2223 self = self;
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
2225 return NULL;
2226 if (_argo0) {
2227 if (_argo0 == Py_None) { _arg0 = NULL; }
2228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2230 return NULL;
2231 }
2232 }
2233 {
2234 wxPy_BEGIN_ALLOW_THREADS;
2235 _result = (int )wxListEvent_m_col_get(_arg0);
2236
2237 wxPy_END_ALLOW_THREADS;
2238 } _resultobj = Py_BuildValue("i",_result);
2239 return _resultobj;
2240 }
2241
2242 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2243 static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject * _resultobj;
2245 bool _result;
2246 wxListEvent * _arg0;
2247 bool _arg1;
2248 PyObject * _argo0 = 0;
2249 int tempbool1;
2250 char *_kwnames[] = { "self","m_cancelled", NULL };
2251
2252 self = self;
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1))
2254 return NULL;
2255 if (_argo0) {
2256 if (_argo0 == Py_None) { _arg0 = NULL; }
2257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2259 return NULL;
2260 }
2261 }
2262 _arg1 = (bool ) tempbool1;
2263 {
2264 wxPy_BEGIN_ALLOW_THREADS;
2265 _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1);
2266
2267 wxPy_END_ALLOW_THREADS;
2268 } _resultobj = Py_BuildValue("i",_result);
2269 return _resultobj;
2270 }
2271
2272 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2273 static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2274 PyObject * _resultobj;
2275 bool _result;
2276 wxListEvent * _arg0;
2277 PyObject * _argo0 = 0;
2278 char *_kwnames[] = { "self", NULL };
2279
2280 self = self;
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0))
2282 return NULL;
2283 if (_argo0) {
2284 if (_argo0 == Py_None) { _arg0 = NULL; }
2285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2287 return NULL;
2288 }
2289 }
2290 {
2291 wxPy_BEGIN_ALLOW_THREADS;
2292 _result = (bool )wxListEvent_m_cancelled_get(_arg0);
2293
2294 wxPy_END_ALLOW_THREADS;
2295 } _resultobj = Py_BuildValue("i",_result);
2296 return _resultobj;
2297 }
2298
2299 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2300 static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2301 PyObject * _resultobj;
2302 wxPoint * _result;
2303 wxListEvent * _arg0;
2304 wxPoint * _arg1;
2305 PyObject * _argo0 = 0;
2306 wxPoint temp;
2307 PyObject * _obj1 = 0;
2308 char *_kwnames[] = { "self","m_pointDrag", NULL };
2309 char _ptemp[128];
2310
2311 self = self;
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
2313 return NULL;
2314 if (_argo0) {
2315 if (_argo0 == Py_None) { _arg0 = NULL; }
2316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2318 return NULL;
2319 }
2320 }
2321 {
2322 _arg1 = &temp;
2323 if (! wxPoint_helper(_obj1, &_arg1))
2324 return NULL;
2325 }
2326 {
2327 wxPy_BEGIN_ALLOW_THREADS;
2328 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
2329
2330 wxPy_END_ALLOW_THREADS;
2331 } if (_result) {
2332 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2333 _resultobj = Py_BuildValue("s",_ptemp);
2334 } else {
2335 Py_INCREF(Py_None);
2336 _resultobj = Py_None;
2337 }
2338 return _resultobj;
2339 }
2340
2341 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2342 static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject * _resultobj;
2344 wxPoint * _result;
2345 wxListEvent * _arg0;
2346 PyObject * _argo0 = 0;
2347 char *_kwnames[] = { "self", NULL };
2348 char _ptemp[128];
2349
2350 self = self;
2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
2352 return NULL;
2353 if (_argo0) {
2354 if (_argo0 == Py_None) { _arg0 = NULL; }
2355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2357 return NULL;
2358 }
2359 }
2360 {
2361 wxPy_BEGIN_ALLOW_THREADS;
2362 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
2363
2364 wxPy_END_ALLOW_THREADS;
2365 } if (_result) {
2366 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2367 _resultobj = Py_BuildValue("s",_ptemp);
2368 } else {
2369 Py_INCREF(Py_None);
2370 _resultobj = Py_None;
2371 }
2372 return _resultobj;
2373 }
2374
2375 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2376 static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject * _resultobj;
2378 wxListItem * _result;
2379 wxListEvent * _arg0;
2380 wxListItem * _arg1;
2381 PyObject * _argo0 = 0;
2382 PyObject * _argo1 = 0;
2383 char *_kwnames[] = { "self","m_item", NULL };
2384 char _ptemp[128];
2385
2386 self = self;
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
2388 return NULL;
2389 if (_argo0) {
2390 if (_argo0 == Py_None) { _arg0 = NULL; }
2391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2393 return NULL;
2394 }
2395 }
2396 if (_argo1) {
2397 if (_argo1 == Py_None) { _arg1 = NULL; }
2398 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2399 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2400 return NULL;
2401 }
2402 }
2403 {
2404 wxPy_BEGIN_ALLOW_THREADS;
2405 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
2406
2407 wxPy_END_ALLOW_THREADS;
2408 } if (_result) {
2409 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
2410 _resultobj = Py_BuildValue("s",_ptemp);
2411 } else {
2412 Py_INCREF(Py_None);
2413 _resultobj = Py_None;
2414 }
2415 return _resultobj;
2416 }
2417
2418 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2419 static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2420 PyObject * _resultobj;
2421 wxListItem * _result;
2422 wxListEvent * _arg0;
2423 PyObject * _argo0 = 0;
2424 char *_kwnames[] = { "self", NULL };
2425 char _ptemp[128];
2426
2427 self = self;
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
2429 return NULL;
2430 if (_argo0) {
2431 if (_argo0 == Py_None) { _arg0 = NULL; }
2432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2434 return NULL;
2435 }
2436 }
2437 {
2438 wxPy_BEGIN_ALLOW_THREADS;
2439 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
2440
2441 wxPy_END_ALLOW_THREADS;
2442 } if (_result) {
2443 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
2444 _resultobj = Py_BuildValue("s",_ptemp);
2445 } else {
2446 Py_INCREF(Py_None);
2447 _resultobj = Py_None;
2448 }
2449 return _resultobj;
2450 }
2451
2452 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2453 static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject * _resultobj;
2455 int _result;
2456 wxListEvent * _arg0;
2457 PyObject * _argo0 = 0;
2458 char *_kwnames[] = { "self", NULL };
2459
2460 self = self;
2461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
2462 return NULL;
2463 if (_argo0) {
2464 if (_argo0 == Py_None) { _arg0 = NULL; }
2465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2467 return NULL;
2468 }
2469 }
2470 {
2471 wxPy_BEGIN_ALLOW_THREADS;
2472 _result = (int )wxListEvent_GetCode(_arg0);
2473
2474 wxPy_END_ALLOW_THREADS;
2475 } _resultobj = Py_BuildValue("i",_result);
2476 return _resultobj;
2477 }
2478
2479 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2480 static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2481 PyObject * _resultobj;
2482 long _result;
2483 wxListEvent * _arg0;
2484 PyObject * _argo0 = 0;
2485 char *_kwnames[] = { "self", NULL };
2486
2487 self = self;
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
2489 return NULL;
2490 if (_argo0) {
2491 if (_argo0 == Py_None) { _arg0 = NULL; }
2492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2494 return NULL;
2495 }
2496 }
2497 {
2498 wxPy_BEGIN_ALLOW_THREADS;
2499 _result = (long )wxListEvent_GetIndex(_arg0);
2500
2501 wxPy_END_ALLOW_THREADS;
2502 } _resultobj = Py_BuildValue("l",_result);
2503 return _resultobj;
2504 }
2505
2506 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2507 static PyObject *_wrap_wxListEvent_GetOldIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject * _resultobj;
2509 long _result;
2510 wxListEvent * _arg0;
2511 PyObject * _argo0 = 0;
2512 char *_kwnames[] = { "self", NULL };
2513
2514 self = self;
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldIndex",_kwnames,&_argo0))
2516 return NULL;
2517 if (_argo0) {
2518 if (_argo0 == Py_None) { _arg0 = NULL; }
2519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2521 return NULL;
2522 }
2523 }
2524 {
2525 wxPy_BEGIN_ALLOW_THREADS;
2526 _result = (long )wxListEvent_GetOldIndex(_arg0);
2527
2528 wxPy_END_ALLOW_THREADS;
2529 } _resultobj = Py_BuildValue("l",_result);
2530 return _resultobj;
2531 }
2532
2533 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2534 static PyObject *_wrap_wxListEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2535 PyObject * _resultobj;
2536 long _result;
2537 wxListEvent * _arg0;
2538 PyObject * _argo0 = 0;
2539 char *_kwnames[] = { "self", NULL };
2540
2541 self = self;
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldItem",_kwnames,&_argo0))
2543 return NULL;
2544 if (_argo0) {
2545 if (_argo0 == Py_None) { _arg0 = NULL; }
2546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2548 return NULL;
2549 }
2550 }
2551 {
2552 wxPy_BEGIN_ALLOW_THREADS;
2553 _result = (long )wxListEvent_GetOldItem(_arg0);
2554
2555 wxPy_END_ALLOW_THREADS;
2556 } _resultobj = Py_BuildValue("l",_result);
2557 return _resultobj;
2558 }
2559
2560 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2561 static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2562 PyObject * _resultobj;
2563 int _result;
2564 wxListEvent * _arg0;
2565 PyObject * _argo0 = 0;
2566 char *_kwnames[] = { "self", NULL };
2567
2568 self = self;
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
2570 return NULL;
2571 if (_argo0) {
2572 if (_argo0 == Py_None) { _arg0 = NULL; }
2573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2575 return NULL;
2576 }
2577 }
2578 {
2579 wxPy_BEGIN_ALLOW_THREADS;
2580 _result = (int )wxListEvent_GetColumn(_arg0);
2581
2582 wxPy_END_ALLOW_THREADS;
2583 } _resultobj = Py_BuildValue("i",_result);
2584 return _resultobj;
2585 }
2586
2587 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2588 static PyObject *_wrap_wxListEvent_Cancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
2589 PyObject * _resultobj;
2590 bool _result;
2591 wxListEvent * _arg0;
2592 PyObject * _argo0 = 0;
2593 char *_kwnames[] = { "self", NULL };
2594
2595 self = self;
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_Cancelled",_kwnames,&_argo0))
2597 return NULL;
2598 if (_argo0) {
2599 if (_argo0 == Py_None) { _arg0 = NULL; }
2600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2602 return NULL;
2603 }
2604 }
2605 {
2606 wxPy_BEGIN_ALLOW_THREADS;
2607 _result = (bool )wxListEvent_Cancelled(_arg0);
2608
2609 wxPy_END_ALLOW_THREADS;
2610 } _resultobj = Py_BuildValue("i",_result);
2611 return _resultobj;
2612 }
2613
2614 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2615 static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2616 PyObject * _resultobj;
2617 wxPoint * _result;
2618 wxListEvent * _arg0;
2619 PyObject * _argo0 = 0;
2620 char *_kwnames[] = { "self", NULL };
2621 char _ptemp[128];
2622
2623 self = self;
2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
2625 return NULL;
2626 if (_argo0) {
2627 if (_argo0 == Py_None) { _arg0 = NULL; }
2628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2630 return NULL;
2631 }
2632 }
2633 {
2634 wxPy_BEGIN_ALLOW_THREADS;
2635 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
2636
2637 wxPy_END_ALLOW_THREADS;
2638 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2639 _resultobj = Py_BuildValue("s",_ptemp);
2640 return _resultobj;
2641 }
2642
2643 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2644 static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
2645 PyObject * _resultobj;
2646 wxString * _result;
2647 wxListEvent * _arg0;
2648 PyObject * _argo0 = 0;
2649 char *_kwnames[] = { "self", NULL };
2650
2651 self = self;
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
2653 return NULL;
2654 if (_argo0) {
2655 if (_argo0 == Py_None) { _arg0 = NULL; }
2656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2658 return NULL;
2659 }
2660 }
2661 {
2662 wxPy_BEGIN_ALLOW_THREADS;
2663 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
2664 _result = (wxString *) &_result_ref;
2665
2666 wxPy_END_ALLOW_THREADS;
2667 }{
2668 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2669 }
2670 return _resultobj;
2671 }
2672
2673 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2674 static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject * _resultobj;
2676 wxString * _result;
2677 wxListEvent * _arg0;
2678 PyObject * _argo0 = 0;
2679 char *_kwnames[] = { "self", NULL };
2680
2681 self = self;
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
2683 return NULL;
2684 if (_argo0) {
2685 if (_argo0 == Py_None) { _arg0 = NULL; }
2686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2688 return NULL;
2689 }
2690 }
2691 {
2692 wxPy_BEGIN_ALLOW_THREADS;
2693 const wxString & _result_ref = wxListEvent_GetText(_arg0);
2694 _result = (wxString *) &_result_ref;
2695
2696 wxPy_END_ALLOW_THREADS;
2697 }{
2698 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2699 }
2700 return _resultobj;
2701 }
2702
2703 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2704 static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2705 PyObject * _resultobj;
2706 int _result;
2707 wxListEvent * _arg0;
2708 PyObject * _argo0 = 0;
2709 char *_kwnames[] = { "self", NULL };
2710
2711 self = self;
2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
2713 return NULL;
2714 if (_argo0) {
2715 if (_argo0 == Py_None) { _arg0 = NULL; }
2716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2718 return NULL;
2719 }
2720 }
2721 {
2722 wxPy_BEGIN_ALLOW_THREADS;
2723 _result = (int )wxListEvent_GetImage(_arg0);
2724
2725 wxPy_END_ALLOW_THREADS;
2726 } _resultobj = Py_BuildValue("i",_result);
2727 return _resultobj;
2728 }
2729
2730 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2731 static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
2732 PyObject * _resultobj;
2733 long _result;
2734 wxListEvent * _arg0;
2735 PyObject * _argo0 = 0;
2736 char *_kwnames[] = { "self", NULL };
2737
2738 self = self;
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
2740 return NULL;
2741 if (_argo0) {
2742 if (_argo0 == Py_None) { _arg0 = NULL; }
2743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2745 return NULL;
2746 }
2747 }
2748 {
2749 wxPy_BEGIN_ALLOW_THREADS;
2750 _result = (long )wxListEvent_GetData(_arg0);
2751
2752 wxPy_END_ALLOW_THREADS;
2753 } _resultobj = Py_BuildValue("l",_result);
2754 return _resultobj;
2755 }
2756
2757 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2758 static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject * _resultobj;
2760 long _result;
2761 wxListEvent * _arg0;
2762 PyObject * _argo0 = 0;
2763 char *_kwnames[] = { "self", NULL };
2764
2765 self = self;
2766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
2767 return NULL;
2768 if (_argo0) {
2769 if (_argo0 == Py_None) { _arg0 = NULL; }
2770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2772 return NULL;
2773 }
2774 }
2775 {
2776 wxPy_BEGIN_ALLOW_THREADS;
2777 _result = (long )wxListEvent_GetMask(_arg0);
2778
2779 wxPy_END_ALLOW_THREADS;
2780 } _resultobj = Py_BuildValue("l",_result);
2781 return _resultobj;
2782 }
2783
2784 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2785 static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2786 PyObject * _resultobj;
2787 wxListItem * _result;
2788 wxListEvent * _arg0;
2789 PyObject * _argo0 = 0;
2790 char *_kwnames[] = { "self", NULL };
2791 char _ptemp[128];
2792
2793 self = self;
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
2795 return NULL;
2796 if (_argo0) {
2797 if (_argo0 == Py_None) { _arg0 = NULL; }
2798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2800 return NULL;
2801 }
2802 }
2803 {
2804 wxPy_BEGIN_ALLOW_THREADS;
2805 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
2806 _result = (wxListItem *) &_result_ref;
2807
2808 wxPy_END_ALLOW_THREADS;
2809 } if (_result) {
2810 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
2811 _resultobj = Py_BuildValue("s",_ptemp);
2812 } else {
2813 Py_INCREF(Py_None);
2814 _resultobj = Py_None;
2815 }
2816 return _resultobj;
2817 }
2818
2819 static void *SwigwxListCtrlTowxControl(void *ptr) {
2820 wxListCtrl *src;
2821 wxControl *dest;
2822 src = (wxListCtrl *) ptr;
2823 dest = (wxControl *) src;
2824 return (void *) dest;
2825 }
2826
2827 static void *SwigwxListCtrlTowxWindow(void *ptr) {
2828 wxListCtrl *src;
2829 wxWindow *dest;
2830 src = (wxListCtrl *) ptr;
2831 dest = (wxWindow *) src;
2832 return (void *) dest;
2833 }
2834
2835 static void *SwigwxListCtrlTowxEvtHandler(void *ptr) {
2836 wxListCtrl *src;
2837 wxEvtHandler *dest;
2838 src = (wxListCtrl *) ptr;
2839 dest = (wxEvtHandler *) src;
2840 return (void *) dest;
2841 }
2842
2843 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2844 static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2845 PyObject * _resultobj;
2846 wxListCtrl * _result;
2847 wxWindow * _arg0;
2848 wxWindowID _arg1;
2849 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
2850 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
2851 long _arg4 = (long ) wxLC_ICON;
2852 wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
2853 char * _arg6 = (char *) "listCtrl";
2854 PyObject * _argo0 = 0;
2855 wxPoint temp;
2856 PyObject * _obj2 = 0;
2857 wxSize temp0;
2858 PyObject * _obj3 = 0;
2859 PyObject * _argo5 = 0;
2860 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
2861 char _ptemp[128];
2862
2863 self = self;
2864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
2865 return NULL;
2866 if (_argo0) {
2867 if (_argo0 == Py_None) { _arg0 = NULL; }
2868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2870 return NULL;
2871 }
2872 }
2873 if (_obj2)
2874 {
2875 _arg2 = &temp;
2876 if (! wxPoint_helper(_obj2, &_arg2))
2877 return NULL;
2878 }
2879 if (_obj3)
2880 {
2881 _arg3 = &temp0;
2882 if (! wxSize_helper(_obj3, &_arg3))
2883 return NULL;
2884 }
2885 if (_argo5) {
2886 if (_argo5 == Py_None) { _arg5 = NULL; }
2887 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2889 return NULL;
2890 }
2891 }
2892 {
2893 wxPy_BEGIN_ALLOW_THREADS;
2894 _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
2895
2896 wxPy_END_ALLOW_THREADS;
2897 } if (_result) {
2898 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p");
2899 _resultobj = Py_BuildValue("s",_ptemp);
2900 } else {
2901 Py_INCREF(Py_None);
2902 _resultobj = Py_None;
2903 }
2904 return _resultobj;
2905 }
2906
2907 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2908 static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
2909 PyObject * _resultobj;
2910 bool _result;
2911 wxListCtrl * _arg0;
2912 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
2913 PyObject * _argo0 = 0;
2914 char *_kwnames[] = { "self","flag", NULL };
2915
2916 self = self;
2917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
2918 return NULL;
2919 if (_argo0) {
2920 if (_argo0 == Py_None) { _arg0 = NULL; }
2921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2923 return NULL;
2924 }
2925 }
2926 {
2927 wxPy_BEGIN_ALLOW_THREADS;
2928 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
2929
2930 wxPy_END_ALLOW_THREADS;
2931 } _resultobj = Py_BuildValue("i",_result);
2932 return _resultobj;
2933 }
2934
2935 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2936 static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2937 PyObject * _resultobj;
2938 bool _result;
2939 wxListCtrl * _arg0;
2940 long _arg1;
2941 PyObject * _argo0 = 0;
2942 char *_kwnames[] = { "self","item", NULL };
2943
2944 self = self;
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
2946 return NULL;
2947 if (_argo0) {
2948 if (_argo0 == Py_None) { _arg0 = NULL; }
2949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2951 return NULL;
2952 }
2953 }
2954 {
2955 wxPy_BEGIN_ALLOW_THREADS;
2956 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
2957
2958 wxPy_END_ALLOW_THREADS;
2959 } _resultobj = Py_BuildValue("i",_result);
2960 return _resultobj;
2961 }
2962
2963 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
2964 static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
2965 PyObject * _resultobj;
2966 bool _result;
2967 wxListCtrl * _arg0;
2968 PyObject * _argo0 = 0;
2969 char *_kwnames[] = { "self", NULL };
2970
2971 self = self;
2972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
2973 return NULL;
2974 if (_argo0) {
2975 if (_argo0 == Py_None) { _arg0 = NULL; }
2976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
2977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
2978 return NULL;
2979 }
2980 }
2981 {
2982 wxPy_BEGIN_ALLOW_THREADS;
2983 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
2984
2985 wxPy_END_ALLOW_THREADS;
2986 } _resultobj = Py_BuildValue("i",_result);
2987 return _resultobj;
2988 }
2989
2990 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
2991 static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2992 PyObject * _resultobj;
2993 bool _result;
2994 wxListCtrl * _arg0;
2995 int _arg1;
2996 PyObject * _argo0 = 0;
2997 char *_kwnames[] = { "self","col", NULL };
2998
2999 self = self;
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
3001 return NULL;
3002 if (_argo0) {
3003 if (_argo0 == Py_None) { _arg0 = NULL; }
3004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
3006 return NULL;
3007 }
3008 }
3009 {
3010 wxPy_BEGIN_ALLOW_THREADS;
3011 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
3012
3013 wxPy_END_ALLOW_THREADS;
3014 } _resultobj = Py_BuildValue("i",_result);
3015 return _resultobj;
3016 }
3017
3018 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
3019 static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
3020 PyObject * _resultobj;
3021 bool _result;
3022 wxListCtrl * _arg0;
3023 PyObject * _argo0 = 0;
3024 char *_kwnames[] = { "self", NULL };
3025
3026 self = self;
3027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
3028 return NULL;
3029 if (_argo0) {
3030 if (_argo0 == Py_None) { _arg0 = NULL; }
3031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3033 return NULL;
3034 }
3035 }
3036 {
3037 wxPy_BEGIN_ALLOW_THREADS;
3038 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
3039
3040 wxPy_END_ALLOW_THREADS;
3041 } _resultobj = Py_BuildValue("i",_result);
3042 return _resultobj;
3043 }
3044
3045 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3046 static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject * _resultobj;
3048 wxListCtrl * _arg0;
3049 PyObject * _argo0 = 0;
3050 char *_kwnames[] = { "self", NULL };
3051
3052 self = self;
3053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
3054 return NULL;
3055 if (_argo0) {
3056 if (_argo0 == Py_None) { _arg0 = NULL; }
3057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3059 return NULL;
3060 }
3061 }
3062 {
3063 wxPy_BEGIN_ALLOW_THREADS;
3064 wxListCtrl_ClearAll(_arg0);
3065
3066 wxPy_END_ALLOW_THREADS;
3067 } Py_INCREF(Py_None);
3068 _resultobj = Py_None;
3069 return _resultobj;
3070 }
3071
3072 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3073 static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject * _resultobj;
3075 wxListCtrl * _arg0;
3076 long _arg1;
3077 PyObject * _argo0 = 0;
3078 char *_kwnames[] = { "self","item", NULL };
3079
3080 self = self;
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
3082 return NULL;
3083 if (_argo0) {
3084 if (_argo0 == Py_None) { _arg0 = NULL; }
3085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3087 return NULL;
3088 }
3089 }
3090 {
3091 wxPy_BEGIN_ALLOW_THREADS;
3092 wxListCtrl_EditLabel(_arg0,_arg1);
3093
3094 wxPy_END_ALLOW_THREADS;
3095 } Py_INCREF(Py_None);
3096 _resultobj = Py_None;
3097 return _resultobj;
3098 }
3099
3100 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3101 static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3102 PyObject * _resultobj;
3103 bool _result;
3104 wxListCtrl * _arg0;
3105 long _arg1;
3106 PyObject * _argo0 = 0;
3107 char *_kwnames[] = { "self","item", NULL };
3108
3109 self = self;
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
3111 return NULL;
3112 if (_argo0) {
3113 if (_argo0 == Py_None) { _arg0 = NULL; }
3114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3116 return NULL;
3117 }
3118 }
3119 {
3120 wxPy_BEGIN_ALLOW_THREADS;
3121 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
3122
3123 wxPy_END_ALLOW_THREADS;
3124 } _resultobj = Py_BuildValue("i",_result);
3125 return _resultobj;
3126 }
3127
3128 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3129 static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3130 PyObject * _resultobj;
3131 long _result;
3132 wxListCtrl * _arg0;
3133 long _arg1;
3134 wxString * _arg2;
3135 bool _arg3 = (bool ) FALSE;
3136 PyObject * _argo0 = 0;
3137 PyObject * _obj2 = 0;
3138 int tempbool3 = (int) FALSE;
3139 char *_kwnames[] = { "self","start","str","partial", NULL };
3140
3141 self = self;
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
3143 return NULL;
3144 if (_argo0) {
3145 if (_argo0 == Py_None) { _arg0 = NULL; }
3146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3148 return NULL;
3149 }
3150 }
3151 {
3152 #if PYTHON_API_VERSION >= 1009
3153 char* tmpPtr; int tmpSize;
3154 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3155 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3156 return NULL;
3157 }
3158 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3159 return NULL;
3160 _arg2 = new wxString(tmpPtr, tmpSize);
3161 #else
3162 if (!PyString_Check(_obj2)) {
3163 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3164 return NULL;
3165 }
3166 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3167 #endif
3168 }
3169 _arg3 = (bool ) tempbool3;
3170 {
3171 wxPy_BEGIN_ALLOW_THREADS;
3172 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
3173
3174 wxPy_END_ALLOW_THREADS;
3175 } _resultobj = Py_BuildValue("l",_result);
3176 {
3177 if (_obj2)
3178 delete _arg2;
3179 }
3180 return _resultobj;
3181 }
3182
3183 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3184 static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject * _resultobj;
3186 long _result;
3187 wxListCtrl * _arg0;
3188 long _arg1;
3189 long _arg2;
3190 PyObject * _argo0 = 0;
3191 char *_kwnames[] = { "self","start","data", NULL };
3192
3193 self = self;
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
3195 return NULL;
3196 if (_argo0) {
3197 if (_argo0 == Py_None) { _arg0 = NULL; }
3198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3200 return NULL;
3201 }
3202 }
3203 {
3204 wxPy_BEGIN_ALLOW_THREADS;
3205 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
3206
3207 wxPy_END_ALLOW_THREADS;
3208 } _resultobj = Py_BuildValue("l",_result);
3209 return _resultobj;
3210 }
3211
3212 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3213 static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3214 PyObject * _resultobj;
3215 long _result;
3216 wxListCtrl * _arg0;
3217 long _arg1;
3218 wxPoint * _arg2;
3219 int _arg3;
3220 PyObject * _argo0 = 0;
3221 wxPoint temp;
3222 PyObject * _obj2 = 0;
3223 char *_kwnames[] = { "self","start","pt","direction", NULL };
3224
3225 self = self;
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
3227 return NULL;
3228 if (_argo0) {
3229 if (_argo0 == Py_None) { _arg0 = NULL; }
3230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3232 return NULL;
3233 }
3234 }
3235 {
3236 _arg2 = &temp;
3237 if (! wxPoint_helper(_obj2, &_arg2))
3238 return NULL;
3239 }
3240 {
3241 wxPy_BEGIN_ALLOW_THREADS;
3242 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
3243
3244 wxPy_END_ALLOW_THREADS;
3245 } _resultobj = Py_BuildValue("l",_result);
3246 return _resultobj;
3247 }
3248
3249 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3250 static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject * _resultobj;
3252 bool _result;
3253 wxListCtrl * _arg0;
3254 int _arg1;
3255 wxListItem * _arg2;
3256 PyObject * _argo0 = 0;
3257 PyObject * _argo2 = 0;
3258 char *_kwnames[] = { "self","col","item", NULL };
3259
3260 self = self;
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
3262 return NULL;
3263 if (_argo0) {
3264 if (_argo0 == Py_None) { _arg0 = NULL; }
3265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3267 return NULL;
3268 }
3269 }
3270 if (_argo2) {
3271 if (_argo2 == Py_None) { _arg2 = NULL; }
3272 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3273 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3274 return NULL;
3275 }
3276 }
3277 {
3278 wxPy_BEGIN_ALLOW_THREADS;
3279 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
3280
3281 wxPy_END_ALLOW_THREADS;
3282 } _resultobj = Py_BuildValue("i",_result);
3283 return _resultobj;
3284 }
3285
3286 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3287 static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject * _resultobj;
3289 int _result;
3290 wxListCtrl * _arg0;
3291 int _arg1;
3292 PyObject * _argo0 = 0;
3293 char *_kwnames[] = { "self","col", NULL };
3294
3295 self = self;
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
3297 return NULL;
3298 if (_argo0) {
3299 if (_argo0 == Py_None) { _arg0 = NULL; }
3300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3302 return NULL;
3303 }
3304 }
3305 {
3306 wxPy_BEGIN_ALLOW_THREADS;
3307 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
3308
3309 wxPy_END_ALLOW_THREADS;
3310 } _resultobj = Py_BuildValue("i",_result);
3311 return _resultobj;
3312 }
3313
3314 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3315 static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject * _resultobj;
3317 int _result;
3318 wxListCtrl * _arg0;
3319 PyObject * _argo0 = 0;
3320 char *_kwnames[] = { "self", NULL };
3321
3322 self = self;
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
3324 return NULL;
3325 if (_argo0) {
3326 if (_argo0 == Py_None) { _arg0 = NULL; }
3327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3329 return NULL;
3330 }
3331 }
3332 {
3333 wxPy_BEGIN_ALLOW_THREADS;
3334 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
3335
3336 wxPy_END_ALLOW_THREADS;
3337 } _resultobj = Py_BuildValue("i",_result);
3338 return _resultobj;
3339 }
3340
3341 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3342 static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3343 PyObject * _resultobj;
3344 wxImageList * _result;
3345 wxListCtrl * _arg0;
3346 int _arg1;
3347 PyObject * _argo0 = 0;
3348 char *_kwnames[] = { "self","which", NULL };
3349 char _ptemp[128];
3350
3351 self = self;
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
3353 return NULL;
3354 if (_argo0) {
3355 if (_argo0 == Py_None) { _arg0 = NULL; }
3356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3358 return NULL;
3359 }
3360 }
3361 {
3362 wxPy_BEGIN_ALLOW_THREADS;
3363 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
3364
3365 wxPy_END_ALLOW_THREADS;
3366 } if (_result) {
3367 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3368 _resultobj = Py_BuildValue("s",_ptemp);
3369 } else {
3370 Py_INCREF(Py_None);
3371 _resultobj = Py_None;
3372 }
3373 return _resultobj;
3374 }
3375
3376 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3377 static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject * _resultobj;
3379 long _result;
3380 wxListCtrl * _arg0;
3381 long _arg1;
3382 PyObject * _argo0 = 0;
3383 char *_kwnames[] = { "self","item", NULL };
3384
3385 self = self;
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
3387 return NULL;
3388 if (_argo0) {
3389 if (_argo0 == Py_None) { _arg0 = NULL; }
3390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3392 return NULL;
3393 }
3394 }
3395 {
3396 wxPy_BEGIN_ALLOW_THREADS;
3397 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
3398
3399 wxPy_END_ALLOW_THREADS;
3400 } _resultobj = Py_BuildValue("l",_result);
3401 return _resultobj;
3402 }
3403
3404 static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId,int col) {
3405 wxListItem* info = new wxListItem;
3406 info->m_itemId = itemId;
3407 info->m_col = col;
3408 info->m_mask = 0xFFFF;
3409 self->GetItem(*info);
3410 return info;
3411 }
3412 static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3413 PyObject * _resultobj;
3414 wxListItem * _result;
3415 wxListCtrl * _arg0;
3416 long _arg1;
3417 int _arg2 = (int ) 0;
3418 PyObject * _argo0 = 0;
3419 char *_kwnames[] = { "self","itemId","col", NULL };
3420 char _ptemp[128];
3421
3422 self = self;
3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
3424 return NULL;
3425 if (_argo0) {
3426 if (_argo0 == Py_None) { _arg0 = NULL; }
3427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3429 return NULL;
3430 }
3431 }
3432 {
3433 wxPy_BEGIN_ALLOW_THREADS;
3434 _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1,_arg2);
3435
3436 wxPy_END_ALLOW_THREADS;
3437 } if (_result) {
3438 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
3439 _resultobj = Py_BuildValue("s",_ptemp);
3440 } else {
3441 Py_INCREF(Py_None);
3442 _resultobj = Py_None;
3443 }
3444 return _resultobj;
3445 }
3446
3447 static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
3448 wxPoint* pos = new wxPoint;
3449 self->GetItemPosition(item, *pos);
3450 return pos;
3451 }
3452 static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject * _resultobj;
3454 wxPoint * _result;
3455 wxListCtrl * _arg0;
3456 long _arg1;
3457 PyObject * _argo0 = 0;
3458 char *_kwnames[] = { "self","item", NULL };
3459 char _ptemp[128];
3460
3461 self = self;
3462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
3463 return NULL;
3464 if (_argo0) {
3465 if (_argo0 == Py_None) { _arg0 = NULL; }
3466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3468 return NULL;
3469 }
3470 }
3471 {
3472 wxPy_BEGIN_ALLOW_THREADS;
3473 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
3474
3475 wxPy_END_ALLOW_THREADS;
3476 } if (_result) {
3477 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3478 _resultobj = Py_BuildValue("s",_ptemp);
3479 } else {
3480 Py_INCREF(Py_None);
3481 _resultobj = Py_None;
3482 }
3483 return _resultobj;
3484 }
3485
3486 static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
3487 wxRect* rect= new wxRect;
3488 self->GetItemRect(item, *rect, code);
3489 return rect;
3490 }
3491 static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3492 PyObject * _resultobj;
3493 wxRect * _result;
3494 wxListCtrl * _arg0;
3495 long _arg1;
3496 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3497 PyObject * _argo0 = 0;
3498 char *_kwnames[] = { "self","item","code", NULL };
3499 char _ptemp[128];
3500
3501 self = self;
3502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
3503 return NULL;
3504 if (_argo0) {
3505 if (_argo0 == Py_None) { _arg0 = NULL; }
3506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3508 return NULL;
3509 }
3510 }
3511 {
3512 wxPy_BEGIN_ALLOW_THREADS;
3513 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
3514
3515 wxPy_END_ALLOW_THREADS;
3516 } if (_result) {
3517 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3518 _resultobj = Py_BuildValue("s",_ptemp);
3519 } else {
3520 Py_INCREF(Py_None);
3521 _resultobj = Py_None;
3522 }
3523 return _resultobj;
3524 }
3525
3526 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3527 static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
3528 PyObject * _resultobj;
3529 int _result;
3530 wxListCtrl * _arg0;
3531 long _arg1;
3532 long _arg2;
3533 PyObject * _argo0 = 0;
3534 char *_kwnames[] = { "self","item","stateMask", NULL };
3535
3536 self = self;
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
3538 return NULL;
3539 if (_argo0) {
3540 if (_argo0 == Py_None) { _arg0 = NULL; }
3541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3543 return NULL;
3544 }
3545 }
3546 {
3547 wxPy_BEGIN_ALLOW_THREADS;
3548 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
3549
3550 wxPy_END_ALLOW_THREADS;
3551 } _resultobj = Py_BuildValue("i",_result);
3552 return _resultobj;
3553 }
3554
3555 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3556 static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject * _resultobj;
3558 int _result;
3559 wxListCtrl * _arg0;
3560 PyObject * _argo0 = 0;
3561 char *_kwnames[] = { "self", NULL };
3562
3563 self = self;
3564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
3565 return NULL;
3566 if (_argo0) {
3567 if (_argo0 == Py_None) { _arg0 = NULL; }
3568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3570 return NULL;
3571 }
3572 }
3573 {
3574 wxPy_BEGIN_ALLOW_THREADS;
3575 _result = (int )wxListCtrl_GetItemCount(_arg0);
3576
3577 wxPy_END_ALLOW_THREADS;
3578 } _resultobj = Py_BuildValue("i",_result);
3579 return _resultobj;
3580 }
3581
3582 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3583 static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject * _resultobj;
3585 int _result;
3586 wxListCtrl * _arg0;
3587 bool _arg1;
3588 PyObject * _argo0 = 0;
3589 int tempbool1;
3590 char *_kwnames[] = { "self","isSmall", NULL };
3591
3592 self = self;
3593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
3594 return NULL;
3595 if (_argo0) {
3596 if (_argo0 == Py_None) { _arg0 = NULL; }
3597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3599 return NULL;
3600 }
3601 }
3602 _arg1 = (bool ) tempbool1;
3603 {
3604 wxPy_BEGIN_ALLOW_THREADS;
3605 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
3606
3607 wxPy_END_ALLOW_THREADS;
3608 } _resultobj = Py_BuildValue("i",_result);
3609 return _resultobj;
3610 }
3611
3612 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3613 static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3614 PyObject * _resultobj;
3615 wxString * _result;
3616 wxListCtrl * _arg0;
3617 long _arg1;
3618 PyObject * _argo0 = 0;
3619 char *_kwnames[] = { "self","item", NULL };
3620
3621 self = self;
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
3623 return NULL;
3624 if (_argo0) {
3625 if (_argo0 == Py_None) { _arg0 = NULL; }
3626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3628 return NULL;
3629 }
3630 }
3631 {
3632 wxPy_BEGIN_ALLOW_THREADS;
3633 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
3634
3635 wxPy_END_ALLOW_THREADS;
3636 }{
3637 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3638 }
3639 {
3640 delete _result;
3641 }
3642 return _resultobj;
3643 }
3644
3645 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3646 static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject * _resultobj;
3648 long _result;
3649 wxListCtrl * _arg0;
3650 long _arg1;
3651 int _arg2 = (int ) (wxLIST_NEXT_ALL);
3652 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
3653 PyObject * _argo0 = 0;
3654 char *_kwnames[] = { "self","item","geometry","state", NULL };
3655
3656 self = self;
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3658 return NULL;
3659 if (_argo0) {
3660 if (_argo0 == Py_None) { _arg0 = NULL; }
3661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3663 return NULL;
3664 }
3665 }
3666 {
3667 wxPy_BEGIN_ALLOW_THREADS;
3668 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
3669
3670 wxPy_END_ALLOW_THREADS;
3671 } _resultobj = Py_BuildValue("l",_result);
3672 return _resultobj;
3673 }
3674
3675 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3676 static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject * _resultobj;
3678 int _result;
3679 wxListCtrl * _arg0;
3680 PyObject * _argo0 = 0;
3681 char *_kwnames[] = { "self", NULL };
3682
3683 self = self;
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
3685 return NULL;
3686 if (_argo0) {
3687 if (_argo0 == Py_None) { _arg0 = NULL; }
3688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3690 return NULL;
3691 }
3692 }
3693 {
3694 wxPy_BEGIN_ALLOW_THREADS;
3695 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
3696
3697 wxPy_END_ALLOW_THREADS;
3698 } _resultobj = Py_BuildValue("i",_result);
3699 return _resultobj;
3700 }
3701
3702 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3703 static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3704 PyObject * _resultobj;
3705 long _result;
3706 wxListCtrl * _arg0;
3707 PyObject * _argo0 = 0;
3708 char *_kwnames[] = { "self", NULL };
3709
3710 self = self;
3711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
3712 return NULL;
3713 if (_argo0) {
3714 if (_argo0 == Py_None) { _arg0 = NULL; }
3715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3717 return NULL;
3718 }
3719 }
3720 {
3721 wxPy_BEGIN_ALLOW_THREADS;
3722 _result = (long )wxListCtrl_GetTopItem(_arg0);
3723
3724 wxPy_END_ALLOW_THREADS;
3725 } _resultobj = Py_BuildValue("l",_result);
3726 return _resultobj;
3727 }
3728
3729 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3730 static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject * _resultobj;
3732 long _result;
3733 wxListCtrl * _arg0;
3734 wxPoint * _arg1;
3735 int * _arg2;
3736 int temp;
3737 PyObject * _argo0 = 0;
3738 wxPoint temp0;
3739 PyObject * _obj1 = 0;
3740 char *_kwnames[] = { "self","point", NULL };
3741
3742 self = self;
3743 {
3744 _arg2 = &temp;
3745 }
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
3747 return NULL;
3748 if (_argo0) {
3749 if (_argo0 == Py_None) { _arg0 = NULL; }
3750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3752 return NULL;
3753 }
3754 }
3755 {
3756 _arg1 = &temp0;
3757 if (! wxPoint_helper(_obj1, &_arg1))
3758 return NULL;
3759 }
3760 {
3761 wxPy_BEGIN_ALLOW_THREADS;
3762 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
3763
3764 wxPy_END_ALLOW_THREADS;
3765 } _resultobj = Py_BuildValue("l",_result);
3766 {
3767 PyObject *o;
3768 o = PyInt_FromLong((long) (*_arg2));
3769 _resultobj = t_output_helper(_resultobj, o);
3770 }
3771 return _resultobj;
3772 }
3773
3774 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3775 static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3776 PyObject * _resultobj;
3777 long _result;
3778 wxListCtrl * _arg0;
3779 long _arg1;
3780 wxListItem * _arg2;
3781 PyObject * _argo0 = 0;
3782 PyObject * _argo2 = 0;
3783 char *_kwnames[] = { "self","col","info", NULL };
3784
3785 self = self;
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
3787 return NULL;
3788 if (_argo0) {
3789 if (_argo0 == Py_None) { _arg0 = NULL; }
3790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
3792 return NULL;
3793 }
3794 }
3795 if (_argo2) {
3796 if (_argo2 == Py_None) { _arg2 = NULL; }
3797 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3798 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
3799 return NULL;
3800 }
3801 }
3802 {
3803 wxPy_BEGIN_ALLOW_THREADS;
3804 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
3805
3806 wxPy_END_ALLOW_THREADS;
3807 } _resultobj = Py_BuildValue("l",_result);
3808 return _resultobj;
3809 }
3810
3811 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3812 static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3813 PyObject * _resultobj;
3814 long _result;
3815 wxListCtrl * _arg0;
3816 long _arg1;
3817 wxString * _arg2;
3818 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
3819 int _arg4 = (int ) -1;
3820 PyObject * _argo0 = 0;
3821 PyObject * _obj2 = 0;
3822 char *_kwnames[] = { "self","col","heading","format","width", NULL };
3823
3824 self = self;
3825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
3826 return NULL;
3827 if (_argo0) {
3828 if (_argo0 == Py_None) { _arg0 = NULL; }
3829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
3831 return NULL;
3832 }
3833 }
3834 {
3835 #if PYTHON_API_VERSION >= 1009
3836 char* tmpPtr; int tmpSize;
3837 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3838 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3839 return NULL;
3840 }
3841 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3842 return NULL;
3843 _arg2 = new wxString(tmpPtr, tmpSize);
3844 #else
3845 if (!PyString_Check(_obj2)) {
3846 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3847 return NULL;
3848 }
3849 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3850 #endif
3851 }
3852 {
3853 wxPy_BEGIN_ALLOW_THREADS;
3854 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
3855
3856 wxPy_END_ALLOW_THREADS;
3857 } _resultobj = Py_BuildValue("l",_result);
3858 {
3859 if (_obj2)
3860 delete _arg2;
3861 }
3862 return _resultobj;
3863 }
3864
3865 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
3866 static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3867 PyObject * _resultobj;
3868 long _result;
3869 wxListCtrl * _arg0;
3870 wxListItem * _arg1;
3871 PyObject * _argo0 = 0;
3872 PyObject * _argo1 = 0;
3873 char *_kwnames[] = { "self","info", NULL };
3874
3875 self = self;
3876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
3877 return NULL;
3878 if (_argo0) {
3879 if (_argo0 == Py_None) { _arg0 = NULL; }
3880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
3882 return NULL;
3883 }
3884 }
3885 if (_argo1) {
3886 if (_argo1 == Py_None) { _arg1 = NULL; }
3887 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3888 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
3889 return NULL;
3890 }
3891 }
3892 {
3893 wxPy_BEGIN_ALLOW_THREADS;
3894 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
3895
3896 wxPy_END_ALLOW_THREADS;
3897 } _resultobj = Py_BuildValue("l",_result);
3898 return _resultobj;
3899 }
3900
3901 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3902 static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject * _resultobj;
3904 long _result;
3905 wxListCtrl * _arg0;
3906 long _arg1;
3907 wxString * _arg2;
3908 PyObject * _argo0 = 0;
3909 PyObject * _obj2 = 0;
3910 char *_kwnames[] = { "self","index","label", NULL };
3911
3912 self = self;
3913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
3914 return NULL;
3915 if (_argo0) {
3916 if (_argo0 == Py_None) { _arg0 = NULL; }
3917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
3919 return NULL;
3920 }
3921 }
3922 {
3923 #if PYTHON_API_VERSION >= 1009
3924 char* tmpPtr; int tmpSize;
3925 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3926 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3927 return NULL;
3928 }
3929 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3930 return NULL;
3931 _arg2 = new wxString(tmpPtr, tmpSize);
3932 #else
3933 if (!PyString_Check(_obj2)) {
3934 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3935 return NULL;
3936 }
3937 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3938 #endif
3939 }
3940 {
3941 wxPy_BEGIN_ALLOW_THREADS;
3942 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
3943
3944 wxPy_END_ALLOW_THREADS;
3945 } _resultobj = Py_BuildValue("l",_result);
3946 {
3947 if (_obj2)
3948 delete _arg2;
3949 }
3950 return _resultobj;
3951 }
3952
3953 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3954 static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3955 PyObject * _resultobj;
3956 long _result;
3957 wxListCtrl * _arg0;
3958 long _arg1;
3959 int _arg2;
3960 PyObject * _argo0 = 0;
3961 char *_kwnames[] = { "self","index","imageIndex", NULL };
3962
3963 self = self;
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
3965 return NULL;
3966 if (_argo0) {
3967 if (_argo0 == Py_None) { _arg0 = NULL; }
3968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
3970 return NULL;
3971 }
3972 }
3973 {
3974 wxPy_BEGIN_ALLOW_THREADS;
3975 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
3976
3977 wxPy_END_ALLOW_THREADS;
3978 } _resultobj = Py_BuildValue("l",_result);
3979 return _resultobj;
3980 }
3981
3982 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
3983 static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3984 PyObject * _resultobj;
3985 long _result;
3986 wxListCtrl * _arg0;
3987 long _arg1;
3988 wxString * _arg2;
3989 int _arg3;
3990 PyObject * _argo0 = 0;
3991 PyObject * _obj2 = 0;
3992 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
3993
3994 self = self;
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
3996 return NULL;
3997 if (_argo0) {
3998 if (_argo0 == Py_None) { _arg0 = NULL; }
3999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
4001 return NULL;
4002 }
4003 }
4004 {
4005 #if PYTHON_API_VERSION >= 1009
4006 char* tmpPtr; int tmpSize;
4007 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4008 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4009 return NULL;
4010 }
4011 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4012 return NULL;
4013 _arg2 = new wxString(tmpPtr, tmpSize);
4014 #else
4015 if (!PyString_Check(_obj2)) {
4016 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4017 return NULL;
4018 }
4019 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4020 #endif
4021 }
4022 {
4023 wxPy_BEGIN_ALLOW_THREADS;
4024 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
4025
4026 wxPy_END_ALLOW_THREADS;
4027 } _resultobj = Py_BuildValue("l",_result);
4028 {
4029 if (_obj2)
4030 delete _arg2;
4031 }
4032 return _resultobj;
4033 }
4034
4035 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4036 static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
4037 PyObject * _resultobj;
4038 bool _result;
4039 wxListCtrl * _arg0;
4040 int _arg1;
4041 int _arg2;
4042 PyObject * _argo0 = 0;
4043 char *_kwnames[] = { "self","dx","dy", NULL };
4044
4045 self = self;
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
4047 return NULL;
4048 if (_argo0) {
4049 if (_argo0 == Py_None) { _arg0 = NULL; }
4050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4052 return NULL;
4053 }
4054 }
4055 {
4056 wxPy_BEGIN_ALLOW_THREADS;
4057 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
4058
4059 wxPy_END_ALLOW_THREADS;
4060 } _resultobj = Py_BuildValue("i",_result);
4061 return _resultobj;
4062 }
4063
4064 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4065 static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject * _resultobj;
4067 wxListCtrl * _arg0;
4068 wxColour * _arg1;
4069 PyObject * _argo0 = 0;
4070 wxColour temp;
4071 PyObject * _obj1 = 0;
4072 char *_kwnames[] = { "self","col", NULL };
4073
4074 self = self;
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
4076 return NULL;
4077 if (_argo0) {
4078 if (_argo0 == Py_None) { _arg0 = NULL; }
4079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4081 return NULL;
4082 }
4083 }
4084 {
4085 _arg1 = &temp;
4086 if (! wxColour_helper(_obj1, &_arg1))
4087 return NULL;
4088 }
4089 {
4090 wxPy_BEGIN_ALLOW_THREADS;
4091 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
4092
4093 wxPy_END_ALLOW_THREADS;
4094 } Py_INCREF(Py_None);
4095 _resultobj = Py_None;
4096 return _resultobj;
4097 }
4098
4099 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4100 static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4101 PyObject * _resultobj;
4102 bool _result;
4103 wxListCtrl * _arg0;
4104 int _arg1;
4105 wxListItem * _arg2;
4106 PyObject * _argo0 = 0;
4107 PyObject * _argo2 = 0;
4108 char *_kwnames[] = { "self","col","item", NULL };
4109
4110 self = self;
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
4112 return NULL;
4113 if (_argo0) {
4114 if (_argo0 == Py_None) { _arg0 = NULL; }
4115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4117 return NULL;
4118 }
4119 }
4120 if (_argo2) {
4121 if (_argo2 == Py_None) { _arg2 = NULL; }
4122 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4123 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4124 return NULL;
4125 }
4126 }
4127 {
4128 wxPy_BEGIN_ALLOW_THREADS;
4129 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
4130
4131 wxPy_END_ALLOW_THREADS;
4132 } _resultobj = Py_BuildValue("i",_result);
4133 return _resultobj;
4134 }
4135
4136 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4137 static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4138 PyObject * _resultobj;
4139 bool _result;
4140 wxListCtrl * _arg0;
4141 int _arg1;
4142 int _arg2;
4143 PyObject * _argo0 = 0;
4144 char *_kwnames[] = { "self","col","width", NULL };
4145
4146 self = self;
4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
4148 return NULL;
4149 if (_argo0) {
4150 if (_argo0 == Py_None) { _arg0 = NULL; }
4151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4153 return NULL;
4154 }
4155 }
4156 {
4157 wxPy_BEGIN_ALLOW_THREADS;
4158 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
4159
4160 wxPy_END_ALLOW_THREADS;
4161 } _resultobj = Py_BuildValue("i",_result);
4162 return _resultobj;
4163 }
4164
4165 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4166 static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4167 PyObject * _resultobj;
4168 wxListCtrl * _arg0;
4169 wxImageList * _arg1;
4170 int _arg2;
4171 PyObject * _argo0 = 0;
4172 PyObject * _argo1 = 0;
4173 char *_kwnames[] = { "self","imageList","which", NULL };
4174
4175 self = self;
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
4177 return NULL;
4178 if (_argo0) {
4179 if (_argo0 == Py_None) { _arg0 = NULL; }
4180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4182 return NULL;
4183 }
4184 }
4185 if (_argo1) {
4186 if (_argo1 == Py_None) { _arg1 = NULL; }
4187 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4188 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4189 return NULL;
4190 }
4191 }
4192 {
4193 wxPy_BEGIN_ALLOW_THREADS;
4194 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
4195
4196 wxPy_END_ALLOW_THREADS;
4197 } Py_INCREF(Py_None);
4198 _resultobj = Py_None;
4199 return _resultobj;
4200 }
4201
4202 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4203 static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4204 PyObject * _resultobj;
4205 bool _result;
4206 wxListCtrl * _arg0;
4207 wxListItem * _arg1;
4208 PyObject * _argo0 = 0;
4209 PyObject * _argo1 = 0;
4210 char *_kwnames[] = { "self","info", NULL };
4211
4212 self = self;
4213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
4214 return NULL;
4215 if (_argo0) {
4216 if (_argo0 == Py_None) { _arg0 = NULL; }
4217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4219 return NULL;
4220 }
4221 }
4222 if (_argo1) {
4223 if (_argo1 == Py_None) { _arg1 = NULL; }
4224 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
4225 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4226 return NULL;
4227 }
4228 }
4229 {
4230 wxPy_BEGIN_ALLOW_THREADS;
4231 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
4232
4233 wxPy_END_ALLOW_THREADS;
4234 } _resultobj = Py_BuildValue("i",_result);
4235 return _resultobj;
4236 }
4237
4238 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4239 static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4240 PyObject * _resultobj;
4241 long _result;
4242 wxListCtrl * _arg0;
4243 long _arg1;
4244 int _arg2;
4245 wxString * _arg3;
4246 int _arg4 = (int ) -1;
4247 PyObject * _argo0 = 0;
4248 PyObject * _obj3 = 0;
4249 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
4250
4251 self = self;
4252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
4253 return NULL;
4254 if (_argo0) {
4255 if (_argo0 == Py_None) { _arg0 = NULL; }
4256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4258 return NULL;
4259 }
4260 }
4261 {
4262 #if PYTHON_API_VERSION >= 1009
4263 char* tmpPtr; int tmpSize;
4264 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4265 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4266 return NULL;
4267 }
4268 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4269 return NULL;
4270 _arg3 = new wxString(tmpPtr, tmpSize);
4271 #else
4272 if (!PyString_Check(_obj3)) {
4273 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4274 return NULL;
4275 }
4276 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4277 #endif
4278 }
4279 {
4280 wxPy_BEGIN_ALLOW_THREADS;
4281 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
4282
4283 wxPy_END_ALLOW_THREADS;
4284 } _resultobj = Py_BuildValue("l",_result);
4285 {
4286 if (_obj3)
4287 delete _arg3;
4288 }
4289 return _resultobj;
4290 }
4291
4292 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4293 static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
4294 PyObject * _resultobj;
4295 bool _result;
4296 wxListCtrl * _arg0;
4297 long _arg1;
4298 long _arg2;
4299 PyObject * _argo0 = 0;
4300 char *_kwnames[] = { "self","item","data", NULL };
4301
4302 self = self;
4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
4304 return NULL;
4305 if (_argo0) {
4306 if (_argo0 == Py_None) { _arg0 = NULL; }
4307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4309 return NULL;
4310 }
4311 }
4312 {
4313 wxPy_BEGIN_ALLOW_THREADS;
4314 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
4315
4316 wxPy_END_ALLOW_THREADS;
4317 } _resultobj = Py_BuildValue("i",_result);
4318 return _resultobj;
4319 }
4320
4321 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4322 static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject * _resultobj;
4324 bool _result;
4325 wxListCtrl * _arg0;
4326 long _arg1;
4327 int _arg2;
4328 int _arg3;
4329 PyObject * _argo0 = 0;
4330 char *_kwnames[] = { "self","item","image","selImage", NULL };
4331
4332 self = self;
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4334 return NULL;
4335 if (_argo0) {
4336 if (_argo0 == Py_None) { _arg0 = NULL; }
4337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4339 return NULL;
4340 }
4341 }
4342 {
4343 wxPy_BEGIN_ALLOW_THREADS;
4344 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
4345
4346 wxPy_END_ALLOW_THREADS;
4347 } _resultobj = Py_BuildValue("i",_result);
4348 return _resultobj;
4349 }
4350
4351 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4352 static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4353 PyObject * _resultobj;
4354 bool _result;
4355 wxListCtrl * _arg0;
4356 long _arg1;
4357 wxPoint * _arg2;
4358 PyObject * _argo0 = 0;
4359 wxPoint temp;
4360 PyObject * _obj2 = 0;
4361 char *_kwnames[] = { "self","item","pos", NULL };
4362
4363 self = self;
4364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
4365 return NULL;
4366 if (_argo0) {
4367 if (_argo0 == Py_None) { _arg0 = NULL; }
4368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4370 return NULL;
4371 }
4372 }
4373 {
4374 _arg2 = &temp;
4375 if (! wxPoint_helper(_obj2, &_arg2))
4376 return NULL;
4377 }
4378 {
4379 wxPy_BEGIN_ALLOW_THREADS;
4380 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
4381
4382 wxPy_END_ALLOW_THREADS;
4383 } _resultobj = Py_BuildValue("i",_result);
4384 return _resultobj;
4385 }
4386
4387 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4388 static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
4389 PyObject * _resultobj;
4390 bool _result;
4391 wxListCtrl * _arg0;
4392 long _arg1;
4393 long _arg2;
4394 long _arg3;
4395 PyObject * _argo0 = 0;
4396 char *_kwnames[] = { "self","item","state","stateMask", NULL };
4397
4398 self = self;
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4400 return NULL;
4401 if (_argo0) {
4402 if (_argo0 == Py_None) { _arg0 = NULL; }
4403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4405 return NULL;
4406 }
4407 }
4408 {
4409 wxPy_BEGIN_ALLOW_THREADS;
4410 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
4411
4412 wxPy_END_ALLOW_THREADS;
4413 } _resultobj = Py_BuildValue("i",_result);
4414 return _resultobj;
4415 }
4416
4417 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4418 static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
4419 PyObject * _resultobj;
4420 wxListCtrl * _arg0;
4421 long _arg1;
4422 wxString * _arg2;
4423 PyObject * _argo0 = 0;
4424 PyObject * _obj2 = 0;
4425 char *_kwnames[] = { "self","item","text", NULL };
4426
4427 self = self;
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
4429 return NULL;
4430 if (_argo0) {
4431 if (_argo0 == Py_None) { _arg0 = NULL; }
4432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4434 return NULL;
4435 }
4436 }
4437 {
4438 #if PYTHON_API_VERSION >= 1009
4439 char* tmpPtr; int tmpSize;
4440 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4441 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4442 return NULL;
4443 }
4444 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4445 return NULL;
4446 _arg2 = new wxString(tmpPtr, tmpSize);
4447 #else
4448 if (!PyString_Check(_obj2)) {
4449 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4450 return NULL;
4451 }
4452 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4453 #endif
4454 }
4455 {
4456 wxPy_BEGIN_ALLOW_THREADS;
4457 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
4458
4459 wxPy_END_ALLOW_THREADS;
4460 } Py_INCREF(Py_None);
4461 _resultobj = Py_None;
4462 {
4463 if (_obj2)
4464 delete _arg2;
4465 }
4466 return _resultobj;
4467 }
4468
4469 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4470 static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4471 PyObject * _resultobj;
4472 wxListCtrl * _arg0;
4473 long _arg1;
4474 bool _arg2 = (bool ) TRUE;
4475 PyObject * _argo0 = 0;
4476 int tempbool2 = (int) TRUE;
4477 char *_kwnames[] = { "self","style","add", NULL };
4478
4479 self = self;
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
4481 return NULL;
4482 if (_argo0) {
4483 if (_argo0 == Py_None) { _arg0 = NULL; }
4484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4486 return NULL;
4487 }
4488 }
4489 _arg2 = (bool ) tempbool2;
4490 {
4491 wxPy_BEGIN_ALLOW_THREADS;
4492 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
4493
4494 wxPy_END_ALLOW_THREADS;
4495 } Py_INCREF(Py_None);
4496 _resultobj = Py_None;
4497 return _resultobj;
4498 }
4499
4500 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4501 static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject * _resultobj;
4503 wxListCtrl * _arg0;
4504 long _arg1;
4505 PyObject * _argo0 = 0;
4506 char *_kwnames[] = { "self","style", NULL };
4507
4508 self = self;
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
4510 return NULL;
4511 if (_argo0) {
4512 if (_argo0 == Py_None) { _arg0 = NULL; }
4513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4515 return NULL;
4516 }
4517 }
4518 {
4519 wxPy_BEGIN_ALLOW_THREADS;
4520 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
4521
4522 wxPy_END_ALLOW_THREADS;
4523 } Py_INCREF(Py_None);
4524 _resultobj = Py_None;
4525 return _resultobj;
4526 }
4527
4528 static bool wxListCtrl_SortItems(wxListCtrl *self,PyObject * func) {
4529 if (!PyCallable_Check(func))
4530 return FALSE;
4531
4532 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
4533 }
4534 static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject * _resultobj;
4536 bool _result;
4537 wxListCtrl * _arg0;
4538 PyObject * _arg1;
4539 PyObject * _argo0 = 0;
4540 PyObject * _obj1 = 0;
4541 char *_kwnames[] = { "self","func", NULL };
4542
4543 self = self;
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
4545 return NULL;
4546 if (_argo0) {
4547 if (_argo0 == Py_None) { _arg0 = NULL; }
4548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4550 return NULL;
4551 }
4552 }
4553 {
4554 _arg1 = _obj1;
4555 }
4556 {
4557 wxPy_BEGIN_ALLOW_THREADS;
4558 _result = (bool )wxListCtrl_SortItems(_arg0,_arg1);
4559
4560 wxPy_END_ALLOW_THREADS;
4561 } _resultobj = Py_BuildValue("i",_result);
4562 return _resultobj;
4563 }
4564
4565 #define new_wxTreeItemId() (new wxTreeItemId())
4566 static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
4567 PyObject * _resultobj;
4568 wxTreeItemId * _result;
4569 char *_kwnames[] = { NULL };
4570 char _ptemp[128];
4571
4572 self = self;
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
4574 return NULL;
4575 {
4576 wxPy_BEGIN_ALLOW_THREADS;
4577 _result = (wxTreeItemId *)new_wxTreeItemId();
4578
4579 wxPy_END_ALLOW_THREADS;
4580 } if (_result) {
4581 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
4582 _resultobj = Py_BuildValue("s",_ptemp);
4583 } else {
4584 Py_INCREF(Py_None);
4585 _resultobj = Py_None;
4586 }
4587 return _resultobj;
4588 }
4589
4590 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4591 static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
4592 PyObject * _resultobj;
4593 wxTreeItemId * _arg0;
4594 PyObject * _argo0 = 0;
4595 char *_kwnames[] = { "self", NULL };
4596
4597 self = self;
4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
4599 return NULL;
4600 if (_argo0) {
4601 if (_argo0 == Py_None) { _arg0 = NULL; }
4602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
4603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4604 return NULL;
4605 }
4606 }
4607 {
4608 wxPy_BEGIN_ALLOW_THREADS;
4609 delete_wxTreeItemId(_arg0);
4610
4611 wxPy_END_ALLOW_THREADS;
4612 } Py_INCREF(Py_None);
4613 _resultobj = Py_None;
4614 return _resultobj;
4615 }
4616
4617 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4618 static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4619 PyObject * _resultobj;
4620 bool _result;
4621 wxTreeItemId * _arg0;
4622 PyObject * _argo0 = 0;
4623 char *_kwnames[] = { "self", NULL };
4624
4625 self = self;
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
4627 return NULL;
4628 if (_argo0) {
4629 if (_argo0 == Py_None) { _arg0 = NULL; }
4630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
4631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4632 return NULL;
4633 }
4634 }
4635 {
4636 wxPy_BEGIN_ALLOW_THREADS;
4637 _result = (bool )wxTreeItemId_IsOk(_arg0);
4638
4639 wxPy_END_ALLOW_THREADS;
4640 } _resultobj = Py_BuildValue("i",_result);
4641 return _resultobj;
4642 }
4643
4644 static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
4645 if (! other) return -1;
4646 return *self != *other;
4647 }
4648 static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
4649 PyObject * _resultobj;
4650 int _result;
4651 wxTreeItemId * _arg0;
4652 wxTreeItemId * _arg1;
4653 PyObject * _argo0 = 0;
4654 PyObject * _argo1 = 0;
4655 char *_kwnames[] = { "self","other", NULL };
4656
4657 self = self;
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
4659 return NULL;
4660 if (_argo0) {
4661 if (_argo0 == Py_None) { _arg0 = NULL; }
4662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
4663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4664 return NULL;
4665 }
4666 }
4667 if (_argo1) {
4668 if (_argo1 == Py_None) { _arg1 = NULL; }
4669 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4670 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4671 return NULL;
4672 }
4673 }
4674 {
4675 wxPy_BEGIN_ALLOW_THREADS;
4676 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
4677
4678 wxPy_END_ALLOW_THREADS;
4679 } _resultobj = Py_BuildValue("i",_result);
4680 return _resultobj;
4681 }
4682
4683 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4684 static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
4685 PyObject * _resultobj;
4686 wxPyTreeItemData * _result;
4687 PyObject * _arg0 = (PyObject *) NULL;
4688 PyObject * _obj0 = 0;
4689 char *_kwnames[] = { "obj", NULL };
4690 char _ptemp[128];
4691
4692 self = self;
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
4694 return NULL;
4695 if (_obj0)
4696 {
4697 _arg0 = _obj0;
4698 }
4699 {
4700 wxPy_BEGIN_ALLOW_THREADS;
4701 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
4702
4703 wxPy_END_ALLOW_THREADS;
4704 } if (_result) {
4705 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
4706 _resultobj = Py_BuildValue("s",_ptemp);
4707 } else {
4708 Py_INCREF(Py_None);
4709 _resultobj = Py_None;
4710 }
4711 return _resultobj;
4712 }
4713
4714 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4715 static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
4716 PyObject * _resultobj;
4717 PyObject * _result;
4718 wxPyTreeItemData * _arg0;
4719 PyObject * _argo0 = 0;
4720 char *_kwnames[] = { "self", NULL };
4721
4722 self = self;
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
4724 return NULL;
4725 if (_argo0) {
4726 if (_argo0 == Py_None) { _arg0 = NULL; }
4727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
4728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4729 return NULL;
4730 }
4731 }
4732 {
4733 wxPy_BEGIN_ALLOW_THREADS;
4734 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
4735
4736 wxPy_END_ALLOW_THREADS;
4737 }{
4738 _resultobj = _result;
4739 }
4740 return _resultobj;
4741 }
4742
4743 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4744 static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
4745 PyObject * _resultobj;
4746 wxPyTreeItemData * _arg0;
4747 PyObject * _arg1;
4748 PyObject * _argo0 = 0;
4749 PyObject * _obj1 = 0;
4750 char *_kwnames[] = { "self","obj", NULL };
4751
4752 self = self;
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
4754 return NULL;
4755 if (_argo0) {
4756 if (_argo0 == Py_None) { _arg0 = NULL; }
4757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
4758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4759 return NULL;
4760 }
4761 }
4762 {
4763 _arg1 = _obj1;
4764 }
4765 {
4766 wxPy_BEGIN_ALLOW_THREADS;
4767 wxTreeItemData_SetData(_arg0,_arg1);
4768
4769 wxPy_END_ALLOW_THREADS;
4770 } Py_INCREF(Py_None);
4771 _resultobj = Py_None;
4772 return _resultobj;
4773 }
4774
4775 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4776 static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4777 PyObject * _resultobj;
4778 wxTreeItemId * _result;
4779 wxPyTreeItemData * _arg0;
4780 PyObject * _argo0 = 0;
4781 char *_kwnames[] = { "self", NULL };
4782 char _ptemp[128];
4783
4784 self = self;
4785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
4786 return NULL;
4787 if (_argo0) {
4788 if (_argo0 == Py_None) { _arg0 = NULL; }
4789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
4790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4791 return NULL;
4792 }
4793 }
4794 {
4795 wxPy_BEGIN_ALLOW_THREADS;
4796 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
4797 _result = (wxTreeItemId *) &_result_ref;
4798
4799 wxPy_END_ALLOW_THREADS;
4800 } if (_result) {
4801 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
4802 _resultobj = Py_BuildValue("s",_ptemp);
4803 } else {
4804 Py_INCREF(Py_None);
4805 _resultobj = Py_None;
4806 }
4807 return _resultobj;
4808 }
4809
4810 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4811 static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4812 PyObject * _resultobj;
4813 wxPyTreeItemData * _arg0;
4814 wxTreeItemId * _arg1;
4815 PyObject * _argo0 = 0;
4816 PyObject * _argo1 = 0;
4817 char *_kwnames[] = { "self","id", NULL };
4818
4819 self = self;
4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
4821 return NULL;
4822 if (_argo0) {
4823 if (_argo0 == Py_None) { _arg0 = NULL; }
4824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
4825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
4826 return NULL;
4827 }
4828 }
4829 if (_argo1) {
4830 if (_argo1 == Py_None) { _arg1 = NULL; }
4831 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4832 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
4833 return NULL;
4834 }
4835 }
4836 {
4837 wxPy_BEGIN_ALLOW_THREADS;
4838 wxTreeItemData_SetId(_arg0,*_arg1);
4839
4840 wxPy_END_ALLOW_THREADS;
4841 } Py_INCREF(Py_None);
4842 _resultobj = Py_None;
4843 return _resultobj;
4844 }
4845
4846 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
4847 wxTreeEvent *src;
4848 wxNotifyEvent *dest;
4849 src = (wxTreeEvent *) ptr;
4850 dest = (wxNotifyEvent *) src;
4851 return (void *) dest;
4852 }
4853
4854 static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
4855 wxTreeEvent *src;
4856 wxCommandEvent *dest;
4857 src = (wxTreeEvent *) ptr;
4858 dest = (wxCommandEvent *) src;
4859 return (void *) dest;
4860 }
4861
4862 static void *SwigwxTreeEventTowxEvent(void *ptr) {
4863 wxTreeEvent *src;
4864 wxEvent *dest;
4865 src = (wxTreeEvent *) ptr;
4866 dest = (wxEvent *) src;
4867 return (void *) dest;
4868 }
4869
4870 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
4871 static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4872 PyObject * _resultobj;
4873 wxTreeItemId * _result;
4874 wxTreeEvent * _arg0;
4875 PyObject * _argo0 = 0;
4876 char *_kwnames[] = { "self", NULL };
4877 char _ptemp[128];
4878
4879 self = self;
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
4881 return NULL;
4882 if (_argo0) {
4883 if (_argo0 == Py_None) { _arg0 = NULL; }
4884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
4885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
4886 return NULL;
4887 }
4888 }
4889 {
4890 wxPy_BEGIN_ALLOW_THREADS;
4891 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
4892
4893 wxPy_END_ALLOW_THREADS;
4894 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4895 _resultobj = Py_BuildValue("s",_ptemp);
4896 return _resultobj;
4897 }
4898
4899 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
4900 static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4901 PyObject * _resultobj;
4902 wxTreeItemId * _result;
4903 wxTreeEvent * _arg0;
4904 PyObject * _argo0 = 0;
4905 char *_kwnames[] = { "self", NULL };
4906 char _ptemp[128];
4907
4908 self = self;
4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
4910 return NULL;
4911 if (_argo0) {
4912 if (_argo0 == Py_None) { _arg0 = NULL; }
4913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
4914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
4915 return NULL;
4916 }
4917 }
4918 {
4919 wxPy_BEGIN_ALLOW_THREADS;
4920 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
4921
4922 wxPy_END_ALLOW_THREADS;
4923 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4924 _resultobj = Py_BuildValue("s",_ptemp);
4925 return _resultobj;
4926 }
4927
4928 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
4929 static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4930 PyObject * _resultobj;
4931 wxPoint * _result;
4932 wxTreeEvent * _arg0;
4933 PyObject * _argo0 = 0;
4934 char *_kwnames[] = { "self", NULL };
4935 char _ptemp[128];
4936
4937 self = self;
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
4939 return NULL;
4940 if (_argo0) {
4941 if (_argo0 == Py_None) { _arg0 = NULL; }
4942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
4943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
4944 return NULL;
4945 }
4946 }
4947 {
4948 wxPy_BEGIN_ALLOW_THREADS;
4949 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
4950
4951 wxPy_END_ALLOW_THREADS;
4952 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
4953 _resultobj = Py_BuildValue("s",_ptemp);
4954 return _resultobj;
4955 }
4956
4957 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
4958 static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4959 PyObject * _resultobj;
4960 int _result;
4961 wxTreeEvent * _arg0;
4962 PyObject * _argo0 = 0;
4963 char *_kwnames[] = { "self", NULL };
4964
4965 self = self;
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
4967 return NULL;
4968 if (_argo0) {
4969 if (_argo0 == Py_None) { _arg0 = NULL; }
4970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
4971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
4972 return NULL;
4973 }
4974 }
4975 {
4976 wxPy_BEGIN_ALLOW_THREADS;
4977 _result = (int )wxTreeEvent_GetCode(_arg0);
4978
4979 wxPy_END_ALLOW_THREADS;
4980 } _resultobj = Py_BuildValue("i",_result);
4981 return _resultobj;
4982 }
4983
4984 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
4985 static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4986 PyObject * _resultobj;
4987 wxString * _result;
4988 wxTreeEvent * _arg0;
4989 PyObject * _argo0 = 0;
4990 char *_kwnames[] = { "self", NULL };
4991
4992 self = self;
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
4994 return NULL;
4995 if (_argo0) {
4996 if (_argo0 == Py_None) { _arg0 = NULL; }
4997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
4998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
4999 return NULL;
5000 }
5001 }
5002 {
5003 wxPy_BEGIN_ALLOW_THREADS;
5004 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
5005 _result = (wxString *) &_result_ref;
5006
5007 wxPy_END_ALLOW_THREADS;
5008 }{
5009 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5010 }
5011 return _resultobj;
5012 }
5013
5014 static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
5015 wxPyTreeCtrl *src;
5016 wxControl *dest;
5017 src = (wxPyTreeCtrl *) ptr;
5018 dest = (wxControl *) src;
5019 return (void *) dest;
5020 }
5021
5022 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
5023 wxPyTreeCtrl *src;
5024 wxWindow *dest;
5025 src = (wxPyTreeCtrl *) ptr;
5026 dest = (wxWindow *) src;
5027 return (void *) dest;
5028 }
5029
5030 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
5031 wxPyTreeCtrl *src;
5032 wxEvtHandler *dest;
5033 src = (wxPyTreeCtrl *) ptr;
5034 dest = (wxEvtHandler *) src;
5035 return (void *) dest;
5036 }
5037
5038 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5039 static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject * _resultobj;
5041 wxPyTreeCtrl * _result;
5042 wxWindow * _arg0;
5043 wxWindowID _arg1 = (wxWindowID ) -1;
5044 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
5045 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
5046 long _arg4 = (long ) wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT;
5047 wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
5048 char * _arg6 = (char *) "wxTreeCtrl";
5049 PyObject * _argo0 = 0;
5050 wxPoint temp;
5051 PyObject * _obj2 = 0;
5052 wxSize temp0;
5053 PyObject * _obj3 = 0;
5054 PyObject * _argo5 = 0;
5055 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5056 char _ptemp[128];
5057
5058 self = self;
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
5060 return NULL;
5061 if (_argo0) {
5062 if (_argo0 == Py_None) { _arg0 = NULL; }
5063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5065 return NULL;
5066 }
5067 }
5068 if (_obj2)
5069 {
5070 _arg2 = &temp;
5071 if (! wxPoint_helper(_obj2, &_arg2))
5072 return NULL;
5073 }
5074 if (_obj3)
5075 {
5076 _arg3 = &temp0;
5077 if (! wxSize_helper(_obj3, &_arg3))
5078 return NULL;
5079 }
5080 if (_argo5) {
5081 if (_argo5 == Py_None) { _arg5 = NULL; }
5082 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5083 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5084 return NULL;
5085 }
5086 }
5087 {
5088 wxPy_BEGIN_ALLOW_THREADS;
5089 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
5090
5091 wxPy_END_ALLOW_THREADS;
5092 } if (_result) {
5093 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
5094 _resultobj = Py_BuildValue("s",_ptemp);
5095 } else {
5096 Py_INCREF(Py_None);
5097 _resultobj = Py_None;
5098 }
5099 return _resultobj;
5100 }
5101
5102 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5103 static PyObject *_wrap_wxTreeCtrl__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject * _resultobj;
5105 wxPyTreeCtrl * _arg0;
5106 PyObject * _arg1;
5107 PyObject * _arg2;
5108 PyObject * _argo0 = 0;
5109 PyObject * _obj1 = 0;
5110 PyObject * _obj2 = 0;
5111 char *_kwnames[] = { "self","self","_class", NULL };
5112
5113 self = self;
5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5115 return NULL;
5116 if (_argo0) {
5117 if (_argo0 == Py_None) { _arg0 = NULL; }
5118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5120 return NULL;
5121 }
5122 }
5123 {
5124 _arg1 = _obj1;
5125 }
5126 {
5127 _arg2 = _obj2;
5128 }
5129 {
5130 wxPy_BEGIN_ALLOW_THREADS;
5131 wxTreeCtrl__setSelf(_arg0,_arg1,_arg2);
5132
5133 wxPy_END_ALLOW_THREADS;
5134 } Py_INCREF(Py_None);
5135 _resultobj = Py_None;
5136 return _resultobj;
5137 }
5138
5139 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5140 static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5141 PyObject * _resultobj;
5142 size_t _result;
5143 wxPyTreeCtrl * _arg0;
5144 PyObject * _argo0 = 0;
5145 char *_kwnames[] = { "self", NULL };
5146
5147 self = self;
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
5149 return NULL;
5150 if (_argo0) {
5151 if (_argo0 == Py_None) { _arg0 = NULL; }
5152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5154 return NULL;
5155 }
5156 }
5157 {
5158 wxPy_BEGIN_ALLOW_THREADS;
5159 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
5160
5161 wxPy_END_ALLOW_THREADS;
5162 } _resultobj = Py_BuildValue("i",_result);
5163 return _resultobj;
5164 }
5165
5166 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5167 static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject * _resultobj;
5169 unsigned int _result;
5170 wxPyTreeCtrl * _arg0;
5171 PyObject * _argo0 = 0;
5172 char *_kwnames[] = { "self", NULL };
5173
5174 self = self;
5175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
5176 return NULL;
5177 if (_argo0) {
5178 if (_argo0 == Py_None) { _arg0 = NULL; }
5179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5181 return NULL;
5182 }
5183 }
5184 {
5185 wxPy_BEGIN_ALLOW_THREADS;
5186 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
5187
5188 wxPy_END_ALLOW_THREADS;
5189 } _resultobj = Py_BuildValue("i",_result);
5190 return _resultobj;
5191 }
5192
5193 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5194 static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5195 PyObject * _resultobj;
5196 wxPyTreeCtrl * _arg0;
5197 unsigned int _arg1;
5198 PyObject * _argo0 = 0;
5199 char *_kwnames[] = { "self","indent", NULL };
5200
5201 self = self;
5202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
5203 return NULL;
5204 if (_argo0) {
5205 if (_argo0 == Py_None) { _arg0 = NULL; }
5206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5208 return NULL;
5209 }
5210 }
5211 {
5212 wxPy_BEGIN_ALLOW_THREADS;
5213 wxTreeCtrl_SetIndent(_arg0,_arg1);
5214
5215 wxPy_END_ALLOW_THREADS;
5216 } Py_INCREF(Py_None);
5217 _resultobj = Py_None;
5218 return _resultobj;
5219 }
5220
5221 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5222 static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
5223 PyObject * _resultobj;
5224 wxImageList * _result;
5225 wxPyTreeCtrl * _arg0;
5226 PyObject * _argo0 = 0;
5227 char *_kwnames[] = { "self", NULL };
5228 char _ptemp[128];
5229
5230 self = self;
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
5232 return NULL;
5233 if (_argo0) {
5234 if (_argo0 == Py_None) { _arg0 = NULL; }
5235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5237 return NULL;
5238 }
5239 }
5240 {
5241 wxPy_BEGIN_ALLOW_THREADS;
5242 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
5243
5244 wxPy_END_ALLOW_THREADS;
5245 } if (_result) {
5246 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
5247 _resultobj = Py_BuildValue("s",_ptemp);
5248 } else {
5249 Py_INCREF(Py_None);
5250 _resultobj = Py_None;
5251 }
5252 return _resultobj;
5253 }
5254
5255 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5256 static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
5257 PyObject * _resultobj;
5258 wxImageList * _result;
5259 wxPyTreeCtrl * _arg0;
5260 PyObject * _argo0 = 0;
5261 char *_kwnames[] = { "self", NULL };
5262 char _ptemp[128];
5263
5264 self = self;
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
5266 return NULL;
5267 if (_argo0) {
5268 if (_argo0 == Py_None) { _arg0 = NULL; }
5269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5271 return NULL;
5272 }
5273 }
5274 {
5275 wxPy_BEGIN_ALLOW_THREADS;
5276 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
5277
5278 wxPy_END_ALLOW_THREADS;
5279 } if (_result) {
5280 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
5281 _resultobj = Py_BuildValue("s",_ptemp);
5282 } else {
5283 Py_INCREF(Py_None);
5284 _resultobj = Py_None;
5285 }
5286 return _resultobj;
5287 }
5288
5289 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5290 static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject * _resultobj;
5292 wxPyTreeCtrl * _arg0;
5293 wxImageList * _arg1;
5294 PyObject * _argo0 = 0;
5295 PyObject * _argo1 = 0;
5296 char *_kwnames[] = { "self","imageList", NULL };
5297
5298 self = self;
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
5300 return NULL;
5301 if (_argo0) {
5302 if (_argo0 == Py_None) { _arg0 = NULL; }
5303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5305 return NULL;
5306 }
5307 }
5308 if (_argo1) {
5309 if (_argo1 == Py_None) { _arg1 = NULL; }
5310 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
5311 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5312 return NULL;
5313 }
5314 }
5315 {
5316 wxPy_BEGIN_ALLOW_THREADS;
5317 wxTreeCtrl_SetImageList(_arg0,_arg1);
5318
5319 wxPy_END_ALLOW_THREADS;
5320 } Py_INCREF(Py_None);
5321 _resultobj = Py_None;
5322 return _resultobj;
5323 }
5324
5325 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5326 static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
5327 PyObject * _resultobj;
5328 wxPyTreeCtrl * _arg0;
5329 wxImageList * _arg1;
5330 PyObject * _argo0 = 0;
5331 PyObject * _argo1 = 0;
5332 char *_kwnames[] = { "self","imageList", NULL };
5333
5334 self = self;
5335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
5336 return NULL;
5337 if (_argo0) {
5338 if (_argo0 == Py_None) { _arg0 = NULL; }
5339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5341 return NULL;
5342 }
5343 }
5344 if (_argo1) {
5345 if (_argo1 == Py_None) { _arg1 = NULL; }
5346 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
5347 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5348 return NULL;
5349 }
5350 }
5351 {
5352 wxPy_BEGIN_ALLOW_THREADS;
5353 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
5354
5355 wxPy_END_ALLOW_THREADS;
5356 } Py_INCREF(Py_None);
5357 _resultobj = Py_None;
5358 return _resultobj;
5359 }
5360
5361 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5362 static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
5363 PyObject * _resultobj;
5364 unsigned int _result;
5365 wxPyTreeCtrl * _arg0;
5366 PyObject * _argo0 = 0;
5367 char *_kwnames[] = { "self", NULL };
5368
5369 self = self;
5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
5371 return NULL;
5372 if (_argo0) {
5373 if (_argo0 == Py_None) { _arg0 = NULL; }
5374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5376 return NULL;
5377 }
5378 }
5379 {
5380 wxPy_BEGIN_ALLOW_THREADS;
5381 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
5382
5383 wxPy_END_ALLOW_THREADS;
5384 } _resultobj = Py_BuildValue("i",_result);
5385 return _resultobj;
5386 }
5387
5388 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5389 static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
5390 PyObject * _resultobj;
5391 wxPyTreeCtrl * _arg0;
5392 unsigned int _arg1;
5393 PyObject * _argo0 = 0;
5394 char *_kwnames[] = { "self","spacing", NULL };
5395
5396 self = self;
5397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
5398 return NULL;
5399 if (_argo0) {
5400 if (_argo0 == Py_None) { _arg0 = NULL; }
5401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5403 return NULL;
5404 }
5405 }
5406 {
5407 wxPy_BEGIN_ALLOW_THREADS;
5408 wxTreeCtrl_SetSpacing(_arg0,_arg1);
5409
5410 wxPy_END_ALLOW_THREADS;
5411 } Py_INCREF(Py_None);
5412 _resultobj = Py_None;
5413 return _resultobj;
5414 }
5415
5416 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5417 static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
5418 PyObject * _resultobj;
5419 wxString * _result;
5420 wxPyTreeCtrl * _arg0;
5421 wxTreeItemId * _arg1;
5422 PyObject * _argo0 = 0;
5423 PyObject * _argo1 = 0;
5424 char *_kwnames[] = { "self","item", NULL };
5425
5426 self = self;
5427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
5428 return NULL;
5429 if (_argo0) {
5430 if (_argo0 == Py_None) { _arg0 = NULL; }
5431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5433 return NULL;
5434 }
5435 }
5436 if (_argo1) {
5437 if (_argo1 == Py_None) { _arg1 = NULL; }
5438 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5439 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5440 return NULL;
5441 }
5442 }
5443 {
5444 wxPy_BEGIN_ALLOW_THREADS;
5445 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
5446
5447 wxPy_END_ALLOW_THREADS;
5448 }{
5449 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5450 }
5451 {
5452 delete _result;
5453 }
5454 return _resultobj;
5455 }
5456
5457 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5458 static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject * _resultobj;
5460 int _result;
5461 wxPyTreeCtrl * _arg0;
5462 wxTreeItemId * _arg1;
5463 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
5464 PyObject * _argo0 = 0;
5465 PyObject * _argo1 = 0;
5466 char *_kwnames[] = { "self","item","which", NULL };
5467
5468 self = self;
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
5470 return NULL;
5471 if (_argo0) {
5472 if (_argo0 == Py_None) { _arg0 = NULL; }
5473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
5475 return NULL;
5476 }
5477 }
5478 if (_argo1) {
5479 if (_argo1 == Py_None) { _arg1 = NULL; }
5480 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5481 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5482 return NULL;
5483 }
5484 }
5485 {
5486 wxPy_BEGIN_ALLOW_THREADS;
5487 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
5488
5489 wxPy_END_ALLOW_THREADS;
5490 } _resultobj = Py_BuildValue("i",_result);
5491 return _resultobj;
5492 }
5493
5494 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5495 static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject * _resultobj;
5497 int _result;
5498 wxPyTreeCtrl * _arg0;
5499 wxTreeItemId * _arg1;
5500 PyObject * _argo0 = 0;
5501 PyObject * _argo1 = 0;
5502 char *_kwnames[] = { "self","item", NULL };
5503
5504 self = self;
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
5506 return NULL;
5507 if (_argo0) {
5508 if (_argo0 == Py_None) { _arg0 = NULL; }
5509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5511 return NULL;
5512 }
5513 }
5514 if (_argo1) {
5515 if (_argo1 == Py_None) { _arg1 = NULL; }
5516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5518 return NULL;
5519 }
5520 }
5521 {
5522 wxPy_BEGIN_ALLOW_THREADS;
5523 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
5524
5525 wxPy_END_ALLOW_THREADS;
5526 } _resultobj = Py_BuildValue("i",_result);
5527 return _resultobj;
5528 }
5529
5530 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5531 static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject * _resultobj;
5533 wxPyTreeCtrl * _arg0;
5534 wxTreeItemId * _arg1;
5535 wxString * _arg2;
5536 PyObject * _argo0 = 0;
5537 PyObject * _argo1 = 0;
5538 PyObject * _obj2 = 0;
5539 char *_kwnames[] = { "self","item","text", NULL };
5540
5541 self = self;
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
5543 return NULL;
5544 if (_argo0) {
5545 if (_argo0 == Py_None) { _arg0 = NULL; }
5546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5548 return NULL;
5549 }
5550 }
5551 if (_argo1) {
5552 if (_argo1 == Py_None) { _arg1 = NULL; }
5553 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5554 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5555 return NULL;
5556 }
5557 }
5558 {
5559 #if PYTHON_API_VERSION >= 1009
5560 char* tmpPtr; int tmpSize;
5561 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5562 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5563 return NULL;
5564 }
5565 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5566 return NULL;
5567 _arg2 = new wxString(tmpPtr, tmpSize);
5568 #else
5569 if (!PyString_Check(_obj2)) {
5570 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5571 return NULL;
5572 }
5573 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5574 #endif
5575 }
5576 {
5577 wxPy_BEGIN_ALLOW_THREADS;
5578 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
5579
5580 wxPy_END_ALLOW_THREADS;
5581 } Py_INCREF(Py_None);
5582 _resultobj = Py_None;
5583 {
5584 if (_obj2)
5585 delete _arg2;
5586 }
5587 return _resultobj;
5588 }
5589
5590 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5591 static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject * _resultobj;
5593 wxPyTreeCtrl * _arg0;
5594 wxTreeItemId * _arg1;
5595 int _arg2;
5596 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
5597 PyObject * _argo0 = 0;
5598 PyObject * _argo1 = 0;
5599 char *_kwnames[] = { "self","item","image","which", NULL };
5600
5601 self = self;
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5603 return NULL;
5604 if (_argo0) {
5605 if (_argo0 == Py_None) { _arg0 = NULL; }
5606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5608 return NULL;
5609 }
5610 }
5611 if (_argo1) {
5612 if (_argo1 == Py_None) { _arg1 = NULL; }
5613 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5614 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5615 return NULL;
5616 }
5617 }
5618 {
5619 wxPy_BEGIN_ALLOW_THREADS;
5620 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
5621
5622 wxPy_END_ALLOW_THREADS;
5623 } Py_INCREF(Py_None);
5624 _resultobj = Py_None;
5625 return _resultobj;
5626 }
5627
5628 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5629 static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5630 PyObject * _resultobj;
5631 wxPyTreeCtrl * _arg0;
5632 wxTreeItemId * _arg1;
5633 int _arg2;
5634 PyObject * _argo0 = 0;
5635 PyObject * _argo1 = 0;
5636 char *_kwnames[] = { "self","item","image", NULL };
5637
5638 self = self;
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
5640 return NULL;
5641 if (_argo0) {
5642 if (_argo0 == Py_None) { _arg0 = NULL; }
5643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5645 return NULL;
5646 }
5647 }
5648 if (_argo1) {
5649 if (_argo1 == Py_None) { _arg1 = NULL; }
5650 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5651 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5652 return NULL;
5653 }
5654 }
5655 {
5656 wxPy_BEGIN_ALLOW_THREADS;
5657 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
5658
5659 wxPy_END_ALLOW_THREADS;
5660 } Py_INCREF(Py_None);
5661 _resultobj = Py_None;
5662 return _resultobj;
5663 }
5664
5665 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5666 static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject * _resultobj;
5668 wxPyTreeCtrl * _arg0;
5669 wxTreeItemId * _arg1;
5670 bool _arg2 = (bool ) TRUE;
5671 PyObject * _argo0 = 0;
5672 PyObject * _argo1 = 0;
5673 int tempbool2 = (int) TRUE;
5674 char *_kwnames[] = { "self","item","hasChildren", NULL };
5675
5676 self = self;
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
5678 return NULL;
5679 if (_argo0) {
5680 if (_argo0 == Py_None) { _arg0 = NULL; }
5681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5683 return NULL;
5684 }
5685 }
5686 if (_argo1) {
5687 if (_argo1 == Py_None) { _arg1 = NULL; }
5688 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5689 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5690 return NULL;
5691 }
5692 }
5693 _arg2 = (bool ) tempbool2;
5694 {
5695 wxPy_BEGIN_ALLOW_THREADS;
5696 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
5697
5698 wxPy_END_ALLOW_THREADS;
5699 } Py_INCREF(Py_None);
5700 _resultobj = Py_None;
5701 return _resultobj;
5702 }
5703
5704 static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
5705 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
5706 if (data == NULL) {
5707 data = new wxPyTreeItemData();
5708 data->SetId(item); // set the id
5709 self->SetItemData(item, data);
5710 }
5711 return data;
5712 }
5713 static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject * _resultobj;
5715 wxPyTreeItemData * _result;
5716 wxPyTreeCtrl * _arg0;
5717 wxTreeItemId * _arg1;
5718 PyObject * _argo0 = 0;
5719 PyObject * _argo1 = 0;
5720 char *_kwnames[] = { "self","item", NULL };
5721 char _ptemp[128];
5722
5723 self = self;
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
5725 return NULL;
5726 if (_argo0) {
5727 if (_argo0 == Py_None) { _arg0 = NULL; }
5728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5730 return NULL;
5731 }
5732 }
5733 if (_argo1) {
5734 if (_argo1 == Py_None) { _arg1 = NULL; }
5735 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5736 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5737 return NULL;
5738 }
5739 }
5740 {
5741 wxPy_BEGIN_ALLOW_THREADS;
5742 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
5743
5744 wxPy_END_ALLOW_THREADS;
5745 } if (_result) {
5746 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
5747 _resultobj = Py_BuildValue("s",_ptemp);
5748 } else {
5749 Py_INCREF(Py_None);
5750 _resultobj = Py_None;
5751 }
5752 return _resultobj;
5753 }
5754
5755 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
5756 data->SetId(item); // set the id
5757 self->SetItemData(item, data);
5758 }
5759 static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject * _resultobj;
5761 wxPyTreeCtrl * _arg0;
5762 wxTreeItemId * _arg1;
5763 wxPyTreeItemData * _arg2;
5764 PyObject * _argo0 = 0;
5765 PyObject * _argo1 = 0;
5766 PyObject * _argo2 = 0;
5767 char *_kwnames[] = { "self","item","data", NULL };
5768
5769 self = self;
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
5771 return NULL;
5772 if (_argo0) {
5773 if (_argo0 == Py_None) { _arg0 = NULL; }
5774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5776 return NULL;
5777 }
5778 }
5779 if (_argo1) {
5780 if (_argo1 == Py_None) { _arg1 = NULL; }
5781 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5782 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5783 return NULL;
5784 }
5785 }
5786 if (_argo2) {
5787 if (_argo2 == Py_None) { _arg2 = NULL; }
5788 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
5789 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
5790 return NULL;
5791 }
5792 }
5793 {
5794 wxPy_BEGIN_ALLOW_THREADS;
5795 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
5796
5797 wxPy_END_ALLOW_THREADS;
5798 } Py_INCREF(Py_None);
5799 _resultobj = Py_None;
5800 return _resultobj;
5801 }
5802
5803 static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
5804 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
5805 if (data == NULL) {
5806 data = new wxPyTreeItemData();
5807 data->SetId(item); // set the id
5808 self->SetItemData(item, data);
5809 }
5810 return data->GetData();
5811 }
5812 static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject * _resultobj;
5814 PyObject * _result;
5815 wxPyTreeCtrl * _arg0;
5816 wxTreeItemId * _arg1;
5817 PyObject * _argo0 = 0;
5818 PyObject * _argo1 = 0;
5819 char *_kwnames[] = { "self","item", NULL };
5820
5821 self = self;
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
5823 return NULL;
5824 if (_argo0) {
5825 if (_argo0 == Py_None) { _arg0 = NULL; }
5826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
5828 return NULL;
5829 }
5830 }
5831 if (_argo1) {
5832 if (_argo1 == Py_None) { _arg1 = NULL; }
5833 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5834 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
5835 return NULL;
5836 }
5837 }
5838 {
5839 wxPy_BEGIN_ALLOW_THREADS;
5840 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
5841
5842 wxPy_END_ALLOW_THREADS;
5843 }{
5844 _resultobj = _result;
5845 }
5846 return _resultobj;
5847 }
5848
5849 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
5850 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
5851 if (data == NULL) {
5852 data = new wxPyTreeItemData(obj);
5853 data->SetId(item); // set the id
5854 self->SetItemData(item, data);
5855 } else
5856 data->SetData(obj);
5857 }
5858 static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
5859 PyObject * _resultobj;
5860 wxPyTreeCtrl * _arg0;
5861 wxTreeItemId * _arg1;
5862 PyObject * _arg2;
5863 PyObject * _argo0 = 0;
5864 PyObject * _argo1 = 0;
5865 PyObject * _obj2 = 0;
5866 char *_kwnames[] = { "self","item","obj", NULL };
5867
5868 self = self;
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
5870 return NULL;
5871 if (_argo0) {
5872 if (_argo0 == Py_None) { _arg0 = NULL; }
5873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
5875 return NULL;
5876 }
5877 }
5878 if (_argo1) {
5879 if (_argo1 == Py_None) { _arg1 = NULL; }
5880 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5881 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
5882 return NULL;
5883 }
5884 }
5885 {
5886 _arg2 = _obj2;
5887 }
5888 {
5889 wxPy_BEGIN_ALLOW_THREADS;
5890 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
5891
5892 wxPy_END_ALLOW_THREADS;
5893 } Py_INCREF(Py_None);
5894 _resultobj = Py_None;
5895 return _resultobj;
5896 }
5897
5898 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
5899 static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject * _resultobj;
5901 bool _result;
5902 wxPyTreeCtrl * _arg0;
5903 wxTreeItemId * _arg1;
5904 PyObject * _argo0 = 0;
5905 PyObject * _argo1 = 0;
5906 char *_kwnames[] = { "self","item", NULL };
5907
5908 self = self;
5909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
5910 return NULL;
5911 if (_argo0) {
5912 if (_argo0 == Py_None) { _arg0 = NULL; }
5913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
5915 return NULL;
5916 }
5917 }
5918 if (_argo1) {
5919 if (_argo1 == Py_None) { _arg1 = NULL; }
5920 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5921 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
5922 return NULL;
5923 }
5924 }
5925 {
5926 wxPy_BEGIN_ALLOW_THREADS;
5927 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
5928
5929 wxPy_END_ALLOW_THREADS;
5930 } _resultobj = Py_BuildValue("i",_result);
5931 return _resultobj;
5932 }
5933
5934 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
5935 static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5936 PyObject * _resultobj;
5937 bool _result;
5938 wxPyTreeCtrl * _arg0;
5939 wxTreeItemId * _arg1;
5940 PyObject * _argo0 = 0;
5941 PyObject * _argo1 = 0;
5942 char *_kwnames[] = { "self","item", NULL };
5943
5944 self = self;
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
5946 return NULL;
5947 if (_argo0) {
5948 if (_argo0 == Py_None) { _arg0 = NULL; }
5949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
5951 return NULL;
5952 }
5953 }
5954 if (_argo1) {
5955 if (_argo1 == Py_None) { _arg1 = NULL; }
5956 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5957 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
5958 return NULL;
5959 }
5960 }
5961 {
5962 wxPy_BEGIN_ALLOW_THREADS;
5963 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
5964
5965 wxPy_END_ALLOW_THREADS;
5966 } _resultobj = Py_BuildValue("i",_result);
5967 return _resultobj;
5968 }
5969
5970 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
5971 static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
5972 PyObject * _resultobj;
5973 bool _result;
5974 wxPyTreeCtrl * _arg0;
5975 wxTreeItemId * _arg1;
5976 PyObject * _argo0 = 0;
5977 PyObject * _argo1 = 0;
5978 char *_kwnames[] = { "self","item", NULL };
5979
5980 self = self;
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
5982 return NULL;
5983 if (_argo0) {
5984 if (_argo0 == Py_None) { _arg0 = NULL; }
5985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
5987 return NULL;
5988 }
5989 }
5990 if (_argo1) {
5991 if (_argo1 == Py_None) { _arg1 = NULL; }
5992 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5993 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
5994 return NULL;
5995 }
5996 }
5997 {
5998 wxPy_BEGIN_ALLOW_THREADS;
5999 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
6000
6001 wxPy_END_ALLOW_THREADS;
6002 } _resultobj = Py_BuildValue("i",_result);
6003 return _resultobj;
6004 }
6005
6006 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6007 static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject * _resultobj;
6009 bool _result;
6010 wxPyTreeCtrl * _arg0;
6011 wxTreeItemId * _arg1;
6012 PyObject * _argo0 = 0;
6013 PyObject * _argo1 = 0;
6014 char *_kwnames[] = { "self","item", NULL };
6015
6016 self = self;
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
6018 return NULL;
6019 if (_argo0) {
6020 if (_argo0 == Py_None) { _arg0 = NULL; }
6021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6023 return NULL;
6024 }
6025 }
6026 if (_argo1) {
6027 if (_argo1 == Py_None) { _arg1 = NULL; }
6028 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6029 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6030 return NULL;
6031 }
6032 }
6033 {
6034 wxPy_BEGIN_ALLOW_THREADS;
6035 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
6036
6037 wxPy_END_ALLOW_THREADS;
6038 } _resultobj = Py_BuildValue("i",_result);
6039 return _resultobj;
6040 }
6041
6042 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6043 static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject * _resultobj;
6045 wxTreeItemId * _result;
6046 wxPyTreeCtrl * _arg0;
6047 PyObject * _argo0 = 0;
6048 char *_kwnames[] = { "self", NULL };
6049 char _ptemp[128];
6050
6051 self = self;
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
6053 return NULL;
6054 if (_argo0) {
6055 if (_argo0 == Py_None) { _arg0 = NULL; }
6056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6058 return NULL;
6059 }
6060 }
6061 {
6062 wxPy_BEGIN_ALLOW_THREADS;
6063 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
6064
6065 wxPy_END_ALLOW_THREADS;
6066 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6067 _resultobj = Py_BuildValue("s",_ptemp);
6068 return _resultobj;
6069 }
6070
6071 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6072 static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6073 PyObject * _resultobj;
6074 wxTreeItemId * _result;
6075 wxPyTreeCtrl * _arg0;
6076 PyObject * _argo0 = 0;
6077 char *_kwnames[] = { "self", NULL };
6078 char _ptemp[128];
6079
6080 self = self;
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
6082 return NULL;
6083 if (_argo0) {
6084 if (_argo0 == Py_None) { _arg0 = NULL; }
6085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6087 return NULL;
6088 }
6089 }
6090 {
6091 wxPy_BEGIN_ALLOW_THREADS;
6092 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
6093
6094 wxPy_END_ALLOW_THREADS;
6095 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6096 _resultobj = Py_BuildValue("s",_ptemp);
6097 return _resultobj;
6098 }
6099
6100 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6101 static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6102 PyObject * _resultobj;
6103 wxTreeItemId * _result;
6104 wxPyTreeCtrl * _arg0;
6105 wxTreeItemId * _arg1;
6106 PyObject * _argo0 = 0;
6107 PyObject * _argo1 = 0;
6108 char *_kwnames[] = { "self","item", NULL };
6109 char _ptemp[128];
6110
6111 self = self;
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
6113 return NULL;
6114 if (_argo0) {
6115 if (_argo0 == Py_None) { _arg0 = NULL; }
6116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6118 return NULL;
6119 }
6120 }
6121 if (_argo1) {
6122 if (_argo1 == Py_None) { _arg1 = NULL; }
6123 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6124 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6125 return NULL;
6126 }
6127 }
6128 {
6129 wxPy_BEGIN_ALLOW_THREADS;
6130 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
6131
6132 wxPy_END_ALLOW_THREADS;
6133 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6134 _resultobj = Py_BuildValue("s",_ptemp);
6135 return _resultobj;
6136 }
6137
6138 static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
6139 bool doSave = wxPyRestoreThread();
6140 PyObject* rval = PyList_New(0);
6141 wxArrayTreeItemIds array;
6142 size_t num, x;
6143 num = self->GetSelections(array);
6144 for (x=0; x < num; x++) {
6145 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
6146 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
6147 PyList_Append(rval, item);
6148 }
6149 wxPySaveThread(doSave);
6150 return rval;
6151 }
6152 static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject * _resultobj;
6154 PyObject * _result;
6155 wxPyTreeCtrl * _arg0;
6156 PyObject * _argo0 = 0;
6157 char *_kwnames[] = { "self", NULL };
6158
6159 self = self;
6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
6161 return NULL;
6162 if (_argo0) {
6163 if (_argo0 == Py_None) { _arg0 = NULL; }
6164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6166 return NULL;
6167 }
6168 }
6169 {
6170 wxPy_BEGIN_ALLOW_THREADS;
6171 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
6172
6173 wxPy_END_ALLOW_THREADS;
6174 }{
6175 _resultobj = _result;
6176 }
6177 return _resultobj;
6178 }
6179
6180 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6181 static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject * _resultobj;
6183 size_t _result;
6184 wxPyTreeCtrl * _arg0;
6185 wxTreeItemId * _arg1;
6186 bool _arg2 = (bool ) TRUE;
6187 PyObject * _argo0 = 0;
6188 PyObject * _argo1 = 0;
6189 int tempbool2 = (int) TRUE;
6190 char *_kwnames[] = { "self","item","recursively", NULL };
6191
6192 self = self;
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
6194 return NULL;
6195 if (_argo0) {
6196 if (_argo0 == Py_None) { _arg0 = NULL; }
6197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6199 return NULL;
6200 }
6201 }
6202 if (_argo1) {
6203 if (_argo1 == Py_None) { _arg1 = NULL; }
6204 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6205 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6206 return NULL;
6207 }
6208 }
6209 _arg2 = (bool ) tempbool2;
6210 {
6211 wxPy_BEGIN_ALLOW_THREADS;
6212 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
6213
6214 wxPy_END_ALLOW_THREADS;
6215 } _resultobj = Py_BuildValue("i",_result);
6216 return _resultobj;
6217 }
6218
6219 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6220 static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject * _resultobj;
6222 wxTreeItemId * _result;
6223 wxPyTreeCtrl * _arg0;
6224 wxTreeItemId * _arg1;
6225 long * _arg2;
6226 PyObject * _argo0 = 0;
6227 PyObject * _argo1 = 0;
6228 long temp;
6229 PyObject * _obj2 = 0;
6230 char *_kwnames[] = { "self","item","INOUT", NULL };
6231 char _ptemp[128];
6232
6233 self = self;
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
6235 return NULL;
6236 if (_argo0) {
6237 if (_argo0 == Py_None) { _arg0 = NULL; }
6238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6240 return NULL;
6241 }
6242 }
6243 if (_argo1) {
6244 if (_argo1 == Py_None) { _arg1 = NULL; }
6245 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6246 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6247 return NULL;
6248 }
6249 }
6250 {
6251 temp = (long) PyInt_AsLong(_obj2);
6252 _arg2 = &temp;
6253 }
6254 {
6255 wxPy_BEGIN_ALLOW_THREADS;
6256 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
6257
6258 wxPy_END_ALLOW_THREADS;
6259 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6260 _resultobj = Py_BuildValue("s",_ptemp);
6261 {
6262 PyObject *o;
6263 o = PyInt_FromLong((long) (*_arg2));
6264 _resultobj = t_output_helper(_resultobj, o);
6265 }
6266 return _resultobj;
6267 }
6268
6269 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6270 static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject * _resultobj;
6272 wxTreeItemId * _result;
6273 wxPyTreeCtrl * _arg0;
6274 wxTreeItemId * _arg1;
6275 long * _arg2;
6276 PyObject * _argo0 = 0;
6277 PyObject * _argo1 = 0;
6278 long temp;
6279 PyObject * _obj2 = 0;
6280 char *_kwnames[] = { "self","item","INOUT", NULL };
6281 char _ptemp[128];
6282
6283 self = self;
6284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
6285 return NULL;
6286 if (_argo0) {
6287 if (_argo0 == Py_None) { _arg0 = NULL; }
6288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6290 return NULL;
6291 }
6292 }
6293 if (_argo1) {
6294 if (_argo1 == Py_None) { _arg1 = NULL; }
6295 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6296 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6297 return NULL;
6298 }
6299 }
6300 {
6301 temp = (long) PyInt_AsLong(_obj2);
6302 _arg2 = &temp;
6303 }
6304 {
6305 wxPy_BEGIN_ALLOW_THREADS;
6306 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
6307
6308 wxPy_END_ALLOW_THREADS;
6309 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6310 _resultobj = Py_BuildValue("s",_ptemp);
6311 {
6312 PyObject *o;
6313 o = PyInt_FromLong((long) (*_arg2));
6314 _resultobj = t_output_helper(_resultobj, o);
6315 }
6316 return _resultobj;
6317 }
6318
6319 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6320 static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject * _resultobj;
6322 wxTreeItemId * _result;
6323 wxPyTreeCtrl * _arg0;
6324 wxTreeItemId * _arg1;
6325 PyObject * _argo0 = 0;
6326 PyObject * _argo1 = 0;
6327 char *_kwnames[] = { "self","item", NULL };
6328 char _ptemp[128];
6329
6330 self = self;
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
6332 return NULL;
6333 if (_argo0) {
6334 if (_argo0 == Py_None) { _arg0 = NULL; }
6335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6337 return NULL;
6338 }
6339 }
6340 if (_argo1) {
6341 if (_argo1 == Py_None) { _arg1 = NULL; }
6342 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6343 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6344 return NULL;
6345 }
6346 }
6347 {
6348 wxPy_BEGIN_ALLOW_THREADS;
6349 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
6350
6351 wxPy_END_ALLOW_THREADS;
6352 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6353 _resultobj = Py_BuildValue("s",_ptemp);
6354 return _resultobj;
6355 }
6356
6357 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6358 static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
6359 PyObject * _resultobj;
6360 wxTreeItemId * _result;
6361 wxPyTreeCtrl * _arg0;
6362 wxTreeItemId * _arg1;
6363 PyObject * _argo0 = 0;
6364 PyObject * _argo1 = 0;
6365 char *_kwnames[] = { "self","item", NULL };
6366 char _ptemp[128];
6367
6368 self = self;
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
6370 return NULL;
6371 if (_argo0) {
6372 if (_argo0 == Py_None) { _arg0 = NULL; }
6373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6375 return NULL;
6376 }
6377 }
6378 if (_argo1) {
6379 if (_argo1 == Py_None) { _arg1 = NULL; }
6380 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6381 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6382 return NULL;
6383 }
6384 }
6385 {
6386 wxPy_BEGIN_ALLOW_THREADS;
6387 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
6388
6389 wxPy_END_ALLOW_THREADS;
6390 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6391 _resultobj = Py_BuildValue("s",_ptemp);
6392 return _resultobj;
6393 }
6394
6395 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6396 static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject * _resultobj;
6398 wxTreeItemId * _result;
6399 wxPyTreeCtrl * _arg0;
6400 PyObject * _argo0 = 0;
6401 char *_kwnames[] = { "self", NULL };
6402 char _ptemp[128];
6403
6404 self = self;
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
6406 return NULL;
6407 if (_argo0) {
6408 if (_argo0 == Py_None) { _arg0 = NULL; }
6409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6411 return NULL;
6412 }
6413 }
6414 {
6415 wxPy_BEGIN_ALLOW_THREADS;
6416 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
6417
6418 wxPy_END_ALLOW_THREADS;
6419 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6420 _resultobj = Py_BuildValue("s",_ptemp);
6421 return _resultobj;
6422 }
6423
6424 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6425 static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6426 PyObject * _resultobj;
6427 wxTreeItemId * _result;
6428 wxPyTreeCtrl * _arg0;
6429 wxTreeItemId * _arg1;
6430 PyObject * _argo0 = 0;
6431 PyObject * _argo1 = 0;
6432 char *_kwnames[] = { "self","item", NULL };
6433 char _ptemp[128];
6434
6435 self = self;
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
6437 return NULL;
6438 if (_argo0) {
6439 if (_argo0 == Py_None) { _arg0 = NULL; }
6440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6442 return NULL;
6443 }
6444 }
6445 if (_argo1) {
6446 if (_argo1 == Py_None) { _arg1 = NULL; }
6447 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6448 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6449 return NULL;
6450 }
6451 }
6452 {
6453 wxPy_BEGIN_ALLOW_THREADS;
6454 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
6455
6456 wxPy_END_ALLOW_THREADS;
6457 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6458 _resultobj = Py_BuildValue("s",_ptemp);
6459 return _resultobj;
6460 }
6461
6462 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6463 static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject * _resultobj;
6465 wxTreeItemId * _result;
6466 wxPyTreeCtrl * _arg0;
6467 wxTreeItemId * _arg1;
6468 PyObject * _argo0 = 0;
6469 PyObject * _argo1 = 0;
6470 char *_kwnames[] = { "self","item", NULL };
6471 char _ptemp[128];
6472
6473 self = self;
6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
6475 return NULL;
6476 if (_argo0) {
6477 if (_argo0 == Py_None) { _arg0 = NULL; }
6478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6480 return NULL;
6481 }
6482 }
6483 if (_argo1) {
6484 if (_argo1 == Py_None) { _arg1 = NULL; }
6485 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6486 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6487 return NULL;
6488 }
6489 }
6490 {
6491 wxPy_BEGIN_ALLOW_THREADS;
6492 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
6493
6494 wxPy_END_ALLOW_THREADS;
6495 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6496 _resultobj = Py_BuildValue("s",_ptemp);
6497 return _resultobj;
6498 }
6499
6500 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6501 static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject * _resultobj;
6503 wxTreeItemId * _result;
6504 wxPyTreeCtrl * _arg0;
6505 wxTreeItemId * _arg1;
6506 PyObject * _argo0 = 0;
6507 PyObject * _argo1 = 0;
6508 char *_kwnames[] = { "self","item", NULL };
6509 char _ptemp[128];
6510
6511 self = self;
6512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
6513 return NULL;
6514 if (_argo0) {
6515 if (_argo0 == Py_None) { _arg0 = NULL; }
6516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6518 return NULL;
6519 }
6520 }
6521 if (_argo1) {
6522 if (_argo1 == Py_None) { _arg1 = NULL; }
6523 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6524 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6525 return NULL;
6526 }
6527 }
6528 {
6529 wxPy_BEGIN_ALLOW_THREADS;
6530 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
6531
6532 wxPy_END_ALLOW_THREADS;
6533 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6534 _resultobj = Py_BuildValue("s",_ptemp);
6535 return _resultobj;
6536 }
6537
6538 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6539 static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject * _resultobj;
6541 wxTreeItemId * _result;
6542 wxPyTreeCtrl * _arg0;
6543 wxString * _arg1;
6544 int _arg2 = (int ) -1;
6545 int _arg3 = (int ) -1;
6546 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
6547 PyObject * _argo0 = 0;
6548 PyObject * _obj1 = 0;
6549 PyObject * _argo4 = 0;
6550 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
6551 char _ptemp[128];
6552
6553 self = self;
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
6555 return NULL;
6556 if (_argo0) {
6557 if (_argo0 == Py_None) { _arg0 = NULL; }
6558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6560 return NULL;
6561 }
6562 }
6563 {
6564 #if PYTHON_API_VERSION >= 1009
6565 char* tmpPtr; int tmpSize;
6566 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6567 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6568 return NULL;
6569 }
6570 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6571 return NULL;
6572 _arg1 = new wxString(tmpPtr, tmpSize);
6573 #else
6574 if (!PyString_Check(_obj1)) {
6575 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6576 return NULL;
6577 }
6578 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6579 #endif
6580 }
6581 if (_argo4) {
6582 if (_argo4 == Py_None) { _arg4 = NULL; }
6583 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
6584 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6585 return NULL;
6586 }
6587 }
6588 {
6589 wxPy_BEGIN_ALLOW_THREADS;
6590 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
6591
6592 wxPy_END_ALLOW_THREADS;
6593 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6594 _resultobj = Py_BuildValue("s",_ptemp);
6595 {
6596 if (_obj1)
6597 delete _arg1;
6598 }
6599 return _resultobj;
6600 }
6601
6602 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6603 static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject * _resultobj;
6605 wxTreeItemId * _result;
6606 wxPyTreeCtrl * _arg0;
6607 wxTreeItemId * _arg1;
6608 wxString * _arg2;
6609 int _arg3 = (int ) -1;
6610 int _arg4 = (int ) -1;
6611 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
6612 PyObject * _argo0 = 0;
6613 PyObject * _argo1 = 0;
6614 PyObject * _obj2 = 0;
6615 PyObject * _argo5 = 0;
6616 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
6617 char _ptemp[128];
6618
6619 self = self;
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
6621 return NULL;
6622 if (_argo0) {
6623 if (_argo0 == Py_None) { _arg0 = NULL; }
6624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6626 return NULL;
6627 }
6628 }
6629 if (_argo1) {
6630 if (_argo1 == Py_None) { _arg1 = NULL; }
6631 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6632 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6633 return NULL;
6634 }
6635 }
6636 {
6637 #if PYTHON_API_VERSION >= 1009
6638 char* tmpPtr; int tmpSize;
6639 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6640 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6641 return NULL;
6642 }
6643 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6644 return NULL;
6645 _arg2 = new wxString(tmpPtr, tmpSize);
6646 #else
6647 if (!PyString_Check(_obj2)) {
6648 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6649 return NULL;
6650 }
6651 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6652 #endif
6653 }
6654 if (_argo5) {
6655 if (_argo5 == Py_None) { _arg5 = NULL; }
6656 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
6657 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6658 return NULL;
6659 }
6660 }
6661 {
6662 wxPy_BEGIN_ALLOW_THREADS;
6663 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
6664
6665 wxPy_END_ALLOW_THREADS;
6666 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6667 _resultobj = Py_BuildValue("s",_ptemp);
6668 {
6669 if (_obj2)
6670 delete _arg2;
6671 }
6672 return _resultobj;
6673 }
6674
6675 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6676 static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6677 PyObject * _resultobj;
6678 wxTreeItemId * _result;
6679 wxPyTreeCtrl * _arg0;
6680 wxTreeItemId * _arg1;
6681 wxTreeItemId * _arg2;
6682 wxString * _arg3;
6683 int _arg4 = (int ) -1;
6684 int _arg5 = (int ) -1;
6685 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
6686 PyObject * _argo0 = 0;
6687 PyObject * _argo1 = 0;
6688 PyObject * _argo2 = 0;
6689 PyObject * _obj3 = 0;
6690 PyObject * _argo6 = 0;
6691 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
6692 char _ptemp[128];
6693
6694 self = self;
6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
6696 return NULL;
6697 if (_argo0) {
6698 if (_argo0 == Py_None) { _arg0 = NULL; }
6699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6701 return NULL;
6702 }
6703 }
6704 if (_argo1) {
6705 if (_argo1 == Py_None) { _arg1 = NULL; }
6706 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6707 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6708 return NULL;
6709 }
6710 }
6711 if (_argo2) {
6712 if (_argo2 == Py_None) { _arg2 = NULL; }
6713 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
6714 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6715 return NULL;
6716 }
6717 }
6718 {
6719 #if PYTHON_API_VERSION >= 1009
6720 char* tmpPtr; int tmpSize;
6721 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
6722 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6723 return NULL;
6724 }
6725 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6726 return NULL;
6727 _arg3 = new wxString(tmpPtr, tmpSize);
6728 #else
6729 if (!PyString_Check(_obj3)) {
6730 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6731 return NULL;
6732 }
6733 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6734 #endif
6735 }
6736 if (_argo6) {
6737 if (_argo6 == Py_None) { _arg6 = NULL; }
6738 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
6739 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6740 return NULL;
6741 }
6742 }
6743 {
6744 wxPy_BEGIN_ALLOW_THREADS;
6745 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
6746
6747 wxPy_END_ALLOW_THREADS;
6748 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6749 _resultobj = Py_BuildValue("s",_ptemp);
6750 {
6751 if (_obj3)
6752 delete _arg3;
6753 }
6754 return _resultobj;
6755 }
6756
6757 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6758 static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
6759 PyObject * _resultobj;
6760 wxTreeItemId * _result;
6761 wxPyTreeCtrl * _arg0;
6762 wxTreeItemId * _arg1;
6763 size_t _arg2;
6764 wxString * _arg3;
6765 int _arg4 = (int ) -1;
6766 int _arg5 = (int ) -1;
6767 wxTreeItemData * _arg6 = (wxTreeItemData *) NULL;
6768 PyObject * _argo0 = 0;
6769 PyObject * _argo1 = 0;
6770 PyObject * _obj3 = 0;
6771 PyObject * _argo6 = 0;
6772 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
6773 char _ptemp[128];
6774
6775 self = self;
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
6777 return NULL;
6778 if (_argo0) {
6779 if (_argo0 == Py_None) { _arg0 = NULL; }
6780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6782 return NULL;
6783 }
6784 }
6785 if (_argo1) {
6786 if (_argo1 == Py_None) { _arg1 = NULL; }
6787 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6788 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
6789 return NULL;
6790 }
6791 }
6792 {
6793 #if PYTHON_API_VERSION >= 1009
6794 char* tmpPtr; int tmpSize;
6795 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
6796 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6797 return NULL;
6798 }
6799 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6800 return NULL;
6801 _arg3 = new wxString(tmpPtr, tmpSize);
6802 #else
6803 if (!PyString_Check(_obj3)) {
6804 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6805 return NULL;
6806 }
6807 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6808 #endif
6809 }
6810 if (_argo6) {
6811 if (_argo6 == Py_None) { _arg6 = NULL; }
6812 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxTreeItemData_p")) {
6813 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
6814 return NULL;
6815 }
6816 }
6817 {
6818 wxPy_BEGIN_ALLOW_THREADS;
6819 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
6820
6821 wxPy_END_ALLOW_THREADS;
6822 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6823 _resultobj = Py_BuildValue("s",_ptemp);
6824 {
6825 if (_obj3)
6826 delete _arg3;
6827 }
6828 return _resultobj;
6829 }
6830
6831 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6832 static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6833 PyObject * _resultobj;
6834 wxTreeItemId * _result;
6835 wxPyTreeCtrl * _arg0;
6836 wxTreeItemId * _arg1;
6837 wxString * _arg2;
6838 int _arg3 = (int ) -1;
6839 int _arg4 = (int ) -1;
6840 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
6841 PyObject * _argo0 = 0;
6842 PyObject * _argo1 = 0;
6843 PyObject * _obj2 = 0;
6844 PyObject * _argo5 = 0;
6845 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
6846 char _ptemp[128];
6847
6848 self = self;
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
6850 return NULL;
6851 if (_argo0) {
6852 if (_argo0 == Py_None) { _arg0 = NULL; }
6853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
6855 return NULL;
6856 }
6857 }
6858 if (_argo1) {
6859 if (_argo1 == Py_None) { _arg1 = NULL; }
6860 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6861 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
6862 return NULL;
6863 }
6864 }
6865 {
6866 #if PYTHON_API_VERSION >= 1009
6867 char* tmpPtr; int tmpSize;
6868 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6869 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6870 return NULL;
6871 }
6872 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6873 return NULL;
6874 _arg2 = new wxString(tmpPtr, tmpSize);
6875 #else
6876 if (!PyString_Check(_obj2)) {
6877 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6878 return NULL;
6879 }
6880 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6881 #endif
6882 }
6883 if (_argo5) {
6884 if (_argo5 == Py_None) { _arg5 = NULL; }
6885 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
6886 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
6887 return NULL;
6888 }
6889 }
6890 {
6891 wxPy_BEGIN_ALLOW_THREADS;
6892 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
6893
6894 wxPy_END_ALLOW_THREADS;
6895 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6896 _resultobj = Py_BuildValue("s",_ptemp);
6897 {
6898 if (_obj2)
6899 delete _arg2;
6900 }
6901 return _resultobj;
6902 }
6903
6904 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6905 static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
6906 PyObject * _resultobj;
6907 wxPyTreeCtrl * _arg0;
6908 wxTreeItemId * _arg1;
6909 PyObject * _argo0 = 0;
6910 PyObject * _argo1 = 0;
6911 char *_kwnames[] = { "self","item", NULL };
6912
6913 self = self;
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
6915 return NULL;
6916 if (_argo0) {
6917 if (_argo0 == Py_None) { _arg0 = NULL; }
6918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
6920 return NULL;
6921 }
6922 }
6923 if (_argo1) {
6924 if (_argo1 == Py_None) { _arg1 = NULL; }
6925 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6926 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
6927 return NULL;
6928 }
6929 }
6930 {
6931 wxPy_BEGIN_ALLOW_THREADS;
6932 wxTreeCtrl_Delete(_arg0,*_arg1);
6933
6934 wxPy_END_ALLOW_THREADS;
6935 } Py_INCREF(Py_None);
6936 _resultobj = Py_None;
6937 return _resultobj;
6938 }
6939
6940 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
6941 static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
6942 PyObject * _resultobj;
6943 wxPyTreeCtrl * _arg0;
6944 wxTreeItemId * _arg1;
6945 PyObject * _argo0 = 0;
6946 PyObject * _argo1 = 0;
6947 char *_kwnames[] = { "self","item", NULL };
6948
6949 self = self;
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
6951 return NULL;
6952 if (_argo0) {
6953 if (_argo0 == Py_None) { _arg0 = NULL; }
6954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
6956 return NULL;
6957 }
6958 }
6959 if (_argo1) {
6960 if (_argo1 == Py_None) { _arg1 = NULL; }
6961 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
6963 return NULL;
6964 }
6965 }
6966 {
6967 wxPy_BEGIN_ALLOW_THREADS;
6968 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
6969
6970 wxPy_END_ALLOW_THREADS;
6971 } Py_INCREF(Py_None);
6972 _resultobj = Py_None;
6973 return _resultobj;
6974 }
6975
6976 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
6977 static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
6978 PyObject * _resultobj;
6979 wxPyTreeCtrl * _arg0;
6980 PyObject * _argo0 = 0;
6981 char *_kwnames[] = { "self", NULL };
6982
6983 self = self;
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
6985 return NULL;
6986 if (_argo0) {
6987 if (_argo0 == Py_None) { _arg0 = NULL; }
6988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
6990 return NULL;
6991 }
6992 }
6993 {
6994 wxPy_BEGIN_ALLOW_THREADS;
6995 wxTreeCtrl_DeleteAllItems(_arg0);
6996
6997 wxPy_END_ALLOW_THREADS;
6998 } Py_INCREF(Py_None);
6999 _resultobj = Py_None;
7000 return _resultobj;
7001 }
7002
7003 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7004 static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
7005 PyObject * _resultobj;
7006 wxPyTreeCtrl * _arg0;
7007 wxTreeItemId * _arg1;
7008 PyObject * _argo0 = 0;
7009 PyObject * _argo1 = 0;
7010 char *_kwnames[] = { "self","item", NULL };
7011
7012 self = self;
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
7014 return NULL;
7015 if (_argo0) {
7016 if (_argo0 == Py_None) { _arg0 = NULL; }
7017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7019 return NULL;
7020 }
7021 }
7022 if (_argo1) {
7023 if (_argo1 == Py_None) { _arg1 = NULL; }
7024 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7025 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7026 return NULL;
7027 }
7028 }
7029 {
7030 wxPy_BEGIN_ALLOW_THREADS;
7031 wxTreeCtrl_Expand(_arg0,*_arg1);
7032
7033 wxPy_END_ALLOW_THREADS;
7034 } Py_INCREF(Py_None);
7035 _resultobj = Py_None;
7036 return _resultobj;
7037 }
7038
7039 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7040 static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
7041 PyObject * _resultobj;
7042 wxPyTreeCtrl * _arg0;
7043 wxTreeItemId * _arg1;
7044 PyObject * _argo0 = 0;
7045 PyObject * _argo1 = 0;
7046 char *_kwnames[] = { "self","item", NULL };
7047
7048 self = self;
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
7050 return NULL;
7051 if (_argo0) {
7052 if (_argo0 == Py_None) { _arg0 = NULL; }
7053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7055 return NULL;
7056 }
7057 }
7058 if (_argo1) {
7059 if (_argo1 == Py_None) { _arg1 = NULL; }
7060 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7061 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7062 return NULL;
7063 }
7064 }
7065 {
7066 wxPy_BEGIN_ALLOW_THREADS;
7067 wxTreeCtrl_Collapse(_arg0,*_arg1);
7068
7069 wxPy_END_ALLOW_THREADS;
7070 } Py_INCREF(Py_None);
7071 _resultobj = Py_None;
7072 return _resultobj;
7073 }
7074
7075 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7076 static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
7077 PyObject * _resultobj;
7078 wxPyTreeCtrl * _arg0;
7079 wxTreeItemId * _arg1;
7080 PyObject * _argo0 = 0;
7081 PyObject * _argo1 = 0;
7082 char *_kwnames[] = { "self","item", NULL };
7083
7084 self = self;
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
7086 return NULL;
7087 if (_argo0) {
7088 if (_argo0 == Py_None) { _arg0 = NULL; }
7089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7091 return NULL;
7092 }
7093 }
7094 if (_argo1) {
7095 if (_argo1 == Py_None) { _arg1 = NULL; }
7096 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7097 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7098 return NULL;
7099 }
7100 }
7101 {
7102 wxPy_BEGIN_ALLOW_THREADS;
7103 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
7104
7105 wxPy_END_ALLOW_THREADS;
7106 } Py_INCREF(Py_None);
7107 _resultobj = Py_None;
7108 return _resultobj;
7109 }
7110
7111 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7112 static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
7113 PyObject * _resultobj;
7114 wxPyTreeCtrl * _arg0;
7115 wxTreeItemId * _arg1;
7116 PyObject * _argo0 = 0;
7117 PyObject * _argo1 = 0;
7118 char *_kwnames[] = { "self","item", NULL };
7119
7120 self = self;
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
7122 return NULL;
7123 if (_argo0) {
7124 if (_argo0 == Py_None) { _arg0 = NULL; }
7125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7127 return NULL;
7128 }
7129 }
7130 if (_argo1) {
7131 if (_argo1 == Py_None) { _arg1 = NULL; }
7132 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7133 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7134 return NULL;
7135 }
7136 }
7137 {
7138 wxPy_BEGIN_ALLOW_THREADS;
7139 wxTreeCtrl_Toggle(_arg0,*_arg1);
7140
7141 wxPy_END_ALLOW_THREADS;
7142 } Py_INCREF(Py_None);
7143 _resultobj = Py_None;
7144 return _resultobj;
7145 }
7146
7147 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7148 static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
7149 PyObject * _resultobj;
7150 wxPyTreeCtrl * _arg0;
7151 PyObject * _argo0 = 0;
7152 char *_kwnames[] = { "self", NULL };
7153
7154 self = self;
7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
7156 return NULL;
7157 if (_argo0) {
7158 if (_argo0 == Py_None) { _arg0 = NULL; }
7159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7161 return NULL;
7162 }
7163 }
7164 {
7165 wxPy_BEGIN_ALLOW_THREADS;
7166 wxTreeCtrl_Unselect(_arg0);
7167
7168 wxPy_END_ALLOW_THREADS;
7169 } Py_INCREF(Py_None);
7170 _resultobj = Py_None;
7171 return _resultobj;
7172 }
7173
7174 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7175 static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7176 PyObject * _resultobj;
7177 wxPyTreeCtrl * _arg0;
7178 PyObject * _argo0 = 0;
7179 char *_kwnames[] = { "self", NULL };
7180
7181 self = self;
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
7183 return NULL;
7184 if (_argo0) {
7185 if (_argo0 == Py_None) { _arg0 = NULL; }
7186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7188 return NULL;
7189 }
7190 }
7191 {
7192 wxPy_BEGIN_ALLOW_THREADS;
7193 wxTreeCtrl_UnselectAll(_arg0);
7194
7195 wxPy_END_ALLOW_THREADS;
7196 } Py_INCREF(Py_None);
7197 _resultobj = Py_None;
7198 return _resultobj;
7199 }
7200
7201 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7202 static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7203 PyObject * _resultobj;
7204 wxPyTreeCtrl * _arg0;
7205 wxTreeItemId * _arg1;
7206 PyObject * _argo0 = 0;
7207 PyObject * _argo1 = 0;
7208 char *_kwnames[] = { "self","item", NULL };
7209
7210 self = self;
7211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
7212 return NULL;
7213 if (_argo0) {
7214 if (_argo0 == Py_None) { _arg0 = NULL; }
7215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7217 return NULL;
7218 }
7219 }
7220 if (_argo1) {
7221 if (_argo1 == Py_None) { _arg1 = NULL; }
7222 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7224 return NULL;
7225 }
7226 }
7227 {
7228 wxPy_BEGIN_ALLOW_THREADS;
7229 wxTreeCtrl_SelectItem(_arg0,*_arg1);
7230
7231 wxPy_END_ALLOW_THREADS;
7232 } Py_INCREF(Py_None);
7233 _resultobj = Py_None;
7234 return _resultobj;
7235 }
7236
7237 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7238 static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7239 PyObject * _resultobj;
7240 wxPyTreeCtrl * _arg0;
7241 wxTreeItemId * _arg1;
7242 PyObject * _argo0 = 0;
7243 PyObject * _argo1 = 0;
7244 char *_kwnames[] = { "self","item", NULL };
7245
7246 self = self;
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
7248 return NULL;
7249 if (_argo0) {
7250 if (_argo0 == Py_None) { _arg0 = NULL; }
7251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7253 return NULL;
7254 }
7255 }
7256 if (_argo1) {
7257 if (_argo1 == Py_None) { _arg1 = NULL; }
7258 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7259 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7260 return NULL;
7261 }
7262 }
7263 {
7264 wxPy_BEGIN_ALLOW_THREADS;
7265 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
7266
7267 wxPy_END_ALLOW_THREADS;
7268 } Py_INCREF(Py_None);
7269 _resultobj = Py_None;
7270 return _resultobj;
7271 }
7272
7273 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7274 static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject * _resultobj;
7276 wxPyTreeCtrl * _arg0;
7277 wxTreeItemId * _arg1;
7278 PyObject * _argo0 = 0;
7279 PyObject * _argo1 = 0;
7280 char *_kwnames[] = { "self","item", NULL };
7281
7282 self = self;
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
7284 return NULL;
7285 if (_argo0) {
7286 if (_argo0 == Py_None) { _arg0 = NULL; }
7287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7289 return NULL;
7290 }
7291 }
7292 if (_argo1) {
7293 if (_argo1 == Py_None) { _arg1 = NULL; }
7294 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7295 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7296 return NULL;
7297 }
7298 }
7299 {
7300 wxPy_BEGIN_ALLOW_THREADS;
7301 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
7302
7303 wxPy_END_ALLOW_THREADS;
7304 } Py_INCREF(Py_None);
7305 _resultobj = Py_None;
7306 return _resultobj;
7307 }
7308
7309 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7310 static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7311 PyObject * _resultobj;
7312 wxPyTreeCtrl * _arg0;
7313 wxTreeItemId * _arg1;
7314 PyObject * _argo0 = 0;
7315 PyObject * _argo1 = 0;
7316 char *_kwnames[] = { "self","item", NULL };
7317
7318 self = self;
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
7320 return NULL;
7321 if (_argo0) {
7322 if (_argo0 == Py_None) { _arg0 = NULL; }
7323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7325 return NULL;
7326 }
7327 }
7328 if (_argo1) {
7329 if (_argo1 == Py_None) { _arg1 = NULL; }
7330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7332 return NULL;
7333 }
7334 }
7335 {
7336 wxPy_BEGIN_ALLOW_THREADS;
7337 wxTreeCtrl_EditLabel(_arg0,*_arg1);
7338
7339 wxPy_END_ALLOW_THREADS;
7340 } Py_INCREF(Py_None);
7341 _resultobj = Py_None;
7342 return _resultobj;
7343 }
7344
7345 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7346 static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject * _resultobj;
7348 wxPyTreeCtrl * _arg0;
7349 wxTreeItemId * _arg1;
7350 PyObject * _argo0 = 0;
7351 PyObject * _argo1 = 0;
7352 char *_kwnames[] = { "self","item", NULL };
7353
7354 self = self;
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
7356 return NULL;
7357 if (_argo0) {
7358 if (_argo0 == Py_None) { _arg0 = NULL; }
7359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7361 return NULL;
7362 }
7363 }
7364 if (_argo1) {
7365 if (_argo1 == Py_None) { _arg1 = NULL; }
7366 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7368 return NULL;
7369 }
7370 }
7371 {
7372 wxPy_BEGIN_ALLOW_THREADS;
7373 wxTreeCtrl_SortChildren(_arg0,*_arg1);
7374
7375 wxPy_END_ALLOW_THREADS;
7376 } Py_INCREF(Py_None);
7377 _resultobj = Py_None;
7378 return _resultobj;
7379 }
7380
7381 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7382 static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
7383 PyObject * _resultobj;
7384 wxPyTreeCtrl * _arg0;
7385 wxTreeItemId * _arg1;
7386 int _arg2 = (int ) TRUE;
7387 PyObject * _argo0 = 0;
7388 PyObject * _argo1 = 0;
7389 char *_kwnames[] = { "self","item","bold", NULL };
7390
7391 self = self;
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
7393 return NULL;
7394 if (_argo0) {
7395 if (_argo0 == Py_None) { _arg0 = NULL; }
7396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7398 return NULL;
7399 }
7400 }
7401 if (_argo1) {
7402 if (_argo1 == Py_None) { _arg1 = NULL; }
7403 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7404 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7405 return NULL;
7406 }
7407 }
7408 {
7409 wxPy_BEGIN_ALLOW_THREADS;
7410 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
7411
7412 wxPy_END_ALLOW_THREADS;
7413 } Py_INCREF(Py_None);
7414 _resultobj = Py_None;
7415 return _resultobj;
7416 }
7417
7418 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7419 static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject * _resultobj;
7421 bool _result;
7422 wxPyTreeCtrl * _arg0;
7423 wxTreeItemId * _arg1;
7424 PyObject * _argo0 = 0;
7425 PyObject * _argo1 = 0;
7426 char *_kwnames[] = { "self","item", NULL };
7427
7428 self = self;
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
7430 return NULL;
7431 if (_argo0) {
7432 if (_argo0 == Py_None) { _arg0 = NULL; }
7433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7435 return NULL;
7436 }
7437 }
7438 if (_argo1) {
7439 if (_argo1 == Py_None) { _arg1 = NULL; }
7440 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7441 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7442 return NULL;
7443 }
7444 }
7445 {
7446 wxPy_BEGIN_ALLOW_THREADS;
7447 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
7448
7449 wxPy_END_ALLOW_THREADS;
7450 } _resultobj = Py_BuildValue("i",_result);
7451 return _resultobj;
7452 }
7453
7454 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7455 static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7456 PyObject * _resultobj;
7457 wxTreeItemId * _result;
7458 wxPyTreeCtrl * _arg0;
7459 wxPoint * _arg1;
7460 int * _arg2;
7461 int temp;
7462 PyObject * _argo0 = 0;
7463 wxPoint temp0;
7464 PyObject * _obj1 = 0;
7465 char *_kwnames[] = { "self","point", NULL };
7466 char _ptemp[128];
7467
7468 self = self;
7469 {
7470 _arg2 = &temp;
7471 }
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
7473 return NULL;
7474 if (_argo0) {
7475 if (_argo0 == Py_None) { _arg0 = NULL; }
7476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7478 return NULL;
7479 }
7480 }
7481 {
7482 _arg1 = &temp0;
7483 if (! wxPoint_helper(_obj1, &_arg1))
7484 return NULL;
7485 }
7486 {
7487 wxPy_BEGIN_ALLOW_THREADS;
7488 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
7489
7490 wxPy_END_ALLOW_THREADS;
7491 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
7492 _resultobj = Py_BuildValue("s",_ptemp);
7493 {
7494 PyObject *o;
7495 o = PyInt_FromLong((long) (*_arg2));
7496 _resultobj = t_output_helper(_resultobj, o);
7497 }
7498 return _resultobj;
7499 }
7500
7501 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7502 static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7503 PyObject * _resultobj;
7504 wxPyTreeCtrl * _arg0;
7505 wxTreeItemId * _arg1;
7506 wxColour * _arg2;
7507 PyObject * _argo0 = 0;
7508 PyObject * _argo1 = 0;
7509 wxColour temp;
7510 PyObject * _obj2 = 0;
7511 char *_kwnames[] = { "self","item","col", NULL };
7512
7513 self = self;
7514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
7515 return NULL;
7516 if (_argo0) {
7517 if (_argo0 == Py_None) { _arg0 = NULL; }
7518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7520 return NULL;
7521 }
7522 }
7523 if (_argo1) {
7524 if (_argo1 == Py_None) { _arg1 = NULL; }
7525 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7526 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7527 return NULL;
7528 }
7529 }
7530 {
7531 _arg2 = &temp;
7532 if (! wxColour_helper(_obj2, &_arg2))
7533 return NULL;
7534 }
7535 {
7536 wxPy_BEGIN_ALLOW_THREADS;
7537 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
7538
7539 wxPy_END_ALLOW_THREADS;
7540 } Py_INCREF(Py_None);
7541 _resultobj = Py_None;
7542 return _resultobj;
7543 }
7544
7545 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7546 static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject * _resultobj;
7548 wxPyTreeCtrl * _arg0;
7549 wxTreeItemId * _arg1;
7550 wxColour * _arg2;
7551 PyObject * _argo0 = 0;
7552 PyObject * _argo1 = 0;
7553 wxColour temp;
7554 PyObject * _obj2 = 0;
7555 char *_kwnames[] = { "self","item","col", NULL };
7556
7557 self = self;
7558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
7559 return NULL;
7560 if (_argo0) {
7561 if (_argo0 == Py_None) { _arg0 = NULL; }
7562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7564 return NULL;
7565 }
7566 }
7567 if (_argo1) {
7568 if (_argo1 == Py_None) { _arg1 = NULL; }
7569 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7570 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7571 return NULL;
7572 }
7573 }
7574 {
7575 _arg2 = &temp;
7576 if (! wxColour_helper(_obj2, &_arg2))
7577 return NULL;
7578 }
7579 {
7580 wxPy_BEGIN_ALLOW_THREADS;
7581 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
7582
7583 wxPy_END_ALLOW_THREADS;
7584 } Py_INCREF(Py_None);
7585 _resultobj = Py_None;
7586 return _resultobj;
7587 }
7588
7589 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7590 static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject * _resultobj;
7592 wxPyTreeCtrl * _arg0;
7593 wxTreeItemId * _arg1;
7594 wxFont * _arg2;
7595 PyObject * _argo0 = 0;
7596 PyObject * _argo1 = 0;
7597 PyObject * _argo2 = 0;
7598 char *_kwnames[] = { "self","item","font", NULL };
7599
7600 self = self;
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
7602 return NULL;
7603 if (_argo0) {
7604 if (_argo0 == Py_None) { _arg0 = NULL; }
7605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7607 return NULL;
7608 }
7609 }
7610 if (_argo1) {
7611 if (_argo1 == Py_None) { _arg1 = NULL; }
7612 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7613 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7614 return NULL;
7615 }
7616 }
7617 if (_argo2) {
7618 if (_argo2 == Py_None) { _arg2 = NULL; }
7619 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
7620 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7621 return NULL;
7622 }
7623 }
7624 {
7625 wxPy_BEGIN_ALLOW_THREADS;
7626 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
7627
7628 wxPy_END_ALLOW_THREADS;
7629 } Py_INCREF(Py_None);
7630 _resultobj = Py_None;
7631 return _resultobj;
7632 }
7633
7634 static PyMethodDef controls2cMethods[] = {
7635 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
7636 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7637 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
7638 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
7639 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
7640 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
7641 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
7642 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
7643 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
7644 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
7645 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
7646 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
7647 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
7648 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
7649 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
7650 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
7651 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
7652 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
7653 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
7654 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
7655 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
7656 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
7657 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
7658 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
7659 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
7660 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
7661 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
7662 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
7663 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
7664 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
7665 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
7666 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
7667 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
7668 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
7669 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
7670 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
7671 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
7672 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
7673 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
7674 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
7675 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
7676 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
7677 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
7678 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
7679 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
7680 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
7681 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
7682 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
7683 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
7684 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
7685 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
7686 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
7687 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
7688 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
7689 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
7690 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
7691 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
7692 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
7693 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
7694 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
7695 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
7696 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
7697 { "wxTreeCtrl__setSelf", (PyCFunction) _wrap_wxTreeCtrl__setSelf, METH_VARARGS | METH_KEYWORDS },
7698 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
7699 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
7700 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
7701 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
7702 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
7703 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
7704 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
7705 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
7706 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
7707 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
7708 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
7709 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
7710 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
7711 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
7712 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
7713 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
7714 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
7715 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
7716 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
7717 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
7718 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
7719 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
7720 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
7721 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
7722 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
7723 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
7724 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
7725 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
7726 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7727 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
7728 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
7729 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
7730 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
7731 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
7732 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
7733 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
7734 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
7735 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
7736 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
7737 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
7738 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
7739 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
7740 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
7741 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
7742 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
7743 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
7744 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
7745 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
7746 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
7747 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
7748 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
7749 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
7750 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
7751 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
7752 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
7753 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
7754 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
7755 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
7756 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
7757 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
7758 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
7759 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
7760 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
7761 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
7762 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
7763 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
7764 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
7765 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
7766 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
7767 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
7768 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
7769 { "wxListEvent_Cancelled", (PyCFunction) _wrap_wxListEvent_Cancelled, METH_VARARGS | METH_KEYWORDS },
7770 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
7771 { "wxListEvent_GetOldItem", (PyCFunction) _wrap_wxListEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
7772 { "wxListEvent_GetOldIndex", (PyCFunction) _wrap_wxListEvent_GetOldIndex, METH_VARARGS | METH_KEYWORDS },
7773 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
7774 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
7775 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
7776 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
7777 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
7778 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
7779 { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS },
7780 { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS },
7781 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
7782 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
7783 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
7784 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
7785 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
7786 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
7787 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
7788 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
7789 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
7790 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
7791 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
7792 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
7793 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
7794 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
7795 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
7796 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
7797 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
7798 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
7799 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
7800 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
7801 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
7802 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
7803 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
7804 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
7805 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
7806 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
7807 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
7808 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
7809 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
7810 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7811 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
7812 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
7813 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
7814 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
7815 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
7816 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
7817 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
7818 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
7819 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
7820 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
7821 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
7822 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
7823 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
7824 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7825 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
7826 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
7827 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
7828 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
7829 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
7830 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
7831 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
7832 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
7833 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
7834 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
7835 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
7836 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
7837 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
7838 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
7839 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
7840 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
7841 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7842 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
7843 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
7844 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7845 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
7846 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
7847 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7848 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
7849 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
7850 { NULL, NULL }
7851 };
7852 #ifdef __cplusplus
7853 }
7854 #endif
7855 /*
7856 * This table is used by the pointer type-checker
7857 */
7858 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
7859 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7860 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
7861 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
7862 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
7863 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
7864 { "_wxEvent","_class_wxEvent",0},
7865 { "_class_wxActivateEvent","_wxActivateEvent",0},
7866 { "_signed_long","_long",0},
7867 { "_wxMenuEvent","_class_wxMenuEvent",0},
7868 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
7869 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
7870 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
7871 { "_wxPrintQuality","_wxCoord",0},
7872 { "_wxPrintQuality","_int",0},
7873 { "_wxPrintQuality","_signed_int",0},
7874 { "_wxPrintQuality","_unsigned_int",0},
7875 { "_wxPrintQuality","_wxWindowID",0},
7876 { "_wxPrintQuality","_uint",0},
7877 { "_wxPrintQuality","_EBool",0},
7878 { "_wxPrintQuality","_size_t",0},
7879 { "_wxPrintQuality","_time_t",0},
7880 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
7881 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
7882 { "_class_wxRegionIterator","_wxRegionIterator",0},
7883 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
7884 { "_class_wxMenuBar","_wxMenuBar",0},
7885 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
7886 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
7887 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
7888 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
7889 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
7890 { "_class_wxEvtHandler","_wxEvtHandler",0},
7891 { "_wxPaintEvent","_class_wxPaintEvent",0},
7892 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7893 { "_wxCursor","_class_wxCursor",0},
7894 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
7895 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
7896 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent},
7897 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
7898 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
7899 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
7900 { "_wxMask","_class_wxMask",0},
7901 { "_wxPen","_class_wxPen",0},
7902 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7903 { "_byte","_unsigned_char",0},
7904 { "_wxDataObject","_class_wxDataObject",0},
7905 { "_wxStaticBox","_class_wxStaticBox",0},
7906 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
7907 { "_wxPyDropSource","_class_wxPyDropSource",0},
7908 { "_wxChoice","_class_wxChoice",0},
7909 { "_wxSlider","_class_wxSlider",0},
7910 { "_long","_unsigned_long",0},
7911 { "_long","_signed_long",0},
7912 { "_wxImageList","_class_wxImageList",0},
7913 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
7914 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7915 { "_wxBitmapButton","_class_wxBitmapButton",0},
7916 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7917 { "_class_wxClipboard","_wxClipboard",0},
7918 { "_class_wxGauge","_wxGauge",0},
7919 { "_wxDC","_class_wxDC",0},
7920 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
7921 { "_wxListEvent","_class_wxListEvent",0},
7922 { "_wxSpinEvent","_class_wxSpinEvent",0},
7923 { "_size_t","_wxCoord",0},
7924 { "_size_t","_wxPrintQuality",0},
7925 { "_size_t","_time_t",0},
7926 { "_size_t","_unsigned_int",0},
7927 { "_size_t","_int",0},
7928 { "_size_t","_wxWindowID",0},
7929 { "_size_t","_uint",0},
7930 { "_class_wxRealPoint","_wxRealPoint",0},
7931 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
7932 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
7933 { "_class_wxMenuItem","_wxMenuItem",0},
7934 { "_class_wxPaintEvent","_wxPaintEvent",0},
7935 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
7936 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
7937 { "_wxPanel","_class_wxPanel",0},
7938 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
7939 { "_wxCheckBox","_class_wxCheckBox",0},
7940 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
7941 { "_wxPyEvent","_class_wxPyEvent",0},
7942 { "_wxTextCtrl","_class_wxTextCtrl",0},
7943 { "_class_wxMask","_wxMask",0},
7944 { "_wxTextDataObject","_class_wxTextDataObject",0},
7945 { "_class_wxKeyEvent","_wxKeyEvent",0},
7946 { "_wxColour","_class_wxColour",0},
7947 { "_class_wxDialog","_wxDialog",0},
7948 { "_class_wxFileDataObject","_wxFileDataObject",0},
7949 { "_wxIdleEvent","_class_wxIdleEvent",0},
7950 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
7951 { "_class_wxDataObject","_wxDataObject",0},
7952 { "_wxStaticLine","_class_wxStaticLine",0},
7953 { "_wxBrush","_class_wxBrush",0},
7954 { "_wxDataFormat","_class_wxDataFormat",0},
7955 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
7956 { "_wxShowEvent","_class_wxShowEvent",0},
7957 { "_uint","_wxCoord",0},
7958 { "_uint","_wxPrintQuality",0},
7959 { "_uint","_time_t",0},
7960 { "_uint","_size_t",0},
7961 { "_uint","_unsigned_int",0},
7962 { "_uint","_int",0},
7963 { "_uint","_wxWindowID",0},
7964 { "_wxChar","_char",0},
7965 { "_wxPyValidator","_class_wxPyValidator",0},
7966 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
7967 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
7968 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
7969 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
7970 { "_class_wxEvent","_wxEvent",0},
7971 { "_wxCheckListBox","_class_wxCheckListBox",0},
7972 { "_wxRect","_class_wxRect",0},
7973 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
7974 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
7975 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
7976 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
7977 { "_wxCommandEvent","_class_wxCommandEvent",0},
7978 { "_wxSizeEvent","_class_wxSizeEvent",0},
7979 { "_wxPoint","_class_wxPoint",0},
7980 { "_class_wxButton","_wxButton",0},
7981 { "_wxRadioBox","_class_wxRadioBox",0},
7982 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
7983 { "_char","_wxChar",0},
7984 { "_wxBitmap","_class_wxBitmap",0},
7985 { "_wxWindowDC","_class_wxWindowDC",0},
7986 { "_wxTimerEvent","_class_wxTimerEvent",0},
7987 { "_wxScrollBar","_class_wxScrollBar",0},
7988 { "_wxSpinButton","_class_wxSpinButton",0},
7989 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7990 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
7991 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
7992 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent},
7993 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
7994 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
7995 { "_class_wxValidator","_wxValidator",0},
7996 { "_class_wxPyEvent","_wxPyEvent",0},
7997 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
7998 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
7999 { "_wxListItem","_class_wxListItem",0},
8000 { "_wxDropTarget","_class_wxDropTarget",0},
8001 { "_class_wxStaticLine","_wxStaticLine",0},
8002 { "_wxScrollEvent","_class_wxScrollEvent",0},
8003 { "_EBool","_wxCoord",0},
8004 { "_EBool","_wxPrintQuality",0},
8005 { "_EBool","_signed_int",0},
8006 { "_EBool","_int",0},
8007 { "_EBool","_wxWindowID",0},
8008 { "_class_wxRegion","_wxRegion",0},
8009 { "_class_wxDataFormat","_wxDataFormat",0},
8010 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8011 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8012 { "_wxStaticText","_class_wxStaticText",0},
8013 { "_wxFont","_class_wxFont",0},
8014 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8015 { "_wxCloseEvent","_class_wxCloseEvent",0},
8016 { "_unsigned_long","_long",0},
8017 { "_class_wxRect","_wxRect",0},
8018 { "_class_wxDC","_wxDC",0},
8019 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8020 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8021 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8022 { "_class_wxTreeEvent","_wxTreeEvent",0},
8023 { "_wxFocusEvent","_class_wxFocusEvent",0},
8024 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8025 { "_class_wxTimerEvent","_wxTimerEvent",0},
8026 { "_class_wxSpinButton","_wxSpinButton",0},
8027 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8028 { "_class_wxPanel","_wxPanel",0},
8029 { "_class_wxCheckBox","_wxCheckBox",0},
8030 { "_wxComboBox","_class_wxComboBox",0},
8031 { "_wxRadioButton","_class_wxRadioButton",0},
8032 { "_signed_int","_wxCoord",0},
8033 { "_signed_int","_wxPrintQuality",0},
8034 { "_signed_int","_EBool",0},
8035 { "_signed_int","_wxWindowID",0},
8036 { "_signed_int","_int",0},
8037 { "_class_wxTextCtrl","_wxTextCtrl",0},
8038 { "_class_wxListItemAttr","_wxListItemAttr",0},
8039 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8040 { "_class_wxTextDataObject","_wxTextDataObject",0},
8041 { "_wxMenu","_class_wxMenu",0},
8042 { "_class_wxMoveEvent","_wxMoveEvent",0},
8043 { "_wxListBox","_class_wxListBox",0},
8044 { "_wxScreenDC","_class_wxScreenDC",0},
8045 { "_WXTYPE","_short",0},
8046 { "_WXTYPE","_signed_short",0},
8047 { "_WXTYPE","_unsigned_short",0},
8048 { "_class_wxDropTarget","_wxDropTarget",0},
8049 { "_class_wxBrush","_wxBrush",0},
8050 { "_unsigned_short","_WXTYPE",0},
8051 { "_unsigned_short","_short",0},
8052 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8053 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8054 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
8055 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
8056 { "_class_wxWindow","_wxWindow",0},
8057 { "_class_wxStaticText","_wxStaticText",0},
8058 { "_class_wxFont","_wxFont",0},
8059 { "_wxClipboard","_class_wxClipboard",0},
8060 { "_class_wxPyValidator","_wxPyValidator",0},
8061 { "_class_wxCloseEvent","_wxCloseEvent",0},
8062 { "_wxBusyInfo","_class_wxBusyInfo",0},
8063 { "_class_wxMenuEvent","_wxMenuEvent",0},
8064 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8065 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8066 { "_wxClientDC","_class_wxClientDC",0},
8067 { "_wxMouseEvent","_class_wxMouseEvent",0},
8068 { "_wxListCtrl","_class_wxListCtrl",0},
8069 { "_class_wxPoint","_wxPoint",0},
8070 { "_wxRealPoint","_class_wxRealPoint",0},
8071 { "_class_wxRadioBox","_wxRadioBox",0},
8072 { "_signed_short","_WXTYPE",0},
8073 { "_signed_short","_short",0},
8074 { "_wxMemoryDC","_class_wxMemoryDC",0},
8075 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8076 { "_wxPaintDC","_class_wxPaintDC",0},
8077 { "_class_wxWindowDC","_wxWindowDC",0},
8078 { "_class_wxFocusEvent","_wxFocusEvent",0},
8079 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8080 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8081 { "_class_wxCursor","_wxCursor",0},
8082 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8083 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8084 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8085 { "_wxTreeItemId","_class_wxTreeItemId",0},
8086 { "_unsigned_char","_byte",0},
8087 { "_class_wxMenu","_wxMenu",0},
8088 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8089 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8090 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
8091 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
8092 { "_wxControl","_class_wxControl",0},
8093 { "_class_wxListBox","_wxListBox",0},
8094 { "_unsigned_int","_wxCoord",0},
8095 { "_unsigned_int","_wxPrintQuality",0},
8096 { "_unsigned_int","_time_t",0},
8097 { "_unsigned_int","_size_t",0},
8098 { "_unsigned_int","_uint",0},
8099 { "_unsigned_int","_wxWindowID",0},
8100 { "_unsigned_int","_int",0},
8101 { "_wxIcon","_class_wxIcon",0},
8102 { "_wxDialog","_class_wxDialog",0},
8103 { "_class_wxListItem","_wxListItem",0},
8104 { "_class_wxPen","_wxPen",0},
8105 { "_short","_WXTYPE",0},
8106 { "_short","_unsigned_short",0},
8107 { "_short","_signed_short",0},
8108 { "_class_wxStaticBox","_wxStaticBox",0},
8109 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8110 { "_class_wxPyDropSource","_wxPyDropSource",0},
8111 { "_class_wxScrollEvent","_wxScrollEvent",0},
8112 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8113 { "_class_wxChoice","_wxChoice",0},
8114 { "_class_wxSlider","_wxSlider",0},
8115 { "_class_wxImageList","_wxImageList",0},
8116 { "_class_wxBitmapButton","_wxBitmapButton",0},
8117 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8118 { "_wxWindowID","_wxCoord",0},
8119 { "_wxWindowID","_wxPrintQuality",0},
8120 { "_wxWindowID","_time_t",0},
8121 { "_wxWindowID","_size_t",0},
8122 { "_wxWindowID","_EBool",0},
8123 { "_wxWindowID","_uint",0},
8124 { "_wxWindowID","_int",0},
8125 { "_wxWindowID","_signed_int",0},
8126 { "_wxWindowID","_unsigned_int",0},
8127 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8128 { "_int","_wxCoord",0},
8129 { "_int","_wxPrintQuality",0},
8130 { "_int","_time_t",0},
8131 { "_int","_size_t",0},
8132 { "_int","_EBool",0},
8133 { "_int","_uint",0},
8134 { "_int","_wxWindowID",0},
8135 { "_int","_unsigned_int",0},
8136 { "_int","_signed_int",0},
8137 { "_class_wxMouseEvent","_wxMouseEvent",0},
8138 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8139 { "_class_wxListEvent","_wxListEvent",0},
8140 { "_class_wxSpinEvent","_wxSpinEvent",0},
8141 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8142 { "_time_t","_wxCoord",0},
8143 { "_time_t","_wxPrintQuality",0},
8144 { "_time_t","_unsigned_int",0},
8145 { "_time_t","_int",0},
8146 { "_time_t","_wxWindowID",0},
8147 { "_time_t","_uint",0},
8148 { "_time_t","_size_t",0},
8149 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8150 { "_wxButton","_class_wxButton",0},
8151 { "_wxSize","_class_wxSize",0},
8152 { "_wxRegionIterator","_class_wxRegionIterator",0},
8153 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8154 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8155 { "_class_wxPaintDC","_wxPaintDC",0},
8156 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8157 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8158 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8159 { "_class_wxComboBox","_wxComboBox",0},
8160 { "_class_wxRadioButton","_wxRadioButton",0},
8161 { "_wxValidator","_class_wxValidator",0},
8162 { "_class_wxTreeItemId","_wxTreeItemId",0},
8163 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8164 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8165 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8166 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8167 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
8168 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
8169 { "_class_wxControl","_wxControl",0},
8170 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8171 { "_class_wxIcon","_wxIcon",0},
8172 { "_class_wxColour","_wxColour",0},
8173 { "_class_wxScreenDC","_wxScreenDC",0},
8174 { "_wxPalette","_class_wxPalette",0},
8175 { "_class_wxIdleEvent","_wxIdleEvent",0},
8176 { "_wxCoord","_int",0},
8177 { "_wxCoord","_signed_int",0},
8178 { "_wxCoord","_unsigned_int",0},
8179 { "_wxCoord","_wxWindowID",0},
8180 { "_wxCoord","_uint",0},
8181 { "_wxCoord","_EBool",0},
8182 { "_wxCoord","_size_t",0},
8183 { "_wxCoord","_time_t",0},
8184 { "_wxCoord","_wxPrintQuality",0},
8185 { "_wxEraseEvent","_class_wxEraseEvent",0},
8186 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8187 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8188 { "_wxRegion","_class_wxRegion",0},
8189 { "_class_wxShowEvent","_wxShowEvent",0},
8190 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8191 { "_wxActivateEvent","_class_wxActivateEvent",0},
8192 { "_wxGauge","_class_wxGauge",0},
8193 { "_class_wxCheckListBox","_wxCheckListBox",0},
8194 { "_class_wxBusyInfo","_wxBusyInfo",0},
8195 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
8196 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
8197 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
8198 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
8199 { "_class_wxCommandEvent","_wxCommandEvent",0},
8200 { "_class_wxClientDC","_wxClientDC",0},
8201 { "_class_wxSizeEvent","_wxSizeEvent",0},
8202 { "_class_wxListCtrl","_wxListCtrl",0},
8203 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8204 { "_class_wxSize","_wxSize",0},
8205 { "_class_wxBitmap","_wxBitmap",0},
8206 { "_class_wxMemoryDC","_wxMemoryDC",0},
8207 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8208 { "_wxMenuBar","_class_wxMenuBar",0},
8209 { "_wxTreeEvent","_class_wxTreeEvent",0},
8210 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
8211 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
8212 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
8213 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
8214 { "_wxEvtHandler","_class_wxEvtHandler",0},
8215 { "_wxMenuItem","_class_wxMenuItem",0},
8216 { "_class_wxScrollBar","_wxScrollBar",0},
8217 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8218 { "_wxListItemAttr","_class_wxListItemAttr",0},
8219 { "_wxKeyEvent","_class_wxKeyEvent",0},
8220 { "_wxMoveEvent","_class_wxMoveEvent",0},
8221 { "_class_wxPalette","_wxPalette",0},
8222 { "_wxFileDataObject","_class_wxFileDataObject",0},
8223 { "_class_wxEraseEvent","_wxEraseEvent",0},
8224 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8225 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8226 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8227 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
8228 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
8229 { "_wxWindow","_class_wxWindow",0},
8230 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8231 {0,0,0}};
8232
8233 static PyObject *SWIG_globals;
8234 #ifdef __cplusplus
8235 extern "C"
8236 #endif
8237 SWIGEXPORT(void) initcontrols2c() {
8238 PyObject *m, *d;
8239 SWIG_globals = SWIG_newvarlink();
8240 m = Py_InitModule("controls2c", controls2cMethods);
8241 d = PyModule_GetDict(m);
8242 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
8243 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
8244 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
8245 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
8246 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
8247 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
8248 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
8249 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
8250 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
8251 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
8252 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
8253 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
8254 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
8255 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
8256 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
8257 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
8258 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
8259 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
8260 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
8261 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
8262 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
8263 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
8264 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
8265 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
8266 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
8267 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
8268 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
8269 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
8270 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
8271 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
8272 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
8273 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
8274 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
8275 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
8276 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
8277 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
8278 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
8279 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
8280 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
8281 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
8282 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
8283 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
8284 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
8285 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
8286 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
8287 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
8288 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
8289 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
8290 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
8291 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
8292 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
8293 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
8294 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
8295 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
8296 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
8297 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
8298 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
8299 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
8300 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
8301 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
8302 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
8303 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
8304 {
8305 int i;
8306 for (i = 0; _swig_mapping[i].n1; i++)
8307 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
8308 }
8309 }