]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls2.cpp
enabled toolbar as it works now
[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>
68320e40 65#include <wx/dirctrl.h>
8ab979d7 66
8ab979d7
RD
67
68static PyObject* t_output_helper(PyObject* target, PyObject* o) {
69 PyObject* o2;
70 PyObject* o3;
71
e0672e2f 72 if (!target) {
8ab979d7 73 target = o;
e0672e2f 74 } else if (target == Py_None) {
8ab979d7
RD
75 Py_DECREF(Py_None);
76 target = o;
e0672e2f 77 } else {
8ab979d7
RD
78 if (!PyTuple_Check(target)) {
79 o2 = target;
80 target = PyTuple_New(1);
81 PyTuple_SetItem(target, 0, o2);
82 }
e0672e2f
RD
83 o3 = PyTuple_New(1);
84 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
85
86 o2 = target;
e0672e2f
RD
87 target = PySequence_Concat(o2, o3);
88 Py_DECREF(o2);
8ab979d7
RD
89 Py_DECREF(o3);
90 }
91 return target;
92}
09f3d4e6 93 // C++ Version of a Python aware class
c7e7022c
RD
94class wxPyListCtrl : public wxListCtrl {
95 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
96public:
09f3d4e6 97 wxPyListCtrl() : wxListCtrl() {}
c7e7022c
RD
98 wxPyListCtrl(wxWindow* parent, wxWindowID id,
99 const wxPoint& pos,
100 const wxSize& size,
101 long style,
102 const wxValidator& validator,
103 char* name) :
104 wxListCtrl(parent, id, pos, size, style, validator, name) {}
105
09f3d4e6
RD
106 bool Create(wxWindow* parent, wxWindowID id,
107 const wxPoint& pos,
108 const wxSize& size,
109 long style,
110 const wxValidator& validator,
111 char* name) {
112 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
113 }
114
c7e7022c
RD
115 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
116 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
117 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
118
119 PYPRIVATE;
120};
121
122IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
123
124IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
125IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
126IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
6d19860f 127 // Python aware sorting function for wxPyListCtrl
f6bcfd97 128 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
dcd38683
RD
129 int retval = 0;
130 PyObject* func = (PyObject*)funcPtr;
4268f798 131 wxPyBeginBlockThreads();
dcd38683
RD
132
133 PyObject* args = Py_BuildValue("(ii)", item1, item2);
134 PyObject* result = PyEval_CallObject(func, args);
135 Py_DECREF(args);
136 if (result) {
137 retval = PyInt_AsLong(result);
138 Py_DECREF(result);
139 }
140
4268f798 141 wxPyEndBlockThreads();
dcd38683
RD
142 return retval;
143 }
144
145
cf694132
RD
146class wxPyTreeItemData : public wxTreeItemData {
147public:
148 wxPyTreeItemData(PyObject* obj = NULL) {
c368d904 149 if (obj == NULL)
cf694132 150 obj = Py_None;
c368d904
RD
151 Py_INCREF(obj);
152 m_obj = obj;
cf694132
RD
153 }
154
155 ~wxPyTreeItemData() {
4268f798 156 wxPyBeginBlockThreads();
c368d904 157 Py_DECREF(m_obj);
4268f798 158 wxPyEndBlockThreads();
cf694132
RD
159 }
160
161 PyObject* GetData() {
162 Py_INCREF(m_obj);
163 return m_obj;
164 }
165
166 void SetData(PyObject* obj) {
4268f798 167 wxPyBeginBlockThreads();
cf694132 168 Py_DECREF(m_obj);
4268f798 169 wxPyEndBlockThreads();
cf694132
RD
170 m_obj = obj;
171 Py_INCREF(obj);
172 }
173
174 PyObject* m_obj;
175};
09f3d4e6 176 // C++ version of Python aware wxTreeCtrl
f6bcfd97 177class wxPyTreeCtrl : public wxTreeCtrl {
3b36695d 178 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
f6bcfd97 179public:
09f3d4e6 180 wxPyTreeCtrl() : wxTreeCtrl() {}
f6bcfd97
BP
181 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
182 const wxPoint& pos,
183 const wxSize& size,
184 long style,
185 const wxValidator& validator,
186 char* name) :
187 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
188
09f3d4e6
RD
189 bool Create(wxWindow *parent, wxWindowID id,
190 const wxPoint& pos,
191 const wxSize& size,
192 long style,
193 const wxValidator& validator,
194 char* name) {
195 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
196 }
197
198
f6bcfd97
BP
199 int OnCompareItems(const wxTreeItemId& item1,
200 const wxTreeItemId& item2) {
201 int rval = 0;
19a97bd6 202 bool found;
4268f798 203 wxPyBeginBlockThreads();
19a97bd6 204 if ((found = m_myInst.findCallback("OnCompareItems")))
f6bcfd97
BP
205 rval = m_myInst.callCallback(Py_BuildValue(
206 "(OO)",
207 wxPyConstructObject((void*)&item1, "wxTreeItemId"),
208 wxPyConstructObject((void*)&item2, "wxTreeItemId")));
4268f798 209 wxPyEndBlockThreads();
19a97bd6 210 if (! found)
f6bcfd97 211 rval = wxTreeCtrl::OnCompareItems(item1, item2);
f6bcfd97
BP
212 return rval;
213 }
214 PYPRIVATE;
215};
216
3b36695d
RD
217IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
218
1d99702e
RD
219#ifdef __cplusplus
220extern "C" {
221#endif
c7e7022c 222#define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97 223static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 224 PyObject * _resultobj;
f6bcfd97 225 wxListItemAttr * _result;
c7e7022c
RD
226 wxColour * _arg0 = (wxColour *) &wxNullColour;
227 wxColour * _arg1 = (wxColour *) &wxNullColour;
228 wxFont * _arg2 = (wxFont *) &wxNullFont;
229 wxColour temp;
230 PyObject * _obj0 = 0;
231 wxColour temp0;
232 PyObject * _obj1 = 0;
233 PyObject * _argo2 = 0;
234 char *_kwnames[] = { "colText","colBack","font", NULL };
f6bcfd97 235 char _ptemp[128];
af309447
RD
236
237 self = self;
c7e7022c
RD
238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxListItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
239 return NULL;
240 if (_obj0)
241{
242 _arg0 = &temp;
243 if (! wxColour_helper(_obj0, &_arg0))
244 return NULL;
245}
246 if (_obj1)
247{
248 _arg1 = &temp0;
249 if (! wxColour_helper(_obj1, &_arg1))
250 return NULL;
251}
252 if (_argo2) {
253 if (_argo2 == Py_None) { _arg2 = NULL; }
254 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
255 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
af309447 256 return NULL;
c7e7022c
RD
257 }
258 }
cf694132 259{
4268f798 260 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 261 _result = (wxListItemAttr *)new_wxListItemAttr(*_arg0,*_arg1,*_arg2);
cf694132 262
4268f798 263 wxPyEndAllowThreads(__tstate);
493f1553 264 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
265} if (_result) {
266 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
267 _resultobj = Py_BuildValue("s",_ptemp);
268 } else {
269 Py_INCREF(Py_None);
270 _resultobj = Py_None;
271 }
af309447
RD
272 return _resultobj;
273}
274
f6bcfd97
BP
275#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
276static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 277 PyObject * _resultobj;
f6bcfd97
BP
278 wxListItemAttr * _arg0;
279 wxColour * _arg1;
1d99702e 280 PyObject * _argo0 = 0;
f6bcfd97
BP
281 wxColour temp;
282 PyObject * _obj1 = 0;
283 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
284
285 self = self;
f6bcfd97 286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 287 return NULL;
1d99702e
RD
288 if (_argo0) {
289 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
292 return NULL;
293 }
294 }
f6bcfd97
BP
295{
296 _arg1 = &temp;
297 if (! wxColour_helper(_obj1, &_arg1))
298 return NULL;
299}
cf694132 300{
4268f798 301 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 302 wxListItemAttr_SetTextColour(_arg0,*_arg1);
cf694132 303
4268f798 304 wxPyEndAllowThreads(__tstate);
493f1553 305 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
306} Py_INCREF(Py_None);
307 _resultobj = Py_None;
8ab979d7
RD
308 return _resultobj;
309}
310
f6bcfd97
BP
311#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
312static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 313 PyObject * _resultobj;
f6bcfd97
BP
314 wxListItemAttr * _arg0;
315 wxColour * _arg1;
1d99702e 316 PyObject * _argo0 = 0;
f6bcfd97
BP
317 wxColour temp;
318 PyObject * _obj1 = 0;
319 char *_kwnames[] = { "self","colBack", NULL };
af309447
RD
320
321 self = self;
f6bcfd97 322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
af309447 323 return NULL;
1d99702e
RD
324 if (_argo0) {
325 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
328 return NULL;
329 }
330 }
f6bcfd97
BP
331{
332 _arg1 = &temp;
333 if (! wxColour_helper(_obj1, &_arg1))
334 return NULL;
335}
cf694132 336{
4268f798 337 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 338 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132 339
4268f798 340 wxPyEndAllowThreads(__tstate);
493f1553 341 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
342} Py_INCREF(Py_None);
343 _resultobj = Py_None;
af309447
RD
344 return _resultobj;
345}
346
f6bcfd97
BP
347#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
348static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 349 PyObject * _resultobj;
f6bcfd97
BP
350 wxListItemAttr * _arg0;
351 wxFont * _arg1;
1d99702e 352 PyObject * _argo0 = 0;
f6bcfd97
BP
353 PyObject * _argo1 = 0;
354 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
355
356 self = self;
f6bcfd97 357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 358 return NULL;
1d99702e
RD
359 if (_argo0) {
360 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
363 return NULL;
364 }
365 }
366 if (_argo1) {
367 if (_argo1 == Py_None) { _arg1 = NULL; }
368 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
369 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
8ab979d7
RD
370 return NULL;
371 }
372 }
cf694132 373{
4268f798 374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 375 wxListItemAttr_SetFont(_arg0,*_arg1);
cf694132 376
4268f798 377 wxPyEndAllowThreads(__tstate);
493f1553 378 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
379} Py_INCREF(Py_None);
380 _resultobj = Py_None;
8ab979d7
RD
381 return _resultobj;
382}
383
f6bcfd97
BP
384#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
385static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 386 PyObject * _resultobj;
f6bcfd97
BP
387 bool _result;
388 wxListItemAttr * _arg0;
1d99702e 389 PyObject * _argo0 = 0;
f6bcfd97 390 char *_kwnames[] = { "self", NULL };
af309447
RD
391
392 self = self;
f6bcfd97 393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
af309447 394 return NULL;
1d99702e
RD
395 if (_argo0) {
396 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
af309447
RD
399 return NULL;
400 }
401 }
cf694132 402{
4268f798 403 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 404 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
cf694132 405
4268f798 406 wxPyEndAllowThreads(__tstate);
493f1553 407 if (PyErr_Occurred()) return NULL;
cf694132 408} _resultobj = Py_BuildValue("i",_result);
af309447
RD
409 return _resultobj;
410}
411
f6bcfd97
BP
412#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
413static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 414 PyObject * _resultobj;
f6bcfd97
BP
415 bool _result;
416 wxListItemAttr * _arg0;
1d99702e 417 PyObject * _argo0 = 0;
efc5f224 418 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
419
420 self = self;
f6bcfd97 421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
8ab979d7 422 return NULL;
1d99702e
RD
423 if (_argo0) {
424 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
427 return NULL;
428 }
429 }
cf694132 430{
4268f798 431 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 432 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
cf694132 433
4268f798 434 wxPyEndAllowThreads(__tstate);
493f1553 435 if (PyErr_Occurred()) return NULL;
cf694132 436} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
437 return _resultobj;
438}
439
f6bcfd97
BP
440#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
441static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 442 PyObject * _resultobj;
f6bcfd97
BP
443 bool _result;
444 wxListItemAttr * _arg0;
1d99702e 445 PyObject * _argo0 = 0;
f6bcfd97 446 char *_kwnames[] = { "self", NULL };
af309447
RD
447
448 self = self;
f6bcfd97 449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
af309447 450 return NULL;
1d99702e
RD
451 if (_argo0) {
452 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
af309447
RD
455 return NULL;
456 }
457 }
cf694132 458{
4268f798 459 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 460 _result = (bool )wxListItemAttr_HasFont(_arg0);
cf694132 461
4268f798 462 wxPyEndAllowThreads(__tstate);
493f1553 463 if (PyErr_Occurred()) return NULL;
f6bcfd97 464} _resultobj = Py_BuildValue("i",_result);
af309447
RD
465 return _resultobj;
466}
467
f6bcfd97
BP
468#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
469static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 470 PyObject * _resultobj;
f6bcfd97
BP
471 wxColour * _result;
472 wxListItemAttr * _arg0;
1d99702e 473 PyObject * _argo0 = 0;
efc5f224 474 char *_kwnames[] = { "self", NULL };
f6bcfd97 475 char _ptemp[128];
8ab979d7
RD
476
477 self = self;
f6bcfd97 478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 479 return NULL;
1d99702e
RD
480 if (_argo0) {
481 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
484 return NULL;
485 }
486 }
cf694132 487{
4268f798 488 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 489 _result = new wxColour (wxListItemAttr_GetTextColour(_arg0));
cf694132 490
4268f798 491 wxPyEndAllowThreads(__tstate);
493f1553 492 if (PyErr_Occurred()) return NULL;
c5943253
RD
493} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
494 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
495 return _resultobj;
496}
497
f6bcfd97
BP
498#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
499static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 500 PyObject * _resultobj;
f6bcfd97
BP
501 wxColour * _result;
502 wxListItemAttr * _arg0;
1d99702e 503 PyObject * _argo0 = 0;
f6bcfd97
BP
504 char *_kwnames[] = { "self", NULL };
505 char _ptemp[128];
af309447
RD
506
507 self = self;
f6bcfd97 508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
af309447 509 return NULL;
1d99702e
RD
510 if (_argo0) {
511 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
514 return NULL;
515 }
516 }
cf694132 517{
4268f798 518 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 519 _result = new wxColour (wxListItemAttr_GetBackgroundColour(_arg0));
cf694132 520
4268f798 521 wxPyEndAllowThreads(__tstate);
493f1553 522 if (PyErr_Occurred()) return NULL;
c5943253
RD
523} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
524 _resultobj = Py_BuildValue("s",_ptemp);
af309447
RD
525 return _resultobj;
526}
527
f6bcfd97
BP
528#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
529static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 530 PyObject * _resultobj;
f6bcfd97
BP
531 wxFont * _result;
532 wxListItemAttr * _arg0;
1d99702e 533 PyObject * _argo0 = 0;
efc5f224 534 char *_kwnames[] = { "self", NULL };
f6bcfd97 535 char _ptemp[128];
8ab979d7
RD
536
537 self = self;
f6bcfd97 538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
8ab979d7 539 return NULL;
1d99702e
RD
540 if (_argo0) {
541 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
8ab979d7
RD
544 return NULL;
545 }
546 }
cf694132 547{
4268f798 548 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 549 _result = new wxFont (wxListItemAttr_GetFont(_arg0));
cf694132 550
4268f798 551 wxPyEndAllowThreads(__tstate);
493f1553 552 if (PyErr_Occurred()) return NULL;
c5943253
RD
553} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
554 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
555 return _resultobj;
556}
557
9416aa89
RD
558static void *SwigwxListItemTowxObject(void *ptr) {
559 wxListItem *src;
560 wxObject *dest;
561 src = (wxListItem *) ptr;
562 dest = (wxObject *) src;
563 return (void *) dest;
564}
565
f6bcfd97
BP
566#define new_wxListItem() (new wxListItem())
567static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 568 PyObject * _resultobj;
f6bcfd97
BP
569 wxListItem * _result;
570 char *_kwnames[] = { NULL };
571 char _ptemp[128];
af309447
RD
572
573 self = self;
f6bcfd97 574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
af309447 575 return NULL;
af309447 576{
4268f798 577 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 578 _result = (wxListItem *)new_wxListItem();
cf694132 579
4268f798 580 wxPyEndAllowThreads(__tstate);
493f1553 581 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
582} if (_result) {
583 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
584 _resultobj = Py_BuildValue("s",_ptemp);
585 } else {
586 Py_INCREF(Py_None);
587 _resultobj = Py_None;
588 }
af309447
RD
589 return _resultobj;
590}
591
f6bcfd97
BP
592#define delete_wxListItem(_swigobj) (delete _swigobj)
593static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 594 PyObject * _resultobj;
8ab979d7 595 wxListItem * _arg0;
1d99702e 596 PyObject * _argo0 = 0;
efc5f224 597 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
598
599 self = self;
f6bcfd97 600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
8ab979d7 601 return NULL;
1d99702e
RD
602 if (_argo0) {
603 if (_argo0 == Py_None) { _arg0 = NULL; }
604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
8ab979d7
RD
606 return NULL;
607 }
608 }
8ab979d7 609{
4268f798 610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 611 delete_wxListItem(_arg0);
cf694132 612
4268f798 613 wxPyEndAllowThreads(__tstate);
493f1553 614 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
615} Py_INCREF(Py_None);
616 _resultobj = Py_None;
8ab979d7
RD
617 return _resultobj;
618}
619
f6bcfd97
BP
620#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
621static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 622 PyObject * _resultobj;
af309447 623 wxListItem * _arg0;
1d99702e 624 PyObject * _argo0 = 0;
f6bcfd97 625 char *_kwnames[] = { "self", NULL };
af309447
RD
626
627 self = self;
f6bcfd97 628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
af309447 629 return NULL;
1d99702e
RD
630 if (_argo0) {
631 if (_argo0 == Py_None) { _arg0 = NULL; }
632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
af309447
RD
634 return NULL;
635 }
636 }
cf694132 637{
4268f798 638 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 639 wxListItem_Clear(_arg0);
cf694132 640
4268f798 641 wxPyEndAllowThreads(__tstate);
493f1553 642 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
643} Py_INCREF(Py_None);
644 _resultobj = Py_None;
af309447
RD
645 return _resultobj;
646}
647
f6bcfd97
BP
648#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
649static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 650 PyObject * _resultobj;
8ab979d7 651 wxListItem * _arg0;
1d99702e 652 PyObject * _argo0 = 0;
efc5f224 653 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
654
655 self = self;
f6bcfd97 656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
8ab979d7 657 return NULL;
1d99702e
RD
658 if (_argo0) {
659 if (_argo0 == Py_None) { _arg0 = NULL; }
660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
8ab979d7
RD
662 return NULL;
663 }
664 }
cf694132 665{
4268f798 666 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 667 wxListItem_ClearAttributes(_arg0);
cf694132 668
4268f798 669 wxPyEndAllowThreads(__tstate);
493f1553 670 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
671} Py_INCREF(Py_None);
672 _resultobj = Py_None;
673 return _resultobj;
674}
675
676#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
677static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
678 PyObject * _resultobj;
679 wxListItem * _arg0;
680 long _arg1;
681 PyObject * _argo0 = 0;
682 char *_kwnames[] = { "self","mask", NULL };
683
684 self = self;
685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
686 return NULL;
687 if (_argo0) {
688 if (_argo0 == Py_None) { _arg0 = NULL; }
689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
691 return NULL;
692 }
693 }
694{
4268f798 695 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 696 wxListItem_SetMask(_arg0,_arg1);
f6bcfd97 697
4268f798 698 wxPyEndAllowThreads(__tstate);
493f1553 699 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
700} Py_INCREF(Py_None);
701 _resultobj = Py_None;
702 return _resultobj;
703}
704
705#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
706static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
707 PyObject * _resultobj;
708 wxListItem * _arg0;
709 long _arg1;
710 PyObject * _argo0 = 0;
711 char *_kwnames[] = { "self","id", NULL };
712
713 self = self;
714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
715 return NULL;
716 if (_argo0) {
717 if (_argo0 == Py_None) { _arg0 = NULL; }
718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
720 return NULL;
721 }
722 }
723{
4268f798 724 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 725 wxListItem_SetId(_arg0,_arg1);
f6bcfd97 726
4268f798 727 wxPyEndAllowThreads(__tstate);
493f1553 728 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
729} Py_INCREF(Py_None);
730 _resultobj = Py_None;
731 return _resultobj;
732}
733
734#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
735static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
736 PyObject * _resultobj;
737 wxListItem * _arg0;
738 int _arg1;
739 PyObject * _argo0 = 0;
740 char *_kwnames[] = { "self","col", NULL };
741
742 self = self;
743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
744 return NULL;
745 if (_argo0) {
746 if (_argo0 == Py_None) { _arg0 = NULL; }
747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
749 return NULL;
750 }
751 }
752{
4268f798 753 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 754 wxListItem_SetColumn(_arg0,_arg1);
f6bcfd97 755
4268f798 756 wxPyEndAllowThreads(__tstate);
493f1553 757 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
758} Py_INCREF(Py_None);
759 _resultobj = Py_None;
760 return _resultobj;
761}
762
763#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
764static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
765 PyObject * _resultobj;
766 wxListItem * _arg0;
767 long _arg1;
768 PyObject * _argo0 = 0;
769 char *_kwnames[] = { "self","state", NULL };
770
771 self = self;
772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
773 return NULL;
774 if (_argo0) {
775 if (_argo0 == Py_None) { _arg0 = NULL; }
776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
778 return NULL;
779 }
780 }
781{
4268f798 782 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 783 wxListItem_SetState(_arg0,_arg1);
f6bcfd97 784
4268f798 785 wxPyEndAllowThreads(__tstate);
493f1553 786 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
787} Py_INCREF(Py_None);
788 _resultobj = Py_None;
789 return _resultobj;
790}
791
792#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
793static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
794 PyObject * _resultobj;
795 wxListItem * _arg0;
796 long _arg1;
797 PyObject * _argo0 = 0;
798 char *_kwnames[] = { "self","stateMask", NULL };
799
800 self = self;
801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
802 return NULL;
803 if (_argo0) {
804 if (_argo0 == Py_None) { _arg0 = NULL; }
805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
807 return NULL;
808 }
809 }
810{
4268f798 811 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 812 wxListItem_SetStateMask(_arg0,_arg1);
f6bcfd97 813
4268f798 814 wxPyEndAllowThreads(__tstate);
493f1553 815 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
816} Py_INCREF(Py_None);
817 _resultobj = Py_None;
818 return _resultobj;
819}
820
821#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
822static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
823 PyObject * _resultobj;
824 wxListItem * _arg0;
825 wxString * _arg1;
826 PyObject * _argo0 = 0;
827 PyObject * _obj1 = 0;
828 char *_kwnames[] = { "self","text", NULL };
829
830 self = self;
831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
832 return NULL;
833 if (_argo0) {
834 if (_argo0 == Py_None) { _arg0 = NULL; }
835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
837 return NULL;
838 }
839 }
840{
c8bc7bb8
RD
841 _arg1 = wxString_in_helper(_obj1);
842 if (_arg1 == NULL)
f6bcfd97 843 return NULL;
f6bcfd97
BP
844}
845{
4268f798 846 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 847 wxListItem_SetText(_arg0,*_arg1);
f6bcfd97 848
4268f798 849 wxPyEndAllowThreads(__tstate);
493f1553 850 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
851} Py_INCREF(Py_None);
852 _resultobj = Py_None;
853{
854 if (_obj1)
855 delete _arg1;
856}
857 return _resultobj;
858}
859
860#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
861static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
862 PyObject * _resultobj;
863 wxListItem * _arg0;
864 int _arg1;
865 PyObject * _argo0 = 0;
866 char *_kwnames[] = { "self","image", NULL };
867
868 self = self;
869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
870 return NULL;
871 if (_argo0) {
872 if (_argo0 == Py_None) { _arg0 = NULL; }
873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
875 return NULL;
876 }
877 }
878{
4268f798 879 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 880 wxListItem_SetImage(_arg0,_arg1);
f6bcfd97 881
4268f798 882 wxPyEndAllowThreads(__tstate);
493f1553 883 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
884} Py_INCREF(Py_None);
885 _resultobj = Py_None;
886 return _resultobj;
887}
888
889#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
890static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
891 PyObject * _resultobj;
892 wxListItem * _arg0;
893 long _arg1;
894 PyObject * _argo0 = 0;
895 char *_kwnames[] = { "self","data", NULL };
896
897 self = self;
898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
899 return NULL;
900 if (_argo0) {
901 if (_argo0 == Py_None) { _arg0 = NULL; }
902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
904 return NULL;
905 }
906 }
907{
4268f798 908 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 909 wxListItem_SetData(_arg0,_arg1);
f6bcfd97 910
4268f798 911 wxPyEndAllowThreads(__tstate);
493f1553 912 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
913} Py_INCREF(Py_None);
914 _resultobj = Py_None;
915 return _resultobj;
916}
917
918#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
919static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
920 PyObject * _resultobj;
921 wxListItem * _arg0;
922 int _arg1;
923 PyObject * _argo0 = 0;
924 char *_kwnames[] = { "self","width", NULL };
925
926 self = self;
927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
928 return NULL;
929 if (_argo0) {
930 if (_argo0 == Py_None) { _arg0 = NULL; }
931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
933 return NULL;
934 }
935 }
936{
4268f798 937 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 938 wxListItem_SetWidth(_arg0,_arg1);
f6bcfd97 939
4268f798 940 wxPyEndAllowThreads(__tstate);
493f1553 941 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
942} Py_INCREF(Py_None);
943 _resultobj = Py_None;
944 return _resultobj;
945}
946
947#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
948static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
949 PyObject * _resultobj;
950 wxListItem * _arg0;
951 wxListColumnFormat _arg1;
952 PyObject * _argo0 = 0;
953 char *_kwnames[] = { "self","align", NULL };
954
955 self = self;
956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
957 return NULL;
958 if (_argo0) {
959 if (_argo0 == Py_None) { _arg0 = NULL; }
960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
962 return NULL;
963 }
964 }
965{
4268f798 966 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 967 wxListItem_SetAlign(_arg0,_arg1);
f6bcfd97 968
4268f798 969 wxPyEndAllowThreads(__tstate);
493f1553 970 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
971} Py_INCREF(Py_None);
972 _resultobj = Py_None;
973 return _resultobj;
974}
975
976#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
977static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
978 PyObject * _resultobj;
979 wxListItem * _arg0;
980 wxColour * _arg1;
981 PyObject * _argo0 = 0;
982 wxColour temp;
983 PyObject * _obj1 = 0;
984 char *_kwnames[] = { "self","colText", NULL };
985
986 self = self;
987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
988 return NULL;
989 if (_argo0) {
990 if (_argo0 == Py_None) { _arg0 = NULL; }
991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
993 return NULL;
994 }
995 }
996{
997 _arg1 = &temp;
998 if (! wxColour_helper(_obj1, &_arg1))
999 return NULL;
1000}
1001{
4268f798 1002 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1003 wxListItem_SetTextColour(_arg0,*_arg1);
f6bcfd97 1004
4268f798 1005 wxPyEndAllowThreads(__tstate);
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_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1013static PyObject *_wrap_wxListItem_SetBackgroundColour(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","colBack", NULL };
1021
1022 self = self;
1023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_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_SetBackgroundColour. Expected _wxListItem_p.");
1029 return NULL;
1030 }
1031 }
1032{
1033 _arg1 = &temp;
1034 if (! wxColour_helper(_obj1, &_arg1))
1035 return NULL;
1036}
1037{
4268f798 1038 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1039 wxListItem_SetBackgroundColour(_arg0,*_arg1);
f6bcfd97 1040
4268f798 1041 wxPyEndAllowThreads(__tstate);
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_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1049static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1050 PyObject * _resultobj;
1051 wxListItem * _arg0;
1052 wxFont * _arg1;
1053 PyObject * _argo0 = 0;
1054 PyObject * _argo1 = 0;
1055 char *_kwnames[] = { "self","font", NULL };
1056
1057 self = self;
1058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1059 return NULL;
1060 if (_argo0) {
1061 if (_argo0 == Py_None) { _arg0 = NULL; }
1062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1064 return NULL;
1065 }
1066 }
1067 if (_argo1) {
1068 if (_argo1 == Py_None) { _arg1 = NULL; }
1069 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1070 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1071 return NULL;
1072 }
1073 }
1074{
4268f798 1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1076 wxListItem_SetFont(_arg0,*_arg1);
f6bcfd97 1077
4268f798 1078 wxPyEndAllowThreads(__tstate);
493f1553 1079 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1080} Py_INCREF(Py_None);
1081 _resultobj = Py_None;
1082 return _resultobj;
1083}
1084
1085#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1086static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1087 PyObject * _resultobj;
1088 long _result;
1089 wxListItem * _arg0;
1090 PyObject * _argo0 = 0;
1091 char *_kwnames[] = { "self", NULL };
1092
1093 self = self;
1094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
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_GetMask. Expected _wxListItem_p.");
1100 return NULL;
1101 }
1102 }
1103{
4268f798 1104 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1105 _result = (long )wxListItem_GetMask(_arg0);
f6bcfd97 1106
4268f798 1107 wxPyEndAllowThreads(__tstate);
493f1553 1108 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1109} _resultobj = Py_BuildValue("l",_result);
1110 return _resultobj;
1111}
1112
1113#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1114static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1115 PyObject * _resultobj;
1116 long _result;
1117 wxListItem * _arg0;
1118 PyObject * _argo0 = 0;
1119 char *_kwnames[] = { "self", NULL };
1120
1121 self = self;
1122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1123 return NULL;
1124 if (_argo0) {
1125 if (_argo0 == Py_None) { _arg0 = NULL; }
1126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1128 return NULL;
1129 }
1130 }
1131{
4268f798 1132 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1133 _result = (long )wxListItem_GetId(_arg0);
f6bcfd97 1134
4268f798 1135 wxPyEndAllowThreads(__tstate);
493f1553 1136 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1137} _resultobj = Py_BuildValue("l",_result);
1138 return _resultobj;
1139}
1140
1141#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1142static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject * _resultobj;
1144 int _result;
1145 wxListItem * _arg0;
1146 PyObject * _argo0 = 0;
1147 char *_kwnames[] = { "self", NULL };
1148
1149 self = self;
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1151 return NULL;
1152 if (_argo0) {
1153 if (_argo0 == Py_None) { _arg0 = NULL; }
1154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1156 return NULL;
1157 }
1158 }
1159{
4268f798 1160 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1161 _result = (int )wxListItem_GetColumn(_arg0);
f6bcfd97 1162
4268f798 1163 wxPyEndAllowThreads(__tstate);
493f1553 1164 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1165} _resultobj = Py_BuildValue("i",_result);
1166 return _resultobj;
1167}
1168
1169#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1170static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1171 PyObject * _resultobj;
1172 long _result;
1173 wxListItem * _arg0;
1174 PyObject * _argo0 = 0;
1175 char *_kwnames[] = { "self", NULL };
1176
1177 self = self;
1178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1179 return NULL;
1180 if (_argo0) {
1181 if (_argo0 == Py_None) { _arg0 = NULL; }
1182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1184 return NULL;
1185 }
1186 }
1187{
4268f798 1188 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1189 _result = (long )wxListItem_GetState(_arg0);
f6bcfd97 1190
4268f798 1191 wxPyEndAllowThreads(__tstate);
493f1553 1192 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1193} _resultobj = Py_BuildValue("l",_result);
1194 return _resultobj;
1195}
1196
1197#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1198static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject * _resultobj;
1200 wxString * _result;
1201 wxListItem * _arg0;
1202 PyObject * _argo0 = 0;
1203 char *_kwnames[] = { "self", NULL };
1204
1205 self = self;
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1207 return NULL;
1208 if (_argo0) {
1209 if (_argo0 == Py_None) { _arg0 = NULL; }
1210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1212 return NULL;
1213 }
1214 }
1215{
4268f798 1216 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1217 const wxString & _result_ref = wxListItem_GetText(_arg0);
f6bcfd97
BP
1218 _result = (wxString *) &_result_ref;
1219
4268f798 1220 wxPyEndAllowThreads(__tstate);
493f1553 1221 if (PyErr_Occurred()) return NULL;
f6bcfd97 1222}{
c8bc7bb8
RD
1223#if wxUSE_UNICODE
1224 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1225#else
f6bcfd97 1226 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1227#endif
f6bcfd97
BP
1228}
1229 return _resultobj;
1230}
1231
1232#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1233static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1234 PyObject * _resultobj;
1235 int _result;
1236 wxListItem * _arg0;
1237 PyObject * _argo0 = 0;
1238 char *_kwnames[] = { "self", NULL };
1239
1240 self = self;
1241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1242 return NULL;
1243 if (_argo0) {
1244 if (_argo0 == Py_None) { _arg0 = NULL; }
1245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1247 return NULL;
1248 }
1249 }
1250{
4268f798 1251 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1252 _result = (int )wxListItem_GetImage(_arg0);
f6bcfd97 1253
4268f798 1254 wxPyEndAllowThreads(__tstate);
493f1553 1255 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1256} _resultobj = Py_BuildValue("i",_result);
1257 return _resultobj;
1258}
1259
1260#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1261static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1262 PyObject * _resultobj;
1263 long _result;
1264 wxListItem * _arg0;
1265 PyObject * _argo0 = 0;
1266 char *_kwnames[] = { "self", NULL };
1267
1268 self = self;
1269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1270 return NULL;
1271 if (_argo0) {
1272 if (_argo0 == Py_None) { _arg0 = NULL; }
1273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1275 return NULL;
1276 }
1277 }
1278{
4268f798 1279 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1280 _result = (long )wxListItem_GetData(_arg0);
f6bcfd97 1281
4268f798 1282 wxPyEndAllowThreads(__tstate);
493f1553 1283 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1284} _resultobj = Py_BuildValue("l",_result);
1285 return _resultobj;
1286}
1287
1288#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1289static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1290 PyObject * _resultobj;
1291 int _result;
1292 wxListItem * _arg0;
1293 PyObject * _argo0 = 0;
1294 char *_kwnames[] = { "self", NULL };
1295
1296 self = self;
1297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1298 return NULL;
1299 if (_argo0) {
1300 if (_argo0 == Py_None) { _arg0 = NULL; }
1301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1303 return NULL;
1304 }
1305 }
1306{
4268f798 1307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1308 _result = (int )wxListItem_GetWidth(_arg0);
f6bcfd97 1309
4268f798 1310 wxPyEndAllowThreads(__tstate);
493f1553 1311 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1312} _resultobj = Py_BuildValue("i",_result);
1313 return _resultobj;
1314}
1315
1316#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1317static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject * _resultobj;
1319 wxListColumnFormat _result;
1320 wxListItem * _arg0;
1321 PyObject * _argo0 = 0;
1322 char *_kwnames[] = { "self", NULL };
1323
1324 self = self;
1325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1326 return NULL;
1327 if (_argo0) {
1328 if (_argo0 == Py_None) { _arg0 = NULL; }
1329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1331 return NULL;
1332 }
1333 }
1334{
4268f798 1335 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1336 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
f6bcfd97 1337
4268f798 1338 wxPyEndAllowThreads(__tstate);
493f1553 1339 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1340} _resultobj = Py_BuildValue("i",_result);
1341 return _resultobj;
1342}
1343
1344#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1345static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject * _resultobj;
1347 wxListItemAttr * _result;
1348 wxListItem * _arg0;
1349 PyObject * _argo0 = 0;
1350 char *_kwnames[] = { "self", NULL };
1351 char _ptemp[128];
1352
1353 self = self;
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1355 return NULL;
1356 if (_argo0) {
1357 if (_argo0 == Py_None) { _arg0 = NULL; }
1358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1360 return NULL;
1361 }
1362 }
1363{
4268f798 1364 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1365 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
f6bcfd97 1366
4268f798 1367 wxPyEndAllowThreads(__tstate);
493f1553 1368 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1369} if (_result) {
1370 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1371 _resultobj = Py_BuildValue("s",_ptemp);
1372 } else {
1373 Py_INCREF(Py_None);
1374 _resultobj = Py_None;
1375 }
1376 return _resultobj;
1377}
1378
1379#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1380static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject * _resultobj;
1382 bool _result;
1383 wxListItem * _arg0;
1384 PyObject * _argo0 = 0;
1385 char *_kwnames[] = { "self", NULL };
1386
1387 self = self;
1388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1389 return NULL;
1390 if (_argo0) {
1391 if (_argo0 == Py_None) { _arg0 = NULL; }
1392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1394 return NULL;
1395 }
1396 }
1397{
4268f798 1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1399 _result = (bool )wxListItem_HasAttributes(_arg0);
f6bcfd97 1400
4268f798 1401 wxPyEndAllowThreads(__tstate);
493f1553 1402 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1403} _resultobj = Py_BuildValue("i",_result);
1404 return _resultobj;
1405}
1406
1407#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1408static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1409 PyObject * _resultobj;
1410 wxColour * _result;
1411 wxListItem * _arg0;
1412 PyObject * _argo0 = 0;
1413 char *_kwnames[] = { "self", NULL };
1414 char _ptemp[128];
1415
1416 self = self;
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1418 return NULL;
1419 if (_argo0) {
1420 if (_argo0 == Py_None) { _arg0 = NULL; }
1421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1423 return NULL;
1424 }
1425 }
1426{
4268f798 1427 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1428 _result = new wxColour (wxListItem_GetTextColour(_arg0));
f6bcfd97 1429
4268f798 1430 wxPyEndAllowThreads(__tstate);
493f1553 1431 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1432} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1433 _resultobj = Py_BuildValue("s",_ptemp);
1434 return _resultobj;
1435}
1436
1437#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1438static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1439 PyObject * _resultobj;
1440 wxColour * _result;
1441 wxListItem * _arg0;
1442 PyObject * _argo0 = 0;
1443 char *_kwnames[] = { "self", NULL };
1444 char _ptemp[128];
1445
1446 self = self;
1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1448 return NULL;
1449 if (_argo0) {
1450 if (_argo0 == Py_None) { _arg0 = NULL; }
1451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1453 return NULL;
1454 }
1455 }
1456{
4268f798 1457 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1458 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
f6bcfd97 1459
4268f798 1460 wxPyEndAllowThreads(__tstate);
493f1553 1461 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1462} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1463 _resultobj = Py_BuildValue("s",_ptemp);
1464 return _resultobj;
1465}
1466
1467#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1468static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1469 PyObject * _resultobj;
1470 wxFont * _result;
1471 wxListItem * _arg0;
1472 PyObject * _argo0 = 0;
1473 char *_kwnames[] = { "self", NULL };
1474 char _ptemp[128];
1475
1476 self = self;
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1478 return NULL;
1479 if (_argo0) {
1480 if (_argo0 == Py_None) { _arg0 = NULL; }
1481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1483 return NULL;
1484 }
1485 }
1486{
4268f798 1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1488 _result = new wxFont (wxListItem_GetFont(_arg0));
f6bcfd97 1489
4268f798 1490 wxPyEndAllowThreads(__tstate);
493f1553 1491 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1492} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1493 _resultobj = Py_BuildValue("s",_ptemp);
1494 return _resultobj;
1495}
1496
1497#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1498static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject * _resultobj;
1500 long _result;
1501 wxListItem * _arg0;
1502 long _arg1;
1503 PyObject * _argo0 = 0;
1504 char *_kwnames[] = { "self","m_mask", NULL };
1505
1506 self = self;
1507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1508 return NULL;
1509 if (_argo0) {
1510 if (_argo0 == Py_None) { _arg0 = NULL; }
1511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1513 return NULL;
1514 }
1515 }
1516{
4268f798 1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1518 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
f6bcfd97 1519
4268f798 1520 wxPyEndAllowThreads(__tstate);
493f1553 1521 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1522} _resultobj = Py_BuildValue("l",_result);
1523 return _resultobj;
1524}
1525
1526#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1527static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1528 PyObject * _resultobj;
1529 long _result;
1530 wxListItem * _arg0;
1531 PyObject * _argo0 = 0;
1532 char *_kwnames[] = { "self", NULL };
1533
1534 self = self;
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1536 return NULL;
1537 if (_argo0) {
1538 if (_argo0 == Py_None) { _arg0 = NULL; }
1539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1541 return NULL;
1542 }
1543 }
1544{
4268f798 1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1546 _result = (long )wxListItem_m_mask_get(_arg0);
f6bcfd97 1547
4268f798 1548 wxPyEndAllowThreads(__tstate);
493f1553 1549 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1550} _resultobj = Py_BuildValue("l",_result);
1551 return _resultobj;
1552}
1553
1554#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1555static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject * _resultobj;
1557 long _result;
1558 wxListItem * _arg0;
1559 long _arg1;
1560 PyObject * _argo0 = 0;
1561 char *_kwnames[] = { "self","m_itemId", NULL };
1562
1563 self = self;
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
1565 return NULL;
1566 if (_argo0) {
1567 if (_argo0 == Py_None) { _arg0 = NULL; }
1568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1570 return NULL;
1571 }
1572 }
1573{
4268f798 1574 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1575 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
f6bcfd97 1576
4268f798 1577 wxPyEndAllowThreads(__tstate);
493f1553 1578 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1579} _resultobj = Py_BuildValue("l",_result);
1580 return _resultobj;
1581}
1582
1583#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1584static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject * _resultobj;
1586 long _result;
1587 wxListItem * _arg0;
1588 PyObject * _argo0 = 0;
1589 char *_kwnames[] = { "self", NULL };
1590
1591 self = self;
1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1593 return NULL;
1594 if (_argo0) {
1595 if (_argo0 == Py_None) { _arg0 = NULL; }
1596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1598 return NULL;
1599 }
1600 }
1601{
4268f798 1602 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1603 _result = (long )wxListItem_m_itemId_get(_arg0);
f6bcfd97 1604
4268f798 1605 wxPyEndAllowThreads(__tstate);
493f1553 1606 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1607} _resultobj = Py_BuildValue("l",_result);
1608 return _resultobj;
1609}
1610
1611#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1612static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1613 PyObject * _resultobj;
1614 int _result;
1615 wxListItem * _arg0;
1616 int _arg1;
1617 PyObject * _argo0 = 0;
1618 char *_kwnames[] = { "self","m_col", NULL };
1619
1620 self = self;
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1622 return NULL;
1623 if (_argo0) {
1624 if (_argo0 == Py_None) { _arg0 = NULL; }
1625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1627 return NULL;
1628 }
1629 }
1630{
4268f798 1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1632 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
f6bcfd97 1633
4268f798 1634 wxPyEndAllowThreads(__tstate);
493f1553 1635 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1636} _resultobj = Py_BuildValue("i",_result);
1637 return _resultobj;
1638}
1639
1640#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1641static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject * _resultobj;
1643 int _result;
1644 wxListItem * _arg0;
1645 PyObject * _argo0 = 0;
1646 char *_kwnames[] = { "self", NULL };
1647
1648 self = self;
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1650 return NULL;
1651 if (_argo0) {
1652 if (_argo0 == Py_None) { _arg0 = NULL; }
1653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1655 return NULL;
1656 }
1657 }
1658{
4268f798 1659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1660 _result = (int )wxListItem_m_col_get(_arg0);
f6bcfd97 1661
4268f798 1662 wxPyEndAllowThreads(__tstate);
493f1553 1663 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1664} _resultobj = Py_BuildValue("i",_result);
1665 return _resultobj;
1666}
1667
1668#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1669static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject * _resultobj;
1671 long _result;
1672 wxListItem * _arg0;
1673 long _arg1;
1674 PyObject * _argo0 = 0;
1675 char *_kwnames[] = { "self","m_state", NULL };
1676
1677 self = self;
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1679 return NULL;
1680 if (_argo0) {
1681 if (_argo0 == Py_None) { _arg0 = NULL; }
1682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1684 return NULL;
1685 }
1686 }
1687{
4268f798 1688 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1689 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
f6bcfd97 1690
4268f798 1691 wxPyEndAllowThreads(__tstate);
493f1553 1692 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1693} _resultobj = Py_BuildValue("l",_result);
1694 return _resultobj;
1695}
1696
1697#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1698static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1699 PyObject * _resultobj;
1700 long _result;
1701 wxListItem * _arg0;
1702 PyObject * _argo0 = 0;
1703 char *_kwnames[] = { "self", NULL };
1704
1705 self = self;
1706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1707 return NULL;
1708 if (_argo0) {
1709 if (_argo0 == Py_None) { _arg0 = NULL; }
1710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1712 return NULL;
1713 }
1714 }
1715{
4268f798 1716 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1717 _result = (long )wxListItem_m_state_get(_arg0);
f6bcfd97 1718
4268f798 1719 wxPyEndAllowThreads(__tstate);
493f1553 1720 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1721} _resultobj = Py_BuildValue("l",_result);
1722 return _resultobj;
1723}
1724
1725#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1726static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1727 PyObject * _resultobj;
1728 long _result;
1729 wxListItem * _arg0;
1730 long _arg1;
1731 PyObject * _argo0 = 0;
1732 char *_kwnames[] = { "self","m_stateMask", NULL };
1733
1734 self = self;
1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1736 return NULL;
1737 if (_argo0) {
1738 if (_argo0 == Py_None) { _arg0 = NULL; }
1739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1741 return NULL;
1742 }
1743 }
1744{
4268f798 1745 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1746 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
f6bcfd97 1747
4268f798 1748 wxPyEndAllowThreads(__tstate);
493f1553 1749 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1750} _resultobj = Py_BuildValue("l",_result);
1751 return _resultobj;
1752}
1753
1754#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1755static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject * _resultobj;
1757 long _result;
1758 wxListItem * _arg0;
1759 PyObject * _argo0 = 0;
1760 char *_kwnames[] = { "self", NULL };
1761
1762 self = self;
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1764 return NULL;
1765 if (_argo0) {
1766 if (_argo0 == Py_None) { _arg0 = NULL; }
1767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1769 return NULL;
1770 }
1771 }
1772{
4268f798 1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1774 _result = (long )wxListItem_m_stateMask_get(_arg0);
f6bcfd97 1775
4268f798 1776 wxPyEndAllowThreads(__tstate);
493f1553 1777 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1778} _resultobj = Py_BuildValue("l",_result);
1779 return _resultobj;
1780}
1781
1782#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1783static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1784 PyObject * _resultobj;
1785 wxString * _result;
1786 wxListItem * _arg0;
1787 wxString * _arg1;
1788 PyObject * _argo0 = 0;
1789 PyObject * _obj1 = 0;
1790 char *_kwnames[] = { "self","m_text", NULL };
1791
1792 self = self;
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1794 return NULL;
1795 if (_argo0) {
1796 if (_argo0 == Py_None) { _arg0 = NULL; }
1797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1799 return NULL;
1800 }
1801 }
1802{
c8bc7bb8
RD
1803 _arg1 = wxString_in_helper(_obj1);
1804 if (_arg1 == NULL)
f6bcfd97 1805 return NULL;
f6bcfd97
BP
1806}
1807{
4268f798 1808 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1809 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
f6bcfd97 1810
4268f798 1811 wxPyEndAllowThreads(__tstate);
493f1553 1812 if (PyErr_Occurred()) return NULL;
f6bcfd97 1813}{
c8bc7bb8
RD
1814#if wxUSE_UNICODE
1815 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1816#else
f6bcfd97 1817 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1818#endif
f6bcfd97
BP
1819}
1820{
1821 if (_obj1)
1822 delete _arg1;
1823}
1824 return _resultobj;
1825}
1826
1827#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1828static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1829 PyObject * _resultobj;
1830 wxString * _result;
1831 wxListItem * _arg0;
1832 PyObject * _argo0 = 0;
1833 char *_kwnames[] = { "self", NULL };
1834
1835 self = self;
1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
1837 return NULL;
1838 if (_argo0) {
1839 if (_argo0 == Py_None) { _arg0 = NULL; }
1840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1842 return NULL;
1843 }
1844 }
1845{
4268f798 1846 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1847 _result = (wxString *)wxListItem_m_text_get(_arg0);
f6bcfd97 1848
4268f798 1849 wxPyEndAllowThreads(__tstate);
493f1553 1850 if (PyErr_Occurred()) return NULL;
f6bcfd97 1851}{
c8bc7bb8
RD
1852#if wxUSE_UNICODE
1853 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1854#else
f6bcfd97 1855 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1856#endif
f6bcfd97
BP
1857}
1858 return _resultobj;
1859}
1860
1861#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1862static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1863 PyObject * _resultobj;
1864 int _result;
1865 wxListItem * _arg0;
1866 int _arg1;
1867 PyObject * _argo0 = 0;
1868 char *_kwnames[] = { "self","m_image", NULL };
1869
1870 self = self;
1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
1872 return NULL;
1873 if (_argo0) {
1874 if (_argo0 == Py_None) { _arg0 = NULL; }
1875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1877 return NULL;
1878 }
1879 }
1880{
4268f798 1881 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1882 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
f6bcfd97 1883
4268f798 1884 wxPyEndAllowThreads(__tstate);
493f1553 1885 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1886} _resultobj = Py_BuildValue("i",_result);
1887 return _resultobj;
1888}
1889
1890#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1891static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1892 PyObject * _resultobj;
1893 int _result;
1894 wxListItem * _arg0;
1895 PyObject * _argo0 = 0;
1896 char *_kwnames[] = { "self", NULL };
1897
1898 self = self;
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
1900 return NULL;
1901 if (_argo0) {
1902 if (_argo0 == Py_None) { _arg0 = NULL; }
1903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1905 return NULL;
1906 }
1907 }
1908{
4268f798 1909 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1910 _result = (int )wxListItem_m_image_get(_arg0);
f6bcfd97 1911
4268f798 1912 wxPyEndAllowThreads(__tstate);
493f1553 1913 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1914} _resultobj = Py_BuildValue("i",_result);
1915 return _resultobj;
1916}
1917
1918#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1919static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1920 PyObject * _resultobj;
1921 long _result;
1922 wxListItem * _arg0;
1923 long _arg1;
1924 PyObject * _argo0 = 0;
1925 char *_kwnames[] = { "self","m_data", NULL };
1926
1927 self = self;
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
1929 return NULL;
1930 if (_argo0) {
1931 if (_argo0 == Py_None) { _arg0 = NULL; }
1932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1934 return NULL;
1935 }
1936 }
1937{
4268f798 1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1939 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
f6bcfd97 1940
4268f798 1941 wxPyEndAllowThreads(__tstate);
493f1553 1942 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1943} _resultobj = Py_BuildValue("l",_result);
1944 return _resultobj;
1945}
1946
1947#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1948static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1949 PyObject * _resultobj;
1950 long _result;
1951 wxListItem * _arg0;
1952 PyObject * _argo0 = 0;
1953 char *_kwnames[] = { "self", NULL };
1954
1955 self = self;
1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
1957 return NULL;
1958 if (_argo0) {
1959 if (_argo0 == Py_None) { _arg0 = NULL; }
1960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1962 return NULL;
1963 }
1964 }
1965{
4268f798 1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1967 _result = (long )wxListItem_m_data_get(_arg0);
f6bcfd97 1968
4268f798 1969 wxPyEndAllowThreads(__tstate);
493f1553 1970 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1971} _resultobj = Py_BuildValue("l",_result);
1972 return _resultobj;
1973}
1974
1975#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1976static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject * _resultobj;
1978 int _result;
1979 wxListItem * _arg0;
1980 int _arg1;
1981 PyObject * _argo0 = 0;
1982 char *_kwnames[] = { "self","m_format", NULL };
1983
1984 self = self;
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
1986 return NULL;
1987 if (_argo0) {
1988 if (_argo0 == Py_None) { _arg0 = NULL; }
1989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1991 return NULL;
1992 }
1993 }
1994{
4268f798 1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1996 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
f6bcfd97 1997
4268f798 1998 wxPyEndAllowThreads(__tstate);
493f1553 1999 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2000} _resultobj = Py_BuildValue("i",_result);
2001 return _resultobj;
2002}
2003
2004#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2005static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2006 PyObject * _resultobj;
2007 int _result;
2008 wxListItem * _arg0;
2009 PyObject * _argo0 = 0;
2010 char *_kwnames[] = { "self", NULL };
2011
2012 self = self;
2013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
2014 return NULL;
2015 if (_argo0) {
2016 if (_argo0 == Py_None) { _arg0 = NULL; }
2017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2019 return NULL;
2020 }
2021 }
2022{
4268f798 2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2024 _result = (int )wxListItem_m_format_get(_arg0);
f6bcfd97 2025
4268f798 2026 wxPyEndAllowThreads(__tstate);
493f1553 2027 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2028} _resultobj = Py_BuildValue("i",_result);
2029 return _resultobj;
8ab979d7
RD
2030}
2031
f6bcfd97
BP
2032#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2033static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2034 PyObject * _resultobj;
f6bcfd97 2035 int _result;
af309447 2036 wxListItem * _arg0;
f6bcfd97 2037 int _arg1;
1d99702e 2038 PyObject * _argo0 = 0;
f6bcfd97 2039 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
2040
2041 self = self;
f6bcfd97 2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 2043 return NULL;
1d99702e
RD
2044 if (_argo0) {
2045 if (_argo0 == Py_None) { _arg0 = NULL; }
2046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
af309447
RD
2048 return NULL;
2049 }
2050 }
cf694132 2051{
4268f798 2052 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2053 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
cf694132 2054
4268f798 2055 wxPyEndAllowThreads(__tstate);
493f1553 2056 if (PyErr_Occurred()) return NULL;
f6bcfd97 2057} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2058 return _resultobj;
2059}
2060
f6bcfd97
BP
2061#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2062static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2063 PyObject * _resultobj;
f6bcfd97 2064 int _result;
8ab979d7 2065 wxListItem * _arg0;
1d99702e 2066 PyObject * _argo0 = 0;
efc5f224 2067 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2068
2069 self = self;
f6bcfd97 2070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 2071 return NULL;
1d99702e
RD
2072 if (_argo0) {
2073 if (_argo0 == Py_None) { _arg0 = NULL; }
2074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97
BP
2075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2076 return NULL;
2077 }
2078 }
2079{
4268f798 2080 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2081 _result = (int )wxListItem_m_width_get(_arg0);
f6bcfd97 2082
4268f798 2083 wxPyEndAllowThreads(__tstate);
493f1553 2084 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2085} _resultobj = Py_BuildValue("i",_result);
2086 return _resultobj;
2087}
2088
c368d904
RD
2089static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
2090 wxListEvent *src;
2091 wxNotifyEvent *dest;
2092 src = (wxListEvent *) ptr;
2093 dest = (wxNotifyEvent *) src;
2094 return (void *) dest;
2095}
2096
f6bcfd97
BP
2097static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2098 wxListEvent *src;
2099 wxCommandEvent *dest;
2100 src = (wxListEvent *) ptr;
2101 dest = (wxCommandEvent *) src;
2102 return (void *) dest;
2103}
2104
2105static void *SwigwxListEventTowxEvent(void *ptr) {
2106 wxListEvent *src;
2107 wxEvent *dest;
2108 src = (wxListEvent *) ptr;
2109 dest = (wxEvent *) src;
2110 return (void *) dest;
2111}
2112
9416aa89
RD
2113static void *SwigwxListEventTowxObject(void *ptr) {
2114 wxListEvent *src;
2115 wxObject *dest;
2116 src = (wxListEvent *) ptr;
2117 dest = (wxObject *) src;
2118 return (void *) dest;
2119}
2120
6d19860f
RD
2121#define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2122static PyObject *_wrap_new_wxListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject * _resultobj;
2124 wxListEvent * _result;
2125 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2126 int _arg1 = (int ) 0;
2127 char *_kwnames[] = { "commandType","id", NULL };
2128 char _ptemp[128];
2129
2130 self = self;
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxListEvent",_kwnames,&_arg0,&_arg1))
2132 return NULL;
2133{
4268f798 2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2135 _result = (wxListEvent *)new_wxListEvent(_arg0,_arg1);
6d19860f 2136
4268f798 2137 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2138 if (PyErr_Occurred()) return NULL;
2139} if (_result) {
2140 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListEvent_p");
2141 _resultobj = Py_BuildValue("s",_ptemp);
2142 } else {
2143 Py_INCREF(Py_None);
2144 _resultobj = Py_None;
2145 }
2146 return _resultobj;
2147}
2148
f6bcfd97
BP
2149#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2150static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2151 PyObject * _resultobj;
2152 int _result;
2153 wxListEvent * _arg0;
2154 int _arg1;
2155 PyObject * _argo0 = 0;
2156 char *_kwnames[] = { "self","m_code", NULL };
2157
2158 self = self;
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
2160 return NULL;
2161 if (_argo0) {
2162 if (_argo0 == Py_None) { _arg0 = NULL; }
2163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2165 return NULL;
2166 }
2167 }
2168{
4268f798 2169 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2170 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
f6bcfd97 2171
4268f798 2172 wxPyEndAllowThreads(__tstate);
493f1553 2173 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2174} _resultobj = Py_BuildValue("i",_result);
2175 return _resultobj;
2176}
2177
2178#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2179static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2180 PyObject * _resultobj;
2181 int _result;
2182 wxListEvent * _arg0;
2183 PyObject * _argo0 = 0;
2184 char *_kwnames[] = { "self", NULL };
2185
2186 self = self;
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
2188 return NULL;
2189 if (_argo0) {
2190 if (_argo0 == Py_None) { _arg0 = NULL; }
2191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2193 return NULL;
2194 }
2195 }
2196{
4268f798 2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2198 _result = (int )wxListEvent_m_code_get(_arg0);
f6bcfd97 2199
4268f798 2200 wxPyEndAllowThreads(__tstate);
493f1553 2201 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2202} _resultobj = Py_BuildValue("i",_result);
2203 return _resultobj;
2204}
2205
ebf4302c
RD
2206#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2207static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2208 PyObject * _resultobj;
2209 long _result;
2210 wxListEvent * _arg0;
2211 long _arg1;
2212 PyObject * _argo0 = 0;
ebf4302c 2213 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
f6bcfd97
BP
2214
2215 self = self;
ebf4302c 2216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2217 return NULL;
2218 if (_argo0) {
2219 if (_argo0 == Py_None) { _arg0 = NULL; }
2220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
f6bcfd97
BP
2222 return NULL;
2223 }
2224 }
2225{
4268f798 2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2227 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
f6bcfd97 2228
4268f798 2229 wxPyEndAllowThreads(__tstate);
493f1553 2230 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2231} _resultobj = Py_BuildValue("l",_result);
2232 return _resultobj;
2233}
2234
ebf4302c
RD
2235#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2236static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2237 PyObject * _resultobj;
2238 long _result;
2239 wxListEvent * _arg0;
2240 PyObject * _argo0 = 0;
2241 char *_kwnames[] = { "self", NULL };
2242
2243 self = self;
ebf4302c 2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
f6bcfd97
BP
2245 return NULL;
2246 if (_argo0) {
2247 if (_argo0 == Py_None) { _arg0 = NULL; }
2248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
f6bcfd97
BP
2250 return NULL;
2251 }
2252 }
2253{
4268f798 2254 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2255 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
f6bcfd97 2256
4268f798 2257 wxPyEndAllowThreads(__tstate);
493f1553 2258 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2259} _resultobj = Py_BuildValue("l",_result);
2260 return _resultobj;
2261}
2262
ebf4302c
RD
2263#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2264static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2265 PyObject * _resultobj;
ebf4302c 2266 long _result;
f6bcfd97 2267 wxListEvent * _arg0;
ebf4302c 2268 long _arg1;
f6bcfd97 2269 PyObject * _argo0 = 0;
ebf4302c 2270 char *_kwnames[] = { "self","m_itemIndex", NULL };
f6bcfd97
BP
2271
2272 self = self;
ebf4302c 2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2274 return NULL;
2275 if (_argo0) {
2276 if (_argo0 == Py_None) { _arg0 = NULL; }
2277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
8ab979d7
RD
2279 return NULL;
2280 }
2281 }
cf694132 2282{
4268f798 2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2284 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
cf694132 2285
4268f798 2286 wxPyEndAllowThreads(__tstate);
493f1553 2287 if (PyErr_Occurred()) return NULL;
ebf4302c 2288} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2289 return _resultobj;
2290}
2291
ebf4302c
RD
2292#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2293static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2294 PyObject * _resultobj;
ebf4302c 2295 long _result;
f6bcfd97 2296 wxListEvent * _arg0;
1d99702e 2297 PyObject * _argo0 = 0;
f6bcfd97 2298 char *_kwnames[] = { "self", NULL };
af309447
RD
2299
2300 self = self;
ebf4302c 2301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
af309447 2302 return NULL;
1d99702e
RD
2303 if (_argo0) {
2304 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
af309447
RD
2307 return NULL;
2308 }
2309 }
cf694132 2310{
4268f798 2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2312 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132 2313
4268f798 2314 wxPyEndAllowThreads(__tstate);
493f1553 2315 if (PyErr_Occurred()) return NULL;
ebf4302c 2316} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2317 return _resultobj;
2318}
2319
ebf4302c
RD
2320#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2321static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2322 PyObject * _resultobj;
ebf4302c 2323 int _result;
f6bcfd97 2324 wxListEvent * _arg0;
ebf4302c 2325 int _arg1;
1d99702e 2326 PyObject * _argo0 = 0;
ebf4302c 2327 char *_kwnames[] = { "self","m_col", NULL };
8ab979d7
RD
2328
2329 self = self;
ebf4302c 2330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
8ab979d7 2331 return NULL;
1d99702e
RD
2332 if (_argo0) {
2333 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
8ab979d7
RD
2336 return NULL;
2337 }
2338 }
cf694132 2339{
4268f798 2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2341 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
cf694132 2342
4268f798 2343 wxPyEndAllowThreads(__tstate);
493f1553 2344 if (PyErr_Occurred()) return NULL;
cf694132 2345} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2346 return _resultobj;
2347}
2348
ebf4302c
RD
2349#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2350static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2351 PyObject * _resultobj;
ebf4302c 2352 int _result;
f6bcfd97 2353 wxListEvent * _arg0;
1d99702e 2354 PyObject * _argo0 = 0;
f6bcfd97 2355 char *_kwnames[] = { "self", NULL };
af309447
RD
2356
2357 self = self;
ebf4302c 2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
af309447 2359 return NULL;
1d99702e
RD
2360 if (_argo0) {
2361 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
af309447
RD
2364 return NULL;
2365 }
2366 }
cf694132 2367{
4268f798 2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2369 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132 2370
4268f798 2371 wxPyEndAllowThreads(__tstate);
493f1553 2372 if (PyErr_Occurred()) return NULL;
cf694132 2373} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2374 return _resultobj;
2375}
2376
f6bcfd97
BP
2377#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2378static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2379 PyObject * _resultobj;
f6bcfd97
BP
2380 wxPoint * _result;
2381 wxListEvent * _arg0;
2382 wxPoint * _arg1;
1d99702e 2383 PyObject * _argo0 = 0;
f6bcfd97
BP
2384 wxPoint temp;
2385 PyObject * _obj1 = 0;
2386 char *_kwnames[] = { "self","m_pointDrag", NULL };
2387 char _ptemp[128];
8ab979d7
RD
2388
2389 self = self;
f6bcfd97 2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
8ab979d7 2391 return NULL;
1d99702e
RD
2392 if (_argo0) {
2393 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
8ab979d7
RD
2396 return NULL;
2397 }
2398 }
f6bcfd97
BP
2399{
2400 _arg1 = &temp;
2401 if (! wxPoint_helper(_obj1, &_arg1))
2402 return NULL;
2403}
cf694132 2404{
4268f798 2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2406 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
cf694132 2407
4268f798 2408 wxPyEndAllowThreads(__tstate);
493f1553 2409 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2410} if (_result) {
2411 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2412 _resultobj = Py_BuildValue("s",_ptemp);
2413 } else {
2414 Py_INCREF(Py_None);
2415 _resultobj = Py_None;
2416 }
8ab979d7
RD
2417 return _resultobj;
2418}
2419
f6bcfd97
BP
2420#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2421static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2422 PyObject * _resultobj;
f6bcfd97
BP
2423 wxPoint * _result;
2424 wxListEvent * _arg0;
2425 PyObject * _argo0 = 0;
2426 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2427 char _ptemp[128];
2428
2429 self = self;
f6bcfd97
BP
2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
2431 return NULL;
2432 if (_argo0) {
2433 if (_argo0 == Py_None) { _arg0 = NULL; }
2434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7 2436 return NULL;
f6bcfd97
BP
2437 }
2438 }
cf694132 2439{
4268f798 2440 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2441 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132 2442
4268f798 2443 wxPyEndAllowThreads(__tstate);
493f1553 2444 if (PyErr_Occurred()) return NULL;
1d99702e 2445} if (_result) {
f6bcfd97 2446 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2447 _resultobj = Py_BuildValue("s",_ptemp);
2448 } else {
2449 Py_INCREF(Py_None);
2450 _resultobj = Py_None;
2451 }
8ab979d7
RD
2452 return _resultobj;
2453}
2454
f6bcfd97
BP
2455#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2456static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2457 PyObject * _resultobj;
f6bcfd97
BP
2458 wxListItem * _result;
2459 wxListEvent * _arg0;
2460 wxListItem * _arg1;
1d99702e 2461 PyObject * _argo0 = 0;
f6bcfd97
BP
2462 PyObject * _argo1 = 0;
2463 char *_kwnames[] = { "self","m_item", NULL };
8ab979d7
RD
2464
2465 self = self;
f6bcfd97 2466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
8ab979d7 2467 return NULL;
1d99702e
RD
2468 if (_argo0) {
2469 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2472 return NULL;
2473 }
2474 }
2475 if (_argo1) {
2476 if (_argo1 == Py_None) { _arg1 = NULL; }
2477 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2478 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
8ab979d7
RD
2479 return NULL;
2480 }
2481 }
cf694132 2482{
4268f798 2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2484 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
cf694132 2485
4268f798 2486 wxPyEndAllowThreads(__tstate);
493f1553 2487 if (PyErr_Occurred()) return NULL;
9416aa89 2488}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2489 return _resultobj;
2490}
2491
f6bcfd97
BP
2492#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2493static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2494 PyObject * _resultobj;
f6bcfd97 2495 wxListItem * _result;
af309447 2496 wxListEvent * _arg0;
1d99702e 2497 PyObject * _argo0 = 0;
f6bcfd97 2498 char *_kwnames[] = { "self", NULL };
af309447
RD
2499
2500 self = self;
f6bcfd97 2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2502 return NULL;
1d99702e
RD
2503 if (_argo0) {
2504 if (_argo0 == Py_None) { _arg0 = NULL; }
2505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2507 return NULL;
2508 }
2509 }
cf694132 2510{
4268f798 2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2512 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132 2513
4268f798 2514 wxPyEndAllowThreads(__tstate);
493f1553 2515 if (PyErr_Occurred()) return NULL;
9416aa89 2516}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2517 return _resultobj;
2518}
2519
f6bcfd97
BP
2520#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2521static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2522 PyObject * _resultobj;
2523 int _result;
2524 wxListEvent * _arg0;
1d99702e 2525 PyObject * _argo0 = 0;
efc5f224 2526 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2527
2528 self = self;
f6bcfd97 2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
8ab979d7 2530 return NULL;
1d99702e
RD
2531 if (_argo0) {
2532 if (_argo0 == Py_None) { _arg0 = NULL; }
2533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
8ab979d7
RD
2535 return NULL;
2536 }
2537 }
cf694132 2538{
4268f798 2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2540 _result = (int )wxListEvent_GetCode(_arg0);
cf694132 2541
4268f798 2542 wxPyEndAllowThreads(__tstate);
493f1553 2543 if (PyErr_Occurred()) return NULL;
cf694132 2544} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2545 return _resultobj;
2546}
2547
f6bcfd97
BP
2548#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2549static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2550 PyObject * _resultobj;
2551 long _result;
2552 wxListEvent * _arg0;
1d99702e 2553 PyObject * _argo0 = 0;
f6bcfd97 2554 char *_kwnames[] = { "self", NULL };
af309447
RD
2555
2556 self = self;
f6bcfd97 2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2558 return NULL;
1d99702e
RD
2559 if (_argo0) {
2560 if (_argo0 == Py_None) { _arg0 = NULL; }
2561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2563 return NULL;
2564 }
2565 }
cf694132 2566{
4268f798 2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2568 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132 2569
4268f798 2570 wxPyEndAllowThreads(__tstate);
493f1553 2571 if (PyErr_Occurred()) return NULL;
cf694132 2572} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2573 return _resultobj;
2574}
2575
f6bcfd97
BP
2576#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2577static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2578 PyObject * _resultobj;
f6bcfd97 2579 int _result;
8ab979d7 2580 wxListEvent * _arg0;
1d99702e 2581 PyObject * _argo0 = 0;
efc5f224 2582 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2583
2584 self = self;
f6bcfd97 2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2586 return NULL;
1d99702e
RD
2587 if (_argo0) {
2588 if (_argo0 == Py_None) { _arg0 = NULL; }
2589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2591 return NULL;
2592 }
2593 }
cf694132 2594{
4268f798 2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2596 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132 2597
4268f798 2598 wxPyEndAllowThreads(__tstate);
493f1553 2599 if (PyErr_Occurred()) return NULL;
f6bcfd97 2600} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2601 return _resultobj;
2602}
2603
f6bcfd97
BP
2604#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2605static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2606 PyObject * _resultobj;
f6bcfd97 2607 wxPoint * _result;
8ab979d7 2608 wxListEvent * _arg0;
1d99702e 2609 PyObject * _argo0 = 0;
efc5f224 2610 char *_kwnames[] = { "self", NULL };
f6bcfd97 2611 char _ptemp[128];
8ab979d7
RD
2612
2613 self = self;
f6bcfd97 2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2615 return NULL;
1d99702e
RD
2616 if (_argo0) {
2617 if (_argo0 == Py_None) { _arg0 = NULL; }
2618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2620 return NULL;
2621 }
2622 }
cf694132 2623{
4268f798 2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2625 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132 2626
4268f798 2627 wxPyEndAllowThreads(__tstate);
493f1553 2628 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2629} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2630 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2631 return _resultobj;
2632}
2633
f6bcfd97
BP
2634#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2635static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2636 PyObject * _resultobj;
f6bcfd97 2637 wxString * _result;
af309447 2638 wxListEvent * _arg0;
1d99702e 2639 PyObject * _argo0 = 0;
f6bcfd97 2640 char *_kwnames[] = { "self", NULL };
af309447
RD
2641
2642 self = self;
f6bcfd97 2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2644 return NULL;
1d99702e
RD
2645 if (_argo0) {
2646 if (_argo0 == Py_None) { _arg0 = NULL; }
2647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2649 return NULL;
2650 }
2651 }
cf694132 2652{
4268f798 2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2654 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
f6bcfd97 2655 _result = (wxString *) &_result_ref;
cf694132 2656
4268f798 2657 wxPyEndAllowThreads(__tstate);
493f1553 2658 if (PyErr_Occurred()) return NULL;
f6bcfd97 2659}{
c8bc7bb8
RD
2660#if wxUSE_UNICODE
2661 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2662#else
f6bcfd97 2663 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2664#endif
f6bcfd97 2665}
af309447
RD
2666 return _resultobj;
2667}
2668
f6bcfd97
BP
2669#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2670static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2671 PyObject * _resultobj;
f6bcfd97 2672 wxString * _result;
8ab979d7 2673 wxListEvent * _arg0;
1d99702e 2674 PyObject * _argo0 = 0;
efc5f224 2675 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2676
2677 self = self;
f6bcfd97 2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2679 return NULL;
1d99702e
RD
2680 if (_argo0) {
2681 if (_argo0 == Py_None) { _arg0 = NULL; }
2682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2684 return NULL;
2685 }
2686 }
cf694132 2687{
4268f798 2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2689 const wxString & _result_ref = wxListEvent_GetText(_arg0);
f6bcfd97 2690 _result = (wxString *) &_result_ref;
cf694132 2691
4268f798 2692 wxPyEndAllowThreads(__tstate);
493f1553 2693 if (PyErr_Occurred()) return NULL;
f6bcfd97 2694}{
c8bc7bb8
RD
2695#if wxUSE_UNICODE
2696 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2697#else
f6bcfd97 2698 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2699#endif
f6bcfd97 2700}
8ab979d7
RD
2701 return _resultobj;
2702}
2703
f6bcfd97
BP
2704#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2705static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2706 PyObject * _resultobj;
f6bcfd97 2707 int _result;
af309447 2708 wxListEvent * _arg0;
1d99702e 2709 PyObject * _argo0 = 0;
f6bcfd97 2710 char *_kwnames[] = { "self", NULL };
af309447
RD
2711
2712 self = self;
f6bcfd97 2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2714 return NULL;
1d99702e
RD
2715 if (_argo0) {
2716 if (_argo0 == Py_None) { _arg0 = NULL; }
2717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2719 return NULL;
2720 }
2721 }
cf694132 2722{
4268f798 2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2724 _result = (int )wxListEvent_GetImage(_arg0);
cf694132 2725
4268f798 2726 wxPyEndAllowThreads(__tstate);
493f1553 2727 if (PyErr_Occurred()) return NULL;
f6bcfd97 2728} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2729 return _resultobj;
2730}
2731
f6bcfd97
BP
2732#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2733static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2734 PyObject * _resultobj;
f6bcfd97 2735 long _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_GetData",_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_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2747 return NULL;
2748 }
2749 }
cf694132 2750{
4268f798 2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2752 _result = (long )wxListEvent_GetData(_arg0);
cf694132 2753
4268f798 2754 wxPyEndAllowThreads(__tstate);
493f1553 2755 if (PyErr_Occurred()) return NULL;
f6bcfd97 2756} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2757 return _resultobj;
2758}
2759
f6bcfd97
BP
2760#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2761static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2762 PyObject * _resultobj;
f6bcfd97 2763 long _result;
af309447 2764 wxListEvent * _arg0;
1d99702e 2765 PyObject * _argo0 = 0;
f6bcfd97 2766 char *_kwnames[] = { "self", NULL };
af309447
RD
2767
2768 self = self;
f6bcfd97 2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2770 return NULL;
1d99702e
RD
2771 if (_argo0) {
2772 if (_argo0 == Py_None) { _arg0 = NULL; }
2773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2775 return NULL;
2776 }
2777 }
cf694132 2778{
4268f798 2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2780 _result = (long )wxListEvent_GetMask(_arg0);
cf694132 2781
4268f798 2782 wxPyEndAllowThreads(__tstate);
493f1553 2783 if (PyErr_Occurred()) return NULL;
f6bcfd97 2784} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2785 return _resultobj;
2786}
2787
f6bcfd97
BP
2788#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2789static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2790 PyObject * _resultobj;
2791 wxListItem * _result;
2792 wxListEvent * _arg0;
1d99702e 2793 PyObject * _argo0 = 0;
efc5f224 2794 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2795
2796 self = self;
f6bcfd97 2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2798 return NULL;
1d99702e
RD
2799 if (_argo0) {
2800 if (_argo0 == Py_None) { _arg0 = NULL; }
2801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2803 return NULL;
2804 }
2805 }
cf694132 2806{
4268f798 2807 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2808 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
f6bcfd97 2809 _result = (wxListItem *) &_result_ref;
cf694132 2810
4268f798 2811 wxPyEndAllowThreads(__tstate);
493f1553 2812 if (PyErr_Occurred()) return NULL;
9416aa89 2813}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2814 return _resultobj;
2815}
2816
6d19860f
RD
2817#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2818static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject * _resultobj;
2820 long _result;
2821 wxListEvent * _arg0;
2822 PyObject * _argo0 = 0;
2823 char *_kwnames[] = { "self", NULL };
2824
2825 self = self;
2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2827 return NULL;
2828 if (_argo0) {
2829 if (_argo0 == Py_None) { _arg0 = NULL; }
2830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2832 return NULL;
2833 }
2834 }
2835{
4268f798 2836 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2837 _result = (long )wxListEvent_GetCacheFrom(_arg0);
6d19860f 2838
4268f798 2839 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2840 if (PyErr_Occurred()) return NULL;
2841} _resultobj = Py_BuildValue("l",_result);
2842 return _resultobj;
2843}
2844
2845#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2846static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2847 PyObject * _resultobj;
2848 long _result;
2849 wxListEvent * _arg0;
2850 PyObject * _argo0 = 0;
2851 char *_kwnames[] = { "self", NULL };
2852
2853 self = self;
2854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2855 return NULL;
2856 if (_argo0) {
2857 if (_argo0 == Py_None) { _arg0 = NULL; }
2858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2860 return NULL;
2861 }
2862 }
2863{
4268f798 2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2865 _result = (long )wxListEvent_GetCacheTo(_arg0);
6d19860f 2866
4268f798 2867 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2868 if (PyErr_Occurred()) return NULL;
2869} _resultobj = Py_BuildValue("l",_result);
2870 return _resultobj;
2871}
2872
c7e7022c
RD
2873static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2874 wxPyListCtrl *src;
8ab979d7 2875 wxControl *dest;
c7e7022c 2876 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2877 dest = (wxControl *) src;
2878 return (void *) dest;
2879}
2880
c7e7022c
RD
2881static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2882 wxPyListCtrl *src;
8ab979d7 2883 wxWindow *dest;
c7e7022c 2884 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2885 dest = (wxWindow *) src;
2886 return (void *) dest;
2887}
2888
c7e7022c
RD
2889static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2890 wxPyListCtrl *src;
8ab979d7 2891 wxEvtHandler *dest;
c7e7022c 2892 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2893 dest = (wxEvtHandler *) src;
2894 return (void *) dest;
2895}
2896
c7e7022c
RD
2897static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2898 wxPyListCtrl *src;
9416aa89 2899 wxObject *dest;
c7e7022c 2900 src = (wxPyListCtrl *) ptr;
9416aa89
RD
2901 dest = (wxObject *) src;
2902 return (void *) dest;
2903}
2904
c7e7022c 2905#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2906static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2907 PyObject * _resultobj;
c7e7022c 2908 wxPyListCtrl * _result;
8ab979d7 2909 wxWindow * _arg0;
c7e7022c 2910 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
2911 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2912 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
0adbc166 2913 long _arg4 = (long ) (wxLC_ICON);
e508a2b6 2914 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
2915 char * _arg6 = (char *) "listCtrl";
2916 PyObject * _argo0 = 0;
2f90df85
RD
2917 wxPoint temp;
2918 PyObject * _obj2 = 0;
2919 wxSize temp0;
2920 PyObject * _obj3 = 0;
1d99702e 2921 PyObject * _argo5 = 0;
efc5f224 2922 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2923 char _ptemp[128];
2924
2925 self = self;
c7e7022c 2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 2927 return NULL;
1d99702e
RD
2928 if (_argo0) {
2929 if (_argo0 == Py_None) { _arg0 = NULL; }
2930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2932 return NULL;
2933 }
2934 }
2f90df85
RD
2935 if (_obj2)
2936{
2937 _arg2 = &temp;
2938 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2939 return NULL;
2f90df85
RD
2940}
2941 if (_obj3)
2942{
2943 _arg3 = &temp0;
2944 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2945 return NULL;
2f90df85 2946}
1d99702e
RD
2947 if (_argo5) {
2948 if (_argo5 == Py_None) { _arg5 = NULL; }
2949 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
2950 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2951 return NULL;
2952 }
2953 }
cf694132 2954{
4268f798 2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2956 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
cf694132 2957
4268f798 2958 wxPyEndAllowThreads(__tstate);
493f1553 2959 if (PyErr_Occurred()) return NULL;
1d99702e 2960} if (_result) {
c7e7022c 2961 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
2962 _resultobj = Py_BuildValue("s",_ptemp);
2963 } else {
2964 Py_INCREF(Py_None);
2965 _resultobj = Py_None;
2966 }
8ab979d7
RD
2967 return _resultobj;
2968}
2969
09f3d4e6
RD
2970#define new_wxPreListCtrl() (new wxPyListCtrl())
2971static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject * _resultobj;
2973 wxPyListCtrl * _result;
2974 char *_kwnames[] = { NULL };
2975 char _ptemp[128];
2976
2977 self = self;
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
2979 return NULL;
2980{
4268f798 2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2982 _result = (wxPyListCtrl *)new_wxPreListCtrl();
09f3d4e6 2983
4268f798 2984 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2985 if (PyErr_Occurred()) return NULL;
2986} if (_result) {
2987 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
2988 _resultobj = Py_BuildValue("s",_ptemp);
2989 } else {
2990 Py_INCREF(Py_None);
2991 _resultobj = Py_None;
2992 }
2993 return _resultobj;
2994}
2995
2996#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2997static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2998 PyObject * _resultobj;
2999 bool _result;
3000 wxPyListCtrl * _arg0;
3001 wxWindow * _arg1;
3002 wxWindowID _arg2 = (wxWindowID ) -1;
3003 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3004 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3005 long _arg5 = (long ) (wxLC_ICON);
3006 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
3007 char * _arg7 = (char *) "listCtrl";
3008 PyObject * _argo0 = 0;
3009 PyObject * _argo1 = 0;
3010 wxPoint temp;
3011 PyObject * _obj3 = 0;
3012 wxSize temp0;
3013 PyObject * _obj4 = 0;
3014 PyObject * _argo6 = 0;
3015 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
3016
3017 self = self;
3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
3019 return NULL;
3020 if (_argo0) {
3021 if (_argo0 == Py_None) { _arg0 = NULL; }
3022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3024 return NULL;
3025 }
3026 }
3027 if (_argo1) {
3028 if (_argo1 == Py_None) { _arg1 = NULL; }
3029 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3030 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3031 return NULL;
3032 }
3033 }
3034 if (_obj3)
3035{
3036 _arg3 = &temp;
3037 if (! wxPoint_helper(_obj3, &_arg3))
3038 return NULL;
3039}
3040 if (_obj4)
3041{
3042 _arg4 = &temp0;
3043 if (! wxSize_helper(_obj4, &_arg4))
3044 return NULL;
3045}
3046 if (_argo6) {
3047 if (_argo6 == Py_None) { _arg6 = NULL; }
3048 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3049 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3050 return NULL;
3051 }
3052 }
3053{
4268f798 3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3055 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
09f3d4e6 3056
4268f798 3057 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3058 if (PyErr_Occurred()) return NULL;
3059} _resultobj = Py_BuildValue("i",_result);
3060 return _resultobj;
3061}
3062
0122b7e3
RD
3063#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3064static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3065 PyObject * _resultobj;
c7e7022c
RD
3066 wxPyListCtrl * _arg0;
3067 PyObject * _arg1;
3068 PyObject * _arg2;
1d99702e 3069 PyObject * _argo0 = 0;
c7e7022c
RD
3070 PyObject * _obj1 = 0;
3071 PyObject * _obj2 = 0;
3072 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
3073
3074 self = self;
0122b7e3 3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3076 return NULL;
1d99702e
RD
3077 if (_argo0) {
3078 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c 3079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0122b7e3 3080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3081 return NULL;
3082 }
3083 }
c7e7022c
RD
3084{
3085 _arg1 = _obj1;
3086}
3087{
3088 _arg2 = _obj2;
3089}
cf694132 3090{
4268f798 3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3092 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132 3093
4268f798 3094 wxPyEndAllowThreads(__tstate);
493f1553 3095 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3096} Py_INCREF(Py_None);
3097 _resultobj = Py_None;
8ab979d7
RD
3098 return _resultobj;
3099}
3100
c7e7022c
RD
3101#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3102static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1b62f00d 3103 PyObject * _resultobj;
c7e7022c
RD
3104 bool _result;
3105 wxPyListCtrl * _arg0;
3106 wxColour * _arg1;
1b62f00d 3107 PyObject * _argo0 = 0;
c7e7022c
RD
3108 wxColour temp;
3109 PyObject * _obj1 = 0;
3110 char *_kwnames[] = { "self","col", NULL };
1b62f00d
RD
3111
3112 self = self;
c7e7022c 3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
1b62f00d
RD
3114 return NULL;
3115 if (_argo0) {
3116 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
1b62f00d
RD
3119 return NULL;
3120 }
3121 }
c7e7022c
RD
3122{
3123 _arg1 = &temp;
3124 if (! wxColour_helper(_obj1, &_arg1))
1b62f00d 3125 return NULL;
c7e7022c 3126}
1b62f00d 3127{
4268f798 3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3129 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
1b62f00d 3130
4268f798 3131 wxPyEndAllowThreads(__tstate);
493f1553 3132 if (PyErr_Occurred()) return NULL;
c7e7022c 3133} _resultobj = Py_BuildValue("i",_result);
1b62f00d
RD
3134 return _resultobj;
3135}
3136
c7e7022c
RD
3137#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3138static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3139 PyObject * _resultobj;
3140 bool _result;
c7e7022c
RD
3141 wxPyListCtrl * _arg0;
3142 wxColour * _arg1;
1d99702e 3143 PyObject * _argo0 = 0;
c7e7022c
RD
3144 wxColour temp;
3145 PyObject * _obj1 = 0;
3146 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3147
3148 self = self;
c7e7022c 3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 3150 return NULL;
1d99702e
RD
3151 if (_argo0) {
3152 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3155 return NULL;
3156 }
3157 }
c7e7022c
RD
3158{
3159 _arg1 = &temp;
3160 if (! wxColour_helper(_obj1, &_arg1))
3161 return NULL;
3162}
cf694132 3163{
4268f798 3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3165 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
cf694132 3166
4268f798 3167 wxPyEndAllowThreads(__tstate);
493f1553 3168 if (PyErr_Occurred()) return NULL;
cf694132 3169} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3170 return _resultobj;
3171}
3172
14afa2cb
RD
3173static wxListItem * wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col) {
3174 wxListItem item;
3175 if (self->GetColumn(col, item))
3176 return new wxListItem(item);
3177 else
3178 return NULL;
3179 }
c7e7022c 3180static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3181 PyObject * _resultobj;
14afa2cb 3182 wxListItem * _result;
c7e7022c
RD
3183 wxPyListCtrl * _arg0;
3184 int _arg1;
1d99702e 3185 PyObject * _argo0 = 0;
14afa2cb 3186 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3187
3188 self = self;
14afa2cb 3189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 3190 return NULL;
1d99702e
RD
3191 if (_argo0) {
3192 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3195 return NULL;
3196 }
3197 }
cf694132 3198{
4268f798 3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3200 _result = (wxListItem *)wxPyListCtrl_GetColumn(_arg0,_arg1);
cf694132 3201
4268f798 3202 wxPyEndAllowThreads(__tstate);
493f1553 3203 if (PyErr_Occurred()) return NULL;
14afa2cb 3204}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3205 return _resultobj;
3206}
3207
c7e7022c
RD
3208#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3209static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3210 PyObject * _resultobj;
3211 bool _result;
c7e7022c 3212 wxPyListCtrl * _arg0;
8ab979d7 3213 int _arg1;
c7e7022c 3214 wxListItem * _arg2;
1d99702e 3215 PyObject * _argo0 = 0;
c7e7022c
RD
3216 PyObject * _argo2 = 0;
3217 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3218
3219 self = self;
c7e7022c 3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3221 return NULL;
1d99702e
RD
3222 if (_argo0) {
3223 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3226 return NULL;
3227 }
3228 }
3229 if (_argo2) {
3230 if (_argo2 == Py_None) { _arg2 = NULL; }
3231 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3232 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3233 return NULL;
3234 }
3235 }
cf694132 3236{
4268f798 3237 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3238 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132 3239
4268f798 3240 wxPyEndAllowThreads(__tstate);
493f1553 3241 if (PyErr_Occurred()) return NULL;
cf694132 3242} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3243 return _resultobj;
3244}
3245
c7e7022c
RD
3246#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3247static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3248 PyObject * _resultobj;
c7e7022c
RD
3249 int _result;
3250 wxPyListCtrl * _arg0;
3251 int _arg1;
1d99702e 3252 PyObject * _argo0 = 0;
c7e7022c 3253 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3254
3255 self = self;
c7e7022c 3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3257 return NULL;
1d99702e
RD
3258 if (_argo0) {
3259 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3262 return NULL;
3263 }
3264 }
cf694132 3265{
4268f798 3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3267 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132 3268
4268f798 3269 wxPyEndAllowThreads(__tstate);
493f1553 3270 if (PyErr_Occurred()) return NULL;
cf694132 3271} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3272 return _resultobj;
3273}
3274
c7e7022c
RD
3275#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3276static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3277 PyObject * _resultobj;
c7e7022c
RD
3278 bool _result;
3279 wxPyListCtrl * _arg0;
3280 int _arg1;
3281 int _arg2;
1d99702e 3282 PyObject * _argo0 = 0;
c7e7022c 3283 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3284
3285 self = self;
c7e7022c 3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3287 return NULL;
1d99702e
RD
3288 if (_argo0) {
3289 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3292 return NULL;
3293 }
3294 }
cf694132 3295{
4268f798 3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3297 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132 3298
4268f798 3299 wxPyEndAllowThreads(__tstate);
493f1553 3300 if (PyErr_Occurred()) return NULL;
c7e7022c 3301} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3302 return _resultobj;
3303}
3304
c7e7022c
RD
3305#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3306static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3307 PyObject * _resultobj;
c7e7022c
RD
3308 int _result;
3309 wxPyListCtrl * _arg0;
1d99702e 3310 PyObject * _argo0 = 0;
c7e7022c 3311 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3312
3313 self = self;
c7e7022c 3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3315 return NULL;
1d99702e
RD
3316 if (_argo0) {
3317 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3320 return NULL;
3321 }
3322 }
cf694132 3323{
4268f798 3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3325 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132 3326
4268f798 3327 wxPyEndAllowThreads(__tstate);
493f1553 3328 if (PyErr_Occurred()) return NULL;
c7e7022c 3329} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3330 return _resultobj;
3331}
3332
c7e7022c
RD
3333#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3334static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3335 PyObject * _resultobj;
c7e7022c
RD
3336 wxTextCtrl * _result;
3337 wxPyListCtrl * _arg0;
1d99702e 3338 PyObject * _argo0 = 0;
c7e7022c 3339 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3340
3341 self = self;
c7e7022c 3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0))
8ab979d7 3343 return NULL;
1d99702e
RD
3344 if (_argo0) {
3345 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3348 return NULL;
3349 }
3350 }
cf694132 3351{
4268f798 3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3353 _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0);
cf694132 3354
4268f798 3355 wxPyEndAllowThreads(__tstate);
493f1553 3356 if (PyErr_Occurred()) return NULL;
c7e7022c 3357}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3358 return _resultobj;
3359}
3360
c7e7022c
RD
3361static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3362 wxListItem* info = new wxListItem;
3363 info->m_itemId = itemId;
3364 info->m_col = col;
3365 info->m_mask = 0xFFFF;
3366 self->GetItem(*info);
3367 return info;
3368 }
3369static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3370 PyObject * _resultobj;
c7e7022c
RD
3371 wxListItem * _result;
3372 wxPyListCtrl * _arg0;
3373 long _arg1;
3374 int _arg2 = (int ) 0;
1d99702e 3375 PyObject * _argo0 = 0;
c7e7022c 3376 char *_kwnames[] = { "self","itemId","col", NULL };
be4d9c1f
RD
3377
3378 self = self;
c7e7022c 3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
be4d9c1f 3380 return NULL;
1d99702e
RD
3381 if (_argo0) {
3382 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3385 return NULL;
3386 }
3387 }
cf694132 3388{
4268f798 3389 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3390 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132 3391
4268f798 3392 wxPyEndAllowThreads(__tstate);
493f1553 3393 if (PyErr_Occurred()) return NULL;
9416aa89 3394}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3395 return _resultobj;
3396}
3397
c7e7022c
RD
3398#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3399static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3400 PyObject * _resultobj;
3401 bool _result;
c7e7022c
RD
3402 wxPyListCtrl * _arg0;
3403 wxListItem * _arg1;
1d99702e 3404 PyObject * _argo0 = 0;
c7e7022c
RD
3405 PyObject * _argo1 = 0;
3406 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3407
3408 self = self;
c7e7022c 3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3410 return NULL;
1d99702e
RD
3411 if (_argo0) {
3412 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3415 return NULL;
3416 }
3417 }
3418 if (_argo1) {
3419 if (_argo1 == Py_None) { _arg1 = NULL; }
3420 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3421 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3422 return NULL;
3423 }
3424 }
cf694132 3425{
4268f798 3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3427 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132 3428
4268f798 3429 wxPyEndAllowThreads(__tstate);
493f1553 3430 if (PyErr_Occurred()) return NULL;
cf694132 3431} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3432 return _resultobj;
3433}
3434
c7e7022c
RD
3435#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3436static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3437 PyObject * _resultobj;
3438 long _result;
c7e7022c 3439 wxPyListCtrl * _arg0;
8ab979d7 3440 long _arg1;
c7e7022c
RD
3441 int _arg2;
3442 wxString * _arg3;
3443 int _arg4 = (int ) -1;
1d99702e 3444 PyObject * _argo0 = 0;
c7e7022c
RD
3445 PyObject * _obj3 = 0;
3446 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3447
3448 self = self;
c7e7022c 3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3450 return NULL;
1d99702e
RD
3451 if (_argo0) {
3452 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3455 return NULL;
3456 }
3457 }
3458{
c8bc7bb8
RD
3459 _arg3 = wxString_in_helper(_obj3);
3460 if (_arg3 == NULL)
185d7c3e 3461 return NULL;
8ab979d7 3462}
cf694132 3463{
4268f798 3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3465 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 3466
4268f798 3467 wxPyEndAllowThreads(__tstate);
493f1553 3468 if (PyErr_Occurred()) return NULL;
cf694132 3469} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3470{
c7e7022c
RD
3471 if (_obj3)
3472 delete _arg3;
8ab979d7
RD
3473}
3474 return _resultobj;
3475}
3476
c7e7022c
RD
3477#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3478static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3479 PyObject * _resultobj;
c7e7022c
RD
3480 int _result;
3481 wxPyListCtrl * _arg0;
8ab979d7
RD
3482 long _arg1;
3483 long _arg2;
1d99702e 3484 PyObject * _argo0 = 0;
c7e7022c 3485 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3486
3487 self = self;
c7e7022c 3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3489 return NULL;
1d99702e
RD
3490 if (_argo0) {
3491 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3494 return NULL;
3495 }
3496 }
cf694132 3497{
4268f798 3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3499 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132 3500
4268f798 3501 wxPyEndAllowThreads(__tstate);
493f1553 3502 if (PyErr_Occurred()) return NULL;
c7e7022c 3503} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3504 return _resultobj;
3505}
3506
c7e7022c
RD
3507#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3508static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3509 PyObject * _resultobj;
c7e7022c
RD
3510 bool _result;
3511 wxPyListCtrl * _arg0;
8ab979d7 3512 long _arg1;
c7e7022c
RD
3513 long _arg2;
3514 long _arg3;
1d99702e 3515 PyObject * _argo0 = 0;
c7e7022c 3516 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3517
3518 self = self;
c7e7022c 3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3520 return NULL;
1d99702e
RD
3521 if (_argo0) {
3522 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3525 return NULL;
3526 }
3527 }
cf694132 3528{
4268f798 3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3530 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132 3531
4268f798 3532 wxPyEndAllowThreads(__tstate);
493f1553 3533 if (PyErr_Occurred()) return NULL;
c7e7022c 3534} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3535 return _resultobj;
3536}
3537
c7e7022c
RD
3538#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3539static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3540 PyObject * _resultobj;
3541 bool _result;
c7e7022c
RD
3542 wxPyListCtrl * _arg0;
3543 long _arg1;
3544 int _arg2;
3545 int _arg3;
1d99702e 3546 PyObject * _argo0 = 0;
c7e7022c 3547 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3548
3549 self = self;
c7e7022c 3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3551 return NULL;
1d99702e
RD
3552 if (_argo0) {
3553 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3556 return NULL;
3557 }
3558 }
cf694132 3559{
4268f798 3560 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3561 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132 3562
4268f798 3563 wxPyEndAllowThreads(__tstate);
493f1553 3564 if (PyErr_Occurred()) return NULL;
cf694132 3565} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3566 return _resultobj;
3567}
3568
c7e7022c
RD
3569#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3570static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3571 PyObject * _resultobj;
c7e7022c
RD
3572 wxString * _result;
3573 wxPyListCtrl * _arg0;
3574 long _arg1;
1d99702e 3575 PyObject * _argo0 = 0;
c7e7022c 3576 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3577
3578 self = self;
c7e7022c 3579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3580 return NULL;
1d99702e
RD
3581 if (_argo0) {
3582 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3585 return NULL;
3586 }
3587 }
cf694132 3588{
4268f798 3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3590 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132 3591
4268f798 3592 wxPyEndAllowThreads(__tstate);
493f1553 3593 if (PyErr_Occurred()) return NULL;
c7e7022c 3594}{
c8bc7bb8
RD
3595#if wxUSE_UNICODE
3596 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3597#else
c7e7022c 3598 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3599#endif
c7e7022c
RD
3600}
3601{
3602 delete _result;
3603}
8ab979d7
RD
3604 return _resultobj;
3605}
3606
c7e7022c
RD
3607#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3608static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3609 PyObject * _resultobj;
c7e7022c
RD
3610 wxPyListCtrl * _arg0;
3611 long _arg1;
3612 wxString * _arg2;
1d99702e 3613 PyObject * _argo0 = 0;
c7e7022c
RD
3614 PyObject * _obj2 = 0;
3615 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3616
3617 self = self;
c7e7022c 3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3619 return NULL;
1d99702e
RD
3620 if (_argo0) {
3621 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3624 return NULL;
3625 }
3626 }
cf694132 3627{
c8bc7bb8
RD
3628 _arg2 = wxString_in_helper(_obj2);
3629 if (_arg2 == NULL)
8ab979d7 3630 return NULL;
c7e7022c 3631}
cf694132 3632{
4268f798 3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3634 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132 3635
4268f798 3636 wxPyEndAllowThreads(__tstate);
493f1553 3637 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3638} Py_INCREF(Py_None);
3639 _resultobj = Py_None;
3640{
3641 if (_obj2)
3642 delete _arg2;
3643}
8ab979d7
RD
3644 return _resultobj;
3645}
3646
3647#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3648static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3649 PyObject * _resultobj;
3650 long _result;
c7e7022c 3651 wxPyListCtrl * _arg0;
8ab979d7 3652 long _arg1;
1d99702e 3653 PyObject * _argo0 = 0;
efc5f224 3654 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3655
3656 self = self;
efc5f224 3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3658 return NULL;
1d99702e
RD
3659 if (_argo0) {
3660 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3663 return NULL;
3664 }
3665 }
cf694132 3666{
4268f798 3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3668 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
cf694132 3669
4268f798 3670 wxPyEndAllowThreads(__tstate);
493f1553 3671 if (PyErr_Occurred()) return NULL;
cf694132 3672} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3673 return _resultobj;
3674}
3675
c7e7022c
RD
3676#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3677static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3678 PyObject * _resultobj;
c7e7022c
RD
3679 bool _result;
3680 wxPyListCtrl * _arg0;
0699c864 3681 long _arg1;
c7e7022c 3682 long _arg2;
1d99702e 3683 PyObject * _argo0 = 0;
c7e7022c 3684 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3685
3686 self = self;
c7e7022c 3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3688 return NULL;
1d99702e
RD
3689 if (_argo0) {
3690 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3693 return NULL;
3694 }
3695 }
cf694132 3696{
4268f798 3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3698 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132 3699
4268f798 3700 wxPyEndAllowThreads(__tstate);
493f1553 3701 if (PyErr_Occurred()) return NULL;
c7e7022c 3702} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3703 return _resultobj;
3704}
3705
c7e7022c 3706static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3707 wxPoint* pos = new wxPoint;
3708 self->GetItemPosition(item, *pos);
3709 return pos;
3710 }
efc5f224 3711static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3712 PyObject * _resultobj;
3713 wxPoint * _result;
c7e7022c 3714 wxPyListCtrl * _arg0;
8ab979d7 3715 long _arg1;
1d99702e 3716 PyObject * _argo0 = 0;
efc5f224 3717 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3718 char _ptemp[128];
3719
3720 self = self;
efc5f224 3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3722 return NULL;
1d99702e
RD
3723 if (_argo0) {
3724 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3727 return NULL;
3728 }
3729 }
cf694132 3730{
4268f798 3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3732 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132 3733
4268f798 3734 wxPyEndAllowThreads(__tstate);
493f1553 3735 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3736} if (_result) {
3737 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3738 _resultobj = Py_BuildValue("s",_ptemp);
3739 } else {
3740 Py_INCREF(Py_None);
3741 _resultobj = Py_None;
3742 }
8ab979d7
RD
3743 return _resultobj;
3744}
3745
c7e7022c 3746static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3747 wxRect* rect= new wxRect;
3748 self->GetItemRect(item, *rect, code);
3749 return rect;
3750 }
efc5f224 3751static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3752 PyObject * _resultobj;
3753 wxRect * _result;
c7e7022c 3754 wxPyListCtrl * _arg0;
8ab979d7 3755 long _arg1;
1d99702e
RD
3756 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3757 PyObject * _argo0 = 0;
efc5f224 3758 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3759 char _ptemp[128];
3760
3761 self = self;
efc5f224 3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3763 return NULL;
1d99702e
RD
3764 if (_argo0) {
3765 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3768 return NULL;
3769 }
3770 }
cf694132 3771{
4268f798 3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3773 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132 3774
4268f798 3775 wxPyEndAllowThreads(__tstate);
493f1553 3776 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3777} if (_result) {
3778 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3779 _resultobj = Py_BuildValue("s",_ptemp);
3780 } else {
3781 Py_INCREF(Py_None);
3782 _resultobj = Py_None;
3783 }
8ab979d7
RD
3784 return _resultobj;
3785}
3786
c7e7022c
RD
3787#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3788static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3789 PyObject * _resultobj;
c7e7022c
RD
3790 bool _result;
3791 wxPyListCtrl * _arg0;
8ab979d7 3792 long _arg1;
c7e7022c 3793 wxPoint * _arg2;
1d99702e 3794 PyObject * _argo0 = 0;
c7e7022c
RD
3795 wxPoint temp;
3796 PyObject * _obj2 = 0;
3797 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3798
3799 self = self;
c7e7022c 3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3801 return NULL;
1d99702e
RD
3802 if (_argo0) {
3803 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3806 return NULL;
3807 }
3808 }
c7e7022c
RD
3809{
3810 _arg2 = &temp;
3811 if (! wxPoint_helper(_obj2, &_arg2))
3812 return NULL;
3813}
cf694132 3814{
4268f798 3815 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3816 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132 3817
4268f798 3818 wxPyEndAllowThreads(__tstate);
493f1553 3819 if (PyErr_Occurred()) return NULL;
cf694132 3820} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3821 return _resultobj;
3822}
3823
3824#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3825static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3826 PyObject * _resultobj;
3827 int _result;
c7e7022c 3828 wxPyListCtrl * _arg0;
1d99702e 3829 PyObject * _argo0 = 0;
efc5f224 3830 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3831
3832 self = self;
efc5f224 3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3834 return NULL;
1d99702e
RD
3835 if (_argo0) {
3836 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3839 return NULL;
3840 }
3841 }
cf694132 3842{
4268f798 3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3844 _result = (int )wxListCtrl_GetItemCount(_arg0);
cf694132 3845
4268f798 3846 wxPyEndAllowThreads(__tstate);
493f1553 3847 if (PyErr_Occurred()) return NULL;
cf694132 3848} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3849 return _resultobj;
3850}
3851
c7e7022c
RD
3852#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3853static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3854 PyObject * _resultobj;
3855 int _result;
c7e7022c 3856 wxPyListCtrl * _arg0;
1d99702e 3857 PyObject * _argo0 = 0;
c7e7022c 3858 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3859
3860 self = self;
c7e7022c 3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
8ab979d7 3862 return NULL;
1d99702e
RD
3863 if (_argo0) {
3864 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3867 return NULL;
3868 }
3869 }
cf694132 3870{
4268f798 3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3872 _result = (int )wxListCtrl_GetColumnCount(_arg0);
cf694132 3873
4268f798 3874 wxPyEndAllowThreads(__tstate);
493f1553 3875 if (PyErr_Occurred()) return NULL;
cf694132 3876} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3877 return _resultobj;
3878}
3879
c7e7022c
RD
3880#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3881static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3882 PyObject * _resultobj;
c7e7022c
RD
3883 int _result;
3884 wxPyListCtrl * _arg0;
3885 bool _arg1;
1d99702e 3886 PyObject * _argo0 = 0;
c7e7022c
RD
3887 int tempbool1;
3888 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3889
3890 self = self;
c7e7022c 3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3892 return NULL;
1d99702e
RD
3893 if (_argo0) {
3894 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3897 return NULL;
3898 }
3899 }
c7e7022c 3900 _arg1 = (bool ) tempbool1;
8ab979d7 3901{
4268f798 3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3903 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
cf694132 3904
4268f798 3905 wxPyEndAllowThreads(__tstate);
493f1553 3906 if (PyErr_Occurred()) return NULL;
c7e7022c 3907} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3908 return _resultobj;
3909}
3910
c7e7022c
RD
3911#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3912static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3913 PyObject * _resultobj;
c7e7022c
RD
3914 int _result;
3915 wxPyListCtrl * _arg0;
1d99702e 3916 PyObject * _argo0 = 0;
c7e7022c 3917 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3918
3919 self = self;
c7e7022c 3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3921 return NULL;
1d99702e
RD
3922 if (_argo0) {
3923 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3926 return NULL;
3927 }
3928 }
cf694132 3929{
4268f798 3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3931 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
cf694132 3932
4268f798 3933 wxPyEndAllowThreads(__tstate);
493f1553 3934 if (PyErr_Occurred()) return NULL;
c7e7022c 3935} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3936 return _resultobj;
3937}
3938
c7e7022c
RD
3939#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3940static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3941 PyObject * _resultobj;
c7e7022c
RD
3942 wxColour * _result;
3943 wxPyListCtrl * _arg0;
1d99702e 3944 PyObject * _argo0 = 0;
efc5f224 3945 char *_kwnames[] = { "self", NULL };
c7e7022c 3946 char _ptemp[128];
8ab979d7
RD
3947
3948 self = self;
c7e7022c 3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 3950 return NULL;
1d99702e
RD
3951 if (_argo0) {
3952 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3955 return NULL;
3956 }
3957 }
cf694132 3958{
4268f798 3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3960 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
cf694132 3961
4268f798 3962 wxPyEndAllowThreads(__tstate);
493f1553 3963 if (PyErr_Occurred()) return NULL;
cf694132 3964} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
3965 _resultobj = Py_BuildValue("s",_ptemp);
3966 return _resultobj;
3967}
3968
be4d9c1f 3969#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
efc5f224 3970static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3971 PyObject * _resultobj;
c7e7022c 3972 wxPyListCtrl * _arg0;
be4d9c1f 3973 wxColour * _arg1;
1d99702e 3974 PyObject * _argo0 = 0;
f6bcfd97
BP
3975 wxColour temp;
3976 PyObject * _obj1 = 0;
efc5f224 3977 char *_kwnames[] = { "self","col", NULL };
be4d9c1f
RD
3978
3979 self = self;
f6bcfd97 3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
be4d9c1f 3981 return NULL;
1d99702e
RD
3982 if (_argo0) {
3983 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3986 return NULL;
3987 }
3988 }
f6bcfd97
BP
3989{
3990 _arg1 = &temp;
3991 if (! wxColour_helper(_obj1, &_arg1))
be4d9c1f 3992 return NULL;
f6bcfd97 3993}
cf694132 3994{
4268f798 3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3996 wxListCtrl_SetTextColour(_arg0,*_arg1);
cf694132 3997
4268f798 3998 wxPyEndAllowThreads(__tstate);
493f1553 3999 if (PyErr_Occurred()) return NULL;
cf694132 4000} Py_INCREF(Py_None);
be4d9c1f
RD
4001 _resultobj = Py_None;
4002 return _resultobj;
4003}
4004
8ab979d7 4005#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 4006static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4007 PyObject * _resultobj;
4008 long _result;
c7e7022c 4009 wxPyListCtrl * _arg0;
1d99702e 4010 PyObject * _argo0 = 0;
efc5f224 4011 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4012
4013 self = self;
efc5f224 4014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 4015 return NULL;
1d99702e
RD
4016 if (_argo0) {
4017 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4020 return NULL;
4021 }
4022 }
cf694132 4023{
4268f798 4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4025 _result = (long )wxListCtrl_GetTopItem(_arg0);
cf694132 4026
4268f798 4027 wxPyEndAllowThreads(__tstate);
493f1553 4028 if (PyErr_Occurred()) return NULL;
cf694132 4029} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4030 return _resultobj;
4031}
4032
c7e7022c
RD
4033#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4034static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4035 PyObject * _resultobj;
c7e7022c
RD
4036 wxPyListCtrl * _arg0;
4037 long _arg1;
4038 bool _arg2 = (bool ) TRUE;
1d99702e 4039 PyObject * _argo0 = 0;
c7e7022c
RD
4040 int tempbool2 = (int) TRUE;
4041 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
4042
4043 self = self;
c7e7022c 4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 4045 return NULL;
1d99702e
RD
4046 if (_argo0) {
4047 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4050 return NULL;
4051 }
4052 }
c7e7022c 4053 _arg2 = (bool ) tempbool2;
cf694132 4054{
4268f798 4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4056 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
cf694132 4057
4268f798 4058 wxPyEndAllowThreads(__tstate);
493f1553 4059 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4060} Py_INCREF(Py_None);
4061 _resultobj = Py_None;
8ab979d7
RD
4062 return _resultobj;
4063}
4064
c7e7022c
RD
4065#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4066static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4067 PyObject * _resultobj;
c7e7022c 4068 wxPyListCtrl * _arg0;
8ab979d7 4069 long _arg1;
1d99702e 4070 PyObject * _argo0 = 0;
c7e7022c 4071 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
4072
4073 self = self;
c7e7022c 4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 4075 return NULL;
1d99702e
RD
4076 if (_argo0) {
4077 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4080 return NULL;
4081 }
4082 }
cf694132 4083{
4268f798 4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4085 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
cf694132 4086
4268f798 4087 wxPyEndAllowThreads(__tstate);
493f1553 4088 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4089} Py_INCREF(Py_None);
4090 _resultobj = Py_None;
8ab979d7
RD
4091 return _resultobj;
4092}
4093
c7e7022c
RD
4094#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4095static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4096 PyObject * _resultobj;
4097 long _result;
c7e7022c 4098 wxPyListCtrl * _arg0;
8ab979d7 4099 long _arg1;
c7e7022c
RD
4100 int _arg2 = (int ) (wxLIST_NEXT_ALL);
4101 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
1d99702e 4102 PyObject * _argo0 = 0;
c7e7022c 4103 char *_kwnames[] = { "self","item","geometry","state", NULL };
8ab979d7
RD
4104
4105 self = self;
c7e7022c 4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 4107 return NULL;
1d99702e
RD
4108 if (_argo0) {
4109 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4112 return NULL;
4113 }
4114 }
4115{
4268f798 4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4117 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
c7e7022c 4118
4268f798 4119 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4120 if (PyErr_Occurred()) return NULL;
4121} _resultobj = Py_BuildValue("l",_result);
4122 return _resultobj;
4123}
4124
4125#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4126static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4127 PyObject * _resultobj;
4128 wxImageList * _result;
4129 wxPyListCtrl * _arg0;
4130 int _arg1;
4131 PyObject * _argo0 = 0;
4132 char *_kwnames[] = { "self","which", NULL };
4133
4134 self = self;
4135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
185d7c3e 4136 return NULL;
c7e7022c
RD
4137 if (_argo0) {
4138 if (_argo0 == Py_None) { _arg0 = NULL; }
4139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
8ab979d7 4141 return NULL;
c7e7022c 4142 }
8ab979d7 4143 }
cf694132 4144{
4268f798 4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4146 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
cf694132 4147
4268f798 4148 wxPyEndAllowThreads(__tstate);
493f1553 4149 if (PyErr_Occurred()) return NULL;
c7e7022c 4150}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
4151 return _resultobj;
4152}
4153
c7e7022c
RD
4154#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4155static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4156 PyObject * _resultobj;
c7e7022c
RD
4157 wxPyListCtrl * _arg0;
4158 wxImageList * _arg1;
4159 int _arg2;
1d99702e
RD
4160 PyObject * _argo0 = 0;
4161 PyObject * _argo1 = 0;
c7e7022c 4162 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4163
4164 self = self;
c7e7022c 4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4166 return NULL;
1d99702e
RD
4167 if (_argo0) {
4168 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4171 return NULL;
4172 }
4173 }
1d99702e
RD
4174 if (_argo1) {
4175 if (_argo1 == Py_None) { _arg1 = NULL; }
c7e7022c
RD
4176 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4177 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
4178 return NULL;
4179 }
4180 }
cf694132 4181{
4268f798 4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4183 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132 4184
4268f798 4185 wxPyEndAllowThreads(__tstate);
493f1553 4186 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4187} Py_INCREF(Py_None);
4188 _resultobj = Py_None;
8ab979d7
RD
4189 return _resultobj;
4190}
4191
c7e7022c
RD
4192#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4193static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4194 PyObject * _resultobj;
c7e7022c
RD
4195 wxPyListCtrl * _arg0;
4196 wxImageList * _arg1;
4197 int _arg2;
1d99702e 4198 PyObject * _argo0 = 0;
c7e7022c
RD
4199 PyObject * _argo1 = 0;
4200 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4201
4202 self = self;
c7e7022c 4203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4204 return NULL;
1d99702e
RD
4205 if (_argo0) {
4206 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4209 return NULL;
4210 }
4211 }
c7e7022c
RD
4212 if (_argo1) {
4213 if (_argo1 == Py_None) { _arg1 = NULL; }
4214 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4215 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
8ab979d7 4216 return NULL;
c7e7022c 4217 }
8ab979d7 4218 }
cf694132 4219{
4268f798 4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4221 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
cf694132 4222
4268f798 4223 wxPyEndAllowThreads(__tstate);
493f1553 4224 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4225} Py_INCREF(Py_None);
4226 _resultobj = Py_None;
8ab979d7
RD
4227 return _resultobj;
4228}
4229
c7e7022c
RD
4230#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4231static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4232 PyObject * _resultobj;
c7e7022c
RD
4233 bool _result;
4234 wxPyListCtrl * _arg0;
1d99702e 4235 PyObject * _argo0 = 0;
c7e7022c 4236 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4237
4238 self = self;
c7e7022c 4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
8ab979d7 4240 return NULL;
1d99702e
RD
4241 if (_argo0) {
4242 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4245 return NULL;
4246 }
4247 }
cf694132 4248{
4268f798 4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4250 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132 4251
4268f798 4252 wxPyEndAllowThreads(__tstate);
493f1553 4253 if (PyErr_Occurred()) return NULL;
c7e7022c 4254} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4255 return _resultobj;
4256}
4257
c7e7022c
RD
4258#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4259static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4260 PyObject * _resultobj;
c7e7022c 4261 wxPyListCtrl * _arg0;
8ab979d7 4262 long _arg1;
1d99702e 4263 PyObject * _argo0 = 0;
c7e7022c 4264 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4265
4266 self = self;
c7e7022c 4267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4268 return NULL;
1d99702e
RD
4269 if (_argo0) {
4270 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4273 return NULL;
4274 }
4275 }
cf694132 4276{
4268f798 4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4278 wxListCtrl_RefreshItem(_arg0,_arg1);
cf694132 4279
4268f798 4280 wxPyEndAllowThreads(__tstate);
493f1553 4281 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4282} Py_INCREF(Py_None);
4283 _resultobj = Py_None;
8ab979d7
RD
4284 return _resultobj;
4285}
4286
c7e7022c
RD
4287#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4288static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4289 PyObject * _resultobj;
c7e7022c
RD
4290 wxPyListCtrl * _arg0;
4291 long _arg1;
4292 long _arg2;
1d99702e 4293 PyObject * _argo0 = 0;
c7e7022c 4294 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4295
4296 self = self;
c7e7022c 4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4298 return NULL;
1d99702e
RD
4299 if (_argo0) {
4300 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4303 return NULL;
4304 }
4305 }
cf694132 4306{
4268f798 4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4308 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
cf694132 4309
4268f798 4310 wxPyEndAllowThreads(__tstate);
493f1553 4311 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4312} Py_INCREF(Py_None);
4313 _resultobj = Py_None;
8ab979d7
RD
4314 return _resultobj;
4315}
4316
c7e7022c
RD
4317#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4318static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4319 PyObject * _resultobj;
c7e7022c
RD
4320 bool _result;
4321 wxPyListCtrl * _arg0;
4322 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
1d99702e 4323 PyObject * _argo0 = 0;
c7e7022c 4324 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
4325
4326 self = self;
c7e7022c 4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
8ab979d7 4328 return NULL;
1d99702e
RD
4329 if (_argo0) {
4330 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4333 return NULL;
4334 }
4335 }
cf694132 4336{
4268f798 4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4338 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132 4339
4268f798 4340 wxPyEndAllowThreads(__tstate);
493f1553 4341 if (PyErr_Occurred()) return NULL;
c7e7022c 4342} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4343 return _resultobj;
4344}
4345
c7e7022c
RD
4346#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4347static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4348 PyObject * _resultobj;
4349 bool _result;
c7e7022c
RD
4350 wxPyListCtrl * _arg0;
4351 long _arg1;
1d99702e 4352 PyObject * _argo0 = 0;
c7e7022c 4353 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4354
4355 self = self;
c7e7022c 4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4357 return NULL;
1d99702e
RD
4358 if (_argo0) {
4359 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4362 return NULL;
4363 }
4364 }
c7e7022c 4365{
4268f798 4366 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4367 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
c7e7022c 4368
4268f798 4369 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4370 if (PyErr_Occurred()) return NULL;
4371} _resultobj = Py_BuildValue("i",_result);
4372 return _resultobj;
4373}
4374
4375#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4376static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject * _resultobj;
4378 bool _result;
4379 wxPyListCtrl * _arg0;
4380 PyObject * _argo0 = 0;
4381 char *_kwnames[] = { "self", NULL };
4382
4383 self = self;
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4385 return NULL;
4386 if (_argo0) {
4387 if (_argo0 == Py_None) { _arg0 = NULL; }
4388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4390 return NULL;
4391 }
4392 }
cf694132 4393{
4268f798 4394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4395 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
cf694132 4396
4268f798 4397 wxPyEndAllowThreads(__tstate);
493f1553 4398 if (PyErr_Occurred()) return NULL;
cf694132 4399} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4400 return _resultobj;
4401}
4402
c7e7022c
RD
4403#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4404static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4405 PyObject * _resultobj;
4406 bool _result;
c7e7022c 4407 wxPyListCtrl * _arg0;
8ab979d7 4408 int _arg1;
1d99702e 4409 PyObject * _argo0 = 0;
c7e7022c 4410 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
4411
4412 self = self;
c7e7022c 4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 4414 return NULL;
1d99702e
RD
4415 if (_argo0) {
4416 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4419 return NULL;
4420 }
4421 }
cf694132 4422{
4268f798 4423 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4424 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
cf694132 4425
4268f798 4426 wxPyEndAllowThreads(__tstate);
493f1553 4427 if (PyErr_Occurred()) return NULL;
cf694132 4428} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4429 return _resultobj;
4430}
4431
c7e7022c
RD
4432#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4433static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4434 PyObject * _resultobj;
c7e7022c
RD
4435 bool _result;
4436 wxPyListCtrl * _arg0;
1d99702e 4437 PyObject * _argo0 = 0;
c7e7022c 4438 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4439
4440 self = self;
c7e7022c 4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
8ab979d7 4442 return NULL;
1d99702e
RD
4443 if (_argo0) {
4444 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4447 return NULL;
4448 }
4449 }
c7e7022c 4450{
4268f798 4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4452 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
c7e7022c 4453
4268f798 4454 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4455 if (PyErr_Occurred()) return NULL;
4456} _resultobj = Py_BuildValue("i",_result);
4457 return _resultobj;
4458}
4459
4460#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4461static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject * _resultobj;
4463 wxPyListCtrl * _arg0;
4464 PyObject * _argo0 = 0;
4465 char *_kwnames[] = { "self", NULL };
4466
4467 self = self;
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_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_ClearAll. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4474 return NULL;
4475 }
4476 }
cf694132 4477{
4268f798 4478 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4479 wxListCtrl_ClearAll(_arg0);
cf694132 4480
4268f798 4481 wxPyEndAllowThreads(__tstate);
493f1553 4482 if (PyErr_Occurred()) return NULL;
cf694132 4483} Py_INCREF(Py_None);
8ab979d7
RD
4484 _resultobj = Py_None;
4485 return _resultobj;
4486}
4487
c7e7022c
RD
4488#define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4489static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject * _resultobj;
4491 wxTextCtrl * _result;
4492 wxPyListCtrl * _arg0;
4493 long _arg1;
4494 PyObject * _argo0 = 0;
4495 char *_kwnames[] = { "self","item", NULL };
4496
4497 self = self;
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
4499 return NULL;
4500 if (_argo0) {
4501 if (_argo0 == Py_None) { _arg0 = NULL; }
4502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4504 return NULL;
4505 }
4506 }
4507{
4268f798 4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4509 _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1);
c7e7022c 4510
4268f798 4511 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4512 if (PyErr_Occurred()) return NULL;
4513}{ _resultobj = wxPyMake_wxObject(_result); }
4514 return _resultobj;
4515}
4516
4517#define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4518static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4519 PyObject * _resultobj;
4520 bool _result;
c7e7022c
RD
4521 wxPyListCtrl * _arg0;
4522 bool _arg1;
1d99702e 4523 PyObject * _argo0 = 0;
c7e7022c
RD
4524 int tempbool1;
4525 char *_kwnames[] = { "self","cancel", NULL };
8ab979d7
RD
4526
4527 self = self;
c7e7022c 4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1))
8ab979d7 4529 return NULL;
1d99702e
RD
4530 if (_argo0) {
4531 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4534 return NULL;
4535 }
4536 }
c7e7022c
RD
4537 _arg1 = (bool ) tempbool1;
4538{
4268f798 4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4540 _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1);
c7e7022c 4541
4268f798 4542 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4543 if (PyErr_Occurred()) return NULL;
4544} _resultobj = Py_BuildValue("i",_result);
4545 return _resultobj;
4546}
4547
4548#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4549static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4550 PyObject * _resultobj;
4551 bool _result;
4552 wxPyListCtrl * _arg0;
4553 long _arg1;
4554 PyObject * _argo0 = 0;
4555 char *_kwnames[] = { "self","item", NULL };
4556
4557 self = self;
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
4559 return NULL;
4560 if (_argo0) {
4561 if (_argo0 == Py_None) { _arg0 = NULL; }
4562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4564 return NULL;
4565 }
4566 }
cf694132 4567{
4268f798 4568 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4569 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132 4570
4268f798 4571 wxPyEndAllowThreads(__tstate);
493f1553 4572 if (PyErr_Occurred()) return NULL;
cf694132 4573} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4574 return _resultobj;
4575}
4576
c7e7022c
RD
4577#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4578static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4579 PyObject * _resultobj;
4580 long _result;
c7e7022c 4581 wxPyListCtrl * _arg0;
8ab979d7 4582 long _arg1;
c7e7022c
RD
4583 wxString * _arg2;
4584 bool _arg3 = (bool ) FALSE;
1d99702e 4585 PyObject * _argo0 = 0;
c7e7022c
RD
4586 PyObject * _obj2 = 0;
4587 int tempbool3 = (int) FALSE;
4588 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4589
4590 self = self;
c7e7022c 4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4592 return NULL;
1d99702e
RD
4593 if (_argo0) {
4594 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4597 return NULL;
4598 }
4599 }
4600{
c8bc7bb8
RD
4601 _arg2 = wxString_in_helper(_obj2);
4602 if (_arg2 == NULL)
8ab979d7 4603 return NULL;
8ab979d7 4604}
c7e7022c 4605 _arg3 = (bool ) tempbool3;
cf694132 4606{
4268f798 4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4608 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4609
4268f798 4610 wxPyEndAllowThreads(__tstate);
493f1553 4611 if (PyErr_Occurred()) return NULL;
cf694132 4612} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4613{
c7e7022c
RD
4614 if (_obj2)
4615 delete _arg2;
8ab979d7
RD
4616}
4617 return _resultobj;
4618}
4619
c7e7022c
RD
4620#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4621static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4622 PyObject * _resultobj;
c7e7022c
RD
4623 long _result;
4624 wxPyListCtrl * _arg0;
8ab979d7
RD
4625 long _arg1;
4626 long _arg2;
1d99702e 4627 PyObject * _argo0 = 0;
c7e7022c 4628 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4629
4630 self = self;
c7e7022c 4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4632 return NULL;
1d99702e
RD
4633 if (_argo0) {
4634 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4637 return NULL;
4638 }
4639 }
cf694132 4640{
4268f798 4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4642 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132 4643
4268f798 4644 wxPyEndAllowThreads(__tstate);
493f1553 4645 if (PyErr_Occurred()) return NULL;
c7e7022c 4646} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4647 return _resultobj;
4648}
4649
c7e7022c
RD
4650#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4651static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4652 PyObject * _resultobj;
c7e7022c
RD
4653 long _result;
4654 wxPyListCtrl * _arg0;
4655 long _arg1;
4656 wxPoint * _arg2;
4657 int _arg3;
4658 PyObject * _argo0 = 0;
4659 wxPoint temp;
4660 PyObject * _obj2 = 0;
4661 char *_kwnames[] = { "self","start","pt","direction", NULL };
4662
4663 self = self;
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
4665 return NULL;
4666 if (_argo0) {
4667 if (_argo0 == Py_None) { _arg0 = NULL; }
4668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4670 return NULL;
4671 }
4672 }
4673{
4674 _arg2 = &temp;
4675 if (! wxPoint_helper(_obj2, &_arg2))
4676 return NULL;
4677}
4678{
4268f798 4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4680 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
c7e7022c 4681
4268f798 4682 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4683 if (PyErr_Occurred()) return NULL;
4684} _resultobj = Py_BuildValue("l",_result);
4685 return _resultobj;
4686}
4687
4688#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4689static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4690 PyObject * _resultobj;
4691 long _result;
4692 wxPyListCtrl * _arg0;
4693 wxPoint * _arg1;
4694 int * _arg2;
4695 int temp;
4696 PyObject * _argo0 = 0;
4697 wxPoint temp0;
4698 PyObject * _obj1 = 0;
4699 char *_kwnames[] = { "self","point", NULL };
4700
4701 self = self;
4702{
4703 _arg2 = &temp;
4704}
4705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
4706 return NULL;
4707 if (_argo0) {
4708 if (_argo0 == Py_None) { _arg0 = NULL; }
4709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4711 return NULL;
4712 }
4713 }
4714{
4715 _arg1 = &temp0;
4716 if (! wxPoint_helper(_obj1, &_arg1))
4717 return NULL;
4718}
4719{
4268f798 4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4721 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
c7e7022c 4722
4268f798 4723 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4724 if (PyErr_Occurred()) return NULL;
4725} _resultobj = Py_BuildValue("l",_result);
4726{
4727 PyObject *o;
4728 o = PyInt_FromLong((long) (*_arg2));
4729 _resultobj = t_output_helper(_resultobj, o);
4730}
4731 return _resultobj;
4732}
4733
4734#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4735static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject * _resultobj;
4737 long _result;
4738 wxPyListCtrl * _arg0;
4739 wxListItem * _arg1;
4740 PyObject * _argo0 = 0;
4741 PyObject * _argo1 = 0;
4742 char *_kwnames[] = { "self","info", NULL };
4743
4744 self = self;
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
4746 return NULL;
4747 if (_argo0) {
4748 if (_argo0 == Py_None) { _arg0 = NULL; }
4749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4751 return NULL;
4752 }
4753 }
4754 if (_argo1) {
4755 if (_argo1 == Py_None) { _arg1 = NULL; }
4756 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
4757 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4758 return NULL;
4759 }
4760 }
4761{
4268f798 4762 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4763 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
c7e7022c 4764
4268f798 4765 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4766 if (PyErr_Occurred()) return NULL;
4767} _resultobj = Py_BuildValue("l",_result);
4768 return _resultobj;
4769}
4770
4771#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4772static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4773 PyObject * _resultobj;
4774 long _result;
4775 wxPyListCtrl * _arg0;
4776 long _arg1;
4777 wxString * _arg2;
4778 PyObject * _argo0 = 0;
4779 PyObject * _obj2 = 0;
4780 char *_kwnames[] = { "self","index","label", NULL };
4781
4782 self = self;
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
4784 return NULL;
4785 if (_argo0) {
4786 if (_argo0 == Py_None) { _arg0 = NULL; }
4787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4789 return NULL;
4790 }
4791 }
4792{
c8bc7bb8
RD
4793 _arg2 = wxString_in_helper(_obj2);
4794 if (_arg2 == NULL)
c7e7022c 4795 return NULL;
c7e7022c
RD
4796}
4797{
4268f798 4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4799 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
c7e7022c 4800
4268f798 4801 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4802 if (PyErr_Occurred()) return NULL;
4803} _resultobj = Py_BuildValue("l",_result);
4804{
4805 if (_obj2)
4806 delete _arg2;
4807}
4808 return _resultobj;
4809}
4810
4811#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4812static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4813 PyObject * _resultobj;
4814 long _result;
4815 wxPyListCtrl * _arg0;
8ab979d7
RD
4816 long _arg1;
4817 int _arg2;
1d99702e 4818 PyObject * _argo0 = 0;
c7e7022c 4819 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4820
4821 self = self;
c7e7022c 4822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4823 return NULL;
1d99702e
RD
4824 if (_argo0) {
4825 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4828 return NULL;
4829 }
4830 }
cf694132 4831{
4268f798 4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4833 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
cf694132 4834
4268f798 4835 wxPyEndAllowThreads(__tstate);
493f1553 4836 if (PyErr_Occurred()) return NULL;
c7e7022c 4837} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4838 return _resultobj;
4839}
4840
c7e7022c
RD
4841#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4842static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4843 PyObject * _resultobj;
c7e7022c
RD
4844 long _result;
4845 wxPyListCtrl * _arg0;
8ab979d7 4846 long _arg1;
c7e7022c
RD
4847 wxString * _arg2;
4848 int _arg3;
1d99702e 4849 PyObject * _argo0 = 0;
2f90df85 4850 PyObject * _obj2 = 0;
c7e7022c 4851 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4852
4853 self = self;
c7e7022c 4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4855 return NULL;
1d99702e
RD
4856 if (_argo0) {
4857 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4860 return NULL;
4861 }
4862 }
2f90df85 4863{
c8bc7bb8
RD
4864 _arg2 = wxString_in_helper(_obj2);
4865 if (_arg2 == NULL)
8ab979d7 4866 return NULL;
2f90df85 4867}
cf694132 4868{
4268f798 4869 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4870 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4871
4268f798 4872 wxPyEndAllowThreads(__tstate);
493f1553 4873 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4874} _resultobj = Py_BuildValue("l",_result);
4875{
4876 if (_obj2)
4877 delete _arg2;
4878}
8ab979d7
RD
4879 return _resultobj;
4880}
4881
c7e7022c
RD
4882#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4883static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4884 PyObject * _resultobj;
c7e7022c
RD
4885 long _result;
4886 wxPyListCtrl * _arg0;
8ab979d7 4887 long _arg1;
c7e7022c 4888 wxListItem * _arg2;
1d99702e 4889 PyObject * _argo0 = 0;
c7e7022c
RD
4890 PyObject * _argo2 = 0;
4891 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4892
4893 self = self;
c7e7022c 4894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4895 return NULL;
1d99702e
RD
4896 if (_argo0) {
4897 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4900 return NULL;
4901 }
4902 }
4903 if (_argo2) {
4904 if (_argo2 == Py_None) { _arg2 = NULL; }
4905 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4906 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4907 return NULL;
4908 }
4909 }
cf694132 4910{
4268f798 4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4912 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132 4913
4268f798 4914 wxPyEndAllowThreads(__tstate);
493f1553 4915 if (PyErr_Occurred()) return NULL;
c7e7022c 4916} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4917 return _resultobj;
4918}
4919
c7e7022c
RD
4920#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4921static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4922 PyObject * _resultobj;
c7e7022c
RD
4923 long _result;
4924 wxPyListCtrl * _arg0;
8ab979d7
RD
4925 long _arg1;
4926 wxString * _arg2;
c7e7022c
RD
4927 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
4928 int _arg4 = (int ) -1;
1d99702e 4929 PyObject * _argo0 = 0;
8ab979d7 4930 PyObject * _obj2 = 0;
c7e7022c 4931 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
4932
4933 self = self;
c7e7022c 4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 4935 return NULL;
1d99702e
RD
4936 if (_argo0) {
4937 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4940 return NULL;
4941 }
4942 }
4943{
c8bc7bb8
RD
4944 _arg2 = wxString_in_helper(_obj2);
4945 if (_arg2 == NULL)
8ab979d7 4946 return NULL;
8ab979d7 4947}
cf694132 4948{
4268f798 4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4950 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132 4951
4268f798 4952 wxPyEndAllowThreads(__tstate);
493f1553 4953 if (PyErr_Occurred()) return NULL;
c7e7022c 4954} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4955{
4956 if (_obj2)
4957 delete _arg2;
4958}
4959 return _resultobj;
4960}
4961
c7e7022c
RD
4962#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4963static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4964 PyObject * _resultobj;
c7e7022c 4965 wxPyListCtrl * _arg0;
8ab979d7 4966 long _arg1;
1d99702e 4967 PyObject * _argo0 = 0;
c7e7022c 4968 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
4969
4970 self = self;
c7e7022c 4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 4972 return NULL;
1d99702e
RD
4973 if (_argo0) {
4974 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4977 return NULL;
4978 }
4979 }
cf694132 4980{
4268f798 4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4982 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132 4983
4268f798 4984 wxPyEndAllowThreads(__tstate);
493f1553 4985 if (PyErr_Occurred()) return NULL;
cf694132 4986} Py_INCREF(Py_None);
8ab979d7
RD
4987 _resultobj = Py_None;
4988 return _resultobj;
4989}
4990
c7e7022c
RD
4991#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4992static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4993 PyObject * _resultobj;
c7e7022c
RD
4994 bool _result;
4995 wxPyListCtrl * _arg0;
4996 int _arg1;
4997 int _arg2;
1d99702e 4998 PyObject * _argo0 = 0;
c7e7022c 4999 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
5000
5001 self = self;
c7e7022c 5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5003 return NULL;
1d99702e
RD
5004 if (_argo0) {
5005 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
5008 return NULL;
5009 }
5010 }
cf694132 5011{
4268f798 5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5013 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132 5014
4268f798 5015 wxPyEndAllowThreads(__tstate);
493f1553 5016 if (PyErr_Occurred()) return NULL;
c7e7022c 5017} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5018 return _resultobj;
5019}
5020
c7e7022c 5021static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
5022 if (!PyCallable_Check(func))
5023 return FALSE;
f6bcfd97 5024 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
5025 }
5026static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject * _resultobj;
5028 bool _result;
c7e7022c 5029 wxPyListCtrl * _arg0;
dcd38683
RD
5030 PyObject * _arg1;
5031 PyObject * _argo0 = 0;
5032 PyObject * _obj1 = 0;
5033 char *_kwnames[] = { "self","func", NULL };
5034
5035 self = self;
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
5037 return NULL;
5038 if (_argo0) {
5039 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
5042 return NULL;
5043 }
5044 }
5045{
5046 _arg1 = _obj1;
5047}
5048{
4268f798 5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5050 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683 5051
4268f798 5052 wxPyEndAllowThreads(__tstate);
493f1553 5053 if (PyErr_Occurred()) return NULL;
dcd38683
RD
5054} _resultobj = Py_BuildValue("i",_result);
5055 return _resultobj;
5056}
5057
6d19860f
RD
5058static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5059 wxListView *src;
5060 wxPyListCtrl *dest;
5061 src = (wxListView *) ptr;
5062 dest = (wxPyListCtrl *) src;
5063 return (void *) dest;
5064}
5065
5066static void *SwigwxListViewTowxControl(void *ptr) {
5067 wxListView *src;
5068 wxControl *dest;
5069 src = (wxListView *) ptr;
5070 dest = (wxControl *) src;
5071 return (void *) dest;
5072}
5073
5074static void *SwigwxListViewTowxWindow(void *ptr) {
5075 wxListView *src;
5076 wxWindow *dest;
5077 src = (wxListView *) ptr;
5078 dest = (wxWindow *) src;
5079 return (void *) dest;
5080}
5081
5082static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5083 wxListView *src;
5084 wxEvtHandler *dest;
5085 src = (wxListView *) ptr;
5086 dest = (wxEvtHandler *) src;
5087 return (void *) dest;
5088}
5089
5090static void *SwigwxListViewTowxObject(void *ptr) {
5091 wxListView *src;
5092 wxObject *dest;
5093 src = (wxListView *) ptr;
5094 dest = (wxObject *) src;
5095 return (void *) dest;
5096}
5097
5098#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5099static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5100 PyObject * _resultobj;
5101 wxListView * _result;
5102 wxWindow * _arg0;
5103 wxWindowID _arg1 = (wxWindowID ) -1;
5104 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5105 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5106 long _arg4 = (long ) (wxLC_REPORT);
5107 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
5108 wxString * _arg6 = (wxString *) &"listctrl";
5109 PyObject * _argo0 = 0;
5110 wxPoint temp;
5111 PyObject * _obj2 = 0;
5112 wxSize temp0;
5113 PyObject * _obj3 = 0;
5114 PyObject * _argo5 = 0;
5115 PyObject * _obj6 = 0;
5116 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5117 char _ptemp[128];
5118
5119 self = self;
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5121 return NULL;
5122 if (_argo0) {
5123 if (_argo0 == Py_None) { _arg0 = NULL; }
5124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5126 return NULL;
5127 }
5128 }
5129 if (_obj2)
5130{
5131 _arg2 = &temp;
5132 if (! wxPoint_helper(_obj2, &_arg2))
5133 return NULL;
5134}
5135 if (_obj3)
5136{
5137 _arg3 = &temp0;
5138 if (! wxSize_helper(_obj3, &_arg3))
5139 return NULL;
5140}
5141 if (_argo5) {
5142 if (_argo5 == Py_None) { _arg5 = NULL; }
5143 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5144 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5145 return NULL;
5146 }
5147 }
5148 if (_obj6)
5149{
c8bc7bb8
RD
5150 _arg6 = wxString_in_helper(_obj6);
5151 if (_arg6 == NULL)
6d19860f 5152 return NULL;
6d19860f
RD
5153}
5154{
4268f798 5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5156 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
6d19860f 5157
4268f798 5158 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5159 if (PyErr_Occurred()) return NULL;
5160} if (_result) {
5161 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5162 _resultobj = Py_BuildValue("s",_ptemp);
5163 } else {
5164 Py_INCREF(Py_None);
5165 _resultobj = Py_None;
5166 }
5167{
5168 if (_obj6)
5169 delete _arg6;
5170}
5171 return _resultobj;
5172}
5173
5174#define new_wxPreListView() (new wxListView())
5175static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5176 PyObject * _resultobj;
5177 wxListView * _result;
5178 char *_kwnames[] = { NULL };
5179 char _ptemp[128];
5180
5181 self = self;
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5183 return NULL;
5184{
4268f798 5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5186 _result = (wxListView *)new_wxPreListView();
6d19860f 5187
4268f798 5188 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5189 if (PyErr_Occurred()) return NULL;
5190} if (_result) {
5191 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5192 _resultobj = Py_BuildValue("s",_ptemp);
5193 } else {
5194 Py_INCREF(Py_None);
5195 _resultobj = Py_None;
5196 }
5197 return _resultobj;
5198}
5199
5200#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5201static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5202 PyObject * _resultobj;
5203 bool _result;
5204 wxListView * _arg0;
5205 wxWindow * _arg1;
5206 wxWindowID _arg2 = (wxWindowID ) -1;
5207 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5208 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5209 long _arg5 = (long ) (wxLC_REPORT);
5210 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
5211 wxString * _arg7 = (wxString *) &"listctrl";
5212 PyObject * _argo0 = 0;
5213 PyObject * _argo1 = 0;
5214 wxPoint temp;
5215 PyObject * _obj3 = 0;
5216 wxSize temp0;
5217 PyObject * _obj4 = 0;
5218 PyObject * _argo6 = 0;
5219 PyObject * _obj7 = 0;
5220 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5221
5222 self = self;
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5224 return NULL;
5225 if (_argo0) {
5226 if (_argo0 == Py_None) { _arg0 = NULL; }
5227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5229 return NULL;
5230 }
5231 }
5232 if (_argo1) {
5233 if (_argo1 == Py_None) { _arg1 = NULL; }
5234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5236 return NULL;
5237 }
5238 }
5239 if (_obj3)
5240{
5241 _arg3 = &temp;
5242 if (! wxPoint_helper(_obj3, &_arg3))
5243 return NULL;
5244}
5245 if (_obj4)
5246{
5247 _arg4 = &temp0;
5248 if (! wxSize_helper(_obj4, &_arg4))
5249 return NULL;
5250}
5251 if (_argo6) {
5252 if (_argo6 == Py_None) { _arg6 = NULL; }
5253 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5254 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5255 return NULL;
5256 }
5257 }
5258 if (_obj7)
5259{
c8bc7bb8
RD
5260 _arg7 = wxString_in_helper(_obj7);
5261 if (_arg7 == NULL)
6d19860f 5262 return NULL;
6d19860f
RD
5263}
5264{
4268f798 5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5266 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
6d19860f 5267
4268f798 5268 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5269 if (PyErr_Occurred()) return NULL;
5270} _resultobj = Py_BuildValue("i",_result);
5271{
5272 if (_obj7)
5273 delete _arg7;
5274}
5275 return _resultobj;
5276}
5277
5278#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5279static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5280 PyObject * _resultobj;
5281 wxListView * _arg0;
5282 long _arg1;
5283 bool _arg2 = (bool ) TRUE;
5284 PyObject * _argo0 = 0;
5285 int tempbool2 = (int) TRUE;
5286 char *_kwnames[] = { "self","n","on", NULL };
5287
5288 self = self;
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5290 return NULL;
5291 if (_argo0) {
5292 if (_argo0 == Py_None) { _arg0 = NULL; }
5293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5295 return NULL;
5296 }
5297 }
5298 _arg2 = (bool ) tempbool2;
5299{
4268f798 5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5301 wxListView_Select(_arg0,_arg1,_arg2);
6d19860f 5302
4268f798 5303 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5304 if (PyErr_Occurred()) return NULL;
5305} Py_INCREF(Py_None);
5306 _resultobj = Py_None;
5307 return _resultobj;
5308}
5309
5310#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5311static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject * _resultobj;
5313 wxListView * _arg0;
5314 long _arg1;
5315 PyObject * _argo0 = 0;
5316 char *_kwnames[] = { "self","index", NULL };
5317
5318 self = self;
5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5320 return NULL;
5321 if (_argo0) {
5322 if (_argo0 == Py_None) { _arg0 = NULL; }
5323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5325 return NULL;
5326 }
5327 }
5328{
4268f798 5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5330 wxListView_Focus(_arg0,_arg1);
6d19860f 5331
4268f798 5332 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5333 if (PyErr_Occurred()) return NULL;
5334} Py_INCREF(Py_None);
5335 _resultobj = Py_None;
5336 return _resultobj;
5337}
5338
5339#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5340static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5341 PyObject * _resultobj;
5342 long _result;
5343 wxListView * _arg0;
5344 PyObject * _argo0 = 0;
5345 char *_kwnames[] = { "self", NULL };
5346
5347 self = self;
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5349 return NULL;
5350 if (_argo0) {
5351 if (_argo0 == Py_None) { _arg0 = NULL; }
5352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5354 return NULL;
5355 }
5356 }
5357{
4268f798 5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5359 _result = (long )wxListView_GetFocusedItem(_arg0);
6d19860f 5360
4268f798 5361 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5362 if (PyErr_Occurred()) return NULL;
5363} _resultobj = Py_BuildValue("l",_result);
5364 return _resultobj;
5365}
5366
5367#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5368static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5369 PyObject * _resultobj;
5370 long _result;
5371 wxListView * _arg0;
5372 long _arg1;
5373 PyObject * _argo0 = 0;
5374 char *_kwnames[] = { "self","item", NULL };
5375
5376 self = self;
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5378 return NULL;
5379 if (_argo0) {
5380 if (_argo0 == Py_None) { _arg0 = NULL; }
5381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5383 return NULL;
5384 }
5385 }
5386{
4268f798 5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5388 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
6d19860f 5389
4268f798 5390 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5391 if (PyErr_Occurred()) return NULL;
5392} _resultobj = Py_BuildValue("l",_result);
5393 return _resultobj;
5394}
5395
5396#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5397static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject * _resultobj;
5399 long _result;
5400 wxListView * _arg0;
5401 PyObject * _argo0 = 0;
5402 char *_kwnames[] = { "self", NULL };
5403
5404 self = self;
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5406 return NULL;
5407 if (_argo0) {
5408 if (_argo0 == Py_None) { _arg0 = NULL; }
5409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5411 return NULL;
5412 }
5413 }
5414{
4268f798 5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5416 _result = (long )wxListView_GetFirstSelected(_arg0);
6d19860f 5417
4268f798 5418 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5419 if (PyErr_Occurred()) return NULL;
5420} _resultobj = Py_BuildValue("l",_result);
5421 return _resultobj;
5422}
5423
5424#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5425static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject * _resultobj;
5427 bool _result;
5428 wxListView * _arg0;
5429 long _arg1;
5430 PyObject * _argo0 = 0;
5431 char *_kwnames[] = { "self","index", NULL };
5432
5433 self = self;
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5435 return NULL;
5436 if (_argo0) {
5437 if (_argo0 == Py_None) { _arg0 = NULL; }
5438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5440 return NULL;
5441 }
5442 }
5443{
4268f798 5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5445 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
6d19860f 5446
4268f798 5447 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5448 if (PyErr_Occurred()) return NULL;
5449} _resultobj = Py_BuildValue("i",_result);
5450 return _resultobj;
5451}
5452
5453#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5454static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5455 PyObject * _resultobj;
5456 wxListView * _arg0;
5457 int _arg1;
5458 int _arg2;
5459 PyObject * _argo0 = 0;
5460 char *_kwnames[] = { "self","col","image", NULL };
5461
5462 self = self;
5463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5464 return NULL;
5465 if (_argo0) {
5466 if (_argo0 == Py_None) { _arg0 = NULL; }
5467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5469 return NULL;
5470 }
5471 }
5472{
4268f798 5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5474 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
6d19860f 5475
4268f798 5476 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5477 if (PyErr_Occurred()) return NULL;
5478} Py_INCREF(Py_None);
5479 _resultobj = Py_None;
5480 return _resultobj;
5481}
5482
5483#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5484static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5485 PyObject * _resultobj;
5486 wxListView * _arg0;
5487 int _arg1;
5488 PyObject * _argo0 = 0;
5489 char *_kwnames[] = { "self","col", NULL };
5490
5491 self = self;
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5493 return NULL;
5494 if (_argo0) {
5495 if (_argo0 == Py_None) { _arg0 = NULL; }
5496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5498 return NULL;
5499 }
5500 }
5501{
4268f798 5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5503 wxListView_ClearColumnImage(_arg0,_arg1);
6d19860f 5504
4268f798 5505 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5506 if (PyErr_Occurred()) return NULL;
5507} Py_INCREF(Py_None);
5508 _resultobj = Py_None;
5509 return _resultobj;
5510}
5511
00b6c4e3
RD
5512#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5513static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5514 PyObject * _resultobj;
5515 wxTreeItemAttr * _result;
5516 wxColour * _arg0 = (wxColour *) &wxNullColour;
5517 wxColour * _arg1 = (wxColour *) &wxNullColour;
5518 wxFont * _arg2 = (wxFont *) &wxNullFont;
5519 wxColour temp;
5520 PyObject * _obj0 = 0;
5521 wxColour temp0;
5522 PyObject * _obj1 = 0;
5523 PyObject * _argo2 = 0;
5524 char *_kwnames[] = { "colText","colBack","font", NULL };
5525 char _ptemp[128];
5526
5527 self = self;
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5529 return NULL;
5530 if (_obj0)
5531{
5532 _arg0 = &temp;
5533 if (! wxColour_helper(_obj0, &_arg0))
5534 return NULL;
5535}
5536 if (_obj1)
5537{
5538 _arg1 = &temp0;
5539 if (! wxColour_helper(_obj1, &_arg1))
5540 return NULL;
5541}
5542 if (_argo2) {
5543 if (_argo2 == Py_None) { _arg2 = NULL; }
5544 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5545 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5546 return NULL;
5547 }
5548 }
5549{
4268f798 5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5551 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
00b6c4e3 5552
4268f798 5553 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5554 if (PyErr_Occurred()) return NULL;
5555} if (_result) {
5556 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
5557 _resultobj = Py_BuildValue("s",_ptemp);
5558 } else {
5559 Py_INCREF(Py_None);
5560 _resultobj = Py_None;
5561 }
5562 return _resultobj;
5563}
5564
5565#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5566static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject * _resultobj;
5568 wxTreeItemAttr * _arg0;
5569 wxColour * _arg1;
5570 PyObject * _argo0 = 0;
5571 wxColour temp;
5572 PyObject * _obj1 = 0;
5573 char *_kwnames[] = { "self","colText", NULL };
5574
5575 self = self;
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5577 return NULL;
5578 if (_argo0) {
5579 if (_argo0 == Py_None) { _arg0 = NULL; }
5580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5582 return NULL;
5583 }
5584 }
5585{
5586 _arg1 = &temp;
5587 if (! wxColour_helper(_obj1, &_arg1))
5588 return NULL;
5589}
5590{
4268f798 5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5592 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
00b6c4e3 5593
4268f798 5594 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5595 if (PyErr_Occurred()) return NULL;
5596} Py_INCREF(Py_None);
5597 _resultobj = Py_None;
5598 return _resultobj;
5599}
5600
5601#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5602static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject * _resultobj;
5604 wxTreeItemAttr * _arg0;
5605 wxColour * _arg1;
5606 PyObject * _argo0 = 0;
5607 wxColour temp;
5608 PyObject * _obj1 = 0;
5609 char *_kwnames[] = { "self","colBack", NULL };
5610
5611 self = self;
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5613 return NULL;
5614 if (_argo0) {
5615 if (_argo0 == Py_None) { _arg0 = NULL; }
5616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5618 return NULL;
5619 }
5620 }
5621{
5622 _arg1 = &temp;
5623 if (! wxColour_helper(_obj1, &_arg1))
5624 return NULL;
5625}
5626{
4268f798 5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5628 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
00b6c4e3 5629
4268f798 5630 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5631 if (PyErr_Occurred()) return NULL;
5632} Py_INCREF(Py_None);
5633 _resultobj = Py_None;
5634 return _resultobj;
5635}
5636
5637#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5638static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5639 PyObject * _resultobj;
5640 wxTreeItemAttr * _arg0;
5641 wxFont * _arg1;
5642 PyObject * _argo0 = 0;
5643 PyObject * _argo1 = 0;
5644 char *_kwnames[] = { "self","font", NULL };
5645
5646 self = self;
5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
5648 return NULL;
5649 if (_argo0) {
5650 if (_argo0 == Py_None) { _arg0 = NULL; }
5651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5653 return NULL;
5654 }
5655 }
5656 if (_argo1) {
5657 if (_argo1 == Py_None) { _arg1 = NULL; }
5658 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5659 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5660 return NULL;
5661 }
5662 }
5663{
4268f798 5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5665 wxTreeItemAttr_SetFont(_arg0,*_arg1);
00b6c4e3 5666
4268f798 5667 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5668 if (PyErr_Occurred()) return NULL;
5669} Py_INCREF(Py_None);
5670 _resultobj = Py_None;
5671 return _resultobj;
5672}
5673
5674#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5675static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5676 PyObject * _resultobj;
5677 bool _result;
5678 wxTreeItemAttr * _arg0;
5679 PyObject * _argo0 = 0;
5680 char *_kwnames[] = { "self", NULL };
5681
5682 self = self;
5683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
5684 return NULL;
5685 if (_argo0) {
5686 if (_argo0 == Py_None) { _arg0 = NULL; }
5687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5689 return NULL;
5690 }
5691 }
5692{
4268f798 5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5694 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
00b6c4e3 5695
4268f798 5696 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5697 if (PyErr_Occurred()) return NULL;
5698} _resultobj = Py_BuildValue("i",_result);
5699 return _resultobj;
5700}
5701
5702#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5703static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5704 PyObject * _resultobj;
5705 bool _result;
5706 wxTreeItemAttr * _arg0;
5707 PyObject * _argo0 = 0;
5708 char *_kwnames[] = { "self", NULL };
5709
5710 self = self;
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
5712 return NULL;
5713 if (_argo0) {
5714 if (_argo0 == Py_None) { _arg0 = NULL; }
5715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5717 return NULL;
5718 }
5719 }
5720{
4268f798 5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5722 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
00b6c4e3 5723
4268f798 5724 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5725 if (PyErr_Occurred()) return NULL;
5726} _resultobj = Py_BuildValue("i",_result);
5727 return _resultobj;
5728}
5729
5730#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5731static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5732 PyObject * _resultobj;
5733 bool _result;
5734 wxTreeItemAttr * _arg0;
5735 PyObject * _argo0 = 0;
5736 char *_kwnames[] = { "self", NULL };
5737
5738 self = self;
5739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
5740 return NULL;
5741 if (_argo0) {
5742 if (_argo0 == Py_None) { _arg0 = NULL; }
5743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5745 return NULL;
5746 }
5747 }
5748{
4268f798 5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5750 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
00b6c4e3 5751
4268f798 5752 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5753 if (PyErr_Occurred()) return NULL;
5754} _resultobj = Py_BuildValue("i",_result);
5755 return _resultobj;
5756}
5757
5758#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5759static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject * _resultobj;
5761 wxColour * _result;
5762 wxTreeItemAttr * _arg0;
5763 PyObject * _argo0 = 0;
5764 char *_kwnames[] = { "self", NULL };
5765 char _ptemp[128];
5766
5767 self = self;
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
5769 return NULL;
5770 if (_argo0) {
5771 if (_argo0 == Py_None) { _arg0 = NULL; }
5772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5774 return NULL;
5775 }
5776 }
5777{
4268f798 5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5779 _result = new wxColour (wxTreeItemAttr_GetTextColour(_arg0));
00b6c4e3 5780
4268f798 5781 wxPyEndAllowThreads(__tstate);
00b6c4e3 5782 if (PyErr_Occurred()) return NULL;
c5943253
RD
5783} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5784 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5785 return _resultobj;
5786}
5787
5788#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5789static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5790 PyObject * _resultobj;
5791 wxColour * _result;
5792 wxTreeItemAttr * _arg0;
5793 PyObject * _argo0 = 0;
5794 char *_kwnames[] = { "self", NULL };
5795 char _ptemp[128];
5796
5797 self = self;
5798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5799 return NULL;
5800 if (_argo0) {
5801 if (_argo0 == Py_None) { _arg0 = NULL; }
5802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5804 return NULL;
5805 }
5806 }
5807{
4268f798 5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5809 _result = new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0));
00b6c4e3 5810
4268f798 5811 wxPyEndAllowThreads(__tstate);
00b6c4e3 5812 if (PyErr_Occurred()) return NULL;
c5943253
RD
5813} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5814 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5815 return _resultobj;
5816}
5817
5818#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5819static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5820 PyObject * _resultobj;
5821 wxFont * _result;
5822 wxTreeItemAttr * _arg0;
5823 PyObject * _argo0 = 0;
5824 char *_kwnames[] = { "self", NULL };
5825 char _ptemp[128];
5826
5827 self = self;
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5829 return NULL;
5830 if (_argo0) {
5831 if (_argo0 == Py_None) { _arg0 = NULL; }
5832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5834 return NULL;
5835 }
5836 }
5837{
4268f798 5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5839 _result = new wxFont (wxTreeItemAttr_GetFont(_arg0));
00b6c4e3 5840
4268f798 5841 wxPyEndAllowThreads(__tstate);
00b6c4e3 5842 if (PyErr_Occurred()) return NULL;
c5943253
RD
5843} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5844 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5845 return _resultobj;
5846}
5847
d5c9047a 5848#define new_wxTreeItemId() (new wxTreeItemId())
efc5f224 5849static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5850 PyObject * _resultobj;
d5c9047a 5851 wxTreeItemId * _result;
efc5f224 5852 char *_kwnames[] = { NULL };
d5c9047a 5853 char _ptemp[128];
8ab979d7
RD
5854
5855 self = self;
efc5f224 5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
8ab979d7 5857 return NULL;
cf694132 5858{
4268f798 5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5860 _result = (wxTreeItemId *)new_wxTreeItemId();
cf694132 5861
4268f798 5862 wxPyEndAllowThreads(__tstate);
493f1553 5863 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5864} if (_result) {
5865 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5866 _resultobj = Py_BuildValue("s",_ptemp);
5867 } else {
5868 Py_INCREF(Py_None);
5869 _resultobj = Py_None;
5870 }
8ab979d7
RD
5871 return _resultobj;
5872}
5873
d5c9047a 5874#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
efc5f224 5875static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5876 PyObject * _resultobj;
d5c9047a 5877 wxTreeItemId * _arg0;
1d99702e 5878 PyObject * _argo0 = 0;
efc5f224 5879 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5880
5881 self = self;
efc5f224 5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
8ab979d7 5883 return NULL;
1d99702e
RD
5884 if (_argo0) {
5885 if (_argo0 == Py_None) { _arg0 = NULL; }
5886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
8ab979d7
RD
5888 return NULL;
5889 }
5890 }
cf694132 5891{
4268f798 5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5893 delete_wxTreeItemId(_arg0);
cf694132 5894
4268f798 5895 wxPyEndAllowThreads(__tstate);
493f1553 5896 if (PyErr_Occurred()) return NULL;
cf694132 5897} Py_INCREF(Py_None);
d5c9047a 5898 _resultobj = Py_None;
8ab979d7
RD
5899 return _resultobj;
5900}
5901
d5c9047a 5902#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
efc5f224 5903static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5904 PyObject * _resultobj;
d5c9047a
RD
5905 bool _result;
5906 wxTreeItemId * _arg0;
1d99702e 5907 PyObject * _argo0 = 0;
efc5f224 5908 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5909
5910 self = self;
efc5f224 5911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
8ab979d7 5912 return NULL;
1d99702e
RD
5913 if (_argo0) {
5914 if (_argo0 == Py_None) { _arg0 = NULL; }
5915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
8ab979d7
RD
5917 return NULL;
5918 }
5919 }
cf694132 5920{
4268f798 5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5922 _result = (bool )wxTreeItemId_IsOk(_arg0);
cf694132 5923
4268f798 5924 wxPyEndAllowThreads(__tstate);
493f1553 5925 if (PyErr_Occurred()) return NULL;
cf694132 5926} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5927 return _resultobj;
5928}
5929
f6bcfd97 5930static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
c368d904 5931 if (! other) return -1;
f6bcfd97
BP
5932 return *self != *other;
5933 }
5934static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject * _resultobj;
5936 int _result;
5937 wxTreeItemId * _arg0;
5938 wxTreeItemId * _arg1;
5939 PyObject * _argo0 = 0;
5940 PyObject * _argo1 = 0;
5941 char *_kwnames[] = { "self","other", NULL };
5942
5943 self = self;
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
5945 return NULL;
5946 if (_argo0) {
5947 if (_argo0 == Py_None) { _arg0 = NULL; }
5948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5950 return NULL;
5951 }
5952 }
5953 if (_argo1) {
5954 if (_argo1 == Py_None) { _arg1 = NULL; }
5955 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5956 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5957 return NULL;
5958 }
5959 }
5960{
4268f798 5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5962 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
f6bcfd97 5963
4268f798 5964 wxPyEndAllowThreads(__tstate);
493f1553 5965 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5966} _resultobj = Py_BuildValue("i",_result);
5967 return _resultobj;
5968}
5969
9416aa89
RD
5970static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
5971 wxPyTreeItemData *src;
5972 wxObject *dest;
5973 src = (wxPyTreeItemData *) ptr;
5974 dest = (wxObject *) src;
5975 return (void *) dest;
5976}
5977
cf694132 5978#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
efc5f224 5979static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5980 PyObject * _resultobj;
cf694132 5981 wxPyTreeItemData * _result;
1d99702e 5982 PyObject * _arg0 = (PyObject *) NULL;
cf694132 5983 PyObject * _obj0 = 0;
efc5f224 5984 char *_kwnames[] = { "obj", NULL };
d5c9047a 5985 char _ptemp[128];
8ab979d7
RD
5986
5987 self = self;
efc5f224 5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
8ab979d7 5989 return NULL;
cf694132
RD
5990 if (_obj0)
5991{
5992 _arg0 = _obj0;
5993}
5994{
4268f798 5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5996 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
cf694132 5997
4268f798 5998 wxPyEndAllowThreads(__tstate);
493f1553 5999 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6000} if (_result) {
6001 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
6002 _resultobj = Py_BuildValue("s",_ptemp);
6003 } else {
6004 Py_INCREF(Py_None);
6005 _resultobj = Py_None;
6006 }
8ab979d7
RD
6007 return _resultobj;
6008}
6009
cf694132 6010#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
efc5f224 6011static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
6012 PyObject * _resultobj;
6013 PyObject * _result;
6014 wxPyTreeItemData * _arg0;
1d99702e 6015 PyObject * _argo0 = 0;
efc5f224 6016 char *_kwnames[] = { "self", NULL };
cf694132
RD
6017
6018 self = self;
efc5f224 6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
cf694132 6020 return NULL;
1d99702e
RD
6021 if (_argo0) {
6022 if (_argo0 == Py_None) { _arg0 = NULL; }
6023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132
RD
6024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6025 return NULL;
6026 }
6027 }
6028{
4268f798 6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6030 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
cf694132 6031
4268f798 6032 wxPyEndAllowThreads(__tstate);
493f1553 6033 if (PyErr_Occurred()) return NULL;
cf694132
RD
6034}{
6035 _resultobj = _result;
6036}
6037 return _resultobj;
6038}
6039
6040#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
efc5f224 6041static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6042 PyObject * _resultobj;
cf694132
RD
6043 wxPyTreeItemData * _arg0;
6044 PyObject * _arg1;
1d99702e 6045 PyObject * _argo0 = 0;
cf694132 6046 PyObject * _obj1 = 0;
efc5f224 6047 char *_kwnames[] = { "self","obj", NULL };
8ab979d7
RD
6048
6049 self = self;
efc5f224 6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
8ab979d7 6051 return NULL;
1d99702e
RD
6052 if (_argo0) {
6053 if (_argo0 == Py_None) { _arg0 = NULL; }
6054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6056 return NULL;
6057 }
6058 }
cf694132
RD
6059{
6060 _arg1 = _obj1;
6061}
6062{
4268f798 6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6064 wxTreeItemData_SetData(_arg0,_arg1);
cf694132 6065
4268f798 6066 wxPyEndAllowThreads(__tstate);
493f1553 6067 if (PyErr_Occurred()) return NULL;
cf694132 6068} Py_INCREF(Py_None);
d5c9047a 6069 _resultobj = Py_None;
8ab979d7
RD
6070 return _resultobj;
6071}
6072
630d84f2 6073#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
efc5f224 6074static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6075 PyObject * _resultobj;
d5c9047a 6076 wxTreeItemId * _result;
cf694132 6077 wxPyTreeItemData * _arg0;
1d99702e 6078 PyObject * _argo0 = 0;
efc5f224 6079 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6080 char _ptemp[128];
6081
6082 self = self;
efc5f224 6083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
8ab979d7 6084 return NULL;
1d99702e
RD
6085 if (_argo0) {
6086 if (_argo0 == Py_None) { _arg0 = NULL; }
6087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6089 return NULL;
6090 }
6091 }
cf694132 6092{
4268f798 6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6094 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
d5c9047a 6095 _result = (wxTreeItemId *) &_result_ref;
cf694132 6096
4268f798 6097 wxPyEndAllowThreads(__tstate);
493f1553 6098 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6099} if (_result) {
6100 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6101 _resultobj = Py_BuildValue("s",_ptemp);
6102 } else {
6103 Py_INCREF(Py_None);
6104 _resultobj = Py_None;
6105 }
8ab979d7
RD
6106 return _resultobj;
6107}
6108
630d84f2 6109#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 6110static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 6111 PyObject * _resultobj;
cf694132 6112 wxPyTreeItemData * _arg0;
630d84f2 6113 wxTreeItemId * _arg1;
1d99702e
RD
6114 PyObject * _argo0 = 0;
6115 PyObject * _argo1 = 0;
efc5f224 6116 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6117
6118 self = self;
efc5f224 6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6120 return NULL;
1d99702e
RD
6121 if (_argo0) {
6122 if (_argo0 == Py_None) { _arg0 = NULL; }
6123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6125 return NULL;
6126 }
6127 }
1d99702e
RD
6128 if (_argo1) {
6129 if (_argo1 == Py_None) { _arg1 = NULL; }
6130 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6131 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6132 return NULL;
6133 }
6134 }
cf694132 6135{
4268f798 6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6137 wxTreeItemData_SetId(_arg0,*_arg1);
cf694132 6138
4268f798 6139 wxPyEndAllowThreads(__tstate);
493f1553 6140 if (PyErr_Occurred()) return NULL;
cf694132 6141} Py_INCREF(Py_None);
630d84f2
RD
6142 _resultobj = Py_None;
6143 return _resultobj;
6144}
6145
8bf5d46e
RD
6146static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6147 wxTreeEvent *src;
6148 wxNotifyEvent *dest;
6149 src = (wxTreeEvent *) ptr;
6150 dest = (wxNotifyEvent *) src;
6151 return (void *) dest;
6152}
6153
8ab979d7
RD
6154static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6155 wxTreeEvent *src;
6156 wxCommandEvent *dest;
6157 src = (wxTreeEvent *) ptr;
6158 dest = (wxCommandEvent *) src;
6159 return (void *) dest;
6160}
6161
6162static void *SwigwxTreeEventTowxEvent(void *ptr) {
6163 wxTreeEvent *src;
6164 wxEvent *dest;
6165 src = (wxTreeEvent *) ptr;
6166 dest = (wxEvent *) src;
6167 return (void *) dest;
6168}
6169
9416aa89
RD
6170static void *SwigwxTreeEventTowxObject(void *ptr) {
6171 wxTreeEvent *src;
6172 wxObject *dest;
6173 src = (wxTreeEvent *) ptr;
6174 dest = (wxObject *) src;
6175 return (void *) dest;
6176}
6177
00b6c4e3
RD
6178#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6179static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6180 PyObject * _resultobj;
6181 wxTreeEvent * _result;
6182 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6183 int _arg1 = (int ) 0;
6184 char *_kwnames[] = { "commandType","id", NULL };
6185 char _ptemp[128];
6186
6187 self = self;
6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6189 return NULL;
6190{
4268f798 6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6192 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
00b6c4e3 6193
4268f798 6194 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6195 if (PyErr_Occurred()) return NULL;
6196} if (_result) {
6197 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6198 _resultobj = Py_BuildValue("s",_ptemp);
6199 } else {
6200 Py_INCREF(Py_None);
6201 _resultobj = Py_None;
6202 }
6203 return _resultobj;
6204}
6205
d5c9047a 6206#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6207static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6208 PyObject * _resultobj;
d5c9047a 6209 wxTreeItemId * _result;
8ab979d7 6210 wxTreeEvent * _arg0;
1d99702e 6211 PyObject * _argo0 = 0;
efc5f224 6212 char *_kwnames[] = { "self", NULL };
d5c9047a 6213 char _ptemp[128];
8ab979d7
RD
6214
6215 self = self;
efc5f224 6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6217 return NULL;
1d99702e
RD
6218 if (_argo0) {
6219 if (_argo0 == Py_None) { _arg0 = NULL; }
6220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6222 return NULL;
6223 }
6224 }
cf694132 6225{
4268f798 6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6227 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
cf694132 6228
4268f798 6229 wxPyEndAllowThreads(__tstate);
493f1553 6230 if (PyErr_Occurred()) return NULL;
cf694132 6231} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6232 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6233 return _resultobj;
6234}
6235
d5c9047a 6236#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6237static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6238 PyObject * _resultobj;
d5c9047a 6239 wxTreeItemId * _result;
8ab979d7 6240 wxTreeEvent * _arg0;
1d99702e 6241 PyObject * _argo0 = 0;
efc5f224 6242 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6243 char _ptemp[128];
6244
6245 self = self;
efc5f224 6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6247 return NULL;
1d99702e
RD
6248 if (_argo0) {
6249 if (_argo0 == Py_None) { _arg0 = NULL; }
6250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6252 return NULL;
6253 }
6254 }
cf694132 6255{
4268f798 6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6257 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
cf694132 6258
4268f798 6259 wxPyEndAllowThreads(__tstate);
493f1553 6260 if (PyErr_Occurred()) return NULL;
cf694132 6261} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6262 _resultobj = Py_BuildValue("s",_ptemp);
6263 return _resultobj;
6264}
6265
d5c9047a 6266#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6267static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6268 PyObject * _resultobj;
d5c9047a 6269 wxPoint * _result;
8ab979d7 6270 wxTreeEvent * _arg0;
1d99702e 6271 PyObject * _argo0 = 0;
efc5f224 6272 char *_kwnames[] = { "self", NULL };
d5c9047a 6273 char _ptemp[128];
8ab979d7
RD
6274
6275 self = self;
efc5f224 6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6277 return NULL;
1d99702e
RD
6278 if (_argo0) {
6279 if (_argo0 == Py_None) { _arg0 = NULL; }
6280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6282 return NULL;
6283 }
6284 }
cf694132 6285{
4268f798 6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6287 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
cf694132 6288
4268f798 6289 wxPyEndAllowThreads(__tstate);
493f1553 6290 if (PyErr_Occurred()) return NULL;
cf694132 6291} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6292 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6293 return _resultobj;
6294}
6295
ecc08ead
RD
6296#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6297static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject * _resultobj;
6299 wxKeyEvent * _result;
6300 wxTreeEvent * _arg0;
6301 PyObject * _argo0 = 0;
6302 char *_kwnames[] = { "self", NULL };
6303 char _ptemp[128];
6304
6305 self = self;
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6307 return NULL;
6308 if (_argo0) {
6309 if (_argo0 == Py_None) { _arg0 = NULL; }
6310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6312 return NULL;
6313 }
6314 }
6315{
4268f798 6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6317 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
ecc08ead
RD
6318 _result = (wxKeyEvent *) &_result_ref;
6319
4268f798 6320 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
6321 if (PyErr_Occurred()) return NULL;
6322} if (_result) {
6323 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6324 _resultobj = Py_BuildValue("s",_ptemp);
6325 } else {
6326 Py_INCREF(Py_None);
6327 _resultobj = Py_None;
6328 }
6329 return _resultobj;
6330}
6331
d5c9047a 6332#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 6333static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6334 PyObject * _resultobj;
d5c9047a 6335 int _result;
8ab979d7 6336 wxTreeEvent * _arg0;
1d99702e 6337 PyObject * _argo0 = 0;
efc5f224 6338 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6339
6340 self = self;
efc5f224 6341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 6342 return NULL;
1d99702e
RD
6343 if (_argo0) {
6344 if (_argo0 == Py_None) { _arg0 = NULL; }
6345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6347 return NULL;
6348 }
6349 }
cf694132 6350{
4268f798 6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6352 _result = (int )wxTreeEvent_GetCode(_arg0);
cf694132 6353
4268f798 6354 wxPyEndAllowThreads(__tstate);
493f1553 6355 if (PyErr_Occurred()) return NULL;
cf694132 6356} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6357 return _resultobj;
6358}
6359
8bf5d46e 6360#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6361static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6362 PyObject * _resultobj;
8bf5d46e 6363 wxString * _result;
d5c9047a 6364 wxTreeEvent * _arg0;
1d99702e 6365 PyObject * _argo0 = 0;
efc5f224 6366 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6367
6368 self = self;
efc5f224 6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6370 return NULL;
1d99702e
RD
6371 if (_argo0) {
6372 if (_argo0 == Py_None) { _arg0 = NULL; }
6373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6375 return NULL;
6376 }
6377 }
cf694132 6378{
4268f798 6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6380 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
8bf5d46e 6381 _result = (wxString *) &_result_ref;
cf694132 6382
4268f798 6383 wxPyEndAllowThreads(__tstate);
493f1553 6384 if (PyErr_Occurred()) return NULL;
8bf5d46e 6385}{
c8bc7bb8
RD
6386#if wxUSE_UNICODE
6387 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6388#else
eec92d76 6389 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6390#endif
8bf5d46e 6391}
8ab979d7
RD
6392 return _resultobj;
6393}
6394
f6bcfd97
BP
6395static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6396 wxPyTreeCtrl *src;
8ab979d7 6397 wxControl *dest;
f6bcfd97 6398 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6399 dest = (wxControl *) src;
6400 return (void *) dest;
6401}
6402
f6bcfd97
BP
6403static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6404 wxPyTreeCtrl *src;
8ab979d7 6405 wxWindow *dest;
f6bcfd97 6406 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6407 dest = (wxWindow *) src;
6408 return (void *) dest;
6409}
6410
f6bcfd97
BP
6411static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6412 wxPyTreeCtrl *src;
8ab979d7 6413 wxEvtHandler *dest;
f6bcfd97 6414 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6415 dest = (wxEvtHandler *) src;
6416 return (void *) dest;
6417}
6418
9416aa89
RD
6419static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6420 wxPyTreeCtrl *src;
6421 wxObject *dest;
6422 src = (wxPyTreeCtrl *) ptr;
6423 dest = (wxObject *) src;
6424 return (void *) dest;
6425}
6426
f6bcfd97 6427#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6428static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6429 PyObject * _resultobj;
f6bcfd97 6430 wxPyTreeCtrl * _result;
8ab979d7 6431 wxWindow * _arg0;
1d99702e 6432 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
6433 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6434 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
00b6c4e3 6435 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
e508a2b6 6436 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
6437 char * _arg6 = (char *) "wxTreeCtrl";
6438 PyObject * _argo0 = 0;
2f90df85
RD
6439 wxPoint temp;
6440 PyObject * _obj2 = 0;
6441 wxSize temp0;
6442 PyObject * _obj3 = 0;
1d99702e 6443 PyObject * _argo5 = 0;
efc5f224 6444 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6445 char _ptemp[128];
6446
6447 self = self;
2f90df85 6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 6449 return NULL;
1d99702e
RD
6450 if (_argo0) {
6451 if (_argo0 == Py_None) { _arg0 = NULL; }
6452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6454 return NULL;
6455 }
6456 }
2f90df85
RD
6457 if (_obj2)
6458{
6459 _arg2 = &temp;
6460 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6461 return NULL;
2f90df85
RD
6462}
6463 if (_obj3)
6464{
6465 _arg3 = &temp0;
6466 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6467 return NULL;
2f90df85 6468}
1d99702e
RD
6469 if (_argo5) {
6470 if (_argo5 == Py_None) { _arg5 = NULL; }
6471 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6472 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6473 return NULL;
6474 }
6475 }
cf694132 6476{
4268f798 6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6478 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
cf694132 6479
4268f798 6480 wxPyEndAllowThreads(__tstate);
493f1553 6481 if (PyErr_Occurred()) return NULL;
1d99702e 6482} if (_result) {
f6bcfd97 6483 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6484 _resultobj = Py_BuildValue("s",_ptemp);
6485 } else {
6486 Py_INCREF(Py_None);
6487 _resultobj = Py_None;
6488 }
8ab979d7
RD
6489 return _resultobj;
6490}
6491
09f3d4e6
RD
6492#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6493static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject * _resultobj;
6495 wxPyTreeCtrl * _result;
6496 char *_kwnames[] = { NULL };
6497 char _ptemp[128];
6498
6499 self = self;
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6501 return NULL;
6502{
4268f798 6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6504 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
09f3d4e6 6505
4268f798 6506 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6507 if (PyErr_Occurred()) return NULL;
6508} if (_result) {
6509 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6510 _resultobj = Py_BuildValue("s",_ptemp);
6511 } else {
6512 Py_INCREF(Py_None);
6513 _resultobj = Py_None;
6514 }
6515 return _resultobj;
6516}
6517
6518#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6519static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6520 PyObject * _resultobj;
6521 bool _result;
6522 wxPyTreeCtrl * _arg0;
6523 wxWindow * _arg1;
6524 wxWindowID _arg2 = (wxWindowID ) -1;
6525 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6526 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6527 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6528 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
6529 char * _arg7 = (char *) "wxTreeCtrl";
6530 PyObject * _argo0 = 0;
6531 PyObject * _argo1 = 0;
6532 wxPoint temp;
6533 PyObject * _obj3 = 0;
6534 wxSize temp0;
6535 PyObject * _obj4 = 0;
6536 PyObject * _argo6 = 0;
6537 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
6538
6539 self = self;
6540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
6541 return NULL;
6542 if (_argo0) {
6543 if (_argo0 == Py_None) { _arg0 = NULL; }
6544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6546 return NULL;
6547 }
6548 }
6549 if (_argo1) {
6550 if (_argo1 == Py_None) { _arg1 = NULL; }
6551 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6552 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6553 return NULL;
6554 }
6555 }
6556 if (_obj3)
6557{
6558 _arg3 = &temp;
6559 if (! wxPoint_helper(_obj3, &_arg3))
6560 return NULL;
6561}
6562 if (_obj4)
6563{
6564 _arg4 = &temp0;
6565 if (! wxSize_helper(_obj4, &_arg4))
6566 return NULL;
6567}
6568 if (_argo6) {
6569 if (_argo6 == Py_None) { _arg6 = NULL; }
6570 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6571 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6572 return NULL;
6573 }
6574 }
6575{
4268f798 6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6577 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
09f3d4e6 6578
4268f798 6579 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6580 if (PyErr_Occurred()) return NULL;
6581} _resultobj = Py_BuildValue("i",_result);
6582 return _resultobj;
6583}
6584
0122b7e3
RD
6585#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6586static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
6587 PyObject * _resultobj;
6588 wxPyTreeCtrl * _arg0;
6589 PyObject * _arg1;
6590 PyObject * _arg2;
6591 PyObject * _argo0 = 0;
6592 PyObject * _obj1 = 0;
6593 PyObject * _obj2 = 0;
6594 char *_kwnames[] = { "self","self","_class", NULL };
6595
6596 self = self;
0122b7e3 6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
6598 return NULL;
6599 if (_argo0) {
6600 if (_argo0 == Py_None) { _arg0 = NULL; }
6601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0122b7e3 6602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
f6bcfd97
BP
6603 return NULL;
6604 }
6605 }
6606{
6607 _arg1 = _obj1;
6608}
6609{
6610 _arg2 = _obj2;
6611}
6612{
4268f798 6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6614 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 6615
4268f798 6616 wxPyEndAllowThreads(__tstate);
493f1553 6617 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6618} Py_INCREF(Py_None);
6619 _resultobj = Py_None;
6620 return _resultobj;
6621}
6622
d5c9047a 6623#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6624static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6625 PyObject * _resultobj;
c127177f 6626 size_t _result;
f6bcfd97 6627 wxPyTreeCtrl * _arg0;
1d99702e 6628 PyObject * _argo0 = 0;
efc5f224 6629 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6630
6631 self = self;
efc5f224 6632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 6633 return NULL;
1d99702e
RD
6634 if (_argo0) {
6635 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6638 return NULL;
6639 }
6640 }
cf694132 6641{
4268f798 6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6643 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132 6644
4268f798 6645 wxPyEndAllowThreads(__tstate);
493f1553 6646 if (PyErr_Occurred()) return NULL;
c127177f 6647} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6648 return _resultobj;
6649}
6650
d5c9047a 6651#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6652static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6653 PyObject * _resultobj;
d5c9047a 6654 unsigned int _result;
f6bcfd97 6655 wxPyTreeCtrl * _arg0;
1d99702e 6656 PyObject * _argo0 = 0;
efc5f224 6657 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6658
6659 self = self;
efc5f224 6660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 6661 return NULL;
1d99702e
RD
6662 if (_argo0) {
6663 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6666 return NULL;
6667 }
6668 }
cf694132 6669{
4268f798 6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6671 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
cf694132 6672
4268f798 6673 wxPyEndAllowThreads(__tstate);
493f1553 6674 if (PyErr_Occurred()) return NULL;
cf694132 6675} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6676 return _resultobj;
6677}
6678
d5c9047a 6679#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6680static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6681 PyObject * _resultobj;
f6bcfd97 6682 wxPyTreeCtrl * _arg0;
d5c9047a 6683 unsigned int _arg1;
1d99702e 6684 PyObject * _argo0 = 0;
efc5f224 6685 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6686
6687 self = self;
efc5f224 6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 6689 return NULL;
1d99702e
RD
6690 if (_argo0) {
6691 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6694 return NULL;
6695 }
6696 }
cf694132 6697{
4268f798 6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6699 wxTreeCtrl_SetIndent(_arg0,_arg1);
cf694132 6700
4268f798 6701 wxPyEndAllowThreads(__tstate);
493f1553 6702 if (PyErr_Occurred()) return NULL;
cf694132 6703} Py_INCREF(Py_None);
d5c9047a 6704 _resultobj = Py_None;
8ab979d7
RD
6705 return _resultobj;
6706}
6707
d5c9047a 6708#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6709static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6710 PyObject * _resultobj;
d5c9047a 6711 wxImageList * _result;
f6bcfd97 6712 wxPyTreeCtrl * _arg0;
1d99702e 6713 PyObject * _argo0 = 0;
efc5f224 6714 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6715
6716 self = self;
efc5f224 6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6718 return NULL;
1d99702e
RD
6719 if (_argo0) {
6720 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6723 return NULL;
6724 }
6725 }
cf694132 6726{
4268f798 6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6728 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
cf694132 6729
4268f798 6730 wxPyEndAllowThreads(__tstate);
493f1553 6731 if (PyErr_Occurred()) return NULL;
9416aa89 6732}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6733 return _resultobj;
6734}
6735
d5c9047a 6736#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6737static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6738 PyObject * _resultobj;
d5c9047a 6739 wxImageList * _result;
f6bcfd97 6740 wxPyTreeCtrl * _arg0;
1d99702e 6741 PyObject * _argo0 = 0;
efc5f224 6742 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6743
6744 self = self;
efc5f224 6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6746 return NULL;
1d99702e
RD
6747 if (_argo0) {
6748 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6751 return NULL;
6752 }
6753 }
cf694132 6754{
4268f798 6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6756 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
cf694132 6757
4268f798 6758 wxPyEndAllowThreads(__tstate);
493f1553 6759 if (PyErr_Occurred()) return NULL;
9416aa89 6760}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6761 return _resultobj;
6762}
6763
d5c9047a 6764#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6765static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6766 PyObject * _resultobj;
f6bcfd97 6767 wxPyTreeCtrl * _arg0;
d5c9047a 6768 wxImageList * _arg1;
1d99702e
RD
6769 PyObject * _argo0 = 0;
6770 PyObject * _argo1 = 0;
efc5f224 6771 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6772
6773 self = self;
efc5f224 6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6775 return NULL;
1d99702e
RD
6776 if (_argo0) {
6777 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6780 return NULL;
6781 }
6782 }
1d99702e
RD
6783 if (_argo1) {
6784 if (_argo1 == Py_None) { _arg1 = NULL; }
6785 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6786 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6787 return NULL;
6788 }
6789 }
cf694132 6790{
4268f798 6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6792 wxTreeCtrl_SetImageList(_arg0,_arg1);
cf694132 6793
4268f798 6794 wxPyEndAllowThreads(__tstate);
493f1553 6795 if (PyErr_Occurred()) return NULL;
cf694132 6796} Py_INCREF(Py_None);
d5c9047a 6797 _resultobj = Py_None;
8ab979d7
RD
6798 return _resultobj;
6799}
6800
d5c9047a 6801#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 6802static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6803 PyObject * _resultobj;
f6bcfd97 6804 wxPyTreeCtrl * _arg0;
d5c9047a 6805 wxImageList * _arg1;
1d99702e
RD
6806 PyObject * _argo0 = 0;
6807 PyObject * _argo1 = 0;
efc5f224 6808 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6809
6810 self = self;
efc5f224 6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6812 return NULL;
1d99702e
RD
6813 if (_argo0) {
6814 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6817 return NULL;
6818 }
6819 }
1d99702e
RD
6820 if (_argo1) {
6821 if (_argo1 == Py_None) { _arg1 = NULL; }
6822 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6823 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6824 return NULL;
6825 }
6826 }
cf694132 6827{
4268f798 6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6829 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
cf694132 6830
4268f798 6831 wxPyEndAllowThreads(__tstate);
493f1553 6832 if (PyErr_Occurred()) return NULL;
cf694132 6833} Py_INCREF(Py_None);
d5c9047a 6834 _resultobj = Py_None;
8ab979d7
RD
6835 return _resultobj;
6836}
6837
00b6c4e3
RD
6838#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6839static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6840 PyObject * _resultobj;
6841 wxPyTreeCtrl * _arg0;
6842 wxImageList * _arg1;
6843 PyObject * _argo0 = 0;
6844 PyObject * _argo1 = 0;
6845 char *_kwnames[] = { "self","imageList", NULL };
6846
6847 self = self;
6848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
6849 return NULL;
6850 if (_argo0) {
6851 if (_argo0 == Py_None) { _arg0 = NULL; }
6852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6854 return NULL;
6855 }
6856 }
6857 if (_argo1) {
6858 if (_argo1 == Py_None) { _arg1 = NULL; }
6859 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6860 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6861 return NULL;
6862 }
6863 }
6864{
4268f798 6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6866 wxTreeCtrl_AssignImageList(_arg0,_arg1);
00b6c4e3 6867
4268f798 6868 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6869 if (PyErr_Occurred()) return NULL;
6870} Py_INCREF(Py_None);
6871 _resultobj = Py_None;
6872 return _resultobj;
6873}
6874
6875#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6876static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6877 PyObject * _resultobj;
6878 wxPyTreeCtrl * _arg0;
6879 wxImageList * _arg1;
6880 PyObject * _argo0 = 0;
6881 PyObject * _argo1 = 0;
6882 char *_kwnames[] = { "self","imageList", NULL };
6883
6884 self = self;
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
6886 return NULL;
6887 if (_argo0) {
6888 if (_argo0 == Py_None) { _arg0 = NULL; }
6889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6891 return NULL;
6892 }
6893 }
6894 if (_argo1) {
6895 if (_argo1 == Py_None) { _arg1 = NULL; }
6896 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6897 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6898 return NULL;
6899 }
6900 }
6901{
4268f798 6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6903 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
00b6c4e3 6904
4268f798 6905 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6906 if (PyErr_Occurred()) return NULL;
6907} Py_INCREF(Py_None);
6908 _resultobj = Py_None;
6909 return _resultobj;
6910}
6911
b1462dfa
RD
6912#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6913static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6914 PyObject * _resultobj;
6915 unsigned int _result;
f6bcfd97 6916 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6917 PyObject * _argo0 = 0;
6918 char *_kwnames[] = { "self", NULL };
6919
6920 self = self;
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
6922 return NULL;
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_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6927 return NULL;
6928 }
6929 }
6930{
4268f798 6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6932 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
b1462dfa 6933
4268f798 6934 wxPyEndAllowThreads(__tstate);
493f1553 6935 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6936} _resultobj = Py_BuildValue("i",_result);
6937 return _resultobj;
6938}
6939
6940#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6941static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6942 PyObject * _resultobj;
f6bcfd97 6943 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6944 unsigned int _arg1;
6945 PyObject * _argo0 = 0;
6946 char *_kwnames[] = { "self","spacing", NULL };
6947
6948 self = self;
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
6950 return NULL;
6951 if (_argo0) {
6952 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6955 return NULL;
6956 }
6957 }
6958{
4268f798 6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6960 wxTreeCtrl_SetSpacing(_arg0,_arg1);
b1462dfa 6961
4268f798 6962 wxPyEndAllowThreads(__tstate);
493f1553 6963 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6964} Py_INCREF(Py_None);
6965 _resultobj = Py_None;
6966 return _resultobj;
6967}
6968
d5c9047a 6969#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 6970static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6971 PyObject * _resultobj;
d5c9047a 6972 wxString * _result;
f6bcfd97 6973 wxPyTreeCtrl * _arg0;
d5c9047a 6974 wxTreeItemId * _arg1;
1d99702e
RD
6975 PyObject * _argo0 = 0;
6976 PyObject * _argo1 = 0;
efc5f224 6977 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
6978
6979 self = self;
efc5f224 6980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 6981 return NULL;
1d99702e
RD
6982 if (_argo0) {
6983 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6986 return NULL;
6987 }
6988 }
1d99702e
RD
6989 if (_argo1) {
6990 if (_argo1 == Py_None) { _arg1 = NULL; }
6991 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6992 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
6993 return NULL;
6994 }
6995 }
d5c9047a 6996{
4268f798 6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6998 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
cf694132 6999
4268f798 7000 wxPyEndAllowThreads(__tstate);
493f1553 7001 if (PyErr_Occurred()) return NULL;
cf694132 7002}{
c8bc7bb8
RD
7003#if wxUSE_UNICODE
7004 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
7005#else
eec92d76 7006 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7007#endif
d5c9047a
RD
7008}
7009{
7010 delete _result;
7011}
8ab979d7
RD
7012 return _resultobj;
7013}
7014
694759cf 7015#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 7016static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7017 PyObject * _resultobj;
d5c9047a 7018 int _result;
f6bcfd97 7019 wxPyTreeCtrl * _arg0;
d5c9047a 7020 wxTreeItemId * _arg1;
694759cf 7021 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7022 PyObject * _argo0 = 0;
7023 PyObject * _argo1 = 0;
694759cf 7024 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
7025
7026 self = self;
694759cf 7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7028 return NULL;
1d99702e
RD
7029 if (_argo0) {
7030 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7033 return NULL;
7034 }
7035 }
1d99702e
RD
7036 if (_argo1) {
7037 if (_argo1 == Py_None) { _arg1 = NULL; }
7038 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7039 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7040 return NULL;
7041 }
7042 }
cf694132 7043{
4268f798 7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7045 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132 7046
4268f798 7047 wxPyEndAllowThreads(__tstate);
493f1553 7048 if (PyErr_Occurred()) return NULL;
cf694132 7049} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7050 return _resultobj;
7051}
7052
d5c9047a 7053#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 7054static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7055 PyObject * _resultobj;
d5c9047a 7056 int _result;
f6bcfd97 7057 wxPyTreeCtrl * _arg0;
d5c9047a 7058 wxTreeItemId * _arg1;
1d99702e
RD
7059 PyObject * _argo0 = 0;
7060 PyObject * _argo1 = 0;
efc5f224 7061 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7062
7063 self = self;
efc5f224 7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 7065 return NULL;
1d99702e
RD
7066 if (_argo0) {
7067 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7070 return NULL;
7071 }
7072 }
1d99702e
RD
7073 if (_argo1) {
7074 if (_argo1 == Py_None) { _arg1 = NULL; }
7075 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7076 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7077 return NULL;
7078 }
7079 }
cf694132 7080{
4268f798 7081 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7082 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 7083
4268f798 7084 wxPyEndAllowThreads(__tstate);
493f1553 7085 if (PyErr_Occurred()) return NULL;
cf694132 7086} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7087 return _resultobj;
7088}
7089
d5c9047a 7090#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 7091static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7092 PyObject * _resultobj;
f6bcfd97 7093 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7094 wxTreeItemId * _arg1;
7095 wxString * _arg2;
1d99702e
RD
7096 PyObject * _argo0 = 0;
7097 PyObject * _argo1 = 0;
d5c9047a 7098 PyObject * _obj2 = 0;
efc5f224 7099 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7100
7101 self = self;
efc5f224 7102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7103 return NULL;
1d99702e
RD
7104 if (_argo0) {
7105 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7108 return NULL;
7109 }
7110 }
1d99702e
RD
7111 if (_argo1) {
7112 if (_argo1 == Py_None) { _arg1 = NULL; }
7113 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7114 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7115 return NULL;
7116 }
7117 }
7118{
c8bc7bb8
RD
7119 _arg2 = wxString_in_helper(_obj2);
7120 if (_arg2 == NULL)
185d7c3e 7121 return NULL;
d5c9047a 7122}
cf694132 7123{
4268f798 7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7125 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
cf694132 7126
4268f798 7127 wxPyEndAllowThreads(__tstate);
493f1553 7128 if (PyErr_Occurred()) return NULL;
cf694132 7129} Py_INCREF(Py_None);
d5c9047a
RD
7130 _resultobj = Py_None;
7131{
7132 if (_obj2)
7133 delete _arg2;
7134}
8ab979d7
RD
7135 return _resultobj;
7136}
7137
694759cf 7138#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7139static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7140 PyObject * _resultobj;
f6bcfd97 7141 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7142 wxTreeItemId * _arg1;
7143 int _arg2;
694759cf 7144 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7145 PyObject * _argo0 = 0;
7146 PyObject * _argo1 = 0;
694759cf 7147 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7148
7149 self = self;
694759cf 7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7151 return NULL;
1d99702e
RD
7152 if (_argo0) {
7153 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7156 return NULL;
7157 }
7158 }
1d99702e
RD
7159 if (_argo1) {
7160 if (_argo1 == Py_None) { _arg1 = NULL; }
7161 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7162 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7163 return NULL;
7164 }
7165 }
cf694132 7166{
4268f798 7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7168 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132 7169
4268f798 7170 wxPyEndAllowThreads(__tstate);
493f1553 7171 if (PyErr_Occurred()) return NULL;
cf694132 7172} Py_INCREF(Py_None);
d5c9047a 7173 _resultobj = Py_None;
8ab979d7
RD
7174 return _resultobj;
7175}
7176
d5c9047a 7177#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7178static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7179 PyObject * _resultobj;
f6bcfd97 7180 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7181 wxTreeItemId * _arg1;
7182 int _arg2;
1d99702e
RD
7183 PyObject * _argo0 = 0;
7184 PyObject * _argo1 = 0;
efc5f224 7185 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7186
7187 self = self;
efc5f224 7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7189 return NULL;
1d99702e
RD
7190 if (_argo0) {
7191 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7194 return NULL;
7195 }
7196 }
1d99702e
RD
7197 if (_argo1) {
7198 if (_argo1 == Py_None) { _arg1 = NULL; }
7199 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7200 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7201 return NULL;
7202 }
7203 }
cf694132 7204{
4268f798 7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7206 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
cf694132 7207
4268f798 7208 wxPyEndAllowThreads(__tstate);
493f1553 7209 if (PyErr_Occurred()) return NULL;
cf694132
RD
7210} Py_INCREF(Py_None);
7211 _resultobj = Py_None;
7212 return _resultobj;
7213}
7214
7215#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7216static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7217 PyObject * _resultobj;
f6bcfd97 7218 wxPyTreeCtrl * _arg0;
cf694132 7219 wxTreeItemId * _arg1;
1d99702e
RD
7220 bool _arg2 = (bool ) TRUE;
7221 PyObject * _argo0 = 0;
7222 PyObject * _argo1 = 0;
7223 int tempbool2 = (int) TRUE;
efc5f224 7224 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7225
7226 self = self;
efc5f224 7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 7228 return NULL;
1d99702e
RD
7229 if (_argo0) {
7230 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7233 return NULL;
7234 }
7235 }
1d99702e
RD
7236 if (_argo1) {
7237 if (_argo1 == Py_None) { _arg1 = NULL; }
7238 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7239 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7240 return NULL;
7241 }
7242 }
7243 _arg2 = (bool ) tempbool2;
7244{
4268f798 7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7246 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
cf694132 7247
4268f798 7248 wxPyEndAllowThreads(__tstate);
493f1553 7249 if (PyErr_Occurred()) return NULL;
cf694132 7250} Py_INCREF(Py_None);
d5c9047a 7251 _resultobj = Py_None;
8ab979d7
RD
7252 return _resultobj;
7253}
7254
f6bcfd97 7255static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7256 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7257 if (data == NULL) {
7258 data = new wxPyTreeItemData();
f6bcfd97 7259 data->SetId(item); // set the id
cf694132
RD
7260 self->SetItemData(item, data);
7261 }
7262 return data;
7263 }
efc5f224 7264static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7265 PyObject * _resultobj;
7266 wxPyTreeItemData * _result;
f6bcfd97 7267 wxPyTreeCtrl * _arg0;
cf694132 7268 wxTreeItemId * _arg1;
1d99702e
RD
7269 PyObject * _argo0 = 0;
7270 PyObject * _argo1 = 0;
efc5f224 7271 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7272 char _ptemp[128];
7273
7274 self = self;
efc5f224 7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7276 return NULL;
1d99702e
RD
7277 if (_argo0) {
7278 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7281 return NULL;
7282 }
7283 }
1d99702e
RD
7284 if (_argo1) {
7285 if (_argo1 == Py_None) { _arg1 = NULL; }
7286 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7287 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7288 return NULL;
7289 }
7290 }
7291{
4268f798 7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7293 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132 7294
4268f798 7295 wxPyEndAllowThreads(__tstate);
493f1553 7296 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7297} if (_result) {
7298 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7299 _resultobj = Py_BuildValue("s",_ptemp);
7300 } else {
7301 Py_INCREF(Py_None);
7302 _resultobj = Py_None;
7303 }
cf694132
RD
7304 return _resultobj;
7305}
7306
f6bcfd97
BP
7307static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7308 data->SetId(item); // set the id
7309 self->SetItemData(item, data);
c368d904 7310 }
efc5f224 7311static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7312 PyObject * _resultobj;
f6bcfd97 7313 wxPyTreeCtrl * _arg0;
d5c9047a 7314 wxTreeItemId * _arg1;
cf694132 7315 wxPyTreeItemData * _arg2;
1d99702e
RD
7316 PyObject * _argo0 = 0;
7317 PyObject * _argo1 = 0;
7318 PyObject * _argo2 = 0;
efc5f224 7319 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7320
7321 self = self;
efc5f224 7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7323 return NULL;
1d99702e
RD
7324 if (_argo0) {
7325 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7328 return NULL;
7329 }
7330 }
1d99702e
RD
7331 if (_argo1) {
7332 if (_argo1 == Py_None) { _arg1 = NULL; }
7333 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7334 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7335 return NULL;
7336 }
7337 }
1d99702e
RD
7338 if (_argo2) {
7339 if (_argo2 == Py_None) { _arg2 = NULL; }
7340 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7341 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7342 return NULL;
7343 }
7344 }
cf694132 7345{
4268f798 7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7347 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132 7348
4268f798 7349 wxPyEndAllowThreads(__tstate);
493f1553 7350 if (PyErr_Occurred()) return NULL;
cf694132 7351} Py_INCREF(Py_None);
d5c9047a 7352 _resultobj = Py_None;
8ab979d7
RD
7353 return _resultobj;
7354}
7355
f6bcfd97 7356static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7357 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7358 if (data == NULL) {
7359 data = new wxPyTreeItemData();
f6bcfd97 7360 data->SetId(item); // set the id
cf694132
RD
7361 self->SetItemData(item, data);
7362 }
7363 return data->GetData();
c368d904 7364 }
efc5f224 7365static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7366 PyObject * _resultobj;
cf694132 7367 PyObject * _result;
f6bcfd97 7368 wxPyTreeCtrl * _arg0;
08127323 7369 wxTreeItemId * _arg1;
1d99702e
RD
7370 PyObject * _argo0 = 0;
7371 PyObject * _argo1 = 0;
efc5f224 7372 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7373
7374 self = self;
efc5f224 7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7376 return NULL;
1d99702e
RD
7377 if (_argo0) {
7378 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7381 return NULL;
7382 }
7383 }
1d99702e
RD
7384 if (_argo1) {
7385 if (_argo1 == Py_None) { _arg1 = NULL; }
7386 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7387 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7388 return NULL;
7389 }
7390 }
cf694132 7391{
4268f798 7392 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7393 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132 7394
4268f798 7395 wxPyEndAllowThreads(__tstate);
493f1553 7396 if (PyErr_Occurred()) return NULL;
cf694132
RD
7397}{
7398 _resultobj = _result;
7399}
7400 return _resultobj;
7401}
7402
f6bcfd97 7403static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7404 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7405 if (data == NULL) {
7406 data = new wxPyTreeItemData(obj);
f6bcfd97 7407 data->SetId(item); // set the id
cf694132
RD
7408 self->SetItemData(item, data);
7409 } else
7410 data->SetData(obj);
c368d904 7411 }
efc5f224 7412static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7413 PyObject * _resultobj;
f6bcfd97 7414 wxPyTreeCtrl * _arg0;
cf694132
RD
7415 wxTreeItemId * _arg1;
7416 PyObject * _arg2;
1d99702e
RD
7417 PyObject * _argo0 = 0;
7418 PyObject * _argo1 = 0;
cf694132 7419 PyObject * _obj2 = 0;
efc5f224 7420 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7421
7422 self = self;
efc5f224 7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 7424 return NULL;
1d99702e
RD
7425 if (_argo0) {
7426 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7429 return NULL;
7430 }
7431 }
1d99702e
RD
7432 if (_argo1) {
7433 if (_argo1 == Py_None) { _arg1 = NULL; }
7434 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7435 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7436 return NULL;
7437 }
7438 }
7439{
7440 _arg2 = _obj2;
7441}
7442{
4268f798 7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7444 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132 7445
4268f798 7446 wxPyEndAllowThreads(__tstate);
493f1553 7447 if (PyErr_Occurred()) return NULL;
cf694132 7448} Py_INCREF(Py_None);
08127323
RD
7449 _resultobj = Py_None;
7450 return _resultobj;
7451}
7452
d5c9047a 7453#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7454static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7455 PyObject * _resultobj;
d5c9047a 7456 bool _result;
f6bcfd97 7457 wxPyTreeCtrl * _arg0;
d5c9047a 7458 wxTreeItemId * _arg1;
1d99702e
RD
7459 PyObject * _argo0 = 0;
7460 PyObject * _argo1 = 0;
efc5f224 7461 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7462
7463 self = self;
efc5f224 7464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7465 return NULL;
1d99702e
RD
7466 if (_argo0) {
7467 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7470 return NULL;
7471 }
7472 }
1d99702e
RD
7473 if (_argo1) {
7474 if (_argo1 == Py_None) { _arg1 = NULL; }
7475 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7476 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7477 return NULL;
7478 }
7479 }
cf694132 7480{
4268f798 7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7482 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
cf694132 7483
4268f798 7484 wxPyEndAllowThreads(__tstate);
493f1553 7485 if (PyErr_Occurred()) return NULL;
cf694132 7486} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7487 return _resultobj;
7488}
7489
d5c9047a 7490#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7491static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7492 PyObject * _resultobj;
d5c9047a 7493 bool _result;
f6bcfd97 7494 wxPyTreeCtrl * _arg0;
d5c9047a 7495 wxTreeItemId * _arg1;
1d99702e
RD
7496 PyObject * _argo0 = 0;
7497 PyObject * _argo1 = 0;
efc5f224 7498 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7499
7500 self = self;
efc5f224 7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7502 return NULL;
1d99702e
RD
7503 if (_argo0) {
7504 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7507 return NULL;
7508 }
7509 }
1d99702e
RD
7510 if (_argo1) {
7511 if (_argo1 == Py_None) { _arg1 = NULL; }
7512 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7513 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7514 return NULL;
7515 }
7516 }
cf694132 7517{
4268f798 7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7519 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
cf694132 7520
4268f798 7521 wxPyEndAllowThreads(__tstate);
493f1553 7522 if (PyErr_Occurred()) return NULL;
cf694132 7523} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7524 return _resultobj;
7525}
7526
d5c9047a 7527#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7528static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7529 PyObject * _resultobj;
d5c9047a 7530 bool _result;
f6bcfd97 7531 wxPyTreeCtrl * _arg0;
d5c9047a 7532 wxTreeItemId * _arg1;
1d99702e
RD
7533 PyObject * _argo0 = 0;
7534 PyObject * _argo1 = 0;
efc5f224 7535 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7536
7537 self = self;
efc5f224 7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7539 return NULL;
1d99702e
RD
7540 if (_argo0) {
7541 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7544 return NULL;
7545 }
7546 }
1d99702e
RD
7547 if (_argo1) {
7548 if (_argo1 == Py_None) { _arg1 = NULL; }
7549 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7550 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7551 return NULL;
7552 }
7553 }
cf694132 7554{
4268f798 7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7556 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
cf694132 7557
4268f798 7558 wxPyEndAllowThreads(__tstate);
493f1553 7559 if (PyErr_Occurred()) return NULL;
cf694132 7560} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7561 return _resultobj;
7562}
7563
d5c9047a 7564#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7565static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7566 PyObject * _resultobj;
d5c9047a 7567 bool _result;
f6bcfd97 7568 wxPyTreeCtrl * _arg0;
d5c9047a 7569 wxTreeItemId * _arg1;
1d99702e
RD
7570 PyObject * _argo0 = 0;
7571 PyObject * _argo1 = 0;
efc5f224 7572 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7573
7574 self = self;
efc5f224 7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7576 return NULL;
1d99702e
RD
7577 if (_argo0) {
7578 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7581 return NULL;
7582 }
7583 }
1d99702e
RD
7584 if (_argo1) {
7585 if (_argo1 == Py_None) { _arg1 = NULL; }
7586 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7588 return NULL;
7589 }
7590 }
cf694132 7591{
4268f798 7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7593 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
cf694132 7594
4268f798 7595 wxPyEndAllowThreads(__tstate);
493f1553 7596 if (PyErr_Occurred()) return NULL;
cf694132 7597} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7598 return _resultobj;
7599}
7600
7601#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7602static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7603 PyObject * _resultobj;
d5c9047a 7604 wxTreeItemId * _result;
f6bcfd97 7605 wxPyTreeCtrl * _arg0;
1d99702e 7606 PyObject * _argo0 = 0;
efc5f224 7607 char *_kwnames[] = { "self", NULL };
d5c9047a 7608 char _ptemp[128];
8ab979d7
RD
7609
7610 self = self;
efc5f224 7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7612 return NULL;
1d99702e
RD
7613 if (_argo0) {
7614 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7617 return NULL;
7618 }
7619 }
cf694132 7620{
4268f798 7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7622 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
cf694132 7623
4268f798 7624 wxPyEndAllowThreads(__tstate);
493f1553 7625 if (PyErr_Occurred()) return NULL;
cf694132 7626} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7627 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7628 return _resultobj;
7629}
7630
7631#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7632static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7633 PyObject * _resultobj;
d5c9047a 7634 wxTreeItemId * _result;
f6bcfd97 7635 wxPyTreeCtrl * _arg0;
1d99702e 7636 PyObject * _argo0 = 0;
efc5f224 7637 char *_kwnames[] = { "self", NULL };
d5c9047a 7638 char _ptemp[128];
8ab979d7
RD
7639
7640 self = self;
efc5f224 7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7642 return NULL;
1d99702e
RD
7643 if (_argo0) {
7644 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7647 return NULL;
7648 }
7649 }
cf694132 7650{
4268f798 7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7652 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
cf694132 7653
4268f798 7654 wxPyEndAllowThreads(__tstate);
493f1553 7655 if (PyErr_Occurred()) return NULL;
cf694132 7656} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7657 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7658 return _resultobj;
7659}
7660
eb715945
RD
7661#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7662static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7663 PyObject * _resultobj;
d5c9047a 7664 wxTreeItemId * _result;
f6bcfd97 7665 wxPyTreeCtrl * _arg0;
d5c9047a 7666 wxTreeItemId * _arg1;
1d99702e
RD
7667 PyObject * _argo0 = 0;
7668 PyObject * _argo1 = 0;
efc5f224 7669 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7670 char _ptemp[128];
8ab979d7
RD
7671
7672 self = self;
eb715945 7673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7674 return NULL;
1d99702e
RD
7675 if (_argo0) {
7676 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7679 return NULL;
7680 }
7681 }
1d99702e
RD
7682 if (_argo1) {
7683 if (_argo1 == Py_None) { _arg1 = NULL; }
7684 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 7685 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
7686 return NULL;
7687 }
7688 }
cf694132 7689{
4268f798 7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7691 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132 7692
4268f798 7693 wxPyEndAllowThreads(__tstate);
493f1553 7694 if (PyErr_Occurred()) return NULL;
cf694132 7695} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7696 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7697 return _resultobj;
7698}
7699
f6bcfd97 7700static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
4268f798 7701 wxPyBeginBlockThreads();
d426c97e
RD
7702 PyObject* rval = PyList_New(0);
7703 wxArrayTreeItemIds array;
7704 size_t num, x;
7705 num = self->GetSelections(array);
7706 for (x=0; x < num; x++) {
c368d904
RD
7707 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7708 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
7709 PyList_Append(rval, item);
7710 }
4268f798 7711 wxPyEndBlockThreads();
d426c97e
RD
7712 return rval;
7713 }
7714static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7715 PyObject * _resultobj;
7716 PyObject * _result;
f6bcfd97 7717 wxPyTreeCtrl * _arg0;
d426c97e
RD
7718 PyObject * _argo0 = 0;
7719 char *_kwnames[] = { "self", NULL };
7720
7721 self = self;
7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7723 return NULL;
7724 if (_argo0) {
7725 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7728 return NULL;
7729 }
7730 }
7731{
4268f798 7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7733 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e 7734
4268f798 7735 wxPyEndAllowThreads(__tstate);
493f1553 7736 if (PyErr_Occurred()) return NULL;
d426c97e
RD
7737}{
7738 _resultobj = _result;
7739}
7740 return _resultobj;
7741}
7742
bb0054cd 7743#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 7744static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7745 PyObject * _resultobj;
7746 size_t _result;
f6bcfd97 7747 wxPyTreeCtrl * _arg0;
bb0054cd 7748 wxTreeItemId * _arg1;
1d99702e
RD
7749 bool _arg2 = (bool ) TRUE;
7750 PyObject * _argo0 = 0;
7751 PyObject * _argo1 = 0;
7752 int tempbool2 = (int) TRUE;
efc5f224 7753 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
7754
7755 self = self;
efc5f224 7756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 7757 return NULL;
1d99702e
RD
7758 if (_argo0) {
7759 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
7762 return NULL;
7763 }
7764 }
1d99702e
RD
7765 if (_argo1) {
7766 if (_argo1 == Py_None) { _arg1 = NULL; }
7767 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
7768 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7769 return NULL;
7770 }
7771 }
7772 _arg2 = (bool ) tempbool2;
7773{
4268f798 7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7775 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
bb0054cd 7776
4268f798 7777 wxPyEndAllowThreads(__tstate);
493f1553 7778 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7779} _resultobj = Py_BuildValue("i",_result);
7780 return _resultobj;
7781}
7782
d5c9047a 7783#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 7784static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7785 PyObject * _resultobj;
d5c9047a 7786 wxTreeItemId * _result;
f6bcfd97 7787 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7788 wxTreeItemId * _arg1;
7789 long * _arg2;
1d99702e
RD
7790 PyObject * _argo0 = 0;
7791 PyObject * _argo1 = 0;
d5c9047a
RD
7792 long temp;
7793 PyObject * _obj2 = 0;
efc5f224 7794 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7795 char _ptemp[128];
8ab979d7
RD
7796
7797 self = self;
efc5f224 7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7799 return NULL;
1d99702e
RD
7800 if (_argo0) {
7801 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7804 return NULL;
7805 }
7806 }
1d99702e
RD
7807 if (_argo1) {
7808 if (_argo1 == Py_None) { _arg1 = NULL; }
7809 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7810 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
7811 return NULL;
7812 }
7813 }
d5c9047a
RD
7814{
7815 temp = (long) PyInt_AsLong(_obj2);
7816 _arg2 = &temp;
7817}
cf694132 7818{
4268f798 7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7820 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
cf694132 7821
4268f798 7822 wxPyEndAllowThreads(__tstate);
493f1553 7823 if (PyErr_Occurred()) return NULL;
cf694132 7824} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
7825 _resultobj = Py_BuildValue("s",_ptemp);
7826{
7827 PyObject *o;
7828 o = PyInt_FromLong((long) (*_arg2));
7829 _resultobj = t_output_helper(_resultobj, o);
7830}
8ab979d7
RD
7831 return _resultobj;
7832}
7833
d5c9047a 7834#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 7835static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7836 PyObject * _resultobj;
d5c9047a 7837 wxTreeItemId * _result;
f6bcfd97 7838 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7839 wxTreeItemId * _arg1;
7840 long * _arg2;
1d99702e
RD
7841 PyObject * _argo0 = 0;
7842 PyObject * _argo1 = 0;
d5c9047a 7843 long temp;
8ab979d7 7844 PyObject * _obj2 = 0;
efc5f224 7845 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7846 char _ptemp[128];
8ab979d7
RD
7847
7848 self = self;
efc5f224 7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7850 return NULL;
1d99702e
RD
7851 if (_argo0) {
7852 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7855 return NULL;
7856 }
7857 }
1d99702e
RD
7858 if (_argo1) {
7859 if (_argo1 == Py_None) { _arg1 = NULL; }
7860 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7861 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 7862 return NULL;
d5c9047a 7863 }
8ab979d7 7864 }
d5c9047a
RD
7865{
7866 temp = (long) PyInt_AsLong(_obj2);
7867 _arg2 = &temp;
8ab979d7 7868}
cf694132 7869{
4268f798 7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7871 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
cf694132 7872
4268f798 7873 wxPyEndAllowThreads(__tstate);
493f1553 7874 if (PyErr_Occurred()) return NULL;
cf694132 7875} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7876 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 7877{
d5c9047a
RD
7878 PyObject *o;
7879 o = PyInt_FromLong((long) (*_arg2));
7880 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7881}
7882 return _resultobj;
7883}
7884
d5c9047a 7885#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 7886static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7887 PyObject * _resultobj;
d5c9047a 7888 wxTreeItemId * _result;
f6bcfd97 7889 wxPyTreeCtrl * _arg0;
d5c9047a 7890 wxTreeItemId * _arg1;
1d99702e
RD
7891 PyObject * _argo0 = 0;
7892 PyObject * _argo1 = 0;
efc5f224 7893 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7894 char _ptemp[128];
8ab979d7
RD
7895
7896 self = self;
efc5f224 7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7898 return NULL;
1d99702e
RD
7899 if (_argo0) {
7900 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7903 return NULL;
7904 }
7905 }
1d99702e
RD
7906 if (_argo1) {
7907 if (_argo1 == Py_None) { _arg1 = NULL; }
7908 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7909 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7910 return NULL;
7911 }
7912 }
cf694132 7913{
4268f798 7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7915 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
cf694132 7916
4268f798 7917 wxPyEndAllowThreads(__tstate);
493f1553 7918 if (PyErr_Occurred()) return NULL;
cf694132 7919} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7920 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7921 return _resultobj;
7922}
7923
d5c9047a 7924#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 7925static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7926 PyObject * _resultobj;
d5c9047a 7927 wxTreeItemId * _result;
f6bcfd97 7928 wxPyTreeCtrl * _arg0;
d5c9047a 7929 wxTreeItemId * _arg1;
1d99702e
RD
7930 PyObject * _argo0 = 0;
7931 PyObject * _argo1 = 0;
efc5f224 7932 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7933 char _ptemp[128];
8ab979d7
RD
7934
7935 self = self;
efc5f224 7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7937 return NULL;
1d99702e
RD
7938 if (_argo0) {
7939 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7942 return NULL;
7943 }
7944 }
1d99702e
RD
7945 if (_argo1) {
7946 if (_argo1 == Py_None) { _arg1 = NULL; }
7947 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7948 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7949 return NULL;
7950 }
7951 }
cf694132 7952{
4268f798 7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7954 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
cf694132 7955
4268f798 7956 wxPyEndAllowThreads(__tstate);
493f1553 7957 if (PyErr_Occurred()) return NULL;
cf694132 7958} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7959 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7960 return _resultobj;
7961}
7962
d5c9047a 7963#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 7964static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7965 PyObject * _resultobj;
d5c9047a 7966 wxTreeItemId * _result;
f6bcfd97 7967 wxPyTreeCtrl * _arg0;
1d99702e 7968 PyObject * _argo0 = 0;
efc5f224 7969 char *_kwnames[] = { "self", NULL };
d5c9047a 7970 char _ptemp[128];
8ab979d7
RD
7971
7972 self = self;
efc5f224 7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 7974 return NULL;
1d99702e
RD
7975 if (_argo0) {
7976 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7979 return NULL;
7980 }
7981 }
cf694132 7982{
4268f798 7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7984 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
cf694132 7985
4268f798 7986 wxPyEndAllowThreads(__tstate);
493f1553 7987 if (PyErr_Occurred()) return NULL;
cf694132 7988} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7989 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7990 return _resultobj;
7991}
7992
d5c9047a 7993#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 7994static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7995 PyObject * _resultobj;
d5c9047a 7996 wxTreeItemId * _result;
f6bcfd97 7997 wxPyTreeCtrl * _arg0;
d5c9047a 7998 wxTreeItemId * _arg1;
1d99702e
RD
7999 PyObject * _argo0 = 0;
8000 PyObject * _argo1 = 0;
efc5f224 8001 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8002 char _ptemp[128];
8ab979d7
RD
8003
8004 self = self;
efc5f224 8005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8006 return NULL;
1d99702e
RD
8007 if (_argo0) {
8008 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8011 return NULL;
8012 }
8013 }
1d99702e
RD
8014 if (_argo1) {
8015 if (_argo1 == Py_None) { _arg1 = NULL; }
8016 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8017 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8018 return NULL;
8019 }
8020 }
cf694132 8021{
4268f798 8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8023 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
cf694132 8024
4268f798 8025 wxPyEndAllowThreads(__tstate);
493f1553 8026 if (PyErr_Occurred()) return NULL;
cf694132 8027} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8028 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8029 return _resultobj;
8030}
8031
d5c9047a 8032#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 8033static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8034 PyObject * _resultobj;
d5c9047a 8035 wxTreeItemId * _result;
f6bcfd97 8036 wxPyTreeCtrl * _arg0;
d5c9047a 8037 wxTreeItemId * _arg1;
1d99702e
RD
8038 PyObject * _argo0 = 0;
8039 PyObject * _argo1 = 0;
efc5f224 8040 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8041 char _ptemp[128];
8ab979d7
RD
8042
8043 self = self;
efc5f224 8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8045 return NULL;
1d99702e
RD
8046 if (_argo0) {
8047 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8050 return NULL;
8051 }
8052 }
1d99702e
RD
8053 if (_argo1) {
8054 if (_argo1 == Py_None) { _arg1 = NULL; }
8055 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8056 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
8057 return NULL;
8058 }
8059 }
cf694132 8060{
4268f798 8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8062 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
cf694132 8063
4268f798 8064 wxPyEndAllowThreads(__tstate);
493f1553 8065 if (PyErr_Occurred()) return NULL;
cf694132 8066} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8067 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8068 return _resultobj;
8069}
8070
d426c97e
RD
8071#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8072static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject * _resultobj;
8074 wxTreeItemId * _result;
f6bcfd97 8075 wxPyTreeCtrl * _arg0;
d426c97e
RD
8076 wxTreeItemId * _arg1;
8077 PyObject * _argo0 = 0;
8078 PyObject * _argo1 = 0;
8079 char *_kwnames[] = { "self","item", NULL };
8080 char _ptemp[128];
8081
8082 self = self;
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8084 return NULL;
8085 if (_argo0) {
8086 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8089 return NULL;
8090 }
8091 }
8092 if (_argo1) {
8093 if (_argo1 == Py_None) { _arg1 = NULL; }
8094 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8095 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8096 return NULL;
8097 }
8098 }
8099{
4268f798 8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8101 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
d426c97e 8102
4268f798 8103 wxPyEndAllowThreads(__tstate);
493f1553 8104 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8105} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8106 _resultobj = Py_BuildValue("s",_ptemp);
8107 return _resultobj;
8108}
8109
d5c9047a 8110#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8111static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8112 PyObject * _resultobj;
d5c9047a 8113 wxTreeItemId * _result;
f6bcfd97 8114 wxPyTreeCtrl * _arg0;
d5c9047a 8115 wxString * _arg1;
1d99702e
RD
8116 int _arg2 = (int ) -1;
8117 int _arg3 = (int ) -1;
8118 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8119 PyObject * _argo0 = 0;
d5c9047a 8120 PyObject * _obj1 = 0;
1d99702e 8121 PyObject * _argo4 = 0;
efc5f224 8122 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8123 char _ptemp[128];
8ab979d7
RD
8124
8125 self = self;
efc5f224 8126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8127 return NULL;
1d99702e
RD
8128 if (_argo0) {
8129 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8132 return NULL;
8133 }
8134 }
d5c9047a 8135{
c8bc7bb8
RD
8136 _arg1 = wxString_in_helper(_obj1);
8137 if (_arg1 == NULL)
185d7c3e 8138 return NULL;
d5c9047a 8139}
1d99702e
RD
8140 if (_argo4) {
8141 if (_argo4 == Py_None) { _arg4 = NULL; }
8142 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8143 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8144 return NULL;
8145 }
8146 }
cf694132 8147{
4268f798 8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8149 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
cf694132 8150
4268f798 8151 wxPyEndAllowThreads(__tstate);
493f1553 8152 if (PyErr_Occurred()) return NULL;
cf694132 8153} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8154 _resultobj = Py_BuildValue("s",_ptemp);
8155{
8156 if (_obj1)
8157 delete _arg1;
8158}
8ab979d7
RD
8159 return _resultobj;
8160}
8161
d5c9047a 8162#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8163static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8164 PyObject * _resultobj;
d5c9047a 8165 wxTreeItemId * _result;
f6bcfd97 8166 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8167 wxTreeItemId * _arg1;
8168 wxString * _arg2;
1d99702e
RD
8169 int _arg3 = (int ) -1;
8170 int _arg4 = (int ) -1;
8171 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8172 PyObject * _argo0 = 0;
8173 PyObject * _argo1 = 0;
d5c9047a 8174 PyObject * _obj2 = 0;
1d99702e 8175 PyObject * _argo5 = 0;
efc5f224 8176 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8177 char _ptemp[128];
8ab979d7
RD
8178
8179 self = self;
efc5f224 8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8181 return NULL;
1d99702e
RD
8182 if (_argo0) {
8183 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8186 return NULL;
8187 }
8188 }
1d99702e
RD
8189 if (_argo1) {
8190 if (_argo1 == Py_None) { _arg1 = NULL; }
8191 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8192 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8193 return NULL;
8194 }
8195 }
8196{
c8bc7bb8
RD
8197 _arg2 = wxString_in_helper(_obj2);
8198 if (_arg2 == NULL)
185d7c3e 8199 return NULL;
d5c9047a 8200}
1d99702e
RD
8201 if (_argo5) {
8202 if (_argo5 == Py_None) { _arg5 = NULL; }
8203 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8204 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8205 return NULL;
8206 }
8207 }
cf694132 8208{
4268f798 8209 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8210 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8211
4268f798 8212 wxPyEndAllowThreads(__tstate);
493f1553 8213 if (PyErr_Occurred()) return NULL;
cf694132 8214} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8215 _resultobj = Py_BuildValue("s",_ptemp);
8216{
8217 if (_obj2)
8218 delete _arg2;
8219}
8ab979d7
RD
8220 return _resultobj;
8221}
8222
d5c9047a 8223#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8224static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8225 PyObject * _resultobj;
d5c9047a 8226 wxTreeItemId * _result;
f6bcfd97 8227 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8228 wxTreeItemId * _arg1;
8229 wxTreeItemId * _arg2;
8230 wxString * _arg3;
1d99702e
RD
8231 int _arg4 = (int ) -1;
8232 int _arg5 = (int ) -1;
8233 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8234 PyObject * _argo0 = 0;
8235 PyObject * _argo1 = 0;
8236 PyObject * _argo2 = 0;
d5c9047a 8237 PyObject * _obj3 = 0;
1d99702e 8238 PyObject * _argo6 = 0;
efc5f224 8239 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8240 char _ptemp[128];
8ab979d7
RD
8241
8242 self = self;
efc5f224 8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8244 return NULL;
1d99702e
RD
8245 if (_argo0) {
8246 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8249 return NULL;
8250 }
8251 }
1d99702e
RD
8252 if (_argo1) {
8253 if (_argo1 == Py_None) { _arg1 = NULL; }
8254 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8255 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8256 return NULL;
8257 }
8258 }
1d99702e
RD
8259 if (_argo2) {
8260 if (_argo2 == Py_None) { _arg2 = NULL; }
8261 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8262 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8263 return NULL;
8264 }
8265 }
8266{
c8bc7bb8
RD
8267 _arg3 = wxString_in_helper(_obj3);
8268 if (_arg3 == NULL)
185d7c3e 8269 return NULL;
d5c9047a 8270}
1d99702e
RD
8271 if (_argo6) {
8272 if (_argo6 == Py_None) { _arg6 = NULL; }
8273 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8274 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8275 return NULL;
8276 }
8277 }
cf694132 8278{
4268f798 8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8280 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
cf694132 8281
4268f798 8282 wxPyEndAllowThreads(__tstate);
493f1553 8283 if (PyErr_Occurred()) return NULL;
cf694132 8284} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8285 _resultobj = Py_BuildValue("s",_ptemp);
8286{
8287 if (_obj3)
8288 delete _arg3;
8289}
8ab979d7
RD
8290 return _resultobj;
8291}
8292
f6bcfd97
BP
8293#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8294static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8295 PyObject * _resultobj;
8296 wxTreeItemId * _result;
8297 wxPyTreeCtrl * _arg0;
8298 wxTreeItemId * _arg1;
8299 size_t _arg2;
8300 wxString * _arg3;
8301 int _arg4 = (int ) -1;
8302 int _arg5 = (int ) -1;
3999941a 8303 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
f6bcfd97
BP
8304 PyObject * _argo0 = 0;
8305 PyObject * _argo1 = 0;
8306 PyObject * _obj3 = 0;
8307 PyObject * _argo6 = 0;
8308 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8309 char _ptemp[128];
8310
8311 self = self;
8312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8313 return NULL;
8314 if (_argo0) {
8315 if (_argo0 == Py_None) { _arg0 = NULL; }
8316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8318 return NULL;
8319 }
8320 }
8321 if (_argo1) {
8322 if (_argo1 == Py_None) { _arg1 = NULL; }
8323 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8324 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8325 return NULL;
8326 }
8327 }
8328{
c8bc7bb8
RD
8329 _arg3 = wxString_in_helper(_obj3);
8330 if (_arg3 == NULL)
185d7c3e 8331 return NULL;
f6bcfd97
BP
8332}
8333 if (_argo6) {
8334 if (_argo6 == Py_None) { _arg6 = NULL; }
3999941a
RD
8335 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
8336 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
f6bcfd97
BP
8337 return NULL;
8338 }
8339 }
8340{
4268f798 8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8342 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
f6bcfd97 8343
4268f798 8344 wxPyEndAllowThreads(__tstate);
493f1553 8345 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8346} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8347 _resultobj = Py_BuildValue("s",_ptemp);
8348{
8349 if (_obj3)
8350 delete _arg3;
8351}
8352 return _resultobj;
8353}
8354
d5c9047a 8355#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8356static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8357 PyObject * _resultobj;
d5c9047a 8358 wxTreeItemId * _result;
f6bcfd97 8359 wxPyTreeCtrl * _arg0;
d5c9047a 8360 wxTreeItemId * _arg1;
8ab979d7 8361 wxString * _arg2;
1d99702e
RD
8362 int _arg3 = (int ) -1;
8363 int _arg4 = (int ) -1;
8364 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8365 PyObject * _argo0 = 0;
8366 PyObject * _argo1 = 0;
8ab979d7 8367 PyObject * _obj2 = 0;
1d99702e 8368 PyObject * _argo5 = 0;
efc5f224 8369 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8370 char _ptemp[128];
8ab979d7
RD
8371
8372 self = self;
efc5f224 8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8374 return NULL;
1d99702e
RD
8375 if (_argo0) {
8376 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8379 return NULL;
8380 }
8381 }
1d99702e
RD
8382 if (_argo1) {
8383 if (_argo1 == Py_None) { _arg1 = NULL; }
8384 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8385 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8386 return NULL;
8387 }
8388 }
8389{
c8bc7bb8
RD
8390 _arg2 = wxString_in_helper(_obj2);
8391 if (_arg2 == NULL)
185d7c3e 8392 return NULL;
8ab979d7 8393}
1d99702e
RD
8394 if (_argo5) {
8395 if (_argo5 == Py_None) { _arg5 = NULL; }
8396 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8397 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8398 return NULL;
8399 }
8400 }
cf694132 8401{
4268f798 8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8403 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8404
4268f798 8405 wxPyEndAllowThreads(__tstate);
493f1553 8406 if (PyErr_Occurred()) return NULL;
cf694132 8407} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8408 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8409{
8410 if (_obj2)
8411 delete _arg2;
8412}
8413 return _resultobj;
8414}
8415
d5c9047a 8416#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8417static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8418 PyObject * _resultobj;
f6bcfd97 8419 wxPyTreeCtrl * _arg0;
d5c9047a 8420 wxTreeItemId * _arg1;
1d99702e
RD
8421 PyObject * _argo0 = 0;
8422 PyObject * _argo1 = 0;
efc5f224 8423 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8424
8425 self = self;
efc5f224 8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8427 return NULL;
1d99702e
RD
8428 if (_argo0) {
8429 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8432 return NULL;
8433 }
8434 }
1d99702e
RD
8435 if (_argo1) {
8436 if (_argo1 == Py_None) { _arg1 = NULL; }
8437 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8438 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8439 return NULL;
8440 }
8441 }
cf694132 8442{
4268f798 8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8444 wxTreeCtrl_Delete(_arg0,*_arg1);
cf694132 8445
4268f798 8446 wxPyEndAllowThreads(__tstate);
493f1553 8447 if (PyErr_Occurred()) return NULL;
cf694132 8448} Py_INCREF(Py_None);
d5c9047a
RD
8449 _resultobj = Py_None;
8450 return _resultobj;
8451}
8452
08127323 8453#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8454static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8455 PyObject * _resultobj;
f6bcfd97 8456 wxPyTreeCtrl * _arg0;
08127323 8457 wxTreeItemId * _arg1;
1d99702e
RD
8458 PyObject * _argo0 = 0;
8459 PyObject * _argo1 = 0;
efc5f224 8460 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8461
8462 self = self;
efc5f224 8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8464 return NULL;
1d99702e
RD
8465 if (_argo0) {
8466 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8469 return NULL;
8470 }
8471 }
1d99702e
RD
8472 if (_argo1) {
8473 if (_argo1 == Py_None) { _arg1 = NULL; }
8474 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8475 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8476 return NULL;
8477 }
8478 }
cf694132 8479{
4268f798 8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8481 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
cf694132 8482
4268f798 8483 wxPyEndAllowThreads(__tstate);
493f1553 8484 if (PyErr_Occurred()) return NULL;
cf694132 8485} Py_INCREF(Py_None);
08127323
RD
8486 _resultobj = Py_None;
8487 return _resultobj;
8488}
8489
d5c9047a 8490#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8491static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8492 PyObject * _resultobj;
f6bcfd97 8493 wxPyTreeCtrl * _arg0;
1d99702e 8494 PyObject * _argo0 = 0;
efc5f224 8495 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8496
8497 self = self;
efc5f224 8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8499 return NULL;
1d99702e
RD
8500 if (_argo0) {
8501 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8504 return NULL;
8505 }
8506 }
cf694132 8507{
4268f798 8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8509 wxTreeCtrl_DeleteAllItems(_arg0);
cf694132 8510
4268f798 8511 wxPyEndAllowThreads(__tstate);
493f1553 8512 if (PyErr_Occurred()) return NULL;
cf694132 8513} Py_INCREF(Py_None);
d5c9047a
RD
8514 _resultobj = Py_None;
8515 return _resultobj;
8516}
8517
8518#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8519static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8520 PyObject * _resultobj;
f6bcfd97 8521 wxPyTreeCtrl * _arg0;
d5c9047a 8522 wxTreeItemId * _arg1;
1d99702e
RD
8523 PyObject * _argo0 = 0;
8524 PyObject * _argo1 = 0;
efc5f224 8525 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8526
8527 self = self;
efc5f224 8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8529 return NULL;
1d99702e
RD
8530 if (_argo0) {
8531 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8534 return NULL;
8535 }
8536 }
1d99702e
RD
8537 if (_argo1) {
8538 if (_argo1 == Py_None) { _arg1 = NULL; }
8539 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8540 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8541 return NULL;
8542 }
8543 }
cf694132 8544{
4268f798 8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8546 wxTreeCtrl_Expand(_arg0,*_arg1);
cf694132 8547
4268f798 8548 wxPyEndAllowThreads(__tstate);
493f1553 8549 if (PyErr_Occurred()) return NULL;
cf694132 8550} Py_INCREF(Py_None);
d5c9047a
RD
8551 _resultobj = Py_None;
8552 return _resultobj;
8553}
8554
8555#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8556static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8557 PyObject * _resultobj;
f6bcfd97 8558 wxPyTreeCtrl * _arg0;
d5c9047a 8559 wxTreeItemId * _arg1;
1d99702e
RD
8560 PyObject * _argo0 = 0;
8561 PyObject * _argo1 = 0;
efc5f224 8562 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8563
8564 self = self;
efc5f224 8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8566 return NULL;
1d99702e
RD
8567 if (_argo0) {
8568 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8571 return NULL;
8572 }
8573 }
1d99702e
RD
8574 if (_argo1) {
8575 if (_argo1 == Py_None) { _arg1 = NULL; }
8576 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8577 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8578 return NULL;
8579 }
8580 }
cf694132 8581{
4268f798 8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8583 wxTreeCtrl_Collapse(_arg0,*_arg1);
cf694132 8584
4268f798 8585 wxPyEndAllowThreads(__tstate);
493f1553 8586 if (PyErr_Occurred()) return NULL;
cf694132 8587} Py_INCREF(Py_None);
d5c9047a
RD
8588 _resultobj = Py_None;
8589 return _resultobj;
8590}
8591
8592#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8593static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8594 PyObject * _resultobj;
f6bcfd97 8595 wxPyTreeCtrl * _arg0;
d5c9047a 8596 wxTreeItemId * _arg1;
1d99702e
RD
8597 PyObject * _argo0 = 0;
8598 PyObject * _argo1 = 0;
efc5f224 8599 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8600
8601 self = self;
efc5f224 8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8603 return NULL;
1d99702e
RD
8604 if (_argo0) {
8605 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8608 return NULL;
8609 }
8610 }
1d99702e
RD
8611 if (_argo1) {
8612 if (_argo1 == Py_None) { _arg1 = NULL; }
8613 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8614 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8615 return NULL;
8616 }
8617 }
cf694132 8618{
4268f798 8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8620 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
cf694132 8621
4268f798 8622 wxPyEndAllowThreads(__tstate);
493f1553 8623 if (PyErr_Occurred()) return NULL;
cf694132 8624} Py_INCREF(Py_None);
d5c9047a
RD
8625 _resultobj = Py_None;
8626 return _resultobj;
8627}
8628
8629#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8630static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8631 PyObject * _resultobj;
f6bcfd97 8632 wxPyTreeCtrl * _arg0;
d5c9047a 8633 wxTreeItemId * _arg1;
1d99702e
RD
8634 PyObject * _argo0 = 0;
8635 PyObject * _argo1 = 0;
efc5f224 8636 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8637
8638 self = self;
efc5f224 8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8640 return NULL;
1d99702e
RD
8641 if (_argo0) {
8642 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8645 return NULL;
8646 }
8647 }
1d99702e
RD
8648 if (_argo1) {
8649 if (_argo1 == Py_None) { _arg1 = NULL; }
8650 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8651 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8652 return NULL;
8653 }
8654 }
cf694132 8655{
4268f798 8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8657 wxTreeCtrl_Toggle(_arg0,*_arg1);
cf694132 8658
4268f798 8659 wxPyEndAllowThreads(__tstate);
493f1553 8660 if (PyErr_Occurred()) return NULL;
cf694132 8661} Py_INCREF(Py_None);
d5c9047a
RD
8662 _resultobj = Py_None;
8663 return _resultobj;
8664}
8665
8666#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8667static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8668 PyObject * _resultobj;
f6bcfd97 8669 wxPyTreeCtrl * _arg0;
1d99702e 8670 PyObject * _argo0 = 0;
efc5f224 8671 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8672
8673 self = self;
efc5f224 8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8675 return NULL;
1d99702e
RD
8676 if (_argo0) {
8677 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8680 return NULL;
8681 }
8682 }
cf694132 8683{
4268f798 8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8685 wxTreeCtrl_Unselect(_arg0);
cf694132 8686
4268f798 8687 wxPyEndAllowThreads(__tstate);
493f1553 8688 if (PyErr_Occurred()) return NULL;
cf694132 8689} Py_INCREF(Py_None);
d5c9047a
RD
8690 _resultobj = Py_None;
8691 return _resultobj;
8692}
8693
8bf5d46e 8694#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8695static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8696 PyObject * _resultobj;
f6bcfd97 8697 wxPyTreeCtrl * _arg0;
1d99702e 8698 PyObject * _argo0 = 0;
efc5f224 8699 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
8700
8701 self = self;
efc5f224 8702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 8703 return NULL;
1d99702e
RD
8704 if (_argo0) {
8705 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
8708 return NULL;
8709 }
8710 }
8711{
4268f798 8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8713 wxTreeCtrl_UnselectAll(_arg0);
8bf5d46e 8714
4268f798 8715 wxPyEndAllowThreads(__tstate);
493f1553 8716 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8717} Py_INCREF(Py_None);
8718 _resultobj = Py_None;
8719 return _resultobj;
8720}
8721
d5c9047a 8722#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 8723static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8724 PyObject * _resultobj;
f6bcfd97 8725 wxPyTreeCtrl * _arg0;
d5c9047a 8726 wxTreeItemId * _arg1;
1d99702e
RD
8727 PyObject * _argo0 = 0;
8728 PyObject * _argo1 = 0;
efc5f224 8729 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8730
8731 self = self;
efc5f224 8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 8733 return NULL;
1d99702e
RD
8734 if (_argo0) {
8735 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8738 return NULL;
8739 }
8740 }
1d99702e
RD
8741 if (_argo1) {
8742 if (_argo1 == Py_None) { _arg1 = NULL; }
8743 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8744 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8745 return NULL;
8746 }
8747 }
cf694132 8748{
4268f798 8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8750 wxTreeCtrl_SelectItem(_arg0,*_arg1);
cf694132 8751
4268f798 8752 wxPyEndAllowThreads(__tstate);
493f1553 8753 if (PyErr_Occurred()) return NULL;
cf694132 8754} Py_INCREF(Py_None);
d5c9047a
RD
8755 _resultobj = Py_None;
8756 return _resultobj;
8757}
8758
8759#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 8760static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8761 PyObject * _resultobj;
f6bcfd97 8762 wxPyTreeCtrl * _arg0;
d5c9047a 8763 wxTreeItemId * _arg1;
1d99702e
RD
8764 PyObject * _argo0 = 0;
8765 PyObject * _argo1 = 0;
efc5f224 8766 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8767
8768 self = self;
efc5f224 8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 8770 return NULL;
1d99702e
RD
8771 if (_argo0) {
8772 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8775 return NULL;
8776 }
8777 }
1d99702e
RD
8778 if (_argo1) {
8779 if (_argo1 == Py_None) { _arg1 = NULL; }
8780 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8781 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8782 return NULL;
8783 }
8784 }
cf694132 8785{
4268f798 8786 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8787 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
cf694132 8788
4268f798 8789 wxPyEndAllowThreads(__tstate);
493f1553 8790 if (PyErr_Occurred()) return NULL;
cf694132 8791} Py_INCREF(Py_None);
d5c9047a
RD
8792 _resultobj = Py_None;
8793 return _resultobj;
8794}
8795
8796#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 8797static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8798 PyObject * _resultobj;
f6bcfd97 8799 wxPyTreeCtrl * _arg0;
d5c9047a 8800 wxTreeItemId * _arg1;
1d99702e
RD
8801 PyObject * _argo0 = 0;
8802 PyObject * _argo1 = 0;
efc5f224 8803 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8804
8805 self = self;
efc5f224 8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 8807 return NULL;
1d99702e
RD
8808 if (_argo0) {
8809 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8812 return NULL;
8813 }
8814 }
1d99702e
RD
8815 if (_argo1) {
8816 if (_argo1 == Py_None) { _arg1 = NULL; }
8817 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8818 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8819 return NULL;
8820 }
8821 }
cf694132 8822{
4268f798 8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8824 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
cf694132 8825
4268f798 8826 wxPyEndAllowThreads(__tstate);
493f1553 8827 if (PyErr_Occurred()) return NULL;
cf694132 8828} Py_INCREF(Py_None);
d5c9047a
RD
8829 _resultobj = Py_None;
8830 return _resultobj;
8831}
8832
8833#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 8834static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
8835 PyObject * _resultobj;
8836 wxTextCtrl * _result;
f6bcfd97 8837 wxPyTreeCtrl * _arg0;
d5c9047a 8838 wxTreeItemId * _arg1;
1d99702e
RD
8839 PyObject * _argo0 = 0;
8840 PyObject * _argo1 = 0;
efc5f224 8841 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8842
8843 self = self;
efc5f224 8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 8845 return NULL;
1d99702e
RD
8846 if (_argo0) {
8847 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8850 return NULL;
8851 }
8852 }
1d99702e
RD
8853 if (_argo1) {
8854 if (_argo1 == Py_None) { _arg1 = NULL; }
8855 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8856 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8857 return NULL;
8858 }
8859 }
cf694132 8860{
4268f798 8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8862 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132 8863
4268f798 8864 wxPyEndAllowThreads(__tstate);
493f1553 8865 if (PyErr_Occurred()) return NULL;
9416aa89 8866}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
8867 return _resultobj;
8868}
8869
8870#define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
efc5f224 8871static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
8872 PyObject * _resultobj;
8873 wxTextCtrl * _result;
f6bcfd97 8874 wxPyTreeCtrl * _arg0;
1d99702e 8875 PyObject * _argo0 = 0;
efc5f224 8876 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8877
8878 self = self;
efc5f224 8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0))
d5c9047a 8880 return NULL;
1d99702e
RD
8881 if (_argo0) {
8882 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8885 return NULL;
8886 }
8887 }
cf694132 8888{
4268f798 8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8890 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
cf694132 8891
4268f798 8892 wxPyEndAllowThreads(__tstate);
493f1553 8893 if (PyErr_Occurred()) return NULL;
9416aa89 8894}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
8895 return _resultobj;
8896}
8897
8898#define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
efc5f224 8899static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8900 PyObject * _resultobj;
f6bcfd97 8901 wxPyTreeCtrl * _arg0;
d5c9047a 8902 wxTreeItemId * _arg1;
b1462dfa 8903 int _arg2 = (int ) FALSE;
1d99702e
RD
8904 PyObject * _argo0 = 0;
8905 PyObject * _argo1 = 0;
efc5f224 8906 char *_kwnames[] = { "self","item","discardChanges", NULL };
d5c9047a
RD
8907
8908 self = self;
b1462dfa 8909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2))
d5c9047a 8910 return NULL;
1d99702e
RD
8911 if (_argo0) {
8912 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8915 return NULL;
8916 }
8917 }
1d99702e
RD
8918 if (_argo1) {
8919 if (_argo1 == Py_None) { _arg1 = NULL; }
8920 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8921 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
8922 return NULL;
8923 }
8924 }
cf694132 8925{
4268f798 8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8927 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
cf694132 8928
4268f798 8929 wxPyEndAllowThreads(__tstate);
493f1553 8930 if (PyErr_Occurred()) return NULL;
cf694132 8931} Py_INCREF(Py_None);
d5c9047a 8932 _resultobj = Py_None;
8ab979d7
RD
8933 return _resultobj;
8934}
8935
d426c97e
RD
8936#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8937static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8938 PyObject * _resultobj;
f6bcfd97 8939 wxPyTreeCtrl * _arg0;
d426c97e
RD
8940 wxTreeItemId * _arg1;
8941 PyObject * _argo0 = 0;
8942 PyObject * _argo1 = 0;
8943 char *_kwnames[] = { "self","item", NULL };
8944
8945 self = self;
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
8947 return NULL;
8948 if (_argo0) {
8949 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8952 return NULL;
8953 }
8954 }
8955 if (_argo1) {
8956 if (_argo1 == Py_None) { _arg1 = NULL; }
8957 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8958 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8959 return NULL;
8960 }
8961 }
8962{
4268f798 8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8964 wxTreeCtrl_SortChildren(_arg0,*_arg1);
d426c97e 8965
4268f798 8966 wxPyEndAllowThreads(__tstate);
493f1553 8967 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8968} Py_INCREF(Py_None);
8969 _resultobj = Py_None;
8970 return _resultobj;
8971}
8972
b8b8dda7 8973#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 8974static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 8975 PyObject * _resultobj;
f6bcfd97 8976 wxPyTreeCtrl * _arg0;
b8b8dda7 8977 wxTreeItemId * _arg1;
b1462dfa 8978 int _arg2 = (int ) TRUE;
1d99702e
RD
8979 PyObject * _argo0 = 0;
8980 PyObject * _argo1 = 0;
efc5f224 8981 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
8982
8983 self = self;
b1462dfa 8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 8985 return NULL;
1d99702e
RD
8986 if (_argo0) {
8987 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
8990 return NULL;
8991 }
8992 }
1d99702e
RD
8993 if (_argo1) {
8994 if (_argo1 == Py_None) { _arg1 = NULL; }
8995 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
8996 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
8997 return NULL;
8998 }
8999 }
cf694132 9000{
4268f798 9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9002 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
cf694132 9003
4268f798 9004 wxPyEndAllowThreads(__tstate);
493f1553 9005 if (PyErr_Occurred()) return NULL;
cf694132 9006} Py_INCREF(Py_None);
b8b8dda7
RD
9007 _resultobj = Py_None;
9008 return _resultobj;
9009}
9010
9011#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 9012static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9013 PyObject * _resultobj;
9014 bool _result;
f6bcfd97 9015 wxPyTreeCtrl * _arg0;
b8b8dda7 9016 wxTreeItemId * _arg1;
1d99702e
RD
9017 PyObject * _argo0 = 0;
9018 PyObject * _argo1 = 0;
efc5f224 9019 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
9020
9021 self = self;
efc5f224 9022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 9023 return NULL;
1d99702e
RD
9024 if (_argo0) {
9025 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9028 return NULL;
9029 }
9030 }
1d99702e
RD
9031 if (_argo1) {
9032 if (_argo1 == Py_None) { _arg1 = NULL; }
9033 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9034 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9035 return NULL;
9036 }
9037 }
cf694132 9038{
4268f798 9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9040 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
cf694132 9041
4268f798 9042 wxPyEndAllowThreads(__tstate);
493f1553 9043 if (PyErr_Occurred()) return NULL;
cf694132 9044} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
9045 return _resultobj;
9046}
9047
164b735b 9048#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 9049static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9050 PyObject * _resultobj;
9051 wxTreeItemId * _result;
f6bcfd97 9052 wxPyTreeCtrl * _arg0;
b8b8dda7 9053 wxPoint * _arg1;
164b735b
RD
9054 int * _arg2;
9055 int temp;
1d99702e 9056 PyObject * _argo0 = 0;
164b735b 9057 wxPoint temp0;
2f90df85 9058 PyObject * _obj1 = 0;
efc5f224 9059 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
9060 char _ptemp[128];
9061
9062 self = self;
164b735b
RD
9063{
9064 _arg2 = &temp;
9065}
2f90df85 9066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 9067 return NULL;
1d99702e
RD
9068 if (_argo0) {
9069 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9072 return NULL;
9073 }
9074 }
2f90df85 9075{
164b735b 9076 _arg1 = &temp0;
2f90df85 9077 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 9078 return NULL;
2f90df85 9079}
cf694132 9080{
4268f798 9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9082 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132 9083
4268f798 9084 wxPyEndAllowThreads(__tstate);
493f1553 9085 if (PyErr_Occurred()) return NULL;
cf694132 9086} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 9087 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
9088{
9089 PyObject *o;
9090 o = PyInt_FromLong((long) (*_arg2));
9091 _resultobj = t_output_helper(_resultobj, o);
9092}
b8b8dda7
RD
9093 return _resultobj;
9094}
9095
b7e72427
RD
9096#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9097static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9098 PyObject * _resultobj;
f6bcfd97 9099 wxPyTreeCtrl * _arg0;
b7e72427
RD
9100 wxTreeItemId * _arg1;
9101 wxColour * _arg2;
9102 PyObject * _argo0 = 0;
9103 PyObject * _argo1 = 0;
f6bcfd97
BP
9104 wxColour temp;
9105 PyObject * _obj2 = 0;
b7e72427
RD
9106 char *_kwnames[] = { "self","item","col", NULL };
9107
9108 self = self;
f6bcfd97 9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9110 return NULL;
9111 if (_argo0) {
9112 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9115 return NULL;
9116 }
9117 }
9118 if (_argo1) {
9119 if (_argo1 == Py_None) { _arg1 = NULL; }
9120 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9121 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9122 return NULL;
9123 }
9124 }
f6bcfd97
BP
9125{
9126 _arg2 = &temp;
9127 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9128 return NULL;
f6bcfd97 9129}
b7e72427 9130{
4268f798 9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9132 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
b7e72427 9133
4268f798 9134 wxPyEndAllowThreads(__tstate);
493f1553 9135 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9136} Py_INCREF(Py_None);
9137 _resultobj = Py_None;
9138 return _resultobj;
9139}
9140
9141#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9142static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject * _resultobj;
f6bcfd97 9144 wxPyTreeCtrl * _arg0;
b7e72427
RD
9145 wxTreeItemId * _arg1;
9146 wxColour * _arg2;
9147 PyObject * _argo0 = 0;
9148 PyObject * _argo1 = 0;
f6bcfd97
BP
9149 wxColour temp;
9150 PyObject * _obj2 = 0;
b7e72427
RD
9151 char *_kwnames[] = { "self","item","col", NULL };
9152
9153 self = self;
f6bcfd97 9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9155 return NULL;
9156 if (_argo0) {
9157 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9160 return NULL;
9161 }
9162 }
9163 if (_argo1) {
9164 if (_argo1 == Py_None) { _arg1 = NULL; }
9165 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9166 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9167 return NULL;
9168 }
9169 }
f6bcfd97
BP
9170{
9171 _arg2 = &temp;
9172 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9173 return NULL;
f6bcfd97 9174}
b7e72427 9175{
4268f798 9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9177 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
b7e72427 9178
4268f798 9179 wxPyEndAllowThreads(__tstate);
493f1553 9180 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9181} Py_INCREF(Py_None);
9182 _resultobj = Py_None;
9183 return _resultobj;
9184}
9185
9186#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9187static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9188 PyObject * _resultobj;
f6bcfd97 9189 wxPyTreeCtrl * _arg0;
b7e72427
RD
9190 wxTreeItemId * _arg1;
9191 wxFont * _arg2;
9192 PyObject * _argo0 = 0;
9193 PyObject * _argo1 = 0;
9194 PyObject * _argo2 = 0;
9195 char *_kwnames[] = { "self","item","font", NULL };
9196
9197 self = self;
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9199 return NULL;
9200 if (_argo0) {
9201 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9204 return NULL;
9205 }
9206 }
9207 if (_argo1) {
9208 if (_argo1 == Py_None) { _arg1 = NULL; }
9209 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9210 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9211 return NULL;
9212 }
9213 }
9214 if (_argo2) {
9215 if (_argo2 == Py_None) { _arg2 = NULL; }
9216 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9217 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9218 return NULL;
9219 }
9220 }
9221{
4268f798 9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9223 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
b7e72427 9224
4268f798 9225 wxPyEndAllowThreads(__tstate);
493f1553 9226 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9227} Py_INCREF(Py_None);
9228 _resultobj = Py_None;
9229 return _resultobj;
9230}
9231
b1462dfa
RD
9232#define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9233static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9234 PyObject * _resultobj;
f6bcfd97 9235 wxPyTreeCtrl * _arg0;
b1462dfa
RD
9236 wxTreeItemId * _arg1;
9237 int _arg2 = (int ) TRUE;
9238 PyObject * _argo0 = 0;
9239 PyObject * _argo1 = 0;
9240 char *_kwnames[] = { "self","item","highlight", NULL };
9241
9242 self = self;
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2))
9244 return NULL;
9245 if (_argo0) {
9246 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
9249 return NULL;
9250 }
9251 }
9252 if (_argo1) {
9253 if (_argo1 == Py_None) { _arg1 = NULL; }
9254 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9255 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9256 return NULL;
9257 }
9258 }
9259{
4268f798 9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9261 wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2);
b1462dfa 9262
4268f798 9263 wxPyEndAllowThreads(__tstate);
493f1553 9264 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9265} Py_INCREF(Py_None);
9266 _resultobj = Py_None;
9267 return _resultobj;
9268}
9269
f6bcfd97 9270static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
d426c97e 9271 wxRect rect;
164b735b 9272 if (self->GetBoundingRect(item, rect, textOnly)) {
4268f798 9273 wxPyBeginBlockThreads();
164b735b
RD
9274 wxRect* r = new wxRect(rect);
9275 PyObject* val = wxPyConstructObject((void*)r, "wxRect");
4268f798 9276 wxPyEndBlockThreads();
164b735b
RD
9277 return val;
9278 }
d426c97e
RD
9279 else {
9280 Py_INCREF(Py_None);
9281 return Py_None;
9282 }
9283 }
9284static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9285 PyObject * _resultobj;
9286 PyObject * _result;
f6bcfd97 9287 wxPyTreeCtrl * _arg0;
d426c97e
RD
9288 wxTreeItemId * _arg1;
9289 int _arg2 = (int ) FALSE;
9290 PyObject * _argo0 = 0;
9291 PyObject * _argo1 = 0;
9292 char *_kwnames[] = { "self","item","textOnly", NULL };
9293
9294 self = self;
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9296 return NULL;
9297 if (_argo0) {
9298 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9301 return NULL;
9302 }
9303 }
9304 if (_argo1) {
9305 if (_argo1 == Py_None) { _arg1 = NULL; }
9306 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9307 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9308 return NULL;
9309 }
9310 }
9311{
4268f798 9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9313 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
d426c97e 9314
4268f798 9315 wxPyEndAllowThreads(__tstate);
493f1553 9316 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9317}{
9318 _resultobj = _result;
9319}
9320 return _resultobj;
9321}
9322
68320e40
RD
9323static void *SwigwxDirItemDataTowxObject(void *ptr) {
9324 wxDirItemData *src;
9325 wxObject *dest;
9326 src = (wxDirItemData *) ptr;
9327 dest = (wxObject *) src;
9328 return (void *) dest;
9329}
9330
9331#define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9332static PyObject *_wrap_new_wxDirItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
9333 PyObject * _resultobj;
9334 wxDirItemData * _result;
9335 wxString * _arg0;
9336 wxString * _arg1;
9337 bool _arg2;
9338 PyObject * _obj0 = 0;
9339 PyObject * _obj1 = 0;
9340 int tempbool2;
9341 char *_kwnames[] = { "path","name","isDir", NULL };
9342 char _ptemp[128];
9343
9344 self = self;
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:new_wxDirItemData",_kwnames,&_obj0,&_obj1,&tempbool2))
9346 return NULL;
9347{
c8bc7bb8
RD
9348 _arg0 = wxString_in_helper(_obj0);
9349 if (_arg0 == NULL)
68320e40 9350 return NULL;
68320e40
RD
9351}
9352{
c8bc7bb8
RD
9353 _arg1 = wxString_in_helper(_obj1);
9354 if (_arg1 == NULL)
68320e40 9355 return NULL;
68320e40
RD
9356}
9357 _arg2 = (bool ) tempbool2;
9358{
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9360 _result = (wxDirItemData *)new_wxDirItemData(*_arg0,*_arg1,_arg2);
68320e40
RD
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) return NULL;
9364} if (_result) {
9365 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirItemData_p");
9366 _resultobj = Py_BuildValue("s",_ptemp);
9367 } else {
9368 Py_INCREF(Py_None);
9369 _resultobj = Py_None;
9370 }
9371{
9372 if (_obj0)
9373 delete _arg0;
9374}
9375{
9376 if (_obj1)
9377 delete _arg1;
9378}
9379 return _resultobj;
9380}
9381
9382#define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9383static PyObject *_wrap_wxDirItemData_SetNewDirName(PyObject *self, PyObject *args, PyObject *kwargs) {
9384 PyObject * _resultobj;
9385 wxDirItemData * _arg0;
9386 wxString * _arg1;
9387 PyObject * _argo0 = 0;
9388 PyObject * _obj1 = 0;
9389 char *_kwnames[] = { "self","path", NULL };
9390
9391 self = self;
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_SetNewDirName",_kwnames,&_argo0,&_obj1))
9393 return NULL;
9394 if (_argo0) {
9395 if (_argo0 == Py_None) { _arg0 = NULL; }
9396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9398 return NULL;
9399 }
9400 }
9401{
c8bc7bb8
RD
9402 _arg1 = wxString_in_helper(_obj1);
9403 if (_arg1 == NULL)
68320e40 9404 return NULL;
68320e40
RD
9405}
9406{
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9408 wxDirItemData_SetNewDirName(_arg0,*_arg1);
68320e40
RD
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) return NULL;
9412} Py_INCREF(Py_None);
9413 _resultobj = Py_None;
9414{
9415 if (_obj1)
9416 delete _arg1;
9417}
9418 return _resultobj;
9419}
9420
9421#define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9422static PyObject *_wrap_wxDirItemData_m_path_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9423 PyObject * _resultobj;
9424 wxString * _result;
9425 wxDirItemData * _arg0;
9426 wxString * _arg1;
9427 PyObject * _argo0 = 0;
9428 PyObject * _obj1 = 0;
9429 char *_kwnames[] = { "self","m_path", NULL };
9430
9431 self = self;
9432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_path_set",_kwnames,&_argo0,&_obj1))
9433 return NULL;
9434 if (_argo0) {
9435 if (_argo0 == Py_None) { _arg0 = NULL; }
9436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9438 return NULL;
9439 }
9440 }
9441{
c8bc7bb8
RD
9442 _arg1 = wxString_in_helper(_obj1);
9443 if (_arg1 == NULL)
68320e40 9444 return NULL;
68320e40
RD
9445}
9446{
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9448 _result = (wxString *)wxDirItemData_m_path_set(_arg0,_arg1);
68320e40
RD
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) return NULL;
9452}{
c8bc7bb8
RD
9453#if wxUSE_UNICODE
9454 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9455#else
68320e40 9456 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9457#endif
68320e40
RD
9458}
9459{
9460 if (_obj1)
9461 delete _arg1;
9462}
9463 return _resultobj;
9464}
9465
9466#define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9467static PyObject *_wrap_wxDirItemData_m_path_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject * _resultobj;
9469 wxString * _result;
9470 wxDirItemData * _arg0;
9471 PyObject * _argo0 = 0;
9472 char *_kwnames[] = { "self", NULL };
9473
9474 self = self;
9475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_path_get",_kwnames,&_argo0))
9476 return NULL;
9477 if (_argo0) {
9478 if (_argo0 == Py_None) { _arg0 = NULL; }
9479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9481 return NULL;
9482 }
9483 }
9484{
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9486 _result = (wxString *)wxDirItemData_m_path_get(_arg0);
68320e40
RD
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) return NULL;
9490}{
c8bc7bb8
RD
9491#if wxUSE_UNICODE
9492 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9493#else
68320e40 9494 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9495#endif
68320e40
RD
9496}
9497 return _resultobj;
9498}
9499
9500#define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9501static PyObject *_wrap_wxDirItemData_m_name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9502 PyObject * _resultobj;
9503 wxString * _result;
9504 wxDirItemData * _arg0;
9505 wxString * _arg1;
9506 PyObject * _argo0 = 0;
9507 PyObject * _obj1 = 0;
9508 char *_kwnames[] = { "self","m_name", NULL };
9509
9510 self = self;
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_name_set",_kwnames,&_argo0,&_obj1))
9512 return NULL;
9513 if (_argo0) {
9514 if (_argo0 == Py_None) { _arg0 = NULL; }
9515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9517 return NULL;
9518 }
9519 }
9520{
c8bc7bb8
RD
9521 _arg1 = wxString_in_helper(_obj1);
9522 if (_arg1 == NULL)
68320e40 9523 return NULL;
68320e40
RD
9524}
9525{
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9527 _result = (wxString *)wxDirItemData_m_name_set(_arg0,_arg1);
68320e40
RD
9528
9529 wxPyEndAllowThreads(__tstate);
9530 if (PyErr_Occurred()) return NULL;
9531}{
c8bc7bb8
RD
9532#if wxUSE_UNICODE
9533 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9534#else
68320e40 9535 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9536#endif
68320e40
RD
9537}
9538{
9539 if (_obj1)
9540 delete _arg1;
9541}
9542 return _resultobj;
9543}
9544
9545#define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9546static PyObject *_wrap_wxDirItemData_m_name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9547 PyObject * _resultobj;
9548 wxString * _result;
9549 wxDirItemData * _arg0;
9550 PyObject * _argo0 = 0;
9551 char *_kwnames[] = { "self", NULL };
9552
9553 self = self;
9554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_name_get",_kwnames,&_argo0))
9555 return NULL;
9556 if (_argo0) {
9557 if (_argo0 == Py_None) { _arg0 = NULL; }
9558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9560 return NULL;
9561 }
9562 }
9563{
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9565 _result = (wxString *)wxDirItemData_m_name_get(_arg0);
68320e40
RD
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) return NULL;
9569}{
c8bc7bb8
RD
9570#if wxUSE_UNICODE
9571 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9572#else
68320e40 9573 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9574#endif
68320e40
RD
9575}
9576 return _resultobj;
9577}
9578
9579#define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9580static PyObject *_wrap_wxDirItemData_m_isHidden_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject * _resultobj;
9582 bool _result;
9583 wxDirItemData * _arg0;
9584 bool _arg1;
9585 PyObject * _argo0 = 0;
9586 int tempbool1;
9587 char *_kwnames[] = { "self","m_isHidden", NULL };
9588
9589 self = self;
9590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isHidden_set",_kwnames,&_argo0,&tempbool1))
9591 return NULL;
9592 if (_argo0) {
9593 if (_argo0 == Py_None) { _arg0 = NULL; }
9594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9596 return NULL;
9597 }
9598 }
9599 _arg1 = (bool ) tempbool1;
9600{
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9602 _result = (bool )wxDirItemData_m_isHidden_set(_arg0,_arg1);
68320e40
RD
9603
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) return NULL;
9606} _resultobj = Py_BuildValue("i",_result);
9607 return _resultobj;
9608}
9609
9610#define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9611static PyObject *_wrap_wxDirItemData_m_isHidden_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9612 PyObject * _resultobj;
9613 bool _result;
9614 wxDirItemData * _arg0;
9615 PyObject * _argo0 = 0;
9616 char *_kwnames[] = { "self", NULL };
9617
9618 self = self;
9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isHidden_get",_kwnames,&_argo0))
9620 return NULL;
9621 if (_argo0) {
9622 if (_argo0 == Py_None) { _arg0 = NULL; }
9623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9625 return NULL;
9626 }
9627 }
9628{
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9630 _result = (bool )wxDirItemData_m_isHidden_get(_arg0);
68320e40
RD
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) return NULL;
9634} _resultobj = Py_BuildValue("i",_result);
9635 return _resultobj;
9636}
9637
9638#define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9639static PyObject *_wrap_wxDirItemData_m_isExpanded_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9640 PyObject * _resultobj;
9641 bool _result;
9642 wxDirItemData * _arg0;
9643 bool _arg1;
9644 PyObject * _argo0 = 0;
9645 int tempbool1;
9646 char *_kwnames[] = { "self","m_isExpanded", NULL };
9647
9648 self = self;
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isExpanded_set",_kwnames,&_argo0,&tempbool1))
9650 return NULL;
9651 if (_argo0) {
9652 if (_argo0 == Py_None) { _arg0 = NULL; }
9653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9655 return NULL;
9656 }
9657 }
9658 _arg1 = (bool ) tempbool1;
9659{
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9661 _result = (bool )wxDirItemData_m_isExpanded_set(_arg0,_arg1);
68320e40
RD
9662
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) return NULL;
9665} _resultobj = Py_BuildValue("i",_result);
9666 return _resultobj;
9667}
9668
9669#define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9670static PyObject *_wrap_wxDirItemData_m_isExpanded_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9671 PyObject * _resultobj;
9672 bool _result;
9673 wxDirItemData * _arg0;
9674 PyObject * _argo0 = 0;
9675 char *_kwnames[] = { "self", NULL };
9676
9677 self = self;
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isExpanded_get",_kwnames,&_argo0))
9679 return NULL;
9680 if (_argo0) {
9681 if (_argo0 == Py_None) { _arg0 = NULL; }
9682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9684 return NULL;
9685 }
9686 }
9687{
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9689 _result = (bool )wxDirItemData_m_isExpanded_get(_arg0);
68320e40
RD
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) return NULL;
9693} _resultobj = Py_BuildValue("i",_result);
9694 return _resultobj;
9695}
9696
9697#define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9698static PyObject *_wrap_wxDirItemData_m_isDir_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9699 PyObject * _resultobj;
9700 bool _result;
9701 wxDirItemData * _arg0;
9702 bool _arg1;
9703 PyObject * _argo0 = 0;
9704 int tempbool1;
9705 char *_kwnames[] = { "self","m_isDir", NULL };
9706
9707 self = self;
9708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isDir_set",_kwnames,&_argo0,&tempbool1))
9709 return NULL;
9710 if (_argo0) {
9711 if (_argo0 == Py_None) { _arg0 = NULL; }
9712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9714 return NULL;
9715 }
9716 }
9717 _arg1 = (bool ) tempbool1;
9718{
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9720 _result = (bool )wxDirItemData_m_isDir_set(_arg0,_arg1);
68320e40
RD
9721
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) return NULL;
9724} _resultobj = Py_BuildValue("i",_result);
9725 return _resultobj;
9726}
9727
9728#define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9729static PyObject *_wrap_wxDirItemData_m_isDir_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9730 PyObject * _resultobj;
9731 bool _result;
9732 wxDirItemData * _arg0;
9733 PyObject * _argo0 = 0;
9734 char *_kwnames[] = { "self", NULL };
9735
9736 self = self;
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isDir_get",_kwnames,&_argo0))
9738 return NULL;
9739 if (_argo0) {
9740 if (_argo0 == Py_None) { _arg0 = NULL; }
9741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9743 return NULL;
9744 }
9745 }
9746{
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9748 _result = (bool )wxDirItemData_m_isDir_get(_arg0);
68320e40
RD
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) return NULL;
9752} _resultobj = Py_BuildValue("i",_result);
9753 return _resultobj;
9754}
9755
9756static void *SwigwxGenericDirCtrlTowxControl(void *ptr) {
9757 wxGenericDirCtrl *src;
9758 wxControl *dest;
9759 src = (wxGenericDirCtrl *) ptr;
9760 dest = (wxControl *) src;
9761 return (void *) dest;
9762}
9763
9764static void *SwigwxGenericDirCtrlTowxWindow(void *ptr) {
9765 wxGenericDirCtrl *src;
9766 wxWindow *dest;
9767 src = (wxGenericDirCtrl *) ptr;
9768 dest = (wxWindow *) src;
9769 return (void *) dest;
9770}
9771
9772static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr) {
9773 wxGenericDirCtrl *src;
9774 wxEvtHandler *dest;
9775 src = (wxGenericDirCtrl *) ptr;
9776 dest = (wxEvtHandler *) src;
9777 return (void *) dest;
9778}
9779
9780static void *SwigwxGenericDirCtrlTowxObject(void *ptr) {
9781 wxGenericDirCtrl *src;
9782 wxObject *dest;
9783 src = (wxGenericDirCtrl *) ptr;
9784 dest = (wxObject *) src;
9785 return (void *) dest;
9786}
9787
9788#define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9789static PyObject *_wrap_new_wxGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9790 PyObject * _resultobj;
9791 wxGenericDirCtrl * _result;
9792 wxWindow * _arg0;
9793 wxWindowID _arg1 = (wxWindowID ) -1;
6c5ae2d2 9794 char * _arg2 = (char *) wxDirDialogDefaultFolderStr;
68320e40
RD
9795 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9796 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9797 long _arg5 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
6c5ae2d2 9798 char * _arg6 = (char *) wxEmptyString;
68320e40 9799 int _arg7 = (int ) 0;
ce914f73 9800 char * _arg8 = (char *) "dirCtrl";
68320e40 9801 PyObject * _argo0 = 0;
68320e40
RD
9802 wxPoint temp;
9803 PyObject * _obj3 = 0;
9804 wxSize temp0;
9805 PyObject * _obj4 = 0;
68320e40
RD
9806 char *_kwnames[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9807 char _ptemp[128];
9808
9809 self = self;
6c5ae2d2 9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOlsis:new_wxGenericDirCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8))
68320e40
RD
9811 return NULL;
9812 if (_argo0) {
9813 if (_argo0 == Py_None) { _arg0 = NULL; }
9814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9816 return NULL;
9817 }
9818 }
68320e40
RD
9819 if (_obj3)
9820{
9821 _arg3 = &temp;
9822 if (! wxPoint_helper(_obj3, &_arg3))
9823 return NULL;
9824}
9825 if (_obj4)
9826{
9827 _arg4 = &temp0;
9828 if (! wxSize_helper(_obj4, &_arg4))
9829 return NULL;
68320e40
RD
9830}
9831{
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9833 _result = (wxGenericDirCtrl *)new_wxGenericDirCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8);
68320e40
RD
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) return NULL;
9837} if (_result) {
9838 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9839 _resultobj = Py_BuildValue("s",_ptemp);
9840 } else {
9841 Py_INCREF(Py_None);
9842 _resultobj = Py_None;
9843 }
68320e40
RD
9844 return _resultobj;
9845}
9846
9847#define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9848static PyObject *_wrap_new_wxPreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject * _resultobj;
9850 wxGenericDirCtrl * _result;
9851 char *_kwnames[] = { NULL };
9852 char _ptemp[128];
9853
9854 self = self;
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGenericDirCtrl",_kwnames))
9856 return NULL;
9857{
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9859 _result = (wxGenericDirCtrl *)new_wxPreGenericDirCtrl();
68320e40
RD
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) return NULL;
9863} if (_result) {
9864 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9865 _resultobj = Py_BuildValue("s",_ptemp);
9866 } else {
9867 Py_INCREF(Py_None);
9868 _resultobj = Py_None;
9869 }
9870 return _resultobj;
9871}
9872
9873#define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9874static PyObject *_wrap_wxGenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9875 PyObject * _resultobj;
9876 bool _result;
9877 wxGenericDirCtrl * _arg0;
9878 wxWindow * _arg1;
9879 wxWindowID _arg2 = (wxWindowID ) -1;
6c5ae2d2 9880 char * _arg3 = (char *) wxDirDialogDefaultFolderStr;
68320e40
RD
9881 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9882 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9883 long _arg6 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
6c5ae2d2 9884 char * _arg7 = (char *) wxEmptyString;
68320e40 9885 int _arg8 = (int ) 0;
ce914f73 9886 char * _arg9 = (char *) "dirCtrl";
68320e40
RD
9887 PyObject * _argo0 = 0;
9888 PyObject * _argo1 = 0;
68320e40
RD
9889 wxPoint temp;
9890 PyObject * _obj4 = 0;
9891 wxSize temp0;
9892 PyObject * _obj5 = 0;
68320e40
RD
9893 char *_kwnames[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9894
9895 self = self;
6c5ae2d2 9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|isOOlsis:wxGenericDirCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9))
68320e40
RD
9897 return NULL;
9898 if (_argo0) {
9899 if (_argo0 == Py_None) { _arg0 = NULL; }
9900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9902 return NULL;
9903 }
9904 }
9905 if (_argo1) {
9906 if (_argo1 == Py_None) { _arg1 = NULL; }
9907 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9908 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9909 return NULL;
9910 }
9911 }
68320e40
RD
9912 if (_obj4)
9913{
9914 _arg4 = &temp;
9915 if (! wxPoint_helper(_obj4, &_arg4))
9916 return NULL;
9917}
9918 if (_obj5)
9919{
9920 _arg5 = &temp0;
9921 if (! wxSize_helper(_obj5, &_arg5))
9922 return NULL;
68320e40
RD
9923}
9924{
9925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9926 _result = (bool )wxGenericDirCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9);
68320e40
RD
9927
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) return NULL;
9930} _resultobj = Py_BuildValue("i",_result);
68320e40
RD
9931 return _resultobj;
9932}
9933
9934#define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
9935static PyObject *_wrap_wxGenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9936 PyObject * _resultobj;
9937 bool _result;
9938 wxGenericDirCtrl * _arg0;
9939 wxString * _arg1;
9940 PyObject * _argo0 = 0;
9941 PyObject * _obj1 = 0;
9942 char *_kwnames[] = { "self","path", NULL };
9943
9944 self = self;
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_ExpandPath",_kwnames,&_argo0,&_obj1))
9946 return NULL;
9947 if (_argo0) {
9948 if (_argo0 == Py_None) { _arg0 = NULL; }
9949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
9951 return NULL;
9952 }
9953 }
9954{
c8bc7bb8
RD
9955 _arg1 = wxString_in_helper(_obj1);
9956 if (_arg1 == NULL)
68320e40 9957 return NULL;
68320e40
RD
9958}
9959{
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9961 _result = (bool )wxGenericDirCtrl_ExpandPath(_arg0,*_arg1);
68320e40
RD
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) return NULL;
9965} _resultobj = Py_BuildValue("i",_result);
9966{
9967 if (_obj1)
9968 delete _arg1;
9969}
9970 return _resultobj;
9971}
9972
9973#define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
9974static PyObject *_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject * _resultobj;
9976 wxString * _result;
9977 wxGenericDirCtrl * _arg0;
9978 PyObject * _argo0 = 0;
9979 char *_kwnames[] = { "self", NULL };
9980
9981 self = self;
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames,&_argo0))
9983 return NULL;
9984 if (_argo0) {
9985 if (_argo0 == Py_None) { _arg0 = NULL; }
9986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
9988 return NULL;
9989 }
9990 }
9991{
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9993 _result = new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0));
68320e40
RD
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) return NULL;
9997}{
c8bc7bb8
RD
9998#if wxUSE_UNICODE
9999 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10000#else
68320e40 10001 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10002#endif
68320e40
RD
10003}
10004{
10005 delete _result;
10006}
10007 return _resultobj;
10008}
10009
10010#define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10011static PyObject *_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10012 PyObject * _resultobj;
10013 wxGenericDirCtrl * _arg0;
10014 wxString * _arg1;
10015 PyObject * _argo0 = 0;
10016 PyObject * _obj1 = 0;
10017 char *_kwnames[] = { "self","path", NULL };
10018
10019 self = self;
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames,&_argo0,&_obj1))
10021 return NULL;
10022 if (_argo0) {
10023 if (_argo0 == Py_None) { _arg0 = NULL; }
10024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10026 return NULL;
10027 }
10028 }
10029{
c8bc7bb8
RD
10030 _arg1 = wxString_in_helper(_obj1);
10031 if (_arg1 == NULL)
68320e40 10032 return NULL;
68320e40
RD
10033}
10034{
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10036 wxGenericDirCtrl_SetDefaultPath(_arg0,*_arg1);
68320e40
RD
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) return NULL;
10040} Py_INCREF(Py_None);
10041 _resultobj = Py_None;
10042{
10043 if (_obj1)
10044 delete _arg1;
10045}
10046 return _resultobj;
10047}
10048
10049#define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10050static PyObject *_wrap_wxGenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10051 PyObject * _resultobj;
10052 wxString * _result;
10053 wxGenericDirCtrl * _arg0;
10054 PyObject * _argo0 = 0;
10055 char *_kwnames[] = { "self", NULL };
10056
10057 self = self;
10058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetPath",_kwnames,&_argo0))
10059 return NULL;
10060 if (_argo0) {
10061 if (_argo0 == Py_None) { _arg0 = NULL; }
10062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10064 return NULL;
10065 }
10066 }
10067{
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10069 _result = new wxString (wxGenericDirCtrl_GetPath(_arg0));
68320e40
RD
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) return NULL;
10073}{
c8bc7bb8
RD
10074#if wxUSE_UNICODE
10075 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10076#else
68320e40 10077 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10078#endif
68320e40
RD
10079}
10080{
10081 delete _result;
10082}
10083 return _resultobj;
10084}
10085
10086#define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10087static PyObject *_wrap_wxGenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
10088 PyObject * _resultobj;
10089 wxString * _result;
10090 wxGenericDirCtrl * _arg0;
10091 PyObject * _argo0 = 0;
10092 char *_kwnames[] = { "self", NULL };
10093
10094 self = self;
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilePath",_kwnames,&_argo0))
10096 return NULL;
10097 if (_argo0) {
10098 if (_argo0 == Py_None) { _arg0 = NULL; }
10099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10101 return NULL;
10102 }
10103 }
10104{
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10106 _result = new wxString (wxGenericDirCtrl_GetFilePath(_arg0));
68320e40
RD
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) return NULL;
10110}{
c8bc7bb8
RD
10111#if wxUSE_UNICODE
10112 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10113#else
68320e40 10114 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10115#endif
68320e40
RD
10116}
10117{
10118 delete _result;
10119}
10120 return _resultobj;
10121}
10122
10123#define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10124static PyObject *_wrap_wxGenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10125 PyObject * _resultobj;
10126 wxGenericDirCtrl * _arg0;
10127 wxString * _arg1;
10128 PyObject * _argo0 = 0;
10129 PyObject * _obj1 = 0;
10130 char *_kwnames[] = { "self","path", NULL };
10131
10132 self = self;
10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetPath",_kwnames,&_argo0,&_obj1))
10134 return NULL;
10135 if (_argo0) {
10136 if (_argo0 == Py_None) { _arg0 = NULL; }
10137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10139 return NULL;
10140 }
10141 }
10142{
c8bc7bb8
RD
10143 _arg1 = wxString_in_helper(_obj1);
10144 if (_arg1 == NULL)
68320e40 10145 return NULL;
68320e40
RD
10146}
10147{
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10149 wxGenericDirCtrl_SetPath(_arg0,*_arg1);
68320e40
RD
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) return NULL;
10153} Py_INCREF(Py_None);
10154 _resultobj = Py_None;
10155{
10156 if (_obj1)
10157 delete _arg1;
10158}
10159 return _resultobj;
10160}
10161
10162#define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10163static PyObject *_wrap_wxGenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10164 PyObject * _resultobj;
10165 wxGenericDirCtrl * _arg0;
10166 bool _arg1;
10167 PyObject * _argo0 = 0;
10168 int tempbool1;
10169 char *_kwnames[] = { "self","show", NULL };
10170
10171 self = self;
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames,&_argo0,&tempbool1))
10173 return NULL;
10174 if (_argo0) {
10175 if (_argo0 == Py_None) { _arg0 = NULL; }
10176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10178 return NULL;
10179 }
10180 }
10181 _arg1 = (bool ) tempbool1;
10182{
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10184 wxGenericDirCtrl_ShowHidden(_arg0,_arg1);
68320e40
RD
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) return NULL;
10188} Py_INCREF(Py_None);
10189 _resultobj = Py_None;
10190 return _resultobj;
10191}
10192
10193#define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10194static PyObject *_wrap_wxGenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10195 PyObject * _resultobj;
10196 bool _result;
10197 wxGenericDirCtrl * _arg0;
10198 PyObject * _argo0 = 0;
10199 char *_kwnames[] = { "self", NULL };
10200
10201 self = self;
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetShowHidden",_kwnames,&_argo0))
10203 return NULL;
10204 if (_argo0) {
10205 if (_argo0 == Py_None) { _arg0 = NULL; }
10206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10208 return NULL;
10209 }
10210 }
10211{
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10213 _result = (bool )wxGenericDirCtrl_GetShowHidden(_arg0);
68320e40
RD
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) return NULL;
10217} _resultobj = Py_BuildValue("i",_result);
10218 return _resultobj;
10219}
10220
10221#define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10222static PyObject *_wrap_wxGenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10223 PyObject * _resultobj;
10224 wxString * _result;
10225 wxGenericDirCtrl * _arg0;
10226 PyObject * _argo0 = 0;
10227 char *_kwnames[] = { "self", NULL };
10228
10229 self = self;
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilter",_kwnames,&_argo0))
10231 return NULL;
10232 if (_argo0) {
10233 if (_argo0 == Py_None) { _arg0 = NULL; }
10234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10236 return NULL;
10237 }
10238 }
10239{
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10241 _result = new wxString (wxGenericDirCtrl_GetFilter(_arg0));
68320e40
RD
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) return NULL;
10245}{
c8bc7bb8
RD
10246#if wxUSE_UNICODE
10247 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10248#else
68320e40 10249 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10250#endif
68320e40
RD
10251}
10252{
10253 delete _result;
10254}
10255 return _resultobj;
10256}
10257
10258#define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10259static PyObject *_wrap_wxGenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10260 PyObject * _resultobj;
10261 wxGenericDirCtrl * _arg0;
10262 wxString * _arg1;
10263 PyObject * _argo0 = 0;
10264 PyObject * _obj1 = 0;
10265 char *_kwnames[] = { "self","filter", NULL };
10266
10267 self = self;
10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetFilter",_kwnames,&_argo0,&_obj1))
10269 return NULL;
10270 if (_argo0) {
10271 if (_argo0 == Py_None) { _arg0 = NULL; }
10272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10274 return NULL;
10275 }
10276 }
10277{
c8bc7bb8
RD
10278 _arg1 = wxString_in_helper(_obj1);
10279 if (_arg1 == NULL)
68320e40 10280 return NULL;
68320e40
RD
10281}
10282{
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10284 wxGenericDirCtrl_SetFilter(_arg0,*_arg1);
68320e40
RD
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) return NULL;
10288} Py_INCREF(Py_None);
10289 _resultobj = Py_None;
10290{
10291 if (_obj1)
10292 delete _arg1;
10293}
10294 return _resultobj;
10295}
10296
10297#define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10298static PyObject *_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10299 PyObject * _resultobj;
10300 int _result;
10301 wxGenericDirCtrl * _arg0;
10302 PyObject * _argo0 = 0;
10303 char *_kwnames[] = { "self", NULL };
10304
10305 self = self;
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames,&_argo0))
10307 return NULL;
10308 if (_argo0) {
10309 if (_argo0 == Py_None) { _arg0 = NULL; }
10310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10312 return NULL;
10313 }
10314 }
10315{
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10317 _result = (int )wxGenericDirCtrl_GetFilterIndex(_arg0);
68320e40
RD
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) return NULL;
10321} _resultobj = Py_BuildValue("i",_result);
10322 return _resultobj;
10323}
10324
10325#define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10326static PyObject *_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10327 PyObject * _resultobj;
10328 wxGenericDirCtrl * _arg0;
10329 int _arg1;
10330 PyObject * _argo0 = 0;
10331 char *_kwnames[] = { "self","n", NULL };
10332
10333 self = self;
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames,&_argo0,&_arg1))
10335 return NULL;
10336 if (_argo0) {
10337 if (_argo0 == Py_None) { _arg0 = NULL; }
10338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10340 return NULL;
10341 }
10342 }
10343{
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10345 wxGenericDirCtrl_SetFilterIndex(_arg0,_arg1);
68320e40
RD
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) return NULL;
10349} Py_INCREF(Py_None);
10350 _resultobj = Py_None;
10351 return _resultobj;
10352}
10353
10354#define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10355static PyObject *_wrap_wxGenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
10356 PyObject * _resultobj;
10357 wxTreeItemId * _result;
10358 wxGenericDirCtrl * _arg0;
10359 PyObject * _argo0 = 0;
10360 char *_kwnames[] = { "self", NULL };
10361 char _ptemp[128];
10362
10363 self = self;
10364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetRootId",_kwnames,&_argo0))
10365 return NULL;
10366 if (_argo0) {
10367 if (_argo0 == Py_None) { _arg0 = NULL; }
10368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10370 return NULL;
10371 }
10372 }
10373{
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10375 _result = new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0));
68320e40
RD
10376
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) return NULL;
10379} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
10380 _resultobj = Py_BuildValue("s",_ptemp);
10381 return _resultobj;
10382}
10383
10384#define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10385static PyObject *_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10386 PyObject * _resultobj;
10387 wxTreeCtrl * _result;
10388 wxGenericDirCtrl * _arg0;
10389 PyObject * _argo0 = 0;
10390 char *_kwnames[] = { "self", NULL };
10391 char _ptemp[128];
10392
10393 self = self;
10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames,&_argo0))
10395 return NULL;
10396 if (_argo0) {
10397 if (_argo0 == Py_None) { _arg0 = NULL; }
10398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10400 return NULL;
10401 }
10402 }
10403{
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10405 _result = (wxTreeCtrl *)wxGenericDirCtrl_GetTreeCtrl(_arg0);
68320e40
RD
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) return NULL;
10409} if (_result) {
10410 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
10411 _resultobj = Py_BuildValue("s",_ptemp);
10412 } else {
10413 Py_INCREF(Py_None);
10414 _resultobj = Py_None;
10415 }
10416 return _resultobj;
10417}
10418
10419#define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10420static PyObject *_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject * _resultobj;
10422 wxDirFilterListCtrl * _result;
10423 wxGenericDirCtrl * _arg0;
10424 PyObject * _argo0 = 0;
10425 char *_kwnames[] = { "self", NULL };
10426 char _ptemp[128];
10427
10428 self = self;
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames,&_argo0))
10430 return NULL;
10431 if (_argo0) {
10432 if (_argo0 == Py_None) { _arg0 = NULL; }
10433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10435 return NULL;
10436 }
10437 }
10438{
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10440 _result = (wxDirFilterListCtrl *)wxGenericDirCtrl_GetFilterListCtrl(_arg0);
68320e40
RD
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) return NULL;
10444} if (_result) {
10445 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10446 _resultobj = Py_BuildValue("s",_ptemp);
10447 } else {
10448 Py_INCREF(Py_None);
10449 _resultobj = Py_None;
10450 }
10451 return _resultobj;
10452}
10453
10454static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr) {
10455 wxDirFilterListCtrl *src;
10456 wxChoice *dest;
10457 src = (wxDirFilterListCtrl *) ptr;
10458 dest = (wxChoice *) src;
10459 return (void *) dest;
10460}
10461
10462static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr) {
10463 wxDirFilterListCtrl *src;
10464 wxControlWithItems *dest;
10465 src = (wxDirFilterListCtrl *) ptr;
10466 dest = (wxControlWithItems *) src;
10467 return (void *) dest;
10468}
10469
10470static void *SwigwxDirFilterListCtrlTowxControl(void *ptr) {
10471 wxDirFilterListCtrl *src;
10472 wxControl *dest;
10473 src = (wxDirFilterListCtrl *) ptr;
10474 dest = (wxControl *) src;
10475 return (void *) dest;
10476}
10477
10478static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr) {
10479 wxDirFilterListCtrl *src;
10480 wxWindow *dest;
10481 src = (wxDirFilterListCtrl *) ptr;
10482 dest = (wxWindow *) src;
10483 return (void *) dest;
10484}
10485
10486static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr) {
10487 wxDirFilterListCtrl *src;
10488 wxEvtHandler *dest;
10489 src = (wxDirFilterListCtrl *) ptr;
10490 dest = (wxEvtHandler *) src;
10491 return (void *) dest;
10492}
10493
10494static void *SwigwxDirFilterListCtrlTowxObject(void *ptr) {
10495 wxDirFilterListCtrl *src;
10496 wxObject *dest;
10497 src = (wxDirFilterListCtrl *) ptr;
10498 dest = (wxObject *) src;
10499 return (void *) dest;
10500}
10501
10502#define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10503static PyObject *_wrap_new_wxDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject * _resultobj;
10505 wxDirFilterListCtrl * _result;
10506 wxGenericDirCtrl * _arg0;
10507 wxWindowID _arg1 = (wxWindowID ) -1;
10508 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
10509 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
10510 long _arg4 = (long ) 0;
10511 PyObject * _argo0 = 0;
10512 wxPoint temp;
10513 PyObject * _obj2 = 0;
10514 wxSize temp0;
10515 PyObject * _obj3 = 0;
10516 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
10517 char _ptemp[128];
10518
10519 self = self;
10520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxDirFilterListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
10521 return NULL;
10522 if (_argo0) {
10523 if (_argo0 == Py_None) { _arg0 = NULL; }
10524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10526 return NULL;
10527 }
10528 }
10529 if (_obj2)
10530{
10531 _arg2 = &temp;
10532 if (! wxPoint_helper(_obj2, &_arg2))
10533 return NULL;
10534}
10535 if (_obj3)
10536{
10537 _arg3 = &temp0;
10538 if (! wxSize_helper(_obj3, &_arg3))
10539 return NULL;
10540}
10541{
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10543 _result = (wxDirFilterListCtrl *)new_wxDirFilterListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
68320e40
RD
10544
10545 wxPyEndAllowThreads(__tstate);
10546 if (PyErr_Occurred()) return NULL;
10547} if (_result) {
10548 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10549 _resultobj = Py_BuildValue("s",_ptemp);
10550 } else {
10551 Py_INCREF(Py_None);
10552 _resultobj = Py_None;
10553 }
10554 return _resultobj;
10555}
10556
10557#define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10558static PyObject *_wrap_new_wxPreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10559 PyObject * _resultobj;
10560 wxDirFilterListCtrl * _result;
10561 char *_kwnames[] = { NULL };
10562 char _ptemp[128];
10563
10564 self = self;
10565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDirFilterListCtrl",_kwnames))
10566 return NULL;
10567{
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10569 _result = (wxDirFilterListCtrl *)new_wxPreDirFilterListCtrl();
68320e40
RD
10570
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) return NULL;
10573} if (_result) {
10574 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10575 _resultobj = Py_BuildValue("s",_ptemp);
10576 } else {
10577 Py_INCREF(Py_None);
10578 _resultobj = Py_None;
10579 }
10580 return _resultobj;
10581}
10582
10583#define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10584static PyObject *_wrap_wxDirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10585 PyObject * _resultobj;
10586 bool _result;
10587 wxDirFilterListCtrl * _arg0;
10588 wxGenericDirCtrl * _arg1;
10589 wxWindowID _arg2 = (wxWindowID ) -1;
10590 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10591 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10592 long _arg5 = (long ) 0;
10593 PyObject * _argo0 = 0;
10594 PyObject * _argo1 = 0;
10595 wxPoint temp;
10596 PyObject * _obj3 = 0;
10597 wxSize temp0;
10598 PyObject * _obj4 = 0;
10599 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
10600
10601 self = self;
10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
10603 return NULL;
10604 if (_argo0) {
10605 if (_argo0 == Py_None) { _arg0 = NULL; }
10606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10608 return NULL;
10609 }
10610 }
10611 if (_argo1) {
10612 if (_argo1 == Py_None) { _arg1 = NULL; }
10613 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGenericDirCtrl_p")) {
10614 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10615 return NULL;
10616 }
10617 }
10618 if (_obj3)
10619{
10620 _arg3 = &temp;
10621 if (! wxPoint_helper(_obj3, &_arg3))
10622 return NULL;
10623}
10624 if (_obj4)
10625{
10626 _arg4 = &temp0;
10627 if (! wxSize_helper(_obj4, &_arg4))
10628 return NULL;
10629}
10630{
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10632 _result = (bool )wxDirFilterListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
68320e40
RD
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) return NULL;
10636} _resultobj = Py_BuildValue("i",_result);
10637 return _resultobj;
10638}
10639
10640#define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10641static PyObject *_wrap_wxDirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
10642 PyObject * _resultobj;
10643 wxDirFilterListCtrl * _arg0;
10644 wxString * _arg1;
10645 int _arg2;
10646 PyObject * _argo0 = 0;
10647 PyObject * _obj1 = 0;
10648 char *_kwnames[] = { "self","filter","defaultFilter", NULL };
10649
10650 self = self;
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames,&_argo0,&_obj1,&_arg2))
10652 return NULL;
10653 if (_argo0) {
10654 if (_argo0 == Py_None) { _arg0 = NULL; }
10655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10657 return NULL;
10658 }
10659 }
10660{
c8bc7bb8
RD
10661 _arg1 = wxString_in_helper(_obj1);
10662 if (_arg1 == NULL)
68320e40 10663 return NULL;
68320e40
RD
10664}
10665{
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10667 wxDirFilterListCtrl_FillFilterList(_arg0,*_arg1,_arg2);
68320e40
RD
10668
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) return NULL;
10671} Py_INCREF(Py_None);
10672 _resultobj = Py_None;
10673{
10674 if (_obj1)
10675 delete _arg1;
10676}
10677 return _resultobj;
10678}
10679
8ab979d7 10680static PyMethodDef controls2cMethods[] = {
68320e40
RD
10681 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_wxDirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
10682 { "wxDirFilterListCtrl_Create", (PyCFunction) _wrap_wxDirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10683 { "new_wxPreDirFilterListCtrl", (PyCFunction) _wrap_new_wxPreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10684 { "new_wxDirFilterListCtrl", (PyCFunction) _wrap_new_wxDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10685 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10686 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10687 { "wxGenericDirCtrl_GetRootId", (PyCFunction) _wrap_wxGenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
10688 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10689 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10690 { "wxGenericDirCtrl_SetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
10691 { "wxGenericDirCtrl_GetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
10692 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
10693 { "wxGenericDirCtrl_ShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
10694 { "wxGenericDirCtrl_SetPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
10695 { "wxGenericDirCtrl_GetFilePath", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
10696 { "wxGenericDirCtrl_GetPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
10697 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10698 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10699 { "wxGenericDirCtrl_ExpandPath", (PyCFunction) _wrap_wxGenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
10700 { "wxGenericDirCtrl_Create", (PyCFunction) _wrap_wxGenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10701 { "new_wxPreGenericDirCtrl", (PyCFunction) _wrap_new_wxPreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10702 { "new_wxGenericDirCtrl", (PyCFunction) _wrap_new_wxGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10703 { "wxDirItemData_m_isDir_get", (PyCFunction) _wrap_wxDirItemData_m_isDir_get, METH_VARARGS | METH_KEYWORDS },
10704 { "wxDirItemData_m_isDir_set", (PyCFunction) _wrap_wxDirItemData_m_isDir_set, METH_VARARGS | METH_KEYWORDS },
10705 { "wxDirItemData_m_isExpanded_get", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_get, METH_VARARGS | METH_KEYWORDS },
10706 { "wxDirItemData_m_isExpanded_set", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_set, METH_VARARGS | METH_KEYWORDS },
10707 { "wxDirItemData_m_isHidden_get", (PyCFunction) _wrap_wxDirItemData_m_isHidden_get, METH_VARARGS | METH_KEYWORDS },
10708 { "wxDirItemData_m_isHidden_set", (PyCFunction) _wrap_wxDirItemData_m_isHidden_set, METH_VARARGS | METH_KEYWORDS },
10709 { "wxDirItemData_m_name_get", (PyCFunction) _wrap_wxDirItemData_m_name_get, METH_VARARGS | METH_KEYWORDS },
10710 { "wxDirItemData_m_name_set", (PyCFunction) _wrap_wxDirItemData_m_name_set, METH_VARARGS | METH_KEYWORDS },
10711 { "wxDirItemData_m_path_get", (PyCFunction) _wrap_wxDirItemData_m_path_get, METH_VARARGS | METH_KEYWORDS },
10712 { "wxDirItemData_m_path_set", (PyCFunction) _wrap_wxDirItemData_m_path_set, METH_VARARGS | METH_KEYWORDS },
10713 { "wxDirItemData_SetNewDirName", (PyCFunction) _wrap_wxDirItemData_SetNewDirName, METH_VARARGS | METH_KEYWORDS },
10714 { "new_wxDirItemData", (PyCFunction) _wrap_new_wxDirItemData, METH_VARARGS | METH_KEYWORDS },
d426c97e 10715 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10716 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
b7e72427
RD
10717 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
10718 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10719 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10720 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
10721 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
10722 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 10723 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10724 { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
10725 { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
10726 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10727 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
10728 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10729 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
10730 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
10731 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
10732 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
10733 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
10734 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
10735 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
10736 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10737 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
10738 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
10739 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10740 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10741 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
10742 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
10743 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 10744 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10745 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
10746 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
10747 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
10748 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
10749 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
10750 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
10751 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10752 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 10753 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 10754 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10755 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10756 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
10757 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
10758 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
10759 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10760 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
10761 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
10762 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
10763 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10764 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10765 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10766 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10767 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10768 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10769 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10770 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
10771 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10772 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
10773 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
10774 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
10775 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10776 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
10777 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10778 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
10779 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10780 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
10781 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
10782 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0122b7e3 10783 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
10784 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10785 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10786 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10787 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10788 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
ecc08ead 10789 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10790 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
10791 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
10792 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
00b6c4e3 10793 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10794 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
10795 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
10796 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
10797 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
10798 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10799 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10800 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
10801 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
10802 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
10803 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
10804 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10805 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10806 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
10807 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10808 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
10809 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
10810 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10811 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10812 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
10813 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
10814 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
10815 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
10816 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
10817 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
10818 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
10819 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
10820 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
10821 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
10822 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
10823 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
dcd38683 10824 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
efc5f224 10825 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
10826 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
10827 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
10828 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10829 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
10830 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
10831 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
10832 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 10833 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10834 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
10835 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
10836 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
10837 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10838 { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
10839 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10840 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
10841 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
10842 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
10843 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10844 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
10845 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
10846 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
10847 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
10848 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
10849 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
10850 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10851 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10852 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
10853 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
10854 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
10855 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
10856 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10857 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10858 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
10859 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
10860 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
10861 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
10862 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
10863 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
10864 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
10865 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10866 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10867 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10868 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
10869 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10870 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
10871 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
10872 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
10873 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
10874 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
10875 { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
10876 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
10877 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10878 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10879 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
10880 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
10881 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10882 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0122b7e3 10883 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
10884 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10885 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 10886 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
10887 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
10888 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10889 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
10890 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
10891 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
10892 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
10893 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
10894 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10895 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10896 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10897 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
10898 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10899 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
10900 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
10901 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
10902 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10903 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
10904 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10905 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
10906 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
ebf4302c
RD
10907 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
10908 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10909 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
10910 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
6d19860f 10911 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10912 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
10913 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
10914 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
10915 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
10916 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
10917 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
10918 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
10919 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
10920 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
10921 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
10922 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
10923 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
10924 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
10925 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
10926 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
10927 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
10928 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
10929 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
10930 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
10931 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10932 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
10933 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10934 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10935 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
10936 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
10937 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
10938 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
10939 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
10940 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
10941 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
10942 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
10943 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
10944 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
10945 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
10946 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
10947 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10948 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10949 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
10950 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
10951 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
10952 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
10953 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
10954 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
10955 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
10956 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
10957 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
10958 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
10959 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
10960 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
10961 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
10962 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
10963 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
10964 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10965 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10966 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
10967 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10968 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
10969 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
10970 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10971 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10972 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
10973 { NULL, NULL }
10974};
1d99702e
RD
10975#ifdef __cplusplus
10976}
10977#endif
10978/*
10979 * This table is used by the pointer type-checker
10980 */
10981static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 10982 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 10983 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 10984 { "_signed_long","_long",0},
b1462dfa 10985 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
10986 { "_wxPrintQuality","_int",0},
10987 { "_wxPrintQuality","_signed_int",0},
10988 { "_wxPrintQuality","_unsigned_int",0},
10989 { "_wxPrintQuality","_wxWindowID",0},
10990 { "_wxPrintQuality","_uint",0},
10991 { "_wxPrintQuality","_EBool",0},
10992 { "_wxPrintQuality","_size_t",0},
c368d904 10993 { "_wxPrintQuality","_time_t",0},
1d99702e 10994 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 10995 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 10996 { "_byte","_unsigned_char",0},
68320e40 10997 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice},
1d99702e
RD
10998 { "_long","_unsigned_long",0},
10999 { "_long","_signed_long",0},
b1462dfa 11000 { "_size_t","_wxCoord",0},
1d99702e 11001 { "_size_t","_wxPrintQuality",0},
c368d904 11002 { "_size_t","_time_t",0},
1d99702e
RD
11003 { "_size_t","_unsigned_int",0},
11004 { "_size_t","_int",0},
11005 { "_size_t","_wxWindowID",0},
11006 { "_size_t","_uint",0},
b1462dfa 11007 { "_uint","_wxCoord",0},
1d99702e 11008 { "_uint","_wxPrintQuality",0},
c368d904 11009 { "_uint","_time_t",0},
1d99702e
RD
11010 { "_uint","_size_t",0},
11011 { "_uint","_unsigned_int",0},
11012 { "_uint","_int",0},
11013 { "_uint","_wxWindowID",0},
f6bcfd97 11014 { "_wxChar","_char",0},
1d99702e 11015 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 11016 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 11017 { "_char","_wxChar",0},
cdf14688 11018 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11019 { "_EBool","_wxCoord",0},
1d99702e
RD
11020 { "_EBool","_wxPrintQuality",0},
11021 { "_EBool","_signed_int",0},
11022 { "_EBool","_int",0},
11023 { "_EBool","_wxWindowID",0},
1d99702e 11024 { "_unsigned_long","_long",0},
cdf14688 11025 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11026 { "_signed_int","_wxCoord",0},
1d99702e
RD
11027 { "_signed_int","_wxPrintQuality",0},
11028 { "_signed_int","_EBool",0},
11029 { "_signed_int","_wxWindowID",0},
11030 { "_signed_int","_int",0},
1d99702e
RD
11031 { "_WXTYPE","_short",0},
11032 { "_WXTYPE","_signed_short",0},
11033 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11034 { "_unsigned_short","_WXTYPE",0},
11035 { "_unsigned_short","_short",0},
68320e40
RD
11036 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject},
11037 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject},
11038 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject},
9416aa89 11039 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9416aa89 11040 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9416aa89 11041 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
6d19860f 11042 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
c7e7022c 11043 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9416aa89 11044 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9416aa89 11045 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
11046 { "_signed_short","_WXTYPE",0},
11047 { "_signed_short","_short",0},
1d99702e 11048 { "_unsigned_char","_byte",0},
68320e40
RD
11049 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl},
11050 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl},
f6bcfd97 11051 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
6d19860f 11052 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
c7e7022c 11053 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 11054 { "_unsigned_int","_wxCoord",0},
1d99702e 11055 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11056 { "_unsigned_int","_time_t",0},
1d99702e
RD
11057 { "_unsigned_int","_size_t",0},
11058 { "_unsigned_int","_uint",0},
11059 { "_unsigned_int","_wxWindowID",0},
11060 { "_unsigned_int","_int",0},
1d99702e
RD
11061 { "_short","_WXTYPE",0},
11062 { "_short","_unsigned_short",0},
11063 { "_short","_signed_short",0},
68320e40 11064 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems},
b1462dfa 11065 { "_wxWindowID","_wxCoord",0},
1d99702e 11066 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11067 { "_wxWindowID","_time_t",0},
1d99702e
RD
11068 { "_wxWindowID","_size_t",0},
11069 { "_wxWindowID","_EBool",0},
11070 { "_wxWindowID","_uint",0},
11071 { "_wxWindowID","_int",0},
11072 { "_wxWindowID","_signed_int",0},
11073 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11074 { "_int","_wxCoord",0},
1d99702e 11075 { "_int","_wxPrintQuality",0},
c368d904 11076 { "_int","_time_t",0},
1d99702e
RD
11077 { "_int","_size_t",0},
11078 { "_int","_EBool",0},
11079 { "_int","_uint",0},
11080 { "_int","_wxWindowID",0},
11081 { "_int","_unsigned_int",0},
11082 { "_int","_signed_int",0},
c368d904
RD
11083 { "_time_t","_wxCoord",0},
11084 { "_time_t","_wxPrintQuality",0},
11085 { "_time_t","_unsigned_int",0},
11086 { "_time_t","_int",0},
11087 { "_time_t","_wxWindowID",0},
11088 { "_time_t","_uint",0},
11089 { "_time_t","_size_t",0},
b1462dfa
RD
11090 { "_wxCoord","_int",0},
11091 { "_wxCoord","_signed_int",0},
11092 { "_wxCoord","_unsigned_int",0},
11093 { "_wxCoord","_wxWindowID",0},
11094 { "_wxCoord","_uint",0},
11095 { "_wxCoord","_EBool",0},
11096 { "_wxCoord","_size_t",0},
c368d904 11097 { "_wxCoord","_time_t",0},
b1462dfa 11098 { "_wxCoord","_wxPrintQuality",0},
6d19860f 11099 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
68320e40
RD
11100 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler},
11101 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler},
f6bcfd97 11102 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
6d19860f 11103 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
c7e7022c 11104 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
68320e40
RD
11105 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow},
11106 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow},
f6bcfd97 11107 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
6d19860f 11108 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
c7e7022c 11109 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
11110{0,0,0}};
11111
8ab979d7
RD
11112static PyObject *SWIG_globals;
11113#ifdef __cplusplus
11114extern "C"
11115#endif
1d99702e 11116SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
11117 PyObject *m, *d;
11118 SWIG_globals = SWIG_newvarlink();
11119 m = Py_InitModule("controls2c", controls2cMethods);
11120 d = PyModule_GetDict(m);
c7e7022c
RD
11121 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
11122 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
11123 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
11124 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
11125 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
11126 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
11127 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
11128 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
11129 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
11130 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
11131 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
11132 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
11133 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
11134 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
11135 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
11136 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
11137 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
6d19860f
RD
11138 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
11139 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
11140 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
11141 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
d8200036 11142 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED));
c7e7022c
RD
11143 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
11144 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
11145 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
11146 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
11147 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
11148 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
11149 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
11150 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
11151 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
11152 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
11153 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
11154 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
11155 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
11156 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
11157 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
11158 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
11159 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
11160 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
11161 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
6d19860f 11162 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
c7e7022c 11163 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
11164 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
11165 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
11166 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
c7e7022c 11167 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
11168 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
11169 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
11170 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
11171 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
11172 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
11173 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
11174 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
11175 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
11176 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
11177 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
11178 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
11179 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
11180 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
11181 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
11182 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
11183 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
11184 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
11185 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
11186 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
11187 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
11188 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
11189 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
11190 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
11191 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
11192 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
11193 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
11194 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
11195 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
11196 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
11197 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
11198 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
11199 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
11200 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
11201 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
11202 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
11203 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
11204 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
11205 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
11206 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
00b6c4e3
RD
11207 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
11208 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
11209 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
11210 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
11211 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
b5a5d647 11212 PyDict_SetItemString(d,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS));
00b6c4e3
RD
11213 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
11214 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
11215 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
b5a5d647 11216 PyDict_SetItemString(d,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT));
00b6c4e3
RD
11217 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
11218 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
11219 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
11220 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
11221 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
11222 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
694759cf
RD
11223 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
11224 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
11225 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
11226 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
11227 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
11228 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
11229 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
11230 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
11231 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
11232 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
11233 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
11234 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
11235 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
11236 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
11237 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
11238 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
11239 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
11240 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
11241 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
1b62f00d
RD
11242 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
11243 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
11244 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
11245 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
11246 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
11247 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
11248 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
11249 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
11250 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
11251 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
11252 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
11253 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
11254 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
11255 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
11256 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
11257 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
11258 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
d1679124 11259 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
68320e40
RD
11260 PyDict_SetItemString(d,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY));
11261 PyDict_SetItemString(d,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST));
11262 PyDict_SetItemString(d,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS));
11263 PyDict_SetItemString(d,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL));
9416aa89 11264
a3fbed81 11265 // Map renamed classes back to their common name for OOR
9416aa89
RD
11266 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11267 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
a3fbed81 11268 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
1d99702e
RD
11269{
11270 int i;
11271 for (i = 0; _swig_mapping[i].n1; i++)
11272 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11273}
8ab979d7 11274}