]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/controls2.cpp
Made db.h compile (removed this wxODBC_ONLY_FARWRD_XXXXXX),
[wxWidgets.git] / utils / wxPython / src / msw / controls2.cpp
CommitLineData
8ab979d7 1/*
9c039d08 2 * FILE : msw/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
RD
113
114class wxPyTreeItemData : public wxTreeItemData {
115public:
116 wxPyTreeItemData(PyObject* obj = NULL) {
117 if (obj == NULL)
118 obj = Py_None;
119 Py_INCREF(obj);
120 m_obj = obj;
121 }
122
123 ~wxPyTreeItemData() {
1afc06c2 124 bool doSave = wxPyRestoreThread();
cf694132 125 Py_DECREF(m_obj);
1afc06c2 126 wxPySaveThread(doSave);
cf694132
RD
127 }
128
129 PyObject* GetData() {
130 Py_INCREF(m_obj);
131 return m_obj;
132 }
133
134 void SetData(PyObject* obj) {
135 Py_DECREF(m_obj);
136 m_obj = obj;
137 Py_INCREF(obj);
138 }
139
140 PyObject* m_obj;
141};
1d99702e
RD
142#ifdef __cplusplus
143extern "C" {
144#endif
af309447 145#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
efc5f224 146static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
147 PyObject * _resultobj;
148 long _result;
149 wxListItem * _arg0;
150 long _arg1;
1d99702e 151 PyObject * _argo0 = 0;
efc5f224 152 char *_kwnames[] = { "self","m_mask", NULL };
af309447
RD
153
154 self = self;
efc5f224 155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
af309447 156 return NULL;
1d99702e
RD
157 if (_argo0) {
158 if (_argo0 == Py_None) { _arg0 = NULL; }
159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
161 return NULL;
162 }
163 }
cf694132
RD
164{
165 wxPy_BEGIN_ALLOW_THREADS;
166 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
167
168 wxPy_END_ALLOW_THREADS;
169} _resultobj = Py_BuildValue("l",_result);
af309447
RD
170 return _resultobj;
171}
172
8ab979d7 173#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
efc5f224 174static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
175 PyObject * _resultobj;
176 long _result;
177 wxListItem * _arg0;
1d99702e 178 PyObject * _argo0 = 0;
efc5f224 179 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
180
181 self = self;
efc5f224 182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
8ab979d7 183 return NULL;
1d99702e
RD
184 if (_argo0) {
185 if (_argo0 == Py_None) { _arg0 = NULL; }
186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
188 return NULL;
189 }
190 }
cf694132
RD
191{
192 wxPy_BEGIN_ALLOW_THREADS;
193 _result = (long )wxListItem_m_mask_get(_arg0);
194
195 wxPy_END_ALLOW_THREADS;
196} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
197 return _resultobj;
198}
199
af309447 200#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
efc5f224 201static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
202 PyObject * _resultobj;
203 long _result;
204 wxListItem * _arg0;
205 long _arg1;
1d99702e 206 PyObject * _argo0 = 0;
efc5f224 207 char *_kwnames[] = { "self","m_itemId", NULL };
af309447
RD
208
209 self = self;
efc5f224 210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
af309447 211 return NULL;
1d99702e
RD
212 if (_argo0) {
213 if (_argo0 == Py_None) { _arg0 = NULL; }
214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
216 return NULL;
217 }
218 }
cf694132
RD
219{
220 wxPy_BEGIN_ALLOW_THREADS;
221 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
222
223 wxPy_END_ALLOW_THREADS;
224} _resultobj = Py_BuildValue("l",_result);
af309447
RD
225 return _resultobj;
226}
227
8ab979d7 228#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
efc5f224 229static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
230 PyObject * _resultobj;
231 long _result;
232 wxListItem * _arg0;
1d99702e 233 PyObject * _argo0 = 0;
efc5f224 234 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
235
236 self = self;
efc5f224 237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
8ab979d7 238 return NULL;
1d99702e
RD
239 if (_argo0) {
240 if (_argo0 == Py_None) { _arg0 = NULL; }
241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
243 return NULL;
244 }
245 }
cf694132
RD
246{
247 wxPy_BEGIN_ALLOW_THREADS;
248 _result = (long )wxListItem_m_itemId_get(_arg0);
249
250 wxPy_END_ALLOW_THREADS;
251} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
252 return _resultobj;
253}
254
af309447 255#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
efc5f224 256static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
257 PyObject * _resultobj;
258 int _result;
259 wxListItem * _arg0;
260 int _arg1;
1d99702e 261 PyObject * _argo0 = 0;
efc5f224 262 char *_kwnames[] = { "self","m_col", NULL };
af309447
RD
263
264 self = self;
efc5f224 265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
af309447 266 return NULL;
1d99702e
RD
267 if (_argo0) {
268 if (_argo0 == Py_None) { _arg0 = NULL; }
269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
271 return NULL;
272 }
273 }
cf694132
RD
274{
275 wxPy_BEGIN_ALLOW_THREADS;
276 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
277
278 wxPy_END_ALLOW_THREADS;
279} _resultobj = Py_BuildValue("i",_result);
af309447
RD
280 return _resultobj;
281}
282
8ab979d7 283#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
efc5f224 284static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
285 PyObject * _resultobj;
286 int _result;
287 wxListItem * _arg0;
1d99702e 288 PyObject * _argo0 = 0;
efc5f224 289 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
290
291 self = self;
efc5f224 292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
8ab979d7 293 return NULL;
1d99702e
RD
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
298 return NULL;
299 }
300 }
cf694132
RD
301{
302 wxPy_BEGIN_ALLOW_THREADS;
303 _result = (int )wxListItem_m_col_get(_arg0);
304
305 wxPy_END_ALLOW_THREADS;
306} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
307 return _resultobj;
308}
309
af309447 310#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
efc5f224 311static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
312 PyObject * _resultobj;
313 long _result;
314 wxListItem * _arg0;
315 long _arg1;
1d99702e 316 PyObject * _argo0 = 0;
efc5f224 317 char *_kwnames[] = { "self","m_state", NULL };
af309447
RD
318
319 self = self;
efc5f224 320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
af309447 321 return NULL;
1d99702e
RD
322 if (_argo0) {
323 if (_argo0 == Py_None) { _arg0 = NULL; }
324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
326 return NULL;
327 }
328 }
cf694132
RD
329{
330 wxPy_BEGIN_ALLOW_THREADS;
331 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
332
333 wxPy_END_ALLOW_THREADS;
334} _resultobj = Py_BuildValue("l",_result);
af309447
RD
335 return _resultobj;
336}
337
8ab979d7 338#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
efc5f224 339static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
340 PyObject * _resultobj;
341 long _result;
342 wxListItem * _arg0;
1d99702e 343 PyObject * _argo0 = 0;
efc5f224 344 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
345
346 self = self;
efc5f224 347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
8ab979d7 348 return NULL;
1d99702e
RD
349 if (_argo0) {
350 if (_argo0 == Py_None) { _arg0 = NULL; }
351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
353 return NULL;
354 }
355 }
cf694132
RD
356{
357 wxPy_BEGIN_ALLOW_THREADS;
358 _result = (long )wxListItem_m_state_get(_arg0);
359
360 wxPy_END_ALLOW_THREADS;
361} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
362 return _resultobj;
363}
364
af309447 365#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
efc5f224 366static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
367 PyObject * _resultobj;
368 long _result;
369 wxListItem * _arg0;
370 long _arg1;
1d99702e 371 PyObject * _argo0 = 0;
efc5f224 372 char *_kwnames[] = { "self","m_stateMask", NULL };
af309447
RD
373
374 self = self;
efc5f224 375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
af309447 376 return NULL;
1d99702e
RD
377 if (_argo0) {
378 if (_argo0 == Py_None) { _arg0 = NULL; }
379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
381 return NULL;
382 }
383 }
cf694132
RD
384{
385 wxPy_BEGIN_ALLOW_THREADS;
386 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
387
388 wxPy_END_ALLOW_THREADS;
389} _resultobj = Py_BuildValue("l",_result);
af309447
RD
390 return _resultobj;
391}
392
8ab979d7 393#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
efc5f224 394static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
395 PyObject * _resultobj;
396 long _result;
397 wxListItem * _arg0;
1d99702e 398 PyObject * _argo0 = 0;
efc5f224 399 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
400
401 self = self;
efc5f224 402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
8ab979d7 403 return NULL;
1d99702e
RD
404 if (_argo0) {
405 if (_argo0 == Py_None) { _arg0 = NULL; }
406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
408 return NULL;
409 }
410 }
cf694132
RD
411{
412 wxPy_BEGIN_ALLOW_THREADS;
413 _result = (long )wxListItem_m_stateMask_get(_arg0);
414
415 wxPy_END_ALLOW_THREADS;
416} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
417 return _resultobj;
418}
419
af309447 420#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
efc5f224 421static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
422 PyObject * _resultobj;
423 wxString * _result;
424 wxListItem * _arg0;
425 wxString * _arg1;
1d99702e 426 PyObject * _argo0 = 0;
af309447 427 PyObject * _obj1 = 0;
efc5f224 428 char *_kwnames[] = { "self","m_text", NULL };
af309447
RD
429
430 self = self;
efc5f224 431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
af309447 432 return NULL;
1d99702e
RD
433 if (_argo0) {
434 if (_argo0 == Py_None) { _arg0 = NULL; }
435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
437 return NULL;
438 }
439 }
440{
441 if (!PyString_Check(_obj1)) {
442 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
443 return NULL;
444 }
cf694132 445 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
af309447 446}
af309447 447{
cf694132
RD
448 wxPy_BEGIN_ALLOW_THREADS;
449 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
450
451 wxPy_END_ALLOW_THREADS;
452}{
af309447
RD
453 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
454}
455{
456 if (_obj1)
457 delete _arg1;
458}
459 return _resultobj;
460}
461
8ab979d7 462#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
efc5f224 463static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
464 PyObject * _resultobj;
465 wxString * _result;
466 wxListItem * _arg0;
1d99702e 467 PyObject * _argo0 = 0;
efc5f224 468 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
469
470 self = self;
efc5f224 471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
8ab979d7 472 return NULL;
1d99702e
RD
473 if (_argo0) {
474 if (_argo0 == Py_None) { _arg0 = NULL; }
475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
477 return NULL;
478 }
479 }
8ab979d7 480{
cf694132
RD
481 wxPy_BEGIN_ALLOW_THREADS;
482 _result = (wxString *)wxListItem_m_text_get(_arg0);
483
484 wxPy_END_ALLOW_THREADS;
485}{
8ab979d7
RD
486 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
487}
488 return _resultobj;
489}
490
af309447 491#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
efc5f224 492static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
493 PyObject * _resultobj;
494 int _result;
495 wxListItem * _arg0;
496 int _arg1;
1d99702e 497 PyObject * _argo0 = 0;
efc5f224 498 char *_kwnames[] = { "self","m_image", NULL };
af309447
RD
499
500 self = self;
efc5f224 501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
af309447 502 return NULL;
1d99702e
RD
503 if (_argo0) {
504 if (_argo0 == Py_None) { _arg0 = NULL; }
505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
507 return NULL;
508 }
509 }
cf694132
RD
510{
511 wxPy_BEGIN_ALLOW_THREADS;
512 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
513
514 wxPy_END_ALLOW_THREADS;
515} _resultobj = Py_BuildValue("i",_result);
af309447
RD
516 return _resultobj;
517}
518
8ab979d7 519#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
efc5f224 520static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
521 PyObject * _resultobj;
522 int _result;
523 wxListItem * _arg0;
1d99702e 524 PyObject * _argo0 = 0;
efc5f224 525 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
526
527 self = self;
efc5f224 528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
8ab979d7 529 return NULL;
1d99702e
RD
530 if (_argo0) {
531 if (_argo0 == Py_None) { _arg0 = NULL; }
532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
534 return NULL;
535 }
536 }
cf694132
RD
537{
538 wxPy_BEGIN_ALLOW_THREADS;
539 _result = (int )wxListItem_m_image_get(_arg0);
540
541 wxPy_END_ALLOW_THREADS;
542} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
543 return _resultobj;
544}
545
af309447 546#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
efc5f224 547static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
548 PyObject * _resultobj;
549 long _result;
550 wxListItem * _arg0;
551 long _arg1;
1d99702e 552 PyObject * _argo0 = 0;
efc5f224 553 char *_kwnames[] = { "self","m_data", NULL };
af309447
RD
554
555 self = self;
efc5f224 556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
af309447 557 return NULL;
1d99702e
RD
558 if (_argo0) {
559 if (_argo0 == Py_None) { _arg0 = NULL; }
560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
562 return NULL;
563 }
564 }
cf694132
RD
565{
566 wxPy_BEGIN_ALLOW_THREADS;
567 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
568
569 wxPy_END_ALLOW_THREADS;
570} _resultobj = Py_BuildValue("l",_result);
af309447
RD
571 return _resultobj;
572}
573
8ab979d7 574#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
efc5f224 575static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
576 PyObject * _resultobj;
577 long _result;
578 wxListItem * _arg0;
1d99702e 579 PyObject * _argo0 = 0;
efc5f224 580 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
581
582 self = self;
efc5f224 583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
8ab979d7 584 return NULL;
1d99702e
RD
585 if (_argo0) {
586 if (_argo0 == Py_None) { _arg0 = NULL; }
587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
589 return NULL;
590 }
591 }
cf694132
RD
592{
593 wxPy_BEGIN_ALLOW_THREADS;
594 _result = (long )wxListItem_m_data_get(_arg0);
595
596 wxPy_END_ALLOW_THREADS;
597} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
598 return _resultobj;
599}
600
af309447 601#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
efc5f224 602static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
603 PyObject * _resultobj;
604 int _result;
605 wxListItem * _arg0;
606 int _arg1;
1d99702e 607 PyObject * _argo0 = 0;
efc5f224 608 char *_kwnames[] = { "self","m_format", NULL };
af309447
RD
609
610 self = self;
efc5f224 611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
af309447 612 return NULL;
1d99702e
RD
613 if (_argo0) {
614 if (_argo0 == Py_None) { _arg0 = NULL; }
615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
617 return NULL;
618 }
619 }
cf694132
RD
620{
621 wxPy_BEGIN_ALLOW_THREADS;
622 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
623
624 wxPy_END_ALLOW_THREADS;
625} _resultobj = Py_BuildValue("i",_result);
af309447
RD
626 return _resultobj;
627}
628
8ab979d7 629#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
efc5f224 630static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
631 PyObject * _resultobj;
632 int _result;
633 wxListItem * _arg0;
1d99702e 634 PyObject * _argo0 = 0;
efc5f224 635 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
636
637 self = self;
efc5f224 638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
8ab979d7 639 return NULL;
1d99702e
RD
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
644 return NULL;
645 }
646 }
cf694132
RD
647{
648 wxPy_BEGIN_ALLOW_THREADS;
649 _result = (int )wxListItem_m_format_get(_arg0);
650
651 wxPy_END_ALLOW_THREADS;
652} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
653 return _resultobj;
654}
655
af309447 656#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
efc5f224 657static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
658 PyObject * _resultobj;
659 int _result;
660 wxListItem * _arg0;
661 int _arg1;
1d99702e 662 PyObject * _argo0 = 0;
efc5f224 663 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
664
665 self = self;
efc5f224 666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 667 return NULL;
1d99702e
RD
668 if (_argo0) {
669 if (_argo0 == Py_None) { _arg0 = NULL; }
670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
af309447
RD
671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
672 return NULL;
673 }
674 }
cf694132
RD
675{
676 wxPy_BEGIN_ALLOW_THREADS;
677 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
678
679 wxPy_END_ALLOW_THREADS;
680} _resultobj = Py_BuildValue("i",_result);
af309447
RD
681 return _resultobj;
682}
683
8ab979d7 684#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
efc5f224 685static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
686 PyObject * _resultobj;
687 int _result;
688 wxListItem * _arg0;
1d99702e 689 PyObject * _argo0 = 0;
efc5f224 690 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
691
692 self = self;
efc5f224 693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 694 return NULL;
1d99702e
RD
695 if (_argo0) {
696 if (_argo0 == Py_None) { _arg0 = NULL; }
697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
699 return NULL;
700 }
701 }
cf694132
RD
702{
703 wxPy_BEGIN_ALLOW_THREADS;
704 _result = (int )wxListItem_m_width_get(_arg0);
705
706 wxPy_END_ALLOW_THREADS;
707} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
708 return _resultobj;
709}
710
711#define new_wxListItem() (new wxListItem())
efc5f224 712static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
713 PyObject * _resultobj;
714 wxListItem * _result;
efc5f224 715 char *_kwnames[] = { NULL };
8ab979d7
RD
716 char _ptemp[128];
717
718 self = self;
efc5f224 719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
8ab979d7 720 return NULL;
cf694132
RD
721{
722 wxPy_BEGIN_ALLOW_THREADS;
723 _result = (wxListItem *)new_wxListItem();
724
725 wxPy_END_ALLOW_THREADS;
1d99702e
RD
726} if (_result) {
727 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
728 _resultobj = Py_BuildValue("s",_ptemp);
729 } else {
730 Py_INCREF(Py_None);
731 _resultobj = Py_None;
732 }
8ab979d7
RD
733 return _resultobj;
734}
735
736#define delete_wxListItem(_swigobj) (delete _swigobj)
efc5f224 737static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
738 PyObject * _resultobj;
739 wxListItem * _arg0;
1d99702e 740 PyObject * _argo0 = 0;
efc5f224 741 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
742
743 self = self;
efc5f224 744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
8ab979d7 745 return NULL;
1d99702e
RD
746 if (_argo0) {
747 if (_argo0 == Py_None) { _arg0 = NULL; }
748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
8ab979d7
RD
749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
750 return NULL;
751 }
752 }
cf694132
RD
753{
754 wxPy_BEGIN_ALLOW_THREADS;
755 delete_wxListItem(_arg0);
756
757 wxPy_END_ALLOW_THREADS;
758} Py_INCREF(Py_None);
8ab979d7
RD
759 _resultobj = Py_None;
760 return _resultobj;
761}
762
763static void *SwigwxListEventTowxCommandEvent(void *ptr) {
764 wxListEvent *src;
765 wxCommandEvent *dest;
766 src = (wxListEvent *) ptr;
767 dest = (wxCommandEvent *) src;
768 return (void *) dest;
769}
770
771static void *SwigwxListEventTowxEvent(void *ptr) {
772 wxListEvent *src;
773 wxEvent *dest;
774 src = (wxListEvent *) ptr;
775 dest = (wxEvent *) src;
776 return (void *) dest;
777}
778
af309447 779#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
efc5f224 780static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
781 PyObject * _resultobj;
782 int _result;
783 wxListEvent * _arg0;
784 int _arg1;
1d99702e 785 PyObject * _argo0 = 0;
efc5f224 786 char *_kwnames[] = { "self","m_code", NULL };
af309447
RD
787
788 self = self;
efc5f224 789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
af309447 790 return NULL;
1d99702e
RD
791 if (_argo0) {
792 if (_argo0 == Py_None) { _arg0 = NULL; }
793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
af309447
RD
794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
795 return NULL;
796 }
797 }
cf694132
RD
798{
799 wxPy_BEGIN_ALLOW_THREADS;
800 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
801
802 wxPy_END_ALLOW_THREADS;
803} _resultobj = Py_BuildValue("i",_result);
af309447
RD
804 return _resultobj;
805}
806
8ab979d7 807#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
efc5f224 808static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
809 PyObject * _resultobj;
810 int _result;
811 wxListEvent * _arg0;
1d99702e 812 PyObject * _argo0 = 0;
efc5f224 813 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
814
815 self = self;
efc5f224 816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
8ab979d7 817 return NULL;
1d99702e
RD
818 if (_argo0) {
819 if (_argo0 == Py_None) { _arg0 = NULL; }
820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
8ab979d7
RD
821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
822 return NULL;
823 }
824 }
cf694132
RD
825{
826 wxPy_BEGIN_ALLOW_THREADS;
827 _result = (int )wxListEvent_m_code_get(_arg0);
828
829 wxPy_END_ALLOW_THREADS;
830} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
831 return _resultobj;
832}
833
af309447 834#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
efc5f224 835static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
836 PyObject * _resultobj;
837 long _result;
838 wxListEvent * _arg0;
839 long _arg1;
1d99702e 840 PyObject * _argo0 = 0;
efc5f224 841 char *_kwnames[] = { "self","m_itemIndex", NULL };
af309447
RD
842
843 self = self;
efc5f224 844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
af309447 845 return NULL;
1d99702e
RD
846 if (_argo0) {
847 if (_argo0 == Py_None) { _arg0 = NULL; }
848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
af309447
RD
849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
850 return NULL;
851 }
852 }
cf694132
RD
853{
854 wxPy_BEGIN_ALLOW_THREADS;
855 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
856
857 wxPy_END_ALLOW_THREADS;
858} _resultobj = Py_BuildValue("l",_result);
af309447
RD
859 return _resultobj;
860}
861
8ab979d7 862#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
efc5f224 863static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
864 PyObject * _resultobj;
865 long _result;
866 wxListEvent * _arg0;
1d99702e 867 PyObject * _argo0 = 0;
efc5f224 868 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
869
870 self = self;
efc5f224 871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
8ab979d7 872 return NULL;
1d99702e
RD
873 if (_argo0) {
874 if (_argo0 == Py_None) { _arg0 = NULL; }
875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
8ab979d7
RD
876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
877 return NULL;
878 }
879 }
cf694132
RD
880{
881 wxPy_BEGIN_ALLOW_THREADS;
882 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
883
884 wxPy_END_ALLOW_THREADS;
885} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
886 return _resultobj;
887}
888
af309447 889#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
efc5f224 890static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
891 PyObject * _resultobj;
892 long _result;
893 wxListEvent * _arg0;
894 long _arg1;
1d99702e 895 PyObject * _argo0 = 0;
efc5f224 896 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
af309447
RD
897
898 self = self;
efc5f224 899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
af309447 900 return NULL;
1d99702e
RD
901 if (_argo0) {
902 if (_argo0 == Py_None) { _arg0 = NULL; }
903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
af309447
RD
904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
905 return NULL;
906 }
907 }
cf694132
RD
908{
909 wxPy_BEGIN_ALLOW_THREADS;
910 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
911
912 wxPy_END_ALLOW_THREADS;
913} _resultobj = Py_BuildValue("l",_result);
af309447
RD
914 return _resultobj;
915}
916
8ab979d7 917#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
efc5f224 918static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
919 PyObject * _resultobj;
920 long _result;
921 wxListEvent * _arg0;
1d99702e 922 PyObject * _argo0 = 0;
efc5f224 923 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
924
925 self = self;
efc5f224 926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
8ab979d7 927 return NULL;
1d99702e
RD
928 if (_argo0) {
929 if (_argo0 == Py_None) { _arg0 = NULL; }
930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
8ab979d7
RD
931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
932 return NULL;
933 }
934 }
cf694132
RD
935{
936 wxPy_BEGIN_ALLOW_THREADS;
937 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
938
939 wxPy_END_ALLOW_THREADS;
940} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
941 return _resultobj;
942}
943
af309447 944#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
efc5f224 945static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
946 PyObject * _resultobj;
947 int _result;
948 wxListEvent * _arg0;
949 int _arg1;
1d99702e 950 PyObject * _argo0 = 0;
efc5f224 951 char *_kwnames[] = { "self","m_col", NULL };
af309447
RD
952
953 self = self;
efc5f224 954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
af309447 955 return NULL;
1d99702e
RD
956 if (_argo0) {
957 if (_argo0 == Py_None) { _arg0 = NULL; }
958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
af309447
RD
959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
960 return NULL;
961 }
962 }
cf694132
RD
963{
964 wxPy_BEGIN_ALLOW_THREADS;
965 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
966
967 wxPy_END_ALLOW_THREADS;
968} _resultobj = Py_BuildValue("i",_result);
af309447
RD
969 return _resultobj;
970}
971
8ab979d7 972#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
efc5f224 973static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
974 PyObject * _resultobj;
975 int _result;
976 wxListEvent * _arg0;
1d99702e 977 PyObject * _argo0 = 0;
efc5f224 978 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
979
980 self = self;
efc5f224 981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
8ab979d7 982 return NULL;
1d99702e
RD
983 if (_argo0) {
984 if (_argo0 == Py_None) { _arg0 = NULL; }
985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
8ab979d7
RD
986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
987 return NULL;
988 }
989 }
cf694132
RD
990{
991 wxPy_BEGIN_ALLOW_THREADS;
992 _result = (int )wxListEvent_m_col_get(_arg0);
993
994 wxPy_END_ALLOW_THREADS;
995} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
996 return _resultobj;
997}
998
af309447 999#define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
efc5f224 1000static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1001 PyObject * _resultobj;
1002 bool _result;
1003 wxListEvent * _arg0;
1004 bool _arg1;
1d99702e 1005 PyObject * _argo0 = 0;
af309447 1006 int tempbool1;
efc5f224 1007 char *_kwnames[] = { "self","m_cancelled", NULL };
af309447
RD
1008
1009 self = self;
efc5f224 1010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1))
af309447 1011 return NULL;
1d99702e
RD
1012 if (_argo0) {
1013 if (_argo0 == Py_None) { _arg0 = NULL; }
1014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
af309447
RD
1015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
1016 return NULL;
1017 }
1018 }
1019 _arg1 = (bool ) tempbool1;
cf694132
RD
1020{
1021 wxPy_BEGIN_ALLOW_THREADS;
1022 _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1);
1023
1024 wxPy_END_ALLOW_THREADS;
1025} _resultobj = Py_BuildValue("i",_result);
af309447
RD
1026 return _resultobj;
1027}
1028
8ab979d7 1029#define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
efc5f224 1030static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1031 PyObject * _resultobj;
1032 bool _result;
1033 wxListEvent * _arg0;
1d99702e 1034 PyObject * _argo0 = 0;
efc5f224 1035 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1036
1037 self = self;
efc5f224 1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0))
8ab979d7 1039 return NULL;
1d99702e
RD
1040 if (_argo0) {
1041 if (_argo0 == Py_None) { _arg0 = NULL; }
1042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
8ab979d7
RD
1043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1044 return NULL;
1045 }
1046 }
cf694132
RD
1047{
1048 wxPy_BEGIN_ALLOW_THREADS;
1049 _result = (bool )wxListEvent_m_cancelled_get(_arg0);
1050
1051 wxPy_END_ALLOW_THREADS;
1052} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1053 return _resultobj;
1054}
1055
af309447 1056#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
efc5f224 1057static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1058 PyObject * _resultobj;
1059 wxPoint * _result;
1060 wxListEvent * _arg0;
1061 wxPoint * _arg1;
1d99702e 1062 PyObject * _argo0 = 0;
2f90df85
RD
1063 wxPoint temp;
1064 PyObject * _obj1 = 0;
efc5f224 1065 char *_kwnames[] = { "self","m_pointDrag", NULL };
af309447
RD
1066 char _ptemp[128];
1067
1068 self = self;
2f90df85 1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
af309447 1070 return NULL;
1d99702e
RD
1071 if (_argo0) {
1072 if (_argo0 == Py_None) { _arg0 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
af309447
RD
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1075 return NULL;
1076 }
1077 }
2f90df85
RD
1078{
1079 _arg1 = &temp;
1080 if (! wxPoint_helper(_obj1, &_arg1))
af309447 1081 return NULL;
2f90df85 1082}
cf694132
RD
1083{
1084 wxPy_BEGIN_ALLOW_THREADS;
1085 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
1086
1087 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1088} if (_result) {
1089 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1090 _resultobj = Py_BuildValue("s",_ptemp);
1091 } else {
1092 Py_INCREF(Py_None);
1093 _resultobj = Py_None;
1094 }
af309447
RD
1095 return _resultobj;
1096}
1097
8ab979d7 1098#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
efc5f224 1099static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1100 PyObject * _resultobj;
1101 wxPoint * _result;
1102 wxListEvent * _arg0;
1d99702e 1103 PyObject * _argo0 = 0;
efc5f224 1104 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1105 char _ptemp[128];
1106
1107 self = self;
efc5f224 1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
8ab979d7 1109 return NULL;
1d99702e
RD
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
8ab979d7
RD
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1114 return NULL;
1115 }
1116 }
cf694132
RD
1117{
1118 wxPy_BEGIN_ALLOW_THREADS;
1119 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
1120
1121 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1122} if (_result) {
1123 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1124 _resultobj = Py_BuildValue("s",_ptemp);
1125 } else {
1126 Py_INCREF(Py_None);
1127 _resultobj = Py_None;
1128 }
8ab979d7
RD
1129 return _resultobj;
1130}
1131
af309447 1132#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
efc5f224 1133static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1134 PyObject * _resultobj;
1135 wxListItem * _result;
1136 wxListEvent * _arg0;
1137 wxListItem * _arg1;
1d99702e
RD
1138 PyObject * _argo0 = 0;
1139 PyObject * _argo1 = 0;
efc5f224 1140 char *_kwnames[] = { "self","m_item", NULL };
af309447
RD
1141 char _ptemp[128];
1142
1143 self = self;
efc5f224 1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
af309447 1145 return NULL;
1d99702e
RD
1146 if (_argo0) {
1147 if (_argo0 == Py_None) { _arg0 = NULL; }
1148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
af309447
RD
1149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1150 return NULL;
1151 }
1152 }
1d99702e
RD
1153 if (_argo1) {
1154 if (_argo1 == Py_None) { _arg1 = NULL; }
1155 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
af309447
RD
1156 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1157 return NULL;
1158 }
1159 }
cf694132
RD
1160{
1161 wxPy_BEGIN_ALLOW_THREADS;
1162 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
1163
1164 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1165} if (_result) {
1166 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1167 _resultobj = Py_BuildValue("s",_ptemp);
1168 } else {
1169 Py_INCREF(Py_None);
1170 _resultobj = Py_None;
1171 }
af309447
RD
1172 return _resultobj;
1173}
1174
8ab979d7 1175#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
efc5f224 1176static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1177 PyObject * _resultobj;
1178 wxListItem * _result;
1179 wxListEvent * _arg0;
1d99702e 1180 PyObject * _argo0 = 0;
efc5f224 1181 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1182 char _ptemp[128];
1183
1184 self = self;
efc5f224 1185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
8ab979d7 1186 return NULL;
1d99702e
RD
1187 if (_argo0) {
1188 if (_argo0 == Py_None) { _arg0 = NULL; }
1189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
8ab979d7
RD
1190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1191 return NULL;
1192 }
1193 }
cf694132
RD
1194{
1195 wxPy_BEGIN_ALLOW_THREADS;
1196 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
1197
1198 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1199} if (_result) {
1200 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1201 _resultobj = Py_BuildValue("s",_ptemp);
1202 } else {
1203 Py_INCREF(Py_None);
1204 _resultobj = Py_None;
1205 }
8ab979d7
RD
1206 return _resultobj;
1207}
1208
1209static void *SwigwxListCtrlTowxControl(void *ptr) {
1210 wxListCtrl *src;
1211 wxControl *dest;
1212 src = (wxListCtrl *) ptr;
1213 dest = (wxControl *) src;
1214 return (void *) dest;
1215}
1216
1217static void *SwigwxListCtrlTowxWindow(void *ptr) {
1218 wxListCtrl *src;
1219 wxWindow *dest;
1220 src = (wxListCtrl *) ptr;
1221 dest = (wxWindow *) src;
1222 return (void *) dest;
1223}
1224
1225static void *SwigwxListCtrlTowxEvtHandler(void *ptr) {
1226 wxListCtrl *src;
1227 wxEvtHandler *dest;
1228 src = (wxListCtrl *) ptr;
1229 dest = (wxEvtHandler *) src;
1230 return (void *) dest;
1231}
1232
1233#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 1234static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1235 PyObject * _resultobj;
1236 wxListCtrl * _result;
1237 wxWindow * _arg0;
1238 wxWindowID _arg1;
1d99702e
RD
1239 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
1240 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
1241 long _arg4 = (long ) wxLC_ICON;
1242 wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
1243 char * _arg6 = (char *) "listCtrl";
1244 PyObject * _argo0 = 0;
2f90df85
RD
1245 wxPoint temp;
1246 PyObject * _obj2 = 0;
1247 wxSize temp0;
1248 PyObject * _obj3 = 0;
1d99702e 1249 PyObject * _argo5 = 0;
efc5f224 1250 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
1251 char _ptemp[128];
1252
1253 self = self;
2f90df85 1254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 1255 return NULL;
1d99702e
RD
1256 if (_argo0) {
1257 if (_argo0 == Py_None) { _arg0 = NULL; }
1258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1260 return NULL;
1261 }
1262 }
2f90df85
RD
1263 if (_obj2)
1264{
1265 _arg2 = &temp;
1266 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 1267 return NULL;
2f90df85
RD
1268}
1269 if (_obj3)
1270{
1271 _arg3 = &temp0;
1272 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 1273 return NULL;
2f90df85 1274}
1d99702e
RD
1275 if (_argo5) {
1276 if (_argo5 == Py_None) { _arg5 = NULL; }
1277 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
1278 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1279 return NULL;
1280 }
1281 }
cf694132
RD
1282{
1283 wxPy_BEGIN_ALLOW_THREADS;
1284 _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
1285
1286 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1287} if (_result) {
1288 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p");
1289 _resultobj = Py_BuildValue("s",_ptemp);
1290 } else {
1291 Py_INCREF(Py_None);
1292 _resultobj = Py_None;
1293 }
8ab979d7
RD
1294 return _resultobj;
1295}
1296
1297#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
efc5f224 1298static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1299 PyObject * _resultobj;
1300 bool _result;
1301 wxListCtrl * _arg0;
1d99702e
RD
1302 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
1303 PyObject * _argo0 = 0;
efc5f224 1304 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
1305
1306 self = self;
efc5f224 1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
8ab979d7 1308 return NULL;
1d99702e
RD
1309 if (_argo0) {
1310 if (_argo0 == Py_None) { _arg0 = NULL; }
1311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1313 return NULL;
1314 }
1315 }
cf694132
RD
1316{
1317 wxPy_BEGIN_ALLOW_THREADS;
1318 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
1319
1320 wxPy_END_ALLOW_THREADS;
1321} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1322 return _resultobj;
1323}
1324
1325#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
efc5f224 1326static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1327 PyObject * _resultobj;
1328 bool _result;
1329 wxListCtrl * _arg0;
1330 long _arg1;
1d99702e 1331 PyObject * _argo0 = 0;
efc5f224 1332 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
1333
1334 self = self;
efc5f224 1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 1336 return NULL;
1d99702e
RD
1337 if (_argo0) {
1338 if (_argo0 == Py_None) { _arg0 = NULL; }
1339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1341 return NULL;
1342 }
1343 }
cf694132
RD
1344{
1345 wxPy_BEGIN_ALLOW_THREADS;
1346 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
1347
1348 wxPy_END_ALLOW_THREADS;
1349} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1350 return _resultobj;
1351}
1352
1353#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 1354static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1355 PyObject * _resultobj;
1356 bool _result;
1357 wxListCtrl * _arg0;
1d99702e 1358 PyObject * _argo0 = 0;
efc5f224 1359 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1360
1361 self = self;
efc5f224 1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
8ab979d7 1363 return NULL;
1d99702e
RD
1364 if (_argo0) {
1365 if (_argo0 == Py_None) { _arg0 = NULL; }
1366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1368 return NULL;
1369 }
1370 }
cf694132
RD
1371{
1372 wxPy_BEGIN_ALLOW_THREADS;
1373 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
1374
1375 wxPy_END_ALLOW_THREADS;
1376} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1377 return _resultobj;
1378}
1379
1380#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
efc5f224 1381static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1382 PyObject * _resultobj;
1383 bool _result;
1384 wxListCtrl * _arg0;
1385 int _arg1;
1d99702e 1386 PyObject * _argo0 = 0;
efc5f224 1387 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
1388
1389 self = self;
efc5f224 1390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 1391 return NULL;
1d99702e
RD
1392 if (_argo0) {
1393 if (_argo0 == Py_None) { _arg0 = NULL; }
1394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1396 return NULL;
1397 }
1398 }
cf694132
RD
1399{
1400 wxPy_BEGIN_ALLOW_THREADS;
1401 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
1402
1403 wxPy_END_ALLOW_THREADS;
1404} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1405 return _resultobj;
1406}
1407
1408#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
efc5f224 1409static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1410 PyObject * _resultobj;
1411 bool _result;
1412 wxListCtrl * _arg0;
1d99702e 1413 PyObject * _argo0 = 0;
efc5f224 1414 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1415
1416 self = self;
efc5f224 1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
8ab979d7 1418 return NULL;
1d99702e
RD
1419 if (_argo0) {
1420 if (_argo0 == Py_None) { _arg0 = NULL; }
1421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1423 return NULL;
1424 }
1425 }
cf694132
RD
1426{
1427 wxPy_BEGIN_ALLOW_THREADS;
1428 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
1429
1430 wxPy_END_ALLOW_THREADS;
1431} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1432 return _resultobj;
1433}
1434
1435#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
efc5f224 1436static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1437 PyObject * _resultobj;
1438 wxListCtrl * _arg0;
1d99702e 1439 PyObject * _argo0 = 0;
efc5f224 1440 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1441
1442 self = self;
efc5f224 1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
8ab979d7 1444 return NULL;
1d99702e
RD
1445 if (_argo0) {
1446 if (_argo0 == Py_None) { _arg0 = NULL; }
1447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1449 return NULL;
1450 }
1451 }
cf694132
RD
1452{
1453 wxPy_BEGIN_ALLOW_THREADS;
1454 wxListCtrl_ClearAll(_arg0);
1455
1456 wxPy_END_ALLOW_THREADS;
1457} Py_INCREF(Py_None);
8ab979d7
RD
1458 _resultobj = Py_None;
1459 return _resultobj;
1460}
1461
1462#define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 1463static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1464 PyObject * _resultobj;
1465 wxTextCtrl * _result;
1466 wxListCtrl * _arg0;
1467 long _arg1;
1d99702e 1468 PyObject * _argo0 = 0;
efc5f224 1469 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
1470 char _ptemp[128];
1471
1472 self = self;
efc5f224 1473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 1474 return NULL;
1d99702e
RD
1475 if (_argo0) {
1476 if (_argo0 == Py_None) { _arg0 = NULL; }
1477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1479 return NULL;
1480 }
1481 }
cf694132
RD
1482{
1483 wxPy_BEGIN_ALLOW_THREADS;
1484 _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1);
1485
1486 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1487} if (_result) {
1488 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
1489 _resultobj = Py_BuildValue("s",_ptemp);
1490 } else {
1491 Py_INCREF(Py_None);
1492 _resultobj = Py_None;
1493 }
8ab979d7
RD
1494 return _resultobj;
1495}
1496
1497#define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
efc5f224 1498static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1499 PyObject * _resultobj;
1500 bool _result;
1501 wxListCtrl * _arg0;
1502 bool _arg1;
1d99702e 1503 PyObject * _argo0 = 0;
8ab979d7 1504 int tempbool1;
efc5f224 1505 char *_kwnames[] = { "self","cancel", NULL };
8ab979d7
RD
1506
1507 self = self;
efc5f224 1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1))
8ab979d7 1509 return NULL;
1d99702e
RD
1510 if (_argo0) {
1511 if (_argo0 == Py_None) { _arg0 = NULL; }
1512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
1514 return NULL;
1515 }
1516 }
1517 _arg1 = (bool ) tempbool1;
cf694132
RD
1518{
1519 wxPy_BEGIN_ALLOW_THREADS;
1520 _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1);
1521
1522 wxPy_END_ALLOW_THREADS;
1523} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1524 return _resultobj;
1525}
1526
be4d9c1f 1527#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
efc5f224 1528static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f
RD
1529 PyObject * _resultobj;
1530 wxTextCtrl * _result;
1531 wxListCtrl * _arg0;
1d99702e 1532 PyObject * _argo0 = 0;
efc5f224 1533 char *_kwnames[] = { "self", NULL };
be4d9c1f
RD
1534 char _ptemp[128];
1535
1536 self = self;
efc5f224 1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0))
be4d9c1f 1538 return NULL;
1d99702e
RD
1539 if (_argo0) {
1540 if (_argo0 == Py_None) { _arg0 = NULL; }
1541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
be4d9c1f
RD
1542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
1543 return NULL;
1544 }
1545 }
cf694132
RD
1546{
1547 wxPy_BEGIN_ALLOW_THREADS;
1548 _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0);
1549
1550 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1551} if (_result) {
1552 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
1553 _resultobj = Py_BuildValue("s",_ptemp);
1554 } else {
1555 Py_INCREF(Py_None);
1556 _resultobj = Py_None;
1557 }
be4d9c1f
RD
1558 return _resultobj;
1559}
1560
8ab979d7 1561#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 1562static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1563 PyObject * _resultobj;
1564 bool _result;
1565 wxListCtrl * _arg0;
1566 long _arg1;
1d99702e 1567 PyObject * _argo0 = 0;
efc5f224 1568 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
1569
1570 self = self;
efc5f224 1571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
8ab979d7 1572 return NULL;
1d99702e
RD
1573 if (_argo0) {
1574 if (_argo0 == Py_None) { _arg0 = NULL; }
1575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1577 return NULL;
1578 }
1579 }
cf694132
RD
1580{
1581 wxPy_BEGIN_ALLOW_THREADS;
1582 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
1583
1584 wxPy_END_ALLOW_THREADS;
1585} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1586 return _resultobj;
1587}
1588
1589#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
efc5f224 1590static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1591 PyObject * _resultobj;
1592 long _result;
1593 wxListCtrl * _arg0;
1594 long _arg1;
1595 wxString * _arg2;
1d99702e
RD
1596 bool _arg3 = (bool ) FALSE;
1597 PyObject * _argo0 = 0;
8ab979d7 1598 PyObject * _obj2 = 0;
1d99702e 1599 int tempbool3 = (int) FALSE;
efc5f224 1600 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
1601
1602 self = self;
efc5f224 1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 1604 return NULL;
1d99702e
RD
1605 if (_argo0) {
1606 if (_argo0 == Py_None) { _arg0 = NULL; }
1607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1609 return NULL;
1610 }
1611 }
1612{
1613 if (!PyString_Check(_obj2)) {
1614 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1615 return NULL;
1616 }
cf694132 1617 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7
RD
1618}
1619 _arg3 = (bool ) tempbool3;
cf694132
RD
1620{
1621 wxPy_BEGIN_ALLOW_THREADS;
1622 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
1623
1624 wxPy_END_ALLOW_THREADS;
1625} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1626{
1627 if (_obj2)
1628 delete _arg2;
1629}
1630 return _resultobj;
1631}
1632
1633#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
efc5f224 1634static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1635 PyObject * _resultobj;
1636 long _result;
1637 wxListCtrl * _arg0;
1638 long _arg1;
1639 long _arg2;
1d99702e 1640 PyObject * _argo0 = 0;
efc5f224 1641 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
1642
1643 self = self;
efc5f224 1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1645 return NULL;
1d99702e
RD
1646 if (_argo0) {
1647 if (_argo0 == Py_None) { _arg0 = NULL; }
1648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1650 return NULL;
1651 }
1652 }
cf694132
RD
1653{
1654 wxPy_BEGIN_ALLOW_THREADS;
1655 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
1656
1657 wxPy_END_ALLOW_THREADS;
1658} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1659 return _resultobj;
1660}
1661
1662#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
efc5f224 1663static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1664 PyObject * _resultobj;
1665 long _result;
1666 wxListCtrl * _arg0;
1667 long _arg1;
1668 wxPoint * _arg2;
1669 int _arg3;
1d99702e 1670 PyObject * _argo0 = 0;
2f90df85
RD
1671 wxPoint temp;
1672 PyObject * _obj2 = 0;
efc5f224 1673 char *_kwnames[] = { "self","start","pt","direction", NULL };
8ab979d7
RD
1674
1675 self = self;
2f90df85 1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 1677 return NULL;
1d99702e
RD
1678 if (_argo0) {
1679 if (_argo0 == Py_None) { _arg0 = NULL; }
1680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1682 return NULL;
1683 }
1684 }
2f90df85
RD
1685{
1686 _arg2 = &temp;
1687 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 1688 return NULL;
2f90df85 1689}
cf694132
RD
1690{
1691 wxPy_BEGIN_ALLOW_THREADS;
1692 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
1693
1694 wxPy_END_ALLOW_THREADS;
1695} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1696 return _resultobj;
1697}
1698
1699#define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
efc5f224 1700static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1701 PyObject * _resultobj;
1702 bool _result;
1703 wxListCtrl * _arg0;
1704 int _arg1;
1705 wxListItem * _arg2;
1d99702e
RD
1706 PyObject * _argo0 = 0;
1707 PyObject * _argo2 = 0;
efc5f224 1708 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
1709
1710 self = self;
efc5f224 1711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 1712 return NULL;
1d99702e
RD
1713 if (_argo0) {
1714 if (_argo0 == Py_None) { _arg0 = NULL; }
1715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1717 return NULL;
1718 }
1719 }
1d99702e
RD
1720 if (_argo2) {
1721 if (_argo2 == Py_None) { _arg2 = NULL; }
1722 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
8ab979d7
RD
1723 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1724 return NULL;
1725 }
1726 }
cf694132
RD
1727{
1728 wxPy_BEGIN_ALLOW_THREADS;
1729 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
1730
1731 wxPy_END_ALLOW_THREADS;
1732} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1733 return _resultobj;
1734}
1735
1736#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
efc5f224 1737static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1738 PyObject * _resultobj;
1739 int _result;
1740 wxListCtrl * _arg0;
1741 int _arg1;
1d99702e 1742 PyObject * _argo0 = 0;
efc5f224 1743 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
1744
1745 self = self;
efc5f224 1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 1747 return NULL;
1d99702e
RD
1748 if (_argo0) {
1749 if (_argo0 == Py_None) { _arg0 = NULL; }
1750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1752 return NULL;
1753 }
1754 }
cf694132
RD
1755{
1756 wxPy_BEGIN_ALLOW_THREADS;
1757 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
1758
1759 wxPy_END_ALLOW_THREADS;
1760} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1761 return _resultobj;
1762}
1763
1764#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
efc5f224 1765static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1766 PyObject * _resultobj;
1767 int _result;
1768 wxListCtrl * _arg0;
1d99702e 1769 PyObject * _argo0 = 0;
efc5f224 1770 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1771
1772 self = self;
efc5f224 1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 1774 return NULL;
1d99702e
RD
1775 if (_argo0) {
1776 if (_argo0 == Py_None) { _arg0 = NULL; }
1777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1779 return NULL;
1780 }
1781 }
cf694132
RD
1782{
1783 wxPy_BEGIN_ALLOW_THREADS;
1784 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
1785
1786 wxPy_END_ALLOW_THREADS;
1787} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1788 return _resultobj;
1789}
1790
1791#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
efc5f224 1792static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1793 PyObject * _resultobj;
1794 wxImageList * _result;
1795 wxListCtrl * _arg0;
1796 int _arg1;
1d99702e 1797 PyObject * _argo0 = 0;
efc5f224 1798 char *_kwnames[] = { "self","which", NULL };
8ab979d7
RD
1799 char _ptemp[128];
1800
1801 self = self;
efc5f224 1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
8ab979d7 1803 return NULL;
1d99702e
RD
1804 if (_argo0) {
1805 if (_argo0 == Py_None) { _arg0 = NULL; }
1806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1808 return NULL;
1809 }
1810 }
cf694132
RD
1811{
1812 wxPy_BEGIN_ALLOW_THREADS;
1813 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
1814
1815 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1816} if (_result) {
1817 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
1818 _resultobj = Py_BuildValue("s",_ptemp);
1819 } else {
1820 Py_INCREF(Py_None);
1821 _resultobj = Py_None;
1822 }
8ab979d7
RD
1823 return _resultobj;
1824}
1825
1826#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 1827static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1828 PyObject * _resultobj;
1829 long _result;
1830 wxListCtrl * _arg0;
1831 long _arg1;
1d99702e 1832 PyObject * _argo0 = 0;
efc5f224 1833 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
1834
1835 self = self;
efc5f224 1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 1837 return NULL;
1d99702e
RD
1838 if (_argo0) {
1839 if (_argo0 == Py_None) { _arg0 = NULL; }
1840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1842 return NULL;
1843 }
1844 }
cf694132
RD
1845{
1846 wxPy_BEGIN_ALLOW_THREADS;
1847 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
1848
1849 wxPy_END_ALLOW_THREADS;
1850} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1851 return _resultobj;
1852}
1853
e166644c 1854static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId,int col) {
8ab979d7 1855 wxListItem* info = new wxListItem;
0699c864 1856 info->m_itemId = itemId;
e166644c 1857 info->m_col = col;
8ab979d7
RD
1858 self->GetItem(*info);
1859 return info;
1860 }
efc5f224 1861static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1862 PyObject * _resultobj;
1863 wxListItem * _result;
1864 wxListCtrl * _arg0;
0699c864 1865 long _arg1;
e166644c 1866 int _arg2 = (int ) 0;
1d99702e 1867 PyObject * _argo0 = 0;
e166644c 1868 char *_kwnames[] = { "self","itemId","col", NULL };
8ab979d7
RD
1869 char _ptemp[128];
1870
1871 self = self;
e166644c 1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1873 return NULL;
1d99702e
RD
1874 if (_argo0) {
1875 if (_argo0 == Py_None) { _arg0 = NULL; }
1876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1878 return NULL;
1879 }
1880 }
cf694132
RD
1881{
1882 wxPy_BEGIN_ALLOW_THREADS;
e166644c 1883 _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132
RD
1884
1885 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1886} if (_result) {
1887 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1888 _resultobj = Py_BuildValue("s",_ptemp);
1889 } else {
1890 Py_INCREF(Py_None);
1891 _resultobj = Py_None;
1892 }
8ab979d7
RD
1893 return _resultobj;
1894}
1895
1896static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
1897 wxPoint* pos = new wxPoint;
1898 self->GetItemPosition(item, *pos);
1899 return pos;
1900 }
efc5f224 1901static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1902 PyObject * _resultobj;
1903 wxPoint * _result;
1904 wxListCtrl * _arg0;
1905 long _arg1;
1d99702e 1906 PyObject * _argo0 = 0;
efc5f224 1907 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
1908 char _ptemp[128];
1909
1910 self = self;
efc5f224 1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 1912 return NULL;
1d99702e
RD
1913 if (_argo0) {
1914 if (_argo0 == Py_None) { _arg0 = NULL; }
1915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1917 return NULL;
1918 }
1919 }
cf694132
RD
1920{
1921 wxPy_BEGIN_ALLOW_THREADS;
1922 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
1923
1924 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1925} if (_result) {
1926 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1927 _resultobj = Py_BuildValue("s",_ptemp);
1928 } else {
1929 Py_INCREF(Py_None);
1930 _resultobj = Py_None;
1931 }
8ab979d7
RD
1932 return _resultobj;
1933}
1934
1935static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
1936 wxRect* rect= new wxRect;
1937 self->GetItemRect(item, *rect, code);
1938 return rect;
1939 }
efc5f224 1940static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1941 PyObject * _resultobj;
1942 wxRect * _result;
1943 wxListCtrl * _arg0;
1944 long _arg1;
1d99702e
RD
1945 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
1946 PyObject * _argo0 = 0;
efc5f224 1947 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
1948 char _ptemp[128];
1949
1950 self = self;
efc5f224 1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1952 return NULL;
1d99702e
RD
1953 if (_argo0) {
1954 if (_argo0 == Py_None) { _arg0 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1957 return NULL;
1958 }
1959 }
cf694132
RD
1960{
1961 wxPy_BEGIN_ALLOW_THREADS;
1962 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
1963
1964 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1965} if (_result) {
1966 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1967 _resultobj = Py_BuildValue("s",_ptemp);
1968 } else {
1969 Py_INCREF(Py_None);
1970 _resultobj = Py_None;
1971 }
8ab979d7
RD
1972 return _resultobj;
1973}
1974
1975#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
efc5f224 1976static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1977 PyObject * _resultobj;
1978 int _result;
1979 wxListCtrl * _arg0;
1980 long _arg1;
1981 long _arg2;
1d99702e 1982 PyObject * _argo0 = 0;
efc5f224 1983 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
1984
1985 self = self;
efc5f224 1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 1987 return NULL;
1d99702e
RD
1988 if (_argo0) {
1989 if (_argo0 == Py_None) { _arg0 = NULL; }
1990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
1991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1992 return NULL;
1993 }
1994 }
cf694132
RD
1995{
1996 wxPy_BEGIN_ALLOW_THREADS;
1997 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
1998
1999 wxPy_END_ALLOW_THREADS;
2000} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2001 return _resultobj;
2002}
2003
2004#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 2005static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2006 PyObject * _resultobj;
2007 int _result;
2008 wxListCtrl * _arg0;
1d99702e 2009 PyObject * _argo0 = 0;
efc5f224 2010 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2011
2012 self = self;
efc5f224 2013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 2014 return NULL;
1d99702e
RD
2015 if (_argo0) {
2016 if (_argo0 == Py_None) { _arg0 = NULL; }
2017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
2019 return NULL;
2020 }
2021 }
cf694132
RD
2022{
2023 wxPy_BEGIN_ALLOW_THREADS;
2024 _result = (int )wxListCtrl_GetItemCount(_arg0);
2025
2026 wxPy_END_ALLOW_THREADS;
2027} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2028 return _resultobj;
2029}
2030
2031#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
efc5f224 2032static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2033 PyObject * _resultobj;
2034 int _result;
2035 wxListCtrl * _arg0;
2036 bool _arg1;
1d99702e 2037 PyObject * _argo0 = 0;
8ab979d7 2038 int tempbool1;
efc5f224 2039 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
2040
2041 self = self;
efc5f224 2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 2043 return NULL;
1d99702e
RD
2044 if (_argo0) {
2045 if (_argo0 == Py_None) { _arg0 = NULL; }
2046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
2048 return NULL;
2049 }
2050 }
2051 _arg1 = (bool ) tempbool1;
cf694132
RD
2052{
2053 wxPy_BEGIN_ALLOW_THREADS;
2054 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
2055
2056 wxPy_END_ALLOW_THREADS;
2057} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2058 return _resultobj;
2059}
2060
2061#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 2062static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2063 PyObject * _resultobj;
2064 wxString * _result;
2065 wxListCtrl * _arg0;
2066 long _arg1;
1d99702e 2067 PyObject * _argo0 = 0;
efc5f224 2068 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
2069
2070 self = self;
efc5f224 2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 2072 return NULL;
1d99702e
RD
2073 if (_argo0) {
2074 if (_argo0 == Py_None) { _arg0 = NULL; }
2075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2077 return NULL;
2078 }
2079 }
8ab979d7 2080{
cf694132
RD
2081 wxPy_BEGIN_ALLOW_THREADS;
2082 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
2083
2084 wxPy_END_ALLOW_THREADS;
2085}{
8ab979d7
RD
2086 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2087}
2088{
2089 delete _result;
2090}
2091 return _resultobj;
2092}
2093
2094#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2095static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2096 PyObject * _resultobj;
2097 long _result;
2098 wxListCtrl * _arg0;
2099 long _arg1;
1d99702e
RD
2100 int _arg2 = (int ) (wxLIST_NEXT_ALL);
2101 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
2102 PyObject * _argo0 = 0;
efc5f224 2103 char *_kwnames[] = { "self","item","geometry","state", NULL };
8ab979d7
RD
2104
2105 self = self;
efc5f224 2106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 2107 return NULL;
1d99702e
RD
2108 if (_argo0) {
2109 if (_argo0 == Py_None) { _arg0 = NULL; }
2110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2112 return NULL;
2113 }
2114 }
cf694132
RD
2115{
2116 wxPy_BEGIN_ALLOW_THREADS;
2117 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
2118
2119 wxPy_END_ALLOW_THREADS;
2120} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2121 return _resultobj;
2122}
2123
2124#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
efc5f224 2125static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2126 PyObject * _resultobj;
2127 int _result;
2128 wxListCtrl * _arg0;
1d99702e 2129 PyObject * _argo0 = 0;
efc5f224 2130 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2131
2132 self = self;
efc5f224 2133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 2134 return NULL;
1d99702e
RD
2135 if (_argo0) {
2136 if (_argo0 == Py_None) { _arg0 = NULL; }
2137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2139 return NULL;
2140 }
2141 }
cf694132
RD
2142{
2143 wxPy_BEGIN_ALLOW_THREADS;
2144 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
2145
2146 wxPy_END_ALLOW_THREADS;
2147} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2148 return _resultobj;
2149}
2150
2151#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
efc5f224 2152static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2153 PyObject * _resultobj;
2154 wxColour * _result;
2155 wxListCtrl * _arg0;
1d99702e 2156 PyObject * _argo0 = 0;
efc5f224 2157 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2158 char _ptemp[128];
2159
2160 self = self;
efc5f224 2161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 2162 return NULL;
1d99702e
RD
2163 if (_argo0) {
2164 if (_argo0 == Py_None) { _arg0 = NULL; }
2165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
2167 return NULL;
2168 }
2169 }
cf694132
RD
2170{
2171 wxPy_BEGIN_ALLOW_THREADS;
2172 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
2173
2174 wxPy_END_ALLOW_THREADS;
2175} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
2176 _resultobj = Py_BuildValue("s",_ptemp);
2177 return _resultobj;
2178}
2179
be4d9c1f 2180#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
efc5f224 2181static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f
RD
2182 PyObject * _resultobj;
2183 wxListCtrl * _arg0;
2184 wxColour * _arg1;
1d99702e
RD
2185 PyObject * _argo0 = 0;
2186 PyObject * _argo1 = 0;
efc5f224 2187 char *_kwnames[] = { "self","col", NULL };
be4d9c1f
RD
2188
2189 self = self;
efc5f224 2190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_argo1))
be4d9c1f 2191 return NULL;
1d99702e
RD
2192 if (_argo0) {
2193 if (_argo0 == Py_None) { _arg0 = NULL; }
2194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
be4d9c1f
RD
2195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
2196 return NULL;
2197 }
2198 }
1d99702e
RD
2199 if (_argo1) {
2200 if (_argo1 == Py_None) { _arg1 = NULL; }
2201 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
be4d9c1f
RD
2202 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
2203 return NULL;
2204 }
2205 }
cf694132
RD
2206{
2207 wxPy_BEGIN_ALLOW_THREADS;
2208 wxListCtrl_SetTextColour(_arg0,*_arg1);
2209
2210 wxPy_END_ALLOW_THREADS;
2211} Py_INCREF(Py_None);
be4d9c1f
RD
2212 _resultobj = Py_None;
2213 return _resultobj;
2214}
2215
8ab979d7 2216#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 2217static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2218 PyObject * _resultobj;
2219 long _result;
2220 wxListCtrl * _arg0;
1d99702e 2221 PyObject * _argo0 = 0;
efc5f224 2222 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2223
2224 self = self;
efc5f224 2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 2226 return NULL;
1d99702e
RD
2227 if (_argo0) {
2228 if (_argo0 == Py_None) { _arg0 = NULL; }
2229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2231 return NULL;
2232 }
2233 }
cf694132
RD
2234{
2235 wxPy_BEGIN_ALLOW_THREADS;
2236 _result = (long )wxListCtrl_GetTopItem(_arg0);
2237
2238 wxPy_END_ALLOW_THREADS;
2239} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2240 return _resultobj;
2241}
2242
2243#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 2244static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2245 PyObject * _resultobj;
2246 long _result;
2247 wxListCtrl * _arg0;
2248 wxPoint * _arg1;
2249 int * _arg2;
2250 int temp;
1d99702e 2251 PyObject * _argo0 = 0;
2f90df85
RD
2252 wxPoint temp0;
2253 PyObject * _obj1 = 0;
efc5f224 2254 char *_kwnames[] = { "self","point", NULL };
8ab979d7
RD
2255
2256 self = self;
2257{
2258 _arg2 = &temp;
2259}
2f90df85 2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
8ab979d7 2261 return NULL;
1d99702e
RD
2262 if (_argo0) {
2263 if (_argo0 == Py_None) { _arg0 = NULL; }
2264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2266 return NULL;
2267 }
2268 }
2f90df85
RD
2269{
2270 _arg1 = &temp0;
2271 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 2272 return NULL;
2f90df85 2273}
cf694132
RD
2274{
2275 wxPy_BEGIN_ALLOW_THREADS;
2276 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
2277
2278 wxPy_END_ALLOW_THREADS;
2279} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2280{
2281 PyObject *o;
2282 o = PyInt_FromLong((long) (*_arg2));
2283 _resultobj = t_output_helper(_resultobj, o);
2284}
2285 return _resultobj;
2286}
2287
0699c864 2288#define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
efc5f224 2289static PyObject *_wrap_wxListCtrl_InsertColumnWith(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2290 PyObject * _resultobj;
2291 long _result;
2292 wxListCtrl * _arg0;
2293 long _arg1;
2294 wxListItem * _arg2;
1d99702e
RD
2295 PyObject * _argo0 = 0;
2296 PyObject * _argo2 = 0;
efc5f224 2297 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
2298
2299 self = self;
efc5f224 2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnWith",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 2301 return NULL;
1d99702e
RD
2302 if (_argo0) {
2303 if (_argo0 == Py_None) { _arg0 = NULL; }
2304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
0699c864 2305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
8ab979d7
RD
2306 return NULL;
2307 }
2308 }
1d99702e
RD
2309 if (_argo2) {
2310 if (_argo2 == Py_None) { _arg2 = NULL; }
2311 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
0699c864 2312 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
8ab979d7
RD
2313 return NULL;
2314 }
2315 }
cf694132
RD
2316{
2317 wxPy_BEGIN_ALLOW_THREADS;
2318 _result = (long )wxListCtrl_InsertColumnWith(_arg0,_arg1,*_arg2);
2319
2320 wxPy_END_ALLOW_THREADS;
2321} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2322 return _resultobj;
2323}
2324
2325#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 2326static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2327 PyObject * _resultobj;
2328 long _result;
2329 wxListCtrl * _arg0;
2330 long _arg1;
2331 wxString * _arg2;
1d99702e
RD
2332 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
2333 int _arg4 = (int ) -1;
2334 PyObject * _argo0 = 0;
8ab979d7 2335 PyObject * _obj2 = 0;
efc5f224 2336 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
2337
2338 self = self;
efc5f224 2339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 2340 return NULL;
1d99702e
RD
2341 if (_argo0) {
2342 if (_argo0 == Py_None) { _arg0 = NULL; }
2343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2345 return NULL;
2346 }
2347 }
2348{
2349 if (!PyString_Check(_obj2)) {
2350 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2351 return NULL;
2352 }
cf694132 2353 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 2354}
cf694132
RD
2355{
2356 wxPy_BEGIN_ALLOW_THREADS;
2357 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
2358
2359 wxPy_END_ALLOW_THREADS;
2360} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2361{
2362 if (_obj2)
2363 delete _arg2;
2364}
2365 return _resultobj;
2366}
2367
2368#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
efc5f224 2369static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2370 PyObject * _resultobj;
2371 long _result;
2372 wxListCtrl * _arg0;
2373 wxListItem * _arg1;
1d99702e
RD
2374 PyObject * _argo0 = 0;
2375 PyObject * _argo1 = 0;
efc5f224 2376 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
2377
2378 self = self;
efc5f224 2379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
8ab979d7 2380 return NULL;
1d99702e
RD
2381 if (_argo0) {
2382 if (_argo0 == Py_None) { _arg0 = NULL; }
2383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2385 return NULL;
2386 }
2387 }
1d99702e
RD
2388 if (_argo1) {
2389 if (_argo1 == Py_None) { _arg1 = NULL; }
2390 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
8ab979d7
RD
2391 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2392 return NULL;
2393 }
2394 }
cf694132
RD
2395{
2396 wxPy_BEGIN_ALLOW_THREADS;
2397 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
2398
2399 wxPy_END_ALLOW_THREADS;
2400} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2401 return _resultobj;
2402}
2403
2404#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
efc5f224 2405static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2406 PyObject * _resultobj;
2407 long _result;
2408 wxListCtrl * _arg0;
2409 long _arg1;
2410 wxString * _arg2;
1d99702e 2411 PyObject * _argo0 = 0;
8ab979d7 2412 PyObject * _obj2 = 0;
efc5f224 2413 char *_kwnames[] = { "self","index","label", NULL };
8ab979d7
RD
2414
2415 self = self;
efc5f224 2416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 2417 return NULL;
1d99702e
RD
2418 if (_argo0) {
2419 if (_argo0 == Py_None) { _arg0 = NULL; }
2420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2422 return NULL;
2423 }
2424 }
2425{
2426 if (!PyString_Check(_obj2)) {
2427 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2428 return NULL;
2429 }
cf694132 2430 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 2431}
cf694132
RD
2432{
2433 wxPy_BEGIN_ALLOW_THREADS;
2434 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
2435
2436 wxPy_END_ALLOW_THREADS;
2437} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2438{
2439 if (_obj2)
2440 delete _arg2;
2441}
2442 return _resultobj;
2443}
2444
2445#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
efc5f224 2446static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2447 PyObject * _resultobj;
2448 long _result;
2449 wxListCtrl * _arg0;
2450 long _arg1;
2451 int _arg2;
1d99702e 2452 PyObject * _argo0 = 0;
efc5f224 2453 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
2454
2455 self = self;
efc5f224 2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2457 return NULL;
1d99702e
RD
2458 if (_argo0) {
2459 if (_argo0 == Py_None) { _arg0 = NULL; }
2460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2462 return NULL;
2463 }
2464 }
cf694132
RD
2465{
2466 wxPy_BEGIN_ALLOW_THREADS;
2467 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
2468
2469 wxPy_END_ALLOW_THREADS;
2470} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2471 return _resultobj;
2472}
2473
2474#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2475static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2476 PyObject * _resultobj;
2477 long _result;
2478 wxListCtrl * _arg0;
2479 long _arg1;
2480 wxString * _arg2;
2481 int _arg3;
1d99702e 2482 PyObject * _argo0 = 0;
8ab979d7 2483 PyObject * _obj2 = 0;
efc5f224 2484 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
2485
2486 self = self;
efc5f224 2487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 2488 return NULL;
1d99702e
RD
2489 if (_argo0) {
2490 if (_argo0 == Py_None) { _arg0 = NULL; }
2491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2493 return NULL;
2494 }
2495 }
2496{
2497 if (!PyString_Check(_obj2)) {
2498 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2499 return NULL;
2500 }
cf694132 2501 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 2502}
cf694132
RD
2503{
2504 wxPy_BEGIN_ALLOW_THREADS;
2505 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
2506
2507 wxPy_END_ALLOW_THREADS;
2508} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2509{
2510 if (_obj2)
2511 delete _arg2;
2512}
2513 return _resultobj;
2514}
2515
2516#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
efc5f224 2517static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2518 PyObject * _resultobj;
2519 bool _result;
2520 wxListCtrl * _arg0;
2521 int _arg1;
2522 int _arg2;
1d99702e 2523 PyObject * _argo0 = 0;
efc5f224 2524 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
2525
2526 self = self;
efc5f224 2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2528 return NULL;
1d99702e
RD
2529 if (_argo0) {
2530 if (_argo0 == Py_None) { _arg0 = NULL; }
2531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2533 return NULL;
2534 }
2535 }
cf694132
RD
2536{
2537 wxPy_BEGIN_ALLOW_THREADS;
2538 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
2539
2540 wxPy_END_ALLOW_THREADS;
2541} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2542 return _resultobj;
2543}
2544
2545#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
efc5f224 2546static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2547 PyObject * _resultobj;
2548 wxListCtrl * _arg0;
2549 wxColour * _arg1;
1d99702e
RD
2550 PyObject * _argo0 = 0;
2551 PyObject * _argo1 = 0;
efc5f224 2552 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
2553
2554 self = self;
efc5f224 2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
8ab979d7 2556 return NULL;
1d99702e
RD
2557 if (_argo0) {
2558 if (_argo0 == Py_None) { _arg0 = NULL; }
2559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2561 return NULL;
2562 }
2563 }
1d99702e
RD
2564 if (_argo1) {
2565 if (_argo1 == Py_None) { _arg1 = NULL; }
2566 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
2567 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2568 return NULL;
2569 }
2570 }
cf694132
RD
2571{
2572 wxPy_BEGIN_ALLOW_THREADS;
2573 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
2574
2575 wxPy_END_ALLOW_THREADS;
2576} Py_INCREF(Py_None);
8ab979d7
RD
2577 _resultobj = Py_None;
2578 return _resultobj;
2579}
2580
2581#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
efc5f224 2582static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2583 PyObject * _resultobj;
2584 bool _result;
2585 wxListCtrl * _arg0;
2586 int _arg1;
2587 wxListItem * _arg2;
1d99702e
RD
2588 PyObject * _argo0 = 0;
2589 PyObject * _argo2 = 0;
efc5f224 2590 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
2591
2592 self = self;
efc5f224 2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 2594 return NULL;
1d99702e
RD
2595 if (_argo0) {
2596 if (_argo0 == Py_None) { _arg0 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2599 return NULL;
2600 }
2601 }
1d99702e
RD
2602 if (_argo2) {
2603 if (_argo2 == Py_None) { _arg2 = NULL; }
2604 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
8ab979d7
RD
2605 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2606 return NULL;
2607 }
2608 }
cf694132
RD
2609{
2610 wxPy_BEGIN_ALLOW_THREADS;
2611 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
2612
2613 wxPy_END_ALLOW_THREADS;
2614} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2615 return _resultobj;
2616}
2617
2618#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
efc5f224 2619static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2620 PyObject * _resultobj;
2621 bool _result;
2622 wxListCtrl * _arg0;
2623 int _arg1;
2624 int _arg2;
1d99702e 2625 PyObject * _argo0 = 0;
efc5f224 2626 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
2627
2628 self = self;
efc5f224 2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2630 return NULL;
1d99702e
RD
2631 if (_argo0) {
2632 if (_argo0 == Py_None) { _arg0 = NULL; }
2633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2635 return NULL;
2636 }
2637 }
cf694132
RD
2638{
2639 wxPy_BEGIN_ALLOW_THREADS;
2640 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
2641
2642 wxPy_END_ALLOW_THREADS;
2643} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2644 return _resultobj;
2645}
2646
2647#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
efc5f224 2648static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2649 PyObject * _resultobj;
2650 wxListCtrl * _arg0;
2651 wxImageList * _arg1;
2652 int _arg2;
1d99702e
RD
2653 PyObject * _argo0 = 0;
2654 PyObject * _argo1 = 0;
efc5f224 2655 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
2656
2657 self = self;
efc5f224 2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 2659 return NULL;
1d99702e
RD
2660 if (_argo0) {
2661 if (_argo0 == Py_None) { _arg0 = NULL; }
2662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2664 return NULL;
2665 }
2666 }
1d99702e
RD
2667 if (_argo1) {
2668 if (_argo1 == Py_None) { _arg1 = NULL; }
2669 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
8ab979d7
RD
2670 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2671 return NULL;
2672 }
2673 }
cf694132
RD
2674{
2675 wxPy_BEGIN_ALLOW_THREADS;
2676 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
2677
2678 wxPy_END_ALLOW_THREADS;
2679} Py_INCREF(Py_None);
8ab979d7
RD
2680 _resultobj = Py_None;
2681 return _resultobj;
2682}
2683
2684#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
efc5f224 2685static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2686 PyObject * _resultobj;
2687 bool _result;
2688 wxListCtrl * _arg0;
2689 wxListItem * _arg1;
1d99702e
RD
2690 PyObject * _argo0 = 0;
2691 PyObject * _argo1 = 0;
efc5f224 2692 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
2693
2694 self = self;
efc5f224 2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 2696 return NULL;
1d99702e
RD
2697 if (_argo0) {
2698 if (_argo0 == Py_None) { _arg0 = NULL; }
2699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2701 return NULL;
2702 }
2703 }
1d99702e
RD
2704 if (_argo1) {
2705 if (_argo1 == Py_None) { _arg1 = NULL; }
2706 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
8ab979d7
RD
2707 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2708 return NULL;
2709 }
2710 }
cf694132
RD
2711{
2712 wxPy_BEGIN_ALLOW_THREADS;
2713 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
2714
2715 wxPy_END_ALLOW_THREADS;
2716} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2717 return _resultobj;
2718}
2719
af309447 2720#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 2721static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2722 PyObject * _resultobj;
2723 long _result;
2724 wxListCtrl * _arg0;
2725 long _arg1;
2726 int _arg2;
2727 wxString * _arg3;
1d99702e
RD
2728 int _arg4 = (int ) -1;
2729 PyObject * _argo0 = 0;
8ab979d7 2730 PyObject * _obj3 = 0;
efc5f224 2731 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
2732
2733 self = self;
efc5f224 2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 2735 return NULL;
1d99702e
RD
2736 if (_argo0) {
2737 if (_argo0 == Py_None) { _arg0 = NULL; }
2738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
af309447 2739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
8ab979d7
RD
2740 return NULL;
2741 }
2742 }
2743{
2744 if (!PyString_Check(_obj3)) {
2745 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2746 return NULL;
2747 }
cf694132 2748 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
8ab979d7 2749}
cf694132
RD
2750{
2751 wxPy_BEGIN_ALLOW_THREADS;
2752 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
2753
2754 wxPy_END_ALLOW_THREADS;
2755} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2756{
2757 if (_obj3)
2758 delete _arg3;
2759}
2760 return _resultobj;
2761}
2762
2763#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
efc5f224 2764static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2765 PyObject * _resultobj;
2766 bool _result;
2767 wxListCtrl * _arg0;
2768 long _arg1;
2769 long _arg2;
1d99702e 2770 PyObject * _argo0 = 0;
efc5f224 2771 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
2772
2773 self = self;
efc5f224 2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2775 return NULL;
1d99702e
RD
2776 if (_argo0) {
2777 if (_argo0 == Py_None) { _arg0 = NULL; }
2778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2780 return NULL;
2781 }
2782 }
cf694132
RD
2783{
2784 wxPy_BEGIN_ALLOW_THREADS;
2785 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
2786
2787 wxPy_END_ALLOW_THREADS;
2788} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2789 return _resultobj;
2790}
2791
2792#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2793static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2794 PyObject * _resultobj;
2795 bool _result;
2796 wxListCtrl * _arg0;
2797 long _arg1;
2798 int _arg2;
2799 int _arg3;
1d99702e 2800 PyObject * _argo0 = 0;
efc5f224 2801 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
2802
2803 self = self;
efc5f224 2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 2805 return NULL;
1d99702e
RD
2806 if (_argo0) {
2807 if (_argo0 == Py_None) { _arg0 = NULL; }
2808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2810 return NULL;
2811 }
2812 }
cf694132
RD
2813{
2814 wxPy_BEGIN_ALLOW_THREADS;
2815 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
2816
2817 wxPy_END_ALLOW_THREADS;
2818} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2819 return _resultobj;
2820}
2821
2822#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
efc5f224 2823static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2824 PyObject * _resultobj;
2825 bool _result;
2826 wxListCtrl * _arg0;
2827 long _arg1;
2828 wxPoint * _arg2;
1d99702e 2829 PyObject * _argo0 = 0;
2f90df85
RD
2830 wxPoint temp;
2831 PyObject * _obj2 = 0;
efc5f224 2832 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
2833
2834 self = self;
2f90df85 2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 2836 return NULL;
1d99702e
RD
2837 if (_argo0) {
2838 if (_argo0 == Py_None) { _arg0 = NULL; }
2839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2841 return NULL;
2842 }
2843 }
2f90df85
RD
2844{
2845 _arg2 = &temp;
2846 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2847 return NULL;
2f90df85 2848}
cf694132
RD
2849{
2850 wxPy_BEGIN_ALLOW_THREADS;
2851 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
2852
2853 wxPy_END_ALLOW_THREADS;
2854} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2855 return _resultobj;
2856}
2857
2858#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
efc5f224 2859static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2860 PyObject * _resultobj;
2861 bool _result;
2862 wxListCtrl * _arg0;
2863 long _arg1;
2864 long _arg2;
2865 long _arg3;
1d99702e 2866 PyObject * _argo0 = 0;
efc5f224 2867 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
2868
2869 self = self;
efc5f224 2870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 2871 return NULL;
1d99702e
RD
2872 if (_argo0) {
2873 if (_argo0 == Py_None) { _arg0 = NULL; }
2874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2876 return NULL;
2877 }
2878 }
cf694132
RD
2879{
2880 wxPy_BEGIN_ALLOW_THREADS;
2881 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
2882
2883 wxPy_END_ALLOW_THREADS;
2884} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2885 return _resultobj;
2886}
2887
2888#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 2889static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2890 PyObject * _resultobj;
2891 wxListCtrl * _arg0;
2892 long _arg1;
2893 wxString * _arg2;
1d99702e 2894 PyObject * _argo0 = 0;
8ab979d7 2895 PyObject * _obj2 = 0;
efc5f224 2896 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
2897
2898 self = self;
efc5f224 2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 2900 return NULL;
1d99702e
RD
2901 if (_argo0) {
2902 if (_argo0 == Py_None) { _arg0 = NULL; }
2903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2905 return NULL;
2906 }
2907 }
2908{
2909 if (!PyString_Check(_obj2)) {
2910 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2911 return NULL;
2912 }
cf694132 2913 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 2914}
cf694132
RD
2915{
2916 wxPy_BEGIN_ALLOW_THREADS;
2917 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
2918
2919 wxPy_END_ALLOW_THREADS;
2920} Py_INCREF(Py_None);
8ab979d7
RD
2921 _resultobj = Py_None;
2922{
2923 if (_obj2)
2924 delete _arg2;
2925}
2926 return _resultobj;
2927}
2928
2929#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
efc5f224 2930static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2931 PyObject * _resultobj;
2932 wxListCtrl * _arg0;
2933 long _arg1;
1d99702e
RD
2934 bool _arg2 = (bool ) TRUE;
2935 PyObject * _argo0 = 0;
2936 int tempbool2 = (int) TRUE;
efc5f224 2937 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
2938
2939 self = self;
efc5f224 2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 2941 return NULL;
1d99702e
RD
2942 if (_argo0) {
2943 if (_argo0 == Py_None) { _arg0 = NULL; }
2944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2946 return NULL;
2947 }
2948 }
2949 _arg2 = (bool ) tempbool2;
cf694132
RD
2950{
2951 wxPy_BEGIN_ALLOW_THREADS;
2952 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
2953
2954 wxPy_END_ALLOW_THREADS;
2955} Py_INCREF(Py_None);
8ab979d7
RD
2956 _resultobj = Py_None;
2957 return _resultobj;
2958}
2959
8ab979d7 2960#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
efc5f224 2961static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2962 PyObject * _resultobj;
2963 wxListCtrl * _arg0;
2964 long _arg1;
1d99702e 2965 PyObject * _argo0 = 0;
efc5f224 2966 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
2967
2968 self = self;
efc5f224 2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 2970 return NULL;
1d99702e
RD
2971 if (_argo0) {
2972 if (_argo0 == Py_None) { _arg0 = NULL; }
2973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2975 return NULL;
2976 }
2977 }
cf694132
RD
2978{
2979 wxPy_BEGIN_ALLOW_THREADS;
2980 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
2981
2982 wxPy_END_ALLOW_THREADS;
2983} Py_INCREF(Py_None);
8ab979d7
RD
2984 _resultobj = Py_None;
2985 return _resultobj;
2986}
2987
d5c9047a 2988#define new_wxTreeItemId() (new wxTreeItemId())
efc5f224 2989static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2990 PyObject * _resultobj;
d5c9047a 2991 wxTreeItemId * _result;
efc5f224 2992 char *_kwnames[] = { NULL };
d5c9047a 2993 char _ptemp[128];
8ab979d7
RD
2994
2995 self = self;
efc5f224 2996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
8ab979d7 2997 return NULL;
cf694132
RD
2998{
2999 wxPy_BEGIN_ALLOW_THREADS;
3000 _result = (wxTreeItemId *)new_wxTreeItemId();
3001
3002 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3003} if (_result) {
3004 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
3005 _resultobj = Py_BuildValue("s",_ptemp);
3006 } else {
3007 Py_INCREF(Py_None);
3008 _resultobj = Py_None;
3009 }
8ab979d7
RD
3010 return _resultobj;
3011}
3012
d5c9047a 3013#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
efc5f224 3014static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3015 PyObject * _resultobj;
d5c9047a 3016 wxTreeItemId * _arg0;
1d99702e 3017 PyObject * _argo0 = 0;
efc5f224 3018 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3019
3020 self = self;
efc5f224 3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
8ab979d7 3022 return NULL;
1d99702e
RD
3023 if (_argo0) {
3024 if (_argo0 == Py_None) { _arg0 = NULL; }
3025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 3026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
8ab979d7
RD
3027 return NULL;
3028 }
3029 }
cf694132
RD
3030{
3031 wxPy_BEGIN_ALLOW_THREADS;
3032 delete_wxTreeItemId(_arg0);
3033
3034 wxPy_END_ALLOW_THREADS;
3035} Py_INCREF(Py_None);
d5c9047a 3036 _resultobj = Py_None;
8ab979d7
RD
3037 return _resultobj;
3038}
3039
d5c9047a 3040#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
efc5f224 3041static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3042 PyObject * _resultobj;
d5c9047a
RD
3043 bool _result;
3044 wxTreeItemId * _arg0;
1d99702e 3045 PyObject * _argo0 = 0;
efc5f224 3046 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3047
3048 self = self;
efc5f224 3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
8ab979d7 3050 return NULL;
1d99702e
RD
3051 if (_argo0) {
3052 if (_argo0 == Py_None) { _arg0 = NULL; }
3053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 3054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
8ab979d7
RD
3055 return NULL;
3056 }
3057 }
cf694132
RD
3058{
3059 wxPy_BEGIN_ALLOW_THREADS;
3060 _result = (bool )wxTreeItemId_IsOk(_arg0);
3061
3062 wxPy_END_ALLOW_THREADS;
3063} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3064 return _resultobj;
3065}
3066
cf694132 3067#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
efc5f224 3068static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3069 PyObject * _resultobj;
cf694132 3070 wxPyTreeItemData * _result;
1d99702e 3071 PyObject * _arg0 = (PyObject *) NULL;
cf694132 3072 PyObject * _obj0 = 0;
efc5f224 3073 char *_kwnames[] = { "obj", NULL };
d5c9047a 3074 char _ptemp[128];
8ab979d7
RD
3075
3076 self = self;
efc5f224 3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
8ab979d7 3078 return NULL;
cf694132
RD
3079 if (_obj0)
3080{
3081 _arg0 = _obj0;
3082}
3083{
3084 wxPy_BEGIN_ALLOW_THREADS;
3085 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
3086
3087 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3088} if (_result) {
3089 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
3090 _resultobj = Py_BuildValue("s",_ptemp);
3091 } else {
3092 Py_INCREF(Py_None);
3093 _resultobj = Py_None;
3094 }
8ab979d7
RD
3095 return _resultobj;
3096}
3097
cf694132 3098#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
efc5f224 3099static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
3100 PyObject * _resultobj;
3101 PyObject * _result;
3102 wxPyTreeItemData * _arg0;
1d99702e 3103 PyObject * _argo0 = 0;
efc5f224 3104 char *_kwnames[] = { "self", NULL };
cf694132
RD
3105
3106 self = self;
efc5f224 3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
cf694132 3108 return NULL;
1d99702e
RD
3109 if (_argo0) {
3110 if (_argo0 == Py_None) { _arg0 = NULL; }
3111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132
RD
3112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
3113 return NULL;
3114 }
3115 }
3116{
3117 wxPy_BEGIN_ALLOW_THREADS;
3118 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
3119
3120 wxPy_END_ALLOW_THREADS;
3121}{
3122 _resultobj = _result;
3123}
3124 return _resultobj;
3125}
3126
3127#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
efc5f224 3128static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3129 PyObject * _resultobj;
cf694132
RD
3130 wxPyTreeItemData * _arg0;
3131 PyObject * _arg1;
1d99702e 3132 PyObject * _argo0 = 0;
cf694132 3133 PyObject * _obj1 = 0;
efc5f224 3134 char *_kwnames[] = { "self","obj", NULL };
8ab979d7
RD
3135
3136 self = self;
efc5f224 3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
8ab979d7 3138 return NULL;
1d99702e
RD
3139 if (_argo0) {
3140 if (_argo0 == Py_None) { _arg0 = NULL; }
3141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 3142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
3143 return NULL;
3144 }
3145 }
cf694132
RD
3146{
3147 _arg1 = _obj1;
3148}
3149{
3150 wxPy_BEGIN_ALLOW_THREADS;
3151 wxTreeItemData_SetData(_arg0,_arg1);
3152
3153 wxPy_END_ALLOW_THREADS;
3154} Py_INCREF(Py_None);
d5c9047a 3155 _resultobj = Py_None;
8ab979d7
RD
3156 return _resultobj;
3157}
3158
630d84f2 3159#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
efc5f224 3160static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3161 PyObject * _resultobj;
d5c9047a 3162 wxTreeItemId * _result;
cf694132 3163 wxPyTreeItemData * _arg0;
1d99702e 3164 PyObject * _argo0 = 0;
efc5f224 3165 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3166 char _ptemp[128];
3167
3168 self = self;
efc5f224 3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
8ab979d7 3170 return NULL;
1d99702e
RD
3171 if (_argo0) {
3172 if (_argo0 == Py_None) { _arg0 = NULL; }
3173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 3174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
3175 return NULL;
3176 }
3177 }
cf694132
RD
3178{
3179 wxPy_BEGIN_ALLOW_THREADS;
3180 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
d5c9047a 3181 _result = (wxTreeItemId *) &_result_ref;
cf694132
RD
3182
3183 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3184} if (_result) {
3185 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
3186 _resultobj = Py_BuildValue("s",_ptemp);
3187 } else {
3188 Py_INCREF(Py_None);
3189 _resultobj = Py_None;
3190 }
8ab979d7
RD
3191 return _resultobj;
3192}
3193
630d84f2 3194#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 3195static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 3196 PyObject * _resultobj;
cf694132 3197 wxPyTreeItemData * _arg0;
630d84f2 3198 wxTreeItemId * _arg1;
1d99702e
RD
3199 PyObject * _argo0 = 0;
3200 PyObject * _argo1 = 0;
efc5f224 3201 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
3202
3203 self = self;
efc5f224 3204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 3205 return NULL;
1d99702e
RD
3206 if (_argo0) {
3207 if (_argo0 == Py_None) { _arg0 = NULL; }
3208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 3209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
3210 return NULL;
3211 }
3212 }
1d99702e
RD
3213 if (_argo1) {
3214 if (_argo1 == Py_None) { _arg1 = NULL; }
3215 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
3216 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3217 return NULL;
3218 }
3219 }
cf694132
RD
3220{
3221 wxPy_BEGIN_ALLOW_THREADS;
3222 wxTreeItemData_SetId(_arg0,*_arg1);
3223
3224 wxPy_END_ALLOW_THREADS;
3225} Py_INCREF(Py_None);
630d84f2
RD
3226 _resultobj = Py_None;
3227 return _resultobj;
3228}
3229
8bf5d46e
RD
3230static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
3231 wxTreeEvent *src;
3232 wxNotifyEvent *dest;
3233 src = (wxTreeEvent *) ptr;
3234 dest = (wxNotifyEvent *) src;
3235 return (void *) dest;
3236}
3237
8ab979d7
RD
3238static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
3239 wxTreeEvent *src;
3240 wxCommandEvent *dest;
3241 src = (wxTreeEvent *) ptr;
3242 dest = (wxCommandEvent *) src;
3243 return (void *) dest;
3244}
3245
3246static void *SwigwxTreeEventTowxEvent(void *ptr) {
3247 wxTreeEvent *src;
3248 wxEvent *dest;
3249 src = (wxTreeEvent *) ptr;
3250 dest = (wxEvent *) src;
3251 return (void *) dest;
3252}
3253
d5c9047a 3254#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 3255static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3256 PyObject * _resultobj;
d5c9047a 3257 wxTreeItemId * _result;
8ab979d7 3258 wxTreeEvent * _arg0;
1d99702e 3259 PyObject * _argo0 = 0;
efc5f224 3260 char *_kwnames[] = { "self", NULL };
d5c9047a 3261 char _ptemp[128];
8ab979d7
RD
3262
3263 self = self;
efc5f224 3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 3265 return NULL;
1d99702e
RD
3266 if (_argo0) {
3267 if (_argo0 == Py_None) { _arg0 = NULL; }
3268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 3269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
3270 return NULL;
3271 }
3272 }
cf694132
RD
3273{
3274 wxPy_BEGIN_ALLOW_THREADS;
3275 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
3276
3277 wxPy_END_ALLOW_THREADS;
3278} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 3279 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
3280 return _resultobj;
3281}
3282
d5c9047a 3283#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 3284static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3285 PyObject * _resultobj;
d5c9047a 3286 wxTreeItemId * _result;
8ab979d7 3287 wxTreeEvent * _arg0;
1d99702e 3288 PyObject * _argo0 = 0;
efc5f224 3289 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3290 char _ptemp[128];
3291
3292 self = self;
efc5f224 3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 3294 return NULL;
1d99702e
RD
3295 if (_argo0) {
3296 if (_argo0 == Py_None) { _arg0 = NULL; }
3297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 3298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
3299 return NULL;
3300 }
3301 }
cf694132
RD
3302{
3303 wxPy_BEGIN_ALLOW_THREADS;
3304 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
3305
3306 wxPy_END_ALLOW_THREADS;
3307} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
3308 _resultobj = Py_BuildValue("s",_ptemp);
3309 return _resultobj;
3310}
3311
d5c9047a 3312#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 3313static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3314 PyObject * _resultobj;
d5c9047a 3315 wxPoint * _result;
8ab979d7 3316 wxTreeEvent * _arg0;
1d99702e 3317 PyObject * _argo0 = 0;
efc5f224 3318 char *_kwnames[] = { "self", NULL };
d5c9047a 3319 char _ptemp[128];
8ab979d7
RD
3320
3321 self = self;
efc5f224 3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 3323 return NULL;
1d99702e
RD
3324 if (_argo0) {
3325 if (_argo0 == Py_None) { _arg0 = NULL; }
3326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 3327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
3328 return NULL;
3329 }
3330 }
cf694132
RD
3331{
3332 wxPy_BEGIN_ALLOW_THREADS;
3333 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
3334
3335 wxPy_END_ALLOW_THREADS;
3336} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 3337 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
3338 return _resultobj;
3339}
3340
d5c9047a 3341#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 3342static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3343 PyObject * _resultobj;
d5c9047a 3344 int _result;
8ab979d7 3345 wxTreeEvent * _arg0;
1d99702e 3346 PyObject * _argo0 = 0;
efc5f224 3347 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3348
3349 self = self;
efc5f224 3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 3351 return NULL;
1d99702e
RD
3352 if (_argo0) {
3353 if (_argo0 == Py_None) { _arg0 = NULL; }
3354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 3355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
3356 return NULL;
3357 }
3358 }
cf694132
RD
3359{
3360 wxPy_BEGIN_ALLOW_THREADS;
3361 _result = (int )wxTreeEvent_GetCode(_arg0);
3362
3363 wxPy_END_ALLOW_THREADS;
3364} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
3365 return _resultobj;
3366}
3367
8bf5d46e 3368#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 3369static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 3370 PyObject * _resultobj;
8bf5d46e 3371 wxString * _result;
d5c9047a 3372 wxTreeEvent * _arg0;
1d99702e 3373 PyObject * _argo0 = 0;
efc5f224 3374 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
3375
3376 self = self;
efc5f224 3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 3378 return NULL;
1d99702e
RD
3379 if (_argo0) {
3380 if (_argo0 == Py_None) { _arg0 = NULL; }
3381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 3382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
3383 return NULL;
3384 }
3385 }
cf694132
RD
3386{
3387 wxPy_BEGIN_ALLOW_THREADS;
8bf5d46e
RD
3388 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
3389 _result = (wxString *) &_result_ref;
cf694132
RD
3390
3391 wxPy_END_ALLOW_THREADS;
8bf5d46e
RD
3392}{
3393 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
3394}
8ab979d7
RD
3395 return _resultobj;
3396}
3397
3398static void *SwigwxTreeCtrlTowxControl(void *ptr) {
3399 wxTreeCtrl *src;
3400 wxControl *dest;
3401 src = (wxTreeCtrl *) ptr;
3402 dest = (wxControl *) src;
3403 return (void *) dest;
3404}
3405
3406static void *SwigwxTreeCtrlTowxWindow(void *ptr) {
3407 wxTreeCtrl *src;
3408 wxWindow *dest;
3409 src = (wxTreeCtrl *) ptr;
3410 dest = (wxWindow *) src;
3411 return (void *) dest;
3412}
3413
3414static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) {
3415 wxTreeCtrl *src;
3416 wxEvtHandler *dest;
3417 src = (wxTreeCtrl *) ptr;
3418 dest = (wxEvtHandler *) src;
3419 return (void *) dest;
3420}
3421
3422#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 3423static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3424 PyObject * _resultobj;
3425 wxTreeCtrl * _result;
3426 wxWindow * _arg0;
1d99702e
RD
3427 wxWindowID _arg1 = (wxWindowID ) -1;
3428 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
3429 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
3430 long _arg4 = (long ) wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT;
3431 wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
3432 char * _arg6 = (char *) "wxTreeCtrl";
3433 PyObject * _argo0 = 0;
2f90df85
RD
3434 wxPoint temp;
3435 PyObject * _obj2 = 0;
3436 wxSize temp0;
3437 PyObject * _obj3 = 0;
1d99702e 3438 PyObject * _argo5 = 0;
efc5f224 3439 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
3440 char _ptemp[128];
3441
3442 self = self;
2f90df85 3443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 3444 return NULL;
1d99702e
RD
3445 if (_argo0) {
3446 if (_argo0 == Py_None) { _arg0 = NULL; }
3447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3449 return NULL;
3450 }
3451 }
2f90df85
RD
3452 if (_obj2)
3453{
3454 _arg2 = &temp;
3455 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 3456 return NULL;
2f90df85
RD
3457}
3458 if (_obj3)
3459{
3460 _arg3 = &temp0;
3461 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 3462 return NULL;
2f90df85 3463}
1d99702e
RD
3464 if (_argo5) {
3465 if (_argo5 == Py_None) { _arg5 = NULL; }
3466 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
3467 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3468 return NULL;
3469 }
3470 }
cf694132
RD
3471{
3472 wxPy_BEGIN_ALLOW_THREADS;
3473 _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
3474
3475 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3476} if (_result) {
3477 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
3478 _resultobj = Py_BuildValue("s",_ptemp);
3479 } else {
3480 Py_INCREF(Py_None);
3481 _resultobj = Py_None;
3482 }
8ab979d7
RD
3483 return _resultobj;
3484}
3485
d5c9047a 3486#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 3487static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3488 PyObject * _resultobj;
c127177f 3489 size_t _result;
8ab979d7 3490 wxTreeCtrl * _arg0;
1d99702e 3491 PyObject * _argo0 = 0;
efc5f224 3492 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3493
3494 self = self;
efc5f224 3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 3496 return NULL;
1d99702e
RD
3497 if (_argo0) {
3498 if (_argo0 == Py_None) { _arg0 = NULL; }
3499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3501 return NULL;
3502 }
3503 }
cf694132
RD
3504{
3505 wxPy_BEGIN_ALLOW_THREADS;
c127177f 3506 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132
RD
3507
3508 wxPy_END_ALLOW_THREADS;
c127177f 3509} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3510 return _resultobj;
3511}
3512
d5c9047a 3513#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 3514static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3515 PyObject * _resultobj;
d5c9047a 3516 unsigned int _result;
8ab979d7 3517 wxTreeCtrl * _arg0;
1d99702e 3518 PyObject * _argo0 = 0;
efc5f224 3519 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3520
3521 self = self;
efc5f224 3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 3523 return NULL;
1d99702e
RD
3524 if (_argo0) {
3525 if (_argo0 == Py_None) { _arg0 = NULL; }
3526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3528 return NULL;
3529 }
3530 }
cf694132
RD
3531{
3532 wxPy_BEGIN_ALLOW_THREADS;
3533 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
3534
3535 wxPy_END_ALLOW_THREADS;
3536} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3537 return _resultobj;
3538}
3539
d5c9047a 3540#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 3541static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3542 PyObject * _resultobj;
8ab979d7 3543 wxTreeCtrl * _arg0;
d5c9047a 3544 unsigned int _arg1;
1d99702e 3545 PyObject * _argo0 = 0;
efc5f224 3546 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
3547
3548 self = self;
efc5f224 3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 3550 return NULL;
1d99702e
RD
3551 if (_argo0) {
3552 if (_argo0 == Py_None) { _arg0 = NULL; }
3553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3555 return NULL;
3556 }
3557 }
cf694132
RD
3558{
3559 wxPy_BEGIN_ALLOW_THREADS;
3560 wxTreeCtrl_SetIndent(_arg0,_arg1);
3561
3562 wxPy_END_ALLOW_THREADS;
3563} Py_INCREF(Py_None);
d5c9047a 3564 _resultobj = Py_None;
8ab979d7
RD
3565 return _resultobj;
3566}
3567
d5c9047a 3568#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 3569static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3570 PyObject * _resultobj;
d5c9047a 3571 wxImageList * _result;
8ab979d7 3572 wxTreeCtrl * _arg0;
1d99702e 3573 PyObject * _argo0 = 0;
efc5f224 3574 char *_kwnames[] = { "self", NULL };
d5c9047a 3575 char _ptemp[128];
8ab979d7
RD
3576
3577 self = self;
efc5f224 3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 3579 return NULL;
1d99702e
RD
3580 if (_argo0) {
3581 if (_argo0 == Py_None) { _arg0 = NULL; }
3582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3584 return NULL;
3585 }
3586 }
cf694132
RD
3587{
3588 wxPy_BEGIN_ALLOW_THREADS;
3589 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
3590
3591 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3592} if (_result) {
3593 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3594 _resultobj = Py_BuildValue("s",_ptemp);
3595 } else {
3596 Py_INCREF(Py_None);
3597 _resultobj = Py_None;
3598 }
8ab979d7
RD
3599 return _resultobj;
3600}
3601
d5c9047a 3602#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 3603static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3604 PyObject * _resultobj;
d5c9047a 3605 wxImageList * _result;
8ab979d7 3606 wxTreeCtrl * _arg0;
1d99702e 3607 PyObject * _argo0 = 0;
efc5f224 3608 char *_kwnames[] = { "self", NULL };
d5c9047a 3609 char _ptemp[128];
8ab979d7
RD
3610
3611 self = self;
efc5f224 3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 3613 return NULL;
1d99702e
RD
3614 if (_argo0) {
3615 if (_argo0 == Py_None) { _arg0 = NULL; }
3616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3618 return NULL;
3619 }
3620 }
cf694132
RD
3621{
3622 wxPy_BEGIN_ALLOW_THREADS;
3623 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
3624
3625 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3626} if (_result) {
3627 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3628 _resultobj = Py_BuildValue("s",_ptemp);
3629 } else {
3630 Py_INCREF(Py_None);
3631 _resultobj = Py_None;
3632 }
8ab979d7
RD
3633 return _resultobj;
3634}
3635
d5c9047a 3636#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 3637static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3638 PyObject * _resultobj;
8ab979d7 3639 wxTreeCtrl * _arg0;
d5c9047a 3640 wxImageList * _arg1;
1d99702e
RD
3641 PyObject * _argo0 = 0;
3642 PyObject * _argo1 = 0;
efc5f224 3643 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
3644
3645 self = self;
efc5f224 3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 3647 return NULL;
1d99702e
RD
3648 if (_argo0) {
3649 if (_argo0 == Py_None) { _arg0 = NULL; }
3650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3652 return NULL;
3653 }
3654 }
1d99702e
RD
3655 if (_argo1) {
3656 if (_argo1 == Py_None) { _arg1 = NULL; }
3657 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
3658 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3659 return NULL;
3660 }
3661 }
cf694132
RD
3662{
3663 wxPy_BEGIN_ALLOW_THREADS;
3664 wxTreeCtrl_SetImageList(_arg0,_arg1);
3665
3666 wxPy_END_ALLOW_THREADS;
3667} Py_INCREF(Py_None);
d5c9047a 3668 _resultobj = Py_None;
8ab979d7
RD
3669 return _resultobj;
3670}
3671
d5c9047a 3672#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 3673static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3674 PyObject * _resultobj;
8ab979d7 3675 wxTreeCtrl * _arg0;
d5c9047a 3676 wxImageList * _arg1;
1d99702e
RD
3677 PyObject * _argo0 = 0;
3678 PyObject * _argo1 = 0;
efc5f224 3679 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
3680
3681 self = self;
efc5f224 3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 3683 return NULL;
1d99702e
RD
3684 if (_argo0) {
3685 if (_argo0 == Py_None) { _arg0 = NULL; }
3686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3688 return NULL;
3689 }
3690 }
1d99702e
RD
3691 if (_argo1) {
3692 if (_argo1 == Py_None) { _arg1 = NULL; }
3693 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
3694 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3695 return NULL;
3696 }
3697 }
cf694132
RD
3698{
3699 wxPy_BEGIN_ALLOW_THREADS;
3700 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
3701
3702 wxPy_END_ALLOW_THREADS;
3703} Py_INCREF(Py_None);
d5c9047a 3704 _resultobj = Py_None;
8ab979d7
RD
3705 return _resultobj;
3706}
3707
b1462dfa
RD
3708#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
3709static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
3710 PyObject * _resultobj;
3711 unsigned int _result;
3712 wxTreeCtrl * _arg0;
3713 PyObject * _argo0 = 0;
3714 char *_kwnames[] = { "self", NULL };
3715
3716 self = self;
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
3718 return NULL;
3719 if (_argo0) {
3720 if (_argo0 == Py_None) { _arg0 = NULL; }
3721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxTreeCtrl_p.");
3723 return NULL;
3724 }
3725 }
3726{
3727 wxPy_BEGIN_ALLOW_THREADS;
3728 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
3729
3730 wxPy_END_ALLOW_THREADS;
3731} _resultobj = Py_BuildValue("i",_result);
3732 return _resultobj;
3733}
3734
3735#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
3736static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject * _resultobj;
3738 wxTreeCtrl * _arg0;
3739 unsigned int _arg1;
3740 PyObject * _argo0 = 0;
3741 char *_kwnames[] = { "self","spacing", NULL };
3742
3743 self = self;
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
3745 return NULL;
3746 if (_argo0) {
3747 if (_argo0 == Py_None) { _arg0 = NULL; }
3748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxTreeCtrl_p.");
3750 return NULL;
3751 }
3752 }
3753{
3754 wxPy_BEGIN_ALLOW_THREADS;
3755 wxTreeCtrl_SetSpacing(_arg0,_arg1);
3756
3757 wxPy_END_ALLOW_THREADS;
3758} Py_INCREF(Py_None);
3759 _resultobj = Py_None;
3760 return _resultobj;
3761}
3762
d5c9047a 3763#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 3764static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3765 PyObject * _resultobj;
d5c9047a 3766 wxString * _result;
8ab979d7 3767 wxTreeCtrl * _arg0;
d5c9047a 3768 wxTreeItemId * _arg1;
1d99702e
RD
3769 PyObject * _argo0 = 0;
3770 PyObject * _argo1 = 0;
efc5f224 3771 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3772
3773 self = self;
efc5f224 3774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 3775 return NULL;
1d99702e
RD
3776 if (_argo0) {
3777 if (_argo0 == Py_None) { _arg0 = NULL; }
3778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3780 return NULL;
3781 }
3782 }
1d99702e
RD
3783 if (_argo1) {
3784 if (_argo1 == Py_None) { _arg1 = NULL; }
3785 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
3786 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3787 return NULL;
3788 }
3789 }
d5c9047a 3790{
cf694132
RD
3791 wxPy_BEGIN_ALLOW_THREADS;
3792 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
3793
3794 wxPy_END_ALLOW_THREADS;
3795}{
d5c9047a
RD
3796 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3797}
3798{
3799 delete _result;
3800}
8ab979d7
RD
3801 return _resultobj;
3802}
3803
694759cf 3804#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 3805static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3806 PyObject * _resultobj;
d5c9047a 3807 int _result;
8ab979d7 3808 wxTreeCtrl * _arg0;
d5c9047a 3809 wxTreeItemId * _arg1;
694759cf 3810 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
3811 PyObject * _argo0 = 0;
3812 PyObject * _argo1 = 0;
694759cf 3813 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
3814
3815 self = self;
694759cf 3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 3817 return NULL;
1d99702e
RD
3818 if (_argo0) {
3819 if (_argo0 == Py_None) { _arg0 = NULL; }
3820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3822 return NULL;
3823 }
3824 }
1d99702e
RD
3825 if (_argo1) {
3826 if (_argo1 == Py_None) { _arg1 = NULL; }
3827 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
3828 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3829 return NULL;
3830 }
3831 }
cf694132
RD
3832{
3833 wxPy_BEGIN_ALLOW_THREADS;
694759cf 3834 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132
RD
3835
3836 wxPy_END_ALLOW_THREADS;
3837} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3838 return _resultobj;
3839}
3840
d5c9047a 3841#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 3842static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3843 PyObject * _resultobj;
d5c9047a 3844 int _result;
8ab979d7 3845 wxTreeCtrl * _arg0;
d5c9047a 3846 wxTreeItemId * _arg1;
1d99702e
RD
3847 PyObject * _argo0 = 0;
3848 PyObject * _argo1 = 0;
efc5f224 3849 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3850
3851 self = self;
efc5f224 3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 3853 return NULL;
1d99702e
RD
3854 if (_argo0) {
3855 if (_argo0 == Py_None) { _arg0 = NULL; }
3856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3858 return NULL;
3859 }
3860 }
1d99702e
RD
3861 if (_argo1) {
3862 if (_argo1 == Py_None) { _arg1 = NULL; }
3863 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
3864 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3865 return NULL;
3866 }
3867 }
cf694132
RD
3868{
3869 wxPy_BEGIN_ALLOW_THREADS;
3870 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 3871
cf694132
RD
3872 wxPy_END_ALLOW_THREADS;
3873} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3874 return _resultobj;
3875}
3876
d5c9047a 3877#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 3878static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3879 PyObject * _resultobj;
8ab979d7 3880 wxTreeCtrl * _arg0;
d5c9047a
RD
3881 wxTreeItemId * _arg1;
3882 wxString * _arg2;
1d99702e
RD
3883 PyObject * _argo0 = 0;
3884 PyObject * _argo1 = 0;
d5c9047a 3885 PyObject * _obj2 = 0;
efc5f224 3886 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
3887
3888 self = self;
efc5f224 3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 3890 return NULL;
1d99702e
RD
3891 if (_argo0) {
3892 if (_argo0 == Py_None) { _arg0 = NULL; }
3893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3895 return NULL;
3896 }
3897 }
1d99702e
RD
3898 if (_argo1) {
3899 if (_argo1 == Py_None) { _arg1 = NULL; }
3900 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
3901 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3902 return NULL;
3903 }
3904 }
3905{
3906 if (!PyString_Check(_obj2)) {
3907 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3908 return NULL;
3909 }
cf694132 3910 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
d5c9047a 3911}
cf694132
RD
3912{
3913 wxPy_BEGIN_ALLOW_THREADS;
3914 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
3915
3916 wxPy_END_ALLOW_THREADS;
3917} Py_INCREF(Py_None);
d5c9047a
RD
3918 _resultobj = Py_None;
3919{
3920 if (_obj2)
3921 delete _arg2;
3922}
8ab979d7
RD
3923 return _resultobj;
3924}
3925
694759cf 3926#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3927static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3928 PyObject * _resultobj;
8ab979d7 3929 wxTreeCtrl * _arg0;
d5c9047a
RD
3930 wxTreeItemId * _arg1;
3931 int _arg2;
694759cf 3932 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
3933 PyObject * _argo0 = 0;
3934 PyObject * _argo1 = 0;
694759cf 3935 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
3936
3937 self = self;
694759cf 3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 3939 return NULL;
1d99702e
RD
3940 if (_argo0) {
3941 if (_argo0 == Py_None) { _arg0 = NULL; }
3942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3944 return NULL;
3945 }
3946 }
1d99702e
RD
3947 if (_argo1) {
3948 if (_argo1 == Py_None) { _arg1 = NULL; }
3949 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
3950 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3951 return NULL;
3952 }
3953 }
cf694132
RD
3954{
3955 wxPy_BEGIN_ALLOW_THREADS;
694759cf 3956 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132
RD
3957
3958 wxPy_END_ALLOW_THREADS;
3959} Py_INCREF(Py_None);
d5c9047a 3960 _resultobj = Py_None;
8ab979d7
RD
3961 return _resultobj;
3962}
3963
d5c9047a 3964#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 3965static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3966 PyObject * _resultobj;
8ab979d7 3967 wxTreeCtrl * _arg0;
d5c9047a
RD
3968 wxTreeItemId * _arg1;
3969 int _arg2;
1d99702e
RD
3970 PyObject * _argo0 = 0;
3971 PyObject * _argo1 = 0;
efc5f224 3972 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
3973
3974 self = self;
efc5f224 3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 3976 return NULL;
1d99702e
RD
3977 if (_argo0) {
3978 if (_argo0 == Py_None) { _arg0 = NULL; }
3979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 3980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
8ab979d7
RD
3981 return NULL;
3982 }
3983 }
1d99702e
RD
3984 if (_argo1) {
3985 if (_argo1 == Py_None) { _arg1 = NULL; }
3986 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
3987 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3988 return NULL;
3989 }
3990 }
cf694132
RD
3991{
3992 wxPy_BEGIN_ALLOW_THREADS;
3993 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
3994
3995 wxPy_END_ALLOW_THREADS;
3996} Py_INCREF(Py_None);
3997 _resultobj = Py_None;
3998 return _resultobj;
3999}
4000
4001#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 4002static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
4003 PyObject * _resultobj;
4004 wxTreeCtrl * _arg0;
4005 wxTreeItemId * _arg1;
1d99702e
RD
4006 bool _arg2 = (bool ) TRUE;
4007 PyObject * _argo0 = 0;
4008 PyObject * _argo1 = 0;
4009 int tempbool2 = (int) TRUE;
efc5f224 4010 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
4011
4012 self = self;
efc5f224 4013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 4014 return NULL;
1d99702e
RD
4015 if (_argo0) {
4016 if (_argo0 == Py_None) { _arg0 = NULL; }
4017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
cf694132
RD
4018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
4019 return NULL;
4020 }
4021 }
1d99702e
RD
4022 if (_argo1) {
4023 if (_argo1 == Py_None) { _arg1 = NULL; }
4024 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
4025 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
4026 return NULL;
4027 }
4028 }
4029 _arg2 = (bool ) tempbool2;
4030{
4031 wxPy_BEGIN_ALLOW_THREADS;
4032 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
4033
4034 wxPy_END_ALLOW_THREADS;
4035} Py_INCREF(Py_None);
d5c9047a 4036 _resultobj = Py_None;
8ab979d7
RD
4037 return _resultobj;
4038}
4039
cf694132
RD
4040static wxPyTreeItemData * wxTreeCtrl_GetItemData(wxTreeCtrl *self,const wxTreeItemId & item) {
4041 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
4042 if (data == NULL) {
4043 data = new wxPyTreeItemData();
4044 self->SetItemData(item, data);
4045 }
4046 return data;
4047 }
efc5f224 4048static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
4049 PyObject * _resultobj;
4050 wxPyTreeItemData * _result;
4051 wxTreeCtrl * _arg0;
4052 wxTreeItemId * _arg1;
1d99702e
RD
4053 PyObject * _argo0 = 0;
4054 PyObject * _argo1 = 0;
efc5f224 4055 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
4056 char _ptemp[128];
4057
4058 self = self;
efc5f224 4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 4060 return NULL;
1d99702e
RD
4061 if (_argo0) {
4062 if (_argo0 == Py_None) { _arg0 = NULL; }
4063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
cf694132
RD
4064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
4065 return NULL;
4066 }
4067 }
1d99702e
RD
4068 if (_argo1) {
4069 if (_argo1 == Py_None) { _arg1 = NULL; }
4070 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
4071 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
4072 return NULL;
4073 }
4074 }
4075{
4076 wxPy_BEGIN_ALLOW_THREADS;
4077 _result = (wxPyTreeItemData *)wxTreeCtrl_GetItemData(_arg0,*_arg1);
4078
4079 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4080} if (_result) {
4081 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
4082 _resultobj = Py_BuildValue("s",_ptemp);
4083 } else {
4084 Py_INCREF(Py_None);
4085 _resultobj = Py_None;
4086 }
cf694132
RD
4087 return _resultobj;
4088}
4089
4090static void wxTreeCtrl_SetItemData(wxTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
4091 self->SetItemData(item, data);
4092 }
efc5f224 4093static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4094 PyObject * _resultobj;
8ab979d7 4095 wxTreeCtrl * _arg0;
d5c9047a 4096 wxTreeItemId * _arg1;
cf694132 4097 wxPyTreeItemData * _arg2;
1d99702e
RD
4098 PyObject * _argo0 = 0;
4099 PyObject * _argo1 = 0;
4100 PyObject * _argo2 = 0;
efc5f224 4101 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
4102
4103 self = self;
efc5f224 4104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 4105 return NULL;
1d99702e
RD
4106 if (_argo0) {
4107 if (_argo0 == Py_None) { _arg0 = NULL; }
4108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4110 return NULL;
4111 }
4112 }
1d99702e
RD
4113 if (_argo1) {
4114 if (_argo1 == Py_None) { _arg1 = NULL; }
4115 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
4116 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
4117 return NULL;
4118 }
4119 }
1d99702e
RD
4120 if (_argo2) {
4121 if (_argo2 == Py_None) { _arg2 = NULL; }
4122 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 4123 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
4124 return NULL;
4125 }
4126 }
cf694132
RD
4127{
4128 wxPy_BEGIN_ALLOW_THREADS;
4129 wxTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
4130
4131 wxPy_END_ALLOW_THREADS;
4132} Py_INCREF(Py_None);
d5c9047a 4133 _resultobj = Py_None;
8ab979d7
RD
4134 return _resultobj;
4135}
4136
cf694132
RD
4137static PyObject * wxTreeCtrl_GetPyData(wxTreeCtrl *self,const wxTreeItemId & item) {
4138 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
4139 if (data == NULL) {
4140 data = new wxPyTreeItemData();
4141 self->SetItemData(item, data);
4142 }
4143 return data->GetData();
4144 }
efc5f224 4145static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 4146 PyObject * _resultobj;
cf694132 4147 PyObject * _result;
08127323
RD
4148 wxTreeCtrl * _arg0;
4149 wxTreeItemId * _arg1;
1d99702e
RD
4150 PyObject * _argo0 = 0;
4151 PyObject * _argo1 = 0;
efc5f224 4152 char *_kwnames[] = { "self","item", NULL };
08127323
RD
4153
4154 self = self;
efc5f224 4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 4156 return NULL;
1d99702e
RD
4157 if (_argo0) {
4158 if (_argo0 == Py_None) { _arg0 = NULL; }
4159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
cf694132 4160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
08127323
RD
4161 return NULL;
4162 }
4163 }
1d99702e
RD
4164 if (_argo1) {
4165 if (_argo1 == Py_None) { _arg1 = NULL; }
4166 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 4167 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
4168 return NULL;
4169 }
4170 }
cf694132
RD
4171{
4172 wxPy_BEGIN_ALLOW_THREADS;
4173 _result = (PyObject *)wxTreeCtrl_GetPyData(_arg0,*_arg1);
4174
4175 wxPy_END_ALLOW_THREADS;
4176}{
4177 _resultobj = _result;
4178}
4179 return _resultobj;
4180}
4181
4182static void wxTreeCtrl_SetPyData(wxTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
4183 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
4184 if (data == NULL) {
4185 data = new wxPyTreeItemData(obj);
4186 self->SetItemData(item, data);
4187 } else
4188 data->SetData(obj);
4189 }
efc5f224 4190static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
4191 PyObject * _resultobj;
4192 wxTreeCtrl * _arg0;
4193 wxTreeItemId * _arg1;
4194 PyObject * _arg2;
1d99702e
RD
4195 PyObject * _argo0 = 0;
4196 PyObject * _argo1 = 0;
cf694132 4197 PyObject * _obj2 = 0;
efc5f224 4198 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
4199
4200 self = self;
efc5f224 4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 4202 return NULL;
1d99702e
RD
4203 if (_argo0) {
4204 if (_argo0 == Py_None) { _arg0 = NULL; }
4205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
cf694132
RD
4206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4207 return NULL;
4208 }
4209 }
1d99702e
RD
4210 if (_argo1) {
4211 if (_argo1 == Py_None) { _arg1 = NULL; }
4212 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
4213 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4214 return NULL;
4215 }
4216 }
4217{
4218 _arg2 = _obj2;
4219}
4220{
4221 wxPy_BEGIN_ALLOW_THREADS;
4222 wxTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
4223
4224 wxPy_END_ALLOW_THREADS;
4225} Py_INCREF(Py_None);
08127323
RD
4226 _resultobj = Py_None;
4227 return _resultobj;
4228}
4229
d5c9047a 4230#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 4231static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4232 PyObject * _resultobj;
d5c9047a 4233 bool _result;
8ab979d7 4234 wxTreeCtrl * _arg0;
d5c9047a 4235 wxTreeItemId * _arg1;
1d99702e
RD
4236 PyObject * _argo0 = 0;
4237 PyObject * _argo1 = 0;
efc5f224 4238 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4239
4240 self = self;
efc5f224 4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 4242 return NULL;
1d99702e
RD
4243 if (_argo0) {
4244 if (_argo0 == Py_None) { _arg0 = NULL; }
4245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4247 return NULL;
4248 }
4249 }
1d99702e
RD
4250 if (_argo1) {
4251 if (_argo1 == Py_None) { _arg1 = NULL; }
4252 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
4253 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4254 return NULL;
4255 }
4256 }
cf694132
RD
4257{
4258 wxPy_BEGIN_ALLOW_THREADS;
4259 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
4260
4261 wxPy_END_ALLOW_THREADS;
4262} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4263 return _resultobj;
4264}
4265
d5c9047a 4266#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 4267static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4268 PyObject * _resultobj;
d5c9047a 4269 bool _result;
8ab979d7 4270 wxTreeCtrl * _arg0;
d5c9047a 4271 wxTreeItemId * _arg1;
1d99702e
RD
4272 PyObject * _argo0 = 0;
4273 PyObject * _argo1 = 0;
efc5f224 4274 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4275
4276 self = self;
efc5f224 4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 4278 return NULL;
1d99702e
RD
4279 if (_argo0) {
4280 if (_argo0 == Py_None) { _arg0 = NULL; }
4281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4283 return NULL;
4284 }
4285 }
1d99702e
RD
4286 if (_argo1) {
4287 if (_argo1 == Py_None) { _arg1 = NULL; }
4288 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
4289 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4290 return NULL;
4291 }
4292 }
cf694132
RD
4293{
4294 wxPy_BEGIN_ALLOW_THREADS;
4295 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
4296
4297 wxPy_END_ALLOW_THREADS;
4298} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4299 return _resultobj;
4300}
4301
d5c9047a 4302#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 4303static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4304 PyObject * _resultobj;
d5c9047a 4305 bool _result;
8ab979d7 4306 wxTreeCtrl * _arg0;
d5c9047a 4307 wxTreeItemId * _arg1;
1d99702e
RD
4308 PyObject * _argo0 = 0;
4309 PyObject * _argo1 = 0;
efc5f224 4310 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4311
4312 self = self;
efc5f224 4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 4314 return NULL;
1d99702e
RD
4315 if (_argo0) {
4316 if (_argo0 == Py_None) { _arg0 = NULL; }
4317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4319 return NULL;
4320 }
4321 }
1d99702e
RD
4322 if (_argo1) {
4323 if (_argo1 == Py_None) { _arg1 = NULL; }
4324 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
4325 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4326 return NULL;
4327 }
4328 }
cf694132
RD
4329{
4330 wxPy_BEGIN_ALLOW_THREADS;
4331 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
4332
4333 wxPy_END_ALLOW_THREADS;
4334} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4335 return _resultobj;
4336}
4337
d5c9047a 4338#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 4339static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4340 PyObject * _resultobj;
d5c9047a 4341 bool _result;
8ab979d7 4342 wxTreeCtrl * _arg0;
d5c9047a 4343 wxTreeItemId * _arg1;
1d99702e
RD
4344 PyObject * _argo0 = 0;
4345 PyObject * _argo1 = 0;
efc5f224 4346 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4347
4348 self = self;
efc5f224 4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 4350 return NULL;
1d99702e
RD
4351 if (_argo0) {
4352 if (_argo0 == Py_None) { _arg0 = NULL; }
4353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4355 return NULL;
4356 }
4357 }
1d99702e
RD
4358 if (_argo1) {
4359 if (_argo1 == Py_None) { _arg1 = NULL; }
4360 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
4361 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4362 return NULL;
4363 }
4364 }
cf694132
RD
4365{
4366 wxPy_BEGIN_ALLOW_THREADS;
4367 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
4368
4369 wxPy_END_ALLOW_THREADS;
4370} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4371 return _resultobj;
4372}
4373
4374#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 4375static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4376 PyObject * _resultobj;
d5c9047a 4377 wxTreeItemId * _result;
8ab979d7 4378 wxTreeCtrl * _arg0;
1d99702e 4379 PyObject * _argo0 = 0;
efc5f224 4380 char *_kwnames[] = { "self", NULL };
d5c9047a 4381 char _ptemp[128];
8ab979d7
RD
4382
4383 self = self;
efc5f224 4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 4385 return NULL;
1d99702e
RD
4386 if (_argo0) {
4387 if (_argo0 == Py_None) { _arg0 = NULL; }
4388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
8ab979d7
RD
4389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4390 return NULL;
4391 }
4392 }
cf694132
RD
4393{
4394 wxPy_BEGIN_ALLOW_THREADS;
4395 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
4396
4397 wxPy_END_ALLOW_THREADS;
4398} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4399 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4400 return _resultobj;
4401}
4402
4403#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 4404static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4405 PyObject * _resultobj;
d5c9047a 4406 wxTreeItemId * _result;
8ab979d7 4407 wxTreeCtrl * _arg0;
1d99702e 4408 PyObject * _argo0 = 0;
efc5f224 4409 char *_kwnames[] = { "self", NULL };
d5c9047a 4410 char _ptemp[128];
8ab979d7
RD
4411
4412 self = self;
efc5f224 4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 4414 return NULL;
1d99702e
RD
4415 if (_argo0) {
4416 if (_argo0 == Py_None) { _arg0 = NULL; }
4417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
8ab979d7
RD
4418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4419 return NULL;
4420 }
4421 }
cf694132
RD
4422{
4423 wxPy_BEGIN_ALLOW_THREADS;
4424 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
4425
4426 wxPy_END_ALLOW_THREADS;
4427} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4428 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4429 return _resultobj;
4430}
4431
d5c9047a 4432#define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
efc5f224 4433static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4434 PyObject * _resultobj;
d5c9047a 4435 wxTreeItemId * _result;
8ab979d7 4436 wxTreeCtrl * _arg0;
d5c9047a 4437 wxTreeItemId * _arg1;
1d99702e
RD
4438 PyObject * _argo0 = 0;
4439 PyObject * _argo1 = 0;
efc5f224 4440 char *_kwnames[] = { "self","item", NULL };
d5c9047a 4441 char _ptemp[128];
8ab979d7
RD
4442
4443 self = self;
efc5f224 4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetParent",_kwnames,&_argo0,&_argo1))
8ab979d7 4445 return NULL;
1d99702e
RD
4446 if (_argo0) {
4447 if (_argo0 == Py_None) { _arg0 = NULL; }
4448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4450 return NULL;
4451 }
4452 }
1d99702e
RD
4453 if (_argo1) {
4454 if (_argo1 == Py_None) { _arg1 = NULL; }
4455 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 4456 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
4457 return NULL;
4458 }
4459 }
cf694132
RD
4460{
4461 wxPy_BEGIN_ALLOW_THREADS;
4462 _result = new wxTreeItemId (wxTreeCtrl_GetParent(_arg0,*_arg1));
4463
4464 wxPy_END_ALLOW_THREADS;
4465} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4466 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4467 return _resultobj;
4468}
4469
d426c97e
RD
4470static PyObject * wxTreeCtrl_GetSelections(wxTreeCtrl *self) {
4471 PyObject* rval = PyList_New(0);
4472 wxArrayTreeItemIds array;
4473 size_t num, x;
4474 num = self->GetSelections(array);
4475 for (x=0; x < num; x++) {
4476 PyObject* item = wxPyConstructObject((void*)&array.Item(x),
4477 "wxTreeItemId");
4478 PyList_Append(rval, item);
4479 }
4480 return rval;
4481 }
4482static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4483 PyObject * _resultobj;
4484 PyObject * _result;
4485 wxTreeCtrl * _arg0;
4486 PyObject * _argo0 = 0;
4487 char *_kwnames[] = { "self", NULL };
4488
4489 self = self;
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
4491 return NULL;
4492 if (_argo0) {
4493 if (_argo0 == Py_None) { _arg0 = NULL; }
4494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4496 return NULL;
4497 }
4498 }
4499{
4500 wxPy_BEGIN_ALLOW_THREADS;
4501 _result = (PyObject *)wxTreeCtrl_GetSelections(_arg0);
4502
4503 wxPy_END_ALLOW_THREADS;
4504}{
4505 _resultobj = _result;
4506}
4507 return _resultobj;
4508}
4509
bb0054cd 4510#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 4511static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
4512 PyObject * _resultobj;
4513 size_t _result;
4514 wxTreeCtrl * _arg0;
4515 wxTreeItemId * _arg1;
1d99702e
RD
4516 bool _arg2 = (bool ) TRUE;
4517 PyObject * _argo0 = 0;
4518 PyObject * _argo1 = 0;
4519 int tempbool2 = (int) TRUE;
efc5f224 4520 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
4521
4522 self = self;
efc5f224 4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 4524 return NULL;
1d99702e
RD
4525 if (_argo0) {
4526 if (_argo0 == Py_None) { _arg0 = NULL; }
4527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
bb0054cd
RD
4528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4529 return NULL;
4530 }
4531 }
1d99702e
RD
4532 if (_argo1) {
4533 if (_argo1 == Py_None) { _arg1 = NULL; }
4534 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
4535 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4536 return NULL;
4537 }
4538 }
4539 _arg2 = (bool ) tempbool2;
4540{
4541 wxPy_BEGIN_ALLOW_THREADS;
4542 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
4543
4544 wxPy_END_ALLOW_THREADS;
4545} _resultobj = Py_BuildValue("i",_result);
4546 return _resultobj;
4547}
4548
d5c9047a 4549#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 4550static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4551 PyObject * _resultobj;
d5c9047a 4552 wxTreeItemId * _result;
8ab979d7 4553 wxTreeCtrl * _arg0;
d5c9047a
RD
4554 wxTreeItemId * _arg1;
4555 long * _arg2;
1d99702e
RD
4556 PyObject * _argo0 = 0;
4557 PyObject * _argo1 = 0;
d5c9047a
RD
4558 long temp;
4559 PyObject * _obj2 = 0;
efc5f224 4560 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 4561 char _ptemp[128];
8ab979d7
RD
4562
4563 self = self;
efc5f224 4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 4565 return NULL;
1d99702e
RD
4566 if (_argo0) {
4567 if (_argo0 == Py_None) { _arg0 = NULL; }
4568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4570 return NULL;
4571 }
4572 }
1d99702e
RD
4573 if (_argo1) {
4574 if (_argo1 == Py_None) { _arg1 = NULL; }
4575 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 4576 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
4577 return NULL;
4578 }
4579 }
d5c9047a
RD
4580{
4581 temp = (long) PyInt_AsLong(_obj2);
4582 _arg2 = &temp;
4583}
cf694132
RD
4584{
4585 wxPy_BEGIN_ALLOW_THREADS;
4586 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
4587
4588 wxPy_END_ALLOW_THREADS;
4589} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
4590 _resultobj = Py_BuildValue("s",_ptemp);
4591{
4592 PyObject *o;
4593 o = PyInt_FromLong((long) (*_arg2));
4594 _resultobj = t_output_helper(_resultobj, o);
4595}
8ab979d7
RD
4596 return _resultobj;
4597}
4598
d5c9047a 4599#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 4600static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4601 PyObject * _resultobj;
d5c9047a 4602 wxTreeItemId * _result;
8ab979d7 4603 wxTreeCtrl * _arg0;
d5c9047a
RD
4604 wxTreeItemId * _arg1;
4605 long * _arg2;
1d99702e
RD
4606 PyObject * _argo0 = 0;
4607 PyObject * _argo1 = 0;
d5c9047a 4608 long temp;
8ab979d7 4609 PyObject * _obj2 = 0;
efc5f224 4610 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 4611 char _ptemp[128];
8ab979d7
RD
4612
4613 self = self;
efc5f224 4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 4615 return NULL;
1d99702e
RD
4616 if (_argo0) {
4617 if (_argo0 == Py_None) { _arg0 = NULL; }
4618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4620 return NULL;
4621 }
4622 }
1d99702e
RD
4623 if (_argo1) {
4624 if (_argo1 == Py_None) { _arg1 = NULL; }
4625 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 4626 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 4627 return NULL;
d5c9047a 4628 }
8ab979d7 4629 }
d5c9047a
RD
4630{
4631 temp = (long) PyInt_AsLong(_obj2);
4632 _arg2 = &temp;
8ab979d7 4633}
cf694132
RD
4634{
4635 wxPy_BEGIN_ALLOW_THREADS;
4636 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
4637
4638 wxPy_END_ALLOW_THREADS;
4639} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4640 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 4641{
d5c9047a
RD
4642 PyObject *o;
4643 o = PyInt_FromLong((long) (*_arg2));
4644 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
4645}
4646 return _resultobj;
4647}
4648
d5c9047a 4649#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 4650static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4651 PyObject * _resultobj;
d5c9047a 4652 wxTreeItemId * _result;
8ab979d7 4653 wxTreeCtrl * _arg0;
d5c9047a 4654 wxTreeItemId * _arg1;
1d99702e
RD
4655 PyObject * _argo0 = 0;
4656 PyObject * _argo1 = 0;
efc5f224 4657 char *_kwnames[] = { "self","item", NULL };
d5c9047a 4658 char _ptemp[128];
8ab979d7
RD
4659
4660 self = self;
efc5f224 4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 4662 return NULL;
1d99702e
RD
4663 if (_argo0) {
4664 if (_argo0 == Py_None) { _arg0 = NULL; }
4665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4667 return NULL;
4668 }
4669 }
1d99702e
RD
4670 if (_argo1) {
4671 if (_argo1 == Py_None) { _arg1 = NULL; }
4672 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
4673 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4674 return NULL;
4675 }
4676 }
cf694132
RD
4677{
4678 wxPy_BEGIN_ALLOW_THREADS;
4679 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
4680
4681 wxPy_END_ALLOW_THREADS;
4682} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4683 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4684 return _resultobj;
4685}
4686
d5c9047a 4687#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 4688static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4689 PyObject * _resultobj;
d5c9047a 4690 wxTreeItemId * _result;
8ab979d7 4691 wxTreeCtrl * _arg0;
d5c9047a 4692 wxTreeItemId * _arg1;
1d99702e
RD
4693 PyObject * _argo0 = 0;
4694 PyObject * _argo1 = 0;
efc5f224 4695 char *_kwnames[] = { "self","item", NULL };
d5c9047a 4696 char _ptemp[128];
8ab979d7
RD
4697
4698 self = self;
efc5f224 4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 4700 return NULL;
1d99702e
RD
4701 if (_argo0) {
4702 if (_argo0 == Py_None) { _arg0 = NULL; }
4703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4705 return NULL;
4706 }
4707 }
1d99702e
RD
4708 if (_argo1) {
4709 if (_argo1 == Py_None) { _arg1 = NULL; }
4710 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
4711 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4712 return NULL;
4713 }
4714 }
cf694132
RD
4715{
4716 wxPy_BEGIN_ALLOW_THREADS;
4717 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
4718
4719 wxPy_END_ALLOW_THREADS;
4720} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4721 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4722 return _resultobj;
4723}
4724
d5c9047a 4725#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 4726static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4727 PyObject * _resultobj;
d5c9047a 4728 wxTreeItemId * _result;
8ab979d7 4729 wxTreeCtrl * _arg0;
1d99702e 4730 PyObject * _argo0 = 0;
efc5f224 4731 char *_kwnames[] = { "self", NULL };
d5c9047a 4732 char _ptemp[128];
8ab979d7
RD
4733
4734 self = self;
efc5f224 4735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 4736 return NULL;
1d99702e
RD
4737 if (_argo0) {
4738 if (_argo0 == Py_None) { _arg0 = NULL; }
4739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4741 return NULL;
4742 }
4743 }
cf694132
RD
4744{
4745 wxPy_BEGIN_ALLOW_THREADS;
4746 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
4747
4748 wxPy_END_ALLOW_THREADS;
4749} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4750 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4751 return _resultobj;
4752}
4753
d5c9047a 4754#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 4755static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4756 PyObject * _resultobj;
d5c9047a 4757 wxTreeItemId * _result;
8ab979d7 4758 wxTreeCtrl * _arg0;
d5c9047a 4759 wxTreeItemId * _arg1;
1d99702e
RD
4760 PyObject * _argo0 = 0;
4761 PyObject * _argo1 = 0;
efc5f224 4762 char *_kwnames[] = { "self","item", NULL };
d5c9047a 4763 char _ptemp[128];
8ab979d7
RD
4764
4765 self = self;
efc5f224 4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 4767 return NULL;
1d99702e
RD
4768 if (_argo0) {
4769 if (_argo0 == Py_None) { _arg0 = NULL; }
4770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4772 return NULL;
4773 }
4774 }
1d99702e
RD
4775 if (_argo1) {
4776 if (_argo1 == Py_None) { _arg1 = NULL; }
4777 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
4778 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4779 return NULL;
4780 }
4781 }
cf694132
RD
4782{
4783 wxPy_BEGIN_ALLOW_THREADS;
4784 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
4785
4786 wxPy_END_ALLOW_THREADS;
4787} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4788 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4789 return _resultobj;
4790}
4791
d5c9047a 4792#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 4793static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4794 PyObject * _resultobj;
d5c9047a 4795 wxTreeItemId * _result;
8ab979d7 4796 wxTreeCtrl * _arg0;
d5c9047a 4797 wxTreeItemId * _arg1;
1d99702e
RD
4798 PyObject * _argo0 = 0;
4799 PyObject * _argo1 = 0;
efc5f224 4800 char *_kwnames[] = { "self","item", NULL };
d5c9047a 4801 char _ptemp[128];
8ab979d7
RD
4802
4803 self = self;
efc5f224 4804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 4805 return NULL;
1d99702e
RD
4806 if (_argo0) {
4807 if (_argo0 == Py_None) { _arg0 = NULL; }
4808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4810 return NULL;
4811 }
4812 }
1d99702e
RD
4813 if (_argo1) {
4814 if (_argo1 == Py_None) { _arg1 = NULL; }
4815 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 4816 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
4817 return NULL;
4818 }
4819 }
cf694132
RD
4820{
4821 wxPy_BEGIN_ALLOW_THREADS;
4822 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
4823
4824 wxPy_END_ALLOW_THREADS;
4825} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4826 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4827 return _resultobj;
4828}
4829
d426c97e
RD
4830#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4831static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4832 PyObject * _resultobj;
4833 wxTreeItemId * _result;
4834 wxTreeCtrl * _arg0;
4835 wxTreeItemId * _arg1;
4836 PyObject * _argo0 = 0;
4837 PyObject * _argo1 = 0;
4838 char *_kwnames[] = { "self","item", NULL };
4839 char _ptemp[128];
4840
4841 self = self;
4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
4843 return NULL;
4844 if (_argo0) {
4845 if (_argo0 == Py_None) { _arg0 = NULL; }
4846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4848 return NULL;
4849 }
4850 }
4851 if (_argo1) {
4852 if (_argo1 == Py_None) { _arg1 = NULL; }
4853 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4854 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4855 return NULL;
4856 }
4857 }
4858{
4859 wxPy_BEGIN_ALLOW_THREADS;
4860 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
4861
4862 wxPy_END_ALLOW_THREADS;
4863} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4864 _resultobj = Py_BuildValue("s",_ptemp);
4865 return _resultobj;
4866}
4867
d5c9047a 4868#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 4869static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4870 PyObject * _resultobj;
d5c9047a 4871 wxTreeItemId * _result;
8ab979d7 4872 wxTreeCtrl * _arg0;
d5c9047a 4873 wxString * _arg1;
1d99702e
RD
4874 int _arg2 = (int ) -1;
4875 int _arg3 = (int ) -1;
4876 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
4877 PyObject * _argo0 = 0;
d5c9047a 4878 PyObject * _obj1 = 0;
1d99702e 4879 PyObject * _argo4 = 0;
efc5f224 4880 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 4881 char _ptemp[128];
8ab979d7
RD
4882
4883 self = self;
efc5f224 4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 4885 return NULL;
1d99702e
RD
4886 if (_argo0) {
4887 if (_argo0 == Py_None) { _arg0 = NULL; }
4888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4890 return NULL;
4891 }
4892 }
d5c9047a
RD
4893{
4894 if (!PyString_Check(_obj1)) {
4895 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4896 return NULL;
4897 }
cf694132 4898 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
d5c9047a 4899}
1d99702e
RD
4900 if (_argo4) {
4901 if (_argo4 == Py_None) { _arg4 = NULL; }
4902 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 4903 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
4904 return NULL;
4905 }
4906 }
cf694132
RD
4907{
4908 wxPy_BEGIN_ALLOW_THREADS;
4909 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
4910
4911 wxPy_END_ALLOW_THREADS;
4912} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
4913 _resultobj = Py_BuildValue("s",_ptemp);
4914{
4915 if (_obj1)
4916 delete _arg1;
4917}
8ab979d7
RD
4918 return _resultobj;
4919}
4920
d5c9047a 4921#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 4922static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4923 PyObject * _resultobj;
d5c9047a 4924 wxTreeItemId * _result;
8ab979d7 4925 wxTreeCtrl * _arg0;
d5c9047a
RD
4926 wxTreeItemId * _arg1;
4927 wxString * _arg2;
1d99702e
RD
4928 int _arg3 = (int ) -1;
4929 int _arg4 = (int ) -1;
4930 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
4931 PyObject * _argo0 = 0;
4932 PyObject * _argo1 = 0;
d5c9047a 4933 PyObject * _obj2 = 0;
1d99702e 4934 PyObject * _argo5 = 0;
efc5f224 4935 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 4936 char _ptemp[128];
8ab979d7
RD
4937
4938 self = self;
efc5f224 4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 4940 return NULL;
1d99702e
RD
4941 if (_argo0) {
4942 if (_argo0 == Py_None) { _arg0 = NULL; }
4943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 4944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
8ab979d7
RD
4945 return NULL;
4946 }
4947 }
1d99702e
RD
4948 if (_argo1) {
4949 if (_argo1 == Py_None) { _arg1 = NULL; }
4950 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
4951 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4952 return NULL;
4953 }
4954 }
4955{
4956 if (!PyString_Check(_obj2)) {
4957 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4958 return NULL;
4959 }
cf694132 4960 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
d5c9047a 4961}
1d99702e
RD
4962 if (_argo5) {
4963 if (_argo5 == Py_None) { _arg5 = NULL; }
4964 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 4965 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
4966 return NULL;
4967 }
4968 }
cf694132
RD
4969{
4970 wxPy_BEGIN_ALLOW_THREADS;
4971 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
4972
4973 wxPy_END_ALLOW_THREADS;
4974} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
4975 _resultobj = Py_BuildValue("s",_ptemp);
4976{
4977 if (_obj2)
4978 delete _arg2;
4979}
8ab979d7
RD
4980 return _resultobj;
4981}
4982
d5c9047a 4983#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4984static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4985 PyObject * _resultobj;
d5c9047a 4986 wxTreeItemId * _result;
8ab979d7 4987 wxTreeCtrl * _arg0;
d5c9047a
RD
4988 wxTreeItemId * _arg1;
4989 wxTreeItemId * _arg2;
4990 wxString * _arg3;
1d99702e
RD
4991 int _arg4 = (int ) -1;
4992 int _arg5 = (int ) -1;
4993 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
4994 PyObject * _argo0 = 0;
4995 PyObject * _argo1 = 0;
4996 PyObject * _argo2 = 0;
d5c9047a 4997 PyObject * _obj3 = 0;
1d99702e 4998 PyObject * _argo6 = 0;
efc5f224 4999 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 5000 char _ptemp[128];
8ab979d7
RD
5001
5002 self = self;
efc5f224 5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 5004 return NULL;
1d99702e
RD
5005 if (_argo0) {
5006 if (_argo0 == Py_None) { _arg0 = NULL; }
5007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 5008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
8ab979d7
RD
5009 return NULL;
5010 }
5011 }
1d99702e
RD
5012 if (_argo1) {
5013 if (_argo1 == Py_None) { _arg1 = NULL; }
5014 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5015 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
5016 return NULL;
5017 }
5018 }
1d99702e
RD
5019 if (_argo2) {
5020 if (_argo2 == Py_None) { _arg2 = NULL; }
5021 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
5022 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
5023 return NULL;
5024 }
5025 }
5026{
5027 if (!PyString_Check(_obj3)) {
5028 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5029 return NULL;
5030 }
cf694132 5031 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
d5c9047a 5032}
1d99702e
RD
5033 if (_argo6) {
5034 if (_argo6 == Py_None) { _arg6 = NULL; }
5035 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 5036 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
5037 return NULL;
5038 }
5039 }
cf694132
RD
5040{
5041 wxPy_BEGIN_ALLOW_THREADS;
5042 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
5043
5044 wxPy_END_ALLOW_THREADS;
5045} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
5046 _resultobj = Py_BuildValue("s",_ptemp);
5047{
5048 if (_obj3)
5049 delete _arg3;
5050}
8ab979d7
RD
5051 return _resultobj;
5052}
5053
d5c9047a 5054#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 5055static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5056 PyObject * _resultobj;
d5c9047a 5057 wxTreeItemId * _result;
8ab979d7 5058 wxTreeCtrl * _arg0;
d5c9047a 5059 wxTreeItemId * _arg1;
8ab979d7 5060 wxString * _arg2;
1d99702e
RD
5061 int _arg3 = (int ) -1;
5062 int _arg4 = (int ) -1;
5063 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
5064 PyObject * _argo0 = 0;
5065 PyObject * _argo1 = 0;
8ab979d7 5066 PyObject * _obj2 = 0;
1d99702e 5067 PyObject * _argo5 = 0;
efc5f224 5068 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 5069 char _ptemp[128];
8ab979d7
RD
5070
5071 self = self;
efc5f224 5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 5073 return NULL;
1d99702e
RD
5074 if (_argo0) {
5075 if (_argo0 == Py_None) { _arg0 = NULL; }
5076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
5078 return NULL;
5079 }
5080 }
1d99702e
RD
5081 if (_argo1) {
5082 if (_argo1 == Py_None) { _arg1 = NULL; }
5083 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 5084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
5085 return NULL;
5086 }
5087 }
5088{
5089 if (!PyString_Check(_obj2)) {
5090 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5091 return NULL;
5092 }
cf694132 5093 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7 5094}
1d99702e
RD
5095 if (_argo5) {
5096 if (_argo5 == Py_None) { _arg5 = NULL; }
5097 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 5098 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
5099 return NULL;
5100 }
5101 }
cf694132
RD
5102{
5103 wxPy_BEGIN_ALLOW_THREADS;
5104 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
5105
5106 wxPy_END_ALLOW_THREADS;
5107} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 5108 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
5109{
5110 if (_obj2)
5111 delete _arg2;
5112}
5113 return _resultobj;
5114}
5115
d5c9047a 5116#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 5117static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5118 PyObject * _resultobj;
8ab979d7 5119 wxTreeCtrl * _arg0;
d5c9047a 5120 wxTreeItemId * _arg1;
1d99702e
RD
5121 PyObject * _argo0 = 0;
5122 PyObject * _argo1 = 0;
efc5f224 5123 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
5124
5125 self = self;
efc5f224 5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 5127 return NULL;
1d99702e
RD
5128 if (_argo0) {
5129 if (_argo0 == Py_None) { _arg0 = NULL; }
5130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a 5131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
8ab979d7
RD
5132 return NULL;
5133 }
5134 }
1d99702e
RD
5135 if (_argo1) {
5136 if (_argo1 == Py_None) { _arg1 = NULL; }
5137 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5138 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5139 return NULL;
5140 }
5141 }
cf694132
RD
5142{
5143 wxPy_BEGIN_ALLOW_THREADS;
5144 wxTreeCtrl_Delete(_arg0,*_arg1);
5145
5146 wxPy_END_ALLOW_THREADS;
5147} Py_INCREF(Py_None);
d5c9047a
RD
5148 _resultobj = Py_None;
5149 return _resultobj;
5150}
5151
08127323 5152#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 5153static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323
RD
5154 PyObject * _resultobj;
5155 wxTreeCtrl * _arg0;
5156 wxTreeItemId * _arg1;
1d99702e
RD
5157 PyObject * _argo0 = 0;
5158 PyObject * _argo1 = 0;
efc5f224 5159 char *_kwnames[] = { "self","item", NULL };
08127323
RD
5160
5161 self = self;
efc5f224 5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 5163 return NULL;
1d99702e
RD
5164 if (_argo0) {
5165 if (_argo0 == Py_None) { _arg0 = NULL; }
5166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
08127323
RD
5167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5168 return NULL;
5169 }
5170 }
1d99702e
RD
5171 if (_argo1) {
5172 if (_argo1 == Py_None) { _arg1 = NULL; }
5173 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
5174 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5175 return NULL;
5176 }
5177 }
cf694132
RD
5178{
5179 wxPy_BEGIN_ALLOW_THREADS;
5180 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
5181
5182 wxPy_END_ALLOW_THREADS;
5183} Py_INCREF(Py_None);
08127323
RD
5184 _resultobj = Py_None;
5185 return _resultobj;
5186}
5187
d5c9047a 5188#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 5189static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5190 PyObject * _resultobj;
5191 wxTreeCtrl * _arg0;
1d99702e 5192 PyObject * _argo0 = 0;
efc5f224 5193 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
5194
5195 self = self;
efc5f224 5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 5197 return NULL;
1d99702e
RD
5198 if (_argo0) {
5199 if (_argo0 == Py_None) { _arg0 = NULL; }
5200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5202 return NULL;
5203 }
5204 }
cf694132
RD
5205{
5206 wxPy_BEGIN_ALLOW_THREADS;
5207 wxTreeCtrl_DeleteAllItems(_arg0);
5208
5209 wxPy_END_ALLOW_THREADS;
5210} Py_INCREF(Py_None);
d5c9047a
RD
5211 _resultobj = Py_None;
5212 return _resultobj;
5213}
5214
5215#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 5216static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5217 PyObject * _resultobj;
5218 wxTreeCtrl * _arg0;
5219 wxTreeItemId * _arg1;
1d99702e
RD
5220 PyObject * _argo0 = 0;
5221 PyObject * _argo1 = 0;
efc5f224 5222 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
5223
5224 self = self;
efc5f224 5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 5226 return NULL;
1d99702e
RD
5227 if (_argo0) {
5228 if (_argo0 == Py_None) { _arg0 = NULL; }
5229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5231 return NULL;
5232 }
5233 }
1d99702e
RD
5234 if (_argo1) {
5235 if (_argo1 == Py_None) { _arg1 = NULL; }
5236 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5237 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5238 return NULL;
5239 }
5240 }
cf694132
RD
5241{
5242 wxPy_BEGIN_ALLOW_THREADS;
5243 wxTreeCtrl_Expand(_arg0,*_arg1);
5244
5245 wxPy_END_ALLOW_THREADS;
5246} Py_INCREF(Py_None);
d5c9047a
RD
5247 _resultobj = Py_None;
5248 return _resultobj;
5249}
5250
5251#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 5252static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5253 PyObject * _resultobj;
5254 wxTreeCtrl * _arg0;
5255 wxTreeItemId * _arg1;
1d99702e
RD
5256 PyObject * _argo0 = 0;
5257 PyObject * _argo1 = 0;
efc5f224 5258 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
5259
5260 self = self;
efc5f224 5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 5262 return NULL;
1d99702e
RD
5263 if (_argo0) {
5264 if (_argo0 == Py_None) { _arg0 = NULL; }
5265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5267 return NULL;
5268 }
5269 }
1d99702e
RD
5270 if (_argo1) {
5271 if (_argo1 == Py_None) { _arg1 = NULL; }
5272 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5273 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5274 return NULL;
5275 }
5276 }
cf694132
RD
5277{
5278 wxPy_BEGIN_ALLOW_THREADS;
5279 wxTreeCtrl_Collapse(_arg0,*_arg1);
5280
5281 wxPy_END_ALLOW_THREADS;
5282} Py_INCREF(Py_None);
d5c9047a
RD
5283 _resultobj = Py_None;
5284 return _resultobj;
5285}
5286
5287#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 5288static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5289 PyObject * _resultobj;
5290 wxTreeCtrl * _arg0;
5291 wxTreeItemId * _arg1;
1d99702e
RD
5292 PyObject * _argo0 = 0;
5293 PyObject * _argo1 = 0;
efc5f224 5294 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
5295
5296 self = self;
efc5f224 5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 5298 return NULL;
1d99702e
RD
5299 if (_argo0) {
5300 if (_argo0 == Py_None) { _arg0 = NULL; }
5301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5303 return NULL;
5304 }
5305 }
1d99702e
RD
5306 if (_argo1) {
5307 if (_argo1 == Py_None) { _arg1 = NULL; }
5308 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5309 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5310 return NULL;
5311 }
5312 }
cf694132
RD
5313{
5314 wxPy_BEGIN_ALLOW_THREADS;
5315 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
5316
5317 wxPy_END_ALLOW_THREADS;
5318} Py_INCREF(Py_None);
d5c9047a
RD
5319 _resultobj = Py_None;
5320 return _resultobj;
5321}
5322
5323#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 5324static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5325 PyObject * _resultobj;
5326 wxTreeCtrl * _arg0;
5327 wxTreeItemId * _arg1;
1d99702e
RD
5328 PyObject * _argo0 = 0;
5329 PyObject * _argo1 = 0;
efc5f224 5330 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
5331
5332 self = self;
efc5f224 5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 5334 return NULL;
1d99702e
RD
5335 if (_argo0) {
5336 if (_argo0 == Py_None) { _arg0 = NULL; }
5337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5339 return NULL;
5340 }
5341 }
1d99702e
RD
5342 if (_argo1) {
5343 if (_argo1 == Py_None) { _arg1 = NULL; }
5344 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5345 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5346 return NULL;
5347 }
5348 }
cf694132
RD
5349{
5350 wxPy_BEGIN_ALLOW_THREADS;
5351 wxTreeCtrl_Toggle(_arg0,*_arg1);
5352
5353 wxPy_END_ALLOW_THREADS;
5354} Py_INCREF(Py_None);
d5c9047a
RD
5355 _resultobj = Py_None;
5356 return _resultobj;
5357}
5358
5359#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 5360static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5361 PyObject * _resultobj;
5362 wxTreeCtrl * _arg0;
1d99702e 5363 PyObject * _argo0 = 0;
efc5f224 5364 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
5365
5366 self = self;
efc5f224 5367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 5368 return NULL;
1d99702e
RD
5369 if (_argo0) {
5370 if (_argo0 == Py_None) { _arg0 = NULL; }
5371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5373 return NULL;
5374 }
5375 }
cf694132
RD
5376{
5377 wxPy_BEGIN_ALLOW_THREADS;
5378 wxTreeCtrl_Unselect(_arg0);
5379
5380 wxPy_END_ALLOW_THREADS;
5381} Py_INCREF(Py_None);
d5c9047a
RD
5382 _resultobj = Py_None;
5383 return _resultobj;
5384}
5385
8bf5d46e 5386#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 5387static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
5388 PyObject * _resultobj;
5389 wxTreeCtrl * _arg0;
1d99702e 5390 PyObject * _argo0 = 0;
efc5f224 5391 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
5392
5393 self = self;
efc5f224 5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 5395 return NULL;
1d99702e
RD
5396 if (_argo0) {
5397 if (_argo0 == Py_None) { _arg0 = NULL; }
5398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
8bf5d46e
RD
5399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5400 return NULL;
5401 }
5402 }
5403{
5404 wxPy_BEGIN_ALLOW_THREADS;
5405 wxTreeCtrl_UnselectAll(_arg0);
5406
5407 wxPy_END_ALLOW_THREADS;
5408} Py_INCREF(Py_None);
5409 _resultobj = Py_None;
5410 return _resultobj;
5411}
5412
d5c9047a 5413#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 5414static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5415 PyObject * _resultobj;
5416 wxTreeCtrl * _arg0;
5417 wxTreeItemId * _arg1;
1d99702e
RD
5418 PyObject * _argo0 = 0;
5419 PyObject * _argo1 = 0;
efc5f224 5420 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
5421
5422 self = self;
efc5f224 5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 5424 return NULL;
1d99702e
RD
5425 if (_argo0) {
5426 if (_argo0 == Py_None) { _arg0 = NULL; }
5427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5429 return NULL;
5430 }
5431 }
1d99702e
RD
5432 if (_argo1) {
5433 if (_argo1 == Py_None) { _arg1 = NULL; }
5434 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5435 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5436 return NULL;
5437 }
5438 }
cf694132
RD
5439{
5440 wxPy_BEGIN_ALLOW_THREADS;
5441 wxTreeCtrl_SelectItem(_arg0,*_arg1);
5442
5443 wxPy_END_ALLOW_THREADS;
5444} Py_INCREF(Py_None);
d5c9047a
RD
5445 _resultobj = Py_None;
5446 return _resultobj;
5447}
5448
5449#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 5450static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5451 PyObject * _resultobj;
5452 wxTreeCtrl * _arg0;
5453 wxTreeItemId * _arg1;
1d99702e
RD
5454 PyObject * _argo0 = 0;
5455 PyObject * _argo1 = 0;
efc5f224 5456 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
5457
5458 self = self;
efc5f224 5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 5460 return NULL;
1d99702e
RD
5461 if (_argo0) {
5462 if (_argo0 == Py_None) { _arg0 = NULL; }
5463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5465 return NULL;
5466 }
5467 }
1d99702e
RD
5468 if (_argo1) {
5469 if (_argo1 == Py_None) { _arg1 = NULL; }
5470 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5471 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5472 return NULL;
5473 }
5474 }
cf694132
RD
5475{
5476 wxPy_BEGIN_ALLOW_THREADS;
5477 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
5478
5479 wxPy_END_ALLOW_THREADS;
5480} Py_INCREF(Py_None);
d5c9047a
RD
5481 _resultobj = Py_None;
5482 return _resultobj;
5483}
5484
5485#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 5486static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5487 PyObject * _resultobj;
5488 wxTreeCtrl * _arg0;
5489 wxTreeItemId * _arg1;
1d99702e
RD
5490 PyObject * _argo0 = 0;
5491 PyObject * _argo1 = 0;
efc5f224 5492 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
5493
5494 self = self;
efc5f224 5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 5496 return NULL;
1d99702e
RD
5497 if (_argo0) {
5498 if (_argo0 == Py_None) { _arg0 = NULL; }
5499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5501 return NULL;
5502 }
5503 }
1d99702e
RD
5504 if (_argo1) {
5505 if (_argo1 == Py_None) { _arg1 = NULL; }
5506 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5507 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5508 return NULL;
5509 }
5510 }
cf694132
RD
5511{
5512 wxPy_BEGIN_ALLOW_THREADS;
5513 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
5514
5515 wxPy_END_ALLOW_THREADS;
5516} Py_INCREF(Py_None);
d5c9047a
RD
5517 _resultobj = Py_None;
5518 return _resultobj;
5519}
5520
5521#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 5522static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5523 PyObject * _resultobj;
5524 wxTextCtrl * _result;
5525 wxTreeCtrl * _arg0;
5526 wxTreeItemId * _arg1;
1d99702e
RD
5527 PyObject * _argo0 = 0;
5528 PyObject * _argo1 = 0;
efc5f224 5529 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
5530 char _ptemp[128];
5531
5532 self = self;
efc5f224 5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 5534 return NULL;
1d99702e
RD
5535 if (_argo0) {
5536 if (_argo0 == Py_None) { _arg0 = NULL; }
5537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5539 return NULL;
5540 }
5541 }
1d99702e
RD
5542 if (_argo1) {
5543 if (_argo1 == Py_None) { _arg1 = NULL; }
5544 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5545 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5546 return NULL;
5547 }
5548 }
cf694132
RD
5549{
5550 wxPy_BEGIN_ALLOW_THREADS;
5551 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
5552
5553 wxPy_END_ALLOW_THREADS;
1d99702e
RD
5554} if (_result) {
5555 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
5556 _resultobj = Py_BuildValue("s",_ptemp);
5557 } else {
5558 Py_INCREF(Py_None);
5559 _resultobj = Py_None;
5560 }
d5c9047a
RD
5561 return _resultobj;
5562}
5563
5564#define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
efc5f224 5565static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5566 PyObject * _resultobj;
5567 wxTextCtrl * _result;
5568 wxTreeCtrl * _arg0;
1d99702e 5569 PyObject * _argo0 = 0;
efc5f224 5570 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
5571 char _ptemp[128];
5572
5573 self = self;
efc5f224 5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0))
d5c9047a 5575 return NULL;
1d99702e
RD
5576 if (_argo0) {
5577 if (_argo0 == Py_None) { _arg0 = NULL; }
5578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
5580 return NULL;
5581 }
5582 }
cf694132
RD
5583{
5584 wxPy_BEGIN_ALLOW_THREADS;
5585 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
5586
5587 wxPy_END_ALLOW_THREADS;
1d99702e
RD
5588} if (_result) {
5589 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
5590 _resultobj = Py_BuildValue("s",_ptemp);
5591 } else {
5592 Py_INCREF(Py_None);
5593 _resultobj = Py_None;
5594 }
d5c9047a
RD
5595 return _resultobj;
5596}
5597
5598#define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
efc5f224 5599static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
5600 PyObject * _resultobj;
5601 wxTreeCtrl * _arg0;
5602 wxTreeItemId * _arg1;
b1462dfa 5603 int _arg2 = (int ) FALSE;
1d99702e
RD
5604 PyObject * _argo0 = 0;
5605 PyObject * _argo1 = 0;
efc5f224 5606 char *_kwnames[] = { "self","item","discardChanges", NULL };
d5c9047a
RD
5607
5608 self = self;
b1462dfa 5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2))
d5c9047a 5610 return NULL;
1d99702e
RD
5611 if (_argo0) {
5612 if (_argo0 == Py_None) { _arg0 = NULL; }
5613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
d5c9047a
RD
5614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
5615 return NULL;
5616 }
5617 }
1d99702e
RD
5618 if (_argo1) {
5619 if (_argo1 == Py_None) { _arg1 = NULL; }
5620 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5621 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
5622 return NULL;
5623 }
5624 }
cf694132
RD
5625{
5626 wxPy_BEGIN_ALLOW_THREADS;
5627 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
5628
5629 wxPy_END_ALLOW_THREADS;
5630} Py_INCREF(Py_None);
d5c9047a 5631 _resultobj = Py_None;
8ab979d7
RD
5632 return _resultobj;
5633}
5634
d426c97e
RD
5635#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5636static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
5637 PyObject * _resultobj;
5638 wxTreeCtrl * _arg0;
5639 wxTreeItemId * _arg1;
5640 PyObject * _argo0 = 0;
5641 PyObject * _argo1 = 0;
5642 char *_kwnames[] = { "self","item", NULL };
5643
5644 self = self;
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
5646 return NULL;
5647 if (_argo0) {
5648 if (_argo0 == Py_None) { _arg0 = NULL; }
5649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5651 return NULL;
5652 }
5653 }
5654 if (_argo1) {
5655 if (_argo1 == Py_None) { _arg1 = NULL; }
5656 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5658 return NULL;
5659 }
5660 }
5661{
5662 wxPy_BEGIN_ALLOW_THREADS;
5663 wxTreeCtrl_SortChildren(_arg0,*_arg1);
5664
5665 wxPy_END_ALLOW_THREADS;
5666} Py_INCREF(Py_None);
5667 _resultobj = Py_None;
5668 return _resultobj;
5669}
5670
b8b8dda7 5671#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 5672static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5673 PyObject * _resultobj;
5674 wxTreeCtrl * _arg0;
5675 wxTreeItemId * _arg1;
b1462dfa 5676 int _arg2 = (int ) TRUE;
1d99702e
RD
5677 PyObject * _argo0 = 0;
5678 PyObject * _argo1 = 0;
efc5f224 5679 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
5680
5681 self = self;
b1462dfa 5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 5683 return NULL;
1d99702e
RD
5684 if (_argo0) {
5685 if (_argo0 == Py_None) { _arg0 = NULL; }
5686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
b8b8dda7
RD
5687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5688 return NULL;
5689 }
5690 }
1d99702e
RD
5691 if (_argo1) {
5692 if (_argo1 == Py_None) { _arg1 = NULL; }
5693 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
5694 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5695 return NULL;
5696 }
5697 }
cf694132
RD
5698{
5699 wxPy_BEGIN_ALLOW_THREADS;
5700 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
5701
5702 wxPy_END_ALLOW_THREADS;
5703} Py_INCREF(Py_None);
b8b8dda7
RD
5704 _resultobj = Py_None;
5705 return _resultobj;
5706}
5707
5708#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 5709static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5710 PyObject * _resultobj;
5711 bool _result;
5712 wxTreeCtrl * _arg0;
5713 wxTreeItemId * _arg1;
1d99702e
RD
5714 PyObject * _argo0 = 0;
5715 PyObject * _argo1 = 0;
efc5f224 5716 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
5717
5718 self = self;
efc5f224 5719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 5720 return NULL;
1d99702e
RD
5721 if (_argo0) {
5722 if (_argo0 == Py_None) { _arg0 = NULL; }
5723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
b8b8dda7
RD
5724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5725 return NULL;
5726 }
5727 }
1d99702e
RD
5728 if (_argo1) {
5729 if (_argo1 == Py_None) { _arg1 = NULL; }
5730 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
5731 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5732 return NULL;
5733 }
5734 }
cf694132
RD
5735{
5736 wxPy_BEGIN_ALLOW_THREADS;
5737 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
5738
5739 wxPy_END_ALLOW_THREADS;
5740} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
5741 return _resultobj;
5742}
5743
5744#define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
efc5f224 5745static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
5746 PyObject * _resultobj;
5747 wxTreeItemId * _result;
5748 wxTreeCtrl * _arg0;
5749 wxPoint * _arg1;
1d99702e 5750 PyObject * _argo0 = 0;
2f90df85
RD
5751 wxPoint temp;
5752 PyObject * _obj1 = 0;
efc5f224 5753 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
5754 char _ptemp[128];
5755
5756 self = self;
2f90df85 5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 5758 return NULL;
1d99702e
RD
5759 if (_argo0) {
5760 if (_argo0 == Py_None) { _arg0 = NULL; }
5761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
b8b8dda7
RD
5762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5763 return NULL;
5764 }
5765 }
2f90df85
RD
5766{
5767 _arg1 = &temp;
5768 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 5769 return NULL;
2f90df85 5770}
cf694132
RD
5771{
5772 wxPy_BEGIN_ALLOW_THREADS;
5773 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1));
5774
5775 wxPy_END_ALLOW_THREADS;
5776} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7
RD
5777 _resultobj = Py_BuildValue("s",_ptemp);
5778 return _resultobj;
5779}
5780
b1462dfa
RD
5781#define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
5782static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
5783 PyObject * _resultobj;
5784 wxTreeCtrl * _arg0;
5785 wxTreeItemId * _arg1;
5786 int _arg2 = (int ) TRUE;
5787 PyObject * _argo0 = 0;
5788 PyObject * _argo1 = 0;
5789 char *_kwnames[] = { "self","item","highlight", NULL };
5790
5791 self = self;
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2))
5793 return NULL;
5794 if (_argo0) {
5795 if (_argo0 == Py_None) { _arg0 = NULL; }
5796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeCtrl_p.");
5798 return NULL;
5799 }
5800 }
5801 if (_argo1) {
5802 if (_argo1 == Py_None) { _arg1 = NULL; }
5803 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5804 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
5805 return NULL;
5806 }
5807 }
5808{
5809 wxPy_BEGIN_ALLOW_THREADS;
5810 wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2);
5811
5812 wxPy_END_ALLOW_THREADS;
5813} Py_INCREF(Py_None);
5814 _resultobj = Py_None;
5815 return _resultobj;
5816}
5817
d426c97e
RD
5818static PyObject * wxTreeCtrl_GetBoundingRect(wxTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
5819 wxRect rect;
5820 if (self->GetBoundingRect(item, rect, textOnly))
5821 return wxPyConstructObject((void*)&rect, "wxRect");
5822 else {
5823 Py_INCREF(Py_None);
5824 return Py_None;
5825 }
5826 }
5827static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject * _resultobj;
5829 PyObject * _result;
5830 wxTreeCtrl * _arg0;
5831 wxTreeItemId * _arg1;
5832 int _arg2 = (int ) FALSE;
5833 PyObject * _argo0 = 0;
5834 PyObject * _argo1 = 0;
5835 char *_kwnames[] = { "self","item","textOnly", NULL };
5836
5837 self = self;
5838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
5839 return NULL;
5840 if (_argo0) {
5841 if (_argo0 == Py_None) { _arg0 = NULL; }
5842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
5843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeCtrl_p.");
5844 return NULL;
5845 }
5846 }
5847 if (_argo1) {
5848 if (_argo1 == Py_None) { _arg1 = NULL; }
5849 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5850 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
5851 return NULL;
5852 }
5853 }
5854{
5855 wxPy_BEGIN_ALLOW_THREADS;
5856 _result = (PyObject *)wxTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
5857
5858 wxPy_END_ALLOW_THREADS;
5859}{
5860 _resultobj = _result;
5861}
5862 return _resultobj;
5863}
5864
8ab979d7 5865static PyMethodDef controls2cMethods[] = {
d426c97e 5866 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b1462dfa 5867 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
5868 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
5869 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
5870 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 5871 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
5872 { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
5873 { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
5874 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
5875 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
5876 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
5877 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
5878 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
5879 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
5880 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
5881 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
5882 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
5883 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
5884 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
5885 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
5886 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
5887 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
5888 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
5889 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
5890 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 5891 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
5892 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
5893 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
5894 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
5895 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
5896 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
5897 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
5898 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
5899 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 5900 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
5901 { "wxTreeCtrl_GetParent", (PyCFunction) _wrap_wxTreeCtrl_GetParent, METH_VARARGS | METH_KEYWORDS },
5902 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
5903 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
5904 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
5905 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
5906 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5907 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
5908 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
5909 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
5910 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5911 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5912 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
5913 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5914 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5915 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5916 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
5917 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
5918 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
5919 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
5920 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
5921 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
5922 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5923 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
5924 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5925 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
5926 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
5927 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
5928 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
5929 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
5930 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
5931 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
5932 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
5933 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
5934 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
5935 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
5936 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
5937 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
5938 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
5939 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
5940 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
5941 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
5942 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
5943 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
5944 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
5945 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
5946 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
5947 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
5948 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
5949 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
5950 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
5951 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5952 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5953 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
5954 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5955 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
5956 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
5957 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
5958 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
5959 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
5960 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
5961 { "wxListCtrl_InsertColumnWith", (PyCFunction) _wrap_wxListCtrl_InsertColumnWith, METH_VARARGS | METH_KEYWORDS },
5962 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
5963 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
5964 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
5965 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
5966 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
5967 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
5968 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
5969 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
5970 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
5971 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
5972 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
5973 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
5974 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
5975 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
5976 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5977 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
5978 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5979 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
5980 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
5981 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
5982 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
5983 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
5984 { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
5985 { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
5986 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
5987 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
5988 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
5989 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
5990 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
5991 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
5992 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
5993 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
5994 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
5995 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
5996 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
5997 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
5998 { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS },
5999 { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS },
6000 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
6001 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
6002 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
6003 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
6004 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
6005 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
6006 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
6007 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
6008 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
6009 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
6010 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
6011 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
6012 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
6013 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
6014 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
6015 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
6016 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
6017 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
6018 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
6019 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
6020 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
6021 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
6022 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
6023 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
6024 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
6025 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
6026 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
6027 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
6028 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
6029 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
6030 { NULL, NULL }
6031};
1d99702e
RD
6032#ifdef __cplusplus
6033}
6034#endif
6035/*
6036 * This table is used by the pointer type-checker
6037 */
6038static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
6039 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6040 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
6041 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
6042 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
6043 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
6044 { "_wxEvent","_class_wxEvent",0},
6045 { "_class_wxActivateEvent","_wxActivateEvent",0},
6046 { "_signed_long","_long",0},
6047 { "_wxMenuEvent","_class_wxMenuEvent",0},
65dd82cb 6048 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
b1462dfa 6049 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2f90df85 6050 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
b1462dfa 6051 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
6052 { "_wxPrintQuality","_int",0},
6053 { "_wxPrintQuality","_signed_int",0},
6054 { "_wxPrintQuality","_unsigned_int",0},
6055 { "_wxPrintQuality","_wxWindowID",0},
6056 { "_wxPrintQuality","_uint",0},
6057 { "_wxPrintQuality","_EBool",0},
6058 { "_wxPrintQuality","_size_t",0},
b1462dfa 6059 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1d99702e 6060 { "_class_wxRegionIterator","_wxRegionIterator",0},
b1462dfa 6061 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1d99702e
RD
6062 { "_class_wxMenuBar","_wxMenuBar",0},
6063 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
6064 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6065 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6066 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6067 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6068 { "_class_wxEvtHandler","_wxEvtHandler",0},
6069 { "_wxPaintEvent","_class_wxPaintEvent",0},
6070 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6071 { "_wxCursor","_class_wxCursor",0},
6072 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
6073 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
6074 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6075 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
6076 { "_wxMask","_class_wxMask",0},
6077 { "_wxPen","_class_wxPen",0},
6078 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6079 { "_byte","_unsigned_char",0},
b1462dfa 6080 { "_wxDataObject","_class_wxDataObject",0},
1d99702e 6081 { "_wxStaticBox","_class_wxStaticBox",0},
65dd82cb
RD
6082 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
6083 { "_wxPyDropSource","_class_wxPyDropSource",0},
1d99702e
RD
6084 { "_wxChoice","_class_wxChoice",0},
6085 { "_wxSlider","_class_wxSlider",0},
6086 { "_long","_wxDash",0},
6087 { "_long","_unsigned_long",0},
6088 { "_long","_signed_long",0},
6089 { "_wxImageList","_class_wxImageList",0},
b1462dfa 6090 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1d99702e
RD
6091 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6092 { "_wxBitmapButton","_class_wxBitmapButton",0},
6093 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
b1462dfa 6094 { "_class_wxClipboard","_wxClipboard",0},
1d99702e
RD
6095 { "_class_wxGauge","_wxGauge",0},
6096 { "_wxDC","_class_wxDC",0},
b1462dfa 6097 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1d99702e
RD
6098 { "_wxListEvent","_class_wxListEvent",0},
6099 { "_wxSpinEvent","_class_wxSpinEvent",0},
b1462dfa 6100 { "_size_t","_wxCoord",0},
1d99702e
RD
6101 { "_size_t","_wxPrintQuality",0},
6102 { "_size_t","_unsigned_int",0},
6103 { "_size_t","_int",0},
6104 { "_size_t","_wxWindowID",0},
6105 { "_size_t","_uint",0},
6106 { "_class_wxRealPoint","_wxRealPoint",0},
48115f4a 6107 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1d99702e 6108 { "_wxPrinterDC","_class_wxPrinterDC",0},
48115f4a 6109 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1d99702e
RD
6110 { "_class_wxMenuItem","_wxMenuItem",0},
6111 { "_class_wxPaintEvent","_wxPaintEvent",0},
6112 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6113 { "_wxPanel","_class_wxPanel",0},
6114 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6115 { "_wxCheckBox","_class_wxCheckBox",0},
6116 { "_wxPyEvent","_class_wxPyEvent",0},
6117 { "_wxTextCtrl","_class_wxTextCtrl",0},
6118 { "_class_wxMask","_wxMask",0},
b1462dfa 6119 { "_wxTextDataObject","_class_wxTextDataObject",0},
1d99702e
RD
6120 { "_class_wxKeyEvent","_wxKeyEvent",0},
6121 { "_wxColour","_class_wxColour",0},
6122 { "_class_wxDialog","_wxDialog",0},
b1462dfa 6123 { "_class_wxFileDataObject","_wxFileDataObject",0},
1d99702e
RD
6124 { "_wxIdleEvent","_class_wxIdleEvent",0},
6125 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
b1462dfa 6126 { "_class_wxDataObject","_wxDataObject",0},
1d99702e
RD
6127 { "_wxStaticLine","_class_wxStaticLine",0},
6128 { "_wxBrush","_class_wxBrush",0},
b1462dfa
RD
6129 { "_wxDataFormat","_class_wxDataFormat",0},
6130 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1d99702e 6131 { "_wxShowEvent","_class_wxShowEvent",0},
b1462dfa 6132 { "_uint","_wxCoord",0},
1d99702e
RD
6133 { "_uint","_wxPrintQuality",0},
6134 { "_uint","_size_t",0},
6135 { "_uint","_unsigned_int",0},
6136 { "_uint","_int",0},
6137 { "_uint","_wxWindowID",0},
2f90df85 6138 { "_wxPyValidator","_class_wxPyValidator",0},
1d99702e
RD
6139 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
6140 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
6141 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
6142 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
6143 { "_class_wxEvent","_wxEvent",0},
6144 { "_wxCheckListBox","_class_wxCheckListBox",0},
6145 { "_wxRect","_class_wxRect",0},
6146 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6147 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6148 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
6149 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
6150 { "_wxCommandEvent","_class_wxCommandEvent",0},
6151 { "_wxSizeEvent","_class_wxSizeEvent",0},
6152 { "_wxPoint","_class_wxPoint",0},
6153 { "_class_wxButton","_wxButton",0},
6154 { "_wxRadioBox","_class_wxRadioBox",0},
6155 { "_wxBitmap","_class_wxBitmap",0},
6156 { "_wxPyTimer","_class_wxPyTimer",0},
6157 { "_wxWindowDC","_class_wxWindowDC",0},
6158 { "_wxScrollBar","_class_wxScrollBar",0},
6159 { "_wxSpinButton","_class_wxSpinButton",0},
6160 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6161 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
6162 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
6163 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2f90df85 6164 { "_class_wxValidator","_wxValidator",0},
1d99702e
RD
6165 { "_class_wxPyEvent","_wxPyEvent",0},
6166 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6167 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
6168 { "_wxListItem","_class_wxListItem",0},
b1462dfa 6169 { "_wxDropTarget","_class_wxDropTarget",0},
1d99702e
RD
6170 { "_class_wxStaticLine","_wxStaticLine",0},
6171 { "_wxScrollEvent","_class_wxScrollEvent",0},
b1462dfa 6172 { "_EBool","_wxCoord",0},
1d99702e
RD
6173 { "_EBool","_wxPrintQuality",0},
6174 { "_EBool","_signed_int",0},
6175 { "_EBool","_int",0},
6176 { "_EBool","_wxWindowID",0},
6177 { "_class_wxRegion","_wxRegion",0},
b1462dfa 6178 { "_class_wxDataFormat","_wxDataFormat",0},
1d99702e 6179 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
48115f4a 6180 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1d99702e
RD
6181 { "_wxStaticText","_class_wxStaticText",0},
6182 { "_wxFont","_class_wxFont",0},
b1462dfa 6183 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1d99702e
RD
6184 { "_wxCloseEvent","_class_wxCloseEvent",0},
6185 { "_unsigned_long","_wxDash",0},
6186 { "_unsigned_long","_long",0},
6187 { "_class_wxRect","_wxRect",0},
6188 { "_class_wxDC","_wxDC",0},
d426c97e 6189 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
48115f4a
RD
6190 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6191 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1d99702e
RD
6192 { "_class_wxTreeEvent","_wxTreeEvent",0},
6193 { "_class_wxPyTimer","_wxPyTimer",0},
6194 { "_wxFocusEvent","_class_wxFocusEvent",0},
6195 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6196 { "_class_wxSpinButton","_wxSpinButton",0},
6197 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6198 { "_class_wxPanel","_wxPanel",0},
6199 { "_class_wxCheckBox","_wxCheckBox",0},
6200 { "_wxComboBox","_class_wxComboBox",0},
6201 { "_wxRadioButton","_class_wxRadioButton",0},
b1462dfa 6202 { "_signed_int","_wxCoord",0},
1d99702e
RD
6203 { "_signed_int","_wxPrintQuality",0},
6204 { "_signed_int","_EBool",0},
6205 { "_signed_int","_wxWindowID",0},
6206 { "_signed_int","_int",0},
6207 { "_class_wxTextCtrl","_wxTextCtrl",0},
6208 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6209 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
b1462dfa 6210 { "_class_wxTextDataObject","_wxTextDataObject",0},
1d99702e
RD
6211 { "_wxMenu","_class_wxMenu",0},
6212 { "_class_wxMoveEvent","_wxMoveEvent",0},
6213 { "_wxListBox","_class_wxListBox",0},
6214 { "_wxScreenDC","_class_wxScreenDC",0},
6215 { "_WXTYPE","_short",0},
6216 { "_WXTYPE","_signed_short",0},
6217 { "_WXTYPE","_unsigned_short",0},
b1462dfa 6218 { "_class_wxDropTarget","_wxDropTarget",0},
1d99702e
RD
6219 { "_class_wxBrush","_wxBrush",0},
6220 { "_unsigned_short","_WXTYPE",0},
6221 { "_unsigned_short","_short",0},
6222 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6223 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6224 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
6225 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
6226 { "_class_wxWindow","_wxWindow",0},
6227 { "_class_wxStaticText","_wxStaticText",0},
6228 { "_class_wxFont","_wxFont",0},
b1462dfa 6229 { "_wxClipboard","_class_wxClipboard",0},
2f90df85 6230 { "_class_wxPyValidator","_wxPyValidator",0},
1d99702e 6231 { "_class_wxCloseEvent","_wxCloseEvent",0},
2abc0a0f 6232 { "_wxBusyInfo","_class_wxBusyInfo",0},
1d99702e 6233 { "_class_wxMenuEvent","_wxMenuEvent",0},
48115f4a 6234 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
65dd82cb 6235 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1d99702e
RD
6236 { "_wxClientDC","_class_wxClientDC",0},
6237 { "_wxMouseEvent","_class_wxMouseEvent",0},
6238 { "_wxListCtrl","_class_wxListCtrl",0},
6239 { "_class_wxPoint","_wxPoint",0},
6240 { "_wxRealPoint","_class_wxRealPoint",0},
6241 { "_class_wxRadioBox","_wxRadioBox",0},
6242 { "_signed_short","_WXTYPE",0},
6243 { "_signed_short","_short",0},
6244 { "_wxMemoryDC","_class_wxMemoryDC",0},
65dd82cb 6245 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1d99702e
RD
6246 { "_wxPaintDC","_class_wxPaintDC",0},
6247 { "_class_wxWindowDC","_wxWindowDC",0},
6248 { "_class_wxFocusEvent","_wxFocusEvent",0},
6249 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6250 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6251 { "_class_wxCursor","_wxCursor",0},
b1462dfa 6252 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1d99702e
RD
6253 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6254 { "_wxTreeItemId","_class_wxTreeItemId",0},
6255 { "_unsigned_char","_byte",0},
6256 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6257 { "_class_wxMenu","_wxMenu",0},
6258 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6259 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6260 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
6261 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
6262 { "_wxControl","_class_wxControl",0},
6263 { "_class_wxListBox","_wxListBox",0},
b1462dfa 6264 { "_unsigned_int","_wxCoord",0},
1d99702e
RD
6265 { "_unsigned_int","_wxPrintQuality",0},
6266 { "_unsigned_int","_size_t",0},
6267 { "_unsigned_int","_uint",0},
6268 { "_unsigned_int","_wxWindowID",0},
6269 { "_unsigned_int","_int",0},
6270 { "_wxIcon","_class_wxIcon",0},
6271 { "_wxDialog","_class_wxDialog",0},
6272 { "_class_wxListItem","_wxListItem",0},
6273 { "_class_wxPen","_wxPen",0},
6274 { "_short","_WXTYPE",0},
6275 { "_short","_unsigned_short",0},
6276 { "_short","_signed_short",0},
6277 { "_class_wxStaticBox","_wxStaticBox",0},
65dd82cb
RD
6278 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
6279 { "_class_wxPyDropSource","_wxPyDropSource",0},
1d99702e
RD
6280 { "_class_wxScrollEvent","_wxScrollEvent",0},
6281 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6282 { "_class_wxChoice","_wxChoice",0},
6283 { "_class_wxSlider","_wxSlider",0},
6284 { "_class_wxImageList","_wxImageList",0},
6285 { "_class_wxBitmapButton","_wxBitmapButton",0},
48115f4a 6286 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
b1462dfa 6287 { "_wxWindowID","_wxCoord",0},
1d99702e
RD
6288 { "_wxWindowID","_wxPrintQuality",0},
6289 { "_wxWindowID","_size_t",0},
6290 { "_wxWindowID","_EBool",0},
6291 { "_wxWindowID","_uint",0},
6292 { "_wxWindowID","_int",0},
6293 { "_wxWindowID","_signed_int",0},
6294 { "_wxWindowID","_unsigned_int",0},
d426c97e 6295 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
b1462dfa 6296 { "_int","_wxCoord",0},
1d99702e
RD
6297 { "_int","_wxPrintQuality",0},
6298 { "_int","_size_t",0},
6299 { "_int","_EBool",0},
6300 { "_int","_uint",0},
6301 { "_int","_wxWindowID",0},
6302 { "_int","_unsigned_int",0},
6303 { "_int","_signed_int",0},
6304 { "_class_wxMouseEvent","_wxMouseEvent",0},
2f90df85 6305 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1d99702e
RD
6306 { "_class_wxListEvent","_wxListEvent",0},
6307 { "_class_wxSpinEvent","_wxSpinEvent",0},
48115f4a
RD
6308 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6309 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1d99702e
RD
6310 { "_wxButton","_class_wxButton",0},
6311 { "_wxSize","_class_wxSize",0},
6312 { "_wxRegionIterator","_class_wxRegionIterator",0},
6313 { "_class_wxPrinterDC","_wxPrinterDC",0},
65dd82cb 6314 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1d99702e
RD
6315 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6316 { "_class_wxPaintDC","_wxPaintDC",0},
6317 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
b1462dfa 6318 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1d99702e
RD
6319 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6320 { "_class_wxComboBox","_wxComboBox",0},
6321 { "_class_wxRadioButton","_wxRadioButton",0},
2f90df85 6322 { "_wxValidator","_class_wxValidator",0},
1d99702e
RD
6323 { "_class_wxTreeItemId","_wxTreeItemId",0},
6324 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6325 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6326 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6327 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6328 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl},
6329 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
6330 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
6331 { "_class_wxControl","_wxControl",0},
6332 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6333 { "_class_wxIcon","_wxIcon",0},
6334 { "_class_wxColour","_wxColour",0},
6335 { "_class_wxScreenDC","_wxScreenDC",0},
6336 { "_wxPalette","_class_wxPalette",0},
6337 { "_class_wxIdleEvent","_wxIdleEvent",0},
b1462dfa
RD
6338 { "_wxCoord","_int",0},
6339 { "_wxCoord","_signed_int",0},
6340 { "_wxCoord","_unsigned_int",0},
6341 { "_wxCoord","_wxWindowID",0},
6342 { "_wxCoord","_uint",0},
6343 { "_wxCoord","_EBool",0},
6344 { "_wxCoord","_size_t",0},
6345 { "_wxCoord","_wxPrintQuality",0},
1d99702e 6346 { "_wxEraseEvent","_class_wxEraseEvent",0},
b1462dfa 6347 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1d99702e
RD
6348 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6349 { "_wxRegion","_class_wxRegion",0},
6350 { "_class_wxShowEvent","_wxShowEvent",0},
b1462dfa 6351 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1d99702e
RD
6352 { "_wxActivateEvent","_class_wxActivateEvent",0},
6353 { "_wxGauge","_class_wxGauge",0},
6354 { "_class_wxCheckListBox","_wxCheckListBox",0},
2abc0a0f 6355 { "_class_wxBusyInfo","_wxBusyInfo",0},
1d99702e
RD
6356 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6357 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
6358 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
6359 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
6360 { "_class_wxCommandEvent","_wxCommandEvent",0},
6361 { "_class_wxClientDC","_wxClientDC",0},
6362 { "_class_wxSizeEvent","_wxSizeEvent",0},
6363 { "_class_wxListCtrl","_wxListCtrl",0},
b1462dfa 6364 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1d99702e
RD
6365 { "_class_wxSize","_wxSize",0},
6366 { "_class_wxBitmap","_wxBitmap",0},
6367 { "_class_wxMemoryDC","_wxMemoryDC",0},
b1462dfa 6368 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1d99702e
RD
6369 { "_wxMenuBar","_class_wxMenuBar",0},
6370 { "_wxTreeEvent","_class_wxTreeEvent",0},
6371 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6372 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler},
6373 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6374 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
6375 { "_wxEvtHandler","_class_wxEvtHandler",0},
6376 { "_wxMenuItem","_class_wxMenuItem",0},
6377 { "_class_wxScrollBar","_wxScrollBar",0},
6378 { "_wxDash","_unsigned_long",0},
6379 { "_wxDash","_long",0},
6380 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6381 { "_wxKeyEvent","_class_wxKeyEvent",0},
6382 { "_wxMoveEvent","_class_wxMoveEvent",0},
6383 { "_class_wxPalette","_wxPalette",0},
b1462dfa 6384 { "_wxFileDataObject","_class_wxFileDataObject",0},
1d99702e 6385 { "_class_wxEraseEvent","_wxEraseEvent",0},
b1462dfa 6386 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
1d99702e
RD
6387 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6388 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow},
6389 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
6390 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
6391 { "_wxWindow","_class_wxWindow",0},
48115f4a 6392 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
1d99702e
RD
6393{0,0,0}};
6394
8ab979d7
RD
6395static PyObject *SWIG_globals;
6396#ifdef __cplusplus
6397extern "C"
6398#endif
1d99702e 6399SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
6400 PyObject *m, *d;
6401 SWIG_globals = SWIG_newvarlink();
6402 m = Py_InitModule("controls2c", controls2cMethods);
6403 d = PyModule_GetDict(m);
af309447
RD
6404 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
6405 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
6406 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
6407 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
6408 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
bb0054cd 6409 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
6410 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
6411 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
6412 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
6413 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
6414 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
6415 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
6416 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
6417 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
6418 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
6419 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
6420 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
6421 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
6422 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
6423 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
6424 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
6425 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
6426 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
6427 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
6428 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
6429 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
6430 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
6431 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
6432 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
6433 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
6434 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
6435 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
6436 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
6437 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
6438 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
6439 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
6440 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
6441 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
6442 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
6443 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
6444 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
6445 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
6446 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
694759cf
RD
6447 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
6448 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
6449 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
6450 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
6451 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
1d99702e
RD
6452{
6453 int i;
6454 for (i = 0; _swig_mapping[i].n1; i++)
6455 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6456}
8ab979d7 6457}