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