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