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