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