]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls2.cpp
use specific linker flags under Mac OS X when linking executables against the
[wxWidgets.git] / wxPython / src / msw / controls2.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/msw/controls2.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
8ab979d7
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
c368d904 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
185d7c3e 44
8ab979d7
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
8ab979d7
RD
54#define SWIG_init initcontrols2c
55
56#define SWIG_name "controls2c"
57
58#include "helpers.h"
2f90df85
RD
59#ifdef __WXMSW__
60#include <windows.h>
61#endif
8ab979d7
RD
62#include <wx/listctrl.h>
63#include <wx/treectrl.h>
9416aa89 64#include <wx/imaglist.h>
68320e40 65#include <wx/dirctrl.h>
8ab979d7 66
8ab979d7
RD
67
68static PyObject* t_output_helper(PyObject* target, PyObject* o) {
69 PyObject* o2;
70 PyObject* o3;
71
e0672e2f 72 if (!target) {
8ab979d7 73 target = o;
e0672e2f 74 } else if (target == Py_None) {
8ab979d7
RD
75 Py_DECREF(Py_None);
76 target = o;
e0672e2f 77 } else {
8ab979d7
RD
78 if (!PyTuple_Check(target)) {
79 o2 = target;
80 target = PyTuple_New(1);
81 PyTuple_SetItem(target, 0, o2);
82 }
e0672e2f
RD
83 o3 = PyTuple_New(1);
84 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
85
86 o2 = target;
e0672e2f
RD
87 target = PySequence_Concat(o2, o3);
88 Py_DECREF(o2);
8ab979d7
RD
89 Py_DECREF(o3);
90 }
91 return target;
92}
137b5242
RD
93
94 // Put some wx default wxChar* values into wxStrings.
95 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
96 DECLARE_DEF_STRING(ListCtrlNameStr);
97
3413be75 98 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
137b5242
RD
99 DECLARE_DEF_STRING(_TreeCtrlNameStr);
100 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
101
102 static const wxString wxPyEmptyString(wxT(""));
09f3d4e6 103 // C++ Version of a Python aware class
c7e7022c
RD
104class wxPyListCtrl : public wxListCtrl {
105 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
106public:
09f3d4e6 107 wxPyListCtrl() : wxListCtrl() {}
c7e7022c
RD
108 wxPyListCtrl(wxWindow* parent, wxWindowID id,
109 const wxPoint& pos,
110 const wxSize& size,
111 long style,
112 const wxValidator& validator,
137b5242 113 const wxString& name) :
c7e7022c
RD
114 wxListCtrl(parent, id, pos, size, style, validator, name) {}
115
09f3d4e6
RD
116 bool Create(wxWindow* parent, wxWindowID id,
117 const wxPoint& pos,
118 const wxSize& size,
119 long style,
120 const wxValidator& validator,
137b5242 121 const wxString& name) {
09f3d4e6
RD
122 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
123 }
124
c7e7022c
RD
125 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
126 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
127 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
128
129 PYPRIVATE;
130};
131
132IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
133
134IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
135IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
136IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
6d19860f 137 // Python aware sorting function for wxPyListCtrl
f6bcfd97 138 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
dcd38683
RD
139 int retval = 0;
140 PyObject* func = (PyObject*)funcPtr;
4268f798 141 wxPyBeginBlockThreads();
dcd38683
RD
142
143 PyObject* args = Py_BuildValue("(ii)", item1, item2);
144 PyObject* result = PyEval_CallObject(func, args);
145 Py_DECREF(args);
146 if (result) {
147 retval = PyInt_AsLong(result);
148 Py_DECREF(result);
149 }
150
4268f798 151 wxPyEndBlockThreads();
dcd38683
RD
152 return retval;
153 }
154
155
cf694132
RD
156class wxPyTreeItemData : public wxTreeItemData {
157public:
158 wxPyTreeItemData(PyObject* obj = NULL) {
c368d904 159 if (obj == NULL)
cf694132 160 obj = Py_None;
c368d904
RD
161 Py_INCREF(obj);
162 m_obj = obj;
cf694132
RD
163 }
164
165 ~wxPyTreeItemData() {
4268f798 166 wxPyBeginBlockThreads();
c368d904 167 Py_DECREF(m_obj);
4268f798 168 wxPyEndBlockThreads();
cf694132
RD
169 }
170
171 PyObject* GetData() {
172 Py_INCREF(m_obj);
173 return m_obj;
174 }
175
176 void SetData(PyObject* obj) {
4268f798 177 wxPyBeginBlockThreads();
cf694132 178 Py_DECREF(m_obj);
4268f798 179 wxPyEndBlockThreads();
cf694132
RD
180 m_obj = obj;
181 Py_INCREF(obj);
182 }
183
184 PyObject* m_obj;
185};
09f3d4e6 186 // C++ version of Python aware wxTreeCtrl
f6bcfd97 187class wxPyTreeCtrl : public wxTreeCtrl {
3b36695d 188 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
f6bcfd97 189public:
09f3d4e6 190 wxPyTreeCtrl() : wxTreeCtrl() {}
f6bcfd97
BP
191 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
192 const wxPoint& pos,
193 const wxSize& size,
194 long style,
195 const wxValidator& validator,
137b5242 196 const wxString& name) :
f6bcfd97
BP
197 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
198
09f3d4e6
RD
199 bool Create(wxWindow *parent, wxWindowID id,
200 const wxPoint& pos,
201 const wxSize& size,
202 long style,
203 const wxValidator& validator,
137b5242 204 const wxString& name) {
09f3d4e6
RD
205 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
206 }
207
208
f6bcfd97
BP
209 int OnCompareItems(const wxTreeItemId& item1,
210 const wxTreeItemId& item2) {
211 int rval = 0;
19a97bd6 212 bool found;
4268f798 213 wxPyBeginBlockThreads();
19a97bd6 214 if ((found = m_myInst.findCallback("OnCompareItems")))
f6bcfd97
BP
215 rval = m_myInst.callCallback(Py_BuildValue(
216 "(OO)",
217 wxPyConstructObject((void*)&item1, "wxTreeItemId"),
218 wxPyConstructObject((void*)&item2, "wxTreeItemId")));
4268f798 219 wxPyEndBlockThreads();
19a97bd6 220 if (! found)
f6bcfd97 221 rval = wxTreeCtrl::OnCompareItems(item1, item2);
f6bcfd97
BP
222 return rval;
223 }
224 PYPRIVATE;
225};
226
3b36695d
RD
227IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
228
1d99702e
RD
229#ifdef __cplusplus
230extern "C" {
231#endif
c7e7022c 232#define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97 233static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 234 PyObject * _resultobj;
f6bcfd97 235 wxListItemAttr * _result;
c7e7022c
RD
236 wxColour * _arg0 = (wxColour *) &wxNullColour;
237 wxColour * _arg1 = (wxColour *) &wxNullColour;
238 wxFont * _arg2 = (wxFont *) &wxNullFont;
239 wxColour temp;
240 PyObject * _obj0 = 0;
241 wxColour temp0;
242 PyObject * _obj1 = 0;
243 PyObject * _argo2 = 0;
244 char *_kwnames[] = { "colText","colBack","font", NULL };
f6bcfd97 245 char _ptemp[128];
af309447
RD
246
247 self = self;
c7e7022c
RD
248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxListItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
249 return NULL;
250 if (_obj0)
251{
252 _arg0 = &temp;
253 if (! wxColour_helper(_obj0, &_arg0))
254 return NULL;
255}
256 if (_obj1)
257{
258 _arg1 = &temp0;
259 if (! wxColour_helper(_obj1, &_arg1))
260 return NULL;
261}
262 if (_argo2) {
263 if (_argo2 == Py_None) { _arg2 = NULL; }
264 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
af309447 266 return NULL;
c7e7022c
RD
267 }
268 }
cf694132 269{
4268f798 270 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 271 _result = (wxListItemAttr *)new_wxListItemAttr(*_arg0,*_arg1,*_arg2);
cf694132 272
4268f798 273 wxPyEndAllowThreads(__tstate);
493f1553 274 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
275} if (_result) {
276 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
277 _resultobj = Py_BuildValue("s",_ptemp);
278 } else {
279 Py_INCREF(Py_None);
280 _resultobj = Py_None;
281 }
af309447
RD
282 return _resultobj;
283}
284
f6bcfd97
BP
285#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
286static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 287 PyObject * _resultobj;
f6bcfd97
BP
288 wxListItemAttr * _arg0;
289 wxColour * _arg1;
1d99702e 290 PyObject * _argo0 = 0;
f6bcfd97
BP
291 wxColour temp;
292 PyObject * _obj1 = 0;
293 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
294
295 self = self;
f6bcfd97 296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 297 return NULL;
1d99702e
RD
298 if (_argo0) {
299 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
302 return NULL;
303 }
304 }
f6bcfd97
BP
305{
306 _arg1 = &temp;
307 if (! wxColour_helper(_obj1, &_arg1))
308 return NULL;
309}
cf694132 310{
4268f798 311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 312 wxListItemAttr_SetTextColour(_arg0,*_arg1);
cf694132 313
4268f798 314 wxPyEndAllowThreads(__tstate);
493f1553 315 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
316} Py_INCREF(Py_None);
317 _resultobj = Py_None;
8ab979d7
RD
318 return _resultobj;
319}
320
f6bcfd97
BP
321#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
322static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 323 PyObject * _resultobj;
f6bcfd97
BP
324 wxListItemAttr * _arg0;
325 wxColour * _arg1;
1d99702e 326 PyObject * _argo0 = 0;
f6bcfd97
BP
327 wxColour temp;
328 PyObject * _obj1 = 0;
329 char *_kwnames[] = { "self","colBack", NULL };
af309447
RD
330
331 self = self;
f6bcfd97 332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
af309447 333 return NULL;
1d99702e
RD
334 if (_argo0) {
335 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
338 return NULL;
339 }
340 }
f6bcfd97
BP
341{
342 _arg1 = &temp;
343 if (! wxColour_helper(_obj1, &_arg1))
344 return NULL;
345}
cf694132 346{
4268f798 347 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 348 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132 349
4268f798 350 wxPyEndAllowThreads(__tstate);
493f1553 351 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
352} Py_INCREF(Py_None);
353 _resultobj = Py_None;
af309447
RD
354 return _resultobj;
355}
356
f6bcfd97
BP
357#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
358static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 359 PyObject * _resultobj;
f6bcfd97
BP
360 wxListItemAttr * _arg0;
361 wxFont * _arg1;
1d99702e 362 PyObject * _argo0 = 0;
f6bcfd97
BP
363 PyObject * _argo1 = 0;
364 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
365
366 self = self;
f6bcfd97 367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 368 return NULL;
1d99702e
RD
369 if (_argo0) {
370 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
373 return NULL;
374 }
375 }
376 if (_argo1) {
377 if (_argo1 == Py_None) { _arg1 = NULL; }
378 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
379 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
8ab979d7
RD
380 return NULL;
381 }
382 }
cf694132 383{
4268f798 384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 385 wxListItemAttr_SetFont(_arg0,*_arg1);
cf694132 386
4268f798 387 wxPyEndAllowThreads(__tstate);
493f1553 388 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
389} Py_INCREF(Py_None);
390 _resultobj = Py_None;
8ab979d7
RD
391 return _resultobj;
392}
393
f6bcfd97
BP
394#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
395static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 396 PyObject * _resultobj;
f6bcfd97
BP
397 bool _result;
398 wxListItemAttr * _arg0;
1d99702e 399 PyObject * _argo0 = 0;
f6bcfd97 400 char *_kwnames[] = { "self", NULL };
af309447
RD
401
402 self = self;
f6bcfd97 403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
af309447 404 return NULL;
1d99702e
RD
405 if (_argo0) {
406 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
af309447
RD
409 return NULL;
410 }
411 }
cf694132 412{
4268f798 413 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 414 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
cf694132 415
4268f798 416 wxPyEndAllowThreads(__tstate);
493f1553 417 if (PyErr_Occurred()) return NULL;
cf694132 418} _resultobj = Py_BuildValue("i",_result);
af309447
RD
419 return _resultobj;
420}
421
f6bcfd97
BP
422#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
423static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 424 PyObject * _resultobj;
f6bcfd97
BP
425 bool _result;
426 wxListItemAttr * _arg0;
1d99702e 427 PyObject * _argo0 = 0;
efc5f224 428 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
429
430 self = self;
f6bcfd97 431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
8ab979d7 432 return NULL;
1d99702e
RD
433 if (_argo0) {
434 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
437 return NULL;
438 }
439 }
cf694132 440{
4268f798 441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 442 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
cf694132 443
4268f798 444 wxPyEndAllowThreads(__tstate);
493f1553 445 if (PyErr_Occurred()) return NULL;
cf694132 446} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
447 return _resultobj;
448}
449
f6bcfd97
BP
450#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
451static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 452 PyObject * _resultobj;
f6bcfd97
BP
453 bool _result;
454 wxListItemAttr * _arg0;
1d99702e 455 PyObject * _argo0 = 0;
f6bcfd97 456 char *_kwnames[] = { "self", NULL };
af309447
RD
457
458 self = self;
f6bcfd97 459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
af309447 460 return NULL;
1d99702e
RD
461 if (_argo0) {
462 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
af309447
RD
465 return NULL;
466 }
467 }
cf694132 468{
4268f798 469 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 470 _result = (bool )wxListItemAttr_HasFont(_arg0);
cf694132 471
4268f798 472 wxPyEndAllowThreads(__tstate);
493f1553 473 if (PyErr_Occurred()) return NULL;
f6bcfd97 474} _resultobj = Py_BuildValue("i",_result);
af309447
RD
475 return _resultobj;
476}
477
f6bcfd97
BP
478#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
479static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 480 PyObject * _resultobj;
f6bcfd97
BP
481 wxColour * _result;
482 wxListItemAttr * _arg0;
1d99702e 483 PyObject * _argo0 = 0;
efc5f224 484 char *_kwnames[] = { "self", NULL };
f6bcfd97 485 char _ptemp[128];
8ab979d7
RD
486
487 self = self;
f6bcfd97 488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 489 return NULL;
1d99702e
RD
490 if (_argo0) {
491 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
494 return NULL;
495 }
496 }
cf694132 497{
4268f798 498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 499 _result = new wxColour (wxListItemAttr_GetTextColour(_arg0));
cf694132 500
4268f798 501 wxPyEndAllowThreads(__tstate);
493f1553 502 if (PyErr_Occurred()) return NULL;
c5943253
RD
503} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
504 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
505 return _resultobj;
506}
507
f6bcfd97
BP
508#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
509static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 510 PyObject * _resultobj;
f6bcfd97
BP
511 wxColour * _result;
512 wxListItemAttr * _arg0;
1d99702e 513 PyObject * _argo0 = 0;
f6bcfd97
BP
514 char *_kwnames[] = { "self", NULL };
515 char _ptemp[128];
af309447
RD
516
517 self = self;
f6bcfd97 518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
af309447 519 return NULL;
1d99702e
RD
520 if (_argo0) {
521 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
524 return NULL;
525 }
526 }
cf694132 527{
4268f798 528 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 529 _result = new wxColour (wxListItemAttr_GetBackgroundColour(_arg0));
cf694132 530
4268f798 531 wxPyEndAllowThreads(__tstate);
493f1553 532 if (PyErr_Occurred()) return NULL;
c5943253
RD
533} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
534 _resultobj = Py_BuildValue("s",_ptemp);
af309447
RD
535 return _resultobj;
536}
537
f6bcfd97
BP
538#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
539static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 540 PyObject * _resultobj;
f6bcfd97
BP
541 wxFont * _result;
542 wxListItemAttr * _arg0;
1d99702e 543 PyObject * _argo0 = 0;
efc5f224 544 char *_kwnames[] = { "self", NULL };
f6bcfd97 545 char _ptemp[128];
8ab979d7
RD
546
547 self = self;
f6bcfd97 548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
8ab979d7 549 return NULL;
1d99702e
RD
550 if (_argo0) {
551 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
8ab979d7
RD
554 return NULL;
555 }
556 }
cf694132 557{
4268f798 558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 559 _result = new wxFont (wxListItemAttr_GetFont(_arg0));
cf694132 560
4268f798 561 wxPyEndAllowThreads(__tstate);
493f1553 562 if (PyErr_Occurred()) return NULL;
c5943253
RD
563} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
564 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
565 return _resultobj;
566}
567
9416aa89
RD
568static void *SwigwxListItemTowxObject(void *ptr) {
569 wxListItem *src;
570 wxObject *dest;
571 src = (wxListItem *) ptr;
572 dest = (wxObject *) src;
573 return (void *) dest;
574}
575
f6bcfd97
BP
576#define new_wxListItem() (new wxListItem())
577static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 578 PyObject * _resultobj;
f6bcfd97
BP
579 wxListItem * _result;
580 char *_kwnames[] = { NULL };
581 char _ptemp[128];
af309447
RD
582
583 self = self;
f6bcfd97 584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
af309447 585 return NULL;
af309447 586{
4268f798 587 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 588 _result = (wxListItem *)new_wxListItem();
cf694132 589
4268f798 590 wxPyEndAllowThreads(__tstate);
493f1553 591 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
592} if (_result) {
593 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
594 _resultobj = Py_BuildValue("s",_ptemp);
595 } else {
596 Py_INCREF(Py_None);
597 _resultobj = Py_None;
598 }
af309447
RD
599 return _resultobj;
600}
601
f6bcfd97
BP
602#define delete_wxListItem(_swigobj) (delete _swigobj)
603static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 604 PyObject * _resultobj;
8ab979d7 605 wxListItem * _arg0;
1d99702e 606 PyObject * _argo0 = 0;
efc5f224 607 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
608
609 self = self;
f6bcfd97 610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
8ab979d7 611 return NULL;
1d99702e
RD
612 if (_argo0) {
613 if (_argo0 == Py_None) { _arg0 = NULL; }
614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
8ab979d7
RD
616 return NULL;
617 }
618 }
8ab979d7 619{
4268f798 620 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 621 delete_wxListItem(_arg0);
cf694132 622
4268f798 623 wxPyEndAllowThreads(__tstate);
493f1553 624 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
625} Py_INCREF(Py_None);
626 _resultobj = Py_None;
8ab979d7
RD
627 return _resultobj;
628}
629
f6bcfd97
BP
630#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
631static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 632 PyObject * _resultobj;
af309447 633 wxListItem * _arg0;
1d99702e 634 PyObject * _argo0 = 0;
f6bcfd97 635 char *_kwnames[] = { "self", NULL };
af309447
RD
636
637 self = self;
f6bcfd97 638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
af309447 639 return NULL;
1d99702e
RD
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
af309447
RD
644 return NULL;
645 }
646 }
cf694132 647{
4268f798 648 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 649 wxListItem_Clear(_arg0);
cf694132 650
4268f798 651 wxPyEndAllowThreads(__tstate);
493f1553 652 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
653} Py_INCREF(Py_None);
654 _resultobj = Py_None;
af309447
RD
655 return _resultobj;
656}
657
f6bcfd97
BP
658#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
659static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 660 PyObject * _resultobj;
8ab979d7 661 wxListItem * _arg0;
1d99702e 662 PyObject * _argo0 = 0;
efc5f224 663 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
664
665 self = self;
f6bcfd97 666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
8ab979d7 667 return NULL;
1d99702e
RD
668 if (_argo0) {
669 if (_argo0 == Py_None) { _arg0 = NULL; }
670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
8ab979d7
RD
672 return NULL;
673 }
674 }
cf694132 675{
4268f798 676 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 677 wxListItem_ClearAttributes(_arg0);
cf694132 678
4268f798 679 wxPyEndAllowThreads(__tstate);
493f1553 680 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
681} Py_INCREF(Py_None);
682 _resultobj = Py_None;
683 return _resultobj;
684}
685
686#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
687static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
688 PyObject * _resultobj;
689 wxListItem * _arg0;
690 long _arg1;
691 PyObject * _argo0 = 0;
692 char *_kwnames[] = { "self","mask", NULL };
693
694 self = self;
695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
696 return NULL;
697 if (_argo0) {
698 if (_argo0 == Py_None) { _arg0 = NULL; }
699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
701 return NULL;
702 }
703 }
704{
4268f798 705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 706 wxListItem_SetMask(_arg0,_arg1);
f6bcfd97 707
4268f798 708 wxPyEndAllowThreads(__tstate);
493f1553 709 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
710} Py_INCREF(Py_None);
711 _resultobj = Py_None;
712 return _resultobj;
713}
714
715#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
716static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
717 PyObject * _resultobj;
718 wxListItem * _arg0;
719 long _arg1;
720 PyObject * _argo0 = 0;
721 char *_kwnames[] = { "self","id", NULL };
722
723 self = self;
724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
725 return NULL;
726 if (_argo0) {
727 if (_argo0 == Py_None) { _arg0 = NULL; }
728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
730 return NULL;
731 }
732 }
733{
4268f798 734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 735 wxListItem_SetId(_arg0,_arg1);
f6bcfd97 736
4268f798 737 wxPyEndAllowThreads(__tstate);
493f1553 738 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
739} Py_INCREF(Py_None);
740 _resultobj = Py_None;
741 return _resultobj;
742}
743
744#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
745static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
746 PyObject * _resultobj;
747 wxListItem * _arg0;
748 int _arg1;
749 PyObject * _argo0 = 0;
750 char *_kwnames[] = { "self","col", NULL };
751
752 self = self;
753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
754 return NULL;
755 if (_argo0) {
756 if (_argo0 == Py_None) { _arg0 = NULL; }
757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
759 return NULL;
760 }
761 }
762{
4268f798 763 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 764 wxListItem_SetColumn(_arg0,_arg1);
f6bcfd97 765
4268f798 766 wxPyEndAllowThreads(__tstate);
493f1553 767 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
768} Py_INCREF(Py_None);
769 _resultobj = Py_None;
770 return _resultobj;
771}
772
773#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
774static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
775 PyObject * _resultobj;
776 wxListItem * _arg0;
777 long _arg1;
778 PyObject * _argo0 = 0;
779 char *_kwnames[] = { "self","state", NULL };
780
781 self = self;
782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
783 return NULL;
784 if (_argo0) {
785 if (_argo0 == Py_None) { _arg0 = NULL; }
786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
788 return NULL;
789 }
790 }
791{
4268f798 792 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 793 wxListItem_SetState(_arg0,_arg1);
f6bcfd97 794
4268f798 795 wxPyEndAllowThreads(__tstate);
493f1553 796 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
797} Py_INCREF(Py_None);
798 _resultobj = Py_None;
799 return _resultobj;
800}
801
802#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
803static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
804 PyObject * _resultobj;
805 wxListItem * _arg0;
806 long _arg1;
807 PyObject * _argo0 = 0;
808 char *_kwnames[] = { "self","stateMask", NULL };
809
810 self = self;
811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
812 return NULL;
813 if (_argo0) {
814 if (_argo0 == Py_None) { _arg0 = NULL; }
815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
817 return NULL;
818 }
819 }
820{
4268f798 821 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 822 wxListItem_SetStateMask(_arg0,_arg1);
f6bcfd97 823
4268f798 824 wxPyEndAllowThreads(__tstate);
493f1553 825 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
826} Py_INCREF(Py_None);
827 _resultobj = Py_None;
828 return _resultobj;
829}
830
831#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
832static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
833 PyObject * _resultobj;
834 wxListItem * _arg0;
835 wxString * _arg1;
836 PyObject * _argo0 = 0;
837 PyObject * _obj1 = 0;
838 char *_kwnames[] = { "self","text", NULL };
839
840 self = self;
841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
842 return NULL;
843 if (_argo0) {
844 if (_argo0 == Py_None) { _arg0 = NULL; }
845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
847 return NULL;
848 }
849 }
850{
c8bc7bb8
RD
851 _arg1 = wxString_in_helper(_obj1);
852 if (_arg1 == NULL)
f6bcfd97 853 return NULL;
f6bcfd97
BP
854}
855{
4268f798 856 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 857 wxListItem_SetText(_arg0,*_arg1);
f6bcfd97 858
4268f798 859 wxPyEndAllowThreads(__tstate);
493f1553 860 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
861} Py_INCREF(Py_None);
862 _resultobj = Py_None;
863{
864 if (_obj1)
865 delete _arg1;
866}
867 return _resultobj;
868}
869
870#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
871static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
872 PyObject * _resultobj;
873 wxListItem * _arg0;
874 int _arg1;
875 PyObject * _argo0 = 0;
876 char *_kwnames[] = { "self","image", NULL };
877
878 self = self;
879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
880 return NULL;
881 if (_argo0) {
882 if (_argo0 == Py_None) { _arg0 = NULL; }
883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
885 return NULL;
886 }
887 }
888{
4268f798 889 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 890 wxListItem_SetImage(_arg0,_arg1);
f6bcfd97 891
4268f798 892 wxPyEndAllowThreads(__tstate);
493f1553 893 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
894} Py_INCREF(Py_None);
895 _resultobj = Py_None;
896 return _resultobj;
897}
898
899#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
900static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject * _resultobj;
902 wxListItem * _arg0;
903 long _arg1;
904 PyObject * _argo0 = 0;
905 char *_kwnames[] = { "self","data", NULL };
906
907 self = self;
908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
909 return NULL;
910 if (_argo0) {
911 if (_argo0 == Py_None) { _arg0 = NULL; }
912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
914 return NULL;
915 }
916 }
917{
4268f798 918 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 919 wxListItem_SetData(_arg0,_arg1);
f6bcfd97 920
4268f798 921 wxPyEndAllowThreads(__tstate);
493f1553 922 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
923} Py_INCREF(Py_None);
924 _resultobj = Py_None;
925 return _resultobj;
926}
927
928#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
929static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
930 PyObject * _resultobj;
931 wxListItem * _arg0;
932 int _arg1;
933 PyObject * _argo0 = 0;
934 char *_kwnames[] = { "self","width", NULL };
935
936 self = self;
937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
938 return NULL;
939 if (_argo0) {
940 if (_argo0 == Py_None) { _arg0 = NULL; }
941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
943 return NULL;
944 }
945 }
946{
4268f798 947 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 948 wxListItem_SetWidth(_arg0,_arg1);
f6bcfd97 949
4268f798 950 wxPyEndAllowThreads(__tstate);
493f1553 951 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
952} Py_INCREF(Py_None);
953 _resultobj = Py_None;
954 return _resultobj;
955}
956
957#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
958static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
959 PyObject * _resultobj;
960 wxListItem * _arg0;
961 wxListColumnFormat _arg1;
962 PyObject * _argo0 = 0;
963 char *_kwnames[] = { "self","align", NULL };
964
965 self = self;
966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
967 return NULL;
968 if (_argo0) {
969 if (_argo0 == Py_None) { _arg0 = NULL; }
970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
972 return NULL;
973 }
974 }
975{
4268f798 976 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 977 wxListItem_SetAlign(_arg0,_arg1);
f6bcfd97 978
4268f798 979 wxPyEndAllowThreads(__tstate);
493f1553 980 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
981} Py_INCREF(Py_None);
982 _resultobj = Py_None;
983 return _resultobj;
984}
985
986#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
987static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
988 PyObject * _resultobj;
989 wxListItem * _arg0;
990 wxColour * _arg1;
991 PyObject * _argo0 = 0;
992 wxColour temp;
993 PyObject * _obj1 = 0;
994 char *_kwnames[] = { "self","colText", NULL };
995
996 self = self;
997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
998 return NULL;
999 if (_argo0) {
1000 if (_argo0 == Py_None) { _arg0 = NULL; }
1001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1003 return NULL;
1004 }
1005 }
1006{
1007 _arg1 = &temp;
1008 if (! wxColour_helper(_obj1, &_arg1))
1009 return NULL;
1010}
1011{
4268f798 1012 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1013 wxListItem_SetTextColour(_arg0,*_arg1);
f6bcfd97 1014
4268f798 1015 wxPyEndAllowThreads(__tstate);
493f1553 1016 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1017} Py_INCREF(Py_None);
1018 _resultobj = Py_None;
1019 return _resultobj;
1020}
1021
1022#define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1023static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1024 PyObject * _resultobj;
1025 wxListItem * _arg0;
1026 wxColour * _arg1;
1027 PyObject * _argo0 = 0;
1028 wxColour temp;
1029 PyObject * _obj1 = 0;
1030 char *_kwnames[] = { "self","colBack", NULL };
1031
1032 self = self;
1033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1034 return NULL;
1035 if (_argo0) {
1036 if (_argo0 == Py_None) { _arg0 = NULL; }
1037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1039 return NULL;
1040 }
1041 }
1042{
1043 _arg1 = &temp;
1044 if (! wxColour_helper(_obj1, &_arg1))
1045 return NULL;
1046}
1047{
4268f798 1048 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1049 wxListItem_SetBackgroundColour(_arg0,*_arg1);
f6bcfd97 1050
4268f798 1051 wxPyEndAllowThreads(__tstate);
493f1553 1052 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1053} Py_INCREF(Py_None);
1054 _resultobj = Py_None;
1055 return _resultobj;
1056}
1057
1058#define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1059static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1060 PyObject * _resultobj;
1061 wxListItem * _arg0;
1062 wxFont * _arg1;
1063 PyObject * _argo0 = 0;
1064 PyObject * _argo1 = 0;
1065 char *_kwnames[] = { "self","font", NULL };
1066
1067 self = self;
1068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1069 return NULL;
1070 if (_argo0) {
1071 if (_argo0 == Py_None) { _arg0 = NULL; }
1072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1074 return NULL;
1075 }
1076 }
1077 if (_argo1) {
1078 if (_argo1 == Py_None) { _arg1 = NULL; }
1079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1081 return NULL;
1082 }
1083 }
1084{
4268f798 1085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1086 wxListItem_SetFont(_arg0,*_arg1);
f6bcfd97 1087
4268f798 1088 wxPyEndAllowThreads(__tstate);
493f1553 1089 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1090} Py_INCREF(Py_None);
1091 _resultobj = Py_None;
1092 return _resultobj;
1093}
1094
1095#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1096static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1097 PyObject * _resultobj;
1098 long _result;
1099 wxListItem * _arg0;
1100 PyObject * _argo0 = 0;
1101 char *_kwnames[] = { "self", NULL };
1102
1103 self = self;
1104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1105 return NULL;
1106 if (_argo0) {
1107 if (_argo0 == Py_None) { _arg0 = NULL; }
1108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1110 return NULL;
1111 }
1112 }
1113{
4268f798 1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1115 _result = (long )wxListItem_GetMask(_arg0);
f6bcfd97 1116
4268f798 1117 wxPyEndAllowThreads(__tstate);
493f1553 1118 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1119} _resultobj = Py_BuildValue("l",_result);
1120 return _resultobj;
1121}
1122
1123#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1124static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1125 PyObject * _resultobj;
1126 long _result;
1127 wxListItem * _arg0;
1128 PyObject * _argo0 = 0;
1129 char *_kwnames[] = { "self", NULL };
1130
1131 self = self;
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1133 return NULL;
1134 if (_argo0) {
1135 if (_argo0 == Py_None) { _arg0 = NULL; }
1136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1138 return NULL;
1139 }
1140 }
1141{
4268f798 1142 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1143 _result = (long )wxListItem_GetId(_arg0);
f6bcfd97 1144
4268f798 1145 wxPyEndAllowThreads(__tstate);
493f1553 1146 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1147} _resultobj = Py_BuildValue("l",_result);
1148 return _resultobj;
1149}
1150
1151#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1152static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1153 PyObject * _resultobj;
1154 int _result;
1155 wxListItem * _arg0;
1156 PyObject * _argo0 = 0;
1157 char *_kwnames[] = { "self", NULL };
1158
1159 self = self;
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1161 return NULL;
1162 if (_argo0) {
1163 if (_argo0 == Py_None) { _arg0 = NULL; }
1164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1166 return NULL;
1167 }
1168 }
1169{
4268f798 1170 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1171 _result = (int )wxListItem_GetColumn(_arg0);
f6bcfd97 1172
4268f798 1173 wxPyEndAllowThreads(__tstate);
493f1553 1174 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1175} _resultobj = Py_BuildValue("i",_result);
1176 return _resultobj;
1177}
1178
1179#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1180static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1181 PyObject * _resultobj;
1182 long _result;
1183 wxListItem * _arg0;
1184 PyObject * _argo0 = 0;
1185 char *_kwnames[] = { "self", NULL };
1186
1187 self = self;
1188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1189 return NULL;
1190 if (_argo0) {
1191 if (_argo0 == Py_None) { _arg0 = NULL; }
1192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1194 return NULL;
1195 }
1196 }
1197{
4268f798 1198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1199 _result = (long )wxListItem_GetState(_arg0);
f6bcfd97 1200
4268f798 1201 wxPyEndAllowThreads(__tstate);
493f1553 1202 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1203} _resultobj = Py_BuildValue("l",_result);
1204 return _resultobj;
1205}
1206
1207#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1208static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1209 PyObject * _resultobj;
1210 wxString * _result;
1211 wxListItem * _arg0;
1212 PyObject * _argo0 = 0;
1213 char *_kwnames[] = { "self", NULL };
1214
1215 self = self;
1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1217 return NULL;
1218 if (_argo0) {
1219 if (_argo0 == Py_None) { _arg0 = NULL; }
1220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1222 return NULL;
1223 }
1224 }
1225{
4268f798 1226 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1227 const wxString & _result_ref = wxListItem_GetText(_arg0);
f6bcfd97
BP
1228 _result = (wxString *) &_result_ref;
1229
4268f798 1230 wxPyEndAllowThreads(__tstate);
493f1553 1231 if (PyErr_Occurred()) return NULL;
f6bcfd97 1232}{
c8bc7bb8
RD
1233#if wxUSE_UNICODE
1234 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1235#else
f6bcfd97 1236 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1237#endif
f6bcfd97
BP
1238}
1239 return _resultobj;
1240}
1241
1242#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1243static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject * _resultobj;
1245 int _result;
1246 wxListItem * _arg0;
1247 PyObject * _argo0 = 0;
1248 char *_kwnames[] = { "self", NULL };
1249
1250 self = self;
1251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1252 return NULL;
1253 if (_argo0) {
1254 if (_argo0 == Py_None) { _arg0 = NULL; }
1255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1257 return NULL;
1258 }
1259 }
1260{
4268f798 1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1262 _result = (int )wxListItem_GetImage(_arg0);
f6bcfd97 1263
4268f798 1264 wxPyEndAllowThreads(__tstate);
493f1553 1265 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1266} _resultobj = Py_BuildValue("i",_result);
1267 return _resultobj;
1268}
1269
1270#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1271static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 long _result;
1274 wxListItem * _arg0;
1275 PyObject * _argo0 = 0;
1276 char *_kwnames[] = { "self", NULL };
1277
1278 self = self;
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1280 return NULL;
1281 if (_argo0) {
1282 if (_argo0 == Py_None) { _arg0 = NULL; }
1283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1285 return NULL;
1286 }
1287 }
1288{
4268f798 1289 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1290 _result = (long )wxListItem_GetData(_arg0);
f6bcfd97 1291
4268f798 1292 wxPyEndAllowThreads(__tstate);
493f1553 1293 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1294} _resultobj = Py_BuildValue("l",_result);
1295 return _resultobj;
1296}
1297
1298#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1299static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject * _resultobj;
1301 int _result;
1302 wxListItem * _arg0;
1303 PyObject * _argo0 = 0;
1304 char *_kwnames[] = { "self", NULL };
1305
1306 self = self;
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1308 return NULL;
1309 if (_argo0) {
1310 if (_argo0 == Py_None) { _arg0 = NULL; }
1311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1313 return NULL;
1314 }
1315 }
1316{
4268f798 1317 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1318 _result = (int )wxListItem_GetWidth(_arg0);
f6bcfd97 1319
4268f798 1320 wxPyEndAllowThreads(__tstate);
493f1553 1321 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1322} _resultobj = Py_BuildValue("i",_result);
1323 return _resultobj;
1324}
1325
1326#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1327static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1328 PyObject * _resultobj;
1329 wxListColumnFormat _result;
1330 wxListItem * _arg0;
1331 PyObject * _argo0 = 0;
1332 char *_kwnames[] = { "self", NULL };
1333
1334 self = self;
1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1336 return NULL;
1337 if (_argo0) {
1338 if (_argo0 == Py_None) { _arg0 = NULL; }
1339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1341 return NULL;
1342 }
1343 }
1344{
4268f798 1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1346 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
f6bcfd97 1347
4268f798 1348 wxPyEndAllowThreads(__tstate);
493f1553 1349 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1350} _resultobj = Py_BuildValue("i",_result);
1351 return _resultobj;
1352}
1353
1354#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1355static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject * _resultobj;
1357 wxListItemAttr * _result;
1358 wxListItem * _arg0;
1359 PyObject * _argo0 = 0;
1360 char *_kwnames[] = { "self", NULL };
1361 char _ptemp[128];
1362
1363 self = self;
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1365 return NULL;
1366 if (_argo0) {
1367 if (_argo0 == Py_None) { _arg0 = NULL; }
1368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1370 return NULL;
1371 }
1372 }
1373{
4268f798 1374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1375 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
f6bcfd97 1376
4268f798 1377 wxPyEndAllowThreads(__tstate);
493f1553 1378 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1379} if (_result) {
1380 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1381 _resultobj = Py_BuildValue("s",_ptemp);
1382 } else {
1383 Py_INCREF(Py_None);
1384 _resultobj = Py_None;
1385 }
1386 return _resultobj;
1387}
1388
1389#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1390static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject * _resultobj;
1392 bool _result;
1393 wxListItem * _arg0;
1394 PyObject * _argo0 = 0;
1395 char *_kwnames[] = { "self", NULL };
1396
1397 self = self;
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1399 return NULL;
1400 if (_argo0) {
1401 if (_argo0 == Py_None) { _arg0 = NULL; }
1402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1404 return NULL;
1405 }
1406 }
1407{
4268f798 1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1409 _result = (bool )wxListItem_HasAttributes(_arg0);
f6bcfd97 1410
4268f798 1411 wxPyEndAllowThreads(__tstate);
493f1553 1412 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1413} _resultobj = Py_BuildValue("i",_result);
1414 return _resultobj;
1415}
1416
1417#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1418static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1419 PyObject * _resultobj;
1420 wxColour * _result;
1421 wxListItem * _arg0;
1422 PyObject * _argo0 = 0;
1423 char *_kwnames[] = { "self", NULL };
1424 char _ptemp[128];
1425
1426 self = self;
1427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1428 return NULL;
1429 if (_argo0) {
1430 if (_argo0 == Py_None) { _arg0 = NULL; }
1431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1433 return NULL;
1434 }
1435 }
1436{
4268f798 1437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1438 _result = new wxColour (wxListItem_GetTextColour(_arg0));
f6bcfd97 1439
4268f798 1440 wxPyEndAllowThreads(__tstate);
493f1553 1441 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1442} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1443 _resultobj = Py_BuildValue("s",_ptemp);
1444 return _resultobj;
1445}
1446
1447#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1448static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject * _resultobj;
1450 wxColour * _result;
1451 wxListItem * _arg0;
1452 PyObject * _argo0 = 0;
1453 char *_kwnames[] = { "self", NULL };
1454 char _ptemp[128];
1455
1456 self = self;
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1458 return NULL;
1459 if (_argo0) {
1460 if (_argo0 == Py_None) { _arg0 = NULL; }
1461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1463 return NULL;
1464 }
1465 }
1466{
4268f798 1467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1468 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
f6bcfd97 1469
4268f798 1470 wxPyEndAllowThreads(__tstate);
493f1553 1471 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1472} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1473 _resultobj = Py_BuildValue("s",_ptemp);
1474 return _resultobj;
1475}
1476
1477#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1478static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject * _resultobj;
1480 wxFont * _result;
1481 wxListItem * _arg0;
1482 PyObject * _argo0 = 0;
1483 char *_kwnames[] = { "self", NULL };
1484 char _ptemp[128];
1485
1486 self = self;
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1488 return NULL;
1489 if (_argo0) {
1490 if (_argo0 == Py_None) { _arg0 = NULL; }
1491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1493 return NULL;
1494 }
1495 }
1496{
4268f798 1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1498 _result = new wxFont (wxListItem_GetFont(_arg0));
f6bcfd97 1499
4268f798 1500 wxPyEndAllowThreads(__tstate);
493f1553 1501 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1502} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1503 _resultobj = Py_BuildValue("s",_ptemp);
1504 return _resultobj;
1505}
1506
1507#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1508static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1509 PyObject * _resultobj;
1510 long _result;
1511 wxListItem * _arg0;
1512 long _arg1;
1513 PyObject * _argo0 = 0;
1514 char *_kwnames[] = { "self","m_mask", NULL };
1515
1516 self = self;
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1518 return NULL;
1519 if (_argo0) {
1520 if (_argo0 == Py_None) { _arg0 = NULL; }
1521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1523 return NULL;
1524 }
1525 }
1526{
4268f798 1527 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1528 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
f6bcfd97 1529
4268f798 1530 wxPyEndAllowThreads(__tstate);
493f1553 1531 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1532} _resultobj = Py_BuildValue("l",_result);
1533 return _resultobj;
1534}
1535
1536#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1537static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1538 PyObject * _resultobj;
1539 long _result;
1540 wxListItem * _arg0;
1541 PyObject * _argo0 = 0;
1542 char *_kwnames[] = { "self", NULL };
1543
1544 self = self;
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1546 return NULL;
1547 if (_argo0) {
1548 if (_argo0 == Py_None) { _arg0 = NULL; }
1549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1551 return NULL;
1552 }
1553 }
1554{
4268f798 1555 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1556 _result = (long )wxListItem_m_mask_get(_arg0);
f6bcfd97 1557
4268f798 1558 wxPyEndAllowThreads(__tstate);
493f1553 1559 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1560} _resultobj = Py_BuildValue("l",_result);
1561 return _resultobj;
1562}
1563
1564#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1565static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject * _resultobj;
1567 long _result;
1568 wxListItem * _arg0;
1569 long _arg1;
1570 PyObject * _argo0 = 0;
1571 char *_kwnames[] = { "self","m_itemId", NULL };
1572
1573 self = self;
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
1575 return NULL;
1576 if (_argo0) {
1577 if (_argo0 == Py_None) { _arg0 = NULL; }
1578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1580 return NULL;
1581 }
1582 }
1583{
4268f798 1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1585 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
f6bcfd97 1586
4268f798 1587 wxPyEndAllowThreads(__tstate);
493f1553 1588 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1589} _resultobj = Py_BuildValue("l",_result);
1590 return _resultobj;
1591}
1592
1593#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1594static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject * _resultobj;
1596 long _result;
1597 wxListItem * _arg0;
1598 PyObject * _argo0 = 0;
1599 char *_kwnames[] = { "self", NULL };
1600
1601 self = self;
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1603 return NULL;
1604 if (_argo0) {
1605 if (_argo0 == Py_None) { _arg0 = NULL; }
1606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1608 return NULL;
1609 }
1610 }
1611{
4268f798 1612 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1613 _result = (long )wxListItem_m_itemId_get(_arg0);
f6bcfd97 1614
4268f798 1615 wxPyEndAllowThreads(__tstate);
493f1553 1616 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1617} _resultobj = Py_BuildValue("l",_result);
1618 return _resultobj;
1619}
1620
1621#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1622static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject * _resultobj;
1624 int _result;
1625 wxListItem * _arg0;
1626 int _arg1;
1627 PyObject * _argo0 = 0;
1628 char *_kwnames[] = { "self","m_col", NULL };
1629
1630 self = self;
1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1632 return NULL;
1633 if (_argo0) {
1634 if (_argo0 == Py_None) { _arg0 = NULL; }
1635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1637 return NULL;
1638 }
1639 }
1640{
4268f798 1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1642 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
f6bcfd97 1643
4268f798 1644 wxPyEndAllowThreads(__tstate);
493f1553 1645 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1646} _resultobj = Py_BuildValue("i",_result);
1647 return _resultobj;
1648}
1649
1650#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1651static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject * _resultobj;
1653 int _result;
1654 wxListItem * _arg0;
1655 PyObject * _argo0 = 0;
1656 char *_kwnames[] = { "self", NULL };
1657
1658 self = self;
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1660 return NULL;
1661 if (_argo0) {
1662 if (_argo0 == Py_None) { _arg0 = NULL; }
1663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1665 return NULL;
1666 }
1667 }
1668{
4268f798 1669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1670 _result = (int )wxListItem_m_col_get(_arg0);
f6bcfd97 1671
4268f798 1672 wxPyEndAllowThreads(__tstate);
493f1553 1673 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1674} _resultobj = Py_BuildValue("i",_result);
1675 return _resultobj;
1676}
1677
1678#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1679static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject * _resultobj;
1681 long _result;
1682 wxListItem * _arg0;
1683 long _arg1;
1684 PyObject * _argo0 = 0;
1685 char *_kwnames[] = { "self","m_state", NULL };
1686
1687 self = self;
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1689 return NULL;
1690 if (_argo0) {
1691 if (_argo0 == Py_None) { _arg0 = NULL; }
1692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1694 return NULL;
1695 }
1696 }
1697{
4268f798 1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1699 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
f6bcfd97 1700
4268f798 1701 wxPyEndAllowThreads(__tstate);
493f1553 1702 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1703} _resultobj = Py_BuildValue("l",_result);
1704 return _resultobj;
1705}
1706
1707#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1708static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject * _resultobj;
1710 long _result;
1711 wxListItem * _arg0;
1712 PyObject * _argo0 = 0;
1713 char *_kwnames[] = { "self", NULL };
1714
1715 self = self;
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1717 return NULL;
1718 if (_argo0) {
1719 if (_argo0 == Py_None) { _arg0 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1722 return NULL;
1723 }
1724 }
1725{
4268f798 1726 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1727 _result = (long )wxListItem_m_state_get(_arg0);
f6bcfd97 1728
4268f798 1729 wxPyEndAllowThreads(__tstate);
493f1553 1730 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1731} _resultobj = Py_BuildValue("l",_result);
1732 return _resultobj;
1733}
1734
1735#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1736static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 long _result;
1739 wxListItem * _arg0;
1740 long _arg1;
1741 PyObject * _argo0 = 0;
1742 char *_kwnames[] = { "self","m_stateMask", NULL };
1743
1744 self = self;
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1746 return NULL;
1747 if (_argo0) {
1748 if (_argo0 == Py_None) { _arg0 = NULL; }
1749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1751 return NULL;
1752 }
1753 }
1754{
4268f798 1755 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1756 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
f6bcfd97 1757
4268f798 1758 wxPyEndAllowThreads(__tstate);
493f1553 1759 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1760} _resultobj = Py_BuildValue("l",_result);
1761 return _resultobj;
1762}
1763
1764#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1765static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject * _resultobj;
1767 long _result;
1768 wxListItem * _arg0;
1769 PyObject * _argo0 = 0;
1770 char *_kwnames[] = { "self", NULL };
1771
1772 self = self;
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1774 return NULL;
1775 if (_argo0) {
1776 if (_argo0 == Py_None) { _arg0 = NULL; }
1777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1779 return NULL;
1780 }
1781 }
1782{
4268f798 1783 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1784 _result = (long )wxListItem_m_stateMask_get(_arg0);
f6bcfd97 1785
4268f798 1786 wxPyEndAllowThreads(__tstate);
493f1553 1787 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1788} _resultobj = Py_BuildValue("l",_result);
1789 return _resultobj;
1790}
1791
1792#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1793static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject * _resultobj;
1795 wxString * _result;
1796 wxListItem * _arg0;
1797 wxString * _arg1;
1798 PyObject * _argo0 = 0;
1799 PyObject * _obj1 = 0;
1800 char *_kwnames[] = { "self","m_text", NULL };
1801
1802 self = self;
1803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1804 return NULL;
1805 if (_argo0) {
1806 if (_argo0 == Py_None) { _arg0 = NULL; }
1807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1809 return NULL;
1810 }
1811 }
1812{
c8bc7bb8
RD
1813 _arg1 = wxString_in_helper(_obj1);
1814 if (_arg1 == NULL)
f6bcfd97 1815 return NULL;
f6bcfd97
BP
1816}
1817{
4268f798 1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1819 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
f6bcfd97 1820
4268f798 1821 wxPyEndAllowThreads(__tstate);
493f1553 1822 if (PyErr_Occurred()) return NULL;
f6bcfd97 1823}{
c8bc7bb8
RD
1824#if wxUSE_UNICODE
1825 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1826#else
f6bcfd97 1827 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1828#endif
f6bcfd97
BP
1829}
1830{
1831 if (_obj1)
1832 delete _arg1;
1833}
1834 return _resultobj;
1835}
1836
1837#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1838static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1839 PyObject * _resultobj;
1840 wxString * _result;
1841 wxListItem * _arg0;
1842 PyObject * _argo0 = 0;
1843 char *_kwnames[] = { "self", NULL };
1844
1845 self = self;
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
1847 return NULL;
1848 if (_argo0) {
1849 if (_argo0 == Py_None) { _arg0 = NULL; }
1850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1852 return NULL;
1853 }
1854 }
1855{
4268f798 1856 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1857 _result = (wxString *)wxListItem_m_text_get(_arg0);
f6bcfd97 1858
4268f798 1859 wxPyEndAllowThreads(__tstate);
493f1553 1860 if (PyErr_Occurred()) return NULL;
f6bcfd97 1861}{
c8bc7bb8
RD
1862#if wxUSE_UNICODE
1863 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1864#else
f6bcfd97 1865 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1866#endif
f6bcfd97
BP
1867}
1868 return _resultobj;
1869}
1870
1871#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1872static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject * _resultobj;
1874 int _result;
1875 wxListItem * _arg0;
1876 int _arg1;
1877 PyObject * _argo0 = 0;
1878 char *_kwnames[] = { "self","m_image", NULL };
1879
1880 self = self;
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
1882 return NULL;
1883 if (_argo0) {
1884 if (_argo0 == Py_None) { _arg0 = NULL; }
1885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1887 return NULL;
1888 }
1889 }
1890{
4268f798 1891 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1892 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
f6bcfd97 1893
4268f798 1894 wxPyEndAllowThreads(__tstate);
493f1553 1895 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1896} _resultobj = Py_BuildValue("i",_result);
1897 return _resultobj;
1898}
1899
1900#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1901static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject * _resultobj;
1903 int _result;
1904 wxListItem * _arg0;
1905 PyObject * _argo0 = 0;
1906 char *_kwnames[] = { "self", NULL };
1907
1908 self = self;
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
1910 return NULL;
1911 if (_argo0) {
1912 if (_argo0 == Py_None) { _arg0 = NULL; }
1913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1915 return NULL;
1916 }
1917 }
1918{
4268f798 1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1920 _result = (int )wxListItem_m_image_get(_arg0);
f6bcfd97 1921
4268f798 1922 wxPyEndAllowThreads(__tstate);
493f1553 1923 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1924} _resultobj = Py_BuildValue("i",_result);
1925 return _resultobj;
1926}
1927
1928#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1929static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject * _resultobj;
1931 long _result;
1932 wxListItem * _arg0;
1933 long _arg1;
1934 PyObject * _argo0 = 0;
1935 char *_kwnames[] = { "self","m_data", NULL };
1936
1937 self = self;
1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
1939 return NULL;
1940 if (_argo0) {
1941 if (_argo0 == Py_None) { _arg0 = NULL; }
1942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1944 return NULL;
1945 }
1946 }
1947{
4268f798 1948 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1949 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
f6bcfd97 1950
4268f798 1951 wxPyEndAllowThreads(__tstate);
493f1553 1952 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1953} _resultobj = Py_BuildValue("l",_result);
1954 return _resultobj;
1955}
1956
1957#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1958static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1959 PyObject * _resultobj;
1960 long _result;
1961 wxListItem * _arg0;
1962 PyObject * _argo0 = 0;
1963 char *_kwnames[] = { "self", NULL };
1964
1965 self = self;
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
1967 return NULL;
1968 if (_argo0) {
1969 if (_argo0 == Py_None) { _arg0 = NULL; }
1970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1972 return NULL;
1973 }
1974 }
1975{
4268f798 1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1977 _result = (long )wxListItem_m_data_get(_arg0);
f6bcfd97 1978
4268f798 1979 wxPyEndAllowThreads(__tstate);
493f1553 1980 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1981} _resultobj = Py_BuildValue("l",_result);
1982 return _resultobj;
1983}
1984
1985#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1986static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject * _resultobj;
1988 int _result;
1989 wxListItem * _arg0;
1990 int _arg1;
1991 PyObject * _argo0 = 0;
1992 char *_kwnames[] = { "self","m_format", NULL };
1993
1994 self = self;
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
1996 return NULL;
1997 if (_argo0) {
1998 if (_argo0 == Py_None) { _arg0 = NULL; }
1999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2001 return NULL;
2002 }
2003 }
2004{
4268f798 2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2006 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
f6bcfd97 2007
4268f798 2008 wxPyEndAllowThreads(__tstate);
493f1553 2009 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2010} _resultobj = Py_BuildValue("i",_result);
2011 return _resultobj;
2012}
2013
2014#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2015static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject * _resultobj;
2017 int _result;
2018 wxListItem * _arg0;
2019 PyObject * _argo0 = 0;
2020 char *_kwnames[] = { "self", NULL };
2021
2022 self = self;
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
2024 return NULL;
2025 if (_argo0) {
2026 if (_argo0 == Py_None) { _arg0 = NULL; }
2027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2029 return NULL;
2030 }
2031 }
2032{
4268f798 2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2034 _result = (int )wxListItem_m_format_get(_arg0);
f6bcfd97 2035
4268f798 2036 wxPyEndAllowThreads(__tstate);
493f1553 2037 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2038} _resultobj = Py_BuildValue("i",_result);
2039 return _resultobj;
8ab979d7
RD
2040}
2041
f6bcfd97
BP
2042#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2043static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2044 PyObject * _resultobj;
f6bcfd97 2045 int _result;
af309447 2046 wxListItem * _arg0;
f6bcfd97 2047 int _arg1;
1d99702e 2048 PyObject * _argo0 = 0;
f6bcfd97 2049 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
2050
2051 self = self;
f6bcfd97 2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 2053 return NULL;
1d99702e
RD
2054 if (_argo0) {
2055 if (_argo0 == Py_None) { _arg0 = NULL; }
2056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
af309447
RD
2058 return NULL;
2059 }
2060 }
cf694132 2061{
4268f798 2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2063 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
cf694132 2064
4268f798 2065 wxPyEndAllowThreads(__tstate);
493f1553 2066 if (PyErr_Occurred()) return NULL;
f6bcfd97 2067} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2068 return _resultobj;
2069}
2070
f6bcfd97
BP
2071#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2072static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2073 PyObject * _resultobj;
f6bcfd97 2074 int _result;
8ab979d7 2075 wxListItem * _arg0;
1d99702e 2076 PyObject * _argo0 = 0;
efc5f224 2077 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2078
2079 self = self;
f6bcfd97 2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 2081 return NULL;
1d99702e
RD
2082 if (_argo0) {
2083 if (_argo0 == Py_None) { _arg0 = NULL; }
2084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97
BP
2085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2086 return NULL;
2087 }
2088 }
2089{
4268f798 2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2091 _result = (int )wxListItem_m_width_get(_arg0);
f6bcfd97 2092
4268f798 2093 wxPyEndAllowThreads(__tstate);
493f1553 2094 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2095} _resultobj = Py_BuildValue("i",_result);
2096 return _resultobj;
2097}
2098
c368d904
RD
2099static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
2100 wxListEvent *src;
2101 wxNotifyEvent *dest;
2102 src = (wxListEvent *) ptr;
2103 dest = (wxNotifyEvent *) src;
2104 return (void *) dest;
2105}
2106
f6bcfd97
BP
2107static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2108 wxListEvent *src;
2109 wxCommandEvent *dest;
2110 src = (wxListEvent *) ptr;
2111 dest = (wxCommandEvent *) src;
2112 return (void *) dest;
2113}
2114
2115static void *SwigwxListEventTowxEvent(void *ptr) {
2116 wxListEvent *src;
2117 wxEvent *dest;
2118 src = (wxListEvent *) ptr;
2119 dest = (wxEvent *) src;
2120 return (void *) dest;
2121}
2122
9416aa89
RD
2123static void *SwigwxListEventTowxObject(void *ptr) {
2124 wxListEvent *src;
2125 wxObject *dest;
2126 src = (wxListEvent *) ptr;
2127 dest = (wxObject *) src;
2128 return (void *) dest;
2129}
2130
6d19860f
RD
2131#define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2132static PyObject *_wrap_new_wxListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2133 PyObject * _resultobj;
2134 wxListEvent * _result;
2135 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2136 int _arg1 = (int ) 0;
2137 char *_kwnames[] = { "commandType","id", NULL };
2138 char _ptemp[128];
2139
2140 self = self;
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxListEvent",_kwnames,&_arg0,&_arg1))
2142 return NULL;
2143{
4268f798 2144 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2145 _result = (wxListEvent *)new_wxListEvent(_arg0,_arg1);
6d19860f 2146
4268f798 2147 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2148 if (PyErr_Occurred()) return NULL;
2149} if (_result) {
2150 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListEvent_p");
2151 _resultobj = Py_BuildValue("s",_ptemp);
2152 } else {
2153 Py_INCREF(Py_None);
2154 _resultobj = Py_None;
2155 }
2156 return _resultobj;
2157}
2158
f6bcfd97
BP
2159#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2160static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2161 PyObject * _resultobj;
2162 int _result;
2163 wxListEvent * _arg0;
2164 int _arg1;
2165 PyObject * _argo0 = 0;
2166 char *_kwnames[] = { "self","m_code", NULL };
2167
2168 self = self;
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
2170 return NULL;
2171 if (_argo0) {
2172 if (_argo0 == Py_None) { _arg0 = NULL; }
2173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2175 return NULL;
2176 }
2177 }
2178{
4268f798 2179 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2180 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
f6bcfd97 2181
4268f798 2182 wxPyEndAllowThreads(__tstate);
493f1553 2183 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2184} _resultobj = Py_BuildValue("i",_result);
2185 return _resultobj;
2186}
2187
2188#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2189static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject * _resultobj;
2191 int _result;
2192 wxListEvent * _arg0;
2193 PyObject * _argo0 = 0;
2194 char *_kwnames[] = { "self", NULL };
2195
2196 self = self;
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
2198 return NULL;
2199 if (_argo0) {
2200 if (_argo0 == Py_None) { _arg0 = NULL; }
2201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2203 return NULL;
2204 }
2205 }
2206{
4268f798 2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2208 _result = (int )wxListEvent_m_code_get(_arg0);
f6bcfd97 2209
4268f798 2210 wxPyEndAllowThreads(__tstate);
493f1553 2211 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2212} _resultobj = Py_BuildValue("i",_result);
2213 return _resultobj;
2214}
2215
ebf4302c
RD
2216#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2217static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2218 PyObject * _resultobj;
2219 long _result;
2220 wxListEvent * _arg0;
2221 long _arg1;
2222 PyObject * _argo0 = 0;
ebf4302c 2223 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
f6bcfd97
BP
2224
2225 self = self;
ebf4302c 2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2227 return NULL;
2228 if (_argo0) {
2229 if (_argo0 == Py_None) { _arg0 = NULL; }
2230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
f6bcfd97
BP
2232 return NULL;
2233 }
2234 }
2235{
4268f798 2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2237 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
f6bcfd97 2238
4268f798 2239 wxPyEndAllowThreads(__tstate);
493f1553 2240 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2241} _resultobj = Py_BuildValue("l",_result);
2242 return _resultobj;
2243}
2244
ebf4302c
RD
2245#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2246static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2247 PyObject * _resultobj;
2248 long _result;
2249 wxListEvent * _arg0;
2250 PyObject * _argo0 = 0;
2251 char *_kwnames[] = { "self", NULL };
2252
2253 self = self;
ebf4302c 2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
f6bcfd97
BP
2255 return NULL;
2256 if (_argo0) {
2257 if (_argo0 == Py_None) { _arg0 = NULL; }
2258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
f6bcfd97
BP
2260 return NULL;
2261 }
2262 }
2263{
4268f798 2264 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2265 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
f6bcfd97 2266
4268f798 2267 wxPyEndAllowThreads(__tstate);
493f1553 2268 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2269} _resultobj = Py_BuildValue("l",_result);
2270 return _resultobj;
2271}
2272
ebf4302c
RD
2273#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2274static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2275 PyObject * _resultobj;
ebf4302c 2276 long _result;
f6bcfd97 2277 wxListEvent * _arg0;
ebf4302c 2278 long _arg1;
f6bcfd97 2279 PyObject * _argo0 = 0;
ebf4302c 2280 char *_kwnames[] = { "self","m_itemIndex", NULL };
f6bcfd97
BP
2281
2282 self = self;
ebf4302c 2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2284 return NULL;
2285 if (_argo0) {
2286 if (_argo0 == Py_None) { _arg0 = NULL; }
2287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
8ab979d7
RD
2289 return NULL;
2290 }
2291 }
cf694132 2292{
4268f798 2293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2294 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
cf694132 2295
4268f798 2296 wxPyEndAllowThreads(__tstate);
493f1553 2297 if (PyErr_Occurred()) return NULL;
ebf4302c 2298} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2299 return _resultobj;
2300}
2301
ebf4302c
RD
2302#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2303static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2304 PyObject * _resultobj;
ebf4302c 2305 long _result;
f6bcfd97 2306 wxListEvent * _arg0;
1d99702e 2307 PyObject * _argo0 = 0;
f6bcfd97 2308 char *_kwnames[] = { "self", NULL };
af309447
RD
2309
2310 self = self;
ebf4302c 2311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
af309447 2312 return NULL;
1d99702e
RD
2313 if (_argo0) {
2314 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
af309447
RD
2317 return NULL;
2318 }
2319 }
cf694132 2320{
4268f798 2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2322 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132 2323
4268f798 2324 wxPyEndAllowThreads(__tstate);
493f1553 2325 if (PyErr_Occurred()) return NULL;
ebf4302c 2326} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2327 return _resultobj;
2328}
2329
ebf4302c
RD
2330#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2331static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2332 PyObject * _resultobj;
ebf4302c 2333 int _result;
f6bcfd97 2334 wxListEvent * _arg0;
ebf4302c 2335 int _arg1;
1d99702e 2336 PyObject * _argo0 = 0;
ebf4302c 2337 char *_kwnames[] = { "self","m_col", NULL };
8ab979d7
RD
2338
2339 self = self;
ebf4302c 2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
8ab979d7 2341 return NULL;
1d99702e
RD
2342 if (_argo0) {
2343 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
8ab979d7
RD
2346 return NULL;
2347 }
2348 }
cf694132 2349{
4268f798 2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2351 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
cf694132 2352
4268f798 2353 wxPyEndAllowThreads(__tstate);
493f1553 2354 if (PyErr_Occurred()) return NULL;
cf694132 2355} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2356 return _resultobj;
2357}
2358
ebf4302c
RD
2359#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2360static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2361 PyObject * _resultobj;
ebf4302c 2362 int _result;
f6bcfd97 2363 wxListEvent * _arg0;
1d99702e 2364 PyObject * _argo0 = 0;
f6bcfd97 2365 char *_kwnames[] = { "self", NULL };
af309447
RD
2366
2367 self = self;
ebf4302c 2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
af309447 2369 return NULL;
1d99702e
RD
2370 if (_argo0) {
2371 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
af309447
RD
2374 return NULL;
2375 }
2376 }
cf694132 2377{
4268f798 2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2379 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132 2380
4268f798 2381 wxPyEndAllowThreads(__tstate);
493f1553 2382 if (PyErr_Occurred()) return NULL;
cf694132 2383} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2384 return _resultobj;
2385}
2386
f6bcfd97
BP
2387#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2388static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2389 PyObject * _resultobj;
f6bcfd97
BP
2390 wxPoint * _result;
2391 wxListEvent * _arg0;
2392 wxPoint * _arg1;
1d99702e 2393 PyObject * _argo0 = 0;
f6bcfd97
BP
2394 wxPoint temp;
2395 PyObject * _obj1 = 0;
2396 char *_kwnames[] = { "self","m_pointDrag", NULL };
2397 char _ptemp[128];
8ab979d7
RD
2398
2399 self = self;
f6bcfd97 2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
8ab979d7 2401 return NULL;
1d99702e
RD
2402 if (_argo0) {
2403 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
8ab979d7
RD
2406 return NULL;
2407 }
2408 }
f6bcfd97
BP
2409{
2410 _arg1 = &temp;
2411 if (! wxPoint_helper(_obj1, &_arg1))
2412 return NULL;
2413}
cf694132 2414{
4268f798 2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2416 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
cf694132 2417
4268f798 2418 wxPyEndAllowThreads(__tstate);
493f1553 2419 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2420} if (_result) {
2421 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2422 _resultobj = Py_BuildValue("s",_ptemp);
2423 } else {
2424 Py_INCREF(Py_None);
2425 _resultobj = Py_None;
2426 }
8ab979d7
RD
2427 return _resultobj;
2428}
2429
f6bcfd97
BP
2430#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2431static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2432 PyObject * _resultobj;
f6bcfd97
BP
2433 wxPoint * _result;
2434 wxListEvent * _arg0;
2435 PyObject * _argo0 = 0;
2436 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2437 char _ptemp[128];
2438
2439 self = self;
f6bcfd97
BP
2440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
2441 return NULL;
2442 if (_argo0) {
2443 if (_argo0 == Py_None) { _arg0 = NULL; }
2444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7 2446 return NULL;
f6bcfd97
BP
2447 }
2448 }
cf694132 2449{
4268f798 2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2451 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132 2452
4268f798 2453 wxPyEndAllowThreads(__tstate);
493f1553 2454 if (PyErr_Occurred()) return NULL;
1d99702e 2455} if (_result) {
f6bcfd97 2456 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2457 _resultobj = Py_BuildValue("s",_ptemp);
2458 } else {
2459 Py_INCREF(Py_None);
2460 _resultobj = Py_None;
2461 }
8ab979d7
RD
2462 return _resultobj;
2463}
2464
f6bcfd97
BP
2465#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2466static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2467 PyObject * _resultobj;
f6bcfd97
BP
2468 wxListItem * _result;
2469 wxListEvent * _arg0;
2470 wxListItem * _arg1;
1d99702e 2471 PyObject * _argo0 = 0;
f6bcfd97
BP
2472 PyObject * _argo1 = 0;
2473 char *_kwnames[] = { "self","m_item", NULL };
8ab979d7
RD
2474
2475 self = self;
f6bcfd97 2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
8ab979d7 2477 return NULL;
1d99702e
RD
2478 if (_argo0) {
2479 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2482 return NULL;
2483 }
2484 }
2485 if (_argo1) {
2486 if (_argo1 == Py_None) { _arg1 = NULL; }
2487 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2488 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
8ab979d7
RD
2489 return NULL;
2490 }
2491 }
cf694132 2492{
4268f798 2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2494 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
cf694132 2495
4268f798 2496 wxPyEndAllowThreads(__tstate);
493f1553 2497 if (PyErr_Occurred()) return NULL;
9416aa89 2498}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2499 return _resultobj;
2500}
2501
f6bcfd97
BP
2502#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2503static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2504 PyObject * _resultobj;
f6bcfd97 2505 wxListItem * _result;
af309447 2506 wxListEvent * _arg0;
1d99702e 2507 PyObject * _argo0 = 0;
f6bcfd97 2508 char *_kwnames[] = { "self", NULL };
af309447
RD
2509
2510 self = self;
f6bcfd97 2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2512 return NULL;
1d99702e
RD
2513 if (_argo0) {
2514 if (_argo0 == Py_None) { _arg0 = NULL; }
2515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2517 return NULL;
2518 }
2519 }
cf694132 2520{
4268f798 2521 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2522 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132 2523
4268f798 2524 wxPyEndAllowThreads(__tstate);
493f1553 2525 if (PyErr_Occurred()) return NULL;
9416aa89 2526}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2527 return _resultobj;
2528}
2529
f6bcfd97
BP
2530#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2531static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2532 PyObject * _resultobj;
2533 int _result;
2534 wxListEvent * _arg0;
1d99702e 2535 PyObject * _argo0 = 0;
efc5f224 2536 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2537
2538 self = self;
f6bcfd97 2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
8ab979d7 2540 return NULL;
1d99702e
RD
2541 if (_argo0) {
2542 if (_argo0 == Py_None) { _arg0 = NULL; }
2543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
8ab979d7
RD
2545 return NULL;
2546 }
2547 }
cf694132 2548{
4268f798 2549 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2550 _result = (int )wxListEvent_GetCode(_arg0);
cf694132 2551
4268f798 2552 wxPyEndAllowThreads(__tstate);
493f1553 2553 if (PyErr_Occurred()) return NULL;
cf694132 2554} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2555 return _resultobj;
2556}
2557
f6bcfd97
BP
2558#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2559static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2560 PyObject * _resultobj;
2561 long _result;
2562 wxListEvent * _arg0;
1d99702e 2563 PyObject * _argo0 = 0;
f6bcfd97 2564 char *_kwnames[] = { "self", NULL };
af309447
RD
2565
2566 self = self;
f6bcfd97 2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2568 return NULL;
1d99702e
RD
2569 if (_argo0) {
2570 if (_argo0 == Py_None) { _arg0 = NULL; }
2571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2573 return NULL;
2574 }
2575 }
cf694132 2576{
4268f798 2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2578 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132 2579
4268f798 2580 wxPyEndAllowThreads(__tstate);
493f1553 2581 if (PyErr_Occurred()) return NULL;
cf694132 2582} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2583 return _resultobj;
2584}
2585
f6bcfd97
BP
2586#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2587static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2588 PyObject * _resultobj;
f6bcfd97 2589 int _result;
8ab979d7 2590 wxListEvent * _arg0;
1d99702e 2591 PyObject * _argo0 = 0;
efc5f224 2592 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2593
2594 self = self;
f6bcfd97 2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2596 return NULL;
1d99702e
RD
2597 if (_argo0) {
2598 if (_argo0 == Py_None) { _arg0 = NULL; }
2599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2601 return NULL;
2602 }
2603 }
cf694132 2604{
4268f798 2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2606 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132 2607
4268f798 2608 wxPyEndAllowThreads(__tstate);
493f1553 2609 if (PyErr_Occurred()) return NULL;
f6bcfd97 2610} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2611 return _resultobj;
2612}
2613
f6bcfd97
BP
2614#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2615static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2616 PyObject * _resultobj;
f6bcfd97 2617 wxPoint * _result;
8ab979d7 2618 wxListEvent * _arg0;
1d99702e 2619 PyObject * _argo0 = 0;
efc5f224 2620 char *_kwnames[] = { "self", NULL };
f6bcfd97 2621 char _ptemp[128];
8ab979d7
RD
2622
2623 self = self;
f6bcfd97 2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2625 return NULL;
1d99702e
RD
2626 if (_argo0) {
2627 if (_argo0 == Py_None) { _arg0 = NULL; }
2628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2630 return NULL;
2631 }
2632 }
cf694132 2633{
4268f798 2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2635 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132 2636
4268f798 2637 wxPyEndAllowThreads(__tstate);
493f1553 2638 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2639} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2640 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2641 return _resultobj;
2642}
2643
f6bcfd97
BP
2644#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2645static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2646 PyObject * _resultobj;
f6bcfd97 2647 wxString * _result;
af309447 2648 wxListEvent * _arg0;
1d99702e 2649 PyObject * _argo0 = 0;
f6bcfd97 2650 char *_kwnames[] = { "self", NULL };
af309447
RD
2651
2652 self = self;
f6bcfd97 2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2654 return NULL;
1d99702e
RD
2655 if (_argo0) {
2656 if (_argo0 == Py_None) { _arg0 = NULL; }
2657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2659 return NULL;
2660 }
2661 }
cf694132 2662{
4268f798 2663 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2664 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
f6bcfd97 2665 _result = (wxString *) &_result_ref;
cf694132 2666
4268f798 2667 wxPyEndAllowThreads(__tstate);
493f1553 2668 if (PyErr_Occurred()) return NULL;
f6bcfd97 2669}{
c8bc7bb8
RD
2670#if wxUSE_UNICODE
2671 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2672#else
f6bcfd97 2673 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2674#endif
f6bcfd97 2675}
af309447
RD
2676 return _resultobj;
2677}
2678
f6bcfd97
BP
2679#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2680static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2681 PyObject * _resultobj;
f6bcfd97 2682 wxString * _result;
8ab979d7 2683 wxListEvent * _arg0;
1d99702e 2684 PyObject * _argo0 = 0;
efc5f224 2685 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2686
2687 self = self;
f6bcfd97 2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2689 return NULL;
1d99702e
RD
2690 if (_argo0) {
2691 if (_argo0 == Py_None) { _arg0 = NULL; }
2692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2694 return NULL;
2695 }
2696 }
cf694132 2697{
4268f798 2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2699 const wxString & _result_ref = wxListEvent_GetText(_arg0);
f6bcfd97 2700 _result = (wxString *) &_result_ref;
cf694132 2701
4268f798 2702 wxPyEndAllowThreads(__tstate);
493f1553 2703 if (PyErr_Occurred()) return NULL;
f6bcfd97 2704}{
c8bc7bb8
RD
2705#if wxUSE_UNICODE
2706 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2707#else
f6bcfd97 2708 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2709#endif
f6bcfd97 2710}
8ab979d7
RD
2711 return _resultobj;
2712}
2713
f6bcfd97
BP
2714#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2715static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2716 PyObject * _resultobj;
f6bcfd97 2717 int _result;
af309447 2718 wxListEvent * _arg0;
1d99702e 2719 PyObject * _argo0 = 0;
f6bcfd97 2720 char *_kwnames[] = { "self", NULL };
af309447
RD
2721
2722 self = self;
f6bcfd97 2723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2724 return NULL;
1d99702e
RD
2725 if (_argo0) {
2726 if (_argo0 == Py_None) { _arg0 = NULL; }
2727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2729 return NULL;
2730 }
2731 }
cf694132 2732{
4268f798 2733 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2734 _result = (int )wxListEvent_GetImage(_arg0);
cf694132 2735
4268f798 2736 wxPyEndAllowThreads(__tstate);
493f1553 2737 if (PyErr_Occurred()) return NULL;
f6bcfd97 2738} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2739 return _resultobj;
2740}
2741
f6bcfd97
BP
2742#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2743static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2744 PyObject * _resultobj;
f6bcfd97 2745 long _result;
8ab979d7 2746 wxListEvent * _arg0;
1d99702e 2747 PyObject * _argo0 = 0;
efc5f224 2748 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2749
2750 self = self;
f6bcfd97 2751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2752 return NULL;
1d99702e
RD
2753 if (_argo0) {
2754 if (_argo0 == Py_None) { _arg0 = NULL; }
2755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2757 return NULL;
2758 }
2759 }
cf694132 2760{
4268f798 2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2762 _result = (long )wxListEvent_GetData(_arg0);
cf694132 2763
4268f798 2764 wxPyEndAllowThreads(__tstate);
493f1553 2765 if (PyErr_Occurred()) return NULL;
f6bcfd97 2766} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2767 return _resultobj;
2768}
2769
f6bcfd97
BP
2770#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2771static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2772 PyObject * _resultobj;
f6bcfd97 2773 long _result;
af309447 2774 wxListEvent * _arg0;
1d99702e 2775 PyObject * _argo0 = 0;
f6bcfd97 2776 char *_kwnames[] = { "self", NULL };
af309447
RD
2777
2778 self = self;
f6bcfd97 2779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2780 return NULL;
1d99702e
RD
2781 if (_argo0) {
2782 if (_argo0 == Py_None) { _arg0 = NULL; }
2783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2785 return NULL;
2786 }
2787 }
cf694132 2788{
4268f798 2789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2790 _result = (long )wxListEvent_GetMask(_arg0);
cf694132 2791
4268f798 2792 wxPyEndAllowThreads(__tstate);
493f1553 2793 if (PyErr_Occurred()) return NULL;
f6bcfd97 2794} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2795 return _resultobj;
2796}
2797
f6bcfd97
BP
2798#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2799static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2800 PyObject * _resultobj;
2801 wxListItem * _result;
2802 wxListEvent * _arg0;
1d99702e 2803 PyObject * _argo0 = 0;
efc5f224 2804 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2805
2806 self = self;
f6bcfd97 2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2808 return NULL;
1d99702e
RD
2809 if (_argo0) {
2810 if (_argo0 == Py_None) { _arg0 = NULL; }
2811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2813 return NULL;
2814 }
2815 }
cf694132 2816{
4268f798 2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2818 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
f6bcfd97 2819 _result = (wxListItem *) &_result_ref;
cf694132 2820
4268f798 2821 wxPyEndAllowThreads(__tstate);
493f1553 2822 if (PyErr_Occurred()) return NULL;
9416aa89 2823}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2824 return _resultobj;
2825}
2826
6d19860f
RD
2827#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2828static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2829 PyObject * _resultobj;
2830 long _result;
2831 wxListEvent * _arg0;
2832 PyObject * _argo0 = 0;
2833 char *_kwnames[] = { "self", NULL };
2834
2835 self = self;
2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2837 return NULL;
2838 if (_argo0) {
2839 if (_argo0 == Py_None) { _arg0 = NULL; }
2840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2842 return NULL;
2843 }
2844 }
2845{
4268f798 2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2847 _result = (long )wxListEvent_GetCacheFrom(_arg0);
6d19860f 2848
4268f798 2849 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2850 if (PyErr_Occurred()) return NULL;
2851} _resultobj = Py_BuildValue("l",_result);
2852 return _resultobj;
2853}
2854
2855#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2856static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject * _resultobj;
2858 long _result;
2859 wxListEvent * _arg0;
2860 PyObject * _argo0 = 0;
2861 char *_kwnames[] = { "self", NULL };
2862
2863 self = self;
2864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2865 return NULL;
2866 if (_argo0) {
2867 if (_argo0 == Py_None) { _arg0 = NULL; }
2868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2870 return NULL;
2871 }
2872 }
2873{
4268f798 2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2875 _result = (long )wxListEvent_GetCacheTo(_arg0);
6d19860f 2876
4268f798 2877 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2878 if (PyErr_Occurred()) return NULL;
2879} _resultobj = Py_BuildValue("l",_result);
2880 return _resultobj;
2881}
2882
c7e7022c
RD
2883static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2884 wxPyListCtrl *src;
8ab979d7 2885 wxControl *dest;
c7e7022c 2886 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2887 dest = (wxControl *) src;
2888 return (void *) dest;
2889}
2890
c7e7022c
RD
2891static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2892 wxPyListCtrl *src;
8ab979d7 2893 wxWindow *dest;
c7e7022c 2894 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2895 dest = (wxWindow *) src;
2896 return (void *) dest;
2897}
2898
c7e7022c
RD
2899static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2900 wxPyListCtrl *src;
8ab979d7 2901 wxEvtHandler *dest;
c7e7022c 2902 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2903 dest = (wxEvtHandler *) src;
2904 return (void *) dest;
2905}
2906
c7e7022c
RD
2907static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2908 wxPyListCtrl *src;
9416aa89 2909 wxObject *dest;
c7e7022c 2910 src = (wxPyListCtrl *) ptr;
9416aa89
RD
2911 dest = (wxObject *) src;
2912 return (void *) dest;
2913}
2914
c7e7022c 2915#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2916static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2917 PyObject * _resultobj;
c7e7022c 2918 wxPyListCtrl * _result;
8ab979d7 2919 wxWindow * _arg0;
c7e7022c 2920 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
2921 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2922 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
0adbc166 2923 long _arg4 = (long ) (wxLC_ICON);
e508a2b6 2924 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 2925 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
1d99702e 2926 PyObject * _argo0 = 0;
2f90df85
RD
2927 wxPoint temp;
2928 PyObject * _obj2 = 0;
2929 wxSize temp0;
2930 PyObject * _obj3 = 0;
1d99702e 2931 PyObject * _argo5 = 0;
137b5242 2932 PyObject * _obj6 = 0;
efc5f224 2933 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2934 char _ptemp[128];
2935
2936 self = self;
137b5242 2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
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 }
137b5242
RD
2965 if (_obj6)
2966{
2967 _arg6 = wxString_in_helper(_obj6);
2968 if (_arg6 == NULL)
2969 return NULL;
2970}
cf694132 2971{
4268f798 2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2973 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 2974
4268f798 2975 wxPyEndAllowThreads(__tstate);
493f1553 2976 if (PyErr_Occurred()) return NULL;
1d99702e 2977} if (_result) {
c7e7022c 2978 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
2979 _resultobj = Py_BuildValue("s",_ptemp);
2980 } else {
2981 Py_INCREF(Py_None);
2982 _resultobj = Py_None;
2983 }
137b5242
RD
2984{
2985 if (_obj6)
2986 delete _arg6;
2987}
8ab979d7
RD
2988 return _resultobj;
2989}
2990
09f3d4e6
RD
2991#define new_wxPreListCtrl() (new wxPyListCtrl())
2992static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2993 PyObject * _resultobj;
2994 wxPyListCtrl * _result;
2995 char *_kwnames[] = { NULL };
2996 char _ptemp[128];
2997
2998 self = self;
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
3000 return NULL;
3001{
4268f798 3002 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3003 _result = (wxPyListCtrl *)new_wxPreListCtrl();
09f3d4e6 3004
4268f798 3005 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3006 if (PyErr_Occurred()) return NULL;
3007} if (_result) {
3008 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
3009 _resultobj = Py_BuildValue("s",_ptemp);
3010 } else {
3011 Py_INCREF(Py_None);
3012 _resultobj = Py_None;
3013 }
3014 return _resultobj;
3015}
3016
3017#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3018static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3019 PyObject * _resultobj;
3020 bool _result;
3021 wxPyListCtrl * _arg0;
3022 wxWindow * _arg1;
3023 wxWindowID _arg2 = (wxWindowID ) -1;
3024 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3025 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3026 long _arg5 = (long ) (wxLC_ICON);
3027 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 3028 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
09f3d4e6
RD
3029 PyObject * _argo0 = 0;
3030 PyObject * _argo1 = 0;
3031 wxPoint temp;
3032 PyObject * _obj3 = 0;
3033 wxSize temp0;
3034 PyObject * _obj4 = 0;
3035 PyObject * _argo6 = 0;
137b5242 3036 PyObject * _obj7 = 0;
09f3d4e6
RD
3037 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
3038
3039 self = self;
137b5242 3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
3041 return NULL;
3042 if (_argo0) {
3043 if (_argo0 == Py_None) { _arg0 = NULL; }
3044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3046 return NULL;
3047 }
3048 }
3049 if (_argo1) {
3050 if (_argo1 == Py_None) { _arg1 = NULL; }
3051 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3052 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3053 return NULL;
3054 }
3055 }
3056 if (_obj3)
3057{
3058 _arg3 = &temp;
3059 if (! wxPoint_helper(_obj3, &_arg3))
3060 return NULL;
3061}
3062 if (_obj4)
3063{
3064 _arg4 = &temp0;
3065 if (! wxSize_helper(_obj4, &_arg4))
3066 return NULL;
3067}
3068 if (_argo6) {
3069 if (_argo6 == Py_None) { _arg6 = NULL; }
3070 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3071 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3072 return NULL;
3073 }
3074 }
137b5242
RD
3075 if (_obj7)
3076{
3077 _arg7 = wxString_in_helper(_obj7);
3078 if (_arg7 == NULL)
3079 return NULL;
3080}
09f3d4e6 3081{
4268f798 3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 3083 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 3084
4268f798 3085 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3086 if (PyErr_Occurred()) return NULL;
3087} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
3088{
3089 if (_obj7)
3090 delete _arg7;
3091}
09f3d4e6
RD
3092 return _resultobj;
3093}
3094
0122b7e3
RD
3095#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3096static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3097 PyObject * _resultobj;
c7e7022c
RD
3098 wxPyListCtrl * _arg0;
3099 PyObject * _arg1;
3100 PyObject * _arg2;
1d99702e 3101 PyObject * _argo0 = 0;
c7e7022c
RD
3102 PyObject * _obj1 = 0;
3103 PyObject * _obj2 = 0;
3104 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
3105
3106 self = self;
0122b7e3 3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3108 return NULL;
1d99702e
RD
3109 if (_argo0) {
3110 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c 3111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0122b7e3 3112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3113 return NULL;
3114 }
3115 }
c7e7022c
RD
3116{
3117 _arg1 = _obj1;
3118}
3119{
3120 _arg2 = _obj2;
3121}
cf694132 3122{
4268f798 3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3124 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132 3125
4268f798 3126 wxPyEndAllowThreads(__tstate);
493f1553 3127 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3128} Py_INCREF(Py_None);
3129 _resultobj = Py_None;
8ab979d7
RD
3130 return _resultobj;
3131}
3132
c7e7022c
RD
3133#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3134static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1b62f00d 3135 PyObject * _resultobj;
c7e7022c
RD
3136 bool _result;
3137 wxPyListCtrl * _arg0;
3138 wxColour * _arg1;
1b62f00d 3139 PyObject * _argo0 = 0;
c7e7022c
RD
3140 wxColour temp;
3141 PyObject * _obj1 = 0;
3142 char *_kwnames[] = { "self","col", NULL };
1b62f00d
RD
3143
3144 self = self;
c7e7022c 3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
1b62f00d
RD
3146 return NULL;
3147 if (_argo0) {
3148 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
1b62f00d
RD
3151 return NULL;
3152 }
3153 }
c7e7022c
RD
3154{
3155 _arg1 = &temp;
3156 if (! wxColour_helper(_obj1, &_arg1))
1b62f00d 3157 return NULL;
c7e7022c 3158}
1b62f00d 3159{
4268f798 3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3161 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
1b62f00d 3162
4268f798 3163 wxPyEndAllowThreads(__tstate);
493f1553 3164 if (PyErr_Occurred()) return NULL;
c7e7022c 3165} _resultobj = Py_BuildValue("i",_result);
1b62f00d
RD
3166 return _resultobj;
3167}
3168
c7e7022c
RD
3169#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3170static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3171 PyObject * _resultobj;
3172 bool _result;
c7e7022c
RD
3173 wxPyListCtrl * _arg0;
3174 wxColour * _arg1;
1d99702e 3175 PyObject * _argo0 = 0;
c7e7022c
RD
3176 wxColour temp;
3177 PyObject * _obj1 = 0;
3178 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3179
3180 self = self;
c7e7022c 3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 3182 return NULL;
1d99702e
RD
3183 if (_argo0) {
3184 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3187 return NULL;
3188 }
3189 }
c7e7022c
RD
3190{
3191 _arg1 = &temp;
3192 if (! wxColour_helper(_obj1, &_arg1))
3193 return NULL;
3194}
cf694132 3195{
4268f798 3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3197 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
cf694132 3198
4268f798 3199 wxPyEndAllowThreads(__tstate);
493f1553 3200 if (PyErr_Occurred()) return NULL;
cf694132 3201} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3202 return _resultobj;
3203}
3204
14afa2cb
RD
3205static wxListItem * wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col) {
3206 wxListItem item;
3207 if (self->GetColumn(col, item))
3208 return new wxListItem(item);
3209 else
3210 return NULL;
3211 }
c7e7022c 3212static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3213 PyObject * _resultobj;
14afa2cb 3214 wxListItem * _result;
c7e7022c
RD
3215 wxPyListCtrl * _arg0;
3216 int _arg1;
1d99702e 3217 PyObject * _argo0 = 0;
14afa2cb 3218 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3219
3220 self = self;
14afa2cb 3221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 3222 return NULL;
1d99702e
RD
3223 if (_argo0) {
3224 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3227 return NULL;
3228 }
3229 }
cf694132 3230{
4268f798 3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3232 _result = (wxListItem *)wxPyListCtrl_GetColumn(_arg0,_arg1);
cf694132 3233
4268f798 3234 wxPyEndAllowThreads(__tstate);
493f1553 3235 if (PyErr_Occurred()) return NULL;
14afa2cb 3236}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3237 return _resultobj;
3238}
3239
c7e7022c
RD
3240#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3241static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3242 PyObject * _resultobj;
3243 bool _result;
c7e7022c 3244 wxPyListCtrl * _arg0;
8ab979d7 3245 int _arg1;
c7e7022c 3246 wxListItem * _arg2;
1d99702e 3247 PyObject * _argo0 = 0;
c7e7022c
RD
3248 PyObject * _argo2 = 0;
3249 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3250
3251 self = self;
c7e7022c 3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3253 return NULL;
1d99702e
RD
3254 if (_argo0) {
3255 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3258 return NULL;
3259 }
3260 }
3261 if (_argo2) {
3262 if (_argo2 == Py_None) { _arg2 = NULL; }
3263 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3264 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3265 return NULL;
3266 }
3267 }
cf694132 3268{
4268f798 3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3270 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132 3271
4268f798 3272 wxPyEndAllowThreads(__tstate);
493f1553 3273 if (PyErr_Occurred()) return NULL;
cf694132 3274} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3275 return _resultobj;
3276}
3277
c7e7022c
RD
3278#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3279static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3280 PyObject * _resultobj;
c7e7022c
RD
3281 int _result;
3282 wxPyListCtrl * _arg0;
3283 int _arg1;
1d99702e 3284 PyObject * _argo0 = 0;
c7e7022c 3285 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3286
3287 self = self;
c7e7022c 3288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3289 return NULL;
1d99702e
RD
3290 if (_argo0) {
3291 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3294 return NULL;
3295 }
3296 }
cf694132 3297{
4268f798 3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3299 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132 3300
4268f798 3301 wxPyEndAllowThreads(__tstate);
493f1553 3302 if (PyErr_Occurred()) return NULL;
cf694132 3303} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3304 return _resultobj;
3305}
3306
c7e7022c
RD
3307#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3308static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3309 PyObject * _resultobj;
c7e7022c
RD
3310 bool _result;
3311 wxPyListCtrl * _arg0;
3312 int _arg1;
3313 int _arg2;
1d99702e 3314 PyObject * _argo0 = 0;
c7e7022c 3315 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3316
3317 self = self;
c7e7022c 3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3319 return NULL;
1d99702e
RD
3320 if (_argo0) {
3321 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3324 return NULL;
3325 }
3326 }
cf694132 3327{
4268f798 3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3329 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132 3330
4268f798 3331 wxPyEndAllowThreads(__tstate);
493f1553 3332 if (PyErr_Occurred()) return NULL;
c7e7022c 3333} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3334 return _resultobj;
3335}
3336
c7e7022c
RD
3337#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3338static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3339 PyObject * _resultobj;
c7e7022c
RD
3340 int _result;
3341 wxPyListCtrl * _arg0;
1d99702e 3342 PyObject * _argo0 = 0;
c7e7022c 3343 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3344
3345 self = self;
c7e7022c 3346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3347 return NULL;
1d99702e
RD
3348 if (_argo0) {
3349 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3352 return NULL;
3353 }
3354 }
cf694132 3355{
4268f798 3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3357 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132 3358
4268f798 3359 wxPyEndAllowThreads(__tstate);
493f1553 3360 if (PyErr_Occurred()) return NULL;
c7e7022c 3361} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3362 return _resultobj;
3363}
3364
c7e7022c
RD
3365#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3366static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3367 PyObject * _resultobj;
c7e7022c
RD
3368 wxTextCtrl * _result;
3369 wxPyListCtrl * _arg0;
1d99702e 3370 PyObject * _argo0 = 0;
c7e7022c 3371 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3372
3373 self = self;
c7e7022c 3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0))
8ab979d7 3375 return NULL;
1d99702e
RD
3376 if (_argo0) {
3377 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3380 return NULL;
3381 }
3382 }
cf694132 3383{
4268f798 3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3385 _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0);
cf694132 3386
4268f798 3387 wxPyEndAllowThreads(__tstate);
493f1553 3388 if (PyErr_Occurred()) return NULL;
c7e7022c 3389}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3390 return _resultobj;
3391}
3392
c7e7022c
RD
3393static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3394 wxListItem* info = new wxListItem;
3395 info->m_itemId = itemId;
3396 info->m_col = col;
3397 info->m_mask = 0xFFFF;
3398 self->GetItem(*info);
3399 return info;
3400 }
3401static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3402 PyObject * _resultobj;
c7e7022c
RD
3403 wxListItem * _result;
3404 wxPyListCtrl * _arg0;
3405 long _arg1;
3406 int _arg2 = (int ) 0;
1d99702e 3407 PyObject * _argo0 = 0;
c7e7022c 3408 char *_kwnames[] = { "self","itemId","col", NULL };
be4d9c1f
RD
3409
3410 self = self;
c7e7022c 3411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
be4d9c1f 3412 return NULL;
1d99702e
RD
3413 if (_argo0) {
3414 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3417 return NULL;
3418 }
3419 }
cf694132 3420{
4268f798 3421 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3422 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132 3423
4268f798 3424 wxPyEndAllowThreads(__tstate);
493f1553 3425 if (PyErr_Occurred()) return NULL;
9416aa89 3426}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3427 return _resultobj;
3428}
3429
c7e7022c
RD
3430#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3431static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3432 PyObject * _resultobj;
3433 bool _result;
c7e7022c
RD
3434 wxPyListCtrl * _arg0;
3435 wxListItem * _arg1;
1d99702e 3436 PyObject * _argo0 = 0;
c7e7022c
RD
3437 PyObject * _argo1 = 0;
3438 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3439
3440 self = self;
c7e7022c 3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3442 return NULL;
1d99702e
RD
3443 if (_argo0) {
3444 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3447 return NULL;
3448 }
3449 }
3450 if (_argo1) {
3451 if (_argo1 == Py_None) { _arg1 = NULL; }
3452 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3453 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3454 return NULL;
3455 }
3456 }
cf694132 3457{
4268f798 3458 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3459 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132 3460
4268f798 3461 wxPyEndAllowThreads(__tstate);
493f1553 3462 if (PyErr_Occurred()) return NULL;
cf694132 3463} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3464 return _resultobj;
3465}
3466
c7e7022c
RD
3467#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3468static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3469 PyObject * _resultobj;
3470 long _result;
c7e7022c 3471 wxPyListCtrl * _arg0;
8ab979d7 3472 long _arg1;
c7e7022c
RD
3473 int _arg2;
3474 wxString * _arg3;
3475 int _arg4 = (int ) -1;
1d99702e 3476 PyObject * _argo0 = 0;
c7e7022c
RD
3477 PyObject * _obj3 = 0;
3478 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3479
3480 self = self;
c7e7022c 3481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3482 return NULL;
1d99702e
RD
3483 if (_argo0) {
3484 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3487 return NULL;
3488 }
3489 }
3490{
c8bc7bb8
RD
3491 _arg3 = wxString_in_helper(_obj3);
3492 if (_arg3 == NULL)
185d7c3e 3493 return NULL;
8ab979d7 3494}
cf694132 3495{
4268f798 3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3497 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 3498
4268f798 3499 wxPyEndAllowThreads(__tstate);
493f1553 3500 if (PyErr_Occurred()) return NULL;
cf694132 3501} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3502{
c7e7022c
RD
3503 if (_obj3)
3504 delete _arg3;
8ab979d7
RD
3505}
3506 return _resultobj;
3507}
3508
c7e7022c
RD
3509#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3510static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3511 PyObject * _resultobj;
c7e7022c
RD
3512 int _result;
3513 wxPyListCtrl * _arg0;
8ab979d7
RD
3514 long _arg1;
3515 long _arg2;
1d99702e 3516 PyObject * _argo0 = 0;
c7e7022c 3517 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3518
3519 self = self;
c7e7022c 3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3521 return NULL;
1d99702e
RD
3522 if (_argo0) {
3523 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3526 return NULL;
3527 }
3528 }
cf694132 3529{
4268f798 3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3531 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132 3532
4268f798 3533 wxPyEndAllowThreads(__tstate);
493f1553 3534 if (PyErr_Occurred()) return NULL;
c7e7022c 3535} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3536 return _resultobj;
3537}
3538
c7e7022c
RD
3539#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3540static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3541 PyObject * _resultobj;
c7e7022c
RD
3542 bool _result;
3543 wxPyListCtrl * _arg0;
8ab979d7 3544 long _arg1;
c7e7022c
RD
3545 long _arg2;
3546 long _arg3;
1d99702e 3547 PyObject * _argo0 = 0;
c7e7022c 3548 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3549
3550 self = self;
c7e7022c 3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3552 return NULL;
1d99702e
RD
3553 if (_argo0) {
3554 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3557 return NULL;
3558 }
3559 }
cf694132 3560{
4268f798 3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3562 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132 3563
4268f798 3564 wxPyEndAllowThreads(__tstate);
493f1553 3565 if (PyErr_Occurred()) return NULL;
c7e7022c 3566} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3567 return _resultobj;
3568}
3569
c7e7022c
RD
3570#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3571static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3572 PyObject * _resultobj;
3573 bool _result;
c7e7022c
RD
3574 wxPyListCtrl * _arg0;
3575 long _arg1;
3576 int _arg2;
3577 int _arg3;
1d99702e 3578 PyObject * _argo0 = 0;
c7e7022c 3579 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3580
3581 self = self;
c7e7022c 3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3583 return NULL;
1d99702e
RD
3584 if (_argo0) {
3585 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3588 return NULL;
3589 }
3590 }
cf694132 3591{
4268f798 3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3593 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132 3594
4268f798 3595 wxPyEndAllowThreads(__tstate);
493f1553 3596 if (PyErr_Occurred()) return NULL;
cf694132 3597} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3598 return _resultobj;
3599}
3600
c7e7022c
RD
3601#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3602static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3603 PyObject * _resultobj;
c7e7022c
RD
3604 wxString * _result;
3605 wxPyListCtrl * _arg0;
3606 long _arg1;
1d99702e 3607 PyObject * _argo0 = 0;
c7e7022c 3608 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3609
3610 self = self;
c7e7022c 3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3612 return NULL;
1d99702e
RD
3613 if (_argo0) {
3614 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3617 return NULL;
3618 }
3619 }
cf694132 3620{
4268f798 3621 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3622 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132 3623
4268f798 3624 wxPyEndAllowThreads(__tstate);
493f1553 3625 if (PyErr_Occurred()) return NULL;
c7e7022c 3626}{
c8bc7bb8
RD
3627#if wxUSE_UNICODE
3628 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3629#else
c7e7022c 3630 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3631#endif
c7e7022c
RD
3632}
3633{
3634 delete _result;
3635}
8ab979d7
RD
3636 return _resultobj;
3637}
3638
c7e7022c
RD
3639#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3640static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3641 PyObject * _resultobj;
c7e7022c
RD
3642 wxPyListCtrl * _arg0;
3643 long _arg1;
3644 wxString * _arg2;
1d99702e 3645 PyObject * _argo0 = 0;
c7e7022c
RD
3646 PyObject * _obj2 = 0;
3647 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3648
3649 self = self;
c7e7022c 3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3651 return NULL;
1d99702e
RD
3652 if (_argo0) {
3653 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3656 return NULL;
3657 }
3658 }
cf694132 3659{
c8bc7bb8
RD
3660 _arg2 = wxString_in_helper(_obj2);
3661 if (_arg2 == NULL)
8ab979d7 3662 return NULL;
c7e7022c 3663}
cf694132 3664{
4268f798 3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3666 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132 3667
4268f798 3668 wxPyEndAllowThreads(__tstate);
493f1553 3669 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3670} Py_INCREF(Py_None);
3671 _resultobj = Py_None;
3672{
3673 if (_obj2)
3674 delete _arg2;
3675}
8ab979d7
RD
3676 return _resultobj;
3677}
3678
3679#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3680static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3681 PyObject * _resultobj;
3682 long _result;
c7e7022c 3683 wxPyListCtrl * _arg0;
8ab979d7 3684 long _arg1;
1d99702e 3685 PyObject * _argo0 = 0;
efc5f224 3686 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3687
3688 self = self;
efc5f224 3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3690 return NULL;
1d99702e
RD
3691 if (_argo0) {
3692 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3695 return NULL;
3696 }
3697 }
cf694132 3698{
4268f798 3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3700 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
cf694132 3701
4268f798 3702 wxPyEndAllowThreads(__tstate);
493f1553 3703 if (PyErr_Occurred()) return NULL;
cf694132 3704} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3705 return _resultobj;
3706}
3707
c7e7022c
RD
3708#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3709static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3710 PyObject * _resultobj;
c7e7022c
RD
3711 bool _result;
3712 wxPyListCtrl * _arg0;
0699c864 3713 long _arg1;
c7e7022c 3714 long _arg2;
1d99702e 3715 PyObject * _argo0 = 0;
c7e7022c 3716 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3717
3718 self = self;
c7e7022c 3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3720 return NULL;
1d99702e
RD
3721 if (_argo0) {
3722 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3725 return NULL;
3726 }
3727 }
cf694132 3728{
4268f798 3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3730 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132 3731
4268f798 3732 wxPyEndAllowThreads(__tstate);
493f1553 3733 if (PyErr_Occurred()) return NULL;
c7e7022c 3734} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3735 return _resultobj;
3736}
3737
c7e7022c 3738static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3739 wxPoint* pos = new wxPoint;
3740 self->GetItemPosition(item, *pos);
3741 return pos;
3742 }
efc5f224 3743static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3744 PyObject * _resultobj;
3745 wxPoint * _result;
c7e7022c 3746 wxPyListCtrl * _arg0;
8ab979d7 3747 long _arg1;
1d99702e 3748 PyObject * _argo0 = 0;
efc5f224 3749 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3750 char _ptemp[128];
3751
3752 self = self;
efc5f224 3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3754 return NULL;
1d99702e
RD
3755 if (_argo0) {
3756 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3759 return NULL;
3760 }
3761 }
cf694132 3762{
4268f798 3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3764 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132 3765
4268f798 3766 wxPyEndAllowThreads(__tstate);
493f1553 3767 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3768} if (_result) {
3769 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3770 _resultobj = Py_BuildValue("s",_ptemp);
3771 } else {
3772 Py_INCREF(Py_None);
3773 _resultobj = Py_None;
3774 }
8ab979d7
RD
3775 return _resultobj;
3776}
3777
c7e7022c 3778static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3779 wxRect* rect= new wxRect;
3780 self->GetItemRect(item, *rect, code);
3781 return rect;
3782 }
efc5f224 3783static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3784 PyObject * _resultobj;
3785 wxRect * _result;
c7e7022c 3786 wxPyListCtrl * _arg0;
8ab979d7 3787 long _arg1;
1d99702e
RD
3788 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3789 PyObject * _argo0 = 0;
efc5f224 3790 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3791 char _ptemp[128];
3792
3793 self = self;
efc5f224 3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3795 return NULL;
1d99702e
RD
3796 if (_argo0) {
3797 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3800 return NULL;
3801 }
3802 }
cf694132 3803{
4268f798 3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3805 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132 3806
4268f798 3807 wxPyEndAllowThreads(__tstate);
493f1553 3808 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3809} if (_result) {
3810 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3811 _resultobj = Py_BuildValue("s",_ptemp);
3812 } else {
3813 Py_INCREF(Py_None);
3814 _resultobj = Py_None;
3815 }
8ab979d7
RD
3816 return _resultobj;
3817}
3818
c7e7022c
RD
3819#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3820static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3821 PyObject * _resultobj;
c7e7022c
RD
3822 bool _result;
3823 wxPyListCtrl * _arg0;
8ab979d7 3824 long _arg1;
c7e7022c 3825 wxPoint * _arg2;
1d99702e 3826 PyObject * _argo0 = 0;
c7e7022c
RD
3827 wxPoint temp;
3828 PyObject * _obj2 = 0;
3829 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3830
3831 self = self;
c7e7022c 3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3833 return NULL;
1d99702e
RD
3834 if (_argo0) {
3835 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3838 return NULL;
3839 }
3840 }
c7e7022c
RD
3841{
3842 _arg2 = &temp;
3843 if (! wxPoint_helper(_obj2, &_arg2))
3844 return NULL;
3845}
cf694132 3846{
4268f798 3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3848 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132 3849
4268f798 3850 wxPyEndAllowThreads(__tstate);
493f1553 3851 if (PyErr_Occurred()) return NULL;
cf694132 3852} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3853 return _resultobj;
3854}
3855
3856#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3857static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3858 PyObject * _resultobj;
3859 int _result;
c7e7022c 3860 wxPyListCtrl * _arg0;
1d99702e 3861 PyObject * _argo0 = 0;
efc5f224 3862 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3863
3864 self = self;
efc5f224 3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3866 return NULL;
1d99702e
RD
3867 if (_argo0) {
3868 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3871 return NULL;
3872 }
3873 }
cf694132 3874{
4268f798 3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3876 _result = (int )wxListCtrl_GetItemCount(_arg0);
cf694132 3877
4268f798 3878 wxPyEndAllowThreads(__tstate);
493f1553 3879 if (PyErr_Occurred()) return NULL;
cf694132 3880} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3881 return _resultobj;
3882}
3883
c7e7022c
RD
3884#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3885static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3886 PyObject * _resultobj;
3887 int _result;
c7e7022c 3888 wxPyListCtrl * _arg0;
1d99702e 3889 PyObject * _argo0 = 0;
c7e7022c 3890 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3891
3892 self = self;
c7e7022c 3893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
8ab979d7 3894 return NULL;
1d99702e
RD
3895 if (_argo0) {
3896 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3899 return NULL;
3900 }
3901 }
cf694132 3902{
4268f798 3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3904 _result = (int )wxListCtrl_GetColumnCount(_arg0);
cf694132 3905
4268f798 3906 wxPyEndAllowThreads(__tstate);
493f1553 3907 if (PyErr_Occurred()) return NULL;
cf694132 3908} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3909 return _resultobj;
3910}
3911
c7e7022c
RD
3912#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3913static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3914 PyObject * _resultobj;
c7e7022c
RD
3915 int _result;
3916 wxPyListCtrl * _arg0;
3917 bool _arg1;
1d99702e 3918 PyObject * _argo0 = 0;
c7e7022c
RD
3919 int tempbool1;
3920 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3921
3922 self = self;
c7e7022c 3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3924 return NULL;
1d99702e
RD
3925 if (_argo0) {
3926 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3929 return NULL;
3930 }
3931 }
c7e7022c 3932 _arg1 = (bool ) tempbool1;
8ab979d7 3933{
4268f798 3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3935 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
cf694132 3936
4268f798 3937 wxPyEndAllowThreads(__tstate);
493f1553 3938 if (PyErr_Occurred()) return NULL;
c7e7022c 3939} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3940 return _resultobj;
3941}
3942
c7e7022c
RD
3943#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3944static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3945 PyObject * _resultobj;
c7e7022c
RD
3946 int _result;
3947 wxPyListCtrl * _arg0;
1d99702e 3948 PyObject * _argo0 = 0;
c7e7022c 3949 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3950
3951 self = self;
c7e7022c 3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3953 return NULL;
1d99702e
RD
3954 if (_argo0) {
3955 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3958 return NULL;
3959 }
3960 }
cf694132 3961{
4268f798 3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3963 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
cf694132 3964
4268f798 3965 wxPyEndAllowThreads(__tstate);
493f1553 3966 if (PyErr_Occurred()) return NULL;
c7e7022c 3967} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3968 return _resultobj;
3969}
3970
c7e7022c
RD
3971#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3972static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3973 PyObject * _resultobj;
c7e7022c
RD
3974 wxColour * _result;
3975 wxPyListCtrl * _arg0;
1d99702e 3976 PyObject * _argo0 = 0;
efc5f224 3977 char *_kwnames[] = { "self", NULL };
c7e7022c 3978 char _ptemp[128];
8ab979d7
RD
3979
3980 self = self;
c7e7022c 3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 3982 return NULL;
1d99702e
RD
3983 if (_argo0) {
3984 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3987 return NULL;
3988 }
3989 }
cf694132 3990{
4268f798 3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3992 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
cf694132 3993
4268f798 3994 wxPyEndAllowThreads(__tstate);
493f1553 3995 if (PyErr_Occurred()) return NULL;
cf694132 3996} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
3997 _resultobj = Py_BuildValue("s",_ptemp);
3998 return _resultobj;
3999}
4000
be4d9c1f 4001#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
efc5f224 4002static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 4003 PyObject * _resultobj;
c7e7022c 4004 wxPyListCtrl * _arg0;
be4d9c1f 4005 wxColour * _arg1;
1d99702e 4006 PyObject * _argo0 = 0;
f6bcfd97
BP
4007 wxColour temp;
4008 PyObject * _obj1 = 0;
efc5f224 4009 char *_kwnames[] = { "self","col", NULL };
be4d9c1f
RD
4010
4011 self = self;
f6bcfd97 4012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
be4d9c1f 4013 return NULL;
1d99702e
RD
4014 if (_argo0) {
4015 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
4018 return NULL;
4019 }
4020 }
f6bcfd97
BP
4021{
4022 _arg1 = &temp;
4023 if (! wxColour_helper(_obj1, &_arg1))
be4d9c1f 4024 return NULL;
f6bcfd97 4025}
cf694132 4026{
4268f798 4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4028 wxListCtrl_SetTextColour(_arg0,*_arg1);
cf694132 4029
4268f798 4030 wxPyEndAllowThreads(__tstate);
493f1553 4031 if (PyErr_Occurred()) return NULL;
cf694132 4032} Py_INCREF(Py_None);
be4d9c1f
RD
4033 _resultobj = Py_None;
4034 return _resultobj;
4035}
4036
8ab979d7 4037#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 4038static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4039 PyObject * _resultobj;
4040 long _result;
c7e7022c 4041 wxPyListCtrl * _arg0;
1d99702e 4042 PyObject * _argo0 = 0;
efc5f224 4043 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4044
4045 self = self;
efc5f224 4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 4047 return NULL;
1d99702e
RD
4048 if (_argo0) {
4049 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4052 return NULL;
4053 }
4054 }
cf694132 4055{
4268f798 4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4057 _result = (long )wxListCtrl_GetTopItem(_arg0);
cf694132 4058
4268f798 4059 wxPyEndAllowThreads(__tstate);
493f1553 4060 if (PyErr_Occurred()) return NULL;
cf694132 4061} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4062 return _resultobj;
4063}
4064
c7e7022c
RD
4065#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4066static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4067 PyObject * _resultobj;
c7e7022c
RD
4068 wxPyListCtrl * _arg0;
4069 long _arg1;
4070 bool _arg2 = (bool ) TRUE;
1d99702e 4071 PyObject * _argo0 = 0;
c7e7022c
RD
4072 int tempbool2 = (int) TRUE;
4073 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
4074
4075 self = self;
c7e7022c 4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 4077 return NULL;
1d99702e
RD
4078 if (_argo0) {
4079 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4082 return NULL;
4083 }
4084 }
c7e7022c 4085 _arg2 = (bool ) tempbool2;
cf694132 4086{
4268f798 4087 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4088 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
cf694132 4089
4268f798 4090 wxPyEndAllowThreads(__tstate);
493f1553 4091 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4092} Py_INCREF(Py_None);
4093 _resultobj = Py_None;
8ab979d7
RD
4094 return _resultobj;
4095}
4096
c7e7022c
RD
4097#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4098static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4099 PyObject * _resultobj;
c7e7022c 4100 wxPyListCtrl * _arg0;
8ab979d7 4101 long _arg1;
1d99702e 4102 PyObject * _argo0 = 0;
c7e7022c 4103 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
4104
4105 self = self;
c7e7022c 4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 4107 return NULL;
1d99702e
RD
4108 if (_argo0) {
4109 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4112 return NULL;
4113 }
4114 }
cf694132 4115{
4268f798 4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4117 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
cf694132 4118
4268f798 4119 wxPyEndAllowThreads(__tstate);
493f1553 4120 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4121} Py_INCREF(Py_None);
4122 _resultobj = Py_None;
8ab979d7
RD
4123 return _resultobj;
4124}
4125
c7e7022c
RD
4126#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4127static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4128 PyObject * _resultobj;
4129 long _result;
c7e7022c 4130 wxPyListCtrl * _arg0;
8ab979d7 4131 long _arg1;
c7e7022c
RD
4132 int _arg2 = (int ) (wxLIST_NEXT_ALL);
4133 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
1d99702e 4134 PyObject * _argo0 = 0;
c7e7022c 4135 char *_kwnames[] = { "self","item","geometry","state", NULL };
8ab979d7
RD
4136
4137 self = self;
c7e7022c 4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 4139 return NULL;
1d99702e
RD
4140 if (_argo0) {
4141 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4144 return NULL;
4145 }
4146 }
4147{
4268f798 4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4149 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
c7e7022c 4150
4268f798 4151 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4152 if (PyErr_Occurred()) return NULL;
4153} _resultobj = Py_BuildValue("l",_result);
4154 return _resultobj;
4155}
4156
4157#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4158static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject * _resultobj;
4160 wxImageList * _result;
4161 wxPyListCtrl * _arg0;
4162 int _arg1;
4163 PyObject * _argo0 = 0;
4164 char *_kwnames[] = { "self","which", NULL };
4165
4166 self = self;
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
185d7c3e 4168 return NULL;
c7e7022c
RD
4169 if (_argo0) {
4170 if (_argo0 == Py_None) { _arg0 = NULL; }
4171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
8ab979d7 4173 return NULL;
c7e7022c 4174 }
8ab979d7 4175 }
cf694132 4176{
4268f798 4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4178 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
cf694132 4179
4268f798 4180 wxPyEndAllowThreads(__tstate);
493f1553 4181 if (PyErr_Occurred()) return NULL;
c7e7022c 4182}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
4183 return _resultobj;
4184}
4185
c7e7022c
RD
4186#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4187static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4188 PyObject * _resultobj;
c7e7022c
RD
4189 wxPyListCtrl * _arg0;
4190 wxImageList * _arg1;
4191 int _arg2;
1d99702e
RD
4192 PyObject * _argo0 = 0;
4193 PyObject * _argo1 = 0;
c7e7022c 4194 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4195
4196 self = self;
c7e7022c 4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4198 return NULL;
1d99702e
RD
4199 if (_argo0) {
4200 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4203 return NULL;
4204 }
4205 }
1d99702e
RD
4206 if (_argo1) {
4207 if (_argo1 == Py_None) { _arg1 = NULL; }
c7e7022c
RD
4208 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4209 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
4210 return NULL;
4211 }
4212 }
cf694132 4213{
4268f798 4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4215 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132 4216
4268f798 4217 wxPyEndAllowThreads(__tstate);
493f1553 4218 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4219} Py_INCREF(Py_None);
4220 _resultobj = Py_None;
8ab979d7
RD
4221 return _resultobj;
4222}
4223
c7e7022c
RD
4224#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4225static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4226 PyObject * _resultobj;
c7e7022c
RD
4227 wxPyListCtrl * _arg0;
4228 wxImageList * _arg1;
4229 int _arg2;
1d99702e 4230 PyObject * _argo0 = 0;
c7e7022c
RD
4231 PyObject * _argo1 = 0;
4232 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4233
4234 self = self;
c7e7022c 4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4236 return NULL;
1d99702e
RD
4237 if (_argo0) {
4238 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4241 return NULL;
4242 }
4243 }
c7e7022c
RD
4244 if (_argo1) {
4245 if (_argo1 == Py_None) { _arg1 = NULL; }
4246 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4247 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
8ab979d7 4248 return NULL;
c7e7022c 4249 }
8ab979d7 4250 }
cf694132 4251{
4268f798 4252 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4253 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
cf694132 4254
4268f798 4255 wxPyEndAllowThreads(__tstate);
493f1553 4256 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4257} Py_INCREF(Py_None);
4258 _resultobj = Py_None;
8ab979d7
RD
4259 return _resultobj;
4260}
4261
c7e7022c
RD
4262#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4263static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4264 PyObject * _resultobj;
c7e7022c
RD
4265 bool _result;
4266 wxPyListCtrl * _arg0;
1d99702e 4267 PyObject * _argo0 = 0;
c7e7022c 4268 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4269
4270 self = self;
c7e7022c 4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
8ab979d7 4272 return NULL;
1d99702e
RD
4273 if (_argo0) {
4274 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4277 return NULL;
4278 }
4279 }
cf694132 4280{
4268f798 4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4282 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132 4283
4268f798 4284 wxPyEndAllowThreads(__tstate);
493f1553 4285 if (PyErr_Occurred()) return NULL;
c7e7022c 4286} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4287 return _resultobj;
4288}
4289
c7e7022c
RD
4290#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4291static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4292 PyObject * _resultobj;
c7e7022c 4293 wxPyListCtrl * _arg0;
8ab979d7 4294 long _arg1;
1d99702e 4295 PyObject * _argo0 = 0;
c7e7022c 4296 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4297
4298 self = self;
c7e7022c 4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4300 return NULL;
1d99702e
RD
4301 if (_argo0) {
4302 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4305 return NULL;
4306 }
4307 }
cf694132 4308{
4268f798 4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4310 wxListCtrl_RefreshItem(_arg0,_arg1);
cf694132 4311
4268f798 4312 wxPyEndAllowThreads(__tstate);
493f1553 4313 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4314} Py_INCREF(Py_None);
4315 _resultobj = Py_None;
8ab979d7
RD
4316 return _resultobj;
4317}
4318
c7e7022c
RD
4319#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4320static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4321 PyObject * _resultobj;
c7e7022c
RD
4322 wxPyListCtrl * _arg0;
4323 long _arg1;
4324 long _arg2;
1d99702e 4325 PyObject * _argo0 = 0;
c7e7022c 4326 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4327
4328 self = self;
c7e7022c 4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4330 return NULL;
1d99702e
RD
4331 if (_argo0) {
4332 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4335 return NULL;
4336 }
4337 }
cf694132 4338{
4268f798 4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4340 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
cf694132 4341
4268f798 4342 wxPyEndAllowThreads(__tstate);
493f1553 4343 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4344} Py_INCREF(Py_None);
4345 _resultobj = Py_None;
8ab979d7
RD
4346 return _resultobj;
4347}
4348
c7e7022c
RD
4349#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4350static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4351 PyObject * _resultobj;
c7e7022c
RD
4352 bool _result;
4353 wxPyListCtrl * _arg0;
4354 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
1d99702e 4355 PyObject * _argo0 = 0;
c7e7022c 4356 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
4357
4358 self = self;
c7e7022c 4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
8ab979d7 4360 return NULL;
1d99702e
RD
4361 if (_argo0) {
4362 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4365 return NULL;
4366 }
4367 }
cf694132 4368{
4268f798 4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4370 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132 4371
4268f798 4372 wxPyEndAllowThreads(__tstate);
493f1553 4373 if (PyErr_Occurred()) return NULL;
c7e7022c 4374} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4375 return _resultobj;
4376}
4377
c7e7022c
RD
4378#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4379static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4380 PyObject * _resultobj;
4381 bool _result;
c7e7022c
RD
4382 wxPyListCtrl * _arg0;
4383 long _arg1;
1d99702e 4384 PyObject * _argo0 = 0;
c7e7022c 4385 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4386
4387 self = self;
c7e7022c 4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4389 return NULL;
1d99702e
RD
4390 if (_argo0) {
4391 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4394 return NULL;
4395 }
4396 }
c7e7022c 4397{
4268f798 4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4399 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
c7e7022c 4400
4268f798 4401 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4402 if (PyErr_Occurred()) return NULL;
4403} _resultobj = Py_BuildValue("i",_result);
4404 return _resultobj;
4405}
4406
4407#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4408static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4409 PyObject * _resultobj;
4410 bool _result;
4411 wxPyListCtrl * _arg0;
4412 PyObject * _argo0 = 0;
4413 char *_kwnames[] = { "self", NULL };
4414
4415 self = self;
4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4417 return NULL;
4418 if (_argo0) {
4419 if (_argo0 == Py_None) { _arg0 = NULL; }
4420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4422 return NULL;
4423 }
4424 }
cf694132 4425{
4268f798 4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4427 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
cf694132 4428
4268f798 4429 wxPyEndAllowThreads(__tstate);
493f1553 4430 if (PyErr_Occurred()) return NULL;
cf694132 4431} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4432 return _resultobj;
4433}
4434
c7e7022c
RD
4435#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4436static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4437 PyObject * _resultobj;
4438 bool _result;
c7e7022c 4439 wxPyListCtrl * _arg0;
8ab979d7 4440 int _arg1;
1d99702e 4441 PyObject * _argo0 = 0;
c7e7022c 4442 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
4443
4444 self = self;
c7e7022c 4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 4446 return NULL;
1d99702e
RD
4447 if (_argo0) {
4448 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4451 return NULL;
4452 }
4453 }
cf694132 4454{
4268f798 4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4456 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
cf694132 4457
4268f798 4458 wxPyEndAllowThreads(__tstate);
493f1553 4459 if (PyErr_Occurred()) return NULL;
cf694132 4460} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4461 return _resultobj;
4462}
4463
c7e7022c
RD
4464#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4465static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4466 PyObject * _resultobj;
c7e7022c
RD
4467 bool _result;
4468 wxPyListCtrl * _arg0;
1d99702e 4469 PyObject * _argo0 = 0;
c7e7022c 4470 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4471
4472 self = self;
c7e7022c 4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
8ab979d7 4474 return NULL;
1d99702e
RD
4475 if (_argo0) {
4476 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4479 return NULL;
4480 }
4481 }
c7e7022c 4482{
4268f798 4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4484 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
c7e7022c 4485
4268f798 4486 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4487 if (PyErr_Occurred()) return NULL;
4488} _resultobj = Py_BuildValue("i",_result);
4489 return _resultobj;
4490}
4491
4492#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4493static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject * _resultobj;
4495 wxPyListCtrl * _arg0;
4496 PyObject * _argo0 = 0;
4497 char *_kwnames[] = { "self", NULL };
4498
4499 self = self;
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
4501 return NULL;
4502 if (_argo0) {
4503 if (_argo0 == Py_None) { _arg0 = NULL; }
4504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4506 return NULL;
4507 }
4508 }
cf694132 4509{
4268f798 4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4511 wxListCtrl_ClearAll(_arg0);
cf694132 4512
4268f798 4513 wxPyEndAllowThreads(__tstate);
493f1553 4514 if (PyErr_Occurred()) return NULL;
cf694132 4515} Py_INCREF(Py_None);
8ab979d7
RD
4516 _resultobj = Py_None;
4517 return _resultobj;
4518}
4519
c7e7022c
RD
4520#define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4521static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4522 PyObject * _resultobj;
4523 wxTextCtrl * _result;
4524 wxPyListCtrl * _arg0;
4525 long _arg1;
4526 PyObject * _argo0 = 0;
4527 char *_kwnames[] = { "self","item", NULL };
4528
4529 self = self;
4530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
4531 return NULL;
4532 if (_argo0) {
4533 if (_argo0 == Py_None) { _arg0 = NULL; }
4534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4536 return NULL;
4537 }
4538 }
4539{
4268f798 4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4541 _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1);
c7e7022c 4542
4268f798 4543 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4544 if (PyErr_Occurred()) return NULL;
4545}{ _resultobj = wxPyMake_wxObject(_result); }
4546 return _resultobj;
4547}
4548
4549#define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4550static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4551 PyObject * _resultobj;
4552 bool _result;
c7e7022c
RD
4553 wxPyListCtrl * _arg0;
4554 bool _arg1;
1d99702e 4555 PyObject * _argo0 = 0;
c7e7022c
RD
4556 int tempbool1;
4557 char *_kwnames[] = { "self","cancel", NULL };
8ab979d7
RD
4558
4559 self = self;
c7e7022c 4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1))
8ab979d7 4561 return NULL;
1d99702e
RD
4562 if (_argo0) {
4563 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4566 return NULL;
4567 }
4568 }
c7e7022c
RD
4569 _arg1 = (bool ) tempbool1;
4570{
4268f798 4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4572 _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1);
c7e7022c 4573
4268f798 4574 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4575 if (PyErr_Occurred()) return NULL;
4576} _resultobj = Py_BuildValue("i",_result);
4577 return _resultobj;
4578}
4579
4580#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4581static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4582 PyObject * _resultobj;
4583 bool _result;
4584 wxPyListCtrl * _arg0;
4585 long _arg1;
4586 PyObject * _argo0 = 0;
4587 char *_kwnames[] = { "self","item", NULL };
4588
4589 self = self;
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
4591 return NULL;
4592 if (_argo0) {
4593 if (_argo0 == Py_None) { _arg0 = NULL; }
4594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4596 return NULL;
4597 }
4598 }
cf694132 4599{
4268f798 4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4601 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132 4602
4268f798 4603 wxPyEndAllowThreads(__tstate);
493f1553 4604 if (PyErr_Occurred()) return NULL;
cf694132 4605} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4606 return _resultobj;
4607}
4608
c7e7022c
RD
4609#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4610static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4611 PyObject * _resultobj;
4612 long _result;
c7e7022c 4613 wxPyListCtrl * _arg0;
8ab979d7 4614 long _arg1;
c7e7022c
RD
4615 wxString * _arg2;
4616 bool _arg3 = (bool ) FALSE;
1d99702e 4617 PyObject * _argo0 = 0;
c7e7022c
RD
4618 PyObject * _obj2 = 0;
4619 int tempbool3 = (int) FALSE;
4620 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4621
4622 self = self;
c7e7022c 4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4624 return NULL;
1d99702e
RD
4625 if (_argo0) {
4626 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4629 return NULL;
4630 }
4631 }
4632{
c8bc7bb8
RD
4633 _arg2 = wxString_in_helper(_obj2);
4634 if (_arg2 == NULL)
8ab979d7 4635 return NULL;
8ab979d7 4636}
c7e7022c 4637 _arg3 = (bool ) tempbool3;
cf694132 4638{
4268f798 4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4640 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4641
4268f798 4642 wxPyEndAllowThreads(__tstate);
493f1553 4643 if (PyErr_Occurred()) return NULL;
cf694132 4644} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4645{
c7e7022c
RD
4646 if (_obj2)
4647 delete _arg2;
8ab979d7
RD
4648}
4649 return _resultobj;
4650}
4651
c7e7022c
RD
4652#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4653static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4654 PyObject * _resultobj;
c7e7022c
RD
4655 long _result;
4656 wxPyListCtrl * _arg0;
8ab979d7
RD
4657 long _arg1;
4658 long _arg2;
1d99702e 4659 PyObject * _argo0 = 0;
c7e7022c 4660 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4661
4662 self = self;
c7e7022c 4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4664 return NULL;
1d99702e
RD
4665 if (_argo0) {
4666 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4669 return NULL;
4670 }
4671 }
cf694132 4672{
4268f798 4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4674 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132 4675
4268f798 4676 wxPyEndAllowThreads(__tstate);
493f1553 4677 if (PyErr_Occurred()) return NULL;
c7e7022c 4678} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4679 return _resultobj;
4680}
4681
c7e7022c
RD
4682#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4683static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4684 PyObject * _resultobj;
c7e7022c
RD
4685 long _result;
4686 wxPyListCtrl * _arg0;
4687 long _arg1;
4688 wxPoint * _arg2;
4689 int _arg3;
4690 PyObject * _argo0 = 0;
4691 wxPoint temp;
4692 PyObject * _obj2 = 0;
4693 char *_kwnames[] = { "self","start","pt","direction", NULL };
4694
4695 self = self;
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
4697 return NULL;
4698 if (_argo0) {
4699 if (_argo0 == Py_None) { _arg0 = NULL; }
4700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4702 return NULL;
4703 }
4704 }
4705{
4706 _arg2 = &temp;
4707 if (! wxPoint_helper(_obj2, &_arg2))
4708 return NULL;
4709}
4710{
4268f798 4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4712 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
c7e7022c 4713
4268f798 4714 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4715 if (PyErr_Occurred()) return NULL;
4716} _resultobj = Py_BuildValue("l",_result);
4717 return _resultobj;
4718}
4719
4720#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4721static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4722 PyObject * _resultobj;
4723 long _result;
4724 wxPyListCtrl * _arg0;
4725 wxPoint * _arg1;
4726 int * _arg2;
4727 int temp;
4728 PyObject * _argo0 = 0;
4729 wxPoint temp0;
4730 PyObject * _obj1 = 0;
4731 char *_kwnames[] = { "self","point", NULL };
4732
4733 self = self;
4734{
4735 _arg2 = &temp;
4736}
4737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
4738 return NULL;
4739 if (_argo0) {
4740 if (_argo0 == Py_None) { _arg0 = NULL; }
4741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4743 return NULL;
4744 }
4745 }
4746{
4747 _arg1 = &temp0;
4748 if (! wxPoint_helper(_obj1, &_arg1))
4749 return NULL;
4750}
4751{
4268f798 4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4753 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
c7e7022c 4754
4268f798 4755 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4756 if (PyErr_Occurred()) return NULL;
4757} _resultobj = Py_BuildValue("l",_result);
4758{
4759 PyObject *o;
4760 o = PyInt_FromLong((long) (*_arg2));
4761 _resultobj = t_output_helper(_resultobj, o);
4762}
4763 return _resultobj;
4764}
4765
4766#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4767static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject * _resultobj;
4769 long _result;
4770 wxPyListCtrl * _arg0;
4771 wxListItem * _arg1;
4772 PyObject * _argo0 = 0;
4773 PyObject * _argo1 = 0;
4774 char *_kwnames[] = { "self","info", NULL };
4775
4776 self = self;
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
4778 return NULL;
4779 if (_argo0) {
4780 if (_argo0 == Py_None) { _arg0 = NULL; }
4781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4783 return NULL;
4784 }
4785 }
4786 if (_argo1) {
4787 if (_argo1 == Py_None) { _arg1 = NULL; }
4788 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
4789 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4790 return NULL;
4791 }
4792 }
4793{
4268f798 4794 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4795 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
c7e7022c 4796
4268f798 4797 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4798 if (PyErr_Occurred()) return NULL;
4799} _resultobj = Py_BuildValue("l",_result);
4800 return _resultobj;
4801}
4802
4803#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4804static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject * _resultobj;
4806 long _result;
4807 wxPyListCtrl * _arg0;
4808 long _arg1;
4809 wxString * _arg2;
4810 PyObject * _argo0 = 0;
4811 PyObject * _obj2 = 0;
4812 char *_kwnames[] = { "self","index","label", NULL };
4813
4814 self = self;
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
4816 return NULL;
4817 if (_argo0) {
4818 if (_argo0 == Py_None) { _arg0 = NULL; }
4819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4821 return NULL;
4822 }
4823 }
4824{
c8bc7bb8
RD
4825 _arg2 = wxString_in_helper(_obj2);
4826 if (_arg2 == NULL)
c7e7022c 4827 return NULL;
c7e7022c
RD
4828}
4829{
4268f798 4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4831 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
c7e7022c 4832
4268f798 4833 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4834 if (PyErr_Occurred()) return NULL;
4835} _resultobj = Py_BuildValue("l",_result);
4836{
4837 if (_obj2)
4838 delete _arg2;
4839}
4840 return _resultobj;
4841}
4842
4843#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4844static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject * _resultobj;
4846 long _result;
4847 wxPyListCtrl * _arg0;
8ab979d7
RD
4848 long _arg1;
4849 int _arg2;
1d99702e 4850 PyObject * _argo0 = 0;
c7e7022c 4851 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4852
4853 self = self;
c7e7022c 4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4855 return NULL;
1d99702e
RD
4856 if (_argo0) {
4857 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4860 return NULL;
4861 }
4862 }
cf694132 4863{
4268f798 4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4865 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
cf694132 4866
4268f798 4867 wxPyEndAllowThreads(__tstate);
493f1553 4868 if (PyErr_Occurred()) return NULL;
c7e7022c 4869} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4870 return _resultobj;
4871}
4872
c7e7022c
RD
4873#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4874static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4875 PyObject * _resultobj;
c7e7022c
RD
4876 long _result;
4877 wxPyListCtrl * _arg0;
8ab979d7 4878 long _arg1;
c7e7022c
RD
4879 wxString * _arg2;
4880 int _arg3;
1d99702e 4881 PyObject * _argo0 = 0;
2f90df85 4882 PyObject * _obj2 = 0;
c7e7022c 4883 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4884
4885 self = self;
c7e7022c 4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4887 return NULL;
1d99702e
RD
4888 if (_argo0) {
4889 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4892 return NULL;
4893 }
4894 }
2f90df85 4895{
c8bc7bb8
RD
4896 _arg2 = wxString_in_helper(_obj2);
4897 if (_arg2 == NULL)
8ab979d7 4898 return NULL;
2f90df85 4899}
cf694132 4900{
4268f798 4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4902 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4903
4268f798 4904 wxPyEndAllowThreads(__tstate);
493f1553 4905 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4906} _resultobj = Py_BuildValue("l",_result);
4907{
4908 if (_obj2)
4909 delete _arg2;
4910}
8ab979d7
RD
4911 return _resultobj;
4912}
4913
c7e7022c
RD
4914#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4915static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4916 PyObject * _resultobj;
c7e7022c
RD
4917 long _result;
4918 wxPyListCtrl * _arg0;
8ab979d7 4919 long _arg1;
c7e7022c 4920 wxListItem * _arg2;
1d99702e 4921 PyObject * _argo0 = 0;
c7e7022c
RD
4922 PyObject * _argo2 = 0;
4923 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4924
4925 self = self;
c7e7022c 4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4927 return NULL;
1d99702e
RD
4928 if (_argo0) {
4929 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4932 return NULL;
4933 }
4934 }
4935 if (_argo2) {
4936 if (_argo2 == Py_None) { _arg2 = NULL; }
4937 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4938 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4939 return NULL;
4940 }
4941 }
cf694132 4942{
4268f798 4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4944 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132 4945
4268f798 4946 wxPyEndAllowThreads(__tstate);
493f1553 4947 if (PyErr_Occurred()) return NULL;
c7e7022c 4948} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4949 return _resultobj;
4950}
4951
c7e7022c
RD
4952#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4953static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4954 PyObject * _resultobj;
c7e7022c
RD
4955 long _result;
4956 wxPyListCtrl * _arg0;
8ab979d7
RD
4957 long _arg1;
4958 wxString * _arg2;
c7e7022c
RD
4959 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
4960 int _arg4 = (int ) -1;
1d99702e 4961 PyObject * _argo0 = 0;
8ab979d7 4962 PyObject * _obj2 = 0;
c7e7022c 4963 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
4964
4965 self = self;
c7e7022c 4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 4967 return NULL;
1d99702e
RD
4968 if (_argo0) {
4969 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4972 return NULL;
4973 }
4974 }
4975{
c8bc7bb8
RD
4976 _arg2 = wxString_in_helper(_obj2);
4977 if (_arg2 == NULL)
8ab979d7 4978 return NULL;
8ab979d7 4979}
cf694132 4980{
4268f798 4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4982 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132 4983
4268f798 4984 wxPyEndAllowThreads(__tstate);
493f1553 4985 if (PyErr_Occurred()) return NULL;
c7e7022c 4986} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4987{
4988 if (_obj2)
4989 delete _arg2;
4990}
4991 return _resultobj;
4992}
4993
c7e7022c
RD
4994#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4995static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4996 PyObject * _resultobj;
c7e7022c 4997 wxPyListCtrl * _arg0;
8ab979d7 4998 long _arg1;
1d99702e 4999 PyObject * _argo0 = 0;
c7e7022c 5000 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
5001
5002 self = self;
c7e7022c 5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 5004 return NULL;
1d99702e
RD
5005 if (_argo0) {
5006 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
5009 return NULL;
5010 }
5011 }
cf694132 5012{
4268f798 5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5014 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132 5015
4268f798 5016 wxPyEndAllowThreads(__tstate);
493f1553 5017 if (PyErr_Occurred()) return NULL;
cf694132 5018} Py_INCREF(Py_None);
8ab979d7
RD
5019 _resultobj = Py_None;
5020 return _resultobj;
5021}
5022
c7e7022c
RD
5023#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5024static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5025 PyObject * _resultobj;
c7e7022c
RD
5026 bool _result;
5027 wxPyListCtrl * _arg0;
5028 int _arg1;
5029 int _arg2;
1d99702e 5030 PyObject * _argo0 = 0;
c7e7022c 5031 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
5032
5033 self = self;
c7e7022c 5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5035 return NULL;
1d99702e
RD
5036 if (_argo0) {
5037 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
5040 return NULL;
5041 }
5042 }
cf694132 5043{
4268f798 5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5045 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132 5046
4268f798 5047 wxPyEndAllowThreads(__tstate);
493f1553 5048 if (PyErr_Occurred()) return NULL;
c7e7022c 5049} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5050 return _resultobj;
5051}
5052
c7e7022c 5053static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
5054 if (!PyCallable_Check(func))
5055 return FALSE;
f6bcfd97 5056 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
5057 }
5058static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5059 PyObject * _resultobj;
5060 bool _result;
c7e7022c 5061 wxPyListCtrl * _arg0;
dcd38683
RD
5062 PyObject * _arg1;
5063 PyObject * _argo0 = 0;
5064 PyObject * _obj1 = 0;
5065 char *_kwnames[] = { "self","func", NULL };
5066
5067 self = self;
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
5069 return NULL;
5070 if (_argo0) {
5071 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
5074 return NULL;
5075 }
5076 }
5077{
5078 _arg1 = _obj1;
5079}
5080{
4268f798 5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5082 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683 5083
4268f798 5084 wxPyEndAllowThreads(__tstate);
493f1553 5085 if (PyErr_Occurred()) return NULL;
dcd38683
RD
5086} _resultobj = Py_BuildValue("i",_result);
5087 return _resultobj;
5088}
5089
6d19860f
RD
5090static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5091 wxListView *src;
5092 wxPyListCtrl *dest;
5093 src = (wxListView *) ptr;
5094 dest = (wxPyListCtrl *) src;
5095 return (void *) dest;
5096}
5097
5098static void *SwigwxListViewTowxControl(void *ptr) {
5099 wxListView *src;
5100 wxControl *dest;
5101 src = (wxListView *) ptr;
5102 dest = (wxControl *) src;
5103 return (void *) dest;
5104}
5105
5106static void *SwigwxListViewTowxWindow(void *ptr) {
5107 wxListView *src;
5108 wxWindow *dest;
5109 src = (wxListView *) ptr;
5110 dest = (wxWindow *) src;
5111 return (void *) dest;
5112}
5113
5114static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5115 wxListView *src;
5116 wxEvtHandler *dest;
5117 src = (wxListView *) ptr;
5118 dest = (wxEvtHandler *) src;
5119 return (void *) dest;
5120}
5121
5122static void *SwigwxListViewTowxObject(void *ptr) {
5123 wxListView *src;
5124 wxObject *dest;
5125 src = (wxListView *) ptr;
5126 dest = (wxObject *) src;
5127 return (void *) dest;
5128}
5129
5130#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5131static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5132 PyObject * _resultobj;
5133 wxListView * _result;
5134 wxWindow * _arg0;
5135 wxWindowID _arg1 = (wxWindowID ) -1;
5136 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5137 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5138 long _arg4 = (long ) (wxLC_REPORT);
5139 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 5140 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
6d19860f
RD
5141 PyObject * _argo0 = 0;
5142 wxPoint temp;
5143 PyObject * _obj2 = 0;
5144 wxSize temp0;
5145 PyObject * _obj3 = 0;
5146 PyObject * _argo5 = 0;
5147 PyObject * _obj6 = 0;
5148 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5149 char _ptemp[128];
5150
5151 self = self;
5152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5153 return NULL;
5154 if (_argo0) {
5155 if (_argo0 == Py_None) { _arg0 = NULL; }
5156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5158 return NULL;
5159 }
5160 }
5161 if (_obj2)
5162{
5163 _arg2 = &temp;
5164 if (! wxPoint_helper(_obj2, &_arg2))
5165 return NULL;
5166}
5167 if (_obj3)
5168{
5169 _arg3 = &temp0;
5170 if (! wxSize_helper(_obj3, &_arg3))
5171 return NULL;
5172}
5173 if (_argo5) {
5174 if (_argo5 == Py_None) { _arg5 = NULL; }
5175 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5176 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5177 return NULL;
5178 }
5179 }
5180 if (_obj6)
5181{
c8bc7bb8
RD
5182 _arg6 = wxString_in_helper(_obj6);
5183 if (_arg6 == NULL)
6d19860f 5184 return NULL;
6d19860f
RD
5185}
5186{
4268f798 5187 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5188 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
6d19860f 5189
4268f798 5190 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5191 if (PyErr_Occurred()) return NULL;
5192} if (_result) {
5193 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5194 _resultobj = Py_BuildValue("s",_ptemp);
5195 } else {
5196 Py_INCREF(Py_None);
5197 _resultobj = Py_None;
5198 }
5199{
5200 if (_obj6)
5201 delete _arg6;
5202}
5203 return _resultobj;
5204}
5205
5206#define new_wxPreListView() (new wxListView())
5207static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject * _resultobj;
5209 wxListView * _result;
5210 char *_kwnames[] = { NULL };
5211 char _ptemp[128];
5212
5213 self = self;
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5215 return NULL;
5216{
4268f798 5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5218 _result = (wxListView *)new_wxPreListView();
6d19860f 5219
4268f798 5220 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5221 if (PyErr_Occurred()) return NULL;
5222} if (_result) {
5223 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5224 _resultobj = Py_BuildValue("s",_ptemp);
5225 } else {
5226 Py_INCREF(Py_None);
5227 _resultobj = Py_None;
5228 }
5229 return _resultobj;
5230}
5231
5232#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5233static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject * _resultobj;
5235 bool _result;
5236 wxListView * _arg0;
5237 wxWindow * _arg1;
5238 wxWindowID _arg2 = (wxWindowID ) -1;
5239 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5240 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5241 long _arg5 = (long ) (wxLC_REPORT);
5242 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 5243 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
6d19860f
RD
5244 PyObject * _argo0 = 0;
5245 PyObject * _argo1 = 0;
5246 wxPoint temp;
5247 PyObject * _obj3 = 0;
5248 wxSize temp0;
5249 PyObject * _obj4 = 0;
5250 PyObject * _argo6 = 0;
5251 PyObject * _obj7 = 0;
5252 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5253
5254 self = self;
5255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5256 return NULL;
5257 if (_argo0) {
5258 if (_argo0 == Py_None) { _arg0 = NULL; }
5259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5261 return NULL;
5262 }
5263 }
5264 if (_argo1) {
5265 if (_argo1 == Py_None) { _arg1 = NULL; }
5266 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5267 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5268 return NULL;
5269 }
5270 }
5271 if (_obj3)
5272{
5273 _arg3 = &temp;
5274 if (! wxPoint_helper(_obj3, &_arg3))
5275 return NULL;
5276}
5277 if (_obj4)
5278{
5279 _arg4 = &temp0;
5280 if (! wxSize_helper(_obj4, &_arg4))
5281 return NULL;
5282}
5283 if (_argo6) {
5284 if (_argo6 == Py_None) { _arg6 = NULL; }
5285 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5286 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5287 return NULL;
5288 }
5289 }
5290 if (_obj7)
5291{
c8bc7bb8
RD
5292 _arg7 = wxString_in_helper(_obj7);
5293 if (_arg7 == NULL)
6d19860f 5294 return NULL;
6d19860f
RD
5295}
5296{
4268f798 5297 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5298 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
6d19860f 5299
4268f798 5300 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5301 if (PyErr_Occurred()) return NULL;
5302} _resultobj = Py_BuildValue("i",_result);
5303{
5304 if (_obj7)
5305 delete _arg7;
5306}
5307 return _resultobj;
5308}
5309
5310#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5311static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject * _resultobj;
5313 wxListView * _arg0;
5314 long _arg1;
5315 bool _arg2 = (bool ) TRUE;
5316 PyObject * _argo0 = 0;
5317 int tempbool2 = (int) TRUE;
5318 char *_kwnames[] = { "self","n","on", NULL };
5319
5320 self = self;
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5322 return NULL;
5323 if (_argo0) {
5324 if (_argo0 == Py_None) { _arg0 = NULL; }
5325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5327 return NULL;
5328 }
5329 }
5330 _arg2 = (bool ) tempbool2;
5331{
4268f798 5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5333 wxListView_Select(_arg0,_arg1,_arg2);
6d19860f 5334
4268f798 5335 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5336 if (PyErr_Occurred()) return NULL;
5337} Py_INCREF(Py_None);
5338 _resultobj = Py_None;
5339 return _resultobj;
5340}
5341
5342#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5343static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject * _resultobj;
5345 wxListView * _arg0;
5346 long _arg1;
5347 PyObject * _argo0 = 0;
5348 char *_kwnames[] = { "self","index", NULL };
5349
5350 self = self;
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5352 return NULL;
5353 if (_argo0) {
5354 if (_argo0 == Py_None) { _arg0 = NULL; }
5355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5357 return NULL;
5358 }
5359 }
5360{
4268f798 5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5362 wxListView_Focus(_arg0,_arg1);
6d19860f 5363
4268f798 5364 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5365 if (PyErr_Occurred()) return NULL;
5366} Py_INCREF(Py_None);
5367 _resultobj = Py_None;
5368 return _resultobj;
5369}
5370
5371#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5372static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject * _resultobj;
5374 long _result;
5375 wxListView * _arg0;
5376 PyObject * _argo0 = 0;
5377 char *_kwnames[] = { "self", NULL };
5378
5379 self = self;
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5381 return NULL;
5382 if (_argo0) {
5383 if (_argo0 == Py_None) { _arg0 = NULL; }
5384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5386 return NULL;
5387 }
5388 }
5389{
4268f798 5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5391 _result = (long )wxListView_GetFocusedItem(_arg0);
6d19860f 5392
4268f798 5393 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5394 if (PyErr_Occurred()) return NULL;
5395} _resultobj = Py_BuildValue("l",_result);
5396 return _resultobj;
5397}
5398
5399#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5400static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject * _resultobj;
5402 long _result;
5403 wxListView * _arg0;
5404 long _arg1;
5405 PyObject * _argo0 = 0;
5406 char *_kwnames[] = { "self","item", NULL };
5407
5408 self = self;
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5410 return NULL;
5411 if (_argo0) {
5412 if (_argo0 == Py_None) { _arg0 = NULL; }
5413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5415 return NULL;
5416 }
5417 }
5418{
4268f798 5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5420 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
6d19860f 5421
4268f798 5422 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5423 if (PyErr_Occurred()) return NULL;
5424} _resultobj = Py_BuildValue("l",_result);
5425 return _resultobj;
5426}
5427
5428#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5429static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5430 PyObject * _resultobj;
5431 long _result;
5432 wxListView * _arg0;
5433 PyObject * _argo0 = 0;
5434 char *_kwnames[] = { "self", NULL };
5435
5436 self = self;
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5438 return NULL;
5439 if (_argo0) {
5440 if (_argo0 == Py_None) { _arg0 = NULL; }
5441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5443 return NULL;
5444 }
5445 }
5446{
4268f798 5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5448 _result = (long )wxListView_GetFirstSelected(_arg0);
6d19860f 5449
4268f798 5450 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5451 if (PyErr_Occurred()) return NULL;
5452} _resultobj = Py_BuildValue("l",_result);
5453 return _resultobj;
5454}
5455
5456#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5457static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject * _resultobj;
5459 bool _result;
5460 wxListView * _arg0;
5461 long _arg1;
5462 PyObject * _argo0 = 0;
5463 char *_kwnames[] = { "self","index", NULL };
5464
5465 self = self;
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5467 return NULL;
5468 if (_argo0) {
5469 if (_argo0 == Py_None) { _arg0 = NULL; }
5470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5472 return NULL;
5473 }
5474 }
5475{
4268f798 5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5477 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
6d19860f 5478
4268f798 5479 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5480 if (PyErr_Occurred()) return NULL;
5481} _resultobj = Py_BuildValue("i",_result);
5482 return _resultobj;
5483}
5484
5485#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5486static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5487 PyObject * _resultobj;
5488 wxListView * _arg0;
5489 int _arg1;
5490 int _arg2;
5491 PyObject * _argo0 = 0;
5492 char *_kwnames[] = { "self","col","image", NULL };
5493
5494 self = self;
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5496 return NULL;
5497 if (_argo0) {
5498 if (_argo0 == Py_None) { _arg0 = NULL; }
5499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5501 return NULL;
5502 }
5503 }
5504{
4268f798 5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5506 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
6d19860f 5507
4268f798 5508 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5509 if (PyErr_Occurred()) return NULL;
5510} Py_INCREF(Py_None);
5511 _resultobj = Py_None;
5512 return _resultobj;
5513}
5514
5515#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5516static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject * _resultobj;
5518 wxListView * _arg0;
5519 int _arg1;
5520 PyObject * _argo0 = 0;
5521 char *_kwnames[] = { "self","col", NULL };
5522
5523 self = self;
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5525 return NULL;
5526 if (_argo0) {
5527 if (_argo0 == Py_None) { _arg0 = NULL; }
5528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5530 return NULL;
5531 }
5532 }
5533{
4268f798 5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5535 wxListView_ClearColumnImage(_arg0,_arg1);
6d19860f 5536
4268f798 5537 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5538 if (PyErr_Occurred()) return NULL;
5539} Py_INCREF(Py_None);
5540 _resultobj = Py_None;
5541 return _resultobj;
5542}
5543
00b6c4e3
RD
5544#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5545static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject * _resultobj;
5547 wxTreeItemAttr * _result;
5548 wxColour * _arg0 = (wxColour *) &wxNullColour;
5549 wxColour * _arg1 = (wxColour *) &wxNullColour;
5550 wxFont * _arg2 = (wxFont *) &wxNullFont;
5551 wxColour temp;
5552 PyObject * _obj0 = 0;
5553 wxColour temp0;
5554 PyObject * _obj1 = 0;
5555 PyObject * _argo2 = 0;
5556 char *_kwnames[] = { "colText","colBack","font", NULL };
5557 char _ptemp[128];
5558
5559 self = self;
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5561 return NULL;
5562 if (_obj0)
5563{
5564 _arg0 = &temp;
5565 if (! wxColour_helper(_obj0, &_arg0))
5566 return NULL;
5567}
5568 if (_obj1)
5569{
5570 _arg1 = &temp0;
5571 if (! wxColour_helper(_obj1, &_arg1))
5572 return NULL;
5573}
5574 if (_argo2) {
5575 if (_argo2 == Py_None) { _arg2 = NULL; }
5576 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5577 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5578 return NULL;
5579 }
5580 }
5581{
4268f798 5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5583 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
00b6c4e3 5584
4268f798 5585 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5586 if (PyErr_Occurred()) return NULL;
5587} if (_result) {
5588 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
5589 _resultobj = Py_BuildValue("s",_ptemp);
5590 } else {
5591 Py_INCREF(Py_None);
5592 _resultobj = Py_None;
5593 }
5594 return _resultobj;
5595}
5596
5597#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5598static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5599 PyObject * _resultobj;
5600 wxTreeItemAttr * _arg0;
5601 wxColour * _arg1;
5602 PyObject * _argo0 = 0;
5603 wxColour temp;
5604 PyObject * _obj1 = 0;
5605 char *_kwnames[] = { "self","colText", NULL };
5606
5607 self = self;
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5609 return NULL;
5610 if (_argo0) {
5611 if (_argo0 == Py_None) { _arg0 = NULL; }
5612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5614 return NULL;
5615 }
5616 }
5617{
5618 _arg1 = &temp;
5619 if (! wxColour_helper(_obj1, &_arg1))
5620 return NULL;
5621}
5622{
4268f798 5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5624 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
00b6c4e3 5625
4268f798 5626 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5627 if (PyErr_Occurred()) return NULL;
5628} Py_INCREF(Py_None);
5629 _resultobj = Py_None;
5630 return _resultobj;
5631}
5632
5633#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5634static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject * _resultobj;
5636 wxTreeItemAttr * _arg0;
5637 wxColour * _arg1;
5638 PyObject * _argo0 = 0;
5639 wxColour temp;
5640 PyObject * _obj1 = 0;
5641 char *_kwnames[] = { "self","colBack", NULL };
5642
5643 self = self;
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5645 return NULL;
5646 if (_argo0) {
5647 if (_argo0 == Py_None) { _arg0 = NULL; }
5648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5650 return NULL;
5651 }
5652 }
5653{
5654 _arg1 = &temp;
5655 if (! wxColour_helper(_obj1, &_arg1))
5656 return NULL;
5657}
5658{
4268f798 5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5660 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
00b6c4e3 5661
4268f798 5662 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5663 if (PyErr_Occurred()) return NULL;
5664} Py_INCREF(Py_None);
5665 _resultobj = Py_None;
5666 return _resultobj;
5667}
5668
5669#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5670static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5671 PyObject * _resultobj;
5672 wxTreeItemAttr * _arg0;
5673 wxFont * _arg1;
5674 PyObject * _argo0 = 0;
5675 PyObject * _argo1 = 0;
5676 char *_kwnames[] = { "self","font", NULL };
5677
5678 self = self;
5679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
5680 return NULL;
5681 if (_argo0) {
5682 if (_argo0 == Py_None) { _arg0 = NULL; }
5683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5685 return NULL;
5686 }
5687 }
5688 if (_argo1) {
5689 if (_argo1 == Py_None) { _arg1 = NULL; }
5690 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5691 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5692 return NULL;
5693 }
5694 }
5695{
4268f798 5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5697 wxTreeItemAttr_SetFont(_arg0,*_arg1);
00b6c4e3 5698
4268f798 5699 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5700 if (PyErr_Occurred()) return NULL;
5701} Py_INCREF(Py_None);
5702 _resultobj = Py_None;
5703 return _resultobj;
5704}
5705
5706#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5707static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5708 PyObject * _resultobj;
5709 bool _result;
5710 wxTreeItemAttr * _arg0;
5711 PyObject * _argo0 = 0;
5712 char *_kwnames[] = { "self", NULL };
5713
5714 self = self;
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
5716 return NULL;
5717 if (_argo0) {
5718 if (_argo0 == Py_None) { _arg0 = NULL; }
5719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5721 return NULL;
5722 }
5723 }
5724{
4268f798 5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5726 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
00b6c4e3 5727
4268f798 5728 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5729 if (PyErr_Occurred()) return NULL;
5730} _resultobj = Py_BuildValue("i",_result);
5731 return _resultobj;
5732}
5733
5734#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5735static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5736 PyObject * _resultobj;
5737 bool _result;
5738 wxTreeItemAttr * _arg0;
5739 PyObject * _argo0 = 0;
5740 char *_kwnames[] = { "self", NULL };
5741
5742 self = self;
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
5744 return NULL;
5745 if (_argo0) {
5746 if (_argo0 == Py_None) { _arg0 = NULL; }
5747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5749 return NULL;
5750 }
5751 }
5752{
4268f798 5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5754 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
00b6c4e3 5755
4268f798 5756 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5757 if (PyErr_Occurred()) return NULL;
5758} _resultobj = Py_BuildValue("i",_result);
5759 return _resultobj;
5760}
5761
5762#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5763static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5764 PyObject * _resultobj;
5765 bool _result;
5766 wxTreeItemAttr * _arg0;
5767 PyObject * _argo0 = 0;
5768 char *_kwnames[] = { "self", NULL };
5769
5770 self = self;
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
5772 return NULL;
5773 if (_argo0) {
5774 if (_argo0 == Py_None) { _arg0 = NULL; }
5775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5777 return NULL;
5778 }
5779 }
5780{
4268f798 5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5782 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
00b6c4e3 5783
4268f798 5784 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5785 if (PyErr_Occurred()) return NULL;
5786} _resultobj = Py_BuildValue("i",_result);
5787 return _resultobj;
5788}
5789
5790#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5791static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5792 PyObject * _resultobj;
5793 wxColour * _result;
5794 wxTreeItemAttr * _arg0;
5795 PyObject * _argo0 = 0;
5796 char *_kwnames[] = { "self", NULL };
5797 char _ptemp[128];
5798
5799 self = self;
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
5801 return NULL;
5802 if (_argo0) {
5803 if (_argo0 == Py_None) { _arg0 = NULL; }
5804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5806 return NULL;
5807 }
5808 }
5809{
4268f798 5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5811 _result = new wxColour (wxTreeItemAttr_GetTextColour(_arg0));
00b6c4e3 5812
4268f798 5813 wxPyEndAllowThreads(__tstate);
00b6c4e3 5814 if (PyErr_Occurred()) return NULL;
c5943253
RD
5815} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5816 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5817 return _resultobj;
5818}
5819
5820#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5821static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5822 PyObject * _resultobj;
5823 wxColour * _result;
5824 wxTreeItemAttr * _arg0;
5825 PyObject * _argo0 = 0;
5826 char *_kwnames[] = { "self", NULL };
5827 char _ptemp[128];
5828
5829 self = self;
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5831 return NULL;
5832 if (_argo0) {
5833 if (_argo0 == Py_None) { _arg0 = NULL; }
5834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5836 return NULL;
5837 }
5838 }
5839{
4268f798 5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5841 _result = new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0));
00b6c4e3 5842
4268f798 5843 wxPyEndAllowThreads(__tstate);
00b6c4e3 5844 if (PyErr_Occurred()) return NULL;
c5943253
RD
5845} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5846 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5847 return _resultobj;
5848}
5849
5850#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5851static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5852 PyObject * _resultobj;
5853 wxFont * _result;
5854 wxTreeItemAttr * _arg0;
5855 PyObject * _argo0 = 0;
5856 char *_kwnames[] = { "self", NULL };
5857 char _ptemp[128];
5858
5859 self = self;
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5861 return NULL;
5862 if (_argo0) {
5863 if (_argo0 == Py_None) { _arg0 = NULL; }
5864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5866 return NULL;
5867 }
5868 }
5869{
4268f798 5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5871 _result = new wxFont (wxTreeItemAttr_GetFont(_arg0));
00b6c4e3 5872
4268f798 5873 wxPyEndAllowThreads(__tstate);
00b6c4e3 5874 if (PyErr_Occurred()) return NULL;
c5943253
RD
5875} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5876 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5877 return _resultobj;
5878}
5879
d5c9047a 5880#define new_wxTreeItemId() (new wxTreeItemId())
efc5f224 5881static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5882 PyObject * _resultobj;
d5c9047a 5883 wxTreeItemId * _result;
efc5f224 5884 char *_kwnames[] = { NULL };
d5c9047a 5885 char _ptemp[128];
8ab979d7
RD
5886
5887 self = self;
efc5f224 5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
8ab979d7 5889 return NULL;
cf694132 5890{
4268f798 5891 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5892 _result = (wxTreeItemId *)new_wxTreeItemId();
cf694132 5893
4268f798 5894 wxPyEndAllowThreads(__tstate);
493f1553 5895 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5896} if (_result) {
5897 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5898 _resultobj = Py_BuildValue("s",_ptemp);
5899 } else {
5900 Py_INCREF(Py_None);
5901 _resultobj = Py_None;
5902 }
8ab979d7
RD
5903 return _resultobj;
5904}
5905
d5c9047a 5906#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
efc5f224 5907static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5908 PyObject * _resultobj;
d5c9047a 5909 wxTreeItemId * _arg0;
1d99702e 5910 PyObject * _argo0 = 0;
efc5f224 5911 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5912
5913 self = self;
efc5f224 5914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
8ab979d7 5915 return NULL;
1d99702e
RD
5916 if (_argo0) {
5917 if (_argo0 == Py_None) { _arg0 = NULL; }
5918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
8ab979d7
RD
5920 return NULL;
5921 }
5922 }
cf694132 5923{
4268f798 5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5925 delete_wxTreeItemId(_arg0);
cf694132 5926
4268f798 5927 wxPyEndAllowThreads(__tstate);
493f1553 5928 if (PyErr_Occurred()) return NULL;
cf694132 5929} Py_INCREF(Py_None);
d5c9047a 5930 _resultobj = Py_None;
8ab979d7
RD
5931 return _resultobj;
5932}
5933
d5c9047a 5934#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
efc5f224 5935static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5936 PyObject * _resultobj;
d5c9047a
RD
5937 bool _result;
5938 wxTreeItemId * _arg0;
1d99702e 5939 PyObject * _argo0 = 0;
efc5f224 5940 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5941
5942 self = self;
efc5f224 5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
8ab979d7 5944 return NULL;
1d99702e
RD
5945 if (_argo0) {
5946 if (_argo0 == Py_None) { _arg0 = NULL; }
5947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
8ab979d7
RD
5949 return NULL;
5950 }
5951 }
cf694132 5952{
4268f798 5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5954 _result = (bool )wxTreeItemId_IsOk(_arg0);
cf694132 5955
4268f798 5956 wxPyEndAllowThreads(__tstate);
493f1553 5957 if (PyErr_Occurred()) return NULL;
cf694132 5958} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5959 return _resultobj;
5960}
5961
f6bcfd97 5962static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
c368d904 5963 if (! other) return -1;
f6bcfd97
BP
5964 return *self != *other;
5965 }
5966static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
5967 PyObject * _resultobj;
5968 int _result;
5969 wxTreeItemId * _arg0;
5970 wxTreeItemId * _arg1;
5971 PyObject * _argo0 = 0;
5972 PyObject * _argo1 = 0;
5973 char *_kwnames[] = { "self","other", NULL };
5974
5975 self = self;
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
5977 return NULL;
5978 if (_argo0) {
5979 if (_argo0 == Py_None) { _arg0 = NULL; }
5980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5982 return NULL;
5983 }
5984 }
5985 if (_argo1) {
5986 if (_argo1 == Py_None) { _arg1 = NULL; }
5987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5989 return NULL;
5990 }
5991 }
5992{
4268f798 5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5994 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
f6bcfd97 5995
4268f798 5996 wxPyEndAllowThreads(__tstate);
493f1553 5997 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5998} _resultobj = Py_BuildValue("i",_result);
5999 return _resultobj;
6000}
6001
9416aa89
RD
6002static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
6003 wxPyTreeItemData *src;
6004 wxObject *dest;
6005 src = (wxPyTreeItemData *) ptr;
6006 dest = (wxObject *) src;
6007 return (void *) dest;
6008}
6009
cf694132 6010#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
efc5f224 6011static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6012 PyObject * _resultobj;
cf694132 6013 wxPyTreeItemData * _result;
1d99702e 6014 PyObject * _arg0 = (PyObject *) NULL;
cf694132 6015 PyObject * _obj0 = 0;
efc5f224 6016 char *_kwnames[] = { "obj", NULL };
d5c9047a 6017 char _ptemp[128];
8ab979d7
RD
6018
6019 self = self;
efc5f224 6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
8ab979d7 6021 return NULL;
cf694132
RD
6022 if (_obj0)
6023{
6024 _arg0 = _obj0;
6025}
6026{
4268f798 6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6028 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
cf694132 6029
4268f798 6030 wxPyEndAllowThreads(__tstate);
493f1553 6031 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6032} if (_result) {
6033 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
6034 _resultobj = Py_BuildValue("s",_ptemp);
6035 } else {
6036 Py_INCREF(Py_None);
6037 _resultobj = Py_None;
6038 }
8ab979d7
RD
6039 return _resultobj;
6040}
6041
cf694132 6042#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
efc5f224 6043static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
6044 PyObject * _resultobj;
6045 PyObject * _result;
6046 wxPyTreeItemData * _arg0;
1d99702e 6047 PyObject * _argo0 = 0;
efc5f224 6048 char *_kwnames[] = { "self", NULL };
cf694132
RD
6049
6050 self = self;
efc5f224 6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
cf694132 6052 return NULL;
1d99702e
RD
6053 if (_argo0) {
6054 if (_argo0 == Py_None) { _arg0 = NULL; }
6055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132
RD
6056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6057 return NULL;
6058 }
6059 }
6060{
4268f798 6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6062 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
cf694132 6063
4268f798 6064 wxPyEndAllowThreads(__tstate);
493f1553 6065 if (PyErr_Occurred()) return NULL;
cf694132
RD
6066}{
6067 _resultobj = _result;
6068}
6069 return _resultobj;
6070}
6071
6072#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
efc5f224 6073static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6074 PyObject * _resultobj;
cf694132
RD
6075 wxPyTreeItemData * _arg0;
6076 PyObject * _arg1;
1d99702e 6077 PyObject * _argo0 = 0;
cf694132 6078 PyObject * _obj1 = 0;
efc5f224 6079 char *_kwnames[] = { "self","obj", NULL };
8ab979d7
RD
6080
6081 self = self;
efc5f224 6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
8ab979d7 6083 return NULL;
1d99702e
RD
6084 if (_argo0) {
6085 if (_argo0 == Py_None) { _arg0 = NULL; }
6086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6088 return NULL;
6089 }
6090 }
cf694132
RD
6091{
6092 _arg1 = _obj1;
6093}
6094{
4268f798 6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6096 wxTreeItemData_SetData(_arg0,_arg1);
cf694132 6097
4268f798 6098 wxPyEndAllowThreads(__tstate);
493f1553 6099 if (PyErr_Occurred()) return NULL;
cf694132 6100} Py_INCREF(Py_None);
d5c9047a 6101 _resultobj = Py_None;
8ab979d7
RD
6102 return _resultobj;
6103}
6104
630d84f2 6105#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
efc5f224 6106static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6107 PyObject * _resultobj;
d5c9047a 6108 wxTreeItemId * _result;
cf694132 6109 wxPyTreeItemData * _arg0;
1d99702e 6110 PyObject * _argo0 = 0;
efc5f224 6111 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6112 char _ptemp[128];
6113
6114 self = self;
efc5f224 6115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
8ab979d7 6116 return NULL;
1d99702e
RD
6117 if (_argo0) {
6118 if (_argo0 == Py_None) { _arg0 = NULL; }
6119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6121 return NULL;
6122 }
6123 }
cf694132 6124{
4268f798 6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6126 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
d5c9047a 6127 _result = (wxTreeItemId *) &_result_ref;
cf694132 6128
4268f798 6129 wxPyEndAllowThreads(__tstate);
493f1553 6130 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6131} if (_result) {
6132 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6133 _resultobj = Py_BuildValue("s",_ptemp);
6134 } else {
6135 Py_INCREF(Py_None);
6136 _resultobj = Py_None;
6137 }
8ab979d7
RD
6138 return _resultobj;
6139}
6140
630d84f2 6141#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 6142static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 6143 PyObject * _resultobj;
cf694132 6144 wxPyTreeItemData * _arg0;
630d84f2 6145 wxTreeItemId * _arg1;
1d99702e
RD
6146 PyObject * _argo0 = 0;
6147 PyObject * _argo1 = 0;
efc5f224 6148 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6149
6150 self = self;
efc5f224 6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6152 return NULL;
1d99702e
RD
6153 if (_argo0) {
6154 if (_argo0 == Py_None) { _arg0 = NULL; }
6155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6157 return NULL;
6158 }
6159 }
1d99702e
RD
6160 if (_argo1) {
6161 if (_argo1 == Py_None) { _arg1 = NULL; }
6162 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6163 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6164 return NULL;
6165 }
6166 }
cf694132 6167{
4268f798 6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6169 wxTreeItemData_SetId(_arg0,*_arg1);
cf694132 6170
4268f798 6171 wxPyEndAllowThreads(__tstate);
493f1553 6172 if (PyErr_Occurred()) return NULL;
cf694132 6173} Py_INCREF(Py_None);
630d84f2
RD
6174 _resultobj = Py_None;
6175 return _resultobj;
6176}
6177
8bf5d46e
RD
6178static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6179 wxTreeEvent *src;
6180 wxNotifyEvent *dest;
6181 src = (wxTreeEvent *) ptr;
6182 dest = (wxNotifyEvent *) src;
6183 return (void *) dest;
6184}
6185
8ab979d7
RD
6186static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6187 wxTreeEvent *src;
6188 wxCommandEvent *dest;
6189 src = (wxTreeEvent *) ptr;
6190 dest = (wxCommandEvent *) src;
6191 return (void *) dest;
6192}
6193
6194static void *SwigwxTreeEventTowxEvent(void *ptr) {
6195 wxTreeEvent *src;
6196 wxEvent *dest;
6197 src = (wxTreeEvent *) ptr;
6198 dest = (wxEvent *) src;
6199 return (void *) dest;
6200}
6201
9416aa89
RD
6202static void *SwigwxTreeEventTowxObject(void *ptr) {
6203 wxTreeEvent *src;
6204 wxObject *dest;
6205 src = (wxTreeEvent *) ptr;
6206 dest = (wxObject *) src;
6207 return (void *) dest;
6208}
6209
00b6c4e3
RD
6210#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6211static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject * _resultobj;
6213 wxTreeEvent * _result;
6214 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6215 int _arg1 = (int ) 0;
6216 char *_kwnames[] = { "commandType","id", NULL };
6217 char _ptemp[128];
6218
6219 self = self;
6220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6221 return NULL;
6222{
4268f798 6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6224 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
00b6c4e3 6225
4268f798 6226 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6227 if (PyErr_Occurred()) return NULL;
6228} if (_result) {
6229 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6230 _resultobj = Py_BuildValue("s",_ptemp);
6231 } else {
6232 Py_INCREF(Py_None);
6233 _resultobj = Py_None;
6234 }
6235 return _resultobj;
6236}
6237
d5c9047a 6238#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6239static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6240 PyObject * _resultobj;
d5c9047a 6241 wxTreeItemId * _result;
8ab979d7 6242 wxTreeEvent * _arg0;
1d99702e 6243 PyObject * _argo0 = 0;
efc5f224 6244 char *_kwnames[] = { "self", NULL };
d5c9047a 6245 char _ptemp[128];
8ab979d7
RD
6246
6247 self = self;
efc5f224 6248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6249 return NULL;
1d99702e
RD
6250 if (_argo0) {
6251 if (_argo0 == Py_None) { _arg0 = NULL; }
6252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6254 return NULL;
6255 }
6256 }
cf694132 6257{
4268f798 6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6259 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
cf694132 6260
4268f798 6261 wxPyEndAllowThreads(__tstate);
493f1553 6262 if (PyErr_Occurred()) return NULL;
cf694132 6263} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6264 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6265 return _resultobj;
6266}
6267
d5c9047a 6268#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6269static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6270 PyObject * _resultobj;
d5c9047a 6271 wxTreeItemId * _result;
8ab979d7 6272 wxTreeEvent * _arg0;
1d99702e 6273 PyObject * _argo0 = 0;
efc5f224 6274 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6275 char _ptemp[128];
6276
6277 self = self;
efc5f224 6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6279 return NULL;
1d99702e
RD
6280 if (_argo0) {
6281 if (_argo0 == Py_None) { _arg0 = NULL; }
6282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6284 return NULL;
6285 }
6286 }
cf694132 6287{
4268f798 6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6289 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
cf694132 6290
4268f798 6291 wxPyEndAllowThreads(__tstate);
493f1553 6292 if (PyErr_Occurred()) return NULL;
cf694132 6293} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6294 _resultobj = Py_BuildValue("s",_ptemp);
6295 return _resultobj;
6296}
6297
d5c9047a 6298#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6299static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6300 PyObject * _resultobj;
d5c9047a 6301 wxPoint * _result;
8ab979d7 6302 wxTreeEvent * _arg0;
1d99702e 6303 PyObject * _argo0 = 0;
efc5f224 6304 char *_kwnames[] = { "self", NULL };
d5c9047a 6305 char _ptemp[128];
8ab979d7
RD
6306
6307 self = self;
efc5f224 6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6309 return NULL;
1d99702e
RD
6310 if (_argo0) {
6311 if (_argo0 == Py_None) { _arg0 = NULL; }
6312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6314 return NULL;
6315 }
6316 }
cf694132 6317{
4268f798 6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6319 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
cf694132 6320
4268f798 6321 wxPyEndAllowThreads(__tstate);
493f1553 6322 if (PyErr_Occurred()) return NULL;
cf694132 6323} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6324 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6325 return _resultobj;
6326}
6327
ecc08ead
RD
6328#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6329static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6330 PyObject * _resultobj;
6331 wxKeyEvent * _result;
6332 wxTreeEvent * _arg0;
6333 PyObject * _argo0 = 0;
6334 char *_kwnames[] = { "self", NULL };
6335 char _ptemp[128];
6336
6337 self = self;
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6339 return NULL;
6340 if (_argo0) {
6341 if (_argo0 == Py_None) { _arg0 = NULL; }
6342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6344 return NULL;
6345 }
6346 }
6347{
4268f798 6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6349 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
ecc08ead
RD
6350 _result = (wxKeyEvent *) &_result_ref;
6351
4268f798 6352 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
6353 if (PyErr_Occurred()) return NULL;
6354} if (_result) {
6355 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6356 _resultobj = Py_BuildValue("s",_ptemp);
6357 } else {
6358 Py_INCREF(Py_None);
6359 _resultobj = Py_None;
6360 }
6361 return _resultobj;
6362}
6363
d5c9047a 6364#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 6365static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6366 PyObject * _resultobj;
d5c9047a 6367 int _result;
8ab979d7 6368 wxTreeEvent * _arg0;
1d99702e 6369 PyObject * _argo0 = 0;
efc5f224 6370 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6371
6372 self = self;
efc5f224 6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 6374 return NULL;
1d99702e
RD
6375 if (_argo0) {
6376 if (_argo0 == Py_None) { _arg0 = NULL; }
6377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6379 return NULL;
6380 }
6381 }
cf694132 6382{
4268f798 6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6384 _result = (int )wxTreeEvent_GetCode(_arg0);
cf694132 6385
4268f798 6386 wxPyEndAllowThreads(__tstate);
493f1553 6387 if (PyErr_Occurred()) return NULL;
cf694132 6388} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6389 return _resultobj;
6390}
6391
8bf5d46e 6392#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6393static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6394 PyObject * _resultobj;
8bf5d46e 6395 wxString * _result;
d5c9047a 6396 wxTreeEvent * _arg0;
1d99702e 6397 PyObject * _argo0 = 0;
efc5f224 6398 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6399
6400 self = self;
efc5f224 6401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6402 return NULL;
1d99702e
RD
6403 if (_argo0) {
6404 if (_argo0 == Py_None) { _arg0 = NULL; }
6405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6407 return NULL;
6408 }
6409 }
cf694132 6410{
4268f798 6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6412 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
8bf5d46e 6413 _result = (wxString *) &_result_ref;
cf694132 6414
4268f798 6415 wxPyEndAllowThreads(__tstate);
493f1553 6416 if (PyErr_Occurred()) return NULL;
8bf5d46e 6417}{
c8bc7bb8
RD
6418#if wxUSE_UNICODE
6419 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6420#else
eec92d76 6421 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6422#endif
8bf5d46e 6423}
8ab979d7
RD
6424 return _resultobj;
6425}
6426
f6bcfd97
BP
6427static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6428 wxPyTreeCtrl *src;
8ab979d7 6429 wxControl *dest;
f6bcfd97 6430 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6431 dest = (wxControl *) src;
6432 return (void *) dest;
6433}
6434
f6bcfd97
BP
6435static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6436 wxPyTreeCtrl *src;
8ab979d7 6437 wxWindow *dest;
f6bcfd97 6438 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6439 dest = (wxWindow *) src;
6440 return (void *) dest;
6441}
6442
f6bcfd97
BP
6443static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6444 wxPyTreeCtrl *src;
8ab979d7 6445 wxEvtHandler *dest;
f6bcfd97 6446 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6447 dest = (wxEvtHandler *) src;
6448 return (void *) dest;
6449}
6450
9416aa89
RD
6451static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6452 wxPyTreeCtrl *src;
6453 wxObject *dest;
6454 src = (wxPyTreeCtrl *) ptr;
6455 dest = (wxObject *) src;
6456 return (void *) dest;
6457}
6458
f6bcfd97 6459#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6460static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6461 PyObject * _resultobj;
f6bcfd97 6462 wxPyTreeCtrl * _result;
8ab979d7 6463 wxWindow * _arg0;
1d99702e 6464 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
6465 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6466 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
00b6c4e3 6467 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
e508a2b6 6468 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 6469 wxString * _arg6 = (wxString *) &wxPy_TreeCtrlNameStr;
1d99702e 6470 PyObject * _argo0 = 0;
2f90df85
RD
6471 wxPoint temp;
6472 PyObject * _obj2 = 0;
6473 wxSize temp0;
6474 PyObject * _obj3 = 0;
1d99702e 6475 PyObject * _argo5 = 0;
137b5242 6476 PyObject * _obj6 = 0;
efc5f224 6477 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6478 char _ptemp[128];
6479
6480 self = self;
137b5242 6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 6482 return NULL;
1d99702e
RD
6483 if (_argo0) {
6484 if (_argo0 == Py_None) { _arg0 = NULL; }
6485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6487 return NULL;
6488 }
6489 }
2f90df85
RD
6490 if (_obj2)
6491{
6492 _arg2 = &temp;
6493 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6494 return NULL;
2f90df85
RD
6495}
6496 if (_obj3)
6497{
6498 _arg3 = &temp0;
6499 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6500 return NULL;
2f90df85 6501}
1d99702e
RD
6502 if (_argo5) {
6503 if (_argo5 == Py_None) { _arg5 = NULL; }
6504 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6505 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6506 return NULL;
6507 }
6508 }
137b5242
RD
6509 if (_obj6)
6510{
6511 _arg6 = wxString_in_helper(_obj6);
6512 if (_arg6 == NULL)
6513 return NULL;
6514}
cf694132 6515{
4268f798 6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6517 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 6518
4268f798 6519 wxPyEndAllowThreads(__tstate);
493f1553 6520 if (PyErr_Occurred()) return NULL;
1d99702e 6521} if (_result) {
f6bcfd97 6522 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6523 _resultobj = Py_BuildValue("s",_ptemp);
6524 } else {
6525 Py_INCREF(Py_None);
6526 _resultobj = Py_None;
6527 }
137b5242
RD
6528{
6529 if (_obj6)
6530 delete _arg6;
6531}
8ab979d7
RD
6532 return _resultobj;
6533}
6534
09f3d4e6
RD
6535#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6536static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6537 PyObject * _resultobj;
6538 wxPyTreeCtrl * _result;
6539 char *_kwnames[] = { NULL };
6540 char _ptemp[128];
6541
6542 self = self;
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6544 return NULL;
6545{
4268f798 6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6547 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
09f3d4e6 6548
4268f798 6549 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6550 if (PyErr_Occurred()) return NULL;
6551} if (_result) {
6552 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6553 _resultobj = Py_BuildValue("s",_ptemp);
6554 } else {
6555 Py_INCREF(Py_None);
6556 _resultobj = Py_None;
6557 }
6558 return _resultobj;
6559}
6560
6561#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6562static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6563 PyObject * _resultobj;
6564 bool _result;
6565 wxPyTreeCtrl * _arg0;
6566 wxWindow * _arg1;
6567 wxWindowID _arg2 = (wxWindowID ) -1;
6568 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6569 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6570 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6571 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 6572 wxString * _arg7 = (wxString *) &wxPy_TreeCtrlNameStr;
09f3d4e6
RD
6573 PyObject * _argo0 = 0;
6574 PyObject * _argo1 = 0;
6575 wxPoint temp;
6576 PyObject * _obj3 = 0;
6577 wxSize temp0;
6578 PyObject * _obj4 = 0;
6579 PyObject * _argo6 = 0;
137b5242 6580 PyObject * _obj7 = 0;
09f3d4e6
RD
6581 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
6582
6583 self = self;
137b5242 6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
6585 return NULL;
6586 if (_argo0) {
6587 if (_argo0 == Py_None) { _arg0 = NULL; }
6588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6590 return NULL;
6591 }
6592 }
6593 if (_argo1) {
6594 if (_argo1 == Py_None) { _arg1 = NULL; }
6595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6597 return NULL;
6598 }
6599 }
6600 if (_obj3)
6601{
6602 _arg3 = &temp;
6603 if (! wxPoint_helper(_obj3, &_arg3))
6604 return NULL;
6605}
6606 if (_obj4)
6607{
6608 _arg4 = &temp0;
6609 if (! wxSize_helper(_obj4, &_arg4))
6610 return NULL;
6611}
6612 if (_argo6) {
6613 if (_argo6 == Py_None) { _arg6 = NULL; }
6614 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6615 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6616 return NULL;
6617 }
6618 }
137b5242
RD
6619 if (_obj7)
6620{
6621 _arg7 = wxString_in_helper(_obj7);
6622 if (_arg7 == NULL)
6623 return NULL;
6624}
09f3d4e6 6625{
4268f798 6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6627 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 6628
4268f798 6629 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6630 if (PyErr_Occurred()) return NULL;
6631} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
6632{
6633 if (_obj7)
6634 delete _arg7;
6635}
09f3d4e6
RD
6636 return _resultobj;
6637}
6638
0122b7e3
RD
6639#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6640static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
6641 PyObject * _resultobj;
6642 wxPyTreeCtrl * _arg0;
6643 PyObject * _arg1;
6644 PyObject * _arg2;
6645 PyObject * _argo0 = 0;
6646 PyObject * _obj1 = 0;
6647 PyObject * _obj2 = 0;
6648 char *_kwnames[] = { "self","self","_class", NULL };
6649
6650 self = self;
0122b7e3 6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
6652 return NULL;
6653 if (_argo0) {
6654 if (_argo0 == Py_None) { _arg0 = NULL; }
6655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0122b7e3 6656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
f6bcfd97
BP
6657 return NULL;
6658 }
6659 }
6660{
6661 _arg1 = _obj1;
6662}
6663{
6664 _arg2 = _obj2;
6665}
6666{
4268f798 6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6668 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 6669
4268f798 6670 wxPyEndAllowThreads(__tstate);
493f1553 6671 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6672} Py_INCREF(Py_None);
6673 _resultobj = Py_None;
6674 return _resultobj;
6675}
6676
d5c9047a 6677#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6678static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6679 PyObject * _resultobj;
c127177f 6680 size_t _result;
f6bcfd97 6681 wxPyTreeCtrl * _arg0;
1d99702e 6682 PyObject * _argo0 = 0;
efc5f224 6683 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6684
6685 self = self;
efc5f224 6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 6687 return NULL;
1d99702e
RD
6688 if (_argo0) {
6689 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6692 return NULL;
6693 }
6694 }
cf694132 6695{
4268f798 6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6697 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132 6698
4268f798 6699 wxPyEndAllowThreads(__tstate);
493f1553 6700 if (PyErr_Occurred()) return NULL;
c127177f 6701} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6702 return _resultobj;
6703}
6704
d5c9047a 6705#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6706static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6707 PyObject * _resultobj;
d5c9047a 6708 unsigned int _result;
f6bcfd97 6709 wxPyTreeCtrl * _arg0;
1d99702e 6710 PyObject * _argo0 = 0;
efc5f224 6711 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6712
6713 self = self;
efc5f224 6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 6715 return NULL;
1d99702e
RD
6716 if (_argo0) {
6717 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6720 return NULL;
6721 }
6722 }
cf694132 6723{
4268f798 6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6725 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
cf694132 6726
4268f798 6727 wxPyEndAllowThreads(__tstate);
493f1553 6728 if (PyErr_Occurred()) return NULL;
cf694132 6729} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6730 return _resultobj;
6731}
6732
d5c9047a 6733#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6734static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6735 PyObject * _resultobj;
f6bcfd97 6736 wxPyTreeCtrl * _arg0;
d5c9047a 6737 unsigned int _arg1;
1d99702e 6738 PyObject * _argo0 = 0;
efc5f224 6739 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6740
6741 self = self;
efc5f224 6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
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_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6748 return NULL;
6749 }
6750 }
cf694132 6751{
4268f798 6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6753 wxTreeCtrl_SetIndent(_arg0,_arg1);
cf694132 6754
4268f798 6755 wxPyEndAllowThreads(__tstate);
493f1553 6756 if (PyErr_Occurred()) return NULL;
cf694132 6757} Py_INCREF(Py_None);
d5c9047a 6758 _resultobj = Py_None;
8ab979d7
RD
6759 return _resultobj;
6760}
6761
d5c9047a 6762#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6763static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6764 PyObject * _resultobj;
d5c9047a 6765 wxImageList * _result;
f6bcfd97 6766 wxPyTreeCtrl * _arg0;
1d99702e 6767 PyObject * _argo0 = 0;
efc5f224 6768 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6769
6770 self = self;
efc5f224 6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6772 return NULL;
1d99702e
RD
6773 if (_argo0) {
6774 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6777 return NULL;
6778 }
6779 }
cf694132 6780{
4268f798 6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6782 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
cf694132 6783
4268f798 6784 wxPyEndAllowThreads(__tstate);
493f1553 6785 if (PyErr_Occurred()) return NULL;
9416aa89 6786}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6787 return _resultobj;
6788}
6789
d5c9047a 6790#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6791static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6792 PyObject * _resultobj;
d5c9047a 6793 wxImageList * _result;
f6bcfd97 6794 wxPyTreeCtrl * _arg0;
1d99702e 6795 PyObject * _argo0 = 0;
efc5f224 6796 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6797
6798 self = self;
efc5f224 6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6800 return NULL;
1d99702e
RD
6801 if (_argo0) {
6802 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6805 return NULL;
6806 }
6807 }
cf694132 6808{
4268f798 6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6810 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
cf694132 6811
4268f798 6812 wxPyEndAllowThreads(__tstate);
493f1553 6813 if (PyErr_Occurred()) return NULL;
9416aa89 6814}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6815 return _resultobj;
6816}
6817
d5c9047a 6818#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6819static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6820 PyObject * _resultobj;
f6bcfd97 6821 wxPyTreeCtrl * _arg0;
d5c9047a 6822 wxImageList * _arg1;
1d99702e
RD
6823 PyObject * _argo0 = 0;
6824 PyObject * _argo1 = 0;
efc5f224 6825 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6826
6827 self = self;
efc5f224 6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6829 return NULL;
1d99702e
RD
6830 if (_argo0) {
6831 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6834 return NULL;
6835 }
6836 }
1d99702e
RD
6837 if (_argo1) {
6838 if (_argo1 == Py_None) { _arg1 = NULL; }
6839 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6840 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6841 return NULL;
6842 }
6843 }
cf694132 6844{
4268f798 6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6846 wxTreeCtrl_SetImageList(_arg0,_arg1);
cf694132 6847
4268f798 6848 wxPyEndAllowThreads(__tstate);
493f1553 6849 if (PyErr_Occurred()) return NULL;
cf694132 6850} Py_INCREF(Py_None);
d5c9047a 6851 _resultobj = Py_None;
8ab979d7
RD
6852 return _resultobj;
6853}
6854
d5c9047a 6855#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 6856static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6857 PyObject * _resultobj;
f6bcfd97 6858 wxPyTreeCtrl * _arg0;
d5c9047a 6859 wxImageList * _arg1;
1d99702e
RD
6860 PyObject * _argo0 = 0;
6861 PyObject * _argo1 = 0;
efc5f224 6862 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6863
6864 self = self;
efc5f224 6865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6866 return NULL;
1d99702e
RD
6867 if (_argo0) {
6868 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6871 return NULL;
6872 }
6873 }
1d99702e
RD
6874 if (_argo1) {
6875 if (_argo1 == Py_None) { _arg1 = NULL; }
6876 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6877 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6878 return NULL;
6879 }
6880 }
cf694132 6881{
4268f798 6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6883 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
cf694132 6884
4268f798 6885 wxPyEndAllowThreads(__tstate);
493f1553 6886 if (PyErr_Occurred()) return NULL;
cf694132 6887} Py_INCREF(Py_None);
d5c9047a 6888 _resultobj = Py_None;
8ab979d7
RD
6889 return _resultobj;
6890}
6891
00b6c4e3
RD
6892#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6893static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject * _resultobj;
6895 wxPyTreeCtrl * _arg0;
6896 wxImageList * _arg1;
6897 PyObject * _argo0 = 0;
6898 PyObject * _argo1 = 0;
6899 char *_kwnames[] = { "self","imageList", NULL };
6900
6901 self = self;
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
6903 return NULL;
6904 if (_argo0) {
6905 if (_argo0 == Py_None) { _arg0 = NULL; }
6906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6908 return NULL;
6909 }
6910 }
6911 if (_argo1) {
6912 if (_argo1 == Py_None) { _arg1 = NULL; }
6913 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6914 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6915 return NULL;
6916 }
6917 }
6918{
4268f798 6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6920 wxTreeCtrl_AssignImageList(_arg0,_arg1);
00b6c4e3 6921
4268f798 6922 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6923 if (PyErr_Occurred()) return NULL;
6924} Py_INCREF(Py_None);
6925 _resultobj = Py_None;
6926 return _resultobj;
6927}
6928
6929#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6930static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6931 PyObject * _resultobj;
6932 wxPyTreeCtrl * _arg0;
6933 wxImageList * _arg1;
6934 PyObject * _argo0 = 0;
6935 PyObject * _argo1 = 0;
6936 char *_kwnames[] = { "self","imageList", NULL };
6937
6938 self = self;
6939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
6940 return NULL;
6941 if (_argo0) {
6942 if (_argo0 == Py_None) { _arg0 = NULL; }
6943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6945 return NULL;
6946 }
6947 }
6948 if (_argo1) {
6949 if (_argo1 == Py_None) { _arg1 = NULL; }
6950 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6951 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6952 return NULL;
6953 }
6954 }
6955{
4268f798 6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6957 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
00b6c4e3 6958
4268f798 6959 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6960 if (PyErr_Occurred()) return NULL;
6961} Py_INCREF(Py_None);
6962 _resultobj = Py_None;
6963 return _resultobj;
6964}
6965
b1462dfa
RD
6966#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6967static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6968 PyObject * _resultobj;
6969 unsigned int _result;
f6bcfd97 6970 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6971 PyObject * _argo0 = 0;
6972 char *_kwnames[] = { "self", NULL };
6973
6974 self = self;
6975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
6976 return NULL;
6977 if (_argo0) {
6978 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6981 return NULL;
6982 }
6983 }
6984{
4268f798 6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6986 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
b1462dfa 6987
4268f798 6988 wxPyEndAllowThreads(__tstate);
493f1553 6989 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6990} _resultobj = Py_BuildValue("i",_result);
6991 return _resultobj;
6992}
6993
6994#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6995static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject * _resultobj;
f6bcfd97 6997 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6998 unsigned int _arg1;
6999 PyObject * _argo0 = 0;
7000 char *_kwnames[] = { "self","spacing", NULL };
7001
7002 self = self;
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
7004 return NULL;
7005 if (_argo0) {
7006 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7009 return NULL;
7010 }
7011 }
7012{
4268f798 7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7014 wxTreeCtrl_SetSpacing(_arg0,_arg1);
b1462dfa 7015
4268f798 7016 wxPyEndAllowThreads(__tstate);
493f1553 7017 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7018} Py_INCREF(Py_None);
7019 _resultobj = Py_None;
7020 return _resultobj;
7021}
7022
d5c9047a 7023#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 7024static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7025 PyObject * _resultobj;
d5c9047a 7026 wxString * _result;
f6bcfd97 7027 wxPyTreeCtrl * _arg0;
d5c9047a 7028 wxTreeItemId * _arg1;
1d99702e
RD
7029 PyObject * _argo0 = 0;
7030 PyObject * _argo1 = 0;
efc5f224 7031 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7032
7033 self = self;
efc5f224 7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 7035 return NULL;
1d99702e
RD
7036 if (_argo0) {
7037 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7040 return NULL;
7041 }
7042 }
1d99702e
RD
7043 if (_argo1) {
7044 if (_argo1 == Py_None) { _arg1 = NULL; }
7045 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7046 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7047 return NULL;
7048 }
7049 }
d5c9047a 7050{
4268f798 7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7052 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
cf694132 7053
4268f798 7054 wxPyEndAllowThreads(__tstate);
493f1553 7055 if (PyErr_Occurred()) return NULL;
cf694132 7056}{
c8bc7bb8
RD
7057#if wxUSE_UNICODE
7058 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
7059#else
eec92d76 7060 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7061#endif
d5c9047a
RD
7062}
7063{
7064 delete _result;
7065}
8ab979d7
RD
7066 return _resultobj;
7067}
7068
694759cf 7069#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 7070static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7071 PyObject * _resultobj;
d5c9047a 7072 int _result;
f6bcfd97 7073 wxPyTreeCtrl * _arg0;
d5c9047a 7074 wxTreeItemId * _arg1;
694759cf 7075 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7076 PyObject * _argo0 = 0;
7077 PyObject * _argo1 = 0;
694759cf 7078 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
7079
7080 self = self;
694759cf 7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7082 return NULL;
1d99702e
RD
7083 if (_argo0) {
7084 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7087 return NULL;
7088 }
7089 }
1d99702e
RD
7090 if (_argo1) {
7091 if (_argo1 == Py_None) { _arg1 = NULL; }
7092 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7093 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7094 return NULL;
7095 }
7096 }
cf694132 7097{
4268f798 7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7099 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132 7100
4268f798 7101 wxPyEndAllowThreads(__tstate);
493f1553 7102 if (PyErr_Occurred()) return NULL;
cf694132 7103} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7104 return _resultobj;
7105}
7106
d5c9047a 7107#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 7108static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7109 PyObject * _resultobj;
d5c9047a 7110 int _result;
f6bcfd97 7111 wxPyTreeCtrl * _arg0;
d5c9047a 7112 wxTreeItemId * _arg1;
1d99702e
RD
7113 PyObject * _argo0 = 0;
7114 PyObject * _argo1 = 0;
efc5f224 7115 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7116
7117 self = self;
efc5f224 7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 7119 return NULL;
1d99702e
RD
7120 if (_argo0) {
7121 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7124 return NULL;
7125 }
7126 }
1d99702e
RD
7127 if (_argo1) {
7128 if (_argo1 == Py_None) { _arg1 = NULL; }
7129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7131 return NULL;
7132 }
7133 }
cf694132 7134{
4268f798 7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7136 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 7137
4268f798 7138 wxPyEndAllowThreads(__tstate);
493f1553 7139 if (PyErr_Occurred()) return NULL;
cf694132 7140} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7141 return _resultobj;
7142}
7143
d5c9047a 7144#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 7145static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7146 PyObject * _resultobj;
f6bcfd97 7147 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7148 wxTreeItemId * _arg1;
7149 wxString * _arg2;
1d99702e
RD
7150 PyObject * _argo0 = 0;
7151 PyObject * _argo1 = 0;
d5c9047a 7152 PyObject * _obj2 = 0;
efc5f224 7153 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7154
7155 self = self;
efc5f224 7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7157 return NULL;
1d99702e
RD
7158 if (_argo0) {
7159 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7162 return NULL;
7163 }
7164 }
1d99702e
RD
7165 if (_argo1) {
7166 if (_argo1 == Py_None) { _arg1 = NULL; }
7167 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7168 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7169 return NULL;
7170 }
7171 }
7172{
c8bc7bb8
RD
7173 _arg2 = wxString_in_helper(_obj2);
7174 if (_arg2 == NULL)
185d7c3e 7175 return NULL;
d5c9047a 7176}
cf694132 7177{
4268f798 7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7179 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
cf694132 7180
4268f798 7181 wxPyEndAllowThreads(__tstate);
493f1553 7182 if (PyErr_Occurred()) return NULL;
cf694132 7183} Py_INCREF(Py_None);
d5c9047a
RD
7184 _resultobj = Py_None;
7185{
7186 if (_obj2)
7187 delete _arg2;
7188}
8ab979d7
RD
7189 return _resultobj;
7190}
7191
694759cf 7192#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7193static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7194 PyObject * _resultobj;
f6bcfd97 7195 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7196 wxTreeItemId * _arg1;
7197 int _arg2;
694759cf 7198 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7199 PyObject * _argo0 = 0;
7200 PyObject * _argo1 = 0;
694759cf 7201 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7202
7203 self = self;
694759cf 7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7205 return NULL;
1d99702e
RD
7206 if (_argo0) {
7207 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7210 return NULL;
7211 }
7212 }
1d99702e
RD
7213 if (_argo1) {
7214 if (_argo1 == Py_None) { _arg1 = NULL; }
7215 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7216 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7217 return NULL;
7218 }
7219 }
cf694132 7220{
4268f798 7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7222 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132 7223
4268f798 7224 wxPyEndAllowThreads(__tstate);
493f1553 7225 if (PyErr_Occurred()) return NULL;
cf694132 7226} Py_INCREF(Py_None);
d5c9047a 7227 _resultobj = Py_None;
8ab979d7
RD
7228 return _resultobj;
7229}
7230
d5c9047a 7231#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7232static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7233 PyObject * _resultobj;
f6bcfd97 7234 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7235 wxTreeItemId * _arg1;
7236 int _arg2;
1d99702e
RD
7237 PyObject * _argo0 = 0;
7238 PyObject * _argo1 = 0;
efc5f224 7239 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7240
7241 self = self;
efc5f224 7242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7243 return NULL;
1d99702e
RD
7244 if (_argo0) {
7245 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7248 return NULL;
7249 }
7250 }
1d99702e
RD
7251 if (_argo1) {
7252 if (_argo1 == Py_None) { _arg1 = NULL; }
7253 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7254 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7255 return NULL;
7256 }
7257 }
cf694132 7258{
4268f798 7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7260 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
cf694132 7261
4268f798 7262 wxPyEndAllowThreads(__tstate);
493f1553 7263 if (PyErr_Occurred()) return NULL;
cf694132
RD
7264} Py_INCREF(Py_None);
7265 _resultobj = Py_None;
7266 return _resultobj;
7267}
7268
7269#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7270static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7271 PyObject * _resultobj;
f6bcfd97 7272 wxPyTreeCtrl * _arg0;
cf694132 7273 wxTreeItemId * _arg1;
1d99702e
RD
7274 bool _arg2 = (bool ) TRUE;
7275 PyObject * _argo0 = 0;
7276 PyObject * _argo1 = 0;
7277 int tempbool2 = (int) TRUE;
efc5f224 7278 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7279
7280 self = self;
efc5f224 7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 7282 return NULL;
1d99702e
RD
7283 if (_argo0) {
7284 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7287 return NULL;
7288 }
7289 }
1d99702e
RD
7290 if (_argo1) {
7291 if (_argo1 == Py_None) { _arg1 = NULL; }
7292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7294 return NULL;
7295 }
7296 }
7297 _arg2 = (bool ) tempbool2;
7298{
4268f798 7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7300 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
cf694132 7301
4268f798 7302 wxPyEndAllowThreads(__tstate);
493f1553 7303 if (PyErr_Occurred()) return NULL;
cf694132 7304} Py_INCREF(Py_None);
d5c9047a 7305 _resultobj = Py_None;
8ab979d7
RD
7306 return _resultobj;
7307}
7308
f6bcfd97 7309static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7310 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7311 if (data == NULL) {
7312 data = new wxPyTreeItemData();
f6bcfd97 7313 data->SetId(item); // set the id
cf694132
RD
7314 self->SetItemData(item, data);
7315 }
7316 return data;
7317 }
efc5f224 7318static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7319 PyObject * _resultobj;
7320 wxPyTreeItemData * _result;
f6bcfd97 7321 wxPyTreeCtrl * _arg0;
cf694132 7322 wxTreeItemId * _arg1;
1d99702e
RD
7323 PyObject * _argo0 = 0;
7324 PyObject * _argo1 = 0;
efc5f224 7325 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7326 char _ptemp[128];
7327
7328 self = self;
efc5f224 7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7330 return NULL;
1d99702e
RD
7331 if (_argo0) {
7332 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7335 return NULL;
7336 }
7337 }
1d99702e
RD
7338 if (_argo1) {
7339 if (_argo1 == Py_None) { _arg1 = NULL; }
7340 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7342 return NULL;
7343 }
7344 }
7345{
4268f798 7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7347 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132 7348
4268f798 7349 wxPyEndAllowThreads(__tstate);
493f1553 7350 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7351} if (_result) {
7352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7353 _resultobj = Py_BuildValue("s",_ptemp);
7354 } else {
7355 Py_INCREF(Py_None);
7356 _resultobj = Py_None;
7357 }
cf694132
RD
7358 return _resultobj;
7359}
7360
f6bcfd97
BP
7361static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7362 data->SetId(item); // set the id
7363 self->SetItemData(item, data);
c368d904 7364 }
efc5f224 7365static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7366 PyObject * _resultobj;
f6bcfd97 7367 wxPyTreeCtrl * _arg0;
d5c9047a 7368 wxTreeItemId * _arg1;
cf694132 7369 wxPyTreeItemData * _arg2;
1d99702e
RD
7370 PyObject * _argo0 = 0;
7371 PyObject * _argo1 = 0;
7372 PyObject * _argo2 = 0;
efc5f224 7373 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7374
7375 self = self;
efc5f224 7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7377 return NULL;
1d99702e
RD
7378 if (_argo0) {
7379 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7382 return NULL;
7383 }
7384 }
1d99702e
RD
7385 if (_argo1) {
7386 if (_argo1 == Py_None) { _arg1 = NULL; }
7387 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7388 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7389 return NULL;
7390 }
7391 }
1d99702e
RD
7392 if (_argo2) {
7393 if (_argo2 == Py_None) { _arg2 = NULL; }
7394 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7395 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7396 return NULL;
7397 }
7398 }
cf694132 7399{
4268f798 7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7401 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132 7402
4268f798 7403 wxPyEndAllowThreads(__tstate);
493f1553 7404 if (PyErr_Occurred()) return NULL;
cf694132 7405} Py_INCREF(Py_None);
d5c9047a 7406 _resultobj = Py_None;
8ab979d7
RD
7407 return _resultobj;
7408}
7409
f6bcfd97 7410static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7411 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7412 if (data == NULL) {
7413 data = new wxPyTreeItemData();
f6bcfd97 7414 data->SetId(item); // set the id
cf694132
RD
7415 self->SetItemData(item, data);
7416 }
7417 return data->GetData();
c368d904 7418 }
efc5f224 7419static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7420 PyObject * _resultobj;
cf694132 7421 PyObject * _result;
f6bcfd97 7422 wxPyTreeCtrl * _arg0;
08127323 7423 wxTreeItemId * _arg1;
1d99702e
RD
7424 PyObject * _argo0 = 0;
7425 PyObject * _argo1 = 0;
efc5f224 7426 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7427
7428 self = self;
efc5f224 7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7430 return NULL;
1d99702e
RD
7431 if (_argo0) {
7432 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7435 return NULL;
7436 }
7437 }
1d99702e
RD
7438 if (_argo1) {
7439 if (_argo1 == Py_None) { _arg1 = NULL; }
7440 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7441 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7442 return NULL;
7443 }
7444 }
cf694132 7445{
4268f798 7446 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7447 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132 7448
4268f798 7449 wxPyEndAllowThreads(__tstate);
493f1553 7450 if (PyErr_Occurred()) return NULL;
cf694132
RD
7451}{
7452 _resultobj = _result;
7453}
7454 return _resultobj;
7455}
7456
f6bcfd97 7457static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7458 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7459 if (data == NULL) {
7460 data = new wxPyTreeItemData(obj);
f6bcfd97 7461 data->SetId(item); // set the id
cf694132
RD
7462 self->SetItemData(item, data);
7463 } else
7464 data->SetData(obj);
c368d904 7465 }
efc5f224 7466static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7467 PyObject * _resultobj;
f6bcfd97 7468 wxPyTreeCtrl * _arg0;
cf694132
RD
7469 wxTreeItemId * _arg1;
7470 PyObject * _arg2;
1d99702e
RD
7471 PyObject * _argo0 = 0;
7472 PyObject * _argo1 = 0;
cf694132 7473 PyObject * _obj2 = 0;
efc5f224 7474 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7475
7476 self = self;
efc5f224 7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 7478 return NULL;
1d99702e
RD
7479 if (_argo0) {
7480 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7483 return NULL;
7484 }
7485 }
1d99702e
RD
7486 if (_argo1) {
7487 if (_argo1 == Py_None) { _arg1 = NULL; }
7488 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7489 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7490 return NULL;
7491 }
7492 }
7493{
7494 _arg2 = _obj2;
7495}
7496{
4268f798 7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7498 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132 7499
4268f798 7500 wxPyEndAllowThreads(__tstate);
493f1553 7501 if (PyErr_Occurred()) return NULL;
cf694132 7502} Py_INCREF(Py_None);
08127323
RD
7503 _resultobj = Py_None;
7504 return _resultobj;
7505}
7506
d5c9047a 7507#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7508static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7509 PyObject * _resultobj;
d5c9047a 7510 bool _result;
f6bcfd97 7511 wxPyTreeCtrl * _arg0;
d5c9047a 7512 wxTreeItemId * _arg1;
1d99702e
RD
7513 PyObject * _argo0 = 0;
7514 PyObject * _argo1 = 0;
efc5f224 7515 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7516
7517 self = self;
efc5f224 7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7519 return NULL;
1d99702e
RD
7520 if (_argo0) {
7521 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7524 return NULL;
7525 }
7526 }
1d99702e
RD
7527 if (_argo1) {
7528 if (_argo1 == Py_None) { _arg1 = NULL; }
7529 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7530 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7531 return NULL;
7532 }
7533 }
cf694132 7534{
4268f798 7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7536 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
cf694132 7537
4268f798 7538 wxPyEndAllowThreads(__tstate);
493f1553 7539 if (PyErr_Occurred()) return NULL;
cf694132 7540} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7541 return _resultobj;
7542}
7543
d5c9047a 7544#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7545static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7546 PyObject * _resultobj;
d5c9047a 7547 bool _result;
f6bcfd97 7548 wxPyTreeCtrl * _arg0;
d5c9047a 7549 wxTreeItemId * _arg1;
1d99702e
RD
7550 PyObject * _argo0 = 0;
7551 PyObject * _argo1 = 0;
efc5f224 7552 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7553
7554 self = self;
efc5f224 7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7556 return NULL;
1d99702e
RD
7557 if (_argo0) {
7558 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7561 return NULL;
7562 }
7563 }
1d99702e
RD
7564 if (_argo1) {
7565 if (_argo1 == Py_None) { _arg1 = NULL; }
7566 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7567 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7568 return NULL;
7569 }
7570 }
cf694132 7571{
4268f798 7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7573 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
cf694132 7574
4268f798 7575 wxPyEndAllowThreads(__tstate);
493f1553 7576 if (PyErr_Occurred()) return NULL;
cf694132 7577} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7578 return _resultobj;
7579}
7580
d5c9047a 7581#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7582static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7583 PyObject * _resultobj;
d5c9047a 7584 bool _result;
f6bcfd97 7585 wxPyTreeCtrl * _arg0;
d5c9047a 7586 wxTreeItemId * _arg1;
1d99702e
RD
7587 PyObject * _argo0 = 0;
7588 PyObject * _argo1 = 0;
efc5f224 7589 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7590
7591 self = self;
efc5f224 7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7593 return NULL;
1d99702e
RD
7594 if (_argo0) {
7595 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7598 return NULL;
7599 }
7600 }
1d99702e
RD
7601 if (_argo1) {
7602 if (_argo1 == Py_None) { _arg1 = NULL; }
7603 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7604 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7605 return NULL;
7606 }
7607 }
cf694132 7608{
4268f798 7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7610 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
cf694132 7611
4268f798 7612 wxPyEndAllowThreads(__tstate);
493f1553 7613 if (PyErr_Occurred()) return NULL;
cf694132 7614} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7615 return _resultobj;
7616}
7617
d5c9047a 7618#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7619static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7620 PyObject * _resultobj;
d5c9047a 7621 bool _result;
f6bcfd97 7622 wxPyTreeCtrl * _arg0;
d5c9047a 7623 wxTreeItemId * _arg1;
1d99702e
RD
7624 PyObject * _argo0 = 0;
7625 PyObject * _argo1 = 0;
efc5f224 7626 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7627
7628 self = self;
efc5f224 7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7630 return NULL;
1d99702e
RD
7631 if (_argo0) {
7632 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7635 return NULL;
7636 }
7637 }
1d99702e
RD
7638 if (_argo1) {
7639 if (_argo1 == Py_None) { _arg1 = NULL; }
7640 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7642 return NULL;
7643 }
7644 }
cf694132 7645{
4268f798 7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7647 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
cf694132 7648
4268f798 7649 wxPyEndAllowThreads(__tstate);
493f1553 7650 if (PyErr_Occurred()) return NULL;
cf694132 7651} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7652 return _resultobj;
7653}
7654
7655#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7656static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7657 PyObject * _resultobj;
d5c9047a 7658 wxTreeItemId * _result;
f6bcfd97 7659 wxPyTreeCtrl * _arg0;
1d99702e 7660 PyObject * _argo0 = 0;
efc5f224 7661 char *_kwnames[] = { "self", NULL };
d5c9047a 7662 char _ptemp[128];
8ab979d7
RD
7663
7664 self = self;
efc5f224 7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7666 return NULL;
1d99702e
RD
7667 if (_argo0) {
7668 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7671 return NULL;
7672 }
7673 }
cf694132 7674{
4268f798 7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7676 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
cf694132 7677
4268f798 7678 wxPyEndAllowThreads(__tstate);
493f1553 7679 if (PyErr_Occurred()) return NULL;
cf694132 7680} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7681 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7682 return _resultobj;
7683}
7684
7685#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7686static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7687 PyObject * _resultobj;
d5c9047a 7688 wxTreeItemId * _result;
f6bcfd97 7689 wxPyTreeCtrl * _arg0;
1d99702e 7690 PyObject * _argo0 = 0;
efc5f224 7691 char *_kwnames[] = { "self", NULL };
d5c9047a 7692 char _ptemp[128];
8ab979d7
RD
7693
7694 self = self;
efc5f224 7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7696 return NULL;
1d99702e
RD
7697 if (_argo0) {
7698 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7701 return NULL;
7702 }
7703 }
cf694132 7704{
4268f798 7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7706 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
cf694132 7707
4268f798 7708 wxPyEndAllowThreads(__tstate);
493f1553 7709 if (PyErr_Occurred()) return NULL;
cf694132 7710} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7711 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7712 return _resultobj;
7713}
7714
eb715945
RD
7715#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7716static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7717 PyObject * _resultobj;
d5c9047a 7718 wxTreeItemId * _result;
f6bcfd97 7719 wxPyTreeCtrl * _arg0;
d5c9047a 7720 wxTreeItemId * _arg1;
1d99702e
RD
7721 PyObject * _argo0 = 0;
7722 PyObject * _argo1 = 0;
efc5f224 7723 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7724 char _ptemp[128];
8ab979d7
RD
7725
7726 self = self;
eb715945 7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7728 return NULL;
1d99702e
RD
7729 if (_argo0) {
7730 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7733 return NULL;
7734 }
7735 }
1d99702e
RD
7736 if (_argo1) {
7737 if (_argo1 == Py_None) { _arg1 = NULL; }
7738 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 7739 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
7740 return NULL;
7741 }
7742 }
cf694132 7743{
4268f798 7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7745 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132 7746
4268f798 7747 wxPyEndAllowThreads(__tstate);
493f1553 7748 if (PyErr_Occurred()) return NULL;
cf694132 7749} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7750 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7751 return _resultobj;
7752}
7753
f6bcfd97 7754static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
4268f798 7755 wxPyBeginBlockThreads();
d426c97e
RD
7756 PyObject* rval = PyList_New(0);
7757 wxArrayTreeItemIds array;
7758 size_t num, x;
7759 num = self->GetSelections(array);
7760 for (x=0; x < num; x++) {
c368d904
RD
7761 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7762 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
7763 PyList_Append(rval, item);
7764 }
4268f798 7765 wxPyEndBlockThreads();
d426c97e
RD
7766 return rval;
7767 }
7768static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7769 PyObject * _resultobj;
7770 PyObject * _result;
f6bcfd97 7771 wxPyTreeCtrl * _arg0;
d426c97e
RD
7772 PyObject * _argo0 = 0;
7773 char *_kwnames[] = { "self", NULL };
7774
7775 self = self;
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7777 return NULL;
7778 if (_argo0) {
7779 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7782 return NULL;
7783 }
7784 }
7785{
4268f798 7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7787 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e 7788
4268f798 7789 wxPyEndAllowThreads(__tstate);
493f1553 7790 if (PyErr_Occurred()) return NULL;
d426c97e
RD
7791}{
7792 _resultobj = _result;
7793}
7794 return _resultobj;
7795}
7796
bb0054cd 7797#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 7798static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7799 PyObject * _resultobj;
7800 size_t _result;
f6bcfd97 7801 wxPyTreeCtrl * _arg0;
bb0054cd 7802 wxTreeItemId * _arg1;
1d99702e
RD
7803 bool _arg2 = (bool ) TRUE;
7804 PyObject * _argo0 = 0;
7805 PyObject * _argo1 = 0;
7806 int tempbool2 = (int) TRUE;
efc5f224 7807 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
7808
7809 self = self;
efc5f224 7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 7811 return NULL;
1d99702e
RD
7812 if (_argo0) {
7813 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
7816 return NULL;
7817 }
7818 }
1d99702e
RD
7819 if (_argo1) {
7820 if (_argo1 == Py_None) { _arg1 = NULL; }
7821 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
7822 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7823 return NULL;
7824 }
7825 }
7826 _arg2 = (bool ) tempbool2;
7827{
4268f798 7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7829 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
bb0054cd 7830
4268f798 7831 wxPyEndAllowThreads(__tstate);
493f1553 7832 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7833} _resultobj = Py_BuildValue("i",_result);
7834 return _resultobj;
7835}
7836
d5c9047a 7837#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 7838static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7839 PyObject * _resultobj;
d5c9047a 7840 wxTreeItemId * _result;
f6bcfd97 7841 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7842 wxTreeItemId * _arg1;
7843 long * _arg2;
1d99702e
RD
7844 PyObject * _argo0 = 0;
7845 PyObject * _argo1 = 0;
d5c9047a
RD
7846 long temp;
7847 PyObject * _obj2 = 0;
efc5f224 7848 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7849 char _ptemp[128];
8ab979d7
RD
7850
7851 self = self;
efc5f224 7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7853 return NULL;
1d99702e
RD
7854 if (_argo0) {
7855 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7858 return NULL;
7859 }
7860 }
1d99702e
RD
7861 if (_argo1) {
7862 if (_argo1 == Py_None) { _arg1 = NULL; }
7863 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7864 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
7865 return NULL;
7866 }
7867 }
d5c9047a
RD
7868{
7869 temp = (long) PyInt_AsLong(_obj2);
7870 _arg2 = &temp;
7871}
cf694132 7872{
4268f798 7873 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7874 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
cf694132 7875
4268f798 7876 wxPyEndAllowThreads(__tstate);
493f1553 7877 if (PyErr_Occurred()) return NULL;
cf694132 7878} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
7879 _resultobj = Py_BuildValue("s",_ptemp);
7880{
7881 PyObject *o;
7882 o = PyInt_FromLong((long) (*_arg2));
7883 _resultobj = t_output_helper(_resultobj, o);
7884}
8ab979d7
RD
7885 return _resultobj;
7886}
7887
d5c9047a 7888#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 7889static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7890 PyObject * _resultobj;
d5c9047a 7891 wxTreeItemId * _result;
f6bcfd97 7892 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7893 wxTreeItemId * _arg1;
7894 long * _arg2;
1d99702e
RD
7895 PyObject * _argo0 = 0;
7896 PyObject * _argo1 = 0;
d5c9047a 7897 long temp;
8ab979d7 7898 PyObject * _obj2 = 0;
efc5f224 7899 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7900 char _ptemp[128];
8ab979d7
RD
7901
7902 self = self;
efc5f224 7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7904 return NULL;
1d99702e
RD
7905 if (_argo0) {
7906 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7909 return NULL;
7910 }
7911 }
1d99702e
RD
7912 if (_argo1) {
7913 if (_argo1 == Py_None) { _arg1 = NULL; }
7914 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7915 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 7916 return NULL;
d5c9047a 7917 }
8ab979d7 7918 }
d5c9047a
RD
7919{
7920 temp = (long) PyInt_AsLong(_obj2);
7921 _arg2 = &temp;
8ab979d7 7922}
cf694132 7923{
4268f798 7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7925 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
cf694132 7926
4268f798 7927 wxPyEndAllowThreads(__tstate);
493f1553 7928 if (PyErr_Occurred()) return NULL;
cf694132 7929} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7930 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 7931{
d5c9047a
RD
7932 PyObject *o;
7933 o = PyInt_FromLong((long) (*_arg2));
7934 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7935}
7936 return _resultobj;
7937}
7938
d5c9047a 7939#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 7940static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7941 PyObject * _resultobj;
d5c9047a 7942 wxTreeItemId * _result;
f6bcfd97 7943 wxPyTreeCtrl * _arg0;
d5c9047a 7944 wxTreeItemId * _arg1;
1d99702e
RD
7945 PyObject * _argo0 = 0;
7946 PyObject * _argo1 = 0;
efc5f224 7947 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7948 char _ptemp[128];
8ab979d7
RD
7949
7950 self = self;
efc5f224 7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7952 return NULL;
1d99702e
RD
7953 if (_argo0) {
7954 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7957 return NULL;
7958 }
7959 }
1d99702e
RD
7960 if (_argo1) {
7961 if (_argo1 == Py_None) { _arg1 = NULL; }
7962 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7964 return NULL;
7965 }
7966 }
cf694132 7967{
4268f798 7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7969 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
cf694132 7970
4268f798 7971 wxPyEndAllowThreads(__tstate);
493f1553 7972 if (PyErr_Occurred()) return NULL;
cf694132 7973} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7974 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7975 return _resultobj;
7976}
7977
d5c9047a 7978#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 7979static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7980 PyObject * _resultobj;
d5c9047a 7981 wxTreeItemId * _result;
f6bcfd97 7982 wxPyTreeCtrl * _arg0;
d5c9047a 7983 wxTreeItemId * _arg1;
1d99702e
RD
7984 PyObject * _argo0 = 0;
7985 PyObject * _argo1 = 0;
efc5f224 7986 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7987 char _ptemp[128];
8ab979d7
RD
7988
7989 self = self;
efc5f224 7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7991 return NULL;
1d99702e
RD
7992 if (_argo0) {
7993 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7996 return NULL;
7997 }
7998 }
1d99702e
RD
7999 if (_argo1) {
8000 if (_argo1 == Py_None) { _arg1 = NULL; }
8001 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8002 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8003 return NULL;
8004 }
8005 }
cf694132 8006{
4268f798 8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8008 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
cf694132 8009
4268f798 8010 wxPyEndAllowThreads(__tstate);
493f1553 8011 if (PyErr_Occurred()) return NULL;
cf694132 8012} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8013 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8014 return _resultobj;
8015}
8016
d5c9047a 8017#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 8018static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8019 PyObject * _resultobj;
d5c9047a 8020 wxTreeItemId * _result;
f6bcfd97 8021 wxPyTreeCtrl * _arg0;
1d99702e 8022 PyObject * _argo0 = 0;
efc5f224 8023 char *_kwnames[] = { "self", NULL };
d5c9047a 8024 char _ptemp[128];
8ab979d7
RD
8025
8026 self = self;
efc5f224 8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 8028 return NULL;
1d99702e
RD
8029 if (_argo0) {
8030 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8033 return NULL;
8034 }
8035 }
cf694132 8036{
4268f798 8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8038 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
cf694132 8039
4268f798 8040 wxPyEndAllowThreads(__tstate);
493f1553 8041 if (PyErr_Occurred()) return NULL;
cf694132 8042} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8043 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8044 return _resultobj;
8045}
8046
d5c9047a 8047#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 8048static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8049 PyObject * _resultobj;
d5c9047a 8050 wxTreeItemId * _result;
f6bcfd97 8051 wxPyTreeCtrl * _arg0;
d5c9047a 8052 wxTreeItemId * _arg1;
1d99702e
RD
8053 PyObject * _argo0 = 0;
8054 PyObject * _argo1 = 0;
efc5f224 8055 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8056 char _ptemp[128];
8ab979d7
RD
8057
8058 self = self;
efc5f224 8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8060 return NULL;
1d99702e
RD
8061 if (_argo0) {
8062 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8065 return NULL;
8066 }
8067 }
1d99702e
RD
8068 if (_argo1) {
8069 if (_argo1 == Py_None) { _arg1 = NULL; }
8070 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8071 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8072 return NULL;
8073 }
8074 }
cf694132 8075{
4268f798 8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8077 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
cf694132 8078
4268f798 8079 wxPyEndAllowThreads(__tstate);
493f1553 8080 if (PyErr_Occurred()) return NULL;
cf694132 8081} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8082 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8083 return _resultobj;
8084}
8085
d5c9047a 8086#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 8087static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8088 PyObject * _resultobj;
d5c9047a 8089 wxTreeItemId * _result;
f6bcfd97 8090 wxPyTreeCtrl * _arg0;
d5c9047a 8091 wxTreeItemId * _arg1;
1d99702e
RD
8092 PyObject * _argo0 = 0;
8093 PyObject * _argo1 = 0;
efc5f224 8094 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8095 char _ptemp[128];
8ab979d7
RD
8096
8097 self = self;
efc5f224 8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8099 return NULL;
1d99702e
RD
8100 if (_argo0) {
8101 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8104 return NULL;
8105 }
8106 }
1d99702e
RD
8107 if (_argo1) {
8108 if (_argo1 == Py_None) { _arg1 = NULL; }
8109 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8110 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
8111 return NULL;
8112 }
8113 }
cf694132 8114{
4268f798 8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8116 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
cf694132 8117
4268f798 8118 wxPyEndAllowThreads(__tstate);
493f1553 8119 if (PyErr_Occurred()) return NULL;
cf694132 8120} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8121 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8122 return _resultobj;
8123}
8124
d426c97e
RD
8125#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8126static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8127 PyObject * _resultobj;
8128 wxTreeItemId * _result;
f6bcfd97 8129 wxPyTreeCtrl * _arg0;
d426c97e
RD
8130 wxTreeItemId * _arg1;
8131 PyObject * _argo0 = 0;
8132 PyObject * _argo1 = 0;
8133 char *_kwnames[] = { "self","item", NULL };
8134 char _ptemp[128];
8135
8136 self = self;
8137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8138 return NULL;
8139 if (_argo0) {
8140 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8143 return NULL;
8144 }
8145 }
8146 if (_argo1) {
8147 if (_argo1 == Py_None) { _arg1 = NULL; }
8148 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8149 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8150 return NULL;
8151 }
8152 }
8153{
4268f798 8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8155 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
d426c97e 8156
4268f798 8157 wxPyEndAllowThreads(__tstate);
493f1553 8158 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8159} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8160 _resultobj = Py_BuildValue("s",_ptemp);
8161 return _resultobj;
8162}
8163
d5c9047a 8164#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8165static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8166 PyObject * _resultobj;
d5c9047a 8167 wxTreeItemId * _result;
f6bcfd97 8168 wxPyTreeCtrl * _arg0;
d5c9047a 8169 wxString * _arg1;
1d99702e
RD
8170 int _arg2 = (int ) -1;
8171 int _arg3 = (int ) -1;
8172 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8173 PyObject * _argo0 = 0;
d5c9047a 8174 PyObject * _obj1 = 0;
1d99702e 8175 PyObject * _argo4 = 0;
efc5f224 8176 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8177 char _ptemp[128];
8ab979d7
RD
8178
8179 self = self;
efc5f224 8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8181 return NULL;
1d99702e
RD
8182 if (_argo0) {
8183 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8186 return NULL;
8187 }
8188 }
d5c9047a 8189{
c8bc7bb8
RD
8190 _arg1 = wxString_in_helper(_obj1);
8191 if (_arg1 == NULL)
185d7c3e 8192 return NULL;
d5c9047a 8193}
1d99702e
RD
8194 if (_argo4) {
8195 if (_argo4 == Py_None) { _arg4 = NULL; }
8196 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8197 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8198 return NULL;
8199 }
8200 }
cf694132 8201{
4268f798 8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8203 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
cf694132 8204
4268f798 8205 wxPyEndAllowThreads(__tstate);
493f1553 8206 if (PyErr_Occurred()) return NULL;
cf694132 8207} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8208 _resultobj = Py_BuildValue("s",_ptemp);
8209{
8210 if (_obj1)
8211 delete _arg1;
8212}
8ab979d7
RD
8213 return _resultobj;
8214}
8215
d5c9047a 8216#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8217static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8218 PyObject * _resultobj;
d5c9047a 8219 wxTreeItemId * _result;
f6bcfd97 8220 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8221 wxTreeItemId * _arg1;
8222 wxString * _arg2;
1d99702e
RD
8223 int _arg3 = (int ) -1;
8224 int _arg4 = (int ) -1;
8225 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8226 PyObject * _argo0 = 0;
8227 PyObject * _argo1 = 0;
d5c9047a 8228 PyObject * _obj2 = 0;
1d99702e 8229 PyObject * _argo5 = 0;
efc5f224 8230 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8231 char _ptemp[128];
8ab979d7
RD
8232
8233 self = self;
efc5f224 8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8235 return NULL;
1d99702e
RD
8236 if (_argo0) {
8237 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8240 return NULL;
8241 }
8242 }
1d99702e
RD
8243 if (_argo1) {
8244 if (_argo1 == Py_None) { _arg1 = NULL; }
8245 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8246 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8247 return NULL;
8248 }
8249 }
8250{
c8bc7bb8
RD
8251 _arg2 = wxString_in_helper(_obj2);
8252 if (_arg2 == NULL)
185d7c3e 8253 return NULL;
d5c9047a 8254}
1d99702e
RD
8255 if (_argo5) {
8256 if (_argo5 == Py_None) { _arg5 = NULL; }
8257 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8258 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8259 return NULL;
8260 }
8261 }
cf694132 8262{
4268f798 8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8264 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8265
4268f798 8266 wxPyEndAllowThreads(__tstate);
493f1553 8267 if (PyErr_Occurred()) return NULL;
cf694132 8268} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8269 _resultobj = Py_BuildValue("s",_ptemp);
8270{
8271 if (_obj2)
8272 delete _arg2;
8273}
8ab979d7
RD
8274 return _resultobj;
8275}
8276
d5c9047a 8277#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8278static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8279 PyObject * _resultobj;
d5c9047a 8280 wxTreeItemId * _result;
f6bcfd97 8281 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8282 wxTreeItemId * _arg1;
8283 wxTreeItemId * _arg2;
8284 wxString * _arg3;
1d99702e
RD
8285 int _arg4 = (int ) -1;
8286 int _arg5 = (int ) -1;
8287 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8288 PyObject * _argo0 = 0;
8289 PyObject * _argo1 = 0;
8290 PyObject * _argo2 = 0;
d5c9047a 8291 PyObject * _obj3 = 0;
1d99702e 8292 PyObject * _argo6 = 0;
efc5f224 8293 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8294 char _ptemp[128];
8ab979d7
RD
8295
8296 self = self;
efc5f224 8297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8298 return NULL;
1d99702e
RD
8299 if (_argo0) {
8300 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8303 return NULL;
8304 }
8305 }
1d99702e
RD
8306 if (_argo1) {
8307 if (_argo1 == Py_None) { _arg1 = NULL; }
8308 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8309 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8310 return NULL;
8311 }
8312 }
1d99702e
RD
8313 if (_argo2) {
8314 if (_argo2 == Py_None) { _arg2 = NULL; }
8315 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8316 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8317 return NULL;
8318 }
8319 }
8320{
c8bc7bb8
RD
8321 _arg3 = wxString_in_helper(_obj3);
8322 if (_arg3 == NULL)
185d7c3e 8323 return NULL;
d5c9047a 8324}
1d99702e
RD
8325 if (_argo6) {
8326 if (_argo6 == Py_None) { _arg6 = NULL; }
8327 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8328 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8329 return NULL;
8330 }
8331 }
cf694132 8332{
4268f798 8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8334 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
cf694132 8335
4268f798 8336 wxPyEndAllowThreads(__tstate);
493f1553 8337 if (PyErr_Occurred()) return NULL;
cf694132 8338} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8339 _resultobj = Py_BuildValue("s",_ptemp);
8340{
8341 if (_obj3)
8342 delete _arg3;
8343}
8ab979d7
RD
8344 return _resultobj;
8345}
8346
f6bcfd97
BP
8347#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8348static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8349 PyObject * _resultobj;
8350 wxTreeItemId * _result;
8351 wxPyTreeCtrl * _arg0;
8352 wxTreeItemId * _arg1;
8353 size_t _arg2;
8354 wxString * _arg3;
8355 int _arg4 = (int ) -1;
8356 int _arg5 = (int ) -1;
3999941a 8357 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
f6bcfd97
BP
8358 PyObject * _argo0 = 0;
8359 PyObject * _argo1 = 0;
8360 PyObject * _obj3 = 0;
8361 PyObject * _argo6 = 0;
8362 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8363 char _ptemp[128];
8364
8365 self = self;
8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8367 return NULL;
8368 if (_argo0) {
8369 if (_argo0 == Py_None) { _arg0 = NULL; }
8370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8372 return NULL;
8373 }
8374 }
8375 if (_argo1) {
8376 if (_argo1 == Py_None) { _arg1 = NULL; }
8377 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8378 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8379 return NULL;
8380 }
8381 }
8382{
c8bc7bb8
RD
8383 _arg3 = wxString_in_helper(_obj3);
8384 if (_arg3 == NULL)
185d7c3e 8385 return NULL;
f6bcfd97
BP
8386}
8387 if (_argo6) {
8388 if (_argo6 == Py_None) { _arg6 = NULL; }
3999941a
RD
8389 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
8390 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
f6bcfd97
BP
8391 return NULL;
8392 }
8393 }
8394{
4268f798 8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8396 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
f6bcfd97 8397
4268f798 8398 wxPyEndAllowThreads(__tstate);
493f1553 8399 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8400} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8401 _resultobj = Py_BuildValue("s",_ptemp);
8402{
8403 if (_obj3)
8404 delete _arg3;
8405}
8406 return _resultobj;
8407}
8408
d5c9047a 8409#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8410static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8411 PyObject * _resultobj;
d5c9047a 8412 wxTreeItemId * _result;
f6bcfd97 8413 wxPyTreeCtrl * _arg0;
d5c9047a 8414 wxTreeItemId * _arg1;
8ab979d7 8415 wxString * _arg2;
1d99702e
RD
8416 int _arg3 = (int ) -1;
8417 int _arg4 = (int ) -1;
8418 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8419 PyObject * _argo0 = 0;
8420 PyObject * _argo1 = 0;
8ab979d7 8421 PyObject * _obj2 = 0;
1d99702e 8422 PyObject * _argo5 = 0;
efc5f224 8423 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8424 char _ptemp[128];
8ab979d7
RD
8425
8426 self = self;
efc5f224 8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8428 return NULL;
1d99702e
RD
8429 if (_argo0) {
8430 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8433 return NULL;
8434 }
8435 }
1d99702e
RD
8436 if (_argo1) {
8437 if (_argo1 == Py_None) { _arg1 = NULL; }
8438 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8439 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8440 return NULL;
8441 }
8442 }
8443{
c8bc7bb8
RD
8444 _arg2 = wxString_in_helper(_obj2);
8445 if (_arg2 == NULL)
185d7c3e 8446 return NULL;
8ab979d7 8447}
1d99702e
RD
8448 if (_argo5) {
8449 if (_argo5 == Py_None) { _arg5 = NULL; }
8450 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8451 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8452 return NULL;
8453 }
8454 }
cf694132 8455{
4268f798 8456 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8457 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8458
4268f798 8459 wxPyEndAllowThreads(__tstate);
493f1553 8460 if (PyErr_Occurred()) return NULL;
cf694132 8461} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8462 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8463{
8464 if (_obj2)
8465 delete _arg2;
8466}
8467 return _resultobj;
8468}
8469
d5c9047a 8470#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8471static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8472 PyObject * _resultobj;
f6bcfd97 8473 wxPyTreeCtrl * _arg0;
d5c9047a 8474 wxTreeItemId * _arg1;
1d99702e
RD
8475 PyObject * _argo0 = 0;
8476 PyObject * _argo1 = 0;
efc5f224 8477 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8478
8479 self = self;
efc5f224 8480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8481 return NULL;
1d99702e
RD
8482 if (_argo0) {
8483 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8486 return NULL;
8487 }
8488 }
1d99702e
RD
8489 if (_argo1) {
8490 if (_argo1 == Py_None) { _arg1 = NULL; }
8491 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8492 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8493 return NULL;
8494 }
8495 }
cf694132 8496{
4268f798 8497 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8498 wxTreeCtrl_Delete(_arg0,*_arg1);
cf694132 8499
4268f798 8500 wxPyEndAllowThreads(__tstate);
493f1553 8501 if (PyErr_Occurred()) return NULL;
cf694132 8502} Py_INCREF(Py_None);
d5c9047a
RD
8503 _resultobj = Py_None;
8504 return _resultobj;
8505}
8506
08127323 8507#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8508static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8509 PyObject * _resultobj;
f6bcfd97 8510 wxPyTreeCtrl * _arg0;
08127323 8511 wxTreeItemId * _arg1;
1d99702e
RD
8512 PyObject * _argo0 = 0;
8513 PyObject * _argo1 = 0;
efc5f224 8514 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8515
8516 self = self;
efc5f224 8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8518 return NULL;
1d99702e
RD
8519 if (_argo0) {
8520 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8523 return NULL;
8524 }
8525 }
1d99702e
RD
8526 if (_argo1) {
8527 if (_argo1 == Py_None) { _arg1 = NULL; }
8528 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8529 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8530 return NULL;
8531 }
8532 }
cf694132 8533{
4268f798 8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8535 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
cf694132 8536
4268f798 8537 wxPyEndAllowThreads(__tstate);
493f1553 8538 if (PyErr_Occurred()) return NULL;
cf694132 8539} Py_INCREF(Py_None);
08127323
RD
8540 _resultobj = Py_None;
8541 return _resultobj;
8542}
8543
d5c9047a 8544#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8545static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8546 PyObject * _resultobj;
f6bcfd97 8547 wxPyTreeCtrl * _arg0;
1d99702e 8548 PyObject * _argo0 = 0;
efc5f224 8549 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8550
8551 self = self;
efc5f224 8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8553 return NULL;
1d99702e
RD
8554 if (_argo0) {
8555 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8558 return NULL;
8559 }
8560 }
cf694132 8561{
4268f798 8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8563 wxTreeCtrl_DeleteAllItems(_arg0);
cf694132 8564
4268f798 8565 wxPyEndAllowThreads(__tstate);
493f1553 8566 if (PyErr_Occurred()) return NULL;
cf694132 8567} Py_INCREF(Py_None);
d5c9047a
RD
8568 _resultobj = Py_None;
8569 return _resultobj;
8570}
8571
8572#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8573static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8574 PyObject * _resultobj;
f6bcfd97 8575 wxPyTreeCtrl * _arg0;
d5c9047a 8576 wxTreeItemId * _arg1;
1d99702e
RD
8577 PyObject * _argo0 = 0;
8578 PyObject * _argo1 = 0;
efc5f224 8579 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8580
8581 self = self;
efc5f224 8582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8583 return NULL;
1d99702e
RD
8584 if (_argo0) {
8585 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8588 return NULL;
8589 }
8590 }
1d99702e
RD
8591 if (_argo1) {
8592 if (_argo1 == Py_None) { _arg1 = NULL; }
8593 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8595 return NULL;
8596 }
8597 }
cf694132 8598{
4268f798 8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8600 wxTreeCtrl_Expand(_arg0,*_arg1);
cf694132 8601
4268f798 8602 wxPyEndAllowThreads(__tstate);
493f1553 8603 if (PyErr_Occurred()) return NULL;
cf694132 8604} Py_INCREF(Py_None);
d5c9047a
RD
8605 _resultobj = Py_None;
8606 return _resultobj;
8607}
8608
8609#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8610static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8611 PyObject * _resultobj;
f6bcfd97 8612 wxPyTreeCtrl * _arg0;
d5c9047a 8613 wxTreeItemId * _arg1;
1d99702e
RD
8614 PyObject * _argo0 = 0;
8615 PyObject * _argo1 = 0;
efc5f224 8616 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8617
8618 self = self;
efc5f224 8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8620 return NULL;
1d99702e
RD
8621 if (_argo0) {
8622 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8625 return NULL;
8626 }
8627 }
1d99702e
RD
8628 if (_argo1) {
8629 if (_argo1 == Py_None) { _arg1 = NULL; }
8630 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8631 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8632 return NULL;
8633 }
8634 }
cf694132 8635{
4268f798 8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8637 wxTreeCtrl_Collapse(_arg0,*_arg1);
cf694132 8638
4268f798 8639 wxPyEndAllowThreads(__tstate);
493f1553 8640 if (PyErr_Occurred()) return NULL;
cf694132 8641} Py_INCREF(Py_None);
d5c9047a
RD
8642 _resultobj = Py_None;
8643 return _resultobj;
8644}
8645
8646#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8647static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8648 PyObject * _resultobj;
f6bcfd97 8649 wxPyTreeCtrl * _arg0;
d5c9047a 8650 wxTreeItemId * _arg1;
1d99702e
RD
8651 PyObject * _argo0 = 0;
8652 PyObject * _argo1 = 0;
efc5f224 8653 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8654
8655 self = self;
efc5f224 8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8657 return NULL;
1d99702e
RD
8658 if (_argo0) {
8659 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8662 return NULL;
8663 }
8664 }
1d99702e
RD
8665 if (_argo1) {
8666 if (_argo1 == Py_None) { _arg1 = NULL; }
8667 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8668 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8669 return NULL;
8670 }
8671 }
cf694132 8672{
4268f798 8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8674 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
cf694132 8675
4268f798 8676 wxPyEndAllowThreads(__tstate);
493f1553 8677 if (PyErr_Occurred()) return NULL;
cf694132 8678} Py_INCREF(Py_None);
d5c9047a
RD
8679 _resultobj = Py_None;
8680 return _resultobj;
8681}
8682
8683#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8684static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8685 PyObject * _resultobj;
f6bcfd97 8686 wxPyTreeCtrl * _arg0;
d5c9047a 8687 wxTreeItemId * _arg1;
1d99702e
RD
8688 PyObject * _argo0 = 0;
8689 PyObject * _argo1 = 0;
efc5f224 8690 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8691
8692 self = self;
efc5f224 8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8694 return NULL;
1d99702e
RD
8695 if (_argo0) {
8696 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8699 return NULL;
8700 }
8701 }
1d99702e
RD
8702 if (_argo1) {
8703 if (_argo1 == Py_None) { _arg1 = NULL; }
8704 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8705 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8706 return NULL;
8707 }
8708 }
cf694132 8709{
4268f798 8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8711 wxTreeCtrl_Toggle(_arg0,*_arg1);
cf694132 8712
4268f798 8713 wxPyEndAllowThreads(__tstate);
493f1553 8714 if (PyErr_Occurred()) return NULL;
cf694132 8715} Py_INCREF(Py_None);
d5c9047a
RD
8716 _resultobj = Py_None;
8717 return _resultobj;
8718}
8719
8720#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8721static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8722 PyObject * _resultobj;
f6bcfd97 8723 wxPyTreeCtrl * _arg0;
1d99702e 8724 PyObject * _argo0 = 0;
efc5f224 8725 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8726
8727 self = self;
efc5f224 8728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8729 return NULL;
1d99702e
RD
8730 if (_argo0) {
8731 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8734 return NULL;
8735 }
8736 }
cf694132 8737{
4268f798 8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8739 wxTreeCtrl_Unselect(_arg0);
cf694132 8740
4268f798 8741 wxPyEndAllowThreads(__tstate);
493f1553 8742 if (PyErr_Occurred()) return NULL;
cf694132 8743} Py_INCREF(Py_None);
d5c9047a
RD
8744 _resultobj = Py_None;
8745 return _resultobj;
8746}
8747
8bf5d46e 8748#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8749static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8750 PyObject * _resultobj;
f6bcfd97 8751 wxPyTreeCtrl * _arg0;
1d99702e 8752 PyObject * _argo0 = 0;
efc5f224 8753 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
8754
8755 self = self;
efc5f224 8756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 8757 return NULL;
1d99702e
RD
8758 if (_argo0) {
8759 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
8762 return NULL;
8763 }
8764 }
8765{
4268f798 8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8767 wxTreeCtrl_UnselectAll(_arg0);
8bf5d46e 8768
4268f798 8769 wxPyEndAllowThreads(__tstate);
493f1553 8770 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8771} Py_INCREF(Py_None);
8772 _resultobj = Py_None;
8773 return _resultobj;
8774}
8775
d5c9047a 8776#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 8777static PyObject *_wrap_wxTreeCtrl_SelectItem(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_SelectItem",_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_SelectItem. 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_SelectItem. Expected _wxTreeItemId_p.");
8799 return NULL;
8800 }
8801 }
cf694132 8802{
4268f798 8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8804 wxTreeCtrl_SelectItem(_arg0,*_arg1);
cf694132 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_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 8814static PyObject *_wrap_wxTreeCtrl_EnsureVisible(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_EnsureVisible",_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_EnsureVisible. 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_EnsureVisible. Expected _wxTreeItemId_p.");
8836 return NULL;
8837 }
8838 }
cf694132 8839{
4268f798 8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8841 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
cf694132 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_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 8851static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8852 PyObject * _resultobj;
f6bcfd97 8853 wxPyTreeCtrl * _arg0;
d5c9047a 8854 wxTreeItemId * _arg1;
1d99702e
RD
8855 PyObject * _argo0 = 0;
8856 PyObject * _argo1 = 0;
efc5f224 8857 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8858
8859 self = self;
efc5f224 8860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 8861 return NULL;
1d99702e
RD
8862 if (_argo0) {
8863 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8866 return NULL;
8867 }
8868 }
1d99702e
RD
8869 if (_argo1) {
8870 if (_argo1 == Py_None) { _arg1 = NULL; }
8871 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8872 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8873 return NULL;
8874 }
8875 }
cf694132 8876{
4268f798 8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8878 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
cf694132 8879
4268f798 8880 wxPyEndAllowThreads(__tstate);
493f1553 8881 if (PyErr_Occurred()) return NULL;
cf694132 8882} Py_INCREF(Py_None);
d5c9047a
RD
8883 _resultobj = Py_None;
8884 return _resultobj;
8885}
8886
8887#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 8888static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
8889 PyObject * _resultobj;
8890 wxTextCtrl * _result;
f6bcfd97 8891 wxPyTreeCtrl * _arg0;
d5c9047a 8892 wxTreeItemId * _arg1;
1d99702e
RD
8893 PyObject * _argo0 = 0;
8894 PyObject * _argo1 = 0;
efc5f224 8895 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8896
8897 self = self;
efc5f224 8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 8899 return NULL;
1d99702e
RD
8900 if (_argo0) {
8901 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8904 return NULL;
8905 }
8906 }
1d99702e
RD
8907 if (_argo1) {
8908 if (_argo1 == Py_None) { _arg1 = NULL; }
8909 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8910 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8911 return NULL;
8912 }
8913 }
cf694132 8914{
4268f798 8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8916 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132 8917
4268f798 8918 wxPyEndAllowThreads(__tstate);
493f1553 8919 if (PyErr_Occurred()) return NULL;
9416aa89 8920}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
8921 return _resultobj;
8922}
8923
8924#define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
efc5f224 8925static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
8926 PyObject * _resultobj;
8927 wxTextCtrl * _result;
f6bcfd97 8928 wxPyTreeCtrl * _arg0;
1d99702e 8929 PyObject * _argo0 = 0;
efc5f224 8930 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8931
8932 self = self;
efc5f224 8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0))
d5c9047a 8934 return NULL;
1d99702e
RD
8935 if (_argo0) {
8936 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8939 return NULL;
8940 }
8941 }
cf694132 8942{
4268f798 8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8944 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
cf694132 8945
4268f798 8946 wxPyEndAllowThreads(__tstate);
493f1553 8947 if (PyErr_Occurred()) return NULL;
9416aa89 8948}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
8949 return _resultobj;
8950}
8951
8952#define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
efc5f224 8953static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8954 PyObject * _resultobj;
f6bcfd97 8955 wxPyTreeCtrl * _arg0;
d5c9047a 8956 wxTreeItemId * _arg1;
b1462dfa 8957 int _arg2 = (int ) FALSE;
1d99702e
RD
8958 PyObject * _argo0 = 0;
8959 PyObject * _argo1 = 0;
efc5f224 8960 char *_kwnames[] = { "self","item","discardChanges", NULL };
d5c9047a
RD
8961
8962 self = self;
b1462dfa 8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2))
d5c9047a 8964 return NULL;
1d99702e
RD
8965 if (_argo0) {
8966 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8969 return NULL;
8970 }
8971 }
1d99702e
RD
8972 if (_argo1) {
8973 if (_argo1 == Py_None) { _arg1 = NULL; }
8974 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8975 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
8976 return NULL;
8977 }
8978 }
cf694132 8979{
4268f798 8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8981 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
cf694132 8982
4268f798 8983 wxPyEndAllowThreads(__tstate);
493f1553 8984 if (PyErr_Occurred()) return NULL;
cf694132 8985} Py_INCREF(Py_None);
d5c9047a 8986 _resultobj = Py_None;
8ab979d7
RD
8987 return _resultobj;
8988}
8989
d426c97e
RD
8990#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8991static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject * _resultobj;
f6bcfd97 8993 wxPyTreeCtrl * _arg0;
d426c97e
RD
8994 wxTreeItemId * _arg1;
8995 PyObject * _argo0 = 0;
8996 PyObject * _argo1 = 0;
8997 char *_kwnames[] = { "self","item", NULL };
8998
8999 self = self;
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
9001 return NULL;
9002 if (_argo0) {
9003 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9006 return NULL;
9007 }
9008 }
9009 if (_argo1) {
9010 if (_argo1 == Py_None) { _arg1 = NULL; }
9011 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9012 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9013 return NULL;
9014 }
9015 }
9016{
4268f798 9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9018 wxTreeCtrl_SortChildren(_arg0,*_arg1);
d426c97e 9019
4268f798 9020 wxPyEndAllowThreads(__tstate);
493f1553 9021 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9022} Py_INCREF(Py_None);
9023 _resultobj = Py_None;
9024 return _resultobj;
9025}
9026
b8b8dda7 9027#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 9028static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 9029 PyObject * _resultobj;
f6bcfd97 9030 wxPyTreeCtrl * _arg0;
b8b8dda7 9031 wxTreeItemId * _arg1;
b1462dfa 9032 int _arg2 = (int ) TRUE;
1d99702e
RD
9033 PyObject * _argo0 = 0;
9034 PyObject * _argo1 = 0;
efc5f224 9035 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
9036
9037 self = self;
b1462dfa 9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 9039 return NULL;
1d99702e
RD
9040 if (_argo0) {
9041 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9044 return NULL;
9045 }
9046 }
1d99702e
RD
9047 if (_argo1) {
9048 if (_argo1 == Py_None) { _arg1 = NULL; }
9049 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9050 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9051 return NULL;
9052 }
9053 }
cf694132 9054{
4268f798 9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9056 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
cf694132 9057
4268f798 9058 wxPyEndAllowThreads(__tstate);
493f1553 9059 if (PyErr_Occurred()) return NULL;
cf694132 9060} Py_INCREF(Py_None);
b8b8dda7
RD
9061 _resultobj = Py_None;
9062 return _resultobj;
9063}
9064
9065#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 9066static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9067 PyObject * _resultobj;
9068 bool _result;
f6bcfd97 9069 wxPyTreeCtrl * _arg0;
b8b8dda7 9070 wxTreeItemId * _arg1;
1d99702e
RD
9071 PyObject * _argo0 = 0;
9072 PyObject * _argo1 = 0;
efc5f224 9073 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
9074
9075 self = self;
efc5f224 9076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 9077 return NULL;
1d99702e
RD
9078 if (_argo0) {
9079 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9082 return NULL;
9083 }
9084 }
1d99702e
RD
9085 if (_argo1) {
9086 if (_argo1 == Py_None) { _arg1 = NULL; }
9087 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9088 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9089 return NULL;
9090 }
9091 }
cf694132 9092{
4268f798 9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9094 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
cf694132 9095
4268f798 9096 wxPyEndAllowThreads(__tstate);
493f1553 9097 if (PyErr_Occurred()) return NULL;
cf694132 9098} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
9099 return _resultobj;
9100}
9101
164b735b 9102#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 9103static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9104 PyObject * _resultobj;
9105 wxTreeItemId * _result;
f6bcfd97 9106 wxPyTreeCtrl * _arg0;
b8b8dda7 9107 wxPoint * _arg1;
164b735b
RD
9108 int * _arg2;
9109 int temp;
1d99702e 9110 PyObject * _argo0 = 0;
164b735b 9111 wxPoint temp0;
2f90df85 9112 PyObject * _obj1 = 0;
efc5f224 9113 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
9114 char _ptemp[128];
9115
9116 self = self;
164b735b
RD
9117{
9118 _arg2 = &temp;
9119}
2f90df85 9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 9121 return NULL;
1d99702e
RD
9122 if (_argo0) {
9123 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9126 return NULL;
9127 }
9128 }
2f90df85 9129{
164b735b 9130 _arg1 = &temp0;
2f90df85 9131 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 9132 return NULL;
2f90df85 9133}
cf694132 9134{
4268f798 9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9136 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132 9137
4268f798 9138 wxPyEndAllowThreads(__tstate);
493f1553 9139 if (PyErr_Occurred()) return NULL;
cf694132 9140} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 9141 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
9142{
9143 PyObject *o;
9144 o = PyInt_FromLong((long) (*_arg2));
9145 _resultobj = t_output_helper(_resultobj, o);
9146}
b8b8dda7
RD
9147 return _resultobj;
9148}
9149
b7e72427
RD
9150#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9151static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject * _resultobj;
f6bcfd97 9153 wxPyTreeCtrl * _arg0;
b7e72427
RD
9154 wxTreeItemId * _arg1;
9155 wxColour * _arg2;
9156 PyObject * _argo0 = 0;
9157 PyObject * _argo1 = 0;
f6bcfd97
BP
9158 wxColour temp;
9159 PyObject * _obj2 = 0;
b7e72427
RD
9160 char *_kwnames[] = { "self","item","col", NULL };
9161
9162 self = self;
f6bcfd97 9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9164 return NULL;
9165 if (_argo0) {
9166 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9169 return NULL;
9170 }
9171 }
9172 if (_argo1) {
9173 if (_argo1 == Py_None) { _arg1 = NULL; }
9174 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9175 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9176 return NULL;
9177 }
9178 }
f6bcfd97
BP
9179{
9180 _arg2 = &temp;
9181 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9182 return NULL;
f6bcfd97 9183}
b7e72427 9184{
4268f798 9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9186 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
b7e72427 9187
4268f798 9188 wxPyEndAllowThreads(__tstate);
493f1553 9189 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9190} Py_INCREF(Py_None);
9191 _resultobj = Py_None;
9192 return _resultobj;
9193}
9194
9195#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9196static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject * _resultobj;
f6bcfd97 9198 wxPyTreeCtrl * _arg0;
b7e72427
RD
9199 wxTreeItemId * _arg1;
9200 wxColour * _arg2;
9201 PyObject * _argo0 = 0;
9202 PyObject * _argo1 = 0;
f6bcfd97
BP
9203 wxColour temp;
9204 PyObject * _obj2 = 0;
b7e72427
RD
9205 char *_kwnames[] = { "self","item","col", NULL };
9206
9207 self = self;
f6bcfd97 9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9209 return NULL;
9210 if (_argo0) {
9211 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9214 return NULL;
9215 }
9216 }
9217 if (_argo1) {
9218 if (_argo1 == Py_None) { _arg1 = NULL; }
9219 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9220 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9221 return NULL;
9222 }
9223 }
f6bcfd97
BP
9224{
9225 _arg2 = &temp;
9226 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9227 return NULL;
f6bcfd97 9228}
b7e72427 9229{
4268f798 9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9231 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
b7e72427 9232
4268f798 9233 wxPyEndAllowThreads(__tstate);
493f1553 9234 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9235} Py_INCREF(Py_None);
9236 _resultobj = Py_None;
9237 return _resultobj;
9238}
9239
9240#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9241static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9242 PyObject * _resultobj;
f6bcfd97 9243 wxPyTreeCtrl * _arg0;
b7e72427
RD
9244 wxTreeItemId * _arg1;
9245 wxFont * _arg2;
9246 PyObject * _argo0 = 0;
9247 PyObject * _argo1 = 0;
9248 PyObject * _argo2 = 0;
9249 char *_kwnames[] = { "self","item","font", NULL };
9250
9251 self = self;
9252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9253 return NULL;
9254 if (_argo0) {
9255 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9258 return NULL;
9259 }
9260 }
9261 if (_argo1) {
9262 if (_argo1 == Py_None) { _arg1 = NULL; }
9263 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9264 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9265 return NULL;
9266 }
9267 }
9268 if (_argo2) {
9269 if (_argo2 == Py_None) { _arg2 = NULL; }
9270 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9271 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9272 return NULL;
9273 }
9274 }
9275{
4268f798 9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9277 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
b7e72427 9278
4268f798 9279 wxPyEndAllowThreads(__tstate);
493f1553 9280 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9281} Py_INCREF(Py_None);
9282 _resultobj = Py_None;
9283 return _resultobj;
9284}
9285
b1462dfa
RD
9286#define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9287static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9288 PyObject * _resultobj;
f6bcfd97 9289 wxPyTreeCtrl * _arg0;
b1462dfa
RD
9290 wxTreeItemId * _arg1;
9291 int _arg2 = (int ) TRUE;
9292 PyObject * _argo0 = 0;
9293 PyObject * _argo1 = 0;
9294 char *_kwnames[] = { "self","item","highlight", NULL };
9295
9296 self = self;
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2))
9298 return NULL;
9299 if (_argo0) {
9300 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
9303 return NULL;
9304 }
9305 }
9306 if (_argo1) {
9307 if (_argo1 == Py_None) { _arg1 = NULL; }
9308 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9309 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9310 return NULL;
9311 }
9312 }
9313{
4268f798 9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9315 wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2);
b1462dfa 9316
4268f798 9317 wxPyEndAllowThreads(__tstate);
493f1553 9318 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9319} Py_INCREF(Py_None);
9320 _resultobj = Py_None;
9321 return _resultobj;
9322}
9323
f6bcfd97 9324static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
d426c97e 9325 wxRect rect;
164b735b 9326 if (self->GetBoundingRect(item, rect, textOnly)) {
4268f798 9327 wxPyBeginBlockThreads();
164b735b
RD
9328 wxRect* r = new wxRect(rect);
9329 PyObject* val = wxPyConstructObject((void*)r, "wxRect");
4268f798 9330 wxPyEndBlockThreads();
164b735b
RD
9331 return val;
9332 }
d426c97e
RD
9333 else {
9334 Py_INCREF(Py_None);
9335 return Py_None;
9336 }
9337 }
9338static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject * _resultobj;
9340 PyObject * _result;
f6bcfd97 9341 wxPyTreeCtrl * _arg0;
d426c97e
RD
9342 wxTreeItemId * _arg1;
9343 int _arg2 = (int ) FALSE;
9344 PyObject * _argo0 = 0;
9345 PyObject * _argo1 = 0;
9346 char *_kwnames[] = { "self","item","textOnly", NULL };
9347
9348 self = self;
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9350 return NULL;
9351 if (_argo0) {
9352 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9355 return NULL;
9356 }
9357 }
9358 if (_argo1) {
9359 if (_argo1 == Py_None) { _arg1 = NULL; }
9360 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9361 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9362 return NULL;
9363 }
9364 }
9365{
4268f798 9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9367 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
d426c97e 9368
4268f798 9369 wxPyEndAllowThreads(__tstate);
493f1553 9370 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9371}{
9372 _resultobj = _result;
9373}
9374 return _resultobj;
9375}
9376
68320e40
RD
9377static void *SwigwxDirItemDataTowxObject(void *ptr) {
9378 wxDirItemData *src;
9379 wxObject *dest;
9380 src = (wxDirItemData *) ptr;
9381 dest = (wxObject *) src;
9382 return (void *) dest;
9383}
9384
9385#define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9386static PyObject *_wrap_new_wxDirItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject * _resultobj;
9388 wxDirItemData * _result;
9389 wxString * _arg0;
9390 wxString * _arg1;
9391 bool _arg2;
9392 PyObject * _obj0 = 0;
9393 PyObject * _obj1 = 0;
9394 int tempbool2;
9395 char *_kwnames[] = { "path","name","isDir", NULL };
9396 char _ptemp[128];
9397
9398 self = self;
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:new_wxDirItemData",_kwnames,&_obj0,&_obj1,&tempbool2))
9400 return NULL;
9401{
c8bc7bb8
RD
9402 _arg0 = wxString_in_helper(_obj0);
9403 if (_arg0 == NULL)
68320e40 9404 return NULL;
68320e40
RD
9405}
9406{
c8bc7bb8
RD
9407 _arg1 = wxString_in_helper(_obj1);
9408 if (_arg1 == NULL)
68320e40 9409 return NULL;
68320e40
RD
9410}
9411 _arg2 = (bool ) tempbool2;
9412{
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9414 _result = (wxDirItemData *)new_wxDirItemData(*_arg0,*_arg1,_arg2);
68320e40
RD
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) return NULL;
9418} if (_result) {
9419 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirItemData_p");
9420 _resultobj = Py_BuildValue("s",_ptemp);
9421 } else {
9422 Py_INCREF(Py_None);
9423 _resultobj = Py_None;
9424 }
9425{
9426 if (_obj0)
9427 delete _arg0;
9428}
9429{
9430 if (_obj1)
9431 delete _arg1;
9432}
9433 return _resultobj;
9434}
9435
9436#define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9437static PyObject *_wrap_wxDirItemData_SetNewDirName(PyObject *self, PyObject *args, PyObject *kwargs) {
9438 PyObject * _resultobj;
9439 wxDirItemData * _arg0;
9440 wxString * _arg1;
9441 PyObject * _argo0 = 0;
9442 PyObject * _obj1 = 0;
9443 char *_kwnames[] = { "self","path", NULL };
9444
9445 self = self;
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_SetNewDirName",_kwnames,&_argo0,&_obj1))
9447 return NULL;
9448 if (_argo0) {
9449 if (_argo0 == Py_None) { _arg0 = NULL; }
9450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9452 return NULL;
9453 }
9454 }
9455{
c8bc7bb8
RD
9456 _arg1 = wxString_in_helper(_obj1);
9457 if (_arg1 == NULL)
68320e40 9458 return NULL;
68320e40
RD
9459}
9460{
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9462 wxDirItemData_SetNewDirName(_arg0,*_arg1);
68320e40
RD
9463
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) return NULL;
9466} Py_INCREF(Py_None);
9467 _resultobj = Py_None;
9468{
9469 if (_obj1)
9470 delete _arg1;
9471}
9472 return _resultobj;
9473}
9474
9475#define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9476static PyObject *_wrap_wxDirItemData_m_path_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9477 PyObject * _resultobj;
9478 wxString * _result;
9479 wxDirItemData * _arg0;
9480 wxString * _arg1;
9481 PyObject * _argo0 = 0;
9482 PyObject * _obj1 = 0;
9483 char *_kwnames[] = { "self","m_path", NULL };
9484
9485 self = self;
9486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_path_set",_kwnames,&_argo0,&_obj1))
9487 return NULL;
9488 if (_argo0) {
9489 if (_argo0 == Py_None) { _arg0 = NULL; }
9490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9492 return NULL;
9493 }
9494 }
9495{
c8bc7bb8
RD
9496 _arg1 = wxString_in_helper(_obj1);
9497 if (_arg1 == NULL)
68320e40 9498 return NULL;
68320e40
RD
9499}
9500{
9501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9502 _result = (wxString *)wxDirItemData_m_path_set(_arg0,_arg1);
68320e40
RD
9503
9504 wxPyEndAllowThreads(__tstate);
9505 if (PyErr_Occurred()) return NULL;
9506}{
c8bc7bb8
RD
9507#if wxUSE_UNICODE
9508 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9509#else
68320e40 9510 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9511#endif
68320e40
RD
9512}
9513{
9514 if (_obj1)
9515 delete _arg1;
9516}
9517 return _resultobj;
9518}
9519
9520#define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9521static PyObject *_wrap_wxDirItemData_m_path_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9522 PyObject * _resultobj;
9523 wxString * _result;
9524 wxDirItemData * _arg0;
9525 PyObject * _argo0 = 0;
9526 char *_kwnames[] = { "self", NULL };
9527
9528 self = self;
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_path_get",_kwnames,&_argo0))
9530 return NULL;
9531 if (_argo0) {
9532 if (_argo0 == Py_None) { _arg0 = NULL; }
9533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9535 return NULL;
9536 }
9537 }
9538{
9539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9540 _result = (wxString *)wxDirItemData_m_path_get(_arg0);
68320e40
RD
9541
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) return NULL;
9544}{
c8bc7bb8
RD
9545#if wxUSE_UNICODE
9546 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9547#else
68320e40 9548 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9549#endif
68320e40
RD
9550}
9551 return _resultobj;
9552}
9553
9554#define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9555static PyObject *_wrap_wxDirItemData_m_name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9556 PyObject * _resultobj;
9557 wxString * _result;
9558 wxDirItemData * _arg0;
9559 wxString * _arg1;
9560 PyObject * _argo0 = 0;
9561 PyObject * _obj1 = 0;
9562 char *_kwnames[] = { "self","m_name", NULL };
9563
9564 self = self;
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_name_set",_kwnames,&_argo0,&_obj1))
9566 return NULL;
9567 if (_argo0) {
9568 if (_argo0 == Py_None) { _arg0 = NULL; }
9569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9571 return NULL;
9572 }
9573 }
9574{
c8bc7bb8
RD
9575 _arg1 = wxString_in_helper(_obj1);
9576 if (_arg1 == NULL)
68320e40 9577 return NULL;
68320e40
RD
9578}
9579{
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9581 _result = (wxString *)wxDirItemData_m_name_set(_arg0,_arg1);
68320e40
RD
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) return NULL;
9585}{
c8bc7bb8
RD
9586#if wxUSE_UNICODE
9587 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9588#else
68320e40 9589 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9590#endif
68320e40
RD
9591}
9592{
9593 if (_obj1)
9594 delete _arg1;
9595}
9596 return _resultobj;
9597}
9598
9599#define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9600static PyObject *_wrap_wxDirItemData_m_name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject * _resultobj;
9602 wxString * _result;
9603 wxDirItemData * _arg0;
9604 PyObject * _argo0 = 0;
9605 char *_kwnames[] = { "self", NULL };
9606
9607 self = self;
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_name_get",_kwnames,&_argo0))
9609 return NULL;
9610 if (_argo0) {
9611 if (_argo0 == Py_None) { _arg0 = NULL; }
9612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9614 return NULL;
9615 }
9616 }
9617{
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9619 _result = (wxString *)wxDirItemData_m_name_get(_arg0);
68320e40
RD
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) return NULL;
9623}{
c8bc7bb8
RD
9624#if wxUSE_UNICODE
9625 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9626#else
68320e40 9627 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9628#endif
68320e40
RD
9629}
9630 return _resultobj;
9631}
9632
9633#define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9634static PyObject *_wrap_wxDirItemData_m_isHidden_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject * _resultobj;
9636 bool _result;
9637 wxDirItemData * _arg0;
9638 bool _arg1;
9639 PyObject * _argo0 = 0;
9640 int tempbool1;
9641 char *_kwnames[] = { "self","m_isHidden", NULL };
9642
9643 self = self;
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isHidden_set",_kwnames,&_argo0,&tempbool1))
9645 return NULL;
9646 if (_argo0) {
9647 if (_argo0 == Py_None) { _arg0 = NULL; }
9648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9650 return NULL;
9651 }
9652 }
9653 _arg1 = (bool ) tempbool1;
9654{
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9656 _result = (bool )wxDirItemData_m_isHidden_set(_arg0,_arg1);
68320e40
RD
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) return NULL;
9660} _resultobj = Py_BuildValue("i",_result);
9661 return _resultobj;
9662}
9663
9664#define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9665static PyObject *_wrap_wxDirItemData_m_isHidden_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject * _resultobj;
9667 bool _result;
9668 wxDirItemData * _arg0;
9669 PyObject * _argo0 = 0;
9670 char *_kwnames[] = { "self", NULL };
9671
9672 self = self;
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isHidden_get",_kwnames,&_argo0))
9674 return NULL;
9675 if (_argo0) {
9676 if (_argo0 == Py_None) { _arg0 = NULL; }
9677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9679 return NULL;
9680 }
9681 }
9682{
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9684 _result = (bool )wxDirItemData_m_isHidden_get(_arg0);
68320e40
RD
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) return NULL;
9688} _resultobj = Py_BuildValue("i",_result);
9689 return _resultobj;
9690}
9691
9692#define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9693static PyObject *_wrap_wxDirItemData_m_isExpanded_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9694 PyObject * _resultobj;
9695 bool _result;
9696 wxDirItemData * _arg0;
9697 bool _arg1;
9698 PyObject * _argo0 = 0;
9699 int tempbool1;
9700 char *_kwnames[] = { "self","m_isExpanded", NULL };
9701
9702 self = self;
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isExpanded_set",_kwnames,&_argo0,&tempbool1))
9704 return NULL;
9705 if (_argo0) {
9706 if (_argo0 == Py_None) { _arg0 = NULL; }
9707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9709 return NULL;
9710 }
9711 }
9712 _arg1 = (bool ) tempbool1;
9713{
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9715 _result = (bool )wxDirItemData_m_isExpanded_set(_arg0,_arg1);
68320e40
RD
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) return NULL;
9719} _resultobj = Py_BuildValue("i",_result);
9720 return _resultobj;
9721}
9722
9723#define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9724static PyObject *_wrap_wxDirItemData_m_isExpanded_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9725 PyObject * _resultobj;
9726 bool _result;
9727 wxDirItemData * _arg0;
9728 PyObject * _argo0 = 0;
9729 char *_kwnames[] = { "self", NULL };
9730
9731 self = self;
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isExpanded_get",_kwnames,&_argo0))
9733 return NULL;
9734 if (_argo0) {
9735 if (_argo0 == Py_None) { _arg0 = NULL; }
9736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9738 return NULL;
9739 }
9740 }
9741{
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9743 _result = (bool )wxDirItemData_m_isExpanded_get(_arg0);
68320e40
RD
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) return NULL;
9747} _resultobj = Py_BuildValue("i",_result);
9748 return _resultobj;
9749}
9750
9751#define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9752static PyObject *_wrap_wxDirItemData_m_isDir_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9753 PyObject * _resultobj;
9754 bool _result;
9755 wxDirItemData * _arg0;
9756 bool _arg1;
9757 PyObject * _argo0 = 0;
9758 int tempbool1;
9759 char *_kwnames[] = { "self","m_isDir", NULL };
9760
9761 self = self;
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isDir_set",_kwnames,&_argo0,&tempbool1))
9763 return NULL;
9764 if (_argo0) {
9765 if (_argo0 == Py_None) { _arg0 = NULL; }
9766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9768 return NULL;
9769 }
9770 }
9771 _arg1 = (bool ) tempbool1;
9772{
9773 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9774 _result = (bool )wxDirItemData_m_isDir_set(_arg0,_arg1);
68320e40
RD
9775
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) return NULL;
9778} _resultobj = Py_BuildValue("i",_result);
9779 return _resultobj;
9780}
9781
9782#define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9783static PyObject *_wrap_wxDirItemData_m_isDir_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9784 PyObject * _resultobj;
9785 bool _result;
9786 wxDirItemData * _arg0;
9787 PyObject * _argo0 = 0;
9788 char *_kwnames[] = { "self", NULL };
9789
9790 self = self;
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isDir_get",_kwnames,&_argo0))
9792 return NULL;
9793 if (_argo0) {
9794 if (_argo0 == Py_None) { _arg0 = NULL; }
9795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9797 return NULL;
9798 }
9799 }
9800{
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9802 _result = (bool )wxDirItemData_m_isDir_get(_arg0);
68320e40
RD
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) return NULL;
9806} _resultobj = Py_BuildValue("i",_result);
9807 return _resultobj;
9808}
9809
9810static void *SwigwxGenericDirCtrlTowxControl(void *ptr) {
9811 wxGenericDirCtrl *src;
9812 wxControl *dest;
9813 src = (wxGenericDirCtrl *) ptr;
9814 dest = (wxControl *) src;
9815 return (void *) dest;
9816}
9817
9818static void *SwigwxGenericDirCtrlTowxWindow(void *ptr) {
9819 wxGenericDirCtrl *src;
9820 wxWindow *dest;
9821 src = (wxGenericDirCtrl *) ptr;
9822 dest = (wxWindow *) src;
9823 return (void *) dest;
9824}
9825
9826static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr) {
9827 wxGenericDirCtrl *src;
9828 wxEvtHandler *dest;
9829 src = (wxGenericDirCtrl *) ptr;
9830 dest = (wxEvtHandler *) src;
9831 return (void *) dest;
9832}
9833
9834static void *SwigwxGenericDirCtrlTowxObject(void *ptr) {
9835 wxGenericDirCtrl *src;
9836 wxObject *dest;
9837 src = (wxGenericDirCtrl *) ptr;
9838 dest = (wxObject *) src;
9839 return (void *) dest;
9840}
9841
9842#define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9843static PyObject *_wrap_new_wxGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9844 PyObject * _resultobj;
9845 wxGenericDirCtrl * _result;
9846 wxWindow * _arg0;
9847 wxWindowID _arg1 = (wxWindowID ) -1;
137b5242 9848 wxString * _arg2 = (wxString *) &wxPyDirDialogDefaultFolderStr;
68320e40
RD
9849 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9850 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9851 long _arg5 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
137b5242 9852 wxString * _arg6 = (wxString *) &wxPyEmptyString;
68320e40 9853 int _arg7 = (int ) 0;
137b5242 9854 wxString * _arg8 = (wxString *) &wxPy_TreeCtrlNameStr;
68320e40 9855 PyObject * _argo0 = 0;
137b5242 9856 PyObject * _obj2 = 0;
68320e40
RD
9857 wxPoint temp;
9858 PyObject * _obj3 = 0;
9859 wxSize temp0;
9860 PyObject * _obj4 = 0;
137b5242
RD
9861 PyObject * _obj6 = 0;
9862 PyObject * _obj8 = 0;
68320e40
RD
9863 char *_kwnames[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9864 char _ptemp[128];
9865
9866 self = self;
137b5242 9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6,&_arg7,&_obj8))
68320e40
RD
9868 return NULL;
9869 if (_argo0) {
9870 if (_argo0 == Py_None) { _arg0 = NULL; }
9871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9873 return NULL;
9874 }
9875 }
137b5242
RD
9876 if (_obj2)
9877{
9878 _arg2 = wxString_in_helper(_obj2);
9879 if (_arg2 == NULL)
9880 return NULL;
9881}
68320e40
RD
9882 if (_obj3)
9883{
9884 _arg3 = &temp;
9885 if (! wxPoint_helper(_obj3, &_arg3))
9886 return NULL;
9887}
9888 if (_obj4)
9889{
9890 _arg4 = &temp0;
9891 if (! wxSize_helper(_obj4, &_arg4))
9892 return NULL;
137b5242
RD
9893}
9894 if (_obj6)
9895{
9896 _arg6 = wxString_in_helper(_obj6);
9897 if (_arg6 == NULL)
9898 return NULL;
9899}
9900 if (_obj8)
9901{
9902 _arg8 = wxString_in_helper(_obj8);
9903 if (_arg8 == NULL)
9904 return NULL;
68320e40
RD
9905}
9906{
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 9908 _result = (wxGenericDirCtrl *)new_wxGenericDirCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7,*_arg8);
68320e40
RD
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) return NULL;
9912} if (_result) {
9913 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9914 _resultobj = Py_BuildValue("s",_ptemp);
9915 } else {
9916 Py_INCREF(Py_None);
9917 _resultobj = Py_None;
9918 }
137b5242
RD
9919{
9920 if (_obj2)
9921 delete _arg2;
9922}
9923{
9924 if (_obj6)
9925 delete _arg6;
9926}
9927{
9928 if (_obj8)
9929 delete _arg8;
9930}
68320e40
RD
9931 return _resultobj;
9932}
9933
9934#define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9935static PyObject *_wrap_new_wxPreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9936 PyObject * _resultobj;
9937 wxGenericDirCtrl * _result;
9938 char *_kwnames[] = { NULL };
9939 char _ptemp[128];
9940
9941 self = self;
9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGenericDirCtrl",_kwnames))
9943 return NULL;
9944{
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9946 _result = (wxGenericDirCtrl *)new_wxPreGenericDirCtrl();
68320e40
RD
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) return NULL;
9950} if (_result) {
9951 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9952 _resultobj = Py_BuildValue("s",_ptemp);
9953 } else {
9954 Py_INCREF(Py_None);
9955 _resultobj = Py_None;
9956 }
9957 return _resultobj;
9958}
9959
9960#define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9961static PyObject *_wrap_wxGenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9962 PyObject * _resultobj;
9963 bool _result;
9964 wxGenericDirCtrl * _arg0;
9965 wxWindow * _arg1;
9966 wxWindowID _arg2 = (wxWindowID ) -1;
137b5242 9967 wxString * _arg3 = (wxString *) &wxPyDirDialogDefaultFolderStr;
68320e40
RD
9968 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9969 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9970 long _arg6 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
137b5242 9971 wxString * _arg7 = (wxString *) &wxPyEmptyString;
68320e40 9972 int _arg8 = (int ) 0;
137b5242 9973 wxString * _arg9 = (wxString *) &wxPy_TreeCtrlNameStr;
68320e40
RD
9974 PyObject * _argo0 = 0;
9975 PyObject * _argo1 = 0;
137b5242 9976 PyObject * _obj3 = 0;
68320e40
RD
9977 wxPoint temp;
9978 PyObject * _obj4 = 0;
9979 wxSize temp0;
9980 PyObject * _obj5 = 0;
137b5242
RD
9981 PyObject * _obj7 = 0;
9982 PyObject * _obj9 = 0;
68320e40
RD
9983 char *_kwnames[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9984
9985 self = self;
137b5242 9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7,&_arg8,&_obj9))
68320e40
RD
9987 return NULL;
9988 if (_argo0) {
9989 if (_argo0 == Py_None) { _arg0 = NULL; }
9990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9992 return NULL;
9993 }
9994 }
9995 if (_argo1) {
9996 if (_argo1 == Py_None) { _arg1 = NULL; }
9997 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9998 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9999 return NULL;
10000 }
10001 }
137b5242
RD
10002 if (_obj3)
10003{
10004 _arg3 = wxString_in_helper(_obj3);
10005 if (_arg3 == NULL)
10006 return NULL;
10007}
68320e40
RD
10008 if (_obj4)
10009{
10010 _arg4 = &temp;
10011 if (! wxPoint_helper(_obj4, &_arg4))
10012 return NULL;
10013}
10014 if (_obj5)
10015{
10016 _arg5 = &temp0;
10017 if (! wxSize_helper(_obj5, &_arg5))
10018 return NULL;
137b5242
RD
10019}
10020 if (_obj7)
10021{
10022 _arg7 = wxString_in_helper(_obj7);
10023 if (_arg7 == NULL)
10024 return NULL;
10025}
10026 if (_obj9)
10027{
10028 _arg9 = wxString_in_helper(_obj9);
10029 if (_arg9 == NULL)
10030 return NULL;
68320e40
RD
10031}
10032{
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 10034 _result = (bool )wxGenericDirCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8,*_arg9);
68320e40
RD
10035
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) return NULL;
10038} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
10039{
10040 if (_obj3)
10041 delete _arg3;
10042}
10043{
10044 if (_obj7)
10045 delete _arg7;
10046}
10047{
10048 if (_obj9)
10049 delete _arg9;
10050}
68320e40
RD
10051 return _resultobj;
10052}
10053
10054#define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10055static PyObject *_wrap_wxGenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10056 PyObject * _resultobj;
10057 bool _result;
10058 wxGenericDirCtrl * _arg0;
10059 wxString * _arg1;
10060 PyObject * _argo0 = 0;
10061 PyObject * _obj1 = 0;
10062 char *_kwnames[] = { "self","path", NULL };
10063
10064 self = self;
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_ExpandPath",_kwnames,&_argo0,&_obj1))
10066 return NULL;
10067 if (_argo0) {
10068 if (_argo0 == Py_None) { _arg0 = NULL; }
10069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10071 return NULL;
10072 }
10073 }
10074{
c8bc7bb8
RD
10075 _arg1 = wxString_in_helper(_obj1);
10076 if (_arg1 == NULL)
68320e40 10077 return NULL;
68320e40
RD
10078}
10079{
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10081 _result = (bool )wxGenericDirCtrl_ExpandPath(_arg0,*_arg1);
68320e40
RD
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) return NULL;
10085} _resultobj = Py_BuildValue("i",_result);
10086{
10087 if (_obj1)
10088 delete _arg1;
10089}
10090 return _resultobj;
10091}
10092
10093#define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10094static PyObject *_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10095 PyObject * _resultobj;
10096 wxString * _result;
10097 wxGenericDirCtrl * _arg0;
10098 PyObject * _argo0 = 0;
10099 char *_kwnames[] = { "self", NULL };
10100
10101 self = self;
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames,&_argo0))
10103 return NULL;
10104 if (_argo0) {
10105 if (_argo0 == Py_None) { _arg0 = NULL; }
10106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10108 return NULL;
10109 }
10110 }
10111{
10112 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10113 _result = new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0));
68320e40
RD
10114
10115 wxPyEndAllowThreads(__tstate);
10116 if (PyErr_Occurred()) return NULL;
10117}{
c8bc7bb8
RD
10118#if wxUSE_UNICODE
10119 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10120#else
68320e40 10121 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10122#endif
68320e40
RD
10123}
10124{
10125 delete _result;
10126}
10127 return _resultobj;
10128}
10129
10130#define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10131static PyObject *_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10132 PyObject * _resultobj;
10133 wxGenericDirCtrl * _arg0;
10134 wxString * _arg1;
10135 PyObject * _argo0 = 0;
10136 PyObject * _obj1 = 0;
10137 char *_kwnames[] = { "self","path", NULL };
10138
10139 self = self;
10140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames,&_argo0,&_obj1))
10141 return NULL;
10142 if (_argo0) {
10143 if (_argo0 == Py_None) { _arg0 = NULL; }
10144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10146 return NULL;
10147 }
10148 }
10149{
c8bc7bb8
RD
10150 _arg1 = wxString_in_helper(_obj1);
10151 if (_arg1 == NULL)
68320e40 10152 return NULL;
68320e40
RD
10153}
10154{
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10156 wxGenericDirCtrl_SetDefaultPath(_arg0,*_arg1);
68320e40
RD
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) return NULL;
10160} Py_INCREF(Py_None);
10161 _resultobj = Py_None;
10162{
10163 if (_obj1)
10164 delete _arg1;
10165}
10166 return _resultobj;
10167}
10168
10169#define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10170static PyObject *_wrap_wxGenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10171 PyObject * _resultobj;
10172 wxString * _result;
10173 wxGenericDirCtrl * _arg0;
10174 PyObject * _argo0 = 0;
10175 char *_kwnames[] = { "self", NULL };
10176
10177 self = self;
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetPath",_kwnames,&_argo0))
10179 return NULL;
10180 if (_argo0) {
10181 if (_argo0 == Py_None) { _arg0 = NULL; }
10182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10184 return NULL;
10185 }
10186 }
10187{
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10189 _result = new wxString (wxGenericDirCtrl_GetPath(_arg0));
68320e40
RD
10190
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) return NULL;
10193}{
c8bc7bb8
RD
10194#if wxUSE_UNICODE
10195 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10196#else
68320e40 10197 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10198#endif
68320e40
RD
10199}
10200{
10201 delete _result;
10202}
10203 return _resultobj;
10204}
10205
10206#define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10207static PyObject *_wrap_wxGenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject * _resultobj;
10209 wxString * _result;
10210 wxGenericDirCtrl * _arg0;
10211 PyObject * _argo0 = 0;
10212 char *_kwnames[] = { "self", NULL };
10213
10214 self = self;
10215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilePath",_kwnames,&_argo0))
10216 return NULL;
10217 if (_argo0) {
10218 if (_argo0 == Py_None) { _arg0 = NULL; }
10219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10221 return NULL;
10222 }
10223 }
10224{
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10226 _result = new wxString (wxGenericDirCtrl_GetFilePath(_arg0));
68320e40
RD
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) return NULL;
10230}{
c8bc7bb8
RD
10231#if wxUSE_UNICODE
10232 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10233#else
68320e40 10234 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10235#endif
68320e40
RD
10236}
10237{
10238 delete _result;
10239}
10240 return _resultobj;
10241}
10242
10243#define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10244static PyObject *_wrap_wxGenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject * _resultobj;
10246 wxGenericDirCtrl * _arg0;
10247 wxString * _arg1;
10248 PyObject * _argo0 = 0;
10249 PyObject * _obj1 = 0;
10250 char *_kwnames[] = { "self","path", NULL };
10251
10252 self = self;
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetPath",_kwnames,&_argo0,&_obj1))
10254 return NULL;
10255 if (_argo0) {
10256 if (_argo0 == Py_None) { _arg0 = NULL; }
10257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10259 return NULL;
10260 }
10261 }
10262{
c8bc7bb8
RD
10263 _arg1 = wxString_in_helper(_obj1);
10264 if (_arg1 == NULL)
68320e40 10265 return NULL;
68320e40
RD
10266}
10267{
10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10269 wxGenericDirCtrl_SetPath(_arg0,*_arg1);
68320e40
RD
10270
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) return NULL;
10273} Py_INCREF(Py_None);
10274 _resultobj = Py_None;
10275{
10276 if (_obj1)
10277 delete _arg1;
10278}
10279 return _resultobj;
10280}
10281
10282#define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10283static PyObject *_wrap_wxGenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10284 PyObject * _resultobj;
10285 wxGenericDirCtrl * _arg0;
10286 bool _arg1;
10287 PyObject * _argo0 = 0;
10288 int tempbool1;
10289 char *_kwnames[] = { "self","show", NULL };
10290
10291 self = self;
10292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames,&_argo0,&tempbool1))
10293 return NULL;
10294 if (_argo0) {
10295 if (_argo0 == Py_None) { _arg0 = NULL; }
10296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10298 return NULL;
10299 }
10300 }
10301 _arg1 = (bool ) tempbool1;
10302{
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10304 wxGenericDirCtrl_ShowHidden(_arg0,_arg1);
68320e40
RD
10305
10306 wxPyEndAllowThreads(__tstate);
10307 if (PyErr_Occurred()) return NULL;
10308} Py_INCREF(Py_None);
10309 _resultobj = Py_None;
10310 return _resultobj;
10311}
10312
10313#define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10314static PyObject *_wrap_wxGenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10315 PyObject * _resultobj;
10316 bool _result;
10317 wxGenericDirCtrl * _arg0;
10318 PyObject * _argo0 = 0;
10319 char *_kwnames[] = { "self", NULL };
10320
10321 self = self;
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetShowHidden",_kwnames,&_argo0))
10323 return NULL;
10324 if (_argo0) {
10325 if (_argo0 == Py_None) { _arg0 = NULL; }
10326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10328 return NULL;
10329 }
10330 }
10331{
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10333 _result = (bool )wxGenericDirCtrl_GetShowHidden(_arg0);
68320e40
RD
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) return NULL;
10337} _resultobj = Py_BuildValue("i",_result);
10338 return _resultobj;
10339}
10340
10341#define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10342static PyObject *_wrap_wxGenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10343 PyObject * _resultobj;
10344 wxString * _result;
10345 wxGenericDirCtrl * _arg0;
10346 PyObject * _argo0 = 0;
10347 char *_kwnames[] = { "self", NULL };
10348
10349 self = self;
10350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilter",_kwnames,&_argo0))
10351 return NULL;
10352 if (_argo0) {
10353 if (_argo0 == Py_None) { _arg0 = NULL; }
10354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10356 return NULL;
10357 }
10358 }
10359{
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10361 _result = new wxString (wxGenericDirCtrl_GetFilter(_arg0));
68320e40
RD
10362
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) return NULL;
10365}{
c8bc7bb8
RD
10366#if wxUSE_UNICODE
10367 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10368#else
68320e40 10369 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10370#endif
68320e40
RD
10371}
10372{
10373 delete _result;
10374}
10375 return _resultobj;
10376}
10377
10378#define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10379static PyObject *_wrap_wxGenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject * _resultobj;
10381 wxGenericDirCtrl * _arg0;
10382 wxString * _arg1;
10383 PyObject * _argo0 = 0;
10384 PyObject * _obj1 = 0;
10385 char *_kwnames[] = { "self","filter", NULL };
10386
10387 self = self;
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetFilter",_kwnames,&_argo0,&_obj1))
10389 return NULL;
10390 if (_argo0) {
10391 if (_argo0 == Py_None) { _arg0 = NULL; }
10392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10394 return NULL;
10395 }
10396 }
10397{
c8bc7bb8
RD
10398 _arg1 = wxString_in_helper(_obj1);
10399 if (_arg1 == NULL)
68320e40 10400 return NULL;
68320e40
RD
10401}
10402{
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10404 wxGenericDirCtrl_SetFilter(_arg0,*_arg1);
68320e40
RD
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) return NULL;
10408} Py_INCREF(Py_None);
10409 _resultobj = Py_None;
10410{
10411 if (_obj1)
10412 delete _arg1;
10413}
10414 return _resultobj;
10415}
10416
10417#define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10418static PyObject *_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject * _resultobj;
10420 int _result;
10421 wxGenericDirCtrl * _arg0;
10422 PyObject * _argo0 = 0;
10423 char *_kwnames[] = { "self", NULL };
10424
10425 self = self;
10426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames,&_argo0))
10427 return NULL;
10428 if (_argo0) {
10429 if (_argo0 == Py_None) { _arg0 = NULL; }
10430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10432 return NULL;
10433 }
10434 }
10435{
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10437 _result = (int )wxGenericDirCtrl_GetFilterIndex(_arg0);
68320e40
RD
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) return NULL;
10441} _resultobj = Py_BuildValue("i",_result);
10442 return _resultobj;
10443}
10444
10445#define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10446static PyObject *_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject * _resultobj;
10448 wxGenericDirCtrl * _arg0;
10449 int _arg1;
10450 PyObject * _argo0 = 0;
10451 char *_kwnames[] = { "self","n", NULL };
10452
10453 self = self;
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames,&_argo0,&_arg1))
10455 return NULL;
10456 if (_argo0) {
10457 if (_argo0 == Py_None) { _arg0 = NULL; }
10458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10460 return NULL;
10461 }
10462 }
10463{
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10465 wxGenericDirCtrl_SetFilterIndex(_arg0,_arg1);
68320e40
RD
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) return NULL;
10469} Py_INCREF(Py_None);
10470 _resultobj = Py_None;
10471 return _resultobj;
10472}
10473
10474#define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10475static PyObject *_wrap_wxGenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
10476 PyObject * _resultobj;
10477 wxTreeItemId * _result;
10478 wxGenericDirCtrl * _arg0;
10479 PyObject * _argo0 = 0;
10480 char *_kwnames[] = { "self", NULL };
10481 char _ptemp[128];
10482
10483 self = self;
10484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetRootId",_kwnames,&_argo0))
10485 return NULL;
10486 if (_argo0) {
10487 if (_argo0 == Py_None) { _arg0 = NULL; }
10488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10490 return NULL;
10491 }
10492 }
10493{
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10495 _result = new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0));
68320e40
RD
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) return NULL;
10499} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
10500 _resultobj = Py_BuildValue("s",_ptemp);
10501 return _resultobj;
10502}
10503
10504#define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10505static PyObject *_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10506 PyObject * _resultobj;
10507 wxTreeCtrl * _result;
10508 wxGenericDirCtrl * _arg0;
10509 PyObject * _argo0 = 0;
10510 char *_kwnames[] = { "self", NULL };
68320e40
RD
10511
10512 self = self;
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames,&_argo0))
10514 return NULL;
10515 if (_argo0) {
10516 if (_argo0 == Py_None) { _arg0 = NULL; }
10517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10519 return NULL;
10520 }
10521 }
10522{
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10524 _result = (wxTreeCtrl *)wxGenericDirCtrl_GetTreeCtrl(_arg0);
68320e40
RD
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) return NULL;
9398120d 10528}{ _resultobj = wxPyMake_wxObject(_result); }
68320e40
RD
10529 return _resultobj;
10530}
10531
10532#define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10533static PyObject *_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10534 PyObject * _resultobj;
10535 wxDirFilterListCtrl * _result;
10536 wxGenericDirCtrl * _arg0;
10537 PyObject * _argo0 = 0;
10538 char *_kwnames[] = { "self", NULL };
10539 char _ptemp[128];
10540
10541 self = self;
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames,&_argo0))
10543 return NULL;
10544 if (_argo0) {
10545 if (_argo0 == Py_None) { _arg0 = NULL; }
10546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10548 return NULL;
10549 }
10550 }
10551{
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10553 _result = (wxDirFilterListCtrl *)wxGenericDirCtrl_GetFilterListCtrl(_arg0);
68320e40
RD
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) return NULL;
10557} if (_result) {
10558 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10559 _resultobj = Py_BuildValue("s",_ptemp);
10560 } else {
10561 Py_INCREF(Py_None);
10562 _resultobj = Py_None;
10563 }
10564 return _resultobj;
10565}
10566
10567static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr) {
10568 wxDirFilterListCtrl *src;
10569 wxChoice *dest;
10570 src = (wxDirFilterListCtrl *) ptr;
10571 dest = (wxChoice *) src;
10572 return (void *) dest;
10573}
10574
10575static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr) {
10576 wxDirFilterListCtrl *src;
10577 wxControlWithItems *dest;
10578 src = (wxDirFilterListCtrl *) ptr;
10579 dest = (wxControlWithItems *) src;
10580 return (void *) dest;
10581}
10582
10583static void *SwigwxDirFilterListCtrlTowxControl(void *ptr) {
10584 wxDirFilterListCtrl *src;
10585 wxControl *dest;
10586 src = (wxDirFilterListCtrl *) ptr;
10587 dest = (wxControl *) src;
10588 return (void *) dest;
10589}
10590
10591static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr) {
10592 wxDirFilterListCtrl *src;
10593 wxWindow *dest;
10594 src = (wxDirFilterListCtrl *) ptr;
10595 dest = (wxWindow *) src;
10596 return (void *) dest;
10597}
10598
10599static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr) {
10600 wxDirFilterListCtrl *src;
10601 wxEvtHandler *dest;
10602 src = (wxDirFilterListCtrl *) ptr;
10603 dest = (wxEvtHandler *) src;
10604 return (void *) dest;
10605}
10606
10607static void *SwigwxDirFilterListCtrlTowxObject(void *ptr) {
10608 wxDirFilterListCtrl *src;
10609 wxObject *dest;
10610 src = (wxDirFilterListCtrl *) ptr;
10611 dest = (wxObject *) src;
10612 return (void *) dest;
10613}
10614
10615#define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10616static PyObject *_wrap_new_wxDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10617 PyObject * _resultobj;
10618 wxDirFilterListCtrl * _result;
10619 wxGenericDirCtrl * _arg0;
10620 wxWindowID _arg1 = (wxWindowID ) -1;
10621 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
10622 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
10623 long _arg4 = (long ) 0;
10624 PyObject * _argo0 = 0;
10625 wxPoint temp;
10626 PyObject * _obj2 = 0;
10627 wxSize temp0;
10628 PyObject * _obj3 = 0;
10629 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
10630 char _ptemp[128];
10631
10632 self = self;
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxDirFilterListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
10634 return NULL;
10635 if (_argo0) {
10636 if (_argo0 == Py_None) { _arg0 = NULL; }
10637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10639 return NULL;
10640 }
10641 }
10642 if (_obj2)
10643{
10644 _arg2 = &temp;
10645 if (! wxPoint_helper(_obj2, &_arg2))
10646 return NULL;
10647}
10648 if (_obj3)
10649{
10650 _arg3 = &temp0;
10651 if (! wxSize_helper(_obj3, &_arg3))
10652 return NULL;
10653}
10654{
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10656 _result = (wxDirFilterListCtrl *)new_wxDirFilterListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
68320e40
RD
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) return NULL;
10660} if (_result) {
10661 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10662 _resultobj = Py_BuildValue("s",_ptemp);
10663 } else {
10664 Py_INCREF(Py_None);
10665 _resultobj = Py_None;
10666 }
10667 return _resultobj;
10668}
10669
10670#define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10671static PyObject *_wrap_new_wxPreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject * _resultobj;
10673 wxDirFilterListCtrl * _result;
10674 char *_kwnames[] = { NULL };
10675 char _ptemp[128];
10676
10677 self = self;
10678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDirFilterListCtrl",_kwnames))
10679 return NULL;
10680{
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10682 _result = (wxDirFilterListCtrl *)new_wxPreDirFilterListCtrl();
68320e40
RD
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) return NULL;
10686} if (_result) {
10687 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10688 _resultobj = Py_BuildValue("s",_ptemp);
10689 } else {
10690 Py_INCREF(Py_None);
10691 _resultobj = Py_None;
10692 }
10693 return _resultobj;
10694}
10695
10696#define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10697static PyObject *_wrap_wxDirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10698 PyObject * _resultobj;
10699 bool _result;
10700 wxDirFilterListCtrl * _arg0;
10701 wxGenericDirCtrl * _arg1;
10702 wxWindowID _arg2 = (wxWindowID ) -1;
10703 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10704 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10705 long _arg5 = (long ) 0;
10706 PyObject * _argo0 = 0;
10707 PyObject * _argo1 = 0;
10708 wxPoint temp;
10709 PyObject * _obj3 = 0;
10710 wxSize temp0;
10711 PyObject * _obj4 = 0;
10712 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
10713
10714 self = self;
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
10716 return NULL;
10717 if (_argo0) {
10718 if (_argo0 == Py_None) { _arg0 = NULL; }
10719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10721 return NULL;
10722 }
10723 }
10724 if (_argo1) {
10725 if (_argo1 == Py_None) { _arg1 = NULL; }
10726 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGenericDirCtrl_p")) {
10727 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10728 return NULL;
10729 }
10730 }
10731 if (_obj3)
10732{
10733 _arg3 = &temp;
10734 if (! wxPoint_helper(_obj3, &_arg3))
10735 return NULL;
10736}
10737 if (_obj4)
10738{
10739 _arg4 = &temp0;
10740 if (! wxSize_helper(_obj4, &_arg4))
10741 return NULL;
10742}
10743{
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10745 _result = (bool )wxDirFilterListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
68320e40
RD
10746
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) return NULL;
10749} _resultobj = Py_BuildValue("i",_result);
10750 return _resultobj;
10751}
10752
10753#define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10754static PyObject *_wrap_wxDirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
10755 PyObject * _resultobj;
10756 wxDirFilterListCtrl * _arg0;
10757 wxString * _arg1;
10758 int _arg2;
10759 PyObject * _argo0 = 0;
10760 PyObject * _obj1 = 0;
10761 char *_kwnames[] = { "self","filter","defaultFilter", NULL };
10762
10763 self = self;
10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames,&_argo0,&_obj1,&_arg2))
10765 return NULL;
10766 if (_argo0) {
10767 if (_argo0 == Py_None) { _arg0 = NULL; }
10768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10770 return NULL;
10771 }
10772 }
10773{
c8bc7bb8
RD
10774 _arg1 = wxString_in_helper(_obj1);
10775 if (_arg1 == NULL)
68320e40 10776 return NULL;
68320e40
RD
10777}
10778{
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10780 wxDirFilterListCtrl_FillFilterList(_arg0,*_arg1,_arg2);
68320e40
RD
10781
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) return NULL;
10784} Py_INCREF(Py_None);
10785 _resultobj = Py_None;
10786{
10787 if (_obj1)
10788 delete _arg1;
10789}
10790 return _resultobj;
10791}
10792
8ab979d7 10793static PyMethodDef controls2cMethods[] = {
68320e40
RD
10794 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_wxDirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
10795 { "wxDirFilterListCtrl_Create", (PyCFunction) _wrap_wxDirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10796 { "new_wxPreDirFilterListCtrl", (PyCFunction) _wrap_new_wxPreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10797 { "new_wxDirFilterListCtrl", (PyCFunction) _wrap_new_wxDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10798 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10799 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10800 { "wxGenericDirCtrl_GetRootId", (PyCFunction) _wrap_wxGenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
10801 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10802 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10803 { "wxGenericDirCtrl_SetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
10804 { "wxGenericDirCtrl_GetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
10805 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
10806 { "wxGenericDirCtrl_ShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
10807 { "wxGenericDirCtrl_SetPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
10808 { "wxGenericDirCtrl_GetFilePath", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
10809 { "wxGenericDirCtrl_GetPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
10810 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10811 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10812 { "wxGenericDirCtrl_ExpandPath", (PyCFunction) _wrap_wxGenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
10813 { "wxGenericDirCtrl_Create", (PyCFunction) _wrap_wxGenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10814 { "new_wxPreGenericDirCtrl", (PyCFunction) _wrap_new_wxPreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10815 { "new_wxGenericDirCtrl", (PyCFunction) _wrap_new_wxGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10816 { "wxDirItemData_m_isDir_get", (PyCFunction) _wrap_wxDirItemData_m_isDir_get, METH_VARARGS | METH_KEYWORDS },
10817 { "wxDirItemData_m_isDir_set", (PyCFunction) _wrap_wxDirItemData_m_isDir_set, METH_VARARGS | METH_KEYWORDS },
10818 { "wxDirItemData_m_isExpanded_get", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_get, METH_VARARGS | METH_KEYWORDS },
10819 { "wxDirItemData_m_isExpanded_set", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_set, METH_VARARGS | METH_KEYWORDS },
10820 { "wxDirItemData_m_isHidden_get", (PyCFunction) _wrap_wxDirItemData_m_isHidden_get, METH_VARARGS | METH_KEYWORDS },
10821 { "wxDirItemData_m_isHidden_set", (PyCFunction) _wrap_wxDirItemData_m_isHidden_set, METH_VARARGS | METH_KEYWORDS },
10822 { "wxDirItemData_m_name_get", (PyCFunction) _wrap_wxDirItemData_m_name_get, METH_VARARGS | METH_KEYWORDS },
10823 { "wxDirItemData_m_name_set", (PyCFunction) _wrap_wxDirItemData_m_name_set, METH_VARARGS | METH_KEYWORDS },
10824 { "wxDirItemData_m_path_get", (PyCFunction) _wrap_wxDirItemData_m_path_get, METH_VARARGS | METH_KEYWORDS },
10825 { "wxDirItemData_m_path_set", (PyCFunction) _wrap_wxDirItemData_m_path_set, METH_VARARGS | METH_KEYWORDS },
10826 { "wxDirItemData_SetNewDirName", (PyCFunction) _wrap_wxDirItemData_SetNewDirName, METH_VARARGS | METH_KEYWORDS },
10827 { "new_wxDirItemData", (PyCFunction) _wrap_new_wxDirItemData, METH_VARARGS | METH_KEYWORDS },
d426c97e 10828 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10829 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
b7e72427
RD
10830 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
10831 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10832 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10833 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
10834 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
10835 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 10836 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10837 { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
10838 { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
10839 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10840 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
10841 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10842 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
10843 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
10844 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
10845 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
10846 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
10847 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
10848 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
10849 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10850 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
10851 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
10852 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10853 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10854 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
10855 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
10856 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 10857 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10858 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
10859 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
10860 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
10861 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
10862 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
10863 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
10864 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10865 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 10866 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 10867 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10868 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10869 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
10870 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
10871 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
10872 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10873 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
10874 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
10875 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
10876 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10877 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10878 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10879 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10880 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10881 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10882 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10883 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
10884 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10885 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
10886 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
10887 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
10888 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10889 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
10890 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10891 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
10892 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10893 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
10894 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
10895 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0122b7e3 10896 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
10897 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10898 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10899 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10900 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10901 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
ecc08ead 10902 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10903 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
10904 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
10905 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
00b6c4e3 10906 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10907 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
10908 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
10909 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
10910 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
10911 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10912 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10913 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
10914 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
10915 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
10916 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
10917 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10918 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10919 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
10920 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10921 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
10922 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
10923 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10924 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10925 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
10926 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
10927 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
10928 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
10929 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
10930 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
10931 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
10932 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
10933 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
10934 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
10935 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
10936 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
dcd38683 10937 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
efc5f224 10938 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
10939 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
10940 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
10941 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10942 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
10943 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
10944 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
10945 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 10946 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10947 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
10948 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
10949 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
10950 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10951 { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
10952 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10953 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
10954 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
10955 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
10956 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10957 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
10958 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
10959 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
10960 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
10961 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
10962 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
10963 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10964 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10965 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
10966 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
10967 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
10968 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
10969 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10970 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10971 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
10972 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
10973 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
10974 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
10975 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
10976 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
10977 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
10978 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10979 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10980 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10981 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
10982 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10983 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
10984 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
10985 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
10986 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
10987 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
10988 { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
10989 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
10990 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10991 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10992 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
10993 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
10994 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10995 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0122b7e3 10996 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
10997 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10998 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 10999 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
11000 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
11001 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11002 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
11003 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
11004 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
11005 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
11006 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
11007 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
11008 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11009 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11010 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
11011 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11012 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
11013 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
11014 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
11015 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11016 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
11017 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11018 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
11019 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
ebf4302c
RD
11020 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
11021 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11022 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
11023 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
6d19860f 11024 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11025 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
11026 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
11027 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
11028 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
11029 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
11030 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
11031 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
11032 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
11033 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
11034 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
11035 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
11036 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
11037 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
11038 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
11039 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
11040 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
11041 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
11042 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
11043 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
11044 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11045 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
11046 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11047 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11048 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
11049 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
11050 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
11051 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
11052 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
11053 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
11054 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
11055 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
11056 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
11057 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
11058 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
11059 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
11060 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11061 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11062 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
11063 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
11064 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
11065 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
11066 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
11067 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
11068 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
11069 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
11070 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
11071 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
11072 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
11073 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
11074 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
11075 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
11076 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11077 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11078 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11079 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11080 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11081 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11082 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11083 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11084 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11085 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11086 { NULL, NULL }
11087};
1d99702e
RD
11088#ifdef __cplusplus
11089}
11090#endif
11091/*
11092 * This table is used by the pointer type-checker
11093 */
11094static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11095 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 11096 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 11097 { "_signed_long","_long",0},
b1462dfa 11098 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11099 { "_wxPrintQuality","_int",0},
11100 { "_wxPrintQuality","_signed_int",0},
11101 { "_wxPrintQuality","_unsigned_int",0},
11102 { "_wxPrintQuality","_wxWindowID",0},
11103 { "_wxPrintQuality","_uint",0},
11104 { "_wxPrintQuality","_EBool",0},
11105 { "_wxPrintQuality","_size_t",0},
c368d904 11106 { "_wxPrintQuality","_time_t",0},
1d99702e 11107 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 11108 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 11109 { "_byte","_unsigned_char",0},
68320e40 11110 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice},
1d99702e
RD
11111 { "_long","_unsigned_long",0},
11112 { "_long","_signed_long",0},
b1462dfa 11113 { "_size_t","_wxCoord",0},
1d99702e 11114 { "_size_t","_wxPrintQuality",0},
c368d904 11115 { "_size_t","_time_t",0},
1d99702e
RD
11116 { "_size_t","_unsigned_int",0},
11117 { "_size_t","_int",0},
11118 { "_size_t","_wxWindowID",0},
11119 { "_size_t","_uint",0},
b1462dfa 11120 { "_uint","_wxCoord",0},
1d99702e 11121 { "_uint","_wxPrintQuality",0},
c368d904 11122 { "_uint","_time_t",0},
1d99702e
RD
11123 { "_uint","_size_t",0},
11124 { "_uint","_unsigned_int",0},
11125 { "_uint","_int",0},
11126 { "_uint","_wxWindowID",0},
f6bcfd97 11127 { "_wxChar","_char",0},
1d99702e 11128 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 11129 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 11130 { "_char","_wxChar",0},
cdf14688 11131 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11132 { "_EBool","_wxCoord",0},
1d99702e
RD
11133 { "_EBool","_wxPrintQuality",0},
11134 { "_EBool","_signed_int",0},
11135 { "_EBool","_int",0},
11136 { "_EBool","_wxWindowID",0},
1d99702e 11137 { "_unsigned_long","_long",0},
cdf14688 11138 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11139 { "_signed_int","_wxCoord",0},
1d99702e
RD
11140 { "_signed_int","_wxPrintQuality",0},
11141 { "_signed_int","_EBool",0},
11142 { "_signed_int","_wxWindowID",0},
11143 { "_signed_int","_int",0},
1d99702e
RD
11144 { "_WXTYPE","_short",0},
11145 { "_WXTYPE","_signed_short",0},
11146 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11147 { "_unsigned_short","_WXTYPE",0},
11148 { "_unsigned_short","_short",0},
68320e40
RD
11149 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject},
11150 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject},
11151 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject},
9416aa89 11152 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9416aa89 11153 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9416aa89 11154 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
6d19860f 11155 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
c7e7022c 11156 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9416aa89 11157 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9416aa89 11158 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
11159 { "_signed_short","_WXTYPE",0},
11160 { "_signed_short","_short",0},
1d99702e 11161 { "_unsigned_char","_byte",0},
68320e40
RD
11162 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl},
11163 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl},
f6bcfd97 11164 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
6d19860f 11165 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
c7e7022c 11166 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 11167 { "_unsigned_int","_wxCoord",0},
1d99702e 11168 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11169 { "_unsigned_int","_time_t",0},
1d99702e
RD
11170 { "_unsigned_int","_size_t",0},
11171 { "_unsigned_int","_uint",0},
11172 { "_unsigned_int","_wxWindowID",0},
11173 { "_unsigned_int","_int",0},
1d99702e
RD
11174 { "_short","_WXTYPE",0},
11175 { "_short","_unsigned_short",0},
11176 { "_short","_signed_short",0},
68320e40 11177 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems},
b1462dfa 11178 { "_wxWindowID","_wxCoord",0},
1d99702e 11179 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11180 { "_wxWindowID","_time_t",0},
1d99702e
RD
11181 { "_wxWindowID","_size_t",0},
11182 { "_wxWindowID","_EBool",0},
11183 { "_wxWindowID","_uint",0},
11184 { "_wxWindowID","_int",0},
11185 { "_wxWindowID","_signed_int",0},
11186 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11187 { "_int","_wxCoord",0},
1d99702e 11188 { "_int","_wxPrintQuality",0},
c368d904 11189 { "_int","_time_t",0},
1d99702e
RD
11190 { "_int","_size_t",0},
11191 { "_int","_EBool",0},
11192 { "_int","_uint",0},
11193 { "_int","_wxWindowID",0},
11194 { "_int","_unsigned_int",0},
11195 { "_int","_signed_int",0},
c368d904
RD
11196 { "_time_t","_wxCoord",0},
11197 { "_time_t","_wxPrintQuality",0},
11198 { "_time_t","_unsigned_int",0},
11199 { "_time_t","_int",0},
11200 { "_time_t","_wxWindowID",0},
11201 { "_time_t","_uint",0},
11202 { "_time_t","_size_t",0},
b1462dfa
RD
11203 { "_wxCoord","_int",0},
11204 { "_wxCoord","_signed_int",0},
11205 { "_wxCoord","_unsigned_int",0},
11206 { "_wxCoord","_wxWindowID",0},
11207 { "_wxCoord","_uint",0},
11208 { "_wxCoord","_EBool",0},
11209 { "_wxCoord","_size_t",0},
c368d904 11210 { "_wxCoord","_time_t",0},
b1462dfa 11211 { "_wxCoord","_wxPrintQuality",0},
6d19860f 11212 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
68320e40
RD
11213 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler},
11214 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler},
f6bcfd97 11215 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
6d19860f 11216 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
c7e7022c 11217 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
68320e40
RD
11218 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow},
11219 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow},
f6bcfd97 11220 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
6d19860f 11221 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
c7e7022c 11222 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
11223{0,0,0}};
11224
8ab979d7
RD
11225static PyObject *SWIG_globals;
11226#ifdef __cplusplus
11227extern "C"
11228#endif
1d99702e 11229SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
11230 PyObject *m, *d;
11231 SWIG_globals = SWIG_newvarlink();
11232 m = Py_InitModule("controls2c", controls2cMethods);
11233 d = PyModule_GetDict(m);
c7e7022c
RD
11234 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
11235 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
11236 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
11237 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
11238 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
11239 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
11240 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
11241 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
11242 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
11243 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
11244 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
11245 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
11246 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
11247 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
11248 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
11249 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
11250 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
6d19860f
RD
11251 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
11252 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
11253 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
11254 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
d8200036 11255 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED));
c7e7022c
RD
11256 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
11257 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
11258 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
11259 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
11260 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
11261 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
11262 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
11263 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
11264 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
11265 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
11266 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
11267 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
11268 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
11269 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
11270 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
11271 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
11272 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
11273 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
11274 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
6d19860f 11275 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
c7e7022c 11276 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
11277 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
11278 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
11279 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
c7e7022c 11280 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
11281 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
11282 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
11283 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
11284 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
11285 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
11286 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
11287 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
11288 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
11289 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
11290 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
11291 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
11292 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
11293 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
11294 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
11295 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
11296 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
11297 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
11298 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
11299 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
11300 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
11301 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
11302 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
11303 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
11304 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
11305 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
11306 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
11307 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
11308 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
11309 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
11310 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
11311 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
11312 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
11313 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
11314 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
11315 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
11316 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
11317 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
11318 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
11319 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
00b6c4e3
RD
11320 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
11321 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
11322 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
11323 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
11324 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
b5a5d647 11325 PyDict_SetItemString(d,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS));
00b6c4e3
RD
11326 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
11327 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
11328 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
b5a5d647 11329 PyDict_SetItemString(d,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT));
00b6c4e3
RD
11330 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
11331 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
11332 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
11333 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
11334 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
11335 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
694759cf
RD
11336 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
11337 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
11338 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
11339 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
11340 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
11341 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
11342 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
11343 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
11344 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
11345 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
11346 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
11347 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
11348 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
11349 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
11350 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
11351 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
11352 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
11353 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
11354 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
1b62f00d
RD
11355 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
11356 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
11357 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
11358 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
11359 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
11360 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
11361 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
11362 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
11363 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
11364 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
11365 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
11366 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
11367 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
11368 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
11369 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
11370 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
11371 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
d1679124 11372 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
68320e40
RD
11373 PyDict_SetItemString(d,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY));
11374 PyDict_SetItemString(d,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST));
11375 PyDict_SetItemString(d,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS));
11376 PyDict_SetItemString(d,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL));
7cdaed0b 11377 PyDict_SetItemString(d,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS));
db0ff83e
RD
11378 PyDict_SetItemString(d,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL));
11379 PyDict_SetItemString(d,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL));
9416aa89 11380
a3fbed81 11381 // Map renamed classes back to their common name for OOR
9416aa89
RD
11382 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11383 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
a3fbed81 11384 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
1d99702e
RD
11385{
11386 int i;
11387 for (i = 0; _swig_mapping[i].n1; i++)
11388 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11389}
8ab979d7 11390}