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