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