]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls2.cpp
A fix for when wxPython is compiled with no threads
[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__)
3bcd5e1c 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
3bcd5e1c 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
3bcd5e1c 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
3bcd5e1c
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
3bcd5e1c 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
3bcd5e1c 71 if (!target) {
8ab979d7 72 target = o;
3bcd5e1c 73 } else if (target == Py_None) {
8ab979d7
RD
74 Py_DECREF(Py_None);
75 target = o;
3bcd5e1c 76 } else {
8ab979d7
RD
77 if (!PyTuple_Check(target)) {
78 o2 = target;
79 target = PyTuple_New(1);
80 PyTuple_SetItem(target, 0, o2);
81 }
3bcd5e1c
RD
82 o3 = PyTuple_New(1);
83 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
84
85 o2 = target;
3bcd5e1c
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
0220cbc1 96 static char* wxStringErrorMsg = "String type required";
7a446686 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_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2301static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2302 PyObject * _resultobj;
2303 int _result;
f6bcfd97 2304 wxListEvent * _arg0;
af309447 2305 int _arg1;
1d99702e 2306 PyObject * _argo0 = 0;
f6bcfd97 2307 char *_kwnames[] = { "self","m_col", NULL };
af309447
RD
2308
2309 self = self;
f6bcfd97 2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_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_col_set. Expected _wxListEvent_p.");
af309447
RD
2316 return NULL;
2317 }
2318 }
cf694132
RD
2319{
2320 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2321 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
cf694132
RD
2322
2323 wxPy_END_ALLOW_THREADS;
4dfaa61e 2324 if (PyErr_Occurred()) return NULL;
cf694132 2325} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2326 return _resultobj;
2327}
2328
f6bcfd97
BP
2329#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2330static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2331 PyObject * _resultobj;
2332 int _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_col_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_col_get. Expected _wxListEvent_p.");
8ab979d7
RD
2344 return NULL;
2345 }
2346 }
cf694132
RD
2347{
2348 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2349 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132
RD
2350
2351 wxPy_END_ALLOW_THREADS;
4dfaa61e 2352 if (PyErr_Occurred()) return NULL;
cf694132 2353} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2354 return _resultobj;
2355}
2356
f6bcfd97
BP
2357#define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2358static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2359 PyObject * _resultobj;
f6bcfd97
BP
2360 bool _result;
2361 wxListEvent * _arg0;
2362 bool _arg1;
1d99702e 2363 PyObject * _argo0 = 0;
f6bcfd97
BP
2364 int tempbool1;
2365 char *_kwnames[] = { "self","m_cancelled", NULL };
af309447
RD
2366
2367 self = self;
f6bcfd97 2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1))
af309447 2369 return NULL;
1d99702e
RD
2370 if (_argo0) {
2371 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
af309447
RD
2374 return NULL;
2375 }
2376 }
f6bcfd97 2377 _arg1 = (bool ) tempbool1;
cf694132
RD
2378{
2379 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2380 _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1);
cf694132
RD
2381
2382 wxPy_END_ALLOW_THREADS;
4dfaa61e 2383 if (PyErr_Occurred()) return NULL;
cf694132 2384} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2385 return _resultobj;
2386}
2387
f6bcfd97
BP
2388#define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2389static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2390 PyObject * _resultobj;
f6bcfd97
BP
2391 bool _result;
2392 wxListEvent * _arg0;
1d99702e 2393 PyObject * _argo0 = 0;
efc5f224 2394 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2395
2396 self = self;
f6bcfd97 2397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0))
8ab979d7 2398 return NULL;
1d99702e
RD
2399 if (_argo0) {
2400 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
8ab979d7
RD
2403 return NULL;
2404 }
2405 }
cf694132
RD
2406{
2407 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2408 _result = (bool )wxListEvent_m_cancelled_get(_arg0);
cf694132
RD
2409
2410 wxPy_END_ALLOW_THREADS;
4dfaa61e 2411 if (PyErr_Occurred()) return NULL;
cf694132 2412} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2413 return _resultobj;
2414}
2415
f6bcfd97
BP
2416#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2417static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2418 PyObject * _resultobj;
f6bcfd97
BP
2419 wxPoint * _result;
2420 wxListEvent * _arg0;
2421 wxPoint * _arg1;
2422 PyObject * _argo0 = 0;
2423 wxPoint temp;
2424 PyObject * _obj1 = 0;
2425 char *_kwnames[] = { "self","m_pointDrag", NULL };
8ab979d7
RD
2426 char _ptemp[128];
2427
2428 self = self;
f6bcfd97
BP
2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
2430 return NULL;
2431 if (_argo0) {
2432 if (_argo0 == Py_None) { _arg0 = NULL; }
2433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2435 return NULL;
2436 }
2437 }
2438{
2439 _arg1 = &temp;
2440 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 2441 return NULL;
f6bcfd97 2442}
cf694132
RD
2443{
2444 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2445 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
cf694132
RD
2446
2447 wxPy_END_ALLOW_THREADS;
4dfaa61e 2448 if (PyErr_Occurred()) return NULL;
1d99702e 2449} if (_result) {
f6bcfd97 2450 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2451 _resultobj = Py_BuildValue("s",_ptemp);
2452 } else {
2453 Py_INCREF(Py_None);
2454 _resultobj = Py_None;
2455 }
8ab979d7
RD
2456 return _resultobj;
2457}
2458
f6bcfd97
BP
2459#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2460static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2461 PyObject * _resultobj;
f6bcfd97
BP
2462 wxPoint * _result;
2463 wxListEvent * _arg0;
1d99702e 2464 PyObject * _argo0 = 0;
efc5f224 2465 char *_kwnames[] = { "self", NULL };
f6bcfd97 2466 char _ptemp[128];
8ab979d7
RD
2467
2468 self = self;
f6bcfd97 2469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
8ab979d7 2470 return NULL;
1d99702e
RD
2471 if (_argo0) {
2472 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7
RD
2475 return NULL;
2476 }
2477 }
cf694132
RD
2478{
2479 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2480 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132
RD
2481
2482 wxPy_END_ALLOW_THREADS;
4dfaa61e 2483 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2484} if (_result) {
2485 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2486 _resultobj = Py_BuildValue("s",_ptemp);
2487 } else {
2488 Py_INCREF(Py_None);
2489 _resultobj = Py_None;
2490 }
8ab979d7
RD
2491 return _resultobj;
2492}
2493
f6bcfd97
BP
2494#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2495static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2496 PyObject * _resultobj;
2497 wxListItem * _result;
2498 wxListEvent * _arg0;
2499 wxListItem * _arg1;
2500 PyObject * _argo0 = 0;
2501 PyObject * _argo1 = 0;
2502 char *_kwnames[] = { "self","m_item", NULL };
8ab979d7 2503
f6bcfd97
BP
2504 self = self;
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
2506 return NULL;
2507 if (_argo0) {
2508 if (_argo0 == Py_None) { _arg0 = NULL; }
2509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2511 return NULL;
2512 }
2513 }
2514 if (_argo1) {
2515 if (_argo1 == Py_None) { _arg1 = NULL; }
2516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2518 return NULL;
2519 }
2520 }
2521{
2522 wxPy_BEGIN_ALLOW_THREADS;
2523 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
2524
2525 wxPy_END_ALLOW_THREADS;
4dfaa61e 2526 if (PyErr_Occurred()) return NULL;
9df61a29 2527}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97 2528 return _resultobj;
8ab979d7
RD
2529}
2530
f6bcfd97
BP
2531#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2532static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2533 PyObject * _resultobj;
f6bcfd97 2534 wxListItem * _result;
af309447 2535 wxListEvent * _arg0;
1d99702e 2536 PyObject * _argo0 = 0;
f6bcfd97 2537 char *_kwnames[] = { "self", NULL };
af309447
RD
2538
2539 self = self;
f6bcfd97 2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2541 return NULL;
1d99702e
RD
2542 if (_argo0) {
2543 if (_argo0 == Py_None) { _arg0 = NULL; }
2544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2546 return NULL;
2547 }
2548 }
cf694132
RD
2549{
2550 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2551 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132
RD
2552
2553 wxPy_END_ALLOW_THREADS;
4dfaa61e 2554 if (PyErr_Occurred()) return NULL;
9df61a29 2555}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2556 return _resultobj;
2557}
2558
f6bcfd97
BP
2559#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2560static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2561 PyObject * _resultobj;
2562 int _result;
2563 wxListEvent * _arg0;
1d99702e 2564 PyObject * _argo0 = 0;
efc5f224 2565 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2566
2567 self = self;
f6bcfd97 2568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
8ab979d7 2569 return NULL;
1d99702e
RD
2570 if (_argo0) {
2571 if (_argo0 == Py_None) { _arg0 = NULL; }
2572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
8ab979d7
RD
2574 return NULL;
2575 }
2576 }
cf694132
RD
2577{
2578 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2579 _result = (int )wxListEvent_GetCode(_arg0);
cf694132
RD
2580
2581 wxPy_END_ALLOW_THREADS;
4dfaa61e 2582 if (PyErr_Occurred()) return NULL;
cf694132 2583} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2584 return _resultobj;
2585}
2586
f6bcfd97
BP
2587#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2588static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2589 PyObject * _resultobj;
2590 long _result;
2591 wxListEvent * _arg0;
1d99702e 2592 PyObject * _argo0 = 0;
f6bcfd97 2593 char *_kwnames[] = { "self", NULL };
af309447
RD
2594
2595 self = self;
f6bcfd97 2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2597 return NULL;
1d99702e
RD
2598 if (_argo0) {
2599 if (_argo0 == Py_None) { _arg0 = NULL; }
2600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2602 return NULL;
2603 }
2604 }
cf694132
RD
2605{
2606 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2607 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132
RD
2608
2609 wxPy_END_ALLOW_THREADS;
4dfaa61e 2610 if (PyErr_Occurred()) return NULL;
cf694132 2611} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2612 return _resultobj;
2613}
2614
f6bcfd97
BP
2615#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2616static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2617 PyObject * _resultobj;
f6bcfd97 2618 int _result;
8ab979d7 2619 wxListEvent * _arg0;
1d99702e 2620 PyObject * _argo0 = 0;
efc5f224 2621 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2622
2623 self = self;
f6bcfd97 2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2625 return NULL;
1d99702e
RD
2626 if (_argo0) {
2627 if (_argo0 == Py_None) { _arg0 = NULL; }
2628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2630 return NULL;
2631 }
2632 }
cf694132
RD
2633{
2634 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2635 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132
RD
2636
2637 wxPy_END_ALLOW_THREADS;
4dfaa61e 2638 if (PyErr_Occurred()) return NULL;
f6bcfd97 2639} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2640 return _resultobj;
2641}
2642
f6bcfd97
BP
2643#define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2644static PyObject *_wrap_wxListEvent_Cancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2645 PyObject * _resultobj;
f6bcfd97 2646 bool _result;
af309447 2647 wxListEvent * _arg0;
1d99702e 2648 PyObject * _argo0 = 0;
f6bcfd97 2649 char *_kwnames[] = { "self", NULL };
af309447
RD
2650
2651 self = self;
f6bcfd97 2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_Cancelled",_kwnames,&_argo0))
af309447 2653 return NULL;
1d99702e
RD
2654 if (_argo0) {
2655 if (_argo0 == Py_None) { _arg0 = NULL; }
2656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
af309447
RD
2658 return NULL;
2659 }
2660 }
cf694132
RD
2661{
2662 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2663 _result = (bool )wxListEvent_Cancelled(_arg0);
cf694132
RD
2664
2665 wxPy_END_ALLOW_THREADS;
4dfaa61e 2666 if (PyErr_Occurred()) return NULL;
cf694132 2667} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2668 return _resultobj;
2669}
2670
f6bcfd97
BP
2671#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2672static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2673 PyObject * _resultobj;
f6bcfd97 2674 wxPoint * _result;
8ab979d7 2675 wxListEvent * _arg0;
1d99702e 2676 PyObject * _argo0 = 0;
efc5f224 2677 char *_kwnames[] = { "self", NULL };
f6bcfd97 2678 char _ptemp[128];
8ab979d7
RD
2679
2680 self = self;
f6bcfd97 2681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_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_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2687 return NULL;
2688 }
2689 }
cf694132
RD
2690{
2691 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2692 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132
RD
2693
2694 wxPy_END_ALLOW_THREADS;
4dfaa61e 2695 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2696} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2697 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2698 return _resultobj;
2699}
2700
f6bcfd97
BP
2701#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2702static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2703 PyObject * _resultobj;
f6bcfd97 2704 wxString * _result;
af309447 2705 wxListEvent * _arg0;
1d99702e 2706 PyObject * _argo0 = 0;
f6bcfd97 2707 char *_kwnames[] = { "self", NULL };
af309447
RD
2708
2709 self = self;
f6bcfd97 2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2711 return NULL;
1d99702e
RD
2712 if (_argo0) {
2713 if (_argo0 == Py_None) { _arg0 = NULL; }
2714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2716 return NULL;
2717 }
2718 }
cf694132
RD
2719{
2720 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97
BP
2721 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
2722 _result = (wxString *) &_result_ref;
cf694132
RD
2723
2724 wxPy_END_ALLOW_THREADS;
4dfaa61e 2725 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2726}{
2727 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2728}
af309447
RD
2729 return _resultobj;
2730}
2731
f6bcfd97
BP
2732#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2733static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2734 PyObject * _resultobj;
f6bcfd97 2735 wxString * _result;
8ab979d7 2736 wxListEvent * _arg0;
1d99702e 2737 PyObject * _argo0 = 0;
efc5f224 2738 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2739
2740 self = self;
f6bcfd97 2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2742 return NULL;
1d99702e
RD
2743 if (_argo0) {
2744 if (_argo0 == Py_None) { _arg0 = NULL; }
2745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2747 return NULL;
2748 }
2749 }
cf694132
RD
2750{
2751 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97
BP
2752 const wxString & _result_ref = wxListEvent_GetText(_arg0);
2753 _result = (wxString *) &_result_ref;
cf694132
RD
2754
2755 wxPy_END_ALLOW_THREADS;
4dfaa61e 2756 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2757}{
2758 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2759}
8ab979d7
RD
2760 return _resultobj;
2761}
2762
f6bcfd97
BP
2763#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2764static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2765 PyObject * _resultobj;
f6bcfd97 2766 int _result;
af309447 2767 wxListEvent * _arg0;
1d99702e 2768 PyObject * _argo0 = 0;
f6bcfd97 2769 char *_kwnames[] = { "self", NULL };
af309447
RD
2770
2771 self = self;
f6bcfd97 2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2773 return NULL;
1d99702e
RD
2774 if (_argo0) {
2775 if (_argo0 == Py_None) { _arg0 = NULL; }
2776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2778 return NULL;
2779 }
2780 }
cf694132
RD
2781{
2782 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2783 _result = (int )wxListEvent_GetImage(_arg0);
cf694132
RD
2784
2785 wxPy_END_ALLOW_THREADS;
4dfaa61e 2786 if (PyErr_Occurred()) return NULL;
f6bcfd97 2787} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2788 return _resultobj;
2789}
2790
f6bcfd97
BP
2791#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2792static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2793 PyObject * _resultobj;
f6bcfd97 2794 long _result;
8ab979d7 2795 wxListEvent * _arg0;
1d99702e 2796 PyObject * _argo0 = 0;
efc5f224 2797 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2798
2799 self = self;
f6bcfd97 2800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2801 return NULL;
1d99702e
RD
2802 if (_argo0) {
2803 if (_argo0 == Py_None) { _arg0 = NULL; }
2804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2806 return NULL;
2807 }
2808 }
cf694132
RD
2809{
2810 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2811 _result = (long )wxListEvent_GetData(_arg0);
cf694132
RD
2812
2813 wxPy_END_ALLOW_THREADS;
4dfaa61e 2814 if (PyErr_Occurred()) return NULL;
f6bcfd97 2815} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2816 return _resultobj;
2817}
2818
f6bcfd97
BP
2819#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2820static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2821 PyObject * _resultobj;
f6bcfd97 2822 long _result;
af309447 2823 wxListEvent * _arg0;
1d99702e 2824 PyObject * _argo0 = 0;
f6bcfd97 2825 char *_kwnames[] = { "self", NULL };
af309447
RD
2826
2827 self = self;
f6bcfd97 2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2829 return NULL;
1d99702e
RD
2830 if (_argo0) {
2831 if (_argo0 == Py_None) { _arg0 = NULL; }
2832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2834 return NULL;
2835 }
2836 }
cf694132
RD
2837{
2838 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2839 _result = (long )wxListEvent_GetMask(_arg0);
cf694132
RD
2840
2841 wxPy_END_ALLOW_THREADS;
4dfaa61e 2842 if (PyErr_Occurred()) return NULL;
f6bcfd97 2843} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2844 return _resultobj;
2845}
2846
f6bcfd97
BP
2847#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2848static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2849 PyObject * _resultobj;
2850 wxListItem * _result;
2851 wxListEvent * _arg0;
1d99702e 2852 PyObject * _argo0 = 0;
efc5f224 2853 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2854
2855 self = self;
f6bcfd97 2856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2857 return NULL;
1d99702e
RD
2858 if (_argo0) {
2859 if (_argo0 == Py_None) { _arg0 = NULL; }
2860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2862 return NULL;
2863 }
2864 }
cf694132
RD
2865{
2866 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97
BP
2867 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
2868 _result = (wxListItem *) &_result_ref;
cf694132
RD
2869
2870 wxPy_END_ALLOW_THREADS;
4dfaa61e 2871 if (PyErr_Occurred()) return NULL;
9df61a29 2872}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2873 return _resultobj;
2874}
2875
059a841c
RD
2876#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2877static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2878 PyObject * _resultobj;
2879 long _result;
2880 wxListEvent * _arg0;
2881 PyObject * _argo0 = 0;
2882 char *_kwnames[] = { "self", NULL };
2883
2884 self = self;
2885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2886 return NULL;
2887 if (_argo0) {
2888 if (_argo0 == Py_None) { _arg0 = NULL; }
2889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2891 return NULL;
2892 }
2893 }
2894{
2895 wxPy_BEGIN_ALLOW_THREADS;
2896 _result = (long )wxListEvent_GetCacheFrom(_arg0);
2897
2898 wxPy_END_ALLOW_THREADS;
2899 if (PyErr_Occurred()) return NULL;
2900} _resultobj = Py_BuildValue("l",_result);
2901 return _resultobj;
2902}
2903
2904#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2905static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2906 PyObject * _resultobj;
2907 long _result;
2908 wxListEvent * _arg0;
2909 PyObject * _argo0 = 0;
2910 char *_kwnames[] = { "self", NULL };
2911
2912 self = self;
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2914 return NULL;
2915 if (_argo0) {
2916 if (_argo0 == Py_None) { _arg0 = NULL; }
2917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2919 return NULL;
2920 }
2921 }
2922{
2923 wxPy_BEGIN_ALLOW_THREADS;
2924 _result = (long )wxListEvent_GetCacheTo(_arg0);
2925
2926 wxPy_END_ALLOW_THREADS;
2927 if (PyErr_Occurred()) return NULL;
2928} _resultobj = Py_BuildValue("l",_result);
2929 return _resultobj;
2930}
2931
cd096152
RD
2932static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2933 wxPyListCtrl *src;
8ab979d7 2934 wxControl *dest;
cd096152 2935 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2936 dest = (wxControl *) src;
2937 return (void *) dest;
2938}
2939
cd096152
RD
2940static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2941 wxPyListCtrl *src;
8ab979d7 2942 wxWindow *dest;
cd096152 2943 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2944 dest = (wxWindow *) src;
2945 return (void *) dest;
2946}
2947
cd096152
RD
2948static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2949 wxPyListCtrl *src;
8ab979d7 2950 wxEvtHandler *dest;
cd096152 2951 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2952 dest = (wxEvtHandler *) src;
2953 return (void *) dest;
2954}
2955
cd096152
RD
2956static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2957 wxPyListCtrl *src;
9df61a29 2958 wxObject *dest;
cd096152 2959 src = (wxPyListCtrl *) ptr;
9df61a29
RD
2960 dest = (wxObject *) src;
2961 return (void *) dest;
2962}
2963
cd096152 2964#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2965static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2966 PyObject * _resultobj;
cd096152 2967 wxPyListCtrl * _result;
8ab979d7 2968 wxWindow * _arg0;
cd096152 2969 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
2970 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2971 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2c8a649d 2972 long _arg4 = (long ) (wxLC_ICON);
b68dc582 2973 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
2974 char * _arg6 = (char *) "listCtrl";
2975 PyObject * _argo0 = 0;
2f90df85
RD
2976 wxPoint temp;
2977 PyObject * _obj2 = 0;
2978 wxSize temp0;
2979 PyObject * _obj3 = 0;
1d99702e 2980 PyObject * _argo5 = 0;
efc5f224 2981 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2982 char _ptemp[128];
2983
2984 self = self;
cd096152 2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 2986 return NULL;
1d99702e
RD
2987 if (_argo0) {
2988 if (_argo0 == Py_None) { _arg0 = NULL; }
2989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2991 return NULL;
2992 }
2993 }
2f90df85
RD
2994 if (_obj2)
2995{
2996 _arg2 = &temp;
2997 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2998 return NULL;
2f90df85
RD
2999}
3000 if (_obj3)
3001{
3002 _arg3 = &temp0;
3003 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 3004 return NULL;
2f90df85 3005}
1d99702e
RD
3006 if (_argo5) {
3007 if (_argo5 == Py_None) { _arg5 = NULL; }
3008 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
3009 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
3010 return NULL;
3011 }
3012 }
cf694132
RD
3013{
3014 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3015 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
cf694132
RD
3016
3017 wxPy_END_ALLOW_THREADS;
4dfaa61e 3018 if (PyErr_Occurred()) return NULL;
1d99702e 3019} if (_result) {
cd096152 3020 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
3021 _resultobj = Py_BuildValue("s",_ptemp);
3022 } else {
3023 Py_INCREF(Py_None);
3024 _resultobj = Py_None;
3025 }
8ab979d7
RD
3026 return _resultobj;
3027}
3028
aa2a5b86
RD
3029#define new_wxPreListCtrl() (new wxPyListCtrl())
3030static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
3031 PyObject * _resultobj;
3032 wxPyListCtrl * _result;
3033 char *_kwnames[] = { NULL };
3034 char _ptemp[128];
3035
3036 self = self;
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
3038 return NULL;
3039{
3040 wxPy_BEGIN_ALLOW_THREADS;
3041 _result = (wxPyListCtrl *)new_wxPreListCtrl();
3042
3043 wxPy_END_ALLOW_THREADS;
3044 if (PyErr_Occurred()) return NULL;
3045} if (_result) {
3046 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
3047 _resultobj = Py_BuildValue("s",_ptemp);
3048 } else {
3049 Py_INCREF(Py_None);
3050 _resultobj = Py_None;
3051 }
3052 return _resultobj;
3053}
3054
3055#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3056static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3057 PyObject * _resultobj;
3058 bool _result;
3059 wxPyListCtrl * _arg0;
3060 wxWindow * _arg1;
3061 wxWindowID _arg2 = (wxWindowID ) -1;
3062 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3063 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3064 long _arg5 = (long ) (wxLC_ICON);
3065 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
3066 char * _arg7 = (char *) "listCtrl";
3067 PyObject * _argo0 = 0;
3068 PyObject * _argo1 = 0;
3069 wxPoint temp;
3070 PyObject * _obj3 = 0;
3071 wxSize temp0;
3072 PyObject * _obj4 = 0;
3073 PyObject * _argo6 = 0;
3074 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
3075
3076 self = self;
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
3078 return NULL;
3079 if (_argo0) {
3080 if (_argo0 == Py_None) { _arg0 = NULL; }
3081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3083 return NULL;
3084 }
3085 }
3086 if (_argo1) {
3087 if (_argo1 == Py_None) { _arg1 = NULL; }
3088 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3089 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3090 return NULL;
3091 }
3092 }
3093 if (_obj3)
3094{
3095 _arg3 = &temp;
3096 if (! wxPoint_helper(_obj3, &_arg3))
3097 return NULL;
3098}
3099 if (_obj4)
3100{
3101 _arg4 = &temp0;
3102 if (! wxSize_helper(_obj4, &_arg4))
3103 return NULL;
3104}
3105 if (_argo6) {
3106 if (_argo6 == Py_None) { _arg6 = NULL; }
3107 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3108 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3109 return NULL;
3110 }
3111 }
3112{
3113 wxPy_BEGIN_ALLOW_THREADS;
3114 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3115
3116 wxPy_END_ALLOW_THREADS;
3117 if (PyErr_Occurred()) return NULL;
3118} _resultobj = Py_BuildValue("i",_result);
3119 return _resultobj;
3120}
3121
0220cbc1
RD
3122#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3123static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3124 PyObject * _resultobj;
cd096152
RD
3125 wxPyListCtrl * _arg0;
3126 PyObject * _arg1;
3127 PyObject * _arg2;
1d99702e 3128 PyObject * _argo0 = 0;
cd096152
RD
3129 PyObject * _obj1 = 0;
3130 PyObject * _obj2 = 0;
3131 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
3132
3133 self = self;
0220cbc1 3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3135 return NULL;
1d99702e
RD
3136 if (_argo0) {
3137 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152 3138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0220cbc1 3139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3140 return NULL;
3141 }
3142 }
cd096152
RD
3143{
3144 _arg1 = _obj1;
3145}
3146{
3147 _arg2 = _obj2;
3148}
cf694132
RD
3149{
3150 wxPy_BEGIN_ALLOW_THREADS;
0220cbc1 3151 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132
RD
3152
3153 wxPy_END_ALLOW_THREADS;
4dfaa61e 3154 if (PyErr_Occurred()) return NULL;
cd096152
RD
3155} Py_INCREF(Py_None);
3156 _resultobj = Py_None;
8ab979d7
RD
3157 return _resultobj;
3158}
3159
cd096152
RD
3160#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3161static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9c4165ad 3162 PyObject * _resultobj;
cd096152
RD
3163 bool _result;
3164 wxPyListCtrl * _arg0;
3165 wxColour * _arg1;
9c4165ad 3166 PyObject * _argo0 = 0;
cd096152
RD
3167 wxColour temp;
3168 PyObject * _obj1 = 0;
3169 char *_kwnames[] = { "self","col", NULL };
9c4165ad
RD
3170
3171 self = self;
cd096152 3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
9c4165ad
RD
3173 return NULL;
3174 if (_argo0) {
3175 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
9c4165ad
RD
3178 return NULL;
3179 }
3180 }
cd096152
RD
3181{
3182 _arg1 = &temp;
3183 if (! wxColour_helper(_obj1, &_arg1))
3184 return NULL;
3185}
3186{
3187 wxPy_BEGIN_ALLOW_THREADS;
3188 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
3189
3190 wxPy_END_ALLOW_THREADS;
3191 if (PyErr_Occurred()) return NULL;
3192} _resultobj = Py_BuildValue("i",_result);
3193 return _resultobj;
3194}
3195
3196#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3197static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3198 PyObject * _resultobj;
3199 bool _result;
3200 wxPyListCtrl * _arg0;
3201 wxColour * _arg1;
3202 PyObject * _argo0 = 0;
3203 wxColour temp;
3204 PyObject * _obj1 = 0;
3205 char *_kwnames[] = { "self","col", NULL };
3206
3207 self = self;
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3209 return NULL;
3210 if (_argo0) {
3211 if (_argo0 == Py_None) { _arg0 = NULL; }
3212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
9c4165ad
RD
3214 return NULL;
3215 }
3216 }
cd096152
RD
3217{
3218 _arg1 = &temp;
3219 if (! wxColour_helper(_obj1, &_arg1))
3220 return NULL;
3221}
9c4165ad
RD
3222{
3223 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3224 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
9c4165ad
RD
3225
3226 wxPy_END_ALLOW_THREADS;
4dfaa61e 3227 if (PyErr_Occurred()) return NULL;
cd096152 3228} _resultobj = Py_BuildValue("i",_result);
9c4165ad
RD
3229 return _resultobj;
3230}
3231
cd096152
RD
3232#define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3233static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3234 PyObject * _resultobj;
3235 bool _result;
cd096152
RD
3236 wxPyListCtrl * _arg0;
3237 int _arg1;
3238 wxListItem * _arg2;
1d99702e 3239 PyObject * _argo0 = 0;
cd096152
RD
3240 PyObject * _argo2 = 0;
3241 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3242
3243 self = self;
cd096152 3244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3245 return NULL;
1d99702e
RD
3246 if (_argo0) {
3247 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3250 return NULL;
3251 }
3252 }
3253 if (_argo2) {
3254 if (_argo2 == Py_None) { _arg2 = NULL; }
3255 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3256 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3257 return NULL;
3258 }
3259 }
cf694132
RD
3260{
3261 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3262 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
cf694132
RD
3263
3264 wxPy_END_ALLOW_THREADS;
4dfaa61e 3265 if (PyErr_Occurred()) return NULL;
cf694132 3266} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3267 return _resultobj;
3268}
3269
cd096152
RD
3270#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3271static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3272 PyObject * _resultobj;
3273 bool _result;
cd096152
RD
3274 wxPyListCtrl * _arg0;
3275 int _arg1;
3276 wxListItem * _arg2;
1d99702e 3277 PyObject * _argo0 = 0;
cd096152
RD
3278 PyObject * _argo2 = 0;
3279 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3280
3281 self = self;
cd096152 3282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3283 return NULL;
1d99702e
RD
3284 if (_argo0) {
3285 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3288 return NULL;
3289 }
3290 }
3291 if (_argo2) {
3292 if (_argo2 == Py_None) { _arg2 = NULL; }
3293 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3294 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3295 return NULL;
3296 }
3297 }
cf694132
RD
3298{
3299 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3300 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132
RD
3301
3302 wxPy_END_ALLOW_THREADS;
4dfaa61e 3303 if (PyErr_Occurred()) return NULL;
cf694132 3304} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3305 return _resultobj;
3306}
3307
cd096152
RD
3308#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3309static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3310 PyObject * _resultobj;
cd096152
RD
3311 int _result;
3312 wxPyListCtrl * _arg0;
8ab979d7 3313 int _arg1;
1d99702e 3314 PyObject * _argo0 = 0;
efc5f224 3315 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3316
3317 self = self;
cd096152 3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3319 return NULL;
1d99702e
RD
3320 if (_argo0) {
3321 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3324 return NULL;
3325 }
3326 }
cf694132
RD
3327{
3328 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3329 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132
RD
3330
3331 wxPy_END_ALLOW_THREADS;
4dfaa61e 3332 if (PyErr_Occurred()) return NULL;
cf694132 3333} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3334 return _resultobj;
3335}
3336
cd096152
RD
3337#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3338static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3339 PyObject * _resultobj;
3340 bool _result;
cd096152
RD
3341 wxPyListCtrl * _arg0;
3342 int _arg1;
3343 int _arg2;
1d99702e 3344 PyObject * _argo0 = 0;
cd096152 3345 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3346
3347 self = self;
cd096152 3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3349 return NULL;
1d99702e
RD
3350 if (_argo0) {
3351 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3354 return NULL;
3355 }
3356 }
cf694132
RD
3357{
3358 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3359 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132
RD
3360
3361 wxPy_END_ALLOW_THREADS;
4dfaa61e 3362 if (PyErr_Occurred()) return NULL;
cf694132 3363} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3364 return _resultobj;
3365}
3366
cd096152
RD
3367#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3368static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3369 PyObject * _resultobj;
cd096152
RD
3370 int _result;
3371 wxPyListCtrl * _arg0;
1d99702e 3372 PyObject * _argo0 = 0;
efc5f224 3373 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3374
3375 self = self;
cd096152 3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3377 return NULL;
1d99702e
RD
3378 if (_argo0) {
3379 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3382 return NULL;
3383 }
3384 }
cf694132
RD
3385{
3386 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3387 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132
RD
3388
3389 wxPy_END_ALLOW_THREADS;
4dfaa61e 3390 if (PyErr_Occurred()) return NULL;
cd096152 3391} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3392 return _resultobj;
3393}
3394
cd096152
RD
3395static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3396 wxListItem* info = new wxListItem;
3397 info->m_itemId = itemId;
3398 info->m_col = col;
3399 info->m_mask = 0xFFFF;
3400 self->GetItem(*info);
3401 return info;
3402 }
3403static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3404 PyObject * _resultobj;
cd096152
RD
3405 wxListItem * _result;
3406 wxPyListCtrl * _arg0;
8ab979d7 3407 long _arg1;
cd096152 3408 int _arg2 = (int ) 0;
1d99702e 3409 PyObject * _argo0 = 0;
cd096152 3410 char *_kwnames[] = { "self","itemId","col", NULL };
8ab979d7
RD
3411
3412 self = self;
cd096152 3413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3414 return NULL;
1d99702e
RD
3415 if (_argo0) {
3416 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3419 return NULL;
3420 }
3421 }
cf694132
RD
3422{
3423 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3424 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132
RD
3425
3426 wxPy_END_ALLOW_THREADS;
4dfaa61e 3427 if (PyErr_Occurred()) return NULL;
cd096152 3428}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3429 return _resultobj;
3430}
3431
cd096152
RD
3432#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3433static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3434 PyObject * _resultobj;
3435 bool _result;
cd096152
RD
3436 wxPyListCtrl * _arg0;
3437 wxListItem * _arg1;
1d99702e 3438 PyObject * _argo0 = 0;
cd096152
RD
3439 PyObject * _argo1 = 0;
3440 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3441
3442 self = self;
cd096152 3443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3444 return NULL;
1d99702e
RD
3445 if (_argo0) {
3446 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3449 return NULL;
3450 }
3451 }
3452 if (_argo1) {
3453 if (_argo1 == Py_None) { _arg1 = NULL; }
3454 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3455 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3456 return NULL;
3457 }
3458 }
cf694132
RD
3459{
3460 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3461 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132
RD
3462
3463 wxPy_END_ALLOW_THREADS;
4dfaa61e 3464 if (PyErr_Occurred()) return NULL;
cf694132 3465} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3466 return _resultobj;
3467}
3468
cd096152
RD
3469#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3470static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3471 PyObject * _resultobj;
3472 long _result;
cd096152 3473 wxPyListCtrl * _arg0;
8ab979d7 3474 long _arg1;
cd096152
RD
3475 int _arg2;
3476 wxString * _arg3;
3477 int _arg4 = (int ) -1;
1d99702e 3478 PyObject * _argo0 = 0;
cd096152
RD
3479 PyObject * _obj3 = 0;
3480 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3481
3482 self = self;
cd096152 3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3484 return NULL;
1d99702e
RD
3485 if (_argo0) {
3486 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3489 return NULL;
3490 }
3491 }
3492{
2cd2fac8
RD
3493#if PYTHON_API_VERSION >= 1009
3494 char* tmpPtr; int tmpSize;
cd096152 3495 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 3496 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
3497 return NULL;
3498 }
cd096152 3499 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
2cd2fac8 3500 return NULL;
cd096152 3501 _arg3 = new wxString(tmpPtr, tmpSize);
2cd2fac8 3502#else
cd096152 3503 if (!PyString_Check(_obj3)) {
8ab979d7
RD
3504 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3505 return NULL;
3506 }
cd096152 3507 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
2cd2fac8 3508#endif
8ab979d7 3509}
cf694132
RD
3510{
3511 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3512 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132
RD
3513
3514 wxPy_END_ALLOW_THREADS;
4dfaa61e 3515 if (PyErr_Occurred()) return NULL;
cf694132 3516} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3517{
cd096152
RD
3518 if (_obj3)
3519 delete _arg3;
8ab979d7
RD
3520}
3521 return _resultobj;
3522}
3523
cd096152
RD
3524#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3525static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3526 PyObject * _resultobj;
cd096152
RD
3527 int _result;
3528 wxPyListCtrl * _arg0;
8ab979d7
RD
3529 long _arg1;
3530 long _arg2;
1d99702e 3531 PyObject * _argo0 = 0;
cd096152 3532 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3533
3534 self = self;
cd096152 3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3536 return NULL;
1d99702e
RD
3537 if (_argo0) {
3538 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3541 return NULL;
3542 }
3543 }
cf694132
RD
3544{
3545 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3546 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132
RD
3547
3548 wxPy_END_ALLOW_THREADS;
4dfaa61e 3549 if (PyErr_Occurred()) return NULL;
cd096152 3550} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3551 return _resultobj;
3552}
3553
cd096152
RD
3554#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3555static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3556 PyObject * _resultobj;
cd096152
RD
3557 bool _result;
3558 wxPyListCtrl * _arg0;
8ab979d7 3559 long _arg1;
cd096152
RD
3560 long _arg2;
3561 long _arg3;
1d99702e 3562 PyObject * _argo0 = 0;
cd096152 3563 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3564
3565 self = self;
cd096152 3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3567 return NULL;
1d99702e
RD
3568 if (_argo0) {
3569 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3572 return NULL;
3573 }
3574 }
cf694132
RD
3575{
3576 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3577 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132
RD
3578
3579 wxPy_END_ALLOW_THREADS;
4dfaa61e 3580 if (PyErr_Occurred()) return NULL;
cd096152 3581} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3582 return _resultobj;
3583}
3584
cd096152
RD
3585#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3586static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3587 PyObject * _resultobj;
3588 bool _result;
cd096152
RD
3589 wxPyListCtrl * _arg0;
3590 long _arg1;
3591 int _arg2;
3592 int _arg3;
1d99702e 3593 PyObject * _argo0 = 0;
cd096152 3594 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3595
3596 self = self;
cd096152 3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3598 return NULL;
1d99702e
RD
3599 if (_argo0) {
3600 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3603 return NULL;
3604 }
3605 }
cf694132
RD
3606{
3607 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3608 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132
RD
3609
3610 wxPy_END_ALLOW_THREADS;
4dfaa61e 3611 if (PyErr_Occurred()) return NULL;
cf694132 3612} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3613 return _resultobj;
3614}
3615
cd096152
RD
3616#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3617static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3618 PyObject * _resultobj;
cd096152
RD
3619 wxString * _result;
3620 wxPyListCtrl * _arg0;
3621 long _arg1;
1d99702e 3622 PyObject * _argo0 = 0;
cd096152 3623 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3624
3625 self = self;
cd096152 3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3627 return NULL;
1d99702e
RD
3628 if (_argo0) {
3629 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3632 return NULL;
3633 }
3634 }
cf694132
RD
3635{
3636 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3637 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132
RD
3638
3639 wxPy_END_ALLOW_THREADS;
4dfaa61e 3640 if (PyErr_Occurred()) return NULL;
cd096152
RD
3641}{
3642 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3643}
3644{
3645 delete _result;
3646}
8ab979d7
RD
3647 return _resultobj;
3648}
3649
cd096152
RD
3650#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3651static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3652 PyObject * _resultobj;
cd096152
RD
3653 wxPyListCtrl * _arg0;
3654 long _arg1;
3655 wxString * _arg2;
1d99702e 3656 PyObject * _argo0 = 0;
cd096152
RD
3657 PyObject * _obj2 = 0;
3658 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3659
3660 self = self;
cd096152 3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3662 return NULL;
1d99702e
RD
3663 if (_argo0) {
3664 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3667 return NULL;
3668 }
3669 }
cf694132 3670{
cd096152
RD
3671#if PYTHON_API_VERSION >= 1009
3672 char* tmpPtr; int tmpSize;
3673 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3674 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 3675 return NULL;
cd096152
RD
3676 }
3677 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3678 return NULL;
3679 _arg2 = new wxString(tmpPtr, tmpSize);
3680#else
3681 if (!PyString_Check(_obj2)) {
3682 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 3683 return NULL;
8ab979d7 3684 }
cd096152
RD
3685 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3686#endif
3687}
cf694132
RD
3688{
3689 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3690 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132
RD
3691
3692 wxPy_END_ALLOW_THREADS;
4dfaa61e 3693 if (PyErr_Occurred()) return NULL;
cd096152
RD
3694} Py_INCREF(Py_None);
3695 _resultobj = Py_None;
3696{
3697 if (_obj2)
3698 delete _arg2;
3699}
8ab979d7
RD
3700 return _resultobj;
3701}
3702
3703#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3704static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3705 PyObject * _resultobj;
3706 long _result;
cd096152 3707 wxPyListCtrl * _arg0;
8ab979d7 3708 long _arg1;
1d99702e 3709 PyObject * _argo0 = 0;
efc5f224 3710 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3711
3712 self = self;
efc5f224 3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3714 return NULL;
1d99702e
RD
3715 if (_argo0) {
3716 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3719 return NULL;
3720 }
3721 }
cf694132
RD
3722{
3723 wxPy_BEGIN_ALLOW_THREADS;
3724 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
3725
3726 wxPy_END_ALLOW_THREADS;
4dfaa61e 3727 if (PyErr_Occurred()) return NULL;
cf694132 3728} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3729 return _resultobj;
3730}
3731
cd096152
RD
3732#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3733static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3734 PyObject * _resultobj;
cd096152
RD
3735 bool _result;
3736 wxPyListCtrl * _arg0;
0699c864 3737 long _arg1;
cd096152 3738 long _arg2;
1d99702e 3739 PyObject * _argo0 = 0;
cd096152 3740 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3741
3742 self = self;
cd096152 3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3744 return NULL;
1d99702e
RD
3745 if (_argo0) {
3746 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3749 return NULL;
3750 }
3751 }
cf694132
RD
3752{
3753 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3754 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132
RD
3755
3756 wxPy_END_ALLOW_THREADS;
4dfaa61e 3757 if (PyErr_Occurred()) return NULL;
cd096152 3758} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3759 return _resultobj;
3760}
3761
cd096152 3762static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3763 wxPoint* pos = new wxPoint;
3764 self->GetItemPosition(item, *pos);
3765 return pos;
3766 }
efc5f224 3767static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3768 PyObject * _resultobj;
3769 wxPoint * _result;
cd096152 3770 wxPyListCtrl * _arg0;
8ab979d7 3771 long _arg1;
1d99702e 3772 PyObject * _argo0 = 0;
efc5f224 3773 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3774 char _ptemp[128];
3775
3776 self = self;
efc5f224 3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3778 return NULL;
1d99702e
RD
3779 if (_argo0) {
3780 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3783 return NULL;
3784 }
3785 }
cf694132
RD
3786{
3787 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3788 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132
RD
3789
3790 wxPy_END_ALLOW_THREADS;
4dfaa61e 3791 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3792} if (_result) {
3793 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3794 _resultobj = Py_BuildValue("s",_ptemp);
3795 } else {
3796 Py_INCREF(Py_None);
3797 _resultobj = Py_None;
3798 }
8ab979d7
RD
3799 return _resultobj;
3800}
3801
cd096152 3802static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3803 wxRect* rect= new wxRect;
3804 self->GetItemRect(item, *rect, code);
3805 return rect;
3806 }
efc5f224 3807static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3808 PyObject * _resultobj;
3809 wxRect * _result;
cd096152 3810 wxPyListCtrl * _arg0;
8ab979d7 3811 long _arg1;
1d99702e
RD
3812 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3813 PyObject * _argo0 = 0;
efc5f224 3814 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3815 char _ptemp[128];
3816
3817 self = self;
efc5f224 3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3819 return NULL;
1d99702e
RD
3820 if (_argo0) {
3821 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3824 return NULL;
3825 }
3826 }
cf694132
RD
3827{
3828 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3829 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132
RD
3830
3831 wxPy_END_ALLOW_THREADS;
4dfaa61e 3832 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3833} if (_result) {
3834 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3835 _resultobj = Py_BuildValue("s",_ptemp);
3836 } else {
3837 Py_INCREF(Py_None);
3838 _resultobj = Py_None;
3839 }
8ab979d7
RD
3840 return _resultobj;
3841}
3842
cd096152
RD
3843#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3844static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3845 PyObject * _resultobj;
cd096152
RD
3846 bool _result;
3847 wxPyListCtrl * _arg0;
8ab979d7 3848 long _arg1;
cd096152 3849 wxPoint * _arg2;
1d99702e 3850 PyObject * _argo0 = 0;
cd096152
RD
3851 wxPoint temp;
3852 PyObject * _obj2 = 0;
3853 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3854
3855 self = self;
cd096152 3856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
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_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3862 return NULL;
3863 }
3864 }
cd096152
RD
3865{
3866 _arg2 = &temp;
3867 if (! wxPoint_helper(_obj2, &_arg2))
3868 return NULL;
3869}
cf694132
RD
3870{
3871 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3872 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132
RD
3873
3874 wxPy_END_ALLOW_THREADS;
4dfaa61e 3875 if (PyErr_Occurred()) return NULL;
cf694132 3876} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3877 return _resultobj;
3878}
3879
3880#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3881static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3882 PyObject * _resultobj;
3883 int _result;
cd096152 3884 wxPyListCtrl * _arg0;
1d99702e 3885 PyObject * _argo0 = 0;
efc5f224 3886 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3887
3888 self = self;
efc5f224 3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3890 return NULL;
1d99702e
RD
3891 if (_argo0) {
3892 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3895 return NULL;
3896 }
3897 }
cf694132
RD
3898{
3899 wxPy_BEGIN_ALLOW_THREADS;
3900 _result = (int )wxListCtrl_GetItemCount(_arg0);
3901
3902 wxPy_END_ALLOW_THREADS;
4dfaa61e 3903 if (PyErr_Occurred()) return NULL;
cf694132 3904} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3905 return _resultobj;
3906}
3907
cd096152
RD
3908#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3909static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3910 PyObject * _resultobj;
3911 int _result;
3912 wxPyListCtrl * _arg0;
3913 PyObject * _argo0 = 0;
3914 char *_kwnames[] = { "self", NULL };
3915
3916 self = self;
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
3918 return NULL;
3919 if (_argo0) {
3920 if (_argo0 == Py_None) { _arg0 = NULL; }
3921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3923 return NULL;
3924 }
3925 }
3926{
3927 wxPy_BEGIN_ALLOW_THREADS;
3928 _result = (int )wxListCtrl_GetColumnCount(_arg0);
3929
3930 wxPy_END_ALLOW_THREADS;
3931 if (PyErr_Occurred()) return NULL;
3932} _resultobj = Py_BuildValue("i",_result);
3933 return _resultobj;
3934}
3935
8ab979d7 3936#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
efc5f224 3937static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3938 PyObject * _resultobj;
3939 int _result;
cd096152 3940 wxPyListCtrl * _arg0;
8ab979d7 3941 bool _arg1;
1d99702e 3942 PyObject * _argo0 = 0;
8ab979d7 3943 int tempbool1;
efc5f224 3944 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3945
3946 self = self;
efc5f224 3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3948 return NULL;
1d99702e
RD
3949 if (_argo0) {
3950 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3953 return NULL;
3954 }
3955 }
3956 _arg1 = (bool ) tempbool1;
cf694132
RD
3957{
3958 wxPy_BEGIN_ALLOW_THREADS;
3959 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
3960
3961 wxPy_END_ALLOW_THREADS;
4dfaa61e 3962 if (PyErr_Occurred()) return NULL;
cf694132 3963} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3964 return _resultobj;
3965}
3966
cd096152
RD
3967#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3968static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3969 PyObject * _resultobj;
cd096152
RD
3970 int _result;
3971 wxPyListCtrl * _arg0;
1d99702e 3972 PyObject * _argo0 = 0;
cd096152 3973 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3974
3975 self = self;
cd096152 3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3977 return NULL;
1d99702e
RD
3978 if (_argo0) {
3979 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3982 return NULL;
3983 }
3984 }
8ab979d7 3985{
cf694132 3986 wxPy_BEGIN_ALLOW_THREADS;
cd096152 3987 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
cf694132
RD
3988
3989 wxPy_END_ALLOW_THREADS;
4dfaa61e 3990 if (PyErr_Occurred()) return NULL;
cd096152 3991} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3992 return _resultobj;
3993}
3994
cd096152
RD
3995#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3996static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3997 PyObject * _resultobj;
cd096152
RD
3998 wxColour * _result;
3999 wxPyListCtrl * _arg0;
1d99702e 4000 PyObject * _argo0 = 0;
cd096152
RD
4001 char *_kwnames[] = { "self", NULL };
4002 char _ptemp[128];
8ab979d7
RD
4003
4004 self = self;
cd096152 4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 4006 return NULL;
1d99702e
RD
4007 if (_argo0) {
4008 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4011 return NULL;
4012 }
4013 }
cf694132
RD
4014{
4015 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4016 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
cf694132
RD
4017
4018 wxPy_END_ALLOW_THREADS;
4dfaa61e 4019 if (PyErr_Occurred()) return NULL;
cd096152
RD
4020} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4021 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4022 return _resultobj;
4023}
4024
cd096152
RD
4025#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4026static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4027 PyObject * _resultobj;
cd096152
RD
4028 wxPyListCtrl * _arg0;
4029 wxColour * _arg1;
1d99702e 4030 PyObject * _argo0 = 0;
cd096152
RD
4031 wxColour temp;
4032 PyObject * _obj1 = 0;
4033 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
4034
4035 self = self;
cd096152 4036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4037 return NULL;
1d99702e
RD
4038 if (_argo0) {
4039 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4042 return NULL;
4043 }
4044 }
cd096152
RD
4045{
4046 _arg1 = &temp;
4047 if (! wxColour_helper(_obj1, &_arg1))
4048 return NULL;
4049}
cf694132
RD
4050{
4051 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4052 wxListCtrl_SetTextColour(_arg0,*_arg1);
cf694132
RD
4053
4054 wxPy_END_ALLOW_THREADS;
4dfaa61e 4055 if (PyErr_Occurred()) return NULL;
cd096152
RD
4056} Py_INCREF(Py_None);
4057 _resultobj = Py_None;
8ab979d7
RD
4058 return _resultobj;
4059}
4060
8ab979d7 4061#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 4062static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4063 PyObject * _resultobj;
4064 long _result;
cd096152 4065 wxPyListCtrl * _arg0;
1d99702e 4066 PyObject * _argo0 = 0;
efc5f224 4067 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4068
4069 self = self;
efc5f224 4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 4071 return NULL;
1d99702e
RD
4072 if (_argo0) {
4073 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4076 return NULL;
4077 }
4078 }
cf694132
RD
4079{
4080 wxPy_BEGIN_ALLOW_THREADS;
4081 _result = (long )wxListCtrl_GetTopItem(_arg0);
4082
4083 wxPy_END_ALLOW_THREADS;
4dfaa61e 4084 if (PyErr_Occurred()) return NULL;
cf694132 4085} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4086 return _resultobj;
4087}
4088
cd096152
RD
4089#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4090static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4091 PyObject * _resultobj;
4092 wxPyListCtrl * _arg0;
4093 long _arg1;
4094 bool _arg2 = (bool ) TRUE;
1d99702e 4095 PyObject * _argo0 = 0;
cd096152
RD
4096 int tempbool2 = (int) TRUE;
4097 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
4098
4099 self = self;
cd096152
RD
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
4101 return NULL;
4102 if (_argo0) {
4103 if (_argo0 == Py_None) { _arg0 = NULL; }
4104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4106 return NULL;
4107 }
4108 }
4109 _arg2 = (bool ) tempbool2;
8ab979d7 4110{
cd096152
RD
4111 wxPy_BEGIN_ALLOW_THREADS;
4112 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
4113
4114 wxPy_END_ALLOW_THREADS;
4115 if (PyErr_Occurred()) return NULL;
4116} Py_INCREF(Py_None);
4117 _resultobj = Py_None;
4118 return _resultobj;
8ab979d7 4119}
cd096152
RD
4120
4121#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4122static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
4123 PyObject * _resultobj;
4124 wxPyListCtrl * _arg0;
4125 long _arg1;
4126 PyObject * _argo0 = 0;
4127 char *_kwnames[] = { "self","style", NULL };
4128
4129 self = self;
4130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 4131 return NULL;
1d99702e
RD
4132 if (_argo0) {
4133 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4136 return NULL;
4137 }
4138 }
2f90df85 4139{
cd096152
RD
4140 wxPy_BEGIN_ALLOW_THREADS;
4141 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
4142
4143 wxPy_END_ALLOW_THREADS;
4144 if (PyErr_Occurred()) return NULL;
4145} Py_INCREF(Py_None);
4146 _resultobj = Py_None;
4147 return _resultobj;
2f90df85 4148}
cd096152
RD
4149
4150#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4151static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4152 PyObject * _resultobj;
4153 long _result;
4154 wxPyListCtrl * _arg0;
4155 long _arg1;
4156 int _arg2 = (int ) (wxLIST_NEXT_ALL);
4157 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
4158 PyObject * _argo0 = 0;
4159 char *_kwnames[] = { "self","item","geometry","state", NULL };
4160
4161 self = self;
4162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4163 return NULL;
4164 if (_argo0) {
4165 if (_argo0 == Py_None) { _arg0 = NULL; }
4166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4168 return NULL;
4169 }
4170 }
cf694132
RD
4171{
4172 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4173 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
cf694132
RD
4174
4175 wxPy_END_ALLOW_THREADS;
4dfaa61e 4176 if (PyErr_Occurred()) return NULL;
cf694132 4177} _resultobj = Py_BuildValue("l",_result);
cd096152 4178 return _resultobj;
8ab979d7 4179}
cd096152
RD
4180
4181#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4182static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject * _resultobj;
4184 wxImageList * _result;
4185 wxPyListCtrl * _arg0;
4186 int _arg1;
4187 PyObject * _argo0 = 0;
4188 char *_kwnames[] = { "self","which", NULL };
4189
4190 self = self;
4191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
4192 return NULL;
4193 if (_argo0) {
4194 if (_argo0 == Py_None) { _arg0 = NULL; }
4195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4197 return NULL;
4198 }
4199 }
4200{
4201 wxPy_BEGIN_ALLOW_THREADS;
4202 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
4203
4204 wxPy_END_ALLOW_THREADS;
4205 if (PyErr_Occurred()) return NULL;
4206}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
4207 return _resultobj;
4208}
4209
cd096152
RD
4210#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4211static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4212 PyObject * _resultobj;
cd096152
RD
4213 wxPyListCtrl * _arg0;
4214 wxImageList * _arg1;
4215 int _arg2;
1d99702e 4216 PyObject * _argo0 = 0;
cd096152
RD
4217 PyObject * _argo1 = 0;
4218 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4219
4220 self = self;
cd096152 4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4222 return NULL;
1d99702e
RD
4223 if (_argo0) {
4224 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4227 return NULL;
4228 }
4229 }
cd096152
RD
4230 if (_argo1) {
4231 if (_argo1 == Py_None) { _arg1 = NULL; }
4232 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4233 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
4234 return NULL;
4235 }
4236 }
cf694132
RD
4237{
4238 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4239 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132
RD
4240
4241 wxPy_END_ALLOW_THREADS;
4dfaa61e 4242 if (PyErr_Occurred()) return NULL;
cd096152
RD
4243} Py_INCREF(Py_None);
4244 _resultobj = Py_None;
8ab979d7
RD
4245 return _resultobj;
4246}
4247
cd096152
RD
4248#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4249static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4250 PyObject * _resultobj;
cd096152
RD
4251 wxPyListCtrl * _arg0;
4252 wxImageList * _arg1;
4253 int _arg2;
1d99702e 4254 PyObject * _argo0 = 0;
cd096152
RD
4255 PyObject * _argo1 = 0;
4256 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4257
4258 self = self;
cd096152 4259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4260 return NULL;
1d99702e
RD
4261 if (_argo0) {
4262 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4265 return NULL;
4266 }
4267 }
cd096152
RD
4268 if (_argo1) {
4269 if (_argo1 == Py_None) { _arg1 = NULL; }
4270 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4271 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2cd2fac8 4272 return NULL;
cd096152 4273 }
2cd2fac8 4274 }
cd096152
RD
4275{
4276 wxPy_BEGIN_ALLOW_THREADS;
4277 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
4278
4279 wxPy_END_ALLOW_THREADS;
4280 if (PyErr_Occurred()) return NULL;
4281} Py_INCREF(Py_None);
4282 _resultobj = Py_None;
4283 return _resultobj;
4284}
4285
4286#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4287static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
4288 PyObject * _resultobj;
4289 bool _result;
4290 wxPyListCtrl * _arg0;
4291 PyObject * _argo0 = 0;
4292 char *_kwnames[] = { "self", NULL };
4293
4294 self = self;
4295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
2cd2fac8 4296 return NULL;
cd096152
RD
4297 if (_argo0) {
4298 if (_argo0 == Py_None) { _arg0 = NULL; }
4299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7 4301 return NULL;
cd096152 4302 }
8ab979d7 4303 }
cf694132
RD
4304{
4305 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4306 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132
RD
4307
4308 wxPy_END_ALLOW_THREADS;
4dfaa61e 4309 if (PyErr_Occurred()) return NULL;
cd096152
RD
4310} _resultobj = Py_BuildValue("i",_result);
4311 return _resultobj;
8ab979d7 4312}
cd096152
RD
4313
4314#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4315static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4316 PyObject * _resultobj;
4317 wxPyListCtrl * _arg0;
4318 long _arg1;
4319 PyObject * _argo0 = 0;
4320 char *_kwnames[] = { "self","item", NULL };
4321
4322 self = self;
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
4324 return NULL;
4325 if (_argo0) {
4326 if (_argo0 == Py_None) { _arg0 = NULL; }
4327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4329 return NULL;
4330 }
4331 }
4332{
4333 wxPy_BEGIN_ALLOW_THREADS;
4334 wxListCtrl_RefreshItem(_arg0,_arg1);
4335
4336 wxPy_END_ALLOW_THREADS;
4337 if (PyErr_Occurred()) return NULL;
4338} Py_INCREF(Py_None);
4339 _resultobj = Py_None;
8ab979d7
RD
4340 return _resultobj;
4341}
4342
cd096152
RD
4343#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4344static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4345 PyObject * _resultobj;
cd096152
RD
4346 wxPyListCtrl * _arg0;
4347 long _arg1;
4348 long _arg2;
1d99702e 4349 PyObject * _argo0 = 0;
cd096152 4350 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4351
4352 self = self;
cd096152 4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4354 return NULL;
1d99702e
RD
4355 if (_argo0) {
4356 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4359 return NULL;
4360 }
4361 }
cd096152
RD
4362{
4363 wxPy_BEGIN_ALLOW_THREADS;
4364 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
4365
4366 wxPy_END_ALLOW_THREADS;
4367 if (PyErr_Occurred()) return NULL;
4368} Py_INCREF(Py_None);
4369 _resultobj = Py_None;
4370 return _resultobj;
4371}
4372
4373#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4374static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
4375 PyObject * _resultobj;
4376 bool _result;
4377 wxPyListCtrl * _arg0;
4378 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
4379 PyObject * _argo0 = 0;
4380 char *_kwnames[] = { "self","flag", NULL };
4381
4382 self = self;
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
4384 return NULL;
4385 if (_argo0) {
4386 if (_argo0 == Py_None) { _arg0 = NULL; }
4387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4389 return NULL;
4390 }
4391 }
cf694132
RD
4392{
4393 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4394 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132
RD
4395
4396 wxPy_END_ALLOW_THREADS;
4dfaa61e 4397 if (PyErr_Occurred()) return NULL;
cd096152 4398} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4399 return _resultobj;
4400}
4401
cd096152
RD
4402#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4403static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4404 PyObject * _resultobj;
cd096152
RD
4405 bool _result;
4406 wxPyListCtrl * _arg0;
8ab979d7 4407 long _arg1;
1d99702e 4408 PyObject * _argo0 = 0;
cd096152 4409 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4410
4411 self = self;
cd096152 4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4413 return NULL;
1d99702e
RD
4414 if (_argo0) {
4415 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4418 return NULL;
4419 }
4420 }
4421{
cd096152
RD
4422 wxPy_BEGIN_ALLOW_THREADS;
4423 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
4424
4425 wxPy_END_ALLOW_THREADS;
4426 if (PyErr_Occurred()) return NULL;
4427} _resultobj = Py_BuildValue("i",_result);
4428 return _resultobj;
4429}
4430
4431#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4432static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject * _resultobj;
4434 bool _result;
4435 wxPyListCtrl * _arg0;
4436 PyObject * _argo0 = 0;
4437 char *_kwnames[] = { "self", NULL };
4438
4439 self = self;
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4441 return NULL;
4442 if (_argo0) {
4443 if (_argo0 == Py_None) { _arg0 = NULL; }
4444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
2cd2fac8 4446 return NULL;
cd096152 4447 }
2cd2fac8 4448 }
cd096152
RD
4449{
4450 wxPy_BEGIN_ALLOW_THREADS;
4451 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
4452
4453 wxPy_END_ALLOW_THREADS;
4454 if (PyErr_Occurred()) return NULL;
4455} _resultobj = Py_BuildValue("i",_result);
4456 return _resultobj;
4457}
4458
4459#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4460static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4461 PyObject * _resultobj;
4462 bool _result;
4463 wxPyListCtrl * _arg0;
4464 int _arg1;
4465 PyObject * _argo0 = 0;
4466 char *_kwnames[] = { "self","col", NULL };
4467
4468 self = self;
4469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
2cd2fac8 4470 return NULL;
cd096152
RD
4471 if (_argo0) {
4472 if (_argo0 == Py_None) { _arg0 = NULL; }
4473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4475 return NULL;
4476 }
4477 }
4478{
4479 wxPy_BEGIN_ALLOW_THREADS;
4480 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
4481
4482 wxPy_END_ALLOW_THREADS;
4483 if (PyErr_Occurred()) return NULL;
4484} _resultobj = Py_BuildValue("i",_result);
4485 return _resultobj;
4486}
4487
4488#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4489static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject * _resultobj;
4491 bool _result;
4492 wxPyListCtrl * _arg0;
4493 PyObject * _argo0 = 0;
4494 char *_kwnames[] = { "self", NULL };
4495
4496 self = self;
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
4498 return NULL;
4499 if (_argo0) {
4500 if (_argo0 == Py_None) { _arg0 = NULL; }
4501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4503 return NULL;
4504 }
4505 }
4506{
4507 wxPy_BEGIN_ALLOW_THREADS;
4508 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
4509
4510 wxPy_END_ALLOW_THREADS;
4511 if (PyErr_Occurred()) return NULL;
4512} _resultobj = Py_BuildValue("i",_result);
4513 return _resultobj;
4514}
4515
4516#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4517static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject * _resultobj;
4519 wxPyListCtrl * _arg0;
4520 PyObject * _argo0 = 0;
4521 char *_kwnames[] = { "self", NULL };
4522
4523 self = self;
4524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
8ab979d7 4525 return NULL;
cd096152
RD
4526 if (_argo0) {
4527 if (_argo0 == Py_None) { _arg0 = NULL; }
4528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4530 return NULL;
4531 }
8ab979d7 4532 }
cf694132
RD
4533{
4534 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4535 wxListCtrl_ClearAll(_arg0);
cf694132
RD
4536
4537 wxPy_END_ALLOW_THREADS;
4dfaa61e 4538 if (PyErr_Occurred()) return NULL;
cd096152
RD
4539} Py_INCREF(Py_None);
4540 _resultobj = Py_None;
8ab979d7
RD
4541 return _resultobj;
4542}
4543
cd096152
RD
4544#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4545static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4546 PyObject * _resultobj;
cd096152
RD
4547 bool _result;
4548 wxPyListCtrl * _arg0;
8ab979d7 4549 long _arg1;
1d99702e 4550 PyObject * _argo0 = 0;
cd096152 4551 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4552
4553 self = self;
cd096152 4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
8ab979d7 4555 return NULL;
1d99702e
RD
4556 if (_argo0) {
4557 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4560 return NULL;
4561 }
4562 }
cf694132
RD
4563{
4564 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4565 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132
RD
4566
4567 wxPy_END_ALLOW_THREADS;
4dfaa61e 4568 if (PyErr_Occurred()) return NULL;
cd096152 4569} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4570 return _resultobj;
4571}
4572
cd096152
RD
4573#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4574static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4575 PyObject * _resultobj;
4576 long _result;
cd096152 4577 wxPyListCtrl * _arg0;
8ab979d7
RD
4578 long _arg1;
4579 wxString * _arg2;
cd096152 4580 bool _arg3 = (bool ) FALSE;
1d99702e 4581 PyObject * _argo0 = 0;
8ab979d7 4582 PyObject * _obj2 = 0;
cd096152
RD
4583 int tempbool3 = (int) FALSE;
4584 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4585
4586 self = self;
cd096152 4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4588 return NULL;
1d99702e
RD
4589 if (_argo0) {
4590 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4593 return NULL;
4594 }
4595 }
4596{
2cd2fac8
RD
4597#if PYTHON_API_VERSION >= 1009
4598 char* tmpPtr; int tmpSize;
4599 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 4600 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4601 return NULL;
4602 }
4603 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4604 return NULL;
4605 _arg2 = new wxString(tmpPtr, tmpSize);
4606#else
8ab979d7
RD
4607 if (!PyString_Check(_obj2)) {
4608 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4609 return NULL;
4610 }
2cd2fac8
RD
4611 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4612#endif
8ab979d7 4613}
cd096152 4614 _arg3 = (bool ) tempbool3;
cf694132
RD
4615{
4616 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4617 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132
RD
4618
4619 wxPy_END_ALLOW_THREADS;
4dfaa61e 4620 if (PyErr_Occurred()) return NULL;
cf694132 4621} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4622{
4623 if (_obj2)
4624 delete _arg2;
4625}
4626 return _resultobj;
4627}
4628
cd096152
RD
4629#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4630static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4631 PyObject * _resultobj;
cd096152
RD
4632 long _result;
4633 wxPyListCtrl * _arg0;
4634 long _arg1;
4635 long _arg2;
1d99702e 4636 PyObject * _argo0 = 0;
cd096152 4637 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4638
4639 self = self;
cd096152 4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4641 return NULL;
1d99702e
RD
4642 if (_argo0) {
4643 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4646 return NULL;
4647 }
4648 }
cf694132
RD
4649{
4650 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4651 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132
RD
4652
4653 wxPy_END_ALLOW_THREADS;
4dfaa61e 4654 if (PyErr_Occurred()) return NULL;
cd096152 4655} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4656 return _resultobj;
4657}
4658
cd096152
RD
4659#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4660static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4661 PyObject * _resultobj;
cd096152
RD
4662 long _result;
4663 wxPyListCtrl * _arg0;
4664 long _arg1;
4665 wxPoint * _arg2;
4666 int _arg3;
1d99702e 4667 PyObject * _argo0 = 0;
cd096152
RD
4668 wxPoint temp;
4669 PyObject * _obj2 = 0;
4670 char *_kwnames[] = { "self","start","pt","direction", NULL };
8ab979d7
RD
4671
4672 self = self;
cd096152 4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4674 return NULL;
1d99702e
RD
4675 if (_argo0) {
4676 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4679 return NULL;
4680 }
4681 }
f6bcfd97 4682{
cd096152
RD
4683 _arg2 = &temp;
4684 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 4685 return NULL;
f6bcfd97 4686}
cf694132
RD
4687{
4688 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4689 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
cf694132
RD
4690
4691 wxPy_END_ALLOW_THREADS;
4dfaa61e 4692 if (PyErr_Occurred()) return NULL;
cd096152 4693} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4694 return _resultobj;
4695}
4696
cd096152
RD
4697#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4698static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4699 PyObject * _resultobj;
cd096152
RD
4700 long _result;
4701 wxPyListCtrl * _arg0;
4702 wxPoint * _arg1;
4703 int * _arg2;
4704 int temp;
1d99702e 4705 PyObject * _argo0 = 0;
cd096152
RD
4706 wxPoint temp0;
4707 PyObject * _obj1 = 0;
4708 char *_kwnames[] = { "self","point", NULL };
8ab979d7
RD
4709
4710 self = self;
cf694132 4711{
cd096152 4712 _arg2 = &temp;
8ab979d7 4713}
cd096152 4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
8ab979d7 4715 return NULL;
1d99702e
RD
4716 if (_argo0) {
4717 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4720 return NULL;
4721 }
4722 }
cf694132 4723{
cd096152
RD
4724 _arg1 = &temp0;
4725 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 4726 return NULL;
cd096152 4727}
cf694132
RD
4728{
4729 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4730 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
cf694132
RD
4731
4732 wxPy_END_ALLOW_THREADS;
4dfaa61e 4733 if (PyErr_Occurred()) return NULL;
cd096152
RD
4734} _resultobj = Py_BuildValue("l",_result);
4735{
4736 PyObject *o;
4737 o = PyInt_FromLong((long) (*_arg2));
4738 _resultobj = t_output_helper(_resultobj, o);
4739}
8ab979d7
RD
4740 return _resultobj;
4741}
4742
cd096152
RD
4743#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4744static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4745 PyObject * _resultobj;
cd096152
RD
4746 long _result;
4747 wxPyListCtrl * _arg0;
8ab979d7 4748 wxListItem * _arg1;
1d99702e
RD
4749 PyObject * _argo0 = 0;
4750 PyObject * _argo1 = 0;
efc5f224 4751 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
4752
4753 self = self;
cd096152 4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
8ab979d7 4755 return NULL;
1d99702e
RD
4756 if (_argo0) {
4757 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4760 return NULL;
4761 }
4762 }
1d99702e
RD
4763 if (_argo1) {
4764 if (_argo1 == Py_None) { _arg1 = NULL; }
4765 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
cd096152 4766 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
8ab979d7
RD
4767 return NULL;
4768 }
4769 }
cf694132
RD
4770{
4771 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4772 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
cf694132
RD
4773
4774 wxPy_END_ALLOW_THREADS;
4dfaa61e 4775 if (PyErr_Occurred()) return NULL;
cd096152 4776} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4777 return _resultobj;
4778}
4779
cd096152
RD
4780#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4781static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4782 PyObject * _resultobj;
4783 long _result;
cd096152 4784 wxPyListCtrl * _arg0;
8ab979d7 4785 long _arg1;
cd096152 4786 wxString * _arg2;
1d99702e 4787 PyObject * _argo0 = 0;
cd096152
RD
4788 PyObject * _obj2 = 0;
4789 char *_kwnames[] = { "self","index","label", NULL };
8ab979d7
RD
4790
4791 self = self;
cd096152 4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 4793 return NULL;
1d99702e
RD
4794 if (_argo0) {
4795 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4798 return NULL;
4799 }
4800 }
4801{
2cd2fac8
RD
4802#if PYTHON_API_VERSION >= 1009
4803 char* tmpPtr; int tmpSize;
cd096152 4804 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 4805 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4806 return NULL;
4807 }
cd096152 4808 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2cd2fac8 4809 return NULL;
cd096152 4810 _arg2 = new wxString(tmpPtr, tmpSize);
2cd2fac8 4811#else
cd096152 4812 if (!PyString_Check(_obj2)) {
8ab979d7
RD
4813 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4814 return NULL;
4815 }
cd096152 4816 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2cd2fac8 4817#endif
8ab979d7 4818}
cf694132
RD
4819{
4820 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4821 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
cf694132
RD
4822
4823 wxPy_END_ALLOW_THREADS;
4dfaa61e 4824 if (PyErr_Occurred()) return NULL;
cf694132 4825} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4826{
cd096152
RD
4827 if (_obj2)
4828 delete _arg2;
4829}
8ab979d7
RD
4830 return _resultobj;
4831}
4832
cd096152
RD
4833#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4834static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4835 PyObject * _resultobj;
cd096152
RD
4836 long _result;
4837 wxPyListCtrl * _arg0;
8ab979d7
RD
4838 long _arg1;
4839 int _arg2;
1d99702e 4840 PyObject * _argo0 = 0;
cd096152 4841 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4842
4843 self = self;
cd096152 4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4845 return NULL;
1d99702e
RD
4846 if (_argo0) {
4847 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4850 return NULL;
4851 }
4852 }
cf694132
RD
4853{
4854 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4855 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
cf694132
RD
4856
4857 wxPy_END_ALLOW_THREADS;
4dfaa61e 4858 if (PyErr_Occurred()) return NULL;
cd096152 4859} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4860 return _resultobj;
4861}
4862
cd096152
RD
4863#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4864static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4865 PyObject * _resultobj;
cd096152
RD
4866 long _result;
4867 wxPyListCtrl * _arg0;
8ab979d7 4868 long _arg1;
cd096152
RD
4869 wxString * _arg2;
4870 int _arg3;
1d99702e 4871 PyObject * _argo0 = 0;
2f90df85 4872 PyObject * _obj2 = 0;
cd096152 4873 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4874
4875 self = self;
cd096152 4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4877 return NULL;
1d99702e
RD
4878 if (_argo0) {
4879 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4882 return NULL;
4883 }
4884 }
2f90df85 4885{
cd096152
RD
4886#if PYTHON_API_VERSION >= 1009
4887 char* tmpPtr; int tmpSize;
4888 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4889 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4890 return NULL;
4891 }
4892 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4893 return NULL;
4894 _arg2 = new wxString(tmpPtr, tmpSize);
4895#else
4896 if (!PyString_Check(_obj2)) {
4897 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 4898 return NULL;
cd096152
RD
4899 }
4900 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4901#endif
2f90df85 4902}
cf694132
RD
4903{
4904 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4905 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132
RD
4906
4907 wxPy_END_ALLOW_THREADS;
4dfaa61e 4908 if (PyErr_Occurred()) return NULL;
cd096152
RD
4909} _resultobj = Py_BuildValue("l",_result);
4910{
4911 if (_obj2)
4912 delete _arg2;
4913}
8ab979d7
RD
4914 return _resultobj;
4915}
4916
cd096152
RD
4917#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4918static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4919 PyObject * _resultobj;
cd096152
RD
4920 long _result;
4921 wxPyListCtrl * _arg0;
8ab979d7 4922 long _arg1;
cd096152 4923 wxListItem * _arg2;
1d99702e 4924 PyObject * _argo0 = 0;
cd096152
RD
4925 PyObject * _argo2 = 0;
4926 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4927
4928 self = self;
cd096152 4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4930 return NULL;
1d99702e
RD
4931 if (_argo0) {
4932 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4935 return NULL;
4936 }
4937 }
4938 if (_argo2) {
4939 if (_argo2 == Py_None) { _arg2 = NULL; }
4940 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4941 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4942 return NULL;
4943 }
4944 }
cf694132
RD
4945{
4946 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4947 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132
RD
4948
4949 wxPy_END_ALLOW_THREADS;
4dfaa61e 4950 if (PyErr_Occurred()) return NULL;
cd096152 4951} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4952 return _resultobj;
4953}
4954
cd096152
RD
4955#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4956static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4957 PyObject * _resultobj;
cd096152
RD
4958 long _result;
4959 wxPyListCtrl * _arg0;
8ab979d7
RD
4960 long _arg1;
4961 wxString * _arg2;
cd096152
RD
4962 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
4963 int _arg4 = (int ) -1;
1d99702e 4964 PyObject * _argo0 = 0;
8ab979d7 4965 PyObject * _obj2 = 0;
cd096152 4966 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
4967
4968 self = self;
cd096152 4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 4970 return NULL;
1d99702e
RD
4971 if (_argo0) {
4972 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4975 return NULL;
4976 }
4977 }
4978{
2cd2fac8
RD
4979#if PYTHON_API_VERSION >= 1009
4980 char* tmpPtr; int tmpSize;
4981 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 4982 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4983 return NULL;
4984 }
4985 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4986 return NULL;
4987 _arg2 = new wxString(tmpPtr, tmpSize);
4988#else
8ab979d7
RD
4989 if (!PyString_Check(_obj2)) {
4990 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4991 return NULL;
4992 }
2cd2fac8
RD
4993 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4994#endif
8ab979d7 4995}
cf694132
RD
4996{
4997 wxPy_BEGIN_ALLOW_THREADS;
cd096152 4998 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132
RD
4999
5000 wxPy_END_ALLOW_THREADS;
4dfaa61e 5001 if (PyErr_Occurred()) return NULL;
cd096152 5002} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5003{
5004 if (_obj2)
5005 delete _arg2;
5006}
5007 return _resultobj;
5008}
5009
cd096152
RD
5010#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5011static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5012 PyObject * _resultobj;
cd096152 5013 wxPyListCtrl * _arg0;
8ab979d7 5014 long _arg1;
1d99702e 5015 PyObject * _argo0 = 0;
cd096152 5016 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
5017
5018 self = self;
cd096152 5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 5020 return NULL;
1d99702e
RD
5021 if (_argo0) {
5022 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
5023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
5025 return NULL;
5026 }
5027 }
cf694132
RD
5028{
5029 wxPy_BEGIN_ALLOW_THREADS;
cd096152 5030 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132
RD
5031
5032 wxPy_END_ALLOW_THREADS;
4dfaa61e 5033 if (PyErr_Occurred()) return NULL;
cf694132 5034} Py_INCREF(Py_None);
8ab979d7
RD
5035 _resultobj = Py_None;
5036 return _resultobj;
5037}
5038
cd096152
RD
5039#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5040static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5041 PyObject * _resultobj;
cd096152
RD
5042 bool _result;
5043 wxPyListCtrl * _arg0;
5044 int _arg1;
5045 int _arg2;
1d99702e 5046 PyObject * _argo0 = 0;
cd096152 5047 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
5048
5049 self = self;
cd096152 5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5051 return NULL;
1d99702e
RD
5052 if (_argo0) {
5053 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
5054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
5056 return NULL;
5057 }
5058 }
cf694132
RD
5059{
5060 wxPy_BEGIN_ALLOW_THREADS;
cd096152 5061 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132
RD
5062
5063 wxPy_END_ALLOW_THREADS;
4dfaa61e 5064 if (PyErr_Occurred()) return NULL;
cd096152 5065} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5066 return _resultobj;
5067}
5068
cd096152 5069static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
5070 if (!PyCallable_Check(func))
5071 return FALSE;
f6bcfd97 5072 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
5073 }
5074static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject * _resultobj;
5076 bool _result;
cd096152 5077 wxPyListCtrl * _arg0;
dcd38683
RD
5078 PyObject * _arg1;
5079 PyObject * _argo0 = 0;
5080 PyObject * _obj1 = 0;
5081 char *_kwnames[] = { "self","func", NULL };
5082
5083 self = self;
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
5085 return NULL;
5086 if (_argo0) {
5087 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
5088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
5090 return NULL;
5091 }
5092 }
5093{
5094 _arg1 = _obj1;
5095}
5096{
5097 wxPy_BEGIN_ALLOW_THREADS;
cd096152 5098 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683
RD
5099
5100 wxPy_END_ALLOW_THREADS;
4dfaa61e 5101 if (PyErr_Occurred()) return NULL;
dcd38683
RD
5102} _resultobj = Py_BuildValue("i",_result);
5103 return _resultobj;
5104}
5105
059a841c
RD
5106static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5107 wxListView *src;
5108 wxPyListCtrl *dest;
5109 src = (wxListView *) ptr;
5110 dest = (wxPyListCtrl *) src;
5111 return (void *) dest;
5112}
5113
5114static void *SwigwxListViewTowxControl(void *ptr) {
5115 wxListView *src;
5116 wxControl *dest;
5117 src = (wxListView *) ptr;
5118 dest = (wxControl *) src;
5119 return (void *) dest;
5120}
5121
5122static void *SwigwxListViewTowxWindow(void *ptr) {
5123 wxListView *src;
5124 wxWindow *dest;
5125 src = (wxListView *) ptr;
5126 dest = (wxWindow *) src;
5127 return (void *) dest;
5128}
5129
5130static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5131 wxListView *src;
5132 wxEvtHandler *dest;
5133 src = (wxListView *) ptr;
5134 dest = (wxEvtHandler *) src;
5135 return (void *) dest;
5136}
5137
5138static void *SwigwxListViewTowxObject(void *ptr) {
5139 wxListView *src;
5140 wxObject *dest;
5141 src = (wxListView *) ptr;
5142 dest = (wxObject *) src;
5143 return (void *) dest;
5144}
5145
5146#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5147static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5148 PyObject * _resultobj;
5149 wxListView * _result;
5150 wxWindow * _arg0;
5151 wxWindowID _arg1 = (wxWindowID ) -1;
5152 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5153 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5154 long _arg4 = (long ) (wxLC_REPORT);
5155 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
5156 wxString * _arg6 = (wxString *) &"listctrl";
5157 PyObject * _argo0 = 0;
5158 wxPoint temp;
5159 PyObject * _obj2 = 0;
5160 wxSize temp0;
5161 PyObject * _obj3 = 0;
5162 PyObject * _argo5 = 0;
5163 PyObject * _obj6 = 0;
5164 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5165 char _ptemp[128];
5166
5167 self = self;
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5169 return NULL;
5170 if (_argo0) {
5171 if (_argo0 == Py_None) { _arg0 = NULL; }
5172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5174 return NULL;
5175 }
5176 }
5177 if (_obj2)
5178{
5179 _arg2 = &temp;
5180 if (! wxPoint_helper(_obj2, &_arg2))
5181 return NULL;
5182}
5183 if (_obj3)
5184{
5185 _arg3 = &temp0;
5186 if (! wxSize_helper(_obj3, &_arg3))
5187 return NULL;
5188}
5189 if (_argo5) {
5190 if (_argo5 == Py_None) { _arg5 = NULL; }
5191 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5192 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5193 return NULL;
5194 }
5195 }
5196 if (_obj6)
5197{
5198#if PYTHON_API_VERSION >= 1009
5199 char* tmpPtr; int tmpSize;
5200 if (!PyString_Check(_obj6) && !PyUnicode_Check(_obj6)) {
5201 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5202 return NULL;
5203 }
5204 if (PyString_AsStringAndSize(_obj6, &tmpPtr, &tmpSize) == -1)
5205 return NULL;
5206 _arg6 = new wxString(tmpPtr, tmpSize);
5207#else
5208 if (!PyString_Check(_obj6)) {
5209 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5210 return NULL;
5211 }
5212 _arg6 = new wxString(PyString_AS_STRING(_obj6), PyString_GET_SIZE(_obj6));
5213#endif
5214}
5215{
5216 wxPy_BEGIN_ALLOW_THREADS;
5217 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
5218
5219 wxPy_END_ALLOW_THREADS;
5220 if (PyErr_Occurred()) return NULL;
5221} if (_result) {
5222 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5223 _resultobj = Py_BuildValue("s",_ptemp);
5224 } else {
5225 Py_INCREF(Py_None);
5226 _resultobj = Py_None;
5227 }
5228{
5229 if (_obj6)
5230 delete _arg6;
5231}
5232 return _resultobj;
5233}
5234
5235#define new_wxPreListView() (new wxListView())
5236static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject * _resultobj;
5238 wxListView * _result;
5239 char *_kwnames[] = { NULL };
5240 char _ptemp[128];
5241
5242 self = self;
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5244 return NULL;
5245{
5246 wxPy_BEGIN_ALLOW_THREADS;
5247 _result = (wxListView *)new_wxPreListView();
5248
5249 wxPy_END_ALLOW_THREADS;
5250 if (PyErr_Occurred()) return NULL;
5251} if (_result) {
5252 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5253 _resultobj = Py_BuildValue("s",_ptemp);
5254 } else {
5255 Py_INCREF(Py_None);
5256 _resultobj = Py_None;
5257 }
5258 return _resultobj;
5259}
5260
5261#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5262static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5263 PyObject * _resultobj;
5264 bool _result;
5265 wxListView * _arg0;
5266 wxWindow * _arg1;
5267 wxWindowID _arg2 = (wxWindowID ) -1;
5268 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5269 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5270 long _arg5 = (long ) (wxLC_REPORT);
5271 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
5272 wxString * _arg7 = (wxString *) &"listctrl";
5273 PyObject * _argo0 = 0;
5274 PyObject * _argo1 = 0;
5275 wxPoint temp;
5276 PyObject * _obj3 = 0;
5277 wxSize temp0;
5278 PyObject * _obj4 = 0;
5279 PyObject * _argo6 = 0;
5280 PyObject * _obj7 = 0;
5281 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5282
5283 self = self;
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5285 return NULL;
5286 if (_argo0) {
5287 if (_argo0 == Py_None) { _arg0 = NULL; }
5288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5290 return NULL;
5291 }
5292 }
5293 if (_argo1) {
5294 if (_argo1 == Py_None) { _arg1 = NULL; }
5295 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5296 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5297 return NULL;
5298 }
5299 }
5300 if (_obj3)
5301{
5302 _arg3 = &temp;
5303 if (! wxPoint_helper(_obj3, &_arg3))
5304 return NULL;
5305}
5306 if (_obj4)
5307{
5308 _arg4 = &temp0;
5309 if (! wxSize_helper(_obj4, &_arg4))
5310 return NULL;
5311}
5312 if (_argo6) {
5313 if (_argo6 == Py_None) { _arg6 = NULL; }
5314 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5315 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5316 return NULL;
5317 }
5318 }
5319 if (_obj7)
5320{
5321#if PYTHON_API_VERSION >= 1009
5322 char* tmpPtr; int tmpSize;
5323 if (!PyString_Check(_obj7) && !PyUnicode_Check(_obj7)) {
5324 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5325 return NULL;
5326 }
5327 if (PyString_AsStringAndSize(_obj7, &tmpPtr, &tmpSize) == -1)
5328 return NULL;
5329 _arg7 = new wxString(tmpPtr, tmpSize);
5330#else
5331 if (!PyString_Check(_obj7)) {
5332 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5333 return NULL;
5334 }
5335 _arg7 = new wxString(PyString_AS_STRING(_obj7), PyString_GET_SIZE(_obj7));
5336#endif
5337}
5338{
5339 wxPy_BEGIN_ALLOW_THREADS;
5340 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
5341
5342 wxPy_END_ALLOW_THREADS;
5343 if (PyErr_Occurred()) return NULL;
5344} _resultobj = Py_BuildValue("i",_result);
5345{
5346 if (_obj7)
5347 delete _arg7;
5348}
5349 return _resultobj;
5350}
5351
5352#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5353static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject * _resultobj;
5355 wxListView * _arg0;
5356 long _arg1;
5357 bool _arg2 = (bool ) TRUE;
5358 PyObject * _argo0 = 0;
5359 int tempbool2 = (int) TRUE;
5360 char *_kwnames[] = { "self","n","on", NULL };
5361
5362 self = self;
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5364 return NULL;
5365 if (_argo0) {
5366 if (_argo0 == Py_None) { _arg0 = NULL; }
5367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5369 return NULL;
5370 }
5371 }
5372 _arg2 = (bool ) tempbool2;
5373{
5374 wxPy_BEGIN_ALLOW_THREADS;
5375 wxListView_Select(_arg0,_arg1,_arg2);
5376
5377 wxPy_END_ALLOW_THREADS;
5378 if (PyErr_Occurred()) return NULL;
5379} Py_INCREF(Py_None);
5380 _resultobj = Py_None;
5381 return _resultobj;
5382}
5383
5384#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5385static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5386 PyObject * _resultobj;
5387 wxListView * _arg0;
5388 long _arg1;
5389 PyObject * _argo0 = 0;
5390 char *_kwnames[] = { "self","index", NULL };
5391
5392 self = self;
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5394 return NULL;
5395 if (_argo0) {
5396 if (_argo0 == Py_None) { _arg0 = NULL; }
5397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5399 return NULL;
5400 }
5401 }
5402{
5403 wxPy_BEGIN_ALLOW_THREADS;
5404 wxListView_Focus(_arg0,_arg1);
5405
5406 wxPy_END_ALLOW_THREADS;
5407 if (PyErr_Occurred()) return NULL;
5408} Py_INCREF(Py_None);
5409 _resultobj = Py_None;
5410 return _resultobj;
5411}
5412
5413#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5414static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5415 PyObject * _resultobj;
5416 long _result;
5417 wxListView * _arg0;
5418 PyObject * _argo0 = 0;
5419 char *_kwnames[] = { "self", NULL };
5420
5421 self = self;
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5423 return NULL;
5424 if (_argo0) {
5425 if (_argo0 == Py_None) { _arg0 = NULL; }
5426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5428 return NULL;
5429 }
5430 }
5431{
5432 wxPy_BEGIN_ALLOW_THREADS;
5433 _result = (long )wxListView_GetFocusedItem(_arg0);
5434
5435 wxPy_END_ALLOW_THREADS;
5436 if (PyErr_Occurred()) return NULL;
5437} _resultobj = Py_BuildValue("l",_result);
5438 return _resultobj;
5439}
5440
5441#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5442static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5443 PyObject * _resultobj;
5444 long _result;
5445 wxListView * _arg0;
5446 long _arg1;
5447 PyObject * _argo0 = 0;
5448 char *_kwnames[] = { "self","item", NULL };
5449
5450 self = self;
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5452 return NULL;
5453 if (_argo0) {
5454 if (_argo0 == Py_None) { _arg0 = NULL; }
5455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5457 return NULL;
5458 }
5459 }
5460{
5461 wxPy_BEGIN_ALLOW_THREADS;
5462 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
5463
5464 wxPy_END_ALLOW_THREADS;
5465 if (PyErr_Occurred()) return NULL;
5466} _resultobj = Py_BuildValue("l",_result);
5467 return _resultobj;
5468}
5469
5470#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5471static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5472 PyObject * _resultobj;
5473 long _result;
5474 wxListView * _arg0;
5475 PyObject * _argo0 = 0;
5476 char *_kwnames[] = { "self", NULL };
5477
5478 self = self;
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5480 return NULL;
5481 if (_argo0) {
5482 if (_argo0 == Py_None) { _arg0 = NULL; }
5483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5485 return NULL;
5486 }
5487 }
5488{
5489 wxPy_BEGIN_ALLOW_THREADS;
5490 _result = (long )wxListView_GetFirstSelected(_arg0);
5491
5492 wxPy_END_ALLOW_THREADS;
5493 if (PyErr_Occurred()) return NULL;
5494} _resultobj = Py_BuildValue("l",_result);
5495 return _resultobj;
5496}
5497
5498#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5499static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5500 PyObject * _resultobj;
5501 bool _result;
5502 wxListView * _arg0;
5503 long _arg1;
5504 PyObject * _argo0 = 0;
5505 char *_kwnames[] = { "self","index", NULL };
5506
5507 self = self;
5508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5509 return NULL;
5510 if (_argo0) {
5511 if (_argo0 == Py_None) { _arg0 = NULL; }
5512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5514 return NULL;
5515 }
5516 }
5517{
5518 wxPy_BEGIN_ALLOW_THREADS;
5519 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
5520
5521 wxPy_END_ALLOW_THREADS;
5522 if (PyErr_Occurred()) return NULL;
5523} _resultobj = Py_BuildValue("i",_result);
5524 return _resultobj;
5525}
5526
5527#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5528static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5529 PyObject * _resultobj;
5530 wxListView * _arg0;
5531 int _arg1;
5532 int _arg2;
5533 PyObject * _argo0 = 0;
5534 char *_kwnames[] = { "self","col","image", NULL };
5535
5536 self = self;
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5538 return NULL;
5539 if (_argo0) {
5540 if (_argo0 == Py_None) { _arg0 = NULL; }
5541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5543 return NULL;
5544 }
5545 }
5546{
5547 wxPy_BEGIN_ALLOW_THREADS;
5548 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
5549
5550 wxPy_END_ALLOW_THREADS;
5551 if (PyErr_Occurred()) return NULL;
5552} Py_INCREF(Py_None);
5553 _resultobj = Py_None;
5554 return _resultobj;
5555}
5556
5557#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5558static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5559 PyObject * _resultobj;
5560 wxListView * _arg0;
5561 int _arg1;
5562 PyObject * _argo0 = 0;
5563 char *_kwnames[] = { "self","col", NULL };
5564
5565 self = self;
5566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5567 return NULL;
5568 if (_argo0) {
5569 if (_argo0 == Py_None) { _arg0 = NULL; }
5570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5572 return NULL;
5573 }
5574 }
5575{
5576 wxPy_BEGIN_ALLOW_THREADS;
5577 wxListView_ClearColumnImage(_arg0,_arg1);
5578
5579 wxPy_END_ALLOW_THREADS;
5580 if (PyErr_Occurred()) return NULL;
5581} Py_INCREF(Py_None);
5582 _resultobj = Py_None;
5583 return _resultobj;
5584}
5585
aa2a5b86
RD
5586#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5587static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5588 PyObject * _resultobj;
aa2a5b86
RD
5589 wxTreeItemAttr * _result;
5590 wxColour * _arg0 = (wxColour *) &wxNullColour;
5591 wxColour * _arg1 = (wxColour *) &wxNullColour;
5592 wxFont * _arg2 = (wxFont *) &wxNullFont;
5593 wxColour temp;
5594 PyObject * _obj0 = 0;
5595 wxColour temp0;
5596 PyObject * _obj1 = 0;
5597 PyObject * _argo2 = 0;
5598 char *_kwnames[] = { "colText","colBack","font", NULL };
d5c9047a 5599 char _ptemp[128];
8ab979d7
RD
5600
5601 self = self;
aa2a5b86
RD
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5603 return NULL;
5604 if (_obj0)
5605{
5606 _arg0 = &temp;
5607 if (! wxColour_helper(_obj0, &_arg0))
5608 return NULL;
5609}
5610 if (_obj1)
5611{
5612 _arg1 = &temp0;
5613 if (! wxColour_helper(_obj1, &_arg1))
5614 return NULL;
5615}
5616 if (_argo2) {
5617 if (_argo2 == Py_None) { _arg2 = NULL; }
5618 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5619 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
8ab979d7 5620 return NULL;
aa2a5b86
RD
5621 }
5622 }
cf694132
RD
5623{
5624 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 5625 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
cf694132
RD
5626
5627 wxPy_END_ALLOW_THREADS;
4dfaa61e 5628 if (PyErr_Occurred()) return NULL;
1d99702e 5629} if (_result) {
aa2a5b86 5630 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
1d99702e
RD
5631 _resultobj = Py_BuildValue("s",_ptemp);
5632 } else {
5633 Py_INCREF(Py_None);
5634 _resultobj = Py_None;
5635 }
8ab979d7
RD
5636 return _resultobj;
5637}
5638
aa2a5b86
RD
5639#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5640static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5641 PyObject * _resultobj;
aa2a5b86
RD
5642 wxTreeItemAttr * _arg0;
5643 wxColour * _arg1;
1d99702e 5644 PyObject * _argo0 = 0;
aa2a5b86
RD
5645 wxColour temp;
5646 PyObject * _obj1 = 0;
5647 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
5648
5649 self = self;
aa2a5b86 5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5651 return NULL;
1d99702e
RD
5652 if (_argo0) {
5653 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5656 return NULL;
5657 }
5658 }
aa2a5b86
RD
5659{
5660 _arg1 = &temp;
5661 if (! wxColour_helper(_obj1, &_arg1))
5662 return NULL;
5663}
cf694132
RD
5664{
5665 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 5666 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
cf694132
RD
5667
5668 wxPy_END_ALLOW_THREADS;
4dfaa61e 5669 if (PyErr_Occurred()) return NULL;
cf694132 5670} Py_INCREF(Py_None);
d5c9047a 5671 _resultobj = Py_None;
8ab979d7
RD
5672 return _resultobj;
5673}
5674
aa2a5b86
RD
5675#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5676static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5677 PyObject * _resultobj;
aa2a5b86
RD
5678 wxTreeItemAttr * _arg0;
5679 wxColour * _arg1;
1d99702e 5680 PyObject * _argo0 = 0;
aa2a5b86
RD
5681 wxColour temp;
5682 PyObject * _obj1 = 0;
5683 char *_kwnames[] = { "self","colBack", NULL };
8ab979d7
RD
5684
5685 self = self;
aa2a5b86 5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5687 return NULL;
1d99702e
RD
5688 if (_argo0) {
5689 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5692 return NULL;
5693 }
5694 }
aa2a5b86
RD
5695{
5696 _arg1 = &temp;
5697 if (! wxColour_helper(_obj1, &_arg1))
5698 return NULL;
5699}
cf694132
RD
5700{
5701 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 5702 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132
RD
5703
5704 wxPy_END_ALLOW_THREADS;
4dfaa61e 5705 if (PyErr_Occurred()) return NULL;
aa2a5b86
RD
5706} Py_INCREF(Py_None);
5707 _resultobj = Py_None;
8ab979d7
RD
5708 return _resultobj;
5709}
5710
aa2a5b86
RD
5711#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5712static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5713 PyObject * _resultobj;
aa2a5b86
RD
5714 wxTreeItemAttr * _arg0;
5715 wxFont * _arg1;
f6bcfd97
BP
5716 PyObject * _argo0 = 0;
5717 PyObject * _argo1 = 0;
aa2a5b86 5718 char *_kwnames[] = { "self","font", NULL };
f6bcfd97
BP
5719
5720 self = self;
aa2a5b86 5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
f6bcfd97
BP
5722 return NULL;
5723 if (_argo0) {
5724 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
f6bcfd97
BP
5727 return NULL;
5728 }
5729 }
5730 if (_argo1) {
5731 if (_argo1 == Py_None) { _arg1 = NULL; }
aa2a5b86
RD
5732 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5733 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
f6bcfd97
BP
5734 return NULL;
5735 }
5736 }
5737{
5738 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 5739 wxTreeItemAttr_SetFont(_arg0,*_arg1);
f6bcfd97
BP
5740
5741 wxPy_END_ALLOW_THREADS;
4dfaa61e 5742 if (PyErr_Occurred()) return NULL;
aa2a5b86
RD
5743} Py_INCREF(Py_None);
5744 _resultobj = Py_None;
f6bcfd97
BP
5745 return _resultobj;
5746}
5747
aa2a5b86
RD
5748#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5749static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5750 PyObject * _resultobj;
aa2a5b86
RD
5751 bool _result;
5752 wxTreeItemAttr * _arg0;
5753 PyObject * _argo0 = 0;
5754 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5755
5756 self = self;
aa2a5b86 5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
8ab979d7 5758 return NULL;
aa2a5b86
RD
5759 if (_argo0) {
5760 if (_argo0 == Py_None) { _arg0 = NULL; }
5761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5763 return NULL;
5764 }
5765 }
cf694132
RD
5766{
5767 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 5768 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
cf694132
RD
5769
5770 wxPy_END_ALLOW_THREADS;
4dfaa61e 5771 if (PyErr_Occurred()) return NULL;
aa2a5b86 5772} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5773 return _resultobj;
5774}
5775
aa2a5b86
RD
5776#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5777static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 5778 PyObject * _resultobj;
aa2a5b86
RD
5779 bool _result;
5780 wxTreeItemAttr * _arg0;
1d99702e 5781 PyObject * _argo0 = 0;
efc5f224 5782 char *_kwnames[] = { "self", NULL };
cf694132
RD
5783
5784 self = self;
aa2a5b86 5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
cf694132 5786 return NULL;
1d99702e
RD
5787 if (_argo0) {
5788 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
cf694132
RD
5791 return NULL;
5792 }
5793 }
5794{
5795 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 5796 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
cf694132
RD
5797
5798 wxPy_END_ALLOW_THREADS;
4dfaa61e 5799 if (PyErr_Occurred()) return NULL;
aa2a5b86 5800} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
5801 return _resultobj;
5802}
5803
aa2a5b86
RD
5804#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5805static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5806 PyObject * _resultobj;
aa2a5b86
RD
5807 bool _result;
5808 wxTreeItemAttr * _arg0;
1d99702e 5809 PyObject * _argo0 = 0;
aa2a5b86 5810 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5811
5812 self = self;
aa2a5b86 5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
8ab979d7 5814 return NULL;
1d99702e
RD
5815 if (_argo0) {
5816 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5819 return NULL;
5820 }
5821 }
cf694132
RD
5822{
5823 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 5824 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
cf694132
RD
5825
5826 wxPy_END_ALLOW_THREADS;
4dfaa61e 5827 if (PyErr_Occurred()) return NULL;
aa2a5b86 5828} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5829 return _resultobj;
5830}
5831
aa2a5b86
RD
5832#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5833static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5834 PyObject * _resultobj;
aa2a5b86
RD
5835 wxColour * _result;
5836 wxTreeItemAttr * _arg0;
1d99702e 5837 PyObject * _argo0 = 0;
efc5f224 5838 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5839 char _ptemp[128];
5840
5841 self = self;
aa2a5b86 5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 5843 return NULL;
1d99702e
RD
5844 if (_argo0) {
5845 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5848 return NULL;
5849 }
5850 }
cf694132
RD
5851{
5852 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86
RD
5853 const wxColour & _result_ref = wxTreeItemAttr_GetTextColour(_arg0);
5854 _result = (wxColour *) &_result_ref;
cf694132
RD
5855
5856 wxPy_END_ALLOW_THREADS;
4dfaa61e 5857 if (PyErr_Occurred()) return NULL;
1d99702e 5858} if (_result) {
aa2a5b86 5859 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1d99702e
RD
5860 _resultobj = Py_BuildValue("s",_ptemp);
5861 } else {
5862 Py_INCREF(Py_None);
5863 _resultobj = Py_None;
5864 }
8ab979d7
RD
5865 return _resultobj;
5866}
5867
aa2a5b86
RD
5868#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5869static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 5870 PyObject * _resultobj;
aa2a5b86
RD
5871 wxColour * _result;
5872 wxTreeItemAttr * _arg0;
1d99702e 5873 PyObject * _argo0 = 0;
aa2a5b86
RD
5874 char *_kwnames[] = { "self", NULL };
5875 char _ptemp[128];
5876
5877 self = self;
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5879 return NULL;
5880 if (_argo0) {
5881 if (_argo0 == Py_None) { _arg0 = NULL; }
5882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5884 return NULL;
5885 }
5886 }
5887{
5888 wxPy_BEGIN_ALLOW_THREADS;
5889 const wxColour & _result_ref = wxTreeItemAttr_GetBackgroundColour(_arg0);
5890 _result = (wxColour *) &_result_ref;
5891
5892 wxPy_END_ALLOW_THREADS;
5893 if (PyErr_Occurred()) return NULL;
5894} if (_result) {
5895 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5896 _resultobj = Py_BuildValue("s",_ptemp);
5897 } else {
5898 Py_INCREF(Py_None);
5899 _resultobj = Py_None;
5900 }
5901 return _resultobj;
5902}
5903
5904#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5905static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject * _resultobj;
5907 wxFont * _result;
5908 wxTreeItemAttr * _arg0;
5909 PyObject * _argo0 = 0;
5910 char *_kwnames[] = { "self", NULL };
5911 char _ptemp[128];
5912
5913 self = self;
5914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5915 return NULL;
5916 if (_argo0) {
5917 if (_argo0 == Py_None) { _arg0 = NULL; }
5918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5920 return NULL;
5921 }
5922 }
5923{
5924 wxPy_BEGIN_ALLOW_THREADS;
5925 const wxFont & _result_ref = wxTreeItemAttr_GetFont(_arg0);
5926 _result = (wxFont *) &_result_ref;
5927
5928 wxPy_END_ALLOW_THREADS;
5929 if (PyErr_Occurred()) return NULL;
5930} if (_result) {
5931 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
5932 _resultobj = Py_BuildValue("s",_ptemp);
5933 } else {
5934 Py_INCREF(Py_None);
5935 _resultobj = Py_None;
5936 }
5937 return _resultobj;
5938}
5939
5940#define new_wxTreeItemId() (new wxTreeItemId())
5941static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
5942 PyObject * _resultobj;
5943 wxTreeItemId * _result;
5944 char *_kwnames[] = { NULL };
5945 char _ptemp[128];
5946
5947 self = self;
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
5949 return NULL;
5950{
5951 wxPy_BEGIN_ALLOW_THREADS;
5952 _result = (wxTreeItemId *)new_wxTreeItemId();
5953
5954 wxPy_END_ALLOW_THREADS;
5955 if (PyErr_Occurred()) return NULL;
5956} if (_result) {
5957 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5958 _resultobj = Py_BuildValue("s",_ptemp);
5959 } else {
5960 Py_INCREF(Py_None);
5961 _resultobj = Py_None;
5962 }
5963 return _resultobj;
5964}
5965
5966#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5967static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
5968 PyObject * _resultobj;
5969 wxTreeItemId * _arg0;
5970 PyObject * _argo0 = 0;
5971 char *_kwnames[] = { "self", NULL };
5972
5973 self = self;
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
5975 return NULL;
5976 if (_argo0) {
5977 if (_argo0 == Py_None) { _arg0 = NULL; }
5978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5980 return NULL;
5981 }
5982 }
5983{
5984 wxPy_BEGIN_ALLOW_THREADS;
5985 delete_wxTreeItemId(_arg0);
5986
5987 wxPy_END_ALLOW_THREADS;
5988 if (PyErr_Occurred()) return NULL;
5989} Py_INCREF(Py_None);
5990 _resultobj = Py_None;
5991 return _resultobj;
5992}
5993
5994#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5995static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
5996 PyObject * _resultobj;
5997 bool _result;
5998 wxTreeItemId * _arg0;
5999 PyObject * _argo0 = 0;
6000 char *_kwnames[] = { "self", NULL };
6001
6002 self = self;
6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
6004 return NULL;
6005 if (_argo0) {
6006 if (_argo0 == Py_None) { _arg0 = NULL; }
6007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
6008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
6009 return NULL;
6010 }
6011 }
6012{
6013 wxPy_BEGIN_ALLOW_THREADS;
6014 _result = (bool )wxTreeItemId_IsOk(_arg0);
6015
6016 wxPy_END_ALLOW_THREADS;
6017 if (PyErr_Occurred()) return NULL;
6018} _resultobj = Py_BuildValue("i",_result);
6019 return _resultobj;
6020}
6021
6022static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
6023 if (! other) return -1;
6024 return *self != *other;
6025 }
6026static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6027 PyObject * _resultobj;
6028 int _result;
6029 wxTreeItemId * _arg0;
6030 wxTreeItemId * _arg1;
6031 PyObject * _argo0 = 0;
6032 PyObject * _argo1 = 0;
6033 char *_kwnames[] = { "self","other", NULL };
6034
6035 self = self;
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
6037 return NULL;
6038 if (_argo0) {
6039 if (_argo0 == Py_None) { _arg0 = NULL; }
6040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
6041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6042 return NULL;
6043 }
6044 }
6045 if (_argo1) {
6046 if (_argo1 == Py_None) { _arg1 = NULL; }
6047 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6048 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6049 return NULL;
6050 }
6051 }
6052{
6053 wxPy_BEGIN_ALLOW_THREADS;
6054 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
6055
6056 wxPy_END_ALLOW_THREADS;
6057 if (PyErr_Occurred()) return NULL;
6058} _resultobj = Py_BuildValue("i",_result);
6059 return _resultobj;
6060}
6061
6062static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
6063 wxPyTreeItemData *src;
6064 wxObject *dest;
6065 src = (wxPyTreeItemData *) ptr;
6066 dest = (wxObject *) src;
6067 return (void *) dest;
6068}
6069
6070#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6071static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
6072 PyObject * _resultobj;
6073 wxPyTreeItemData * _result;
6074 PyObject * _arg0 = (PyObject *) NULL;
6075 PyObject * _obj0 = 0;
6076 char *_kwnames[] = { "obj", NULL };
6077 char _ptemp[128];
6078
6079 self = self;
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
6081 return NULL;
6082 if (_obj0)
6083{
6084 _arg0 = _obj0;
6085}
6086{
6087 wxPy_BEGIN_ALLOW_THREADS;
6088 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
6089
6090 wxPy_END_ALLOW_THREADS;
6091 if (PyErr_Occurred()) return NULL;
6092} if (_result) {
6093 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
6094 _resultobj = Py_BuildValue("s",_ptemp);
6095 } else {
6096 Py_INCREF(Py_None);
6097 _resultobj = Py_None;
6098 }
6099 return _resultobj;
6100}
6101
6102#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6103static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
6104 PyObject * _resultobj;
6105 PyObject * _result;
6106 wxPyTreeItemData * _arg0;
6107 PyObject * _argo0 = 0;
6108 char *_kwnames[] = { "self", NULL };
6109
6110 self = self;
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
6112 return NULL;
6113 if (_argo0) {
6114 if (_argo0 == Py_None) { _arg0 = NULL; }
6115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6117 return NULL;
6118 }
6119 }
6120{
6121 wxPy_BEGIN_ALLOW_THREADS;
6122 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
6123
6124 wxPy_END_ALLOW_THREADS;
6125 if (PyErr_Occurred()) return NULL;
6126}{
6127 _resultobj = _result;
6128}
6129 return _resultobj;
6130}
6131
6132#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6133static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
6134 PyObject * _resultobj;
6135 wxPyTreeItemData * _arg0;
6136 PyObject * _arg1;
6137 PyObject * _argo0 = 0;
6138 PyObject * _obj1 = 0;
6139 char *_kwnames[] = { "self","obj", NULL };
6140
6141 self = self;
6142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
6143 return NULL;
6144 if (_argo0) {
6145 if (_argo0 == Py_None) { _arg0 = NULL; }
6146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6148 return NULL;
6149 }
6150 }
6151{
6152 _arg1 = _obj1;
6153}
6154{
6155 wxPy_BEGIN_ALLOW_THREADS;
6156 wxTreeItemData_SetData(_arg0,_arg1);
6157
6158 wxPy_END_ALLOW_THREADS;
6159 if (PyErr_Occurred()) return NULL;
6160} Py_INCREF(Py_None);
6161 _resultobj = Py_None;
6162 return _resultobj;
6163}
6164
6165#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6166static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6167 PyObject * _resultobj;
6168 wxTreeItemId * _result;
6169 wxPyTreeItemData * _arg0;
6170 PyObject * _argo0 = 0;
6171 char *_kwnames[] = { "self", NULL };
6172 char _ptemp[128];
6173
6174 self = self;
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
6176 return NULL;
6177 if (_argo0) {
6178 if (_argo0 == Py_None) { _arg0 = NULL; }
6179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6181 return NULL;
6182 }
6183 }
6184{
6185 wxPy_BEGIN_ALLOW_THREADS;
6186 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
6187 _result = (wxTreeItemId *) &_result_ref;
6188
6189 wxPy_END_ALLOW_THREADS;
6190 if (PyErr_Occurred()) return NULL;
6191} if (_result) {
6192 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6193 _resultobj = Py_BuildValue("s",_ptemp);
6194 } else {
6195 Py_INCREF(Py_None);
6196 _resultobj = Py_None;
6197 }
6198 return _resultobj;
6199}
6200
6201#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6202static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6203 PyObject * _resultobj;
6204 wxPyTreeItemData * _arg0;
6205 wxTreeItemId * _arg1;
6206 PyObject * _argo0 = 0;
6207 PyObject * _argo1 = 0;
6208 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6209
6210 self = self;
efc5f224 6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6212 return NULL;
1d99702e
RD
6213 if (_argo0) {
6214 if (_argo0 == Py_None) { _arg0 = NULL; }
6215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6217 return NULL;
6218 }
6219 }
1d99702e
RD
6220 if (_argo1) {
6221 if (_argo1 == Py_None) { _arg1 = NULL; }
6222 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6224 return NULL;
6225 }
6226 }
cf694132
RD
6227{
6228 wxPy_BEGIN_ALLOW_THREADS;
6229 wxTreeItemData_SetId(_arg0,*_arg1);
6230
6231 wxPy_END_ALLOW_THREADS;
4dfaa61e 6232 if (PyErr_Occurred()) return NULL;
cf694132 6233} Py_INCREF(Py_None);
630d84f2
RD
6234 _resultobj = Py_None;
6235 return _resultobj;
6236}
6237
8bf5d46e
RD
6238static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6239 wxTreeEvent *src;
6240 wxNotifyEvent *dest;
6241 src = (wxTreeEvent *) ptr;
6242 dest = (wxNotifyEvent *) src;
6243 return (void *) dest;
6244}
6245
8ab979d7
RD
6246static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6247 wxTreeEvent *src;
6248 wxCommandEvent *dest;
6249 src = (wxTreeEvent *) ptr;
6250 dest = (wxCommandEvent *) src;
6251 return (void *) dest;
6252}
6253
6254static void *SwigwxTreeEventTowxEvent(void *ptr) {
6255 wxTreeEvent *src;
6256 wxEvent *dest;
6257 src = (wxTreeEvent *) ptr;
6258 dest = (wxEvent *) src;
6259 return (void *) dest;
6260}
6261
9df61a29
RD
6262static void *SwigwxTreeEventTowxObject(void *ptr) {
6263 wxTreeEvent *src;
6264 wxObject *dest;
6265 src = (wxTreeEvent *) ptr;
6266 dest = (wxObject *) src;
6267 return (void *) dest;
6268}
6269
aa2a5b86
RD
6270#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6271static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject * _resultobj;
6273 wxTreeEvent * _result;
6274 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6275 int _arg1 = (int ) 0;
6276 char *_kwnames[] = { "commandType","id", NULL };
6277 char _ptemp[128];
6278
6279 self = self;
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6281 return NULL;
6282{
6283 wxPy_BEGIN_ALLOW_THREADS;
6284 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
6285
6286 wxPy_END_ALLOW_THREADS;
6287 if (PyErr_Occurred()) return NULL;
6288} if (_result) {
6289 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6290 _resultobj = Py_BuildValue("s",_ptemp);
6291 } else {
6292 Py_INCREF(Py_None);
6293 _resultobj = Py_None;
6294 }
6295 return _resultobj;
6296}
6297
d5c9047a 6298#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6299static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6300 PyObject * _resultobj;
d5c9047a 6301 wxTreeItemId * _result;
8ab979d7 6302 wxTreeEvent * _arg0;
1d99702e 6303 PyObject * _argo0 = 0;
efc5f224 6304 char *_kwnames[] = { "self", NULL };
d5c9047a 6305 char _ptemp[128];
8ab979d7
RD
6306
6307 self = self;
efc5f224 6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6309 return NULL;
1d99702e
RD
6310 if (_argo0) {
6311 if (_argo0 == Py_None) { _arg0 = NULL; }
6312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6314 return NULL;
6315 }
6316 }
cf694132
RD
6317{
6318 wxPy_BEGIN_ALLOW_THREADS;
6319 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
6320
6321 wxPy_END_ALLOW_THREADS;
4dfaa61e 6322 if (PyErr_Occurred()) return NULL;
cf694132 6323} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6324 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6325 return _resultobj;
6326}
6327
d5c9047a 6328#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6329static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6330 PyObject * _resultobj;
d5c9047a 6331 wxTreeItemId * _result;
8ab979d7 6332 wxTreeEvent * _arg0;
1d99702e 6333 PyObject * _argo0 = 0;
efc5f224 6334 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6335 char _ptemp[128];
6336
6337 self = self;
efc5f224 6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6339 return NULL;
1d99702e
RD
6340 if (_argo0) {
6341 if (_argo0 == Py_None) { _arg0 = NULL; }
6342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6344 return NULL;
6345 }
6346 }
cf694132
RD
6347{
6348 wxPy_BEGIN_ALLOW_THREADS;
6349 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
6350
6351 wxPy_END_ALLOW_THREADS;
4dfaa61e 6352 if (PyErr_Occurred()) return NULL;
cf694132 6353} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6354 _resultobj = Py_BuildValue("s",_ptemp);
6355 return _resultobj;
6356}
6357
d5c9047a 6358#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6359static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6360 PyObject * _resultobj;
d5c9047a 6361 wxPoint * _result;
8ab979d7 6362 wxTreeEvent * _arg0;
1d99702e 6363 PyObject * _argo0 = 0;
efc5f224 6364 char *_kwnames[] = { "self", NULL };
d5c9047a 6365 char _ptemp[128];
8ab979d7
RD
6366
6367 self = self;
efc5f224 6368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6369 return NULL;
1d99702e
RD
6370 if (_argo0) {
6371 if (_argo0 == Py_None) { _arg0 = NULL; }
6372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6374 return NULL;
6375 }
6376 }
cf694132
RD
6377{
6378 wxPy_BEGIN_ALLOW_THREADS;
6379 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
6380
6381 wxPy_END_ALLOW_THREADS;
4dfaa61e 6382 if (PyErr_Occurred()) return NULL;
cf694132 6383} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6384 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6385 return _resultobj;
6386}
6387
65191ae8
RD
6388#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6389static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject * _resultobj;
6391 wxKeyEvent * _result;
6392 wxTreeEvent * _arg0;
6393 PyObject * _argo0 = 0;
6394 char *_kwnames[] = { "self", NULL };
6395 char _ptemp[128];
6396
6397 self = self;
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6399 return NULL;
6400 if (_argo0) {
6401 if (_argo0 == Py_None) { _arg0 = NULL; }
6402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6404 return NULL;
6405 }
6406 }
6407{
6408 wxPy_BEGIN_ALLOW_THREADS;
6409 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
6410 _result = (wxKeyEvent *) &_result_ref;
6411
6412 wxPy_END_ALLOW_THREADS;
6413 if (PyErr_Occurred()) return NULL;
6414} if (_result) {
6415 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6416 _resultobj = Py_BuildValue("s",_ptemp);
6417 } else {
6418 Py_INCREF(Py_None);
6419 _resultobj = Py_None;
6420 }
6421 return _resultobj;
6422}
6423
d5c9047a 6424#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 6425static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6426 PyObject * _resultobj;
d5c9047a 6427 int _result;
8ab979d7 6428 wxTreeEvent * _arg0;
1d99702e 6429 PyObject * _argo0 = 0;
efc5f224 6430 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6431
6432 self = self;
efc5f224 6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 6434 return NULL;
1d99702e
RD
6435 if (_argo0) {
6436 if (_argo0 == Py_None) { _arg0 = NULL; }
6437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6439 return NULL;
6440 }
6441 }
cf694132
RD
6442{
6443 wxPy_BEGIN_ALLOW_THREADS;
6444 _result = (int )wxTreeEvent_GetCode(_arg0);
6445
6446 wxPy_END_ALLOW_THREADS;
4dfaa61e 6447 if (PyErr_Occurred()) return NULL;
cf694132 6448} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6449 return _resultobj;
6450}
6451
8bf5d46e 6452#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6453static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6454 PyObject * _resultobj;
8bf5d46e 6455 wxString * _result;
d5c9047a 6456 wxTreeEvent * _arg0;
1d99702e 6457 PyObject * _argo0 = 0;
efc5f224 6458 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6459
6460 self = self;
efc5f224 6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6462 return NULL;
1d99702e
RD
6463 if (_argo0) {
6464 if (_argo0 == Py_None) { _arg0 = NULL; }
6465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6467 return NULL;
6468 }
6469 }
cf694132
RD
6470{
6471 wxPy_BEGIN_ALLOW_THREADS;
8bf5d46e
RD
6472 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
6473 _result = (wxString *) &_result_ref;
cf694132
RD
6474
6475 wxPy_END_ALLOW_THREADS;
4dfaa61e 6476 if (PyErr_Occurred()) return NULL;
8bf5d46e 6477}{
eec92d76 6478 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8bf5d46e 6479}
8ab979d7
RD
6480 return _resultobj;
6481}
6482
f6bcfd97
BP
6483static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6484 wxPyTreeCtrl *src;
8ab979d7 6485 wxControl *dest;
f6bcfd97 6486 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6487 dest = (wxControl *) src;
6488 return (void *) dest;
6489}
6490
f6bcfd97
BP
6491static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6492 wxPyTreeCtrl *src;
8ab979d7 6493 wxWindow *dest;
f6bcfd97 6494 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6495 dest = (wxWindow *) src;
6496 return (void *) dest;
6497}
6498
f6bcfd97
BP
6499static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6500 wxPyTreeCtrl *src;
8ab979d7 6501 wxEvtHandler *dest;
f6bcfd97 6502 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6503 dest = (wxEvtHandler *) src;
6504 return (void *) dest;
6505}
6506
9df61a29
RD
6507static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6508 wxPyTreeCtrl *src;
6509 wxObject *dest;
6510 src = (wxPyTreeCtrl *) ptr;
6511 dest = (wxObject *) src;
6512 return (void *) dest;
6513}
6514
f6bcfd97 6515#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6516static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6517 PyObject * _resultobj;
f6bcfd97 6518 wxPyTreeCtrl * _result;
8ab979d7 6519 wxWindow * _arg0;
1d99702e 6520 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
6521 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6522 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
aa2a5b86 6523 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
b68dc582 6524 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
6525 char * _arg6 = (char *) "wxTreeCtrl";
6526 PyObject * _argo0 = 0;
2f90df85
RD
6527 wxPoint temp;
6528 PyObject * _obj2 = 0;
6529 wxSize temp0;
6530 PyObject * _obj3 = 0;
1d99702e 6531 PyObject * _argo5 = 0;
efc5f224 6532 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6533 char _ptemp[128];
6534
6535 self = self;
2f90df85 6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 6537 return NULL;
1d99702e
RD
6538 if (_argo0) {
6539 if (_argo0 == Py_None) { _arg0 = NULL; }
6540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6542 return NULL;
6543 }
6544 }
2f90df85
RD
6545 if (_obj2)
6546{
6547 _arg2 = &temp;
6548 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6549 return NULL;
2f90df85
RD
6550}
6551 if (_obj3)
6552{
6553 _arg3 = &temp0;
6554 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6555 return NULL;
2f90df85 6556}
1d99702e
RD
6557 if (_argo5) {
6558 if (_argo5 == Py_None) { _arg5 = NULL; }
6559 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6560 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6561 return NULL;
6562 }
6563 }
cf694132
RD
6564{
6565 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 6566 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
cf694132
RD
6567
6568 wxPy_END_ALLOW_THREADS;
4dfaa61e 6569 if (PyErr_Occurred()) return NULL;
1d99702e 6570} if (_result) {
f6bcfd97 6571 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6572 _resultobj = Py_BuildValue("s",_ptemp);
6573 } else {
6574 Py_INCREF(Py_None);
6575 _resultobj = Py_None;
6576 }
8ab979d7
RD
6577 return _resultobj;
6578}
6579
aa2a5b86
RD
6580#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6581static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 6582 PyObject * _resultobj;
aa2a5b86
RD
6583 wxPyTreeCtrl * _result;
6584 char *_kwnames[] = { NULL };
6585 char _ptemp[128];
6586
6587 self = self;
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6589 return NULL;
6590{
6591 wxPy_BEGIN_ALLOW_THREADS;
6592 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
6593
6594 wxPy_END_ALLOW_THREADS;
6595 if (PyErr_Occurred()) return NULL;
6596} if (_result) {
6597 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6598 _resultobj = Py_BuildValue("s",_ptemp);
6599 } else {
6600 Py_INCREF(Py_None);
6601 _resultobj = Py_None;
6602 }
6603 return _resultobj;
6604}
6605
6606#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6607static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6608 PyObject * _resultobj;
6609 bool _result;
f6bcfd97 6610 wxPyTreeCtrl * _arg0;
aa2a5b86
RD
6611 wxWindow * _arg1;
6612 wxWindowID _arg2 = (wxWindowID ) -1;
6613 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6614 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6615 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6616 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
6617 char * _arg7 = (char *) "wxTreeCtrl";
f6bcfd97 6618 PyObject * _argo0 = 0;
aa2a5b86
RD
6619 PyObject * _argo1 = 0;
6620 wxPoint temp;
6621 PyObject * _obj3 = 0;
6622 wxSize temp0;
6623 PyObject * _obj4 = 0;
6624 PyObject * _argo6 = 0;
6625 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
f6bcfd97
BP
6626
6627 self = self;
aa2a5b86 6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
f6bcfd97
BP
6629 return NULL;
6630 if (_argo0) {
6631 if (_argo0 == Py_None) { _arg0 = NULL; }
6632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
aa2a5b86
RD
6633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6634 return NULL;
6635 }
6636 }
6637 if (_argo1) {
6638 if (_argo1 == Py_None) { _arg1 = NULL; }
6639 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6640 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
f6bcfd97
BP
6641 return NULL;
6642 }
6643 }
aa2a5b86 6644 if (_obj3)
f6bcfd97 6645{
aa2a5b86
RD
6646 _arg3 = &temp;
6647 if (! wxPoint_helper(_obj3, &_arg3))
6648 return NULL;
f6bcfd97 6649}
aa2a5b86 6650 if (_obj4)
f6bcfd97 6651{
aa2a5b86
RD
6652 _arg4 = &temp0;
6653 if (! wxSize_helper(_obj4, &_arg4))
6654 return NULL;
f6bcfd97 6655}
aa2a5b86
RD
6656 if (_argo6) {
6657 if (_argo6 == Py_None) { _arg6 = NULL; }
6658 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6659 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6660 return NULL;
6661 }
6662 }
f6bcfd97
BP
6663{
6664 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 6665 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
f6bcfd97
BP
6666
6667 wxPy_END_ALLOW_THREADS;
4dfaa61e 6668 if (PyErr_Occurred()) return NULL;
aa2a5b86 6669} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
6670 return _resultobj;
6671}
6672
0220cbc1
RD
6673#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6674static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9c4165ad
RD
6675 PyObject * _resultobj;
6676 wxPyTreeCtrl * _arg0;
aa2a5b86
RD
6677 PyObject * _arg1;
6678 PyObject * _arg2;
9c4165ad 6679 PyObject * _argo0 = 0;
aa2a5b86
RD
6680 PyObject * _obj1 = 0;
6681 PyObject * _obj2 = 0;
6682 char *_kwnames[] = { "self","self","_class", NULL };
9c4165ad
RD
6683
6684 self = self;
0220cbc1 6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
9c4165ad
RD
6686 return NULL;
6687 if (_argo0) {
6688 if (_argo0 == Py_None) { _arg0 = NULL; }
6689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0220cbc1 6690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
9c4165ad
RD
6691 return NULL;
6692 }
6693 }
aa2a5b86
RD
6694{
6695 _arg1 = _obj1;
6696}
6697{
6698 _arg2 = _obj2;
6699}
9c4165ad
RD
6700{
6701 wxPy_BEGIN_ALLOW_THREADS;
0220cbc1 6702 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
9c4165ad
RD
6703
6704 wxPy_END_ALLOW_THREADS;
4dfaa61e 6705 if (PyErr_Occurred()) return NULL;
9c4165ad
RD
6706} Py_INCREF(Py_None);
6707 _resultobj = Py_None;
6708 return _resultobj;
6709}
6710
d5c9047a 6711#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6712static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6713 PyObject * _resultobj;
c127177f 6714 size_t _result;
f6bcfd97 6715 wxPyTreeCtrl * _arg0;
1d99702e 6716 PyObject * _argo0 = 0;
efc5f224 6717 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6718
6719 self = self;
efc5f224 6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 6721 return NULL;
1d99702e
RD
6722 if (_argo0) {
6723 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6726 return NULL;
6727 }
6728 }
cf694132
RD
6729{
6730 wxPy_BEGIN_ALLOW_THREADS;
c127177f 6731 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132
RD
6732
6733 wxPy_END_ALLOW_THREADS;
4dfaa61e 6734 if (PyErr_Occurred()) return NULL;
c127177f 6735} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6736 return _resultobj;
6737}
6738
d5c9047a 6739#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6740static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6741 PyObject * _resultobj;
d5c9047a 6742 unsigned int _result;
f6bcfd97 6743 wxPyTreeCtrl * _arg0;
1d99702e 6744 PyObject * _argo0 = 0;
efc5f224 6745 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6746
6747 self = self;
efc5f224 6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 6749 return NULL;
1d99702e
RD
6750 if (_argo0) {
6751 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6754 return NULL;
6755 }
6756 }
cf694132
RD
6757{
6758 wxPy_BEGIN_ALLOW_THREADS;
6759 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
6760
6761 wxPy_END_ALLOW_THREADS;
4dfaa61e 6762 if (PyErr_Occurred()) return NULL;
cf694132 6763} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6764 return _resultobj;
6765}
6766
d5c9047a 6767#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6768static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6769 PyObject * _resultobj;
f6bcfd97 6770 wxPyTreeCtrl * _arg0;
d5c9047a 6771 unsigned int _arg1;
1d99702e 6772 PyObject * _argo0 = 0;
efc5f224 6773 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6774
6775 self = self;
efc5f224 6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 6777 return NULL;
1d99702e
RD
6778 if (_argo0) {
6779 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6782 return NULL;
6783 }
6784 }
cf694132
RD
6785{
6786 wxPy_BEGIN_ALLOW_THREADS;
6787 wxTreeCtrl_SetIndent(_arg0,_arg1);
6788
6789 wxPy_END_ALLOW_THREADS;
4dfaa61e 6790 if (PyErr_Occurred()) return NULL;
cf694132 6791} Py_INCREF(Py_None);
d5c9047a 6792 _resultobj = Py_None;
8ab979d7
RD
6793 return _resultobj;
6794}
6795
d5c9047a 6796#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6797static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6798 PyObject * _resultobj;
d5c9047a 6799 wxImageList * _result;
f6bcfd97 6800 wxPyTreeCtrl * _arg0;
1d99702e 6801 PyObject * _argo0 = 0;
efc5f224 6802 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6803
6804 self = self;
efc5f224 6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6806 return NULL;
1d99702e
RD
6807 if (_argo0) {
6808 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6811 return NULL;
6812 }
6813 }
cf694132
RD
6814{
6815 wxPy_BEGIN_ALLOW_THREADS;
6816 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
6817
6818 wxPy_END_ALLOW_THREADS;
4dfaa61e 6819 if (PyErr_Occurred()) return NULL;
9df61a29 6820}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6821 return _resultobj;
6822}
6823
d5c9047a 6824#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6825static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6826 PyObject * _resultobj;
d5c9047a 6827 wxImageList * _result;
f6bcfd97 6828 wxPyTreeCtrl * _arg0;
1d99702e 6829 PyObject * _argo0 = 0;
efc5f224 6830 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6831
6832 self = self;
efc5f224 6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6834 return NULL;
1d99702e
RD
6835 if (_argo0) {
6836 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6839 return NULL;
6840 }
6841 }
cf694132
RD
6842{
6843 wxPy_BEGIN_ALLOW_THREADS;
6844 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
6845
6846 wxPy_END_ALLOW_THREADS;
4dfaa61e 6847 if (PyErr_Occurred()) return NULL;
9df61a29 6848}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6849 return _resultobj;
6850}
6851
d5c9047a 6852#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6853static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6854 PyObject * _resultobj;
f6bcfd97 6855 wxPyTreeCtrl * _arg0;
d5c9047a 6856 wxImageList * _arg1;
1d99702e
RD
6857 PyObject * _argo0 = 0;
6858 PyObject * _argo1 = 0;
efc5f224 6859 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6860
6861 self = self;
efc5f224 6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6863 return NULL;
1d99702e
RD
6864 if (_argo0) {
6865 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6868 return NULL;
6869 }
6870 }
1d99702e
RD
6871 if (_argo1) {
6872 if (_argo1 == Py_None) { _arg1 = NULL; }
6873 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6874 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6875 return NULL;
6876 }
6877 }
cf694132
RD
6878{
6879 wxPy_BEGIN_ALLOW_THREADS;
6880 wxTreeCtrl_SetImageList(_arg0,_arg1);
6881
6882 wxPy_END_ALLOW_THREADS;
4dfaa61e 6883 if (PyErr_Occurred()) return NULL;
cf694132 6884} Py_INCREF(Py_None);
d5c9047a 6885 _resultobj = Py_None;
8ab979d7
RD
6886 return _resultobj;
6887}
6888
d5c9047a 6889#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 6890static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6891 PyObject * _resultobj;
f6bcfd97 6892 wxPyTreeCtrl * _arg0;
d5c9047a 6893 wxImageList * _arg1;
1d99702e
RD
6894 PyObject * _argo0 = 0;
6895 PyObject * _argo1 = 0;
efc5f224 6896 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6897
6898 self = self;
efc5f224 6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6900 return NULL;
1d99702e
RD
6901 if (_argo0) {
6902 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6905 return NULL;
6906 }
6907 }
1d99702e
RD
6908 if (_argo1) {
6909 if (_argo1 == Py_None) { _arg1 = NULL; }
6910 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6911 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6912 return NULL;
6913 }
6914 }
cf694132
RD
6915{
6916 wxPy_BEGIN_ALLOW_THREADS;
6917 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
6918
6919 wxPy_END_ALLOW_THREADS;
4dfaa61e 6920 if (PyErr_Occurred()) return NULL;
cf694132 6921} Py_INCREF(Py_None);
d5c9047a 6922 _resultobj = Py_None;
8ab979d7
RD
6923 return _resultobj;
6924}
6925
aa2a5b86
RD
6926#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6927static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject * _resultobj;
6929 wxPyTreeCtrl * _arg0;
6930 wxImageList * _arg1;
6931 PyObject * _argo0 = 0;
6932 PyObject * _argo1 = 0;
6933 char *_kwnames[] = { "self","imageList", NULL };
6934
6935 self = self;
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
6937 return NULL;
6938 if (_argo0) {
6939 if (_argo0 == Py_None) { _arg0 = NULL; }
6940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6942 return NULL;
6943 }
6944 }
6945 if (_argo1) {
6946 if (_argo1 == Py_None) { _arg1 = NULL; }
6947 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6948 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6949 return NULL;
6950 }
6951 }
6952{
6953 wxPy_BEGIN_ALLOW_THREADS;
6954 wxTreeCtrl_AssignImageList(_arg0,_arg1);
6955
6956 wxPy_END_ALLOW_THREADS;
6957 if (PyErr_Occurred()) return NULL;
6958} Py_INCREF(Py_None);
6959 _resultobj = Py_None;
6960 return _resultobj;
6961}
6962
6963#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6964static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject * _resultobj;
6966 wxPyTreeCtrl * _arg0;
6967 wxImageList * _arg1;
6968 PyObject * _argo0 = 0;
6969 PyObject * _argo1 = 0;
6970 char *_kwnames[] = { "self","imageList", NULL };
6971
6972 self = self;
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
6974 return NULL;
6975 if (_argo0) {
6976 if (_argo0 == Py_None) { _arg0 = NULL; }
6977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6979 return NULL;
6980 }
6981 }
6982 if (_argo1) {
6983 if (_argo1 == Py_None) { _arg1 = NULL; }
6984 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6985 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6986 return NULL;
6987 }
6988 }
6989{
6990 wxPy_BEGIN_ALLOW_THREADS;
6991 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
6992
6993 wxPy_END_ALLOW_THREADS;
6994 if (PyErr_Occurred()) return NULL;
6995} Py_INCREF(Py_None);
6996 _resultobj = Py_None;
6997 return _resultobj;
6998}
6999
b1462dfa
RD
7000#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7001static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7002 PyObject * _resultobj;
7003 unsigned int _result;
f6bcfd97 7004 wxPyTreeCtrl * _arg0;
b1462dfa
RD
7005 PyObject * _argo0 = 0;
7006 char *_kwnames[] = { "self", NULL };
7007
7008 self = self;
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
7010 return NULL;
7011 if (_argo0) {
7012 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7015 return NULL;
7016 }
7017 }
7018{
7019 wxPy_BEGIN_ALLOW_THREADS;
7020 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
7021
7022 wxPy_END_ALLOW_THREADS;
4dfaa61e 7023 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7024} _resultobj = Py_BuildValue("i",_result);
7025 return _resultobj;
7026}
7027
7028#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7029static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7030 PyObject * _resultobj;
f6bcfd97 7031 wxPyTreeCtrl * _arg0;
b1462dfa
RD
7032 unsigned int _arg1;
7033 PyObject * _argo0 = 0;
7034 char *_kwnames[] = { "self","spacing", NULL };
7035
7036 self = self;
7037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
7038 return NULL;
7039 if (_argo0) {
7040 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7043 return NULL;
7044 }
7045 }
7046{
7047 wxPy_BEGIN_ALLOW_THREADS;
7048 wxTreeCtrl_SetSpacing(_arg0,_arg1);
7049
7050 wxPy_END_ALLOW_THREADS;
4dfaa61e 7051 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7052} Py_INCREF(Py_None);
7053 _resultobj = Py_None;
7054 return _resultobj;
7055}
7056
d5c9047a 7057#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 7058static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7059 PyObject * _resultobj;
d5c9047a 7060 wxString * _result;
f6bcfd97 7061 wxPyTreeCtrl * _arg0;
d5c9047a 7062 wxTreeItemId * _arg1;
1d99702e
RD
7063 PyObject * _argo0 = 0;
7064 PyObject * _argo1 = 0;
efc5f224 7065 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7066
7067 self = self;
efc5f224 7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 7069 return NULL;
1d99702e
RD
7070 if (_argo0) {
7071 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7074 return NULL;
7075 }
7076 }
1d99702e
RD
7077 if (_argo1) {
7078 if (_argo1 == Py_None) { _arg1 = NULL; }
7079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7081 return NULL;
7082 }
7083 }
d5c9047a 7084{
cf694132
RD
7085 wxPy_BEGIN_ALLOW_THREADS;
7086 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
7087
7088 wxPy_END_ALLOW_THREADS;
4dfaa61e 7089 if (PyErr_Occurred()) return NULL;
cf694132 7090}{
eec92d76 7091 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
d5c9047a
RD
7092}
7093{
7094 delete _result;
7095}
8ab979d7
RD
7096 return _resultobj;
7097}
7098
694759cf 7099#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 7100static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7101 PyObject * _resultobj;
d5c9047a 7102 int _result;
f6bcfd97 7103 wxPyTreeCtrl * _arg0;
d5c9047a 7104 wxTreeItemId * _arg1;
694759cf 7105 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7106 PyObject * _argo0 = 0;
7107 PyObject * _argo1 = 0;
694759cf 7108 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
7109
7110 self = self;
694759cf 7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7112 return NULL;
1d99702e
RD
7113 if (_argo0) {
7114 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7117 return NULL;
7118 }
7119 }
1d99702e
RD
7120 if (_argo1) {
7121 if (_argo1 == Py_None) { _arg1 = NULL; }
7122 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7123 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7124 return NULL;
7125 }
7126 }
cf694132
RD
7127{
7128 wxPy_BEGIN_ALLOW_THREADS;
694759cf 7129 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132
RD
7130
7131 wxPy_END_ALLOW_THREADS;
4dfaa61e 7132 if (PyErr_Occurred()) return NULL;
cf694132 7133} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7134 return _resultobj;
7135}
7136
d5c9047a 7137#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 7138static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7139 PyObject * _resultobj;
d5c9047a 7140 int _result;
f6bcfd97 7141 wxPyTreeCtrl * _arg0;
d5c9047a 7142 wxTreeItemId * _arg1;
1d99702e
RD
7143 PyObject * _argo0 = 0;
7144 PyObject * _argo1 = 0;
efc5f224 7145 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7146
7147 self = self;
efc5f224 7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 7149 return NULL;
1d99702e
RD
7150 if (_argo0) {
7151 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7154 return NULL;
7155 }
7156 }
1d99702e
RD
7157 if (_argo1) {
7158 if (_argo1 == Py_None) { _arg1 = NULL; }
7159 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7160 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7161 return NULL;
7162 }
7163 }
cf694132
RD
7164{
7165 wxPy_BEGIN_ALLOW_THREADS;
7166 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 7167
cf694132 7168 wxPy_END_ALLOW_THREADS;
4dfaa61e 7169 if (PyErr_Occurred()) return NULL;
cf694132 7170} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7171 return _resultobj;
7172}
7173
d5c9047a 7174#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 7175static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7176 PyObject * _resultobj;
f6bcfd97 7177 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7178 wxTreeItemId * _arg1;
7179 wxString * _arg2;
1d99702e
RD
7180 PyObject * _argo0 = 0;
7181 PyObject * _argo1 = 0;
d5c9047a 7182 PyObject * _obj2 = 0;
efc5f224 7183 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7184
7185 self = self;
efc5f224 7186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7187 return NULL;
1d99702e
RD
7188 if (_argo0) {
7189 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7192 return NULL;
7193 }
7194 }
1d99702e
RD
7195 if (_argo1) {
7196 if (_argo1 == Py_None) { _arg1 = NULL; }
7197 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7198 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7199 return NULL;
7200 }
7201 }
7202{
2cd2fac8
RD
7203#if PYTHON_API_VERSION >= 1009
7204 char* tmpPtr; int tmpSize;
7205 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 7206 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7207 return NULL;
7208 }
7209 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7210 return NULL;
7211 _arg2 = new wxString(tmpPtr, tmpSize);
7212#else
d5c9047a
RD
7213 if (!PyString_Check(_obj2)) {
7214 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7215 return NULL;
7216 }
2cd2fac8
RD
7217 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7218#endif
d5c9047a 7219}
cf694132
RD
7220{
7221 wxPy_BEGIN_ALLOW_THREADS;
7222 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
7223
7224 wxPy_END_ALLOW_THREADS;
4dfaa61e 7225 if (PyErr_Occurred()) return NULL;
cf694132 7226} Py_INCREF(Py_None);
d5c9047a
RD
7227 _resultobj = Py_None;
7228{
7229 if (_obj2)
7230 delete _arg2;
7231}
8ab979d7
RD
7232 return _resultobj;
7233}
7234
694759cf 7235#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7236static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7237 PyObject * _resultobj;
f6bcfd97 7238 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7239 wxTreeItemId * _arg1;
7240 int _arg2;
694759cf 7241 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7242 PyObject * _argo0 = 0;
7243 PyObject * _argo1 = 0;
694759cf 7244 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7245
7246 self = self;
694759cf 7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7248 return NULL;
1d99702e
RD
7249 if (_argo0) {
7250 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7253 return NULL;
7254 }
7255 }
1d99702e
RD
7256 if (_argo1) {
7257 if (_argo1 == Py_None) { _arg1 = NULL; }
7258 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7259 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7260 return NULL;
7261 }
7262 }
cf694132
RD
7263{
7264 wxPy_BEGIN_ALLOW_THREADS;
694759cf 7265 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132
RD
7266
7267 wxPy_END_ALLOW_THREADS;
4dfaa61e 7268 if (PyErr_Occurred()) return NULL;
cf694132 7269} Py_INCREF(Py_None);
d5c9047a 7270 _resultobj = Py_None;
8ab979d7
RD
7271 return _resultobj;
7272}
7273
d5c9047a 7274#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7275static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7276 PyObject * _resultobj;
f6bcfd97 7277 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7278 wxTreeItemId * _arg1;
7279 int _arg2;
1d99702e
RD
7280 PyObject * _argo0 = 0;
7281 PyObject * _argo1 = 0;
efc5f224 7282 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7283
7284 self = self;
efc5f224 7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7286 return NULL;
1d99702e
RD
7287 if (_argo0) {
7288 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7291 return NULL;
7292 }
7293 }
1d99702e
RD
7294 if (_argo1) {
7295 if (_argo1 == Py_None) { _arg1 = NULL; }
7296 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7297 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7298 return NULL;
7299 }
7300 }
cf694132
RD
7301{
7302 wxPy_BEGIN_ALLOW_THREADS;
7303 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
7304
7305 wxPy_END_ALLOW_THREADS;
4dfaa61e 7306 if (PyErr_Occurred()) return NULL;
cf694132
RD
7307} Py_INCREF(Py_None);
7308 _resultobj = Py_None;
7309 return _resultobj;
7310}
7311
7312#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7313static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7314 PyObject * _resultobj;
f6bcfd97 7315 wxPyTreeCtrl * _arg0;
cf694132 7316 wxTreeItemId * _arg1;
1d99702e
RD
7317 bool _arg2 = (bool ) TRUE;
7318 PyObject * _argo0 = 0;
7319 PyObject * _argo1 = 0;
7320 int tempbool2 = (int) TRUE;
efc5f224 7321 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7322
7323 self = self;
efc5f224 7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 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_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
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")) {
cf694132
RD
7336 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7337 return NULL;
7338 }
7339 }
7340 _arg2 = (bool ) tempbool2;
7341{
7342 wxPy_BEGIN_ALLOW_THREADS;
7343 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
7344
7345 wxPy_END_ALLOW_THREADS;
4dfaa61e 7346 if (PyErr_Occurred()) return NULL;
cf694132 7347} Py_INCREF(Py_None);
d5c9047a 7348 _resultobj = Py_None;
8ab979d7
RD
7349 return _resultobj;
7350}
7351
f6bcfd97 7352static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7353 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7354 if (data == NULL) {
7355 data = new wxPyTreeItemData();
f6bcfd97 7356 data->SetId(item); // set the id
cf694132
RD
7357 self->SetItemData(item, data);
7358 }
7359 return data;
7360 }
efc5f224 7361static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7362 PyObject * _resultobj;
7363 wxPyTreeItemData * _result;
f6bcfd97 7364 wxPyTreeCtrl * _arg0;
cf694132 7365 wxTreeItemId * _arg1;
1d99702e
RD
7366 PyObject * _argo0 = 0;
7367 PyObject * _argo1 = 0;
efc5f224 7368 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7369 char _ptemp[128];
7370
7371 self = self;
efc5f224 7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7373 return NULL;
1d99702e
RD
7374 if (_argo0) {
7375 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7378 return NULL;
7379 }
7380 }
1d99702e
RD
7381 if (_argo1) {
7382 if (_argo1 == Py_None) { _arg1 = NULL; }
7383 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7384 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7385 return NULL;
7386 }
7387 }
7388{
7389 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 7390 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132
RD
7391
7392 wxPy_END_ALLOW_THREADS;
4dfaa61e 7393 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7394} if (_result) {
7395 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7396 _resultobj = Py_BuildValue("s",_ptemp);
7397 } else {
7398 Py_INCREF(Py_None);
7399 _resultobj = Py_None;
7400 }
cf694132
RD
7401 return _resultobj;
7402}
7403
f6bcfd97
BP
7404static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7405 data->SetId(item); // set the id
7406 self->SetItemData(item, data);
c368d904 7407 }
efc5f224 7408static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7409 PyObject * _resultobj;
f6bcfd97 7410 wxPyTreeCtrl * _arg0;
d5c9047a 7411 wxTreeItemId * _arg1;
cf694132 7412 wxPyTreeItemData * _arg2;
1d99702e
RD
7413 PyObject * _argo0 = 0;
7414 PyObject * _argo1 = 0;
7415 PyObject * _argo2 = 0;
efc5f224 7416 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7417
7418 self = self;
efc5f224 7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7420 return NULL;
1d99702e
RD
7421 if (_argo0) {
7422 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7425 return NULL;
7426 }
7427 }
1d99702e
RD
7428 if (_argo1) {
7429 if (_argo1 == Py_None) { _arg1 = NULL; }
7430 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7431 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7432 return NULL;
7433 }
7434 }
1d99702e
RD
7435 if (_argo2) {
7436 if (_argo2 == Py_None) { _arg2 = NULL; }
7437 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7438 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7439 return NULL;
7440 }
7441 }
cf694132
RD
7442{
7443 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 7444 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132
RD
7445
7446 wxPy_END_ALLOW_THREADS;
4dfaa61e 7447 if (PyErr_Occurred()) return NULL;
cf694132 7448} Py_INCREF(Py_None);
d5c9047a 7449 _resultobj = Py_None;
8ab979d7
RD
7450 return _resultobj;
7451}
7452
f6bcfd97 7453static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7454 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7455 if (data == NULL) {
7456 data = new wxPyTreeItemData();
f6bcfd97 7457 data->SetId(item); // set the id
cf694132
RD
7458 self->SetItemData(item, data);
7459 }
7460 return data->GetData();
c368d904 7461 }
efc5f224 7462static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7463 PyObject * _resultobj;
cf694132 7464 PyObject * _result;
f6bcfd97 7465 wxPyTreeCtrl * _arg0;
08127323 7466 wxTreeItemId * _arg1;
1d99702e
RD
7467 PyObject * _argo0 = 0;
7468 PyObject * _argo1 = 0;
efc5f224 7469 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7470
7471 self = self;
efc5f224 7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7473 return NULL;
1d99702e
RD
7474 if (_argo0) {
7475 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7478 return NULL;
7479 }
7480 }
1d99702e
RD
7481 if (_argo1) {
7482 if (_argo1 == Py_None) { _arg1 = NULL; }
7483 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7484 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7485 return NULL;
7486 }
7487 }
cf694132
RD
7488{
7489 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 7490 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132
RD
7491
7492 wxPy_END_ALLOW_THREADS;
4dfaa61e 7493 if (PyErr_Occurred()) return NULL;
cf694132
RD
7494}{
7495 _resultobj = _result;
7496}
7497 return _resultobj;
7498}
7499
f6bcfd97 7500static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7501 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7502 if (data == NULL) {
7503 data = new wxPyTreeItemData(obj);
f6bcfd97 7504 data->SetId(item); // set the id
cf694132
RD
7505 self->SetItemData(item, data);
7506 } else
7507 data->SetData(obj);
c368d904 7508 }
efc5f224 7509static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7510 PyObject * _resultobj;
f6bcfd97 7511 wxPyTreeCtrl * _arg0;
cf694132
RD
7512 wxTreeItemId * _arg1;
7513 PyObject * _arg2;
1d99702e
RD
7514 PyObject * _argo0 = 0;
7515 PyObject * _argo1 = 0;
cf694132 7516 PyObject * _obj2 = 0;
efc5f224 7517 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7518
7519 self = self;
efc5f224 7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 7521 return NULL;
1d99702e
RD
7522 if (_argo0) {
7523 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7526 return NULL;
7527 }
7528 }
1d99702e
RD
7529 if (_argo1) {
7530 if (_argo1 == Py_None) { _arg1 = NULL; }
7531 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7532 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7533 return NULL;
7534 }
7535 }
7536{
7537 _arg2 = _obj2;
7538}
7539{
7540 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 7541 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132
RD
7542
7543 wxPy_END_ALLOW_THREADS;
4dfaa61e 7544 if (PyErr_Occurred()) return NULL;
cf694132 7545} Py_INCREF(Py_None);
08127323
RD
7546 _resultobj = Py_None;
7547 return _resultobj;
7548}
7549
d5c9047a 7550#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7551static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7552 PyObject * _resultobj;
d5c9047a 7553 bool _result;
f6bcfd97 7554 wxPyTreeCtrl * _arg0;
d5c9047a 7555 wxTreeItemId * _arg1;
1d99702e
RD
7556 PyObject * _argo0 = 0;
7557 PyObject * _argo1 = 0;
efc5f224 7558 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7559
7560 self = self;
efc5f224 7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7562 return NULL;
1d99702e
RD
7563 if (_argo0) {
7564 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7567 return NULL;
7568 }
7569 }
1d99702e
RD
7570 if (_argo1) {
7571 if (_argo1 == Py_None) { _arg1 = NULL; }
7572 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7573 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7574 return NULL;
7575 }
7576 }
cf694132
RD
7577{
7578 wxPy_BEGIN_ALLOW_THREADS;
7579 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
7580
7581 wxPy_END_ALLOW_THREADS;
4dfaa61e 7582 if (PyErr_Occurred()) return NULL;
cf694132 7583} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7584 return _resultobj;
7585}
7586
d5c9047a 7587#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7588static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7589 PyObject * _resultobj;
d5c9047a 7590 bool _result;
f6bcfd97 7591 wxPyTreeCtrl * _arg0;
d5c9047a 7592 wxTreeItemId * _arg1;
1d99702e
RD
7593 PyObject * _argo0 = 0;
7594 PyObject * _argo1 = 0;
efc5f224 7595 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7596
7597 self = self;
efc5f224 7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7599 return NULL;
1d99702e
RD
7600 if (_argo0) {
7601 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7604 return NULL;
7605 }
7606 }
1d99702e
RD
7607 if (_argo1) {
7608 if (_argo1 == Py_None) { _arg1 = NULL; }
7609 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7610 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7611 return NULL;
7612 }
7613 }
cf694132
RD
7614{
7615 wxPy_BEGIN_ALLOW_THREADS;
7616 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
7617
7618 wxPy_END_ALLOW_THREADS;
4dfaa61e 7619 if (PyErr_Occurred()) return NULL;
cf694132 7620} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7621 return _resultobj;
7622}
7623
d5c9047a 7624#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7625static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7626 PyObject * _resultobj;
d5c9047a 7627 bool _result;
f6bcfd97 7628 wxPyTreeCtrl * _arg0;
d5c9047a 7629 wxTreeItemId * _arg1;
1d99702e
RD
7630 PyObject * _argo0 = 0;
7631 PyObject * _argo1 = 0;
efc5f224 7632 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7633
7634 self = self;
efc5f224 7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7636 return NULL;
1d99702e
RD
7637 if (_argo0) {
7638 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7641 return NULL;
7642 }
7643 }
1d99702e
RD
7644 if (_argo1) {
7645 if (_argo1 == Py_None) { _arg1 = NULL; }
7646 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7647 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7648 return NULL;
7649 }
7650 }
cf694132
RD
7651{
7652 wxPy_BEGIN_ALLOW_THREADS;
7653 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
7654
7655 wxPy_END_ALLOW_THREADS;
4dfaa61e 7656 if (PyErr_Occurred()) return NULL;
cf694132 7657} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7658 return _resultobj;
7659}
7660
d5c9047a 7661#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7662static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7663 PyObject * _resultobj;
d5c9047a 7664 bool _result;
f6bcfd97 7665 wxPyTreeCtrl * _arg0;
d5c9047a 7666 wxTreeItemId * _arg1;
1d99702e
RD
7667 PyObject * _argo0 = 0;
7668 PyObject * _argo1 = 0;
efc5f224 7669 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7670
7671 self = self;
efc5f224 7672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7673 return NULL;
1d99702e
RD
7674 if (_argo0) {
7675 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7678 return NULL;
7679 }
7680 }
1d99702e
RD
7681 if (_argo1) {
7682 if (_argo1 == Py_None) { _arg1 = NULL; }
7683 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7684 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7685 return NULL;
7686 }
7687 }
cf694132
RD
7688{
7689 wxPy_BEGIN_ALLOW_THREADS;
7690 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
7691
7692 wxPy_END_ALLOW_THREADS;
4dfaa61e 7693 if (PyErr_Occurred()) return NULL;
cf694132 7694} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7695 return _resultobj;
7696}
7697
7698#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7699static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7700 PyObject * _resultobj;
d5c9047a 7701 wxTreeItemId * _result;
f6bcfd97 7702 wxPyTreeCtrl * _arg0;
1d99702e 7703 PyObject * _argo0 = 0;
efc5f224 7704 char *_kwnames[] = { "self", NULL };
d5c9047a 7705 char _ptemp[128];
8ab979d7
RD
7706
7707 self = self;
efc5f224 7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7709 return NULL;
1d99702e
RD
7710 if (_argo0) {
7711 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7714 return NULL;
7715 }
7716 }
cf694132
RD
7717{
7718 wxPy_BEGIN_ALLOW_THREADS;
7719 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
7720
7721 wxPy_END_ALLOW_THREADS;
4dfaa61e 7722 if (PyErr_Occurred()) return NULL;
cf694132 7723} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7724 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7725 return _resultobj;
7726}
7727
7728#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7729static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7730 PyObject * _resultobj;
d5c9047a 7731 wxTreeItemId * _result;
f6bcfd97 7732 wxPyTreeCtrl * _arg0;
1d99702e 7733 PyObject * _argo0 = 0;
efc5f224 7734 char *_kwnames[] = { "self", NULL };
d5c9047a 7735 char _ptemp[128];
8ab979d7
RD
7736
7737 self = self;
efc5f224 7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7739 return NULL;
1d99702e
RD
7740 if (_argo0) {
7741 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7744 return NULL;
7745 }
7746 }
cf694132
RD
7747{
7748 wxPy_BEGIN_ALLOW_THREADS;
7749 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
7750
7751 wxPy_END_ALLOW_THREADS;
4dfaa61e 7752 if (PyErr_Occurred()) return NULL;
cf694132 7753} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7754 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7755 return _resultobj;
7756}
7757
eb715945
RD
7758#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7759static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7760 PyObject * _resultobj;
d5c9047a 7761 wxTreeItemId * _result;
f6bcfd97 7762 wxPyTreeCtrl * _arg0;
d5c9047a 7763 wxTreeItemId * _arg1;
1d99702e
RD
7764 PyObject * _argo0 = 0;
7765 PyObject * _argo1 = 0;
efc5f224 7766 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7767 char _ptemp[128];
8ab979d7
RD
7768
7769 self = self;
eb715945 7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7771 return NULL;
1d99702e
RD
7772 if (_argo0) {
7773 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7776 return NULL;
7777 }
7778 }
1d99702e
RD
7779 if (_argo1) {
7780 if (_argo1 == Py_None) { _arg1 = NULL; }
7781 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 7782 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
7783 return NULL;
7784 }
7785 }
cf694132
RD
7786{
7787 wxPy_BEGIN_ALLOW_THREADS;
eb715945 7788 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132
RD
7789
7790 wxPy_END_ALLOW_THREADS;
4dfaa61e 7791 if (PyErr_Occurred()) return NULL;
cf694132 7792} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7793 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7794 return _resultobj;
7795}
7796
f6bcfd97 7797static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
059a841c 7798 wxPyTState* state = wxPyBeginBlockThreads();
d426c97e
RD
7799 PyObject* rval = PyList_New(0);
7800 wxArrayTreeItemIds array;
7801 size_t num, x;
7802 num = self->GetSelections(array);
7803 for (x=0; x < num; x++) {
c368d904
RD
7804 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7805 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
7806 PyList_Append(rval, item);
7807 }
059a841c 7808 wxPyEndBlockThreads(state);
d426c97e
RD
7809 return rval;
7810 }
7811static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7812 PyObject * _resultobj;
7813 PyObject * _result;
f6bcfd97 7814 wxPyTreeCtrl * _arg0;
d426c97e
RD
7815 PyObject * _argo0 = 0;
7816 char *_kwnames[] = { "self", NULL };
7817
7818 self = self;
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7820 return NULL;
7821 if (_argo0) {
7822 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7825 return NULL;
7826 }
7827 }
7828{
7829 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 7830 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e
RD
7831
7832 wxPy_END_ALLOW_THREADS;
4dfaa61e 7833 if (PyErr_Occurred()) return NULL;
d426c97e
RD
7834}{
7835 _resultobj = _result;
7836}
7837 return _resultobj;
7838}
7839
bb0054cd 7840#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 7841static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7842 PyObject * _resultobj;
7843 size_t _result;
f6bcfd97 7844 wxPyTreeCtrl * _arg0;
bb0054cd 7845 wxTreeItemId * _arg1;
1d99702e
RD
7846 bool _arg2 = (bool ) TRUE;
7847 PyObject * _argo0 = 0;
7848 PyObject * _argo1 = 0;
7849 int tempbool2 = (int) TRUE;
efc5f224 7850 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
7851
7852 self = self;
efc5f224 7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 7854 return NULL;
1d99702e
RD
7855 if (_argo0) {
7856 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
7859 return NULL;
7860 }
7861 }
1d99702e
RD
7862 if (_argo1) {
7863 if (_argo1 == Py_None) { _arg1 = NULL; }
7864 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
7865 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7866 return NULL;
7867 }
7868 }
7869 _arg2 = (bool ) tempbool2;
7870{
7871 wxPy_BEGIN_ALLOW_THREADS;
7872 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
7873
7874 wxPy_END_ALLOW_THREADS;
4dfaa61e 7875 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7876} _resultobj = Py_BuildValue("i",_result);
7877 return _resultobj;
7878}
7879
d5c9047a 7880#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 7881static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7882 PyObject * _resultobj;
d5c9047a 7883 wxTreeItemId * _result;
f6bcfd97 7884 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7885 wxTreeItemId * _arg1;
7886 long * _arg2;
1d99702e
RD
7887 PyObject * _argo0 = 0;
7888 PyObject * _argo1 = 0;
d5c9047a
RD
7889 long temp;
7890 PyObject * _obj2 = 0;
efc5f224 7891 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7892 char _ptemp[128];
8ab979d7
RD
7893
7894 self = self;
efc5f224 7895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7896 return NULL;
1d99702e
RD
7897 if (_argo0) {
7898 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7901 return NULL;
7902 }
7903 }
1d99702e
RD
7904 if (_argo1) {
7905 if (_argo1 == Py_None) { _arg1 = NULL; }
7906 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7907 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
7908 return NULL;
7909 }
7910 }
d5c9047a
RD
7911{
7912 temp = (long) PyInt_AsLong(_obj2);
7913 _arg2 = &temp;
7914}
cf694132
RD
7915{
7916 wxPy_BEGIN_ALLOW_THREADS;
7917 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
7918
7919 wxPy_END_ALLOW_THREADS;
4dfaa61e 7920 if (PyErr_Occurred()) return NULL;
cf694132 7921} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
7922 _resultobj = Py_BuildValue("s",_ptemp);
7923{
7924 PyObject *o;
7925 o = PyInt_FromLong((long) (*_arg2));
7926 _resultobj = t_output_helper(_resultobj, o);
7927}
8ab979d7
RD
7928 return _resultobj;
7929}
7930
d5c9047a 7931#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 7932static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7933 PyObject * _resultobj;
d5c9047a 7934 wxTreeItemId * _result;
f6bcfd97 7935 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7936 wxTreeItemId * _arg1;
7937 long * _arg2;
1d99702e
RD
7938 PyObject * _argo0 = 0;
7939 PyObject * _argo1 = 0;
d5c9047a 7940 long temp;
8ab979d7 7941 PyObject * _obj2 = 0;
efc5f224 7942 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7943 char _ptemp[128];
8ab979d7
RD
7944
7945 self = self;
efc5f224 7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7947 return NULL;
1d99702e
RD
7948 if (_argo0) {
7949 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7952 return NULL;
7953 }
7954 }
1d99702e
RD
7955 if (_argo1) {
7956 if (_argo1 == Py_None) { _arg1 = NULL; }
7957 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7958 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 7959 return NULL;
d5c9047a 7960 }
8ab979d7 7961 }
d5c9047a
RD
7962{
7963 temp = (long) PyInt_AsLong(_obj2);
7964 _arg2 = &temp;
8ab979d7 7965}
cf694132
RD
7966{
7967 wxPy_BEGIN_ALLOW_THREADS;
7968 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
7969
7970 wxPy_END_ALLOW_THREADS;
4dfaa61e 7971 if (PyErr_Occurred()) return NULL;
cf694132 7972} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7973 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 7974{
d5c9047a
RD
7975 PyObject *o;
7976 o = PyInt_FromLong((long) (*_arg2));
7977 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7978}
7979 return _resultobj;
7980}
7981
d5c9047a 7982#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 7983static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7984 PyObject * _resultobj;
d5c9047a 7985 wxTreeItemId * _result;
f6bcfd97 7986 wxPyTreeCtrl * _arg0;
d5c9047a 7987 wxTreeItemId * _arg1;
1d99702e
RD
7988 PyObject * _argo0 = 0;
7989 PyObject * _argo1 = 0;
efc5f224 7990 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7991 char _ptemp[128];
8ab979d7
RD
7992
7993 self = self;
efc5f224 7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7995 return NULL;
1d99702e
RD
7996 if (_argo0) {
7997 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8000 return NULL;
8001 }
8002 }
1d99702e
RD
8003 if (_argo1) {
8004 if (_argo1 == Py_None) { _arg1 = NULL; }
8005 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8006 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8007 return NULL;
8008 }
8009 }
cf694132
RD
8010{
8011 wxPy_BEGIN_ALLOW_THREADS;
8012 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
8013
8014 wxPy_END_ALLOW_THREADS;
4dfaa61e 8015 if (PyErr_Occurred()) return NULL;
cf694132 8016} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8017 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8018 return _resultobj;
8019}
8020
d5c9047a 8021#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 8022static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8023 PyObject * _resultobj;
d5c9047a 8024 wxTreeItemId * _result;
f6bcfd97 8025 wxPyTreeCtrl * _arg0;
d5c9047a 8026 wxTreeItemId * _arg1;
1d99702e
RD
8027 PyObject * _argo0 = 0;
8028 PyObject * _argo1 = 0;
efc5f224 8029 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8030 char _ptemp[128];
8ab979d7
RD
8031
8032 self = self;
efc5f224 8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 8034 return NULL;
1d99702e
RD
8035 if (_argo0) {
8036 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8039 return NULL;
8040 }
8041 }
1d99702e
RD
8042 if (_argo1) {
8043 if (_argo1 == Py_None) { _arg1 = NULL; }
8044 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8045 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8046 return NULL;
8047 }
8048 }
cf694132
RD
8049{
8050 wxPy_BEGIN_ALLOW_THREADS;
8051 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
8052
8053 wxPy_END_ALLOW_THREADS;
4dfaa61e 8054 if (PyErr_Occurred()) return NULL;
cf694132 8055} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8056 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8057 return _resultobj;
8058}
8059
d5c9047a 8060#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 8061static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8062 PyObject * _resultobj;
d5c9047a 8063 wxTreeItemId * _result;
f6bcfd97 8064 wxPyTreeCtrl * _arg0;
1d99702e 8065 PyObject * _argo0 = 0;
efc5f224 8066 char *_kwnames[] = { "self", NULL };
d5c9047a 8067 char _ptemp[128];
8ab979d7
RD
8068
8069 self = self;
efc5f224 8070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 8071 return NULL;
1d99702e
RD
8072 if (_argo0) {
8073 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8076 return NULL;
8077 }
8078 }
cf694132
RD
8079{
8080 wxPy_BEGIN_ALLOW_THREADS;
8081 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
8082
8083 wxPy_END_ALLOW_THREADS;
4dfaa61e 8084 if (PyErr_Occurred()) return NULL;
cf694132 8085} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8086 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8087 return _resultobj;
8088}
8089
d5c9047a 8090#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 8091static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8092 PyObject * _resultobj;
d5c9047a 8093 wxTreeItemId * _result;
f6bcfd97 8094 wxPyTreeCtrl * _arg0;
d5c9047a 8095 wxTreeItemId * _arg1;
1d99702e
RD
8096 PyObject * _argo0 = 0;
8097 PyObject * _argo1 = 0;
efc5f224 8098 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8099 char _ptemp[128];
8ab979d7
RD
8100
8101 self = self;
efc5f224 8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8103 return NULL;
1d99702e
RD
8104 if (_argo0) {
8105 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8108 return NULL;
8109 }
8110 }
1d99702e
RD
8111 if (_argo1) {
8112 if (_argo1 == Py_None) { _arg1 = NULL; }
8113 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8114 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8115 return NULL;
8116 }
8117 }
cf694132
RD
8118{
8119 wxPy_BEGIN_ALLOW_THREADS;
8120 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
8121
8122 wxPy_END_ALLOW_THREADS;
4dfaa61e 8123 if (PyErr_Occurred()) return NULL;
cf694132 8124} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8125 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8126 return _resultobj;
8127}
8128
d5c9047a 8129#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 8130static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8131 PyObject * _resultobj;
d5c9047a 8132 wxTreeItemId * _result;
f6bcfd97 8133 wxPyTreeCtrl * _arg0;
d5c9047a 8134 wxTreeItemId * _arg1;
1d99702e
RD
8135 PyObject * _argo0 = 0;
8136 PyObject * _argo1 = 0;
efc5f224 8137 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8138 char _ptemp[128];
8ab979d7
RD
8139
8140 self = self;
efc5f224 8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8142 return NULL;
1d99702e
RD
8143 if (_argo0) {
8144 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8147 return NULL;
8148 }
8149 }
1d99702e
RD
8150 if (_argo1) {
8151 if (_argo1 == Py_None) { _arg1 = NULL; }
8152 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8153 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
8154 return NULL;
8155 }
8156 }
cf694132
RD
8157{
8158 wxPy_BEGIN_ALLOW_THREADS;
8159 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
8160
8161 wxPy_END_ALLOW_THREADS;
4dfaa61e 8162 if (PyErr_Occurred()) return NULL;
cf694132 8163} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8164 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8165 return _resultobj;
8166}
8167
d426c97e
RD
8168#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8169static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8170 PyObject * _resultobj;
8171 wxTreeItemId * _result;
f6bcfd97 8172 wxPyTreeCtrl * _arg0;
d426c97e
RD
8173 wxTreeItemId * _arg1;
8174 PyObject * _argo0 = 0;
8175 PyObject * _argo1 = 0;
8176 char *_kwnames[] = { "self","item", NULL };
8177 char _ptemp[128];
8178
8179 self = self;
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8181 return NULL;
8182 if (_argo0) {
8183 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8186 return NULL;
8187 }
8188 }
8189 if (_argo1) {
8190 if (_argo1 == Py_None) { _arg1 = NULL; }
8191 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8192 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8193 return NULL;
8194 }
8195 }
8196{
8197 wxPy_BEGIN_ALLOW_THREADS;
8198 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
8199
8200 wxPy_END_ALLOW_THREADS;
4dfaa61e 8201 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8202} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8203 _resultobj = Py_BuildValue("s",_ptemp);
8204 return _resultobj;
8205}
8206
d5c9047a 8207#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8208static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8209 PyObject * _resultobj;
d5c9047a 8210 wxTreeItemId * _result;
f6bcfd97 8211 wxPyTreeCtrl * _arg0;
d5c9047a 8212 wxString * _arg1;
1d99702e
RD
8213 int _arg2 = (int ) -1;
8214 int _arg3 = (int ) -1;
8215 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8216 PyObject * _argo0 = 0;
d5c9047a 8217 PyObject * _obj1 = 0;
1d99702e 8218 PyObject * _argo4 = 0;
efc5f224 8219 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8220 char _ptemp[128];
8ab979d7
RD
8221
8222 self = self;
efc5f224 8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8224 return NULL;
1d99702e
RD
8225 if (_argo0) {
8226 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8229 return NULL;
8230 }
8231 }
d5c9047a 8232{
2cd2fac8
RD
8233#if PYTHON_API_VERSION >= 1009
8234 char* tmpPtr; int tmpSize;
8235 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 8236 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8237 return NULL;
8238 }
8239 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8240 return NULL;
8241 _arg1 = new wxString(tmpPtr, tmpSize);
8242#else
d5c9047a
RD
8243 if (!PyString_Check(_obj1)) {
8244 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8245 return NULL;
8246 }
2cd2fac8
RD
8247 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8248#endif
d5c9047a 8249}
1d99702e
RD
8250 if (_argo4) {
8251 if (_argo4 == Py_None) { _arg4 = NULL; }
8252 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8253 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8254 return NULL;
8255 }
8256 }
cf694132
RD
8257{
8258 wxPy_BEGIN_ALLOW_THREADS;
8259 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
8260
8261 wxPy_END_ALLOW_THREADS;
4dfaa61e 8262 if (PyErr_Occurred()) return NULL;
cf694132 8263} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8264 _resultobj = Py_BuildValue("s",_ptemp);
8265{
8266 if (_obj1)
8267 delete _arg1;
8268}
8ab979d7
RD
8269 return _resultobj;
8270}
8271
d5c9047a 8272#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8273static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8274 PyObject * _resultobj;
d5c9047a 8275 wxTreeItemId * _result;
f6bcfd97 8276 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8277 wxTreeItemId * _arg1;
8278 wxString * _arg2;
1d99702e
RD
8279 int _arg3 = (int ) -1;
8280 int _arg4 = (int ) -1;
8281 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8282 PyObject * _argo0 = 0;
8283 PyObject * _argo1 = 0;
d5c9047a 8284 PyObject * _obj2 = 0;
1d99702e 8285 PyObject * _argo5 = 0;
efc5f224 8286 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8287 char _ptemp[128];
8ab979d7
RD
8288
8289 self = self;
efc5f224 8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8291 return NULL;
1d99702e
RD
8292 if (_argo0) {
8293 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8296 return NULL;
8297 }
8298 }
1d99702e
RD
8299 if (_argo1) {
8300 if (_argo1 == Py_None) { _arg1 = NULL; }
8301 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8302 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8303 return NULL;
8304 }
8305 }
8306{
2cd2fac8
RD
8307#if PYTHON_API_VERSION >= 1009
8308 char* tmpPtr; int tmpSize;
8309 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 8310 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8311 return NULL;
8312 }
8313 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8314 return NULL;
8315 _arg2 = new wxString(tmpPtr, tmpSize);
8316#else
d5c9047a
RD
8317 if (!PyString_Check(_obj2)) {
8318 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8319 return NULL;
8320 }
2cd2fac8
RD
8321 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8322#endif
d5c9047a 8323}
1d99702e
RD
8324 if (_argo5) {
8325 if (_argo5 == Py_None) { _arg5 = NULL; }
8326 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8327 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8328 return NULL;
8329 }
8330 }
cf694132
RD
8331{
8332 wxPy_BEGIN_ALLOW_THREADS;
8333 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
8334
8335 wxPy_END_ALLOW_THREADS;
4dfaa61e 8336 if (PyErr_Occurred()) return NULL;
cf694132 8337} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8338 _resultobj = Py_BuildValue("s",_ptemp);
8339{
8340 if (_obj2)
8341 delete _arg2;
8342}
8ab979d7
RD
8343 return _resultobj;
8344}
8345
d5c9047a 8346#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8347static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8348 PyObject * _resultobj;
d5c9047a 8349 wxTreeItemId * _result;
f6bcfd97 8350 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8351 wxTreeItemId * _arg1;
8352 wxTreeItemId * _arg2;
8353 wxString * _arg3;
1d99702e
RD
8354 int _arg4 = (int ) -1;
8355 int _arg5 = (int ) -1;
8356 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8357 PyObject * _argo0 = 0;
8358 PyObject * _argo1 = 0;
8359 PyObject * _argo2 = 0;
d5c9047a 8360 PyObject * _obj3 = 0;
1d99702e 8361 PyObject * _argo6 = 0;
efc5f224 8362 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8363 char _ptemp[128];
8ab979d7
RD
8364
8365 self = self;
efc5f224 8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8367 return NULL;
1d99702e
RD
8368 if (_argo0) {
8369 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8372 return NULL;
8373 }
8374 }
1d99702e
RD
8375 if (_argo1) {
8376 if (_argo1 == Py_None) { _arg1 = NULL; }
8377 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8378 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8379 return NULL;
8380 }
8381 }
1d99702e
RD
8382 if (_argo2) {
8383 if (_argo2 == Py_None) { _arg2 = NULL; }
8384 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8385 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8386 return NULL;
8387 }
8388 }
8389{
2cd2fac8
RD
8390#if PYTHON_API_VERSION >= 1009
8391 char* tmpPtr; int tmpSize;
8392 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 8393 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8394 return NULL;
8395 }
8396 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8397 return NULL;
8398 _arg3 = new wxString(tmpPtr, tmpSize);
8399#else
d5c9047a
RD
8400 if (!PyString_Check(_obj3)) {
8401 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8402 return NULL;
8403 }
2cd2fac8
RD
8404 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8405#endif
d5c9047a 8406}
1d99702e
RD
8407 if (_argo6) {
8408 if (_argo6 == Py_None) { _arg6 = NULL; }
8409 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8410 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8411 return NULL;
8412 }
8413 }
cf694132
RD
8414{
8415 wxPy_BEGIN_ALLOW_THREADS;
8416 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
8417
8418 wxPy_END_ALLOW_THREADS;
4dfaa61e 8419 if (PyErr_Occurred()) return NULL;
cf694132 8420} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8421 _resultobj = Py_BuildValue("s",_ptemp);
8422{
8423 if (_obj3)
8424 delete _arg3;
8425}
8ab979d7
RD
8426 return _resultobj;
8427}
8428
f6bcfd97
BP
8429#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8430static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8431 PyObject * _resultobj;
8432 wxTreeItemId * _result;
8433 wxPyTreeCtrl * _arg0;
8434 wxTreeItemId * _arg1;
8435 size_t _arg2;
8436 wxString * _arg3;
8437 int _arg4 = (int ) -1;
8438 int _arg5 = (int ) -1;
8439 wxTreeItemData * _arg6 = (wxTreeItemData *) NULL;
8440 PyObject * _argo0 = 0;
8441 PyObject * _argo1 = 0;
8442 PyObject * _obj3 = 0;
8443 PyObject * _argo6 = 0;
8444 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8445 char _ptemp[128];
8446
8447 self = self;
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8449 return NULL;
8450 if (_argo0) {
8451 if (_argo0 == Py_None) { _arg0 = NULL; }
8452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8454 return NULL;
8455 }
8456 }
8457 if (_argo1) {
8458 if (_argo1 == Py_None) { _arg1 = NULL; }
8459 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8460 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8461 return NULL;
8462 }
8463 }
8464{
2cd2fac8
RD
8465#if PYTHON_API_VERSION >= 1009
8466 char* tmpPtr; int tmpSize;
8467 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 8468 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8469 return NULL;
8470 }
8471 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8472 return NULL;
8473 _arg3 = new wxString(tmpPtr, tmpSize);
8474#else
f6bcfd97
BP
8475 if (!PyString_Check(_obj3)) {
8476 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8477 return NULL;
8478 }
2cd2fac8
RD
8479 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8480#endif
f6bcfd97
BP
8481}
8482 if (_argo6) {
8483 if (_argo6 == Py_None) { _arg6 = NULL; }
8484 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxTreeItemData_p")) {
8485 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8486 return NULL;
8487 }
8488 }
8489{
8490 wxPy_BEGIN_ALLOW_THREADS;
8491 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
8492
8493 wxPy_END_ALLOW_THREADS;
4dfaa61e 8494 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8495} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8496 _resultobj = Py_BuildValue("s",_ptemp);
8497{
8498 if (_obj3)
8499 delete _arg3;
8500}
8501 return _resultobj;
8502}
8503
d5c9047a 8504#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8505static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8506 PyObject * _resultobj;
d5c9047a 8507 wxTreeItemId * _result;
f6bcfd97 8508 wxPyTreeCtrl * _arg0;
d5c9047a 8509 wxTreeItemId * _arg1;
8ab979d7 8510 wxString * _arg2;
1d99702e
RD
8511 int _arg3 = (int ) -1;
8512 int _arg4 = (int ) -1;
8513 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8514 PyObject * _argo0 = 0;
8515 PyObject * _argo1 = 0;
8ab979d7 8516 PyObject * _obj2 = 0;
1d99702e 8517 PyObject * _argo5 = 0;
efc5f224 8518 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8519 char _ptemp[128];
8ab979d7
RD
8520
8521 self = self;
efc5f224 8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8523 return NULL;
1d99702e
RD
8524 if (_argo0) {
8525 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8528 return NULL;
8529 }
8530 }
1d99702e
RD
8531 if (_argo1) {
8532 if (_argo1 == Py_None) { _arg1 = NULL; }
8533 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8534 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8535 return NULL;
8536 }
8537 }
8538{
2cd2fac8
RD
8539#if PYTHON_API_VERSION >= 1009
8540 char* tmpPtr; int tmpSize;
8541 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 8542 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8543 return NULL;
8544 }
8545 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8546 return NULL;
8547 _arg2 = new wxString(tmpPtr, tmpSize);
8548#else
8ab979d7
RD
8549 if (!PyString_Check(_obj2)) {
8550 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8551 return NULL;
8552 }
2cd2fac8
RD
8553 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8554#endif
8ab979d7 8555}
1d99702e
RD
8556 if (_argo5) {
8557 if (_argo5 == Py_None) { _arg5 = NULL; }
8558 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8559 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8560 return NULL;
8561 }
8562 }
cf694132
RD
8563{
8564 wxPy_BEGIN_ALLOW_THREADS;
8565 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
8566
8567 wxPy_END_ALLOW_THREADS;
4dfaa61e 8568 if (PyErr_Occurred()) return NULL;
cf694132 8569} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8570 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8571{
8572 if (_obj2)
8573 delete _arg2;
8574}
8575 return _resultobj;
8576}
8577
d5c9047a 8578#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8579static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8580 PyObject * _resultobj;
f6bcfd97 8581 wxPyTreeCtrl * _arg0;
d5c9047a 8582 wxTreeItemId * _arg1;
1d99702e
RD
8583 PyObject * _argo0 = 0;
8584 PyObject * _argo1 = 0;
efc5f224 8585 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8586
8587 self = self;
efc5f224 8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8589 return NULL;
1d99702e
RD
8590 if (_argo0) {
8591 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8594 return NULL;
8595 }
8596 }
1d99702e
RD
8597 if (_argo1) {
8598 if (_argo1 == Py_None) { _arg1 = NULL; }
8599 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8600 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8601 return NULL;
8602 }
8603 }
cf694132
RD
8604{
8605 wxPy_BEGIN_ALLOW_THREADS;
8606 wxTreeCtrl_Delete(_arg0,*_arg1);
8607
8608 wxPy_END_ALLOW_THREADS;
4dfaa61e 8609 if (PyErr_Occurred()) return NULL;
cf694132 8610} Py_INCREF(Py_None);
d5c9047a
RD
8611 _resultobj = Py_None;
8612 return _resultobj;
8613}
8614
08127323 8615#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8616static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8617 PyObject * _resultobj;
f6bcfd97 8618 wxPyTreeCtrl * _arg0;
08127323 8619 wxTreeItemId * _arg1;
1d99702e
RD
8620 PyObject * _argo0 = 0;
8621 PyObject * _argo1 = 0;
efc5f224 8622 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8623
8624 self = self;
efc5f224 8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8626 return NULL;
1d99702e
RD
8627 if (_argo0) {
8628 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8631 return NULL;
8632 }
8633 }
1d99702e
RD
8634 if (_argo1) {
8635 if (_argo1 == Py_None) { _arg1 = NULL; }
8636 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8637 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8638 return NULL;
8639 }
8640 }
cf694132
RD
8641{
8642 wxPy_BEGIN_ALLOW_THREADS;
8643 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
8644
8645 wxPy_END_ALLOW_THREADS;
4dfaa61e 8646 if (PyErr_Occurred()) return NULL;
cf694132 8647} Py_INCREF(Py_None);
08127323
RD
8648 _resultobj = Py_None;
8649 return _resultobj;
8650}
8651
d5c9047a 8652#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8653static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8654 PyObject * _resultobj;
f6bcfd97 8655 wxPyTreeCtrl * _arg0;
1d99702e 8656 PyObject * _argo0 = 0;
efc5f224 8657 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8658
8659 self = self;
efc5f224 8660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8661 return NULL;
1d99702e
RD
8662 if (_argo0) {
8663 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8666 return NULL;
8667 }
8668 }
cf694132
RD
8669{
8670 wxPy_BEGIN_ALLOW_THREADS;
8671 wxTreeCtrl_DeleteAllItems(_arg0);
8672
8673 wxPy_END_ALLOW_THREADS;
4dfaa61e 8674 if (PyErr_Occurred()) return NULL;
cf694132 8675} Py_INCREF(Py_None);
d5c9047a
RD
8676 _resultobj = Py_None;
8677 return _resultobj;
8678}
8679
8680#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8681static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8682 PyObject * _resultobj;
f6bcfd97 8683 wxPyTreeCtrl * _arg0;
d5c9047a 8684 wxTreeItemId * _arg1;
1d99702e
RD
8685 PyObject * _argo0 = 0;
8686 PyObject * _argo1 = 0;
efc5f224 8687 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8688
8689 self = self;
efc5f224 8690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8691 return NULL;
1d99702e
RD
8692 if (_argo0) {
8693 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8696 return NULL;
8697 }
8698 }
1d99702e
RD
8699 if (_argo1) {
8700 if (_argo1 == Py_None) { _arg1 = NULL; }
8701 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8702 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8703 return NULL;
8704 }
8705 }
cf694132
RD
8706{
8707 wxPy_BEGIN_ALLOW_THREADS;
8708 wxTreeCtrl_Expand(_arg0,*_arg1);
8709
8710 wxPy_END_ALLOW_THREADS;
4dfaa61e 8711 if (PyErr_Occurred()) return NULL;
cf694132 8712} Py_INCREF(Py_None);
d5c9047a
RD
8713 _resultobj = Py_None;
8714 return _resultobj;
8715}
8716
8717#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8718static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8719 PyObject * _resultobj;
f6bcfd97 8720 wxPyTreeCtrl * _arg0;
d5c9047a 8721 wxTreeItemId * _arg1;
1d99702e
RD
8722 PyObject * _argo0 = 0;
8723 PyObject * _argo1 = 0;
efc5f224 8724 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8725
8726 self = self;
efc5f224 8727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8728 return NULL;
1d99702e
RD
8729 if (_argo0) {
8730 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8733 return NULL;
8734 }
8735 }
1d99702e
RD
8736 if (_argo1) {
8737 if (_argo1 == Py_None) { _arg1 = NULL; }
8738 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8739 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8740 return NULL;
8741 }
8742 }
cf694132
RD
8743{
8744 wxPy_BEGIN_ALLOW_THREADS;
8745 wxTreeCtrl_Collapse(_arg0,*_arg1);
8746
8747 wxPy_END_ALLOW_THREADS;
4dfaa61e 8748 if (PyErr_Occurred()) return NULL;
cf694132 8749} Py_INCREF(Py_None);
d5c9047a
RD
8750 _resultobj = Py_None;
8751 return _resultobj;
8752}
8753
8754#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8755static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8756 PyObject * _resultobj;
f6bcfd97 8757 wxPyTreeCtrl * _arg0;
d5c9047a 8758 wxTreeItemId * _arg1;
1d99702e
RD
8759 PyObject * _argo0 = 0;
8760 PyObject * _argo1 = 0;
efc5f224 8761 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8762
8763 self = self;
efc5f224 8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8765 return NULL;
1d99702e
RD
8766 if (_argo0) {
8767 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8770 return NULL;
8771 }
8772 }
1d99702e
RD
8773 if (_argo1) {
8774 if (_argo1 == Py_None) { _arg1 = NULL; }
8775 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8776 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8777 return NULL;
8778 }
8779 }
cf694132
RD
8780{
8781 wxPy_BEGIN_ALLOW_THREADS;
8782 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
8783
8784 wxPy_END_ALLOW_THREADS;
4dfaa61e 8785 if (PyErr_Occurred()) return NULL;
cf694132 8786} Py_INCREF(Py_None);
d5c9047a
RD
8787 _resultobj = Py_None;
8788 return _resultobj;
8789}
8790
8791#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8792static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8793 PyObject * _resultobj;
f6bcfd97 8794 wxPyTreeCtrl * _arg0;
d5c9047a 8795 wxTreeItemId * _arg1;
1d99702e
RD
8796 PyObject * _argo0 = 0;
8797 PyObject * _argo1 = 0;
efc5f224 8798 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8799
8800 self = self;
efc5f224 8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8802 return NULL;
1d99702e
RD
8803 if (_argo0) {
8804 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8807 return NULL;
8808 }
8809 }
1d99702e
RD
8810 if (_argo1) {
8811 if (_argo1 == Py_None) { _arg1 = NULL; }
8812 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8813 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8814 return NULL;
8815 }
8816 }
cf694132
RD
8817{
8818 wxPy_BEGIN_ALLOW_THREADS;
8819 wxTreeCtrl_Toggle(_arg0,*_arg1);
8820
8821 wxPy_END_ALLOW_THREADS;
4dfaa61e 8822 if (PyErr_Occurred()) return NULL;
cf694132 8823} Py_INCREF(Py_None);
d5c9047a
RD
8824 _resultobj = Py_None;
8825 return _resultobj;
8826}
8827
8828#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8829static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8830 PyObject * _resultobj;
f6bcfd97 8831 wxPyTreeCtrl * _arg0;
1d99702e 8832 PyObject * _argo0 = 0;
efc5f224 8833 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8834
8835 self = self;
efc5f224 8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8837 return NULL;
1d99702e
RD
8838 if (_argo0) {
8839 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8842 return NULL;
8843 }
8844 }
cf694132
RD
8845{
8846 wxPy_BEGIN_ALLOW_THREADS;
8847 wxTreeCtrl_Unselect(_arg0);
8848
8849 wxPy_END_ALLOW_THREADS;
4dfaa61e 8850 if (PyErr_Occurred()) return NULL;
cf694132 8851} Py_INCREF(Py_None);
d5c9047a
RD
8852 _resultobj = Py_None;
8853 return _resultobj;
8854}
8855
8bf5d46e 8856#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8857static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8858 PyObject * _resultobj;
f6bcfd97 8859 wxPyTreeCtrl * _arg0;
1d99702e 8860 PyObject * _argo0 = 0;
efc5f224 8861 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
8862
8863 self = self;
efc5f224 8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 8865 return NULL;
1d99702e
RD
8866 if (_argo0) {
8867 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
8870 return NULL;
8871 }
8872 }
8873{
8874 wxPy_BEGIN_ALLOW_THREADS;
8875 wxTreeCtrl_UnselectAll(_arg0);
8876
8877 wxPy_END_ALLOW_THREADS;
4dfaa61e 8878 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8879} Py_INCREF(Py_None);
8880 _resultobj = Py_None;
8881 return _resultobj;
8882}
8883
d5c9047a 8884#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 8885static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8886 PyObject * _resultobj;
f6bcfd97 8887 wxPyTreeCtrl * _arg0;
d5c9047a 8888 wxTreeItemId * _arg1;
1d99702e
RD
8889 PyObject * _argo0 = 0;
8890 PyObject * _argo1 = 0;
efc5f224 8891 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8892
8893 self = self;
efc5f224 8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 8895 return NULL;
1d99702e
RD
8896 if (_argo0) {
8897 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8900 return NULL;
8901 }
8902 }
1d99702e
RD
8903 if (_argo1) {
8904 if (_argo1 == Py_None) { _arg1 = NULL; }
8905 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8906 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8907 return NULL;
8908 }
8909 }
cf694132
RD
8910{
8911 wxPy_BEGIN_ALLOW_THREADS;
8912 wxTreeCtrl_SelectItem(_arg0,*_arg1);
8913
8914 wxPy_END_ALLOW_THREADS;
4dfaa61e 8915 if (PyErr_Occurred()) return NULL;
cf694132 8916} Py_INCREF(Py_None);
d5c9047a
RD
8917 _resultobj = Py_None;
8918 return _resultobj;
8919}
8920
8921#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 8922static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8923 PyObject * _resultobj;
f6bcfd97 8924 wxPyTreeCtrl * _arg0;
d5c9047a 8925 wxTreeItemId * _arg1;
1d99702e
RD
8926 PyObject * _argo0 = 0;
8927 PyObject * _argo1 = 0;
efc5f224 8928 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8929
8930 self = self;
efc5f224 8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 8932 return NULL;
1d99702e
RD
8933 if (_argo0) {
8934 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8937 return NULL;
8938 }
8939 }
1d99702e
RD
8940 if (_argo1) {
8941 if (_argo1 == Py_None) { _arg1 = NULL; }
8942 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8943 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8944 return NULL;
8945 }
8946 }
cf694132
RD
8947{
8948 wxPy_BEGIN_ALLOW_THREADS;
8949 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
8950
8951 wxPy_END_ALLOW_THREADS;
4dfaa61e 8952 if (PyErr_Occurred()) return NULL;
cf694132 8953} Py_INCREF(Py_None);
d5c9047a
RD
8954 _resultobj = Py_None;
8955 return _resultobj;
8956}
8957
8958#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 8959static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8960 PyObject * _resultobj;
f6bcfd97 8961 wxPyTreeCtrl * _arg0;
d5c9047a 8962 wxTreeItemId * _arg1;
1d99702e
RD
8963 PyObject * _argo0 = 0;
8964 PyObject * _argo1 = 0;
efc5f224 8965 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8966
8967 self = self;
efc5f224 8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 8969 return NULL;
1d99702e
RD
8970 if (_argo0) {
8971 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8974 return NULL;
8975 }
8976 }
1d99702e
RD
8977 if (_argo1) {
8978 if (_argo1 == Py_None) { _arg1 = NULL; }
8979 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8980 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8981 return NULL;
8982 }
8983 }
cf694132
RD
8984{
8985 wxPy_BEGIN_ALLOW_THREADS;
8986 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
8987
8988 wxPy_END_ALLOW_THREADS;
4dfaa61e 8989 if (PyErr_Occurred()) return NULL;
cf694132 8990} Py_INCREF(Py_None);
d5c9047a
RD
8991 _resultobj = Py_None;
8992 return _resultobj;
8993}
8994
8995#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 8996static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8997 PyObject * _resultobj;
f6bcfd97 8998 wxPyTreeCtrl * _arg0;
d5c9047a 8999 wxTreeItemId * _arg1;
1d99702e
RD
9000 PyObject * _argo0 = 0;
9001 PyObject * _argo1 = 0;
efc5f224 9002 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
9003
9004 self = self;
efc5f224 9005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 9006 return NULL;
1d99702e
RD
9007 if (_argo0) {
9008 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
9011 return NULL;
9012 }
9013 }
1d99702e
RD
9014 if (_argo1) {
9015 if (_argo1 == Py_None) { _arg1 = NULL; }
9016 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
9017 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9018 return NULL;
9019 }
9020 }
cf694132
RD
9021{
9022 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 9023 wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132
RD
9024
9025 wxPy_END_ALLOW_THREADS;
4dfaa61e 9026 if (PyErr_Occurred()) return NULL;
cf694132 9027} Py_INCREF(Py_None);
d5c9047a 9028 _resultobj = Py_None;
8ab979d7
RD
9029 return _resultobj;
9030}
9031
d426c97e
RD
9032#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9033static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
9034 PyObject * _resultobj;
f6bcfd97 9035 wxPyTreeCtrl * _arg0;
d426c97e
RD
9036 wxTreeItemId * _arg1;
9037 PyObject * _argo0 = 0;
9038 PyObject * _argo1 = 0;
9039 char *_kwnames[] = { "self","item", NULL };
9040
9041 self = self;
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
9043 return NULL;
9044 if (_argo0) {
9045 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9048 return NULL;
9049 }
9050 }
9051 if (_argo1) {
9052 if (_argo1 == Py_None) { _arg1 = NULL; }
9053 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9054 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9055 return NULL;
9056 }
9057 }
9058{
9059 wxPy_BEGIN_ALLOW_THREADS;
9060 wxTreeCtrl_SortChildren(_arg0,*_arg1);
9061
9062 wxPy_END_ALLOW_THREADS;
4dfaa61e 9063 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9064} Py_INCREF(Py_None);
9065 _resultobj = Py_None;
9066 return _resultobj;
9067}
9068
b8b8dda7 9069#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 9070static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 9071 PyObject * _resultobj;
f6bcfd97 9072 wxPyTreeCtrl * _arg0;
b8b8dda7 9073 wxTreeItemId * _arg1;
b1462dfa 9074 int _arg2 = (int ) TRUE;
1d99702e
RD
9075 PyObject * _argo0 = 0;
9076 PyObject * _argo1 = 0;
efc5f224 9077 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
9078
9079 self = self;
b1462dfa 9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 9081 return NULL;
1d99702e
RD
9082 if (_argo0) {
9083 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9086 return NULL;
9087 }
9088 }
1d99702e
RD
9089 if (_argo1) {
9090 if (_argo1 == Py_None) { _arg1 = NULL; }
9091 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9092 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9093 return NULL;
9094 }
9095 }
cf694132
RD
9096{
9097 wxPy_BEGIN_ALLOW_THREADS;
9098 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
9099
9100 wxPy_END_ALLOW_THREADS;
4dfaa61e 9101 if (PyErr_Occurred()) return NULL;
cf694132 9102} Py_INCREF(Py_None);
b8b8dda7
RD
9103 _resultobj = Py_None;
9104 return _resultobj;
9105}
9106
9107#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 9108static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9109 PyObject * _resultobj;
9110 bool _result;
f6bcfd97 9111 wxPyTreeCtrl * _arg0;
b8b8dda7 9112 wxTreeItemId * _arg1;
1d99702e
RD
9113 PyObject * _argo0 = 0;
9114 PyObject * _argo1 = 0;
efc5f224 9115 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
9116
9117 self = self;
efc5f224 9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 9119 return NULL;
1d99702e
RD
9120 if (_argo0) {
9121 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9124 return NULL;
9125 }
9126 }
1d99702e
RD
9127 if (_argo1) {
9128 if (_argo1 == Py_None) { _arg1 = NULL; }
9129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9131 return NULL;
9132 }
9133 }
cf694132
RD
9134{
9135 wxPy_BEGIN_ALLOW_THREADS;
9136 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
9137
9138 wxPy_END_ALLOW_THREADS;
4dfaa61e 9139 if (PyErr_Occurred()) return NULL;
cf694132 9140} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
9141 return _resultobj;
9142}
9143
164b735b 9144#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 9145static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9146 PyObject * _resultobj;
9147 wxTreeItemId * _result;
f6bcfd97 9148 wxPyTreeCtrl * _arg0;
b8b8dda7 9149 wxPoint * _arg1;
164b735b
RD
9150 int * _arg2;
9151 int temp;
1d99702e 9152 PyObject * _argo0 = 0;
164b735b 9153 wxPoint temp0;
2f90df85 9154 PyObject * _obj1 = 0;
efc5f224 9155 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
9156 char _ptemp[128];
9157
9158 self = self;
164b735b
RD
9159{
9160 _arg2 = &temp;
9161}
2f90df85 9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 9163 return NULL;
1d99702e
RD
9164 if (_argo0) {
9165 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9168 return NULL;
9169 }
9170 }
2f90df85 9171{
164b735b 9172 _arg1 = &temp0;
2f90df85 9173 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 9174 return NULL;
2f90df85 9175}
cf694132
RD
9176{
9177 wxPy_BEGIN_ALLOW_THREADS;
164b735b 9178 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132
RD
9179
9180 wxPy_END_ALLOW_THREADS;
4dfaa61e 9181 if (PyErr_Occurred()) return NULL;
cf694132 9182} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 9183 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
9184{
9185 PyObject *o;
9186 o = PyInt_FromLong((long) (*_arg2));
9187 _resultobj = t_output_helper(_resultobj, o);
9188}
b8b8dda7
RD
9189 return _resultobj;
9190}
9191
b7e72427
RD
9192#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9193static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9194 PyObject * _resultobj;
f6bcfd97 9195 wxPyTreeCtrl * _arg0;
b7e72427
RD
9196 wxTreeItemId * _arg1;
9197 wxColour * _arg2;
9198 PyObject * _argo0 = 0;
9199 PyObject * _argo1 = 0;
f6bcfd97
BP
9200 wxColour temp;
9201 PyObject * _obj2 = 0;
b7e72427
RD
9202 char *_kwnames[] = { "self","item","col", NULL };
9203
9204 self = self;
f6bcfd97 9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9206 return NULL;
9207 if (_argo0) {
9208 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9211 return NULL;
9212 }
9213 }
9214 if (_argo1) {
9215 if (_argo1 == Py_None) { _arg1 = NULL; }
9216 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9218 return NULL;
9219 }
9220 }
f6bcfd97
BP
9221{
9222 _arg2 = &temp;
9223 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9224 return NULL;
f6bcfd97 9225}
b7e72427
RD
9226{
9227 wxPy_BEGIN_ALLOW_THREADS;
9228 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
9229
9230 wxPy_END_ALLOW_THREADS;
4dfaa61e 9231 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9232} Py_INCREF(Py_None);
9233 _resultobj = Py_None;
9234 return _resultobj;
9235}
9236
9237#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9238static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9239 PyObject * _resultobj;
f6bcfd97 9240 wxPyTreeCtrl * _arg0;
b7e72427
RD
9241 wxTreeItemId * _arg1;
9242 wxColour * _arg2;
9243 PyObject * _argo0 = 0;
9244 PyObject * _argo1 = 0;
f6bcfd97
BP
9245 wxColour temp;
9246 PyObject * _obj2 = 0;
b7e72427
RD
9247 char *_kwnames[] = { "self","item","col", NULL };
9248
9249 self = self;
f6bcfd97 9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9251 return NULL;
9252 if (_argo0) {
9253 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9256 return NULL;
9257 }
9258 }
9259 if (_argo1) {
9260 if (_argo1 == Py_None) { _arg1 = NULL; }
9261 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9262 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9263 return NULL;
9264 }
9265 }
f6bcfd97
BP
9266{
9267 _arg2 = &temp;
9268 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9269 return NULL;
f6bcfd97 9270}
b7e72427
RD
9271{
9272 wxPy_BEGIN_ALLOW_THREADS;
9273 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
9274
9275 wxPy_END_ALLOW_THREADS;
4dfaa61e 9276 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9277} Py_INCREF(Py_None);
9278 _resultobj = Py_None;
9279 return _resultobj;
9280}
9281
9282#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9283static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9284 PyObject * _resultobj;
f6bcfd97 9285 wxPyTreeCtrl * _arg0;
b7e72427
RD
9286 wxTreeItemId * _arg1;
9287 wxFont * _arg2;
9288 PyObject * _argo0 = 0;
9289 PyObject * _argo1 = 0;
9290 PyObject * _argo2 = 0;
9291 char *_kwnames[] = { "self","item","font", NULL };
9292
9293 self = self;
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9295 return NULL;
9296 if (_argo0) {
9297 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9300 return NULL;
9301 }
9302 }
9303 if (_argo1) {
9304 if (_argo1 == Py_None) { _arg1 = NULL; }
9305 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9306 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9307 return NULL;
9308 }
9309 }
9310 if (_argo2) {
9311 if (_argo2 == Py_None) { _arg2 = NULL; }
9312 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9313 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9314 return NULL;
9315 }
9316 }
9317{
9318 wxPy_BEGIN_ALLOW_THREADS;
9319 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
9320
9321 wxPy_END_ALLOW_THREADS;
4dfaa61e 9322 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9323} Py_INCREF(Py_None);
9324 _resultobj = Py_None;
9325 return _resultobj;
9326}
9327
8ab979d7 9328static PyMethodDef controls2cMethods[] = {
b7e72427
RD
9329 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
9330 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9331 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9332 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
9333 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
9334 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 9335 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9336 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
9337 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
9338 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
9339 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
9340 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
9341 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
9342 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
9343 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
9344 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
9345 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
9346 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
9347 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
9348 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
9349 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 9350 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9351 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
9352 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
9353 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 9354 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9355 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
9356 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
9357 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
9358 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
9359 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
9360 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
9361 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
9362 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 9363 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 9364 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9365 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
9366 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
9367 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
9368 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
9369 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
9370 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
9371 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
9372 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
9373 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
9374 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
9375 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
9376 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
9377 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
9378 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
9379 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
9380 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
9381 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
9382 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
9383 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
9384 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
9385 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9386 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
9387 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
9388 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
9389 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
9390 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
9391 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
9392 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0220cbc1 9393 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
9394 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
9395 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9396 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
9397 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
9398 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
65191ae8 9399 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9400 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
9401 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
9402 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 9403 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9404 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
9405 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
9406 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
9407 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
9408 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 9409 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9410 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
9411 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
9412 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
9413 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
9414 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9415 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9416 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
9417 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9418 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
9419 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
9420 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9421 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
9422 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
9423 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
9424 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
9425 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
9426 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
9427 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
9428 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
9429 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
9430 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
9431 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
9432 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
9433 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
dcd38683 9434 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
efc5f224 9435 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
9436 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
9437 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
9438 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9439 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
9440 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
9441 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
9442 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 9443 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9444 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
9445 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
9446 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
9447 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9448 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
9449 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
9450 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
9451 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
9452 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
9453 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
9454 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
9455 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
9456 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
9457 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
9458 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
9459 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
9460 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
9461 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
9462 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
9463 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
9464 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
9465 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9466 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
9467 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
9468 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
9469 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
9470 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
9471 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
9472 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
9473 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
9474 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
9475 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
9476 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
9477 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
9478 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
9479 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
9480 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
9481 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
9482 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
9483 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
9484 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
9485 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
9486 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
9487 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
9488 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9489 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0220cbc1 9490 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
9491 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
9492 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 9493 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
9494 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
9495 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
9496 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
9497 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
9498 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
9499 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
9500 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
9501 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
9502 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
9503 { "wxListEvent_Cancelled", (PyCFunction) _wrap_wxListEvent_Cancelled, METH_VARARGS | METH_KEYWORDS },
9504 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
9505 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
9506 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9507 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
9508 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
9509 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
9510 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
9511 { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS },
9512 { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS },
9513 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
9514 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9515 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
9516 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
9517 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
9518 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
059a841c 9519 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
9520 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
9521 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
9522 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
9523 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
9524 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
9525 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
9526 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
9527 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
9528 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
9529 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
9530 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
9531 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
9532 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
9533 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
9534 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
9535 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
9536 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
9537 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
9538 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
9539 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
9540 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
9541 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9542 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9543 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
9544 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
9545 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
9546 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
9547 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
9548 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
9549 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
9550 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
9551 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
9552 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
9553 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
9554 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
9555 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9556 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
9557 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
9558 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
9559 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
9560 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
9561 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
9562 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
9563 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
9564 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
9565 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
9566 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
9567 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
9568 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
9569 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
9570 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
9571 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
9572 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9573 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9574 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
9575 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9576 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
9577 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
9578 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9579 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
9580 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
9581 { NULL, NULL }
9582};
1d99702e
RD
9583#ifdef __cplusplus
9584}
9585#endif
9586/*
9587 * This table is used by the pointer type-checker
9588 */
9589static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 9590 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 9591 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 9592 { "_signed_long","_long",0},
b1462dfa 9593 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
9594 { "_wxPrintQuality","_int",0},
9595 { "_wxPrintQuality","_signed_int",0},
9596 { "_wxPrintQuality","_unsigned_int",0},
9597 { "_wxPrintQuality","_wxWindowID",0},
9598 { "_wxPrintQuality","_uint",0},
9599 { "_wxPrintQuality","_EBool",0},
9600 { "_wxPrintQuality","_size_t",0},
c368d904 9601 { "_wxPrintQuality","_time_t",0},
1d99702e 9602 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 9603 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 9604 { "_byte","_unsigned_char",0},
1d99702e
RD
9605 { "_long","_unsigned_long",0},
9606 { "_long","_signed_long",0},
b1462dfa 9607 { "_size_t","_wxCoord",0},
1d99702e 9608 { "_size_t","_wxPrintQuality",0},
c368d904 9609 { "_size_t","_time_t",0},
1d99702e
RD
9610 { "_size_t","_unsigned_int",0},
9611 { "_size_t","_int",0},
9612 { "_size_t","_wxWindowID",0},
9613 { "_size_t","_uint",0},
b1462dfa 9614 { "_uint","_wxCoord",0},
1d99702e 9615 { "_uint","_wxPrintQuality",0},
c368d904 9616 { "_uint","_time_t",0},
1d99702e
RD
9617 { "_uint","_size_t",0},
9618 { "_uint","_unsigned_int",0},
9619 { "_uint","_int",0},
9620 { "_uint","_wxWindowID",0},
f6bcfd97 9621 { "_wxChar","_char",0},
1d99702e 9622 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 9623 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 9624 { "_char","_wxChar",0},
059a841c 9625 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 9626 { "_EBool","_wxCoord",0},
1d99702e
RD
9627 { "_EBool","_wxPrintQuality",0},
9628 { "_EBool","_signed_int",0},
9629 { "_EBool","_int",0},
9630 { "_EBool","_wxWindowID",0},
1d99702e 9631 { "_unsigned_long","_long",0},
059a841c 9632 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 9633 { "_signed_int","_wxCoord",0},
1d99702e
RD
9634 { "_signed_int","_wxPrintQuality",0},
9635 { "_signed_int","_EBool",0},
9636 { "_signed_int","_wxWindowID",0},
9637 { "_signed_int","_int",0},
1d99702e
RD
9638 { "_WXTYPE","_short",0},
9639 { "_WXTYPE","_signed_short",0},
9640 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
9641 { "_unsigned_short","_WXTYPE",0},
9642 { "_unsigned_short","_short",0},
9df61a29 9643 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9df61a29 9644 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9df61a29 9645 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
059a841c 9646 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
cd096152 9647 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9df61a29 9648 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9df61a29 9649 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
9650 { "_signed_short","_WXTYPE",0},
9651 { "_signed_short","_short",0},
1d99702e 9652 { "_unsigned_char","_byte",0},
f6bcfd97 9653 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
059a841c 9654 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
cd096152 9655 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 9656 { "_unsigned_int","_wxCoord",0},
1d99702e 9657 { "_unsigned_int","_wxPrintQuality",0},
c368d904 9658 { "_unsigned_int","_time_t",0},
1d99702e
RD
9659 { "_unsigned_int","_size_t",0},
9660 { "_unsigned_int","_uint",0},
9661 { "_unsigned_int","_wxWindowID",0},
9662 { "_unsigned_int","_int",0},
1d99702e
RD
9663 { "_short","_WXTYPE",0},
9664 { "_short","_unsigned_short",0},
9665 { "_short","_signed_short",0},
b1462dfa 9666 { "_wxWindowID","_wxCoord",0},
1d99702e 9667 { "_wxWindowID","_wxPrintQuality",0},
c368d904 9668 { "_wxWindowID","_time_t",0},
1d99702e
RD
9669 { "_wxWindowID","_size_t",0},
9670 { "_wxWindowID","_EBool",0},
9671 { "_wxWindowID","_uint",0},
9672 { "_wxWindowID","_int",0},
9673 { "_wxWindowID","_signed_int",0},
9674 { "_wxWindowID","_unsigned_int",0},
b1462dfa 9675 { "_int","_wxCoord",0},
1d99702e 9676 { "_int","_wxPrintQuality",0},
c368d904 9677 { "_int","_time_t",0},
1d99702e
RD
9678 { "_int","_size_t",0},
9679 { "_int","_EBool",0},
9680 { "_int","_uint",0},
9681 { "_int","_wxWindowID",0},
9682 { "_int","_unsigned_int",0},
9683 { "_int","_signed_int",0},
c368d904
RD
9684 { "_time_t","_wxCoord",0},
9685 { "_time_t","_wxPrintQuality",0},
9686 { "_time_t","_unsigned_int",0},
9687 { "_time_t","_int",0},
9688 { "_time_t","_wxWindowID",0},
9689 { "_time_t","_uint",0},
9690 { "_time_t","_size_t",0},
b1462dfa
RD
9691 { "_wxCoord","_int",0},
9692 { "_wxCoord","_signed_int",0},
9693 { "_wxCoord","_unsigned_int",0},
9694 { "_wxCoord","_wxWindowID",0},
9695 { "_wxCoord","_uint",0},
9696 { "_wxCoord","_EBool",0},
9697 { "_wxCoord","_size_t",0},
c368d904 9698 { "_wxCoord","_time_t",0},
b1462dfa 9699 { "_wxCoord","_wxPrintQuality",0},
059a841c 9700 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
f6bcfd97 9701 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
059a841c 9702 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
cd096152 9703 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
f6bcfd97 9704 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
059a841c 9705 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
cd096152 9706 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
9707{0,0,0}};
9708
8ab979d7
RD
9709static PyObject *SWIG_globals;
9710#ifdef __cplusplus
9711extern "C"
9712#endif
1d99702e 9713SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
9714 PyObject *m, *d;
9715 SWIG_globals = SWIG_newvarlink();
9716 m = Py_InitModule("controls2c", controls2cMethods);
9717 d = PyModule_GetDict(m);
cd096152
RD
9718 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
9719 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
9720 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
9721 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
9722 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
9723 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
9724 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
9725 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
9726 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
9727 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
9728 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
9729 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
9730 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
9731 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
9732 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
9733 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
9734 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
059a841c
RD
9735 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
9736 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
9737 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
9738 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
cd096152
RD
9739 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
9740 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
9741 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
9742 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
9743 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
9744 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
9745 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
9746 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
9747 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
9748 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
9749 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
9750 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
9751 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
9752 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
9753 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
9754 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
9755 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
9756 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
9757 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
059a841c 9758 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
cd096152 9759 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
9760 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
9761 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
9762 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
cd096152 9763 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
9764 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
9765 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
9766 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
9767 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
9768 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
9769 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
9770 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
9771 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
9772 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
9773 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
9774 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
9775 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
9776 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
9777 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
9778 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
9779 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
9780 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
9781 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
9782 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
9783 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
9784 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
9785 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
9786 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
9787 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
9788 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
9789 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
9790 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
9791 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
9792 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
9793 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
9794 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
9795 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
9796 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
9797 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
9798 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
9799 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
9800 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
9801 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
9802 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
aa2a5b86
RD
9803 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
9804 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
9805 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
9806 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
9807 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
9808 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
9809 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
9810 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
9811 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
9812 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
9813 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
9814 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
9815 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
9816 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
694759cf
RD
9817 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
9818 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
9819 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
9820 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
9821 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
9822 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
9823 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
9824 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
9825 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
9826 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
9827 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
9828 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
9829 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
9830 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
9831 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
9832 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
9833 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
9834 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
9835 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
9c4165ad
RD
9836 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
9837 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
9838 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
9839 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
9840 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
9841 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
9842 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
9843 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
9844 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
9845 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
9846 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
9847 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
9848 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
9849 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
9850 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
9851 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
9852 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
7a446686 9853 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
9df61a29 9854
059a841c 9855 // Map renamed classes back to their common name for OOR
9df61a29
RD
9856 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
9857 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
059a841c 9858 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
1d99702e
RD
9859{
9860 int i;
9861 for (i = 0; _swig_mapping[i].n1; i++)
9862 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
9863}
8ab979d7 9864}