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