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