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