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