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