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