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