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