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