]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls2.cpp
Compilation fix
[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(""));
0815db26
RD
103
104 static const long longzero = 0;
09f3d4e6 105 // C++ Version of a Python aware class
c7e7022c
RD
106class wxPyListCtrl : public wxListCtrl {
107 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
108public:
09f3d4e6 109 wxPyListCtrl() : wxListCtrl() {}
c7e7022c
RD
110 wxPyListCtrl(wxWindow* parent, wxWindowID id,
111 const wxPoint& pos,
112 const wxSize& size,
113 long style,
114 const wxValidator& validator,
137b5242 115 const wxString& name) :
c7e7022c
RD
116 wxListCtrl(parent, id, pos, size, style, validator, name) {}
117
09f3d4e6
RD
118 bool Create(wxWindow* parent, wxWindowID id,
119 const wxPoint& pos,
120 const wxSize& size,
121 long style,
122 const wxValidator& validator,
137b5242 123 const wxString& name) {
09f3d4e6
RD
124 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
125 }
126
c7e7022c
RD
127 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
128 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
129 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
130
131 PYPRIVATE;
132};
133
134IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
135
136IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
137IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
138IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
6d19860f 139 // Python aware sorting function for wxPyListCtrl
f6bcfd97 140 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
dcd38683
RD
141 int retval = 0;
142 PyObject* func = (PyObject*)funcPtr;
4268f798 143 wxPyBeginBlockThreads();
dcd38683
RD
144
145 PyObject* args = Py_BuildValue("(ii)", item1, item2);
146 PyObject* result = PyEval_CallObject(func, args);
147 Py_DECREF(args);
148 if (result) {
149 retval = PyInt_AsLong(result);
150 Py_DECREF(result);
151 }
152
4268f798 153 wxPyEndBlockThreads();
dcd38683
RD
154 return retval;
155 }
156
157
cf694132
RD
158class wxPyTreeItemData : public wxTreeItemData {
159public:
160 wxPyTreeItemData(PyObject* obj = NULL) {
c368d904 161 if (obj == NULL)
cf694132 162 obj = Py_None;
c368d904
RD
163 Py_INCREF(obj);
164 m_obj = obj;
cf694132
RD
165 }
166
167 ~wxPyTreeItemData() {
4268f798 168 wxPyBeginBlockThreads();
c368d904 169 Py_DECREF(m_obj);
4268f798 170 wxPyEndBlockThreads();
cf694132
RD
171 }
172
173 PyObject* GetData() {
174 Py_INCREF(m_obj);
175 return m_obj;
176 }
177
178 void SetData(PyObject* obj) {
4268f798 179 wxPyBeginBlockThreads();
cf694132 180 Py_DECREF(m_obj);
4268f798 181 wxPyEndBlockThreads();
cf694132
RD
182 m_obj = obj;
183 Py_INCREF(obj);
184 }
185
186 PyObject* m_obj;
187};
09f3d4e6 188 // C++ version of Python aware wxTreeCtrl
f6bcfd97 189class wxPyTreeCtrl : public wxTreeCtrl {
3b36695d 190 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
f6bcfd97 191public:
09f3d4e6 192 wxPyTreeCtrl() : wxTreeCtrl() {}
f6bcfd97
BP
193 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
194 const wxPoint& pos,
195 const wxSize& size,
196 long style,
197 const wxValidator& validator,
137b5242 198 const wxString& name) :
f6bcfd97
BP
199 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
200
09f3d4e6
RD
201 bool Create(wxWindow *parent, wxWindowID id,
202 const wxPoint& pos,
203 const wxSize& size,
204 long style,
205 const wxValidator& validator,
137b5242 206 const wxString& name) {
09f3d4e6
RD
207 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
208 }
209
210
f6bcfd97
BP
211 int OnCompareItems(const wxTreeItemId& item1,
212 const wxTreeItemId& item2) {
213 int rval = 0;
19a97bd6 214 bool found;
4268f798 215 wxPyBeginBlockThreads();
a66212dc
RD
216 if ((found = m_myInst.findCallback("OnCompareItems"))) {
217 PyObject *o1 = wxPyConstructObject((void*)&item1, "wxTreeItemId");
218 PyObject *o2 = wxPyConstructObject((void*)&item2, "wxTreeItemId");
219 rval = m_myInst.callCallback(Py_BuildValue("(OO)",o1,o2));
220 Py_DECREF(o1);
221 Py_DECREF(o2);
222 }
4268f798 223 wxPyEndBlockThreads();
19a97bd6 224 if (! found)
f6bcfd97 225 rval = wxTreeCtrl::OnCompareItems(item1, item2);
f6bcfd97
BP
226 return rval;
227 }
228 PYPRIVATE;
229};
230
3b36695d
RD
231IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
232
1d99702e
RD
233#ifdef __cplusplus
234extern "C" {
235#endif
c7e7022c 236#define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97 237static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 238 PyObject * _resultobj;
f6bcfd97 239 wxListItemAttr * _result;
c7e7022c
RD
240 wxColour * _arg0 = (wxColour *) &wxNullColour;
241 wxColour * _arg1 = (wxColour *) &wxNullColour;
242 wxFont * _arg2 = (wxFont *) &wxNullFont;
243 wxColour temp;
244 PyObject * _obj0 = 0;
245 wxColour temp0;
246 PyObject * _obj1 = 0;
247 PyObject * _argo2 = 0;
248 char *_kwnames[] = { "colText","colBack","font", NULL };
f6bcfd97 249 char _ptemp[128];
af309447
RD
250
251 self = self;
c7e7022c
RD
252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxListItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
253 return NULL;
254 if (_obj0)
255{
256 _arg0 = &temp;
257 if (! wxColour_helper(_obj0, &_arg0))
258 return NULL;
259}
260 if (_obj1)
261{
262 _arg1 = &temp0;
263 if (! wxColour_helper(_obj1, &_arg1))
264 return NULL;
265}
266 if (_argo2) {
267 if (_argo2 == Py_None) { _arg2 = NULL; }
268 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
269 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
af309447 270 return NULL;
c7e7022c
RD
271 }
272 }
cf694132 273{
4268f798 274 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 275 _result = (wxListItemAttr *)new_wxListItemAttr(*_arg0,*_arg1,*_arg2);
cf694132 276
4268f798 277 wxPyEndAllowThreads(__tstate);
493f1553 278 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
279} if (_result) {
280 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
281 _resultobj = Py_BuildValue("s",_ptemp);
282 } else {
283 Py_INCREF(Py_None);
284 _resultobj = Py_None;
285 }
af309447
RD
286 return _resultobj;
287}
288
f6bcfd97
BP
289#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
290static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 291 PyObject * _resultobj;
f6bcfd97
BP
292 wxListItemAttr * _arg0;
293 wxColour * _arg1;
1d99702e 294 PyObject * _argo0 = 0;
f6bcfd97
BP
295 wxColour temp;
296 PyObject * _obj1 = 0;
297 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
298
299 self = self;
f6bcfd97 300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 301 return NULL;
1d99702e
RD
302 if (_argo0) {
303 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
306 return NULL;
307 }
308 }
f6bcfd97
BP
309{
310 _arg1 = &temp;
311 if (! wxColour_helper(_obj1, &_arg1))
312 return NULL;
313}
cf694132 314{
4268f798 315 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 316 wxListItemAttr_SetTextColour(_arg0,*_arg1);
cf694132 317
4268f798 318 wxPyEndAllowThreads(__tstate);
493f1553 319 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
320} Py_INCREF(Py_None);
321 _resultobj = Py_None;
8ab979d7
RD
322 return _resultobj;
323}
324
f6bcfd97
BP
325#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
326static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 327 PyObject * _resultobj;
f6bcfd97
BP
328 wxListItemAttr * _arg0;
329 wxColour * _arg1;
1d99702e 330 PyObject * _argo0 = 0;
f6bcfd97
BP
331 wxColour temp;
332 PyObject * _obj1 = 0;
333 char *_kwnames[] = { "self","colBack", NULL };
af309447
RD
334
335 self = self;
f6bcfd97 336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
af309447 337 return NULL;
1d99702e
RD
338 if (_argo0) {
339 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
342 return NULL;
343 }
344 }
f6bcfd97
BP
345{
346 _arg1 = &temp;
347 if (! wxColour_helper(_obj1, &_arg1))
348 return NULL;
349}
cf694132 350{
4268f798 351 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 352 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132 353
4268f798 354 wxPyEndAllowThreads(__tstate);
493f1553 355 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
356} Py_INCREF(Py_None);
357 _resultobj = Py_None;
af309447
RD
358 return _resultobj;
359}
360
f6bcfd97
BP
361#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
362static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 363 PyObject * _resultobj;
f6bcfd97
BP
364 wxListItemAttr * _arg0;
365 wxFont * _arg1;
1d99702e 366 PyObject * _argo0 = 0;
f6bcfd97
BP
367 PyObject * _argo1 = 0;
368 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
369
370 self = self;
f6bcfd97 371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 372 return NULL;
1d99702e
RD
373 if (_argo0) {
374 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
377 return NULL;
378 }
379 }
380 if (_argo1) {
381 if (_argo1 == Py_None) { _arg1 = NULL; }
382 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
383 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
8ab979d7
RD
384 return NULL;
385 }
386 }
cf694132 387{
4268f798 388 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 389 wxListItemAttr_SetFont(_arg0,*_arg1);
cf694132 390
4268f798 391 wxPyEndAllowThreads(__tstate);
493f1553 392 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
393} Py_INCREF(Py_None);
394 _resultobj = Py_None;
8ab979d7
RD
395 return _resultobj;
396}
397
f6bcfd97
BP
398#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
399static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 400 PyObject * _resultobj;
f6bcfd97
BP
401 bool _result;
402 wxListItemAttr * _arg0;
1d99702e 403 PyObject * _argo0 = 0;
f6bcfd97 404 char *_kwnames[] = { "self", NULL };
af309447
RD
405
406 self = self;
f6bcfd97 407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
af309447 408 return NULL;
1d99702e
RD
409 if (_argo0) {
410 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
af309447
RD
413 return NULL;
414 }
415 }
cf694132 416{
4268f798 417 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 418 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
cf694132 419
4268f798 420 wxPyEndAllowThreads(__tstate);
493f1553 421 if (PyErr_Occurred()) return NULL;
cf694132 422} _resultobj = Py_BuildValue("i",_result);
af309447
RD
423 return _resultobj;
424}
425
f6bcfd97
BP
426#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
427static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 428 PyObject * _resultobj;
f6bcfd97
BP
429 bool _result;
430 wxListItemAttr * _arg0;
1d99702e 431 PyObject * _argo0 = 0;
efc5f224 432 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
433
434 self = self;
f6bcfd97 435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
8ab979d7 436 return NULL;
1d99702e
RD
437 if (_argo0) {
438 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
441 return NULL;
442 }
443 }
cf694132 444{
4268f798 445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 446 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
cf694132 447
4268f798 448 wxPyEndAllowThreads(__tstate);
493f1553 449 if (PyErr_Occurred()) return NULL;
cf694132 450} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
451 return _resultobj;
452}
453
f6bcfd97
BP
454#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
455static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 456 PyObject * _resultobj;
f6bcfd97
BP
457 bool _result;
458 wxListItemAttr * _arg0;
1d99702e 459 PyObject * _argo0 = 0;
f6bcfd97 460 char *_kwnames[] = { "self", NULL };
af309447
RD
461
462 self = self;
f6bcfd97 463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
af309447 464 return NULL;
1d99702e
RD
465 if (_argo0) {
466 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
af309447
RD
469 return NULL;
470 }
471 }
cf694132 472{
4268f798 473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 474 _result = (bool )wxListItemAttr_HasFont(_arg0);
cf694132 475
4268f798 476 wxPyEndAllowThreads(__tstate);
493f1553 477 if (PyErr_Occurred()) return NULL;
f6bcfd97 478} _resultobj = Py_BuildValue("i",_result);
af309447
RD
479 return _resultobj;
480}
481
f6bcfd97
BP
482#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
483static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 484 PyObject * _resultobj;
f6bcfd97
BP
485 wxColour * _result;
486 wxListItemAttr * _arg0;
1d99702e 487 PyObject * _argo0 = 0;
efc5f224 488 char *_kwnames[] = { "self", NULL };
f6bcfd97 489 char _ptemp[128];
8ab979d7
RD
490
491 self = self;
f6bcfd97 492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 493 return NULL;
1d99702e
RD
494 if (_argo0) {
495 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
8ab979d7
RD
498 return NULL;
499 }
500 }
cf694132 501{
4268f798 502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 503 _result = new wxColour (wxListItemAttr_GetTextColour(_arg0));
cf694132 504
4268f798 505 wxPyEndAllowThreads(__tstate);
493f1553 506 if (PyErr_Occurred()) return NULL;
c5943253
RD
507} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
508 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
509 return _resultobj;
510}
511
f6bcfd97
BP
512#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
513static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 514 PyObject * _resultobj;
f6bcfd97
BP
515 wxColour * _result;
516 wxListItemAttr * _arg0;
1d99702e 517 PyObject * _argo0 = 0;
f6bcfd97
BP
518 char *_kwnames[] = { "self", NULL };
519 char _ptemp[128];
af309447
RD
520
521 self = self;
f6bcfd97 522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
af309447 523 return NULL;
1d99702e
RD
524 if (_argo0) {
525 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
af309447
RD
528 return NULL;
529 }
530 }
cf694132 531{
4268f798 532 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 533 _result = new wxColour (wxListItemAttr_GetBackgroundColour(_arg0));
cf694132 534
4268f798 535 wxPyEndAllowThreads(__tstate);
493f1553 536 if (PyErr_Occurred()) return NULL;
c5943253
RD
537} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
538 _resultobj = Py_BuildValue("s",_ptemp);
af309447
RD
539 return _resultobj;
540}
541
f6bcfd97
BP
542#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
543static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 544 PyObject * _resultobj;
f6bcfd97
BP
545 wxFont * _result;
546 wxListItemAttr * _arg0;
1d99702e 547 PyObject * _argo0 = 0;
efc5f224 548 char *_kwnames[] = { "self", NULL };
f6bcfd97 549 char _ptemp[128];
8ab979d7
RD
550
551 self = self;
f6bcfd97 552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
8ab979d7 553 return NULL;
1d99702e
RD
554 if (_argo0) {
555 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
8ab979d7
RD
558 return NULL;
559 }
560 }
cf694132 561{
4268f798 562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 563 _result = new wxFont (wxListItemAttr_GetFont(_arg0));
cf694132 564
4268f798 565 wxPyEndAllowThreads(__tstate);
493f1553 566 if (PyErr_Occurred()) return NULL;
c5943253
RD
567} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
568 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
569 return _resultobj;
570}
571
9416aa89
RD
572static void *SwigwxListItemTowxObject(void *ptr) {
573 wxListItem *src;
574 wxObject *dest;
575 src = (wxListItem *) ptr;
576 dest = (wxObject *) src;
577 return (void *) dest;
578}
579
f6bcfd97
BP
580#define new_wxListItem() (new wxListItem())
581static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 582 PyObject * _resultobj;
f6bcfd97
BP
583 wxListItem * _result;
584 char *_kwnames[] = { NULL };
585 char _ptemp[128];
af309447
RD
586
587 self = self;
f6bcfd97 588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
af309447 589 return NULL;
af309447 590{
4268f798 591 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 592 _result = (wxListItem *)new_wxListItem();
cf694132 593
4268f798 594 wxPyEndAllowThreads(__tstate);
493f1553 595 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
596} if (_result) {
597 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
598 _resultobj = Py_BuildValue("s",_ptemp);
599 } else {
600 Py_INCREF(Py_None);
601 _resultobj = Py_None;
602 }
af309447
RD
603 return _resultobj;
604}
605
f6bcfd97
BP
606#define delete_wxListItem(_swigobj) (delete _swigobj)
607static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 608 PyObject * _resultobj;
8ab979d7 609 wxListItem * _arg0;
1d99702e 610 PyObject * _argo0 = 0;
efc5f224 611 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
612
613 self = self;
f6bcfd97 614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
8ab979d7 615 return NULL;
1d99702e
RD
616 if (_argo0) {
617 if (_argo0 == Py_None) { _arg0 = NULL; }
618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
8ab979d7
RD
620 return NULL;
621 }
622 }
8ab979d7 623{
4268f798 624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 625 delete_wxListItem(_arg0);
cf694132 626
4268f798 627 wxPyEndAllowThreads(__tstate);
493f1553 628 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
629} Py_INCREF(Py_None);
630 _resultobj = Py_None;
8ab979d7
RD
631 return _resultobj;
632}
633
f6bcfd97
BP
634#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
635static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 636 PyObject * _resultobj;
af309447 637 wxListItem * _arg0;
1d99702e 638 PyObject * _argo0 = 0;
f6bcfd97 639 char *_kwnames[] = { "self", NULL };
af309447
RD
640
641 self = self;
f6bcfd97 642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
af309447 643 return NULL;
1d99702e
RD
644 if (_argo0) {
645 if (_argo0 == Py_None) { _arg0 = NULL; }
646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
af309447
RD
648 return NULL;
649 }
650 }
cf694132 651{
4268f798 652 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 653 wxListItem_Clear(_arg0);
cf694132 654
4268f798 655 wxPyEndAllowThreads(__tstate);
493f1553 656 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
657} Py_INCREF(Py_None);
658 _resultobj = Py_None;
af309447
RD
659 return _resultobj;
660}
661
f6bcfd97
BP
662#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
663static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 664 PyObject * _resultobj;
8ab979d7 665 wxListItem * _arg0;
1d99702e 666 PyObject * _argo0 = 0;
efc5f224 667 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
668
669 self = self;
f6bcfd97 670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
8ab979d7 671 return NULL;
1d99702e
RD
672 if (_argo0) {
673 if (_argo0 == Py_None) { _arg0 = NULL; }
674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
8ab979d7
RD
676 return NULL;
677 }
678 }
cf694132 679{
4268f798 680 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 681 wxListItem_ClearAttributes(_arg0);
cf694132 682
4268f798 683 wxPyEndAllowThreads(__tstate);
493f1553 684 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
685} Py_INCREF(Py_None);
686 _resultobj = Py_None;
687 return _resultobj;
688}
689
690#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
691static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
692 PyObject * _resultobj;
693 wxListItem * _arg0;
694 long _arg1;
695 PyObject * _argo0 = 0;
696 char *_kwnames[] = { "self","mask", NULL };
697
698 self = self;
699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
700 return NULL;
701 if (_argo0) {
702 if (_argo0 == Py_None) { _arg0 = NULL; }
703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
705 return NULL;
706 }
707 }
708{
4268f798 709 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 710 wxListItem_SetMask(_arg0,_arg1);
f6bcfd97 711
4268f798 712 wxPyEndAllowThreads(__tstate);
493f1553 713 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
714} Py_INCREF(Py_None);
715 _resultobj = Py_None;
716 return _resultobj;
717}
718
719#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
720static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
721 PyObject * _resultobj;
722 wxListItem * _arg0;
723 long _arg1;
724 PyObject * _argo0 = 0;
725 char *_kwnames[] = { "self","id", NULL };
726
727 self = self;
728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
729 return NULL;
730 if (_argo0) {
731 if (_argo0 == Py_None) { _arg0 = NULL; }
732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
734 return NULL;
735 }
736 }
737{
4268f798 738 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 739 wxListItem_SetId(_arg0,_arg1);
f6bcfd97 740
4268f798 741 wxPyEndAllowThreads(__tstate);
493f1553 742 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
743} Py_INCREF(Py_None);
744 _resultobj = Py_None;
745 return _resultobj;
746}
747
748#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
749static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
750 PyObject * _resultobj;
751 wxListItem * _arg0;
752 int _arg1;
753 PyObject * _argo0 = 0;
754 char *_kwnames[] = { "self","col", NULL };
755
756 self = self;
757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
758 return NULL;
759 if (_argo0) {
760 if (_argo0 == Py_None) { _arg0 = NULL; }
761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
763 return NULL;
764 }
765 }
766{
4268f798 767 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 768 wxListItem_SetColumn(_arg0,_arg1);
f6bcfd97 769
4268f798 770 wxPyEndAllowThreads(__tstate);
493f1553 771 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
772} Py_INCREF(Py_None);
773 _resultobj = Py_None;
774 return _resultobj;
775}
776
777#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
778static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
779 PyObject * _resultobj;
780 wxListItem * _arg0;
781 long _arg1;
782 PyObject * _argo0 = 0;
783 char *_kwnames[] = { "self","state", NULL };
784
785 self = self;
786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
787 return NULL;
788 if (_argo0) {
789 if (_argo0 == Py_None) { _arg0 = NULL; }
790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
792 return NULL;
793 }
794 }
795{
4268f798 796 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 797 wxListItem_SetState(_arg0,_arg1);
f6bcfd97 798
4268f798 799 wxPyEndAllowThreads(__tstate);
493f1553 800 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
801} Py_INCREF(Py_None);
802 _resultobj = Py_None;
803 return _resultobj;
804}
805
806#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
807static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
808 PyObject * _resultobj;
809 wxListItem * _arg0;
810 long _arg1;
811 PyObject * _argo0 = 0;
812 char *_kwnames[] = { "self","stateMask", NULL };
813
814 self = self;
815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
816 return NULL;
817 if (_argo0) {
818 if (_argo0 == Py_None) { _arg0 = NULL; }
819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
821 return NULL;
822 }
823 }
824{
4268f798 825 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 826 wxListItem_SetStateMask(_arg0,_arg1);
f6bcfd97 827
4268f798 828 wxPyEndAllowThreads(__tstate);
493f1553 829 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
830} Py_INCREF(Py_None);
831 _resultobj = Py_None;
832 return _resultobj;
833}
834
835#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
836static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject * _resultobj;
838 wxListItem * _arg0;
839 wxString * _arg1;
840 PyObject * _argo0 = 0;
841 PyObject * _obj1 = 0;
842 char *_kwnames[] = { "self","text", NULL };
843
844 self = self;
845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
846 return NULL;
847 if (_argo0) {
848 if (_argo0 == Py_None) { _arg0 = NULL; }
849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
851 return NULL;
852 }
853 }
854{
c8bc7bb8
RD
855 _arg1 = wxString_in_helper(_obj1);
856 if (_arg1 == NULL)
f6bcfd97 857 return NULL;
f6bcfd97
BP
858}
859{
4268f798 860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 861 wxListItem_SetText(_arg0,*_arg1);
f6bcfd97 862
4268f798 863 wxPyEndAllowThreads(__tstate);
493f1553 864 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
865} Py_INCREF(Py_None);
866 _resultobj = Py_None;
867{
868 if (_obj1)
869 delete _arg1;
870}
871 return _resultobj;
872}
873
874#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
875static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
876 PyObject * _resultobj;
877 wxListItem * _arg0;
878 int _arg1;
879 PyObject * _argo0 = 0;
880 char *_kwnames[] = { "self","image", NULL };
881
882 self = self;
883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
884 return NULL;
885 if (_argo0) {
886 if (_argo0 == Py_None) { _arg0 = NULL; }
887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
889 return NULL;
890 }
891 }
892{
4268f798 893 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 894 wxListItem_SetImage(_arg0,_arg1);
f6bcfd97 895
4268f798 896 wxPyEndAllowThreads(__tstate);
493f1553 897 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
898} Py_INCREF(Py_None);
899 _resultobj = Py_None;
900 return _resultobj;
901}
902
903#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
904static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 wxListItem * _arg0;
907 long _arg1;
908 PyObject * _argo0 = 0;
909 char *_kwnames[] = { "self","data", NULL };
910
911 self = self;
912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
913 return NULL;
914 if (_argo0) {
915 if (_argo0 == Py_None) { _arg0 = NULL; }
916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
918 return NULL;
919 }
920 }
921{
4268f798 922 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 923 wxListItem_SetData(_arg0,_arg1);
f6bcfd97 924
4268f798 925 wxPyEndAllowThreads(__tstate);
493f1553 926 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
927} Py_INCREF(Py_None);
928 _resultobj = Py_None;
929 return _resultobj;
930}
931
932#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
933static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
934 PyObject * _resultobj;
935 wxListItem * _arg0;
936 int _arg1;
937 PyObject * _argo0 = 0;
938 char *_kwnames[] = { "self","width", NULL };
939
940 self = self;
941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
942 return NULL;
943 if (_argo0) {
944 if (_argo0 == Py_None) { _arg0 = NULL; }
945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
947 return NULL;
948 }
949 }
950{
4268f798 951 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 952 wxListItem_SetWidth(_arg0,_arg1);
f6bcfd97 953
4268f798 954 wxPyEndAllowThreads(__tstate);
493f1553 955 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
956} Py_INCREF(Py_None);
957 _resultobj = Py_None;
958 return _resultobj;
959}
960
961#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
962static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
963 PyObject * _resultobj;
964 wxListItem * _arg0;
965 wxListColumnFormat _arg1;
966 PyObject * _argo0 = 0;
967 char *_kwnames[] = { "self","align", NULL };
968
969 self = self;
970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
971 return NULL;
972 if (_argo0) {
973 if (_argo0 == Py_None) { _arg0 = NULL; }
974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
976 return NULL;
977 }
978 }
979{
4268f798 980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 981 wxListItem_SetAlign(_arg0,_arg1);
f6bcfd97 982
4268f798 983 wxPyEndAllowThreads(__tstate);
493f1553 984 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
985} Py_INCREF(Py_None);
986 _resultobj = Py_None;
987 return _resultobj;
988}
989
990#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
991static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
992 PyObject * _resultobj;
993 wxListItem * _arg0;
994 wxColour * _arg1;
995 PyObject * _argo0 = 0;
996 wxColour temp;
997 PyObject * _obj1 = 0;
998 char *_kwnames[] = { "self","colText", NULL };
999
1000 self = self;
1001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
1002 return NULL;
1003 if (_argo0) {
1004 if (_argo0 == Py_None) { _arg0 = NULL; }
1005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1007 return NULL;
1008 }
1009 }
1010{
1011 _arg1 = &temp;
1012 if (! wxColour_helper(_obj1, &_arg1))
1013 return NULL;
1014}
1015{
4268f798 1016 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1017 wxListItem_SetTextColour(_arg0,*_arg1);
f6bcfd97 1018
4268f798 1019 wxPyEndAllowThreads(__tstate);
493f1553 1020 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1021} Py_INCREF(Py_None);
1022 _resultobj = Py_None;
1023 return _resultobj;
1024}
1025
1026#define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1027static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1028 PyObject * _resultobj;
1029 wxListItem * _arg0;
1030 wxColour * _arg1;
1031 PyObject * _argo0 = 0;
1032 wxColour temp;
1033 PyObject * _obj1 = 0;
1034 char *_kwnames[] = { "self","colBack", NULL };
1035
1036 self = self;
1037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1038 return NULL;
1039 if (_argo0) {
1040 if (_argo0 == Py_None) { _arg0 = NULL; }
1041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1043 return NULL;
1044 }
1045 }
1046{
1047 _arg1 = &temp;
1048 if (! wxColour_helper(_obj1, &_arg1))
1049 return NULL;
1050}
1051{
4268f798 1052 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1053 wxListItem_SetBackgroundColour(_arg0,*_arg1);
f6bcfd97 1054
4268f798 1055 wxPyEndAllowThreads(__tstate);
493f1553 1056 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1057} Py_INCREF(Py_None);
1058 _resultobj = Py_None;
1059 return _resultobj;
1060}
1061
1062#define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1063static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1064 PyObject * _resultobj;
1065 wxListItem * _arg0;
1066 wxFont * _arg1;
1067 PyObject * _argo0 = 0;
1068 PyObject * _argo1 = 0;
1069 char *_kwnames[] = { "self","font", NULL };
1070
1071 self = self;
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1073 return NULL;
1074 if (_argo0) {
1075 if (_argo0 == Py_None) { _arg0 = NULL; }
1076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1078 return NULL;
1079 }
1080 }
1081 if (_argo1) {
1082 if (_argo1 == Py_None) { _arg1 = NULL; }
1083 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1085 return NULL;
1086 }
1087 }
1088{
4268f798 1089 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1090 wxListItem_SetFont(_arg0,*_arg1);
f6bcfd97 1091
4268f798 1092 wxPyEndAllowThreads(__tstate);
493f1553 1093 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1094} Py_INCREF(Py_None);
1095 _resultobj = Py_None;
1096 return _resultobj;
1097}
1098
1099#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1100static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1101 PyObject * _resultobj;
1102 long _result;
1103 wxListItem * _arg0;
1104 PyObject * _argo0 = 0;
1105 char *_kwnames[] = { "self", NULL };
1106
1107 self = self;
1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1109 return NULL;
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1114 return NULL;
1115 }
1116 }
1117{
4268f798 1118 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1119 _result = (long )wxListItem_GetMask(_arg0);
f6bcfd97 1120
4268f798 1121 wxPyEndAllowThreads(__tstate);
493f1553 1122 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1123} _resultobj = Py_BuildValue("l",_result);
1124 return _resultobj;
1125}
1126
1127#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1128static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1129 PyObject * _resultobj;
1130 long _result;
1131 wxListItem * _arg0;
1132 PyObject * _argo0 = 0;
1133 char *_kwnames[] = { "self", NULL };
1134
1135 self = self;
1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1137 return NULL;
1138 if (_argo0) {
1139 if (_argo0 == Py_None) { _arg0 = NULL; }
1140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1142 return NULL;
1143 }
1144 }
1145{
4268f798 1146 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1147 _result = (long )wxListItem_GetId(_arg0);
f6bcfd97 1148
4268f798 1149 wxPyEndAllowThreads(__tstate);
493f1553 1150 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1151} _resultobj = Py_BuildValue("l",_result);
1152 return _resultobj;
1153}
1154
1155#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1156static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject * _resultobj;
1158 int _result;
1159 wxListItem * _arg0;
1160 PyObject * _argo0 = 0;
1161 char *_kwnames[] = { "self", NULL };
1162
1163 self = self;
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1165 return NULL;
1166 if (_argo0) {
1167 if (_argo0 == Py_None) { _arg0 = NULL; }
1168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1170 return NULL;
1171 }
1172 }
1173{
4268f798 1174 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1175 _result = (int )wxListItem_GetColumn(_arg0);
f6bcfd97 1176
4268f798 1177 wxPyEndAllowThreads(__tstate);
493f1553 1178 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1179} _resultobj = Py_BuildValue("i",_result);
1180 return _resultobj;
1181}
1182
1183#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1184static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1185 PyObject * _resultobj;
1186 long _result;
1187 wxListItem * _arg0;
1188 PyObject * _argo0 = 0;
1189 char *_kwnames[] = { "self", NULL };
1190
1191 self = self;
1192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1193 return NULL;
1194 if (_argo0) {
1195 if (_argo0 == Py_None) { _arg0 = NULL; }
1196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1198 return NULL;
1199 }
1200 }
1201{
4268f798 1202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1203 _result = (long )wxListItem_GetState(_arg0);
f6bcfd97 1204
4268f798 1205 wxPyEndAllowThreads(__tstate);
493f1553 1206 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1207} _resultobj = Py_BuildValue("l",_result);
1208 return _resultobj;
1209}
1210
1211#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1212static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1213 PyObject * _resultobj;
1214 wxString * _result;
1215 wxListItem * _arg0;
1216 PyObject * _argo0 = 0;
1217 char *_kwnames[] = { "self", NULL };
1218
1219 self = self;
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1221 return NULL;
1222 if (_argo0) {
1223 if (_argo0 == Py_None) { _arg0 = NULL; }
1224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1226 return NULL;
1227 }
1228 }
1229{
4268f798 1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1231 const wxString & _result_ref = wxListItem_GetText(_arg0);
f6bcfd97
BP
1232 _result = (wxString *) &_result_ref;
1233
4268f798 1234 wxPyEndAllowThreads(__tstate);
493f1553 1235 if (PyErr_Occurred()) return NULL;
f6bcfd97 1236}{
c8bc7bb8
RD
1237#if wxUSE_UNICODE
1238 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1239#else
f6bcfd97 1240 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1241#endif
f6bcfd97
BP
1242}
1243 return _resultobj;
1244}
1245
1246#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1247static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject * _resultobj;
1249 int _result;
1250 wxListItem * _arg0;
1251 PyObject * _argo0 = 0;
1252 char *_kwnames[] = { "self", NULL };
1253
1254 self = self;
1255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1256 return NULL;
1257 if (_argo0) {
1258 if (_argo0 == Py_None) { _arg0 = NULL; }
1259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1261 return NULL;
1262 }
1263 }
1264{
4268f798 1265 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1266 _result = (int )wxListItem_GetImage(_arg0);
f6bcfd97 1267
4268f798 1268 wxPyEndAllowThreads(__tstate);
493f1553 1269 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1270} _resultobj = Py_BuildValue("i",_result);
1271 return _resultobj;
1272}
1273
1274#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1275static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject * _resultobj;
1277 long _result;
1278 wxListItem * _arg0;
1279 PyObject * _argo0 = 0;
1280 char *_kwnames[] = { "self", NULL };
1281
1282 self = self;
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1284 return NULL;
1285 if (_argo0) {
1286 if (_argo0 == Py_None) { _arg0 = NULL; }
1287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1289 return NULL;
1290 }
1291 }
1292{
4268f798 1293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1294 _result = (long )wxListItem_GetData(_arg0);
f6bcfd97 1295
4268f798 1296 wxPyEndAllowThreads(__tstate);
493f1553 1297 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1298} _resultobj = Py_BuildValue("l",_result);
1299 return _resultobj;
1300}
1301
1302#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1303static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1304 PyObject * _resultobj;
1305 int _result;
1306 wxListItem * _arg0;
1307 PyObject * _argo0 = 0;
1308 char *_kwnames[] = { "self", NULL };
1309
1310 self = self;
1311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1312 return NULL;
1313 if (_argo0) {
1314 if (_argo0 == Py_None) { _arg0 = NULL; }
1315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1317 return NULL;
1318 }
1319 }
1320{
4268f798 1321 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1322 _result = (int )wxListItem_GetWidth(_arg0);
f6bcfd97 1323
4268f798 1324 wxPyEndAllowThreads(__tstate);
493f1553 1325 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1326} _resultobj = Py_BuildValue("i",_result);
1327 return _resultobj;
1328}
1329
1330#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1331static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1332 PyObject * _resultobj;
1333 wxListColumnFormat _result;
1334 wxListItem * _arg0;
1335 PyObject * _argo0 = 0;
1336 char *_kwnames[] = { "self", NULL };
1337
1338 self = self;
1339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1340 return NULL;
1341 if (_argo0) {
1342 if (_argo0 == Py_None) { _arg0 = NULL; }
1343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1345 return NULL;
1346 }
1347 }
1348{
4268f798 1349 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1350 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
f6bcfd97 1351
4268f798 1352 wxPyEndAllowThreads(__tstate);
493f1553 1353 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1354} _resultobj = Py_BuildValue("i",_result);
1355 return _resultobj;
1356}
1357
1358#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1359static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1360 PyObject * _resultobj;
1361 wxListItemAttr * _result;
1362 wxListItem * _arg0;
1363 PyObject * _argo0 = 0;
1364 char *_kwnames[] = { "self", NULL };
1365 char _ptemp[128];
1366
1367 self = self;
1368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1369 return NULL;
1370 if (_argo0) {
1371 if (_argo0 == Py_None) { _arg0 = NULL; }
1372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1374 return NULL;
1375 }
1376 }
1377{
4268f798 1378 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1379 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
f6bcfd97 1380
4268f798 1381 wxPyEndAllowThreads(__tstate);
493f1553 1382 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1383} if (_result) {
1384 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1385 _resultobj = Py_BuildValue("s",_ptemp);
1386 } else {
1387 Py_INCREF(Py_None);
1388 _resultobj = Py_None;
1389 }
1390 return _resultobj;
1391}
1392
1393#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1394static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject * _resultobj;
1396 bool _result;
1397 wxListItem * _arg0;
1398 PyObject * _argo0 = 0;
1399 char *_kwnames[] = { "self", NULL };
1400
1401 self = self;
1402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1403 return NULL;
1404 if (_argo0) {
1405 if (_argo0 == Py_None) { _arg0 = NULL; }
1406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1408 return NULL;
1409 }
1410 }
1411{
4268f798 1412 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1413 _result = (bool )wxListItem_HasAttributes(_arg0);
f6bcfd97 1414
4268f798 1415 wxPyEndAllowThreads(__tstate);
493f1553 1416 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1417} _resultobj = Py_BuildValue("i",_result);
1418 return _resultobj;
1419}
1420
1421#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1422static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject * _resultobj;
1424 wxColour * _result;
1425 wxListItem * _arg0;
1426 PyObject * _argo0 = 0;
1427 char *_kwnames[] = { "self", NULL };
1428 char _ptemp[128];
1429
1430 self = self;
1431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1432 return NULL;
1433 if (_argo0) {
1434 if (_argo0 == Py_None) { _arg0 = NULL; }
1435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1437 return NULL;
1438 }
1439 }
1440{
4268f798 1441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1442 _result = new wxColour (wxListItem_GetTextColour(_arg0));
f6bcfd97 1443
4268f798 1444 wxPyEndAllowThreads(__tstate);
493f1553 1445 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1446} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1447 _resultobj = Py_BuildValue("s",_ptemp);
1448 return _resultobj;
1449}
1450
1451#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1452static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1453 PyObject * _resultobj;
1454 wxColour * _result;
1455 wxListItem * _arg0;
1456 PyObject * _argo0 = 0;
1457 char *_kwnames[] = { "self", NULL };
1458 char _ptemp[128];
1459
1460 self = self;
1461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1462 return NULL;
1463 if (_argo0) {
1464 if (_argo0 == Py_None) { _arg0 = NULL; }
1465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1467 return NULL;
1468 }
1469 }
1470{
4268f798 1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1472 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
f6bcfd97 1473
4268f798 1474 wxPyEndAllowThreads(__tstate);
493f1553 1475 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1476} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1477 _resultobj = Py_BuildValue("s",_ptemp);
1478 return _resultobj;
1479}
1480
1481#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1482static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject * _resultobj;
1484 wxFont * _result;
1485 wxListItem * _arg0;
1486 PyObject * _argo0 = 0;
1487 char *_kwnames[] = { "self", NULL };
1488 char _ptemp[128];
1489
1490 self = self;
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1492 return NULL;
1493 if (_argo0) {
1494 if (_argo0 == Py_None) { _arg0 = NULL; }
1495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1497 return NULL;
1498 }
1499 }
1500{
4268f798 1501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1502 _result = new wxFont (wxListItem_GetFont(_arg0));
f6bcfd97 1503
4268f798 1504 wxPyEndAllowThreads(__tstate);
493f1553 1505 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1506} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1507 _resultobj = Py_BuildValue("s",_ptemp);
1508 return _resultobj;
1509}
1510
1511#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1512static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject * _resultobj;
1514 long _result;
1515 wxListItem * _arg0;
1516 long _arg1;
1517 PyObject * _argo0 = 0;
1518 char *_kwnames[] = { "self","m_mask", NULL };
1519
1520 self = self;
1521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1522 return NULL;
1523 if (_argo0) {
1524 if (_argo0 == Py_None) { _arg0 = NULL; }
1525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1527 return NULL;
1528 }
1529 }
1530{
4268f798 1531 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1532 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
f6bcfd97 1533
4268f798 1534 wxPyEndAllowThreads(__tstate);
493f1553 1535 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1536} _resultobj = Py_BuildValue("l",_result);
1537 return _resultobj;
1538}
1539
1540#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1541static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1542 PyObject * _resultobj;
1543 long _result;
1544 wxListItem * _arg0;
1545 PyObject * _argo0 = 0;
1546 char *_kwnames[] = { "self", NULL };
1547
1548 self = self;
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1550 return NULL;
1551 if (_argo0) {
1552 if (_argo0 == Py_None) { _arg0 = NULL; }
1553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1555 return NULL;
1556 }
1557 }
1558{
4268f798 1559 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1560 _result = (long )wxListItem_m_mask_get(_arg0);
f6bcfd97 1561
4268f798 1562 wxPyEndAllowThreads(__tstate);
493f1553 1563 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1564} _resultobj = Py_BuildValue("l",_result);
1565 return _resultobj;
1566}
1567
1568#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1569static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1570 PyObject * _resultobj;
1571 long _result;
1572 wxListItem * _arg0;
1573 long _arg1;
1574 PyObject * _argo0 = 0;
1575 char *_kwnames[] = { "self","m_itemId", NULL };
1576
1577 self = self;
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
1579 return NULL;
1580 if (_argo0) {
1581 if (_argo0 == Py_None) { _arg0 = NULL; }
1582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1584 return NULL;
1585 }
1586 }
1587{
4268f798 1588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1589 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
f6bcfd97 1590
4268f798 1591 wxPyEndAllowThreads(__tstate);
493f1553 1592 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1593} _resultobj = Py_BuildValue("l",_result);
1594 return _resultobj;
1595}
1596
1597#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1598static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1599 PyObject * _resultobj;
1600 long _result;
1601 wxListItem * _arg0;
1602 PyObject * _argo0 = 0;
1603 char *_kwnames[] = { "self", NULL };
1604
1605 self = self;
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1607 return NULL;
1608 if (_argo0) {
1609 if (_argo0 == Py_None) { _arg0 = NULL; }
1610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1612 return NULL;
1613 }
1614 }
1615{
4268f798 1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1617 _result = (long )wxListItem_m_itemId_get(_arg0);
f6bcfd97 1618
4268f798 1619 wxPyEndAllowThreads(__tstate);
493f1553 1620 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1621} _resultobj = Py_BuildValue("l",_result);
1622 return _resultobj;
1623}
1624
1625#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1626static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1627 PyObject * _resultobj;
1628 int _result;
1629 wxListItem * _arg0;
1630 int _arg1;
1631 PyObject * _argo0 = 0;
1632 char *_kwnames[] = { "self","m_col", NULL };
1633
1634 self = self;
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1636 return NULL;
1637 if (_argo0) {
1638 if (_argo0 == Py_None) { _arg0 = NULL; }
1639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1641 return NULL;
1642 }
1643 }
1644{
4268f798 1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1646 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
f6bcfd97 1647
4268f798 1648 wxPyEndAllowThreads(__tstate);
493f1553 1649 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1650} _resultobj = Py_BuildValue("i",_result);
1651 return _resultobj;
1652}
1653
1654#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1655static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject * _resultobj;
1657 int _result;
1658 wxListItem * _arg0;
1659 PyObject * _argo0 = 0;
1660 char *_kwnames[] = { "self", NULL };
1661
1662 self = self;
1663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1664 return NULL;
1665 if (_argo0) {
1666 if (_argo0 == Py_None) { _arg0 = NULL; }
1667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1669 return NULL;
1670 }
1671 }
1672{
4268f798 1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1674 _result = (int )wxListItem_m_col_get(_arg0);
f6bcfd97 1675
4268f798 1676 wxPyEndAllowThreads(__tstate);
493f1553 1677 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1678} _resultobj = Py_BuildValue("i",_result);
1679 return _resultobj;
1680}
1681
1682#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1683static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1684 PyObject * _resultobj;
1685 long _result;
1686 wxListItem * _arg0;
1687 long _arg1;
1688 PyObject * _argo0 = 0;
1689 char *_kwnames[] = { "self","m_state", NULL };
1690
1691 self = self;
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1693 return NULL;
1694 if (_argo0) {
1695 if (_argo0 == Py_None) { _arg0 = NULL; }
1696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1698 return NULL;
1699 }
1700 }
1701{
4268f798 1702 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1703 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
f6bcfd97 1704
4268f798 1705 wxPyEndAllowThreads(__tstate);
493f1553 1706 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1707} _resultobj = Py_BuildValue("l",_result);
1708 return _resultobj;
1709}
1710
1711#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1712static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject * _resultobj;
1714 long _result;
1715 wxListItem * _arg0;
1716 PyObject * _argo0 = 0;
1717 char *_kwnames[] = { "self", NULL };
1718
1719 self = self;
1720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1721 return NULL;
1722 if (_argo0) {
1723 if (_argo0 == Py_None) { _arg0 = NULL; }
1724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1726 return NULL;
1727 }
1728 }
1729{
4268f798 1730 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1731 _result = (long )wxListItem_m_state_get(_arg0);
f6bcfd97 1732
4268f798 1733 wxPyEndAllowThreads(__tstate);
493f1553 1734 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1735} _resultobj = Py_BuildValue("l",_result);
1736 return _resultobj;
1737}
1738
1739#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1740static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1741 PyObject * _resultobj;
1742 long _result;
1743 wxListItem * _arg0;
1744 long _arg1;
1745 PyObject * _argo0 = 0;
1746 char *_kwnames[] = { "self","m_stateMask", NULL };
1747
1748 self = self;
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1750 return NULL;
1751 if (_argo0) {
1752 if (_argo0 == Py_None) { _arg0 = NULL; }
1753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1755 return NULL;
1756 }
1757 }
1758{
4268f798 1759 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1760 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
f6bcfd97 1761
4268f798 1762 wxPyEndAllowThreads(__tstate);
493f1553 1763 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1764} _resultobj = Py_BuildValue("l",_result);
1765 return _resultobj;
1766}
1767
1768#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1769static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1770 PyObject * _resultobj;
1771 long _result;
1772 wxListItem * _arg0;
1773 PyObject * _argo0 = 0;
1774 char *_kwnames[] = { "self", NULL };
1775
1776 self = self;
1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1778 return NULL;
1779 if (_argo0) {
1780 if (_argo0 == Py_None) { _arg0 = NULL; }
1781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1783 return NULL;
1784 }
1785 }
1786{
4268f798 1787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1788 _result = (long )wxListItem_m_stateMask_get(_arg0);
f6bcfd97 1789
4268f798 1790 wxPyEndAllowThreads(__tstate);
493f1553 1791 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1792} _resultobj = Py_BuildValue("l",_result);
1793 return _resultobj;
1794}
1795
1796#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1797static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject * _resultobj;
1799 wxString * _result;
1800 wxListItem * _arg0;
1801 wxString * _arg1;
1802 PyObject * _argo0 = 0;
1803 PyObject * _obj1 = 0;
1804 char *_kwnames[] = { "self","m_text", NULL };
1805
1806 self = self;
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1808 return NULL;
1809 if (_argo0) {
1810 if (_argo0 == Py_None) { _arg0 = NULL; }
1811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1813 return NULL;
1814 }
1815 }
1816{
c8bc7bb8
RD
1817 _arg1 = wxString_in_helper(_obj1);
1818 if (_arg1 == NULL)
f6bcfd97 1819 return NULL;
f6bcfd97
BP
1820}
1821{
4268f798 1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1823 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
f6bcfd97 1824
4268f798 1825 wxPyEndAllowThreads(__tstate);
493f1553 1826 if (PyErr_Occurred()) return NULL;
f6bcfd97 1827}{
c8bc7bb8
RD
1828#if wxUSE_UNICODE
1829 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1830#else
f6bcfd97 1831 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1832#endif
f6bcfd97
BP
1833}
1834{
1835 if (_obj1)
1836 delete _arg1;
1837}
1838 return _resultobj;
1839}
1840
1841#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1842static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject * _resultobj;
1844 wxString * _result;
1845 wxListItem * _arg0;
1846 PyObject * _argo0 = 0;
1847 char *_kwnames[] = { "self", NULL };
1848
1849 self = self;
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
1851 return NULL;
1852 if (_argo0) {
1853 if (_argo0 == Py_None) { _arg0 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1856 return NULL;
1857 }
1858 }
1859{
4268f798 1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1861 _result = (wxString *)wxListItem_m_text_get(_arg0);
f6bcfd97 1862
4268f798 1863 wxPyEndAllowThreads(__tstate);
493f1553 1864 if (PyErr_Occurred()) return NULL;
f6bcfd97 1865}{
c8bc7bb8
RD
1866#if wxUSE_UNICODE
1867 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1868#else
f6bcfd97 1869 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1870#endif
f6bcfd97
BP
1871}
1872 return _resultobj;
1873}
1874
1875#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1876static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1877 PyObject * _resultobj;
1878 int _result;
1879 wxListItem * _arg0;
1880 int _arg1;
1881 PyObject * _argo0 = 0;
1882 char *_kwnames[] = { "self","m_image", NULL };
1883
1884 self = self;
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
1886 return NULL;
1887 if (_argo0) {
1888 if (_argo0 == Py_None) { _arg0 = NULL; }
1889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1891 return NULL;
1892 }
1893 }
1894{
4268f798 1895 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1896 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
f6bcfd97 1897
4268f798 1898 wxPyEndAllowThreads(__tstate);
493f1553 1899 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1900} _resultobj = Py_BuildValue("i",_result);
1901 return _resultobj;
1902}
1903
1904#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1905static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1906 PyObject * _resultobj;
1907 int _result;
1908 wxListItem * _arg0;
1909 PyObject * _argo0 = 0;
1910 char *_kwnames[] = { "self", NULL };
1911
1912 self = self;
1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
1914 return NULL;
1915 if (_argo0) {
1916 if (_argo0 == Py_None) { _arg0 = NULL; }
1917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1919 return NULL;
1920 }
1921 }
1922{
4268f798 1923 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1924 _result = (int )wxListItem_m_image_get(_arg0);
f6bcfd97 1925
4268f798 1926 wxPyEndAllowThreads(__tstate);
493f1553 1927 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1928} _resultobj = Py_BuildValue("i",_result);
1929 return _resultobj;
1930}
1931
1932#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1933static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1934 PyObject * _resultobj;
1935 long _result;
1936 wxListItem * _arg0;
1937 long _arg1;
1938 PyObject * _argo0 = 0;
1939 char *_kwnames[] = { "self","m_data", NULL };
1940
1941 self = self;
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
1943 return NULL;
1944 if (_argo0) {
1945 if (_argo0 == Py_None) { _arg0 = NULL; }
1946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1948 return NULL;
1949 }
1950 }
1951{
4268f798 1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1953 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
f6bcfd97 1954
4268f798 1955 wxPyEndAllowThreads(__tstate);
493f1553 1956 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1957} _resultobj = Py_BuildValue("l",_result);
1958 return _resultobj;
1959}
1960
1961#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1962static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1963 PyObject * _resultobj;
1964 long _result;
1965 wxListItem * _arg0;
1966 PyObject * _argo0 = 0;
1967 char *_kwnames[] = { "self", NULL };
1968
1969 self = self;
1970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
1971 return NULL;
1972 if (_argo0) {
1973 if (_argo0 == Py_None) { _arg0 = NULL; }
1974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1976 return NULL;
1977 }
1978 }
1979{
4268f798 1980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1981 _result = (long )wxListItem_m_data_get(_arg0);
f6bcfd97 1982
4268f798 1983 wxPyEndAllowThreads(__tstate);
493f1553 1984 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1985} _resultobj = Py_BuildValue("l",_result);
1986 return _resultobj;
1987}
1988
1989#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1990static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1991 PyObject * _resultobj;
1992 int _result;
1993 wxListItem * _arg0;
1994 int _arg1;
1995 PyObject * _argo0 = 0;
1996 char *_kwnames[] = { "self","m_format", NULL };
1997
1998 self = self;
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
2000 return NULL;
2001 if (_argo0) {
2002 if (_argo0 == Py_None) { _arg0 = NULL; }
2003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2005 return NULL;
2006 }
2007 }
2008{
4268f798 2009 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2010 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
f6bcfd97 2011
4268f798 2012 wxPyEndAllowThreads(__tstate);
493f1553 2013 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2014} _resultobj = Py_BuildValue("i",_result);
2015 return _resultobj;
2016}
2017
2018#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2019static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2020 PyObject * _resultobj;
2021 int _result;
2022 wxListItem * _arg0;
2023 PyObject * _argo0 = 0;
2024 char *_kwnames[] = { "self", NULL };
2025
2026 self = self;
2027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
2028 return NULL;
2029 if (_argo0) {
2030 if (_argo0 == Py_None) { _arg0 = NULL; }
2031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2033 return NULL;
2034 }
2035 }
2036{
4268f798 2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2038 _result = (int )wxListItem_m_format_get(_arg0);
f6bcfd97 2039
4268f798 2040 wxPyEndAllowThreads(__tstate);
493f1553 2041 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2042} _resultobj = Py_BuildValue("i",_result);
2043 return _resultobj;
8ab979d7
RD
2044}
2045
f6bcfd97
BP
2046#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2047static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2048 PyObject * _resultobj;
f6bcfd97 2049 int _result;
af309447 2050 wxListItem * _arg0;
f6bcfd97 2051 int _arg1;
1d99702e 2052 PyObject * _argo0 = 0;
f6bcfd97 2053 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
2054
2055 self = self;
f6bcfd97 2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 2057 return NULL;
1d99702e
RD
2058 if (_argo0) {
2059 if (_argo0 == Py_None) { _arg0 = NULL; }
2060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
af309447
RD
2062 return NULL;
2063 }
2064 }
cf694132 2065{
4268f798 2066 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2067 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
cf694132 2068
4268f798 2069 wxPyEndAllowThreads(__tstate);
493f1553 2070 if (PyErr_Occurred()) return NULL;
f6bcfd97 2071} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2072 return _resultobj;
2073}
2074
f6bcfd97
BP
2075#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2076static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2077 PyObject * _resultobj;
f6bcfd97 2078 int _result;
8ab979d7 2079 wxListItem * _arg0;
1d99702e 2080 PyObject * _argo0 = 0;
efc5f224 2081 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2082
2083 self = self;
f6bcfd97 2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 2085 return NULL;
1d99702e
RD
2086 if (_argo0) {
2087 if (_argo0 == Py_None) { _arg0 = NULL; }
2088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97
BP
2089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2090 return NULL;
2091 }
2092 }
2093{
4268f798 2094 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2095 _result = (int )wxListItem_m_width_get(_arg0);
f6bcfd97 2096
4268f798 2097 wxPyEndAllowThreads(__tstate);
493f1553 2098 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2099} _resultobj = Py_BuildValue("i",_result);
2100 return _resultobj;
2101}
2102
c368d904
RD
2103static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
2104 wxListEvent *src;
2105 wxNotifyEvent *dest;
2106 src = (wxListEvent *) ptr;
2107 dest = (wxNotifyEvent *) src;
2108 return (void *) dest;
2109}
2110
f6bcfd97
BP
2111static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2112 wxListEvent *src;
2113 wxCommandEvent *dest;
2114 src = (wxListEvent *) ptr;
2115 dest = (wxCommandEvent *) src;
2116 return (void *) dest;
2117}
2118
2119static void *SwigwxListEventTowxEvent(void *ptr) {
2120 wxListEvent *src;
2121 wxEvent *dest;
2122 src = (wxListEvent *) ptr;
2123 dest = (wxEvent *) src;
2124 return (void *) dest;
2125}
2126
9416aa89
RD
2127static void *SwigwxListEventTowxObject(void *ptr) {
2128 wxListEvent *src;
2129 wxObject *dest;
2130 src = (wxListEvent *) ptr;
2131 dest = (wxObject *) src;
2132 return (void *) dest;
2133}
2134
6d19860f
RD
2135#define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2136static PyObject *_wrap_new_wxListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject * _resultobj;
2138 wxListEvent * _result;
2139 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2140 int _arg1 = (int ) 0;
2141 char *_kwnames[] = { "commandType","id", NULL };
2142 char _ptemp[128];
2143
2144 self = self;
2145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxListEvent",_kwnames,&_arg0,&_arg1))
2146 return NULL;
2147{
4268f798 2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2149 _result = (wxListEvent *)new_wxListEvent(_arg0,_arg1);
6d19860f 2150
4268f798 2151 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2152 if (PyErr_Occurred()) return NULL;
2153} if (_result) {
2154 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListEvent_p");
2155 _resultobj = Py_BuildValue("s",_ptemp);
2156 } else {
2157 Py_INCREF(Py_None);
2158 _resultobj = Py_None;
2159 }
2160 return _resultobj;
2161}
2162
f6bcfd97
BP
2163#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2164static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject * _resultobj;
2166 int _result;
2167 wxListEvent * _arg0;
2168 PyObject * _argo0 = 0;
2169 char *_kwnames[] = { "self", NULL };
2170
2171 self = self;
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
2173 return NULL;
2174 if (_argo0) {
2175 if (_argo0 == Py_None) { _arg0 = NULL; }
2176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2178 return NULL;
2179 }
2180 }
2181{
4268f798 2182 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2183 _result = (int )wxListEvent_m_code_get(_arg0);
f6bcfd97 2184
4268f798 2185 wxPyEndAllowThreads(__tstate);
493f1553 2186 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2187} _resultobj = Py_BuildValue("i",_result);
2188 return _resultobj;
2189}
2190
ebf4302c
RD
2191#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2192static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2193 PyObject * _resultobj;
2194 long _result;
2195 wxListEvent * _arg0;
2196 PyObject * _argo0 = 0;
2197 char *_kwnames[] = { "self", NULL };
2198
2199 self = self;
ebf4302c 2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
f6bcfd97
BP
2201 return NULL;
2202 if (_argo0) {
2203 if (_argo0 == Py_None) { _arg0 = NULL; }
2204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
f6bcfd97
BP
2206 return NULL;
2207 }
2208 }
2209{
4268f798 2210 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2211 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
f6bcfd97 2212
4268f798 2213 wxPyEndAllowThreads(__tstate);
493f1553 2214 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2215} _resultobj = Py_BuildValue("l",_result);
2216 return _resultobj;
2217}
2218
ebf4302c
RD
2219#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2220static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2221 PyObject * _resultobj;
ebf4302c 2222 long _result;
f6bcfd97 2223 wxListEvent * _arg0;
1d99702e 2224 PyObject * _argo0 = 0;
f6bcfd97 2225 char *_kwnames[] = { "self", NULL };
af309447
RD
2226
2227 self = self;
ebf4302c 2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
af309447 2229 return NULL;
1d99702e
RD
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
af309447
RD
2234 return NULL;
2235 }
2236 }
cf694132 2237{
4268f798 2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2239 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132 2240
4268f798 2241 wxPyEndAllowThreads(__tstate);
493f1553 2242 if (PyErr_Occurred()) return NULL;
ebf4302c 2243} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2244 return _resultobj;
2245}
2246
ebf4302c
RD
2247#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2248static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2249 PyObject * _resultobj;
ebf4302c 2250 int _result;
f6bcfd97 2251 wxListEvent * _arg0;
1d99702e 2252 PyObject * _argo0 = 0;
f6bcfd97 2253 char *_kwnames[] = { "self", NULL };
af309447
RD
2254
2255 self = self;
ebf4302c 2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
af309447 2257 return NULL;
1d99702e
RD
2258 if (_argo0) {
2259 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
ebf4302c 2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
af309447
RD
2262 return NULL;
2263 }
2264 }
cf694132 2265{
4268f798 2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2267 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132 2268
4268f798 2269 wxPyEndAllowThreads(__tstate);
493f1553 2270 if (PyErr_Occurred()) return NULL;
cf694132 2271} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2272 return _resultobj;
2273}
2274
f6bcfd97
BP
2275#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2276static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2277 PyObject * _resultobj;
f6bcfd97
BP
2278 wxPoint * _result;
2279 wxListEvent * _arg0;
2280 PyObject * _argo0 = 0;
2281 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2282 char _ptemp[128];
2283
2284 self = self;
f6bcfd97
BP
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
2286 return NULL;
2287 if (_argo0) {
2288 if (_argo0 == Py_None) { _arg0 = NULL; }
2289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7 2291 return NULL;
f6bcfd97
BP
2292 }
2293 }
cf694132 2294{
4268f798 2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2296 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132 2297
4268f798 2298 wxPyEndAllowThreads(__tstate);
493f1553 2299 if (PyErr_Occurred()) return NULL;
1d99702e 2300} if (_result) {
f6bcfd97 2301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2302 _resultobj = Py_BuildValue("s",_ptemp);
2303 } else {
2304 Py_INCREF(Py_None);
2305 _resultobj = Py_None;
2306 }
8ab979d7
RD
2307 return _resultobj;
2308}
2309
f6bcfd97
BP
2310#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2311static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2312 PyObject * _resultobj;
f6bcfd97 2313 wxListItem * _result;
af309447 2314 wxListEvent * _arg0;
1d99702e 2315 PyObject * _argo0 = 0;
f6bcfd97 2316 char *_kwnames[] = { "self", NULL };
af309447
RD
2317
2318 self = self;
f6bcfd97 2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2320 return NULL;
1d99702e
RD
2321 if (_argo0) {
2322 if (_argo0 == Py_None) { _arg0 = NULL; }
2323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2325 return NULL;
2326 }
2327 }
cf694132 2328{
4268f798 2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2330 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132 2331
4268f798 2332 wxPyEndAllowThreads(__tstate);
493f1553 2333 if (PyErr_Occurred()) return NULL;
9416aa89 2334}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2335 return _resultobj;
2336}
2337
64c06a50
RD
2338#define wxListEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2339static PyObject *_wrap_wxListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2340 PyObject * _resultobj;
2341 int _result;
2342 wxListEvent * _arg0;
1d99702e 2343 PyObject * _argo0 = 0;
efc5f224 2344 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2345
2346 self = self;
64c06a50 2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetKeyCode",_kwnames,&_argo0))
8ab979d7 2348 return NULL;
1d99702e
RD
2349 if (_argo0) {
2350 if (_argo0 == Py_None) { _arg0 = NULL; }
2351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
64c06a50 2352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetKeyCode. Expected _wxListEvent_p.");
8ab979d7
RD
2353 return NULL;
2354 }
2355 }
cf694132 2356{
4268f798 2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
64c06a50 2358 _result = (int )wxListEvent_GetKeyCode(_arg0);
cf694132 2359
4268f798 2360 wxPyEndAllowThreads(__tstate);
493f1553 2361 if (PyErr_Occurred()) return NULL;
cf694132 2362} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2363 return _resultobj;
2364}
2365
f6bcfd97
BP
2366#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2367static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2368 PyObject * _resultobj;
2369 long _result;
2370 wxListEvent * _arg0;
1d99702e 2371 PyObject * _argo0 = 0;
f6bcfd97 2372 char *_kwnames[] = { "self", NULL };
af309447
RD
2373
2374 self = self;
f6bcfd97 2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2376 return NULL;
1d99702e
RD
2377 if (_argo0) {
2378 if (_argo0 == Py_None) { _arg0 = NULL; }
2379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2381 return NULL;
2382 }
2383 }
cf694132 2384{
4268f798 2385 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2386 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132 2387
4268f798 2388 wxPyEndAllowThreads(__tstate);
493f1553 2389 if (PyErr_Occurred()) return NULL;
cf694132 2390} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2391 return _resultobj;
2392}
2393
f6bcfd97
BP
2394#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2395static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2396 PyObject * _resultobj;
f6bcfd97 2397 int _result;
8ab979d7 2398 wxListEvent * _arg0;
1d99702e 2399 PyObject * _argo0 = 0;
efc5f224 2400 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2401
2402 self = self;
f6bcfd97 2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2404 return NULL;
1d99702e
RD
2405 if (_argo0) {
2406 if (_argo0 == Py_None) { _arg0 = NULL; }
2407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2409 return NULL;
2410 }
2411 }
cf694132 2412{
4268f798 2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2414 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132 2415
4268f798 2416 wxPyEndAllowThreads(__tstate);
493f1553 2417 if (PyErr_Occurred()) return NULL;
f6bcfd97 2418} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2419 return _resultobj;
2420}
2421
f6bcfd97
BP
2422#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2423static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2424 PyObject * _resultobj;
f6bcfd97 2425 wxPoint * _result;
8ab979d7 2426 wxListEvent * _arg0;
1d99702e 2427 PyObject * _argo0 = 0;
efc5f224 2428 char *_kwnames[] = { "self", NULL };
f6bcfd97 2429 char _ptemp[128];
8ab979d7
RD
2430
2431 self = self;
f6bcfd97 2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2433 return NULL;
1d99702e
RD
2434 if (_argo0) {
2435 if (_argo0 == Py_None) { _arg0 = NULL; }
2436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2438 return NULL;
2439 }
2440 }
cf694132 2441{
4268f798 2442 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2443 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132 2444
4268f798 2445 wxPyEndAllowThreads(__tstate);
493f1553 2446 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2447} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2448 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2449 return _resultobj;
2450}
2451
f6bcfd97
BP
2452#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2453static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2454 PyObject * _resultobj;
f6bcfd97 2455 wxString * _result;
af309447 2456 wxListEvent * _arg0;
1d99702e 2457 PyObject * _argo0 = 0;
f6bcfd97 2458 char *_kwnames[] = { "self", NULL };
af309447
RD
2459
2460 self = self;
f6bcfd97 2461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2462 return NULL;
1d99702e
RD
2463 if (_argo0) {
2464 if (_argo0 == Py_None) { _arg0 = NULL; }
2465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2467 return NULL;
2468 }
2469 }
cf694132 2470{
4268f798 2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2472 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
f6bcfd97 2473 _result = (wxString *) &_result_ref;
cf694132 2474
4268f798 2475 wxPyEndAllowThreads(__tstate);
493f1553 2476 if (PyErr_Occurred()) return NULL;
f6bcfd97 2477}{
c8bc7bb8
RD
2478#if wxUSE_UNICODE
2479 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2480#else
f6bcfd97 2481 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2482#endif
f6bcfd97 2483}
af309447
RD
2484 return _resultobj;
2485}
2486
f6bcfd97
BP
2487#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2488static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2489 PyObject * _resultobj;
f6bcfd97 2490 wxString * _result;
8ab979d7 2491 wxListEvent * _arg0;
1d99702e 2492 PyObject * _argo0 = 0;
efc5f224 2493 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2494
2495 self = self;
f6bcfd97 2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2497 return NULL;
1d99702e
RD
2498 if (_argo0) {
2499 if (_argo0 == Py_None) { _arg0 = NULL; }
2500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2502 return NULL;
2503 }
2504 }
cf694132 2505{
4268f798 2506 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2507 const wxString & _result_ref = wxListEvent_GetText(_arg0);
f6bcfd97 2508 _result = (wxString *) &_result_ref;
cf694132 2509
4268f798 2510 wxPyEndAllowThreads(__tstate);
493f1553 2511 if (PyErr_Occurred()) return NULL;
f6bcfd97 2512}{
c8bc7bb8
RD
2513#if wxUSE_UNICODE
2514 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2515#else
f6bcfd97 2516 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2517#endif
f6bcfd97 2518}
8ab979d7
RD
2519 return _resultobj;
2520}
2521
f6bcfd97
BP
2522#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2523static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2524 PyObject * _resultobj;
f6bcfd97 2525 int _result;
af309447 2526 wxListEvent * _arg0;
1d99702e 2527 PyObject * _argo0 = 0;
f6bcfd97 2528 char *_kwnames[] = { "self", NULL };
af309447
RD
2529
2530 self = self;
f6bcfd97 2531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2532 return NULL;
1d99702e
RD
2533 if (_argo0) {
2534 if (_argo0 == Py_None) { _arg0 = NULL; }
2535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2537 return NULL;
2538 }
2539 }
cf694132 2540{
4268f798 2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2542 _result = (int )wxListEvent_GetImage(_arg0);
cf694132 2543
4268f798 2544 wxPyEndAllowThreads(__tstate);
493f1553 2545 if (PyErr_Occurred()) return NULL;
f6bcfd97 2546} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2547 return _resultobj;
2548}
2549
f6bcfd97
BP
2550#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2551static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2552 PyObject * _resultobj;
f6bcfd97 2553 long _result;
8ab979d7 2554 wxListEvent * _arg0;
1d99702e 2555 PyObject * _argo0 = 0;
efc5f224 2556 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2557
2558 self = self;
f6bcfd97 2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2560 return NULL;
1d99702e
RD
2561 if (_argo0) {
2562 if (_argo0 == Py_None) { _arg0 = NULL; }
2563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2565 return NULL;
2566 }
2567 }
cf694132 2568{
4268f798 2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2570 _result = (long )wxListEvent_GetData(_arg0);
cf694132 2571
4268f798 2572 wxPyEndAllowThreads(__tstate);
493f1553 2573 if (PyErr_Occurred()) return NULL;
f6bcfd97 2574} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2575 return _resultobj;
2576}
2577
f6bcfd97
BP
2578#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2579static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2580 PyObject * _resultobj;
f6bcfd97 2581 long _result;
af309447 2582 wxListEvent * _arg0;
1d99702e 2583 PyObject * _argo0 = 0;
f6bcfd97 2584 char *_kwnames[] = { "self", NULL };
af309447
RD
2585
2586 self = self;
f6bcfd97 2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2588 return NULL;
1d99702e
RD
2589 if (_argo0) {
2590 if (_argo0 == Py_None) { _arg0 = NULL; }
2591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2593 return NULL;
2594 }
2595 }
cf694132 2596{
4268f798 2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2598 _result = (long )wxListEvent_GetMask(_arg0);
cf694132 2599
4268f798 2600 wxPyEndAllowThreads(__tstate);
493f1553 2601 if (PyErr_Occurred()) return NULL;
f6bcfd97 2602} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2603 return _resultobj;
2604}
2605
f6bcfd97
BP
2606#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2607static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2608 PyObject * _resultobj;
2609 wxListItem * _result;
2610 wxListEvent * _arg0;
1d99702e 2611 PyObject * _argo0 = 0;
efc5f224 2612 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2613
2614 self = self;
f6bcfd97 2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2616 return NULL;
1d99702e
RD
2617 if (_argo0) {
2618 if (_argo0 == Py_None) { _arg0 = NULL; }
2619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2621 return NULL;
2622 }
2623 }
cf694132 2624{
4268f798 2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2626 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
f6bcfd97 2627 _result = (wxListItem *) &_result_ref;
cf694132 2628
4268f798 2629 wxPyEndAllowThreads(__tstate);
493f1553 2630 if (PyErr_Occurred()) return NULL;
9416aa89 2631}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2632 return _resultobj;
2633}
2634
6d19860f
RD
2635#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2636static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject * _resultobj;
2638 long _result;
2639 wxListEvent * _arg0;
2640 PyObject * _argo0 = 0;
2641 char *_kwnames[] = { "self", NULL };
2642
2643 self = self;
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2645 return NULL;
2646 if (_argo0) {
2647 if (_argo0 == Py_None) { _arg0 = NULL; }
2648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2650 return NULL;
2651 }
2652 }
2653{
4268f798 2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2655 _result = (long )wxListEvent_GetCacheFrom(_arg0);
6d19860f 2656
4268f798 2657 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2658 if (PyErr_Occurred()) return NULL;
2659} _resultobj = Py_BuildValue("l",_result);
2660 return _resultobj;
2661}
2662
2663#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2664static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2665 PyObject * _resultobj;
2666 long _result;
2667 wxListEvent * _arg0;
2668 PyObject * _argo0 = 0;
2669 char *_kwnames[] = { "self", NULL };
2670
2671 self = self;
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2673 return NULL;
2674 if (_argo0) {
2675 if (_argo0 == Py_None) { _arg0 = NULL; }
2676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2678 return NULL;
2679 }
2680 }
2681{
4268f798 2682 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2683 _result = (long )wxListEvent_GetCacheTo(_arg0);
6d19860f 2684
4268f798 2685 wxPyEndAllowThreads(__tstate);
6d19860f
RD
2686 if (PyErr_Occurred()) return NULL;
2687} _resultobj = Py_BuildValue("l",_result);
2688 return _resultobj;
2689}
2690
c7e7022c
RD
2691static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2692 wxPyListCtrl *src;
8ab979d7 2693 wxControl *dest;
c7e7022c 2694 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2695 dest = (wxControl *) src;
2696 return (void *) dest;
2697}
2698
c7e7022c
RD
2699static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2700 wxPyListCtrl *src;
8ab979d7 2701 wxWindow *dest;
c7e7022c 2702 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2703 dest = (wxWindow *) src;
2704 return (void *) dest;
2705}
2706
c7e7022c
RD
2707static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2708 wxPyListCtrl *src;
8ab979d7 2709 wxEvtHandler *dest;
c7e7022c 2710 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2711 dest = (wxEvtHandler *) src;
2712 return (void *) dest;
2713}
2714
c7e7022c
RD
2715static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2716 wxPyListCtrl *src;
9416aa89 2717 wxObject *dest;
c7e7022c 2718 src = (wxPyListCtrl *) ptr;
9416aa89
RD
2719 dest = (wxObject *) src;
2720 return (void *) dest;
2721}
2722
c7e7022c 2723#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2724static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2725 PyObject * _resultobj;
c7e7022c 2726 wxPyListCtrl * _result;
8ab979d7 2727 wxWindow * _arg0;
c7e7022c 2728 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
2729 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2730 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
0adbc166 2731 long _arg4 = (long ) (wxLC_ICON);
e508a2b6 2732 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 2733 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
1d99702e 2734 PyObject * _argo0 = 0;
2f90df85
RD
2735 wxPoint temp;
2736 PyObject * _obj2 = 0;
2737 wxSize temp0;
2738 PyObject * _obj3 = 0;
1d99702e 2739 PyObject * _argo5 = 0;
137b5242 2740 PyObject * _obj6 = 0;
efc5f224 2741 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2742 char _ptemp[128];
2743
2744 self = self;
137b5242 2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 2746 return NULL;
1d99702e
RD
2747 if (_argo0) {
2748 if (_argo0 == Py_None) { _arg0 = NULL; }
2749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2751 return NULL;
2752 }
2753 }
2f90df85
RD
2754 if (_obj2)
2755{
2756 _arg2 = &temp;
2757 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2758 return NULL;
2f90df85
RD
2759}
2760 if (_obj3)
2761{
2762 _arg3 = &temp0;
2763 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2764 return NULL;
2f90df85 2765}
1d99702e
RD
2766 if (_argo5) {
2767 if (_argo5 == Py_None) { _arg5 = NULL; }
2768 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
2769 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2770 return NULL;
2771 }
2772 }
137b5242
RD
2773 if (_obj6)
2774{
2775 _arg6 = wxString_in_helper(_obj6);
2776 if (_arg6 == NULL)
2777 return NULL;
2778}
cf694132 2779{
4268f798 2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2781 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 2782
4268f798 2783 wxPyEndAllowThreads(__tstate);
493f1553 2784 if (PyErr_Occurred()) return NULL;
1d99702e 2785} if (_result) {
c7e7022c 2786 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
2787 _resultobj = Py_BuildValue("s",_ptemp);
2788 } else {
2789 Py_INCREF(Py_None);
2790 _resultobj = Py_None;
2791 }
137b5242
RD
2792{
2793 if (_obj6)
2794 delete _arg6;
2795}
8ab979d7
RD
2796 return _resultobj;
2797}
2798
09f3d4e6
RD
2799#define new_wxPreListCtrl() (new wxPyListCtrl())
2800static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject * _resultobj;
2802 wxPyListCtrl * _result;
2803 char *_kwnames[] = { NULL };
2804 char _ptemp[128];
2805
2806 self = self;
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
2808 return NULL;
2809{
4268f798 2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2811 _result = (wxPyListCtrl *)new_wxPreListCtrl();
09f3d4e6 2812
4268f798 2813 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2814 if (PyErr_Occurred()) return NULL;
2815} if (_result) {
2816 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
2817 _resultobj = Py_BuildValue("s",_ptemp);
2818 } else {
2819 Py_INCREF(Py_None);
2820 _resultobj = Py_None;
2821 }
2822 return _resultobj;
2823}
2824
2825#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2826static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject * _resultobj;
2828 bool _result;
2829 wxPyListCtrl * _arg0;
2830 wxWindow * _arg1;
2831 wxWindowID _arg2 = (wxWindowID ) -1;
2832 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2833 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2834 long _arg5 = (long ) (wxLC_ICON);
2835 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 2836 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
09f3d4e6
RD
2837 PyObject * _argo0 = 0;
2838 PyObject * _argo1 = 0;
2839 wxPoint temp;
2840 PyObject * _obj3 = 0;
2841 wxSize temp0;
2842 PyObject * _obj4 = 0;
2843 PyObject * _argo6 = 0;
137b5242 2844 PyObject * _obj7 = 0;
09f3d4e6
RD
2845 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
2846
2847 self = self;
137b5242 2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
2849 return NULL;
2850 if (_argo0) {
2851 if (_argo0 == Py_None) { _arg0 = NULL; }
2852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2854 return NULL;
2855 }
2856 }
2857 if (_argo1) {
2858 if (_argo1 == Py_None) { _arg1 = NULL; }
2859 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2860 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2861 return NULL;
2862 }
2863 }
2864 if (_obj3)
2865{
2866 _arg3 = &temp;
2867 if (! wxPoint_helper(_obj3, &_arg3))
2868 return NULL;
2869}
2870 if (_obj4)
2871{
2872 _arg4 = &temp0;
2873 if (! wxSize_helper(_obj4, &_arg4))
2874 return NULL;
2875}
2876 if (_argo6) {
2877 if (_argo6 == Py_None) { _arg6 = NULL; }
2878 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
2879 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2880 return NULL;
2881 }
2882 }
137b5242
RD
2883 if (_obj7)
2884{
2885 _arg7 = wxString_in_helper(_obj7);
2886 if (_arg7 == NULL)
2887 return NULL;
2888}
09f3d4e6 2889{
4268f798 2890 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2891 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 2892
4268f798 2893 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2894 if (PyErr_Occurred()) return NULL;
2895} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
2896{
2897 if (_obj7)
2898 delete _arg7;
2899}
09f3d4e6
RD
2900 return _resultobj;
2901}
2902
0122b7e3
RD
2903#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2904static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2905 PyObject * _resultobj;
c7e7022c
RD
2906 wxPyListCtrl * _arg0;
2907 PyObject * _arg1;
2908 PyObject * _arg2;
1d99702e 2909 PyObject * _argo0 = 0;
c7e7022c
RD
2910 PyObject * _obj1 = 0;
2911 PyObject * _obj2 = 0;
2912 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
2913
2914 self = self;
0122b7e3 2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 2916 return NULL;
1d99702e
RD
2917 if (_argo0) {
2918 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c 2919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0122b7e3 2920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
2921 return NULL;
2922 }
2923 }
c7e7022c
RD
2924{
2925 _arg1 = _obj1;
2926}
2927{
2928 _arg2 = _obj2;
2929}
cf694132 2930{
4268f798 2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2932 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132 2933
4268f798 2934 wxPyEndAllowThreads(__tstate);
493f1553 2935 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
2936} Py_INCREF(Py_None);
2937 _resultobj = Py_None;
8ab979d7
RD
2938 return _resultobj;
2939}
2940
c7e7022c
RD
2941#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2942static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1b62f00d 2943 PyObject * _resultobj;
c7e7022c
RD
2944 bool _result;
2945 wxPyListCtrl * _arg0;
2946 wxColour * _arg1;
1b62f00d 2947 PyObject * _argo0 = 0;
c7e7022c
RD
2948 wxColour temp;
2949 PyObject * _obj1 = 0;
2950 char *_kwnames[] = { "self","col", NULL };
1b62f00d
RD
2951
2952 self = self;
c7e7022c 2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
1b62f00d
RD
2954 return NULL;
2955 if (_argo0) {
2956 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
2957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
1b62f00d
RD
2959 return NULL;
2960 }
2961 }
c7e7022c
RD
2962{
2963 _arg1 = &temp;
2964 if (! wxColour_helper(_obj1, &_arg1))
1b62f00d 2965 return NULL;
c7e7022c 2966}
1b62f00d 2967{
4268f798 2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2969 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
1b62f00d 2970
4268f798 2971 wxPyEndAllowThreads(__tstate);
493f1553 2972 if (PyErr_Occurred()) return NULL;
c7e7022c 2973} _resultobj = Py_BuildValue("i",_result);
1b62f00d
RD
2974 return _resultobj;
2975}
2976
c7e7022c
RD
2977#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2978static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2979 PyObject * _resultobj;
2980 bool _result;
c7e7022c
RD
2981 wxPyListCtrl * _arg0;
2982 wxColour * _arg1;
1d99702e 2983 PyObject * _argo0 = 0;
c7e7022c
RD
2984 wxColour temp;
2985 PyObject * _obj1 = 0;
2986 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
2987
2988 self = self;
c7e7022c 2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 2990 return NULL;
1d99702e
RD
2991 if (_argo0) {
2992 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
2993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
2995 return NULL;
2996 }
2997 }
c7e7022c
RD
2998{
2999 _arg1 = &temp;
3000 if (! wxColour_helper(_obj1, &_arg1))
3001 return NULL;
3002}
cf694132 3003{
4268f798 3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3005 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
cf694132 3006
4268f798 3007 wxPyEndAllowThreads(__tstate);
493f1553 3008 if (PyErr_Occurred()) return NULL;
cf694132 3009} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3010 return _resultobj;
3011}
3012
14afa2cb
RD
3013static wxListItem * wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col) {
3014 wxListItem item;
be13a6af 3015 item.SetMask(0xFFFF);
14afa2cb
RD
3016 if (self->GetColumn(col, item))
3017 return new wxListItem(item);
3018 else
3019 return NULL;
3020 }
c7e7022c 3021static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3022 PyObject * _resultobj;
14afa2cb 3023 wxListItem * _result;
c7e7022c
RD
3024 wxPyListCtrl * _arg0;
3025 int _arg1;
1d99702e 3026 PyObject * _argo0 = 0;
14afa2cb 3027 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3028
3029 self = self;
14afa2cb 3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 3031 return NULL;
1d99702e
RD
3032 if (_argo0) {
3033 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3036 return NULL;
3037 }
3038 }
cf694132 3039{
4268f798 3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3041 _result = (wxListItem *)wxPyListCtrl_GetColumn(_arg0,_arg1);
cf694132 3042
4268f798 3043 wxPyEndAllowThreads(__tstate);
493f1553 3044 if (PyErr_Occurred()) return NULL;
14afa2cb 3045}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3046 return _resultobj;
3047}
3048
c7e7022c
RD
3049#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3050static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3051 PyObject * _resultobj;
3052 bool _result;
c7e7022c 3053 wxPyListCtrl * _arg0;
8ab979d7 3054 int _arg1;
c7e7022c 3055 wxListItem * _arg2;
1d99702e 3056 PyObject * _argo0 = 0;
c7e7022c
RD
3057 PyObject * _argo2 = 0;
3058 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3059
3060 self = self;
c7e7022c 3061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3062 return NULL;
1d99702e
RD
3063 if (_argo0) {
3064 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3067 return NULL;
3068 }
3069 }
3070 if (_argo2) {
3071 if (_argo2 == Py_None) { _arg2 = NULL; }
3072 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3073 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3074 return NULL;
3075 }
3076 }
cf694132 3077{
4268f798 3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3079 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132 3080
4268f798 3081 wxPyEndAllowThreads(__tstate);
493f1553 3082 if (PyErr_Occurred()) return NULL;
cf694132 3083} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3084 return _resultobj;
3085}
3086
c7e7022c
RD
3087#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3088static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3089 PyObject * _resultobj;
c7e7022c
RD
3090 int _result;
3091 wxPyListCtrl * _arg0;
3092 int _arg1;
1d99702e 3093 PyObject * _argo0 = 0;
c7e7022c 3094 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3095
3096 self = self;
c7e7022c 3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3098 return NULL;
1d99702e
RD
3099 if (_argo0) {
3100 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3103 return NULL;
3104 }
3105 }
cf694132 3106{
4268f798 3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3108 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132 3109
4268f798 3110 wxPyEndAllowThreads(__tstate);
493f1553 3111 if (PyErr_Occurred()) return NULL;
cf694132 3112} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3113 return _resultobj;
3114}
3115
c7e7022c
RD
3116#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3117static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3118 PyObject * _resultobj;
c7e7022c
RD
3119 bool _result;
3120 wxPyListCtrl * _arg0;
3121 int _arg1;
3122 int _arg2;
1d99702e 3123 PyObject * _argo0 = 0;
c7e7022c 3124 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3125
3126 self = self;
c7e7022c 3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3128 return NULL;
1d99702e
RD
3129 if (_argo0) {
3130 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3133 return NULL;
3134 }
3135 }
cf694132 3136{
4268f798 3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3138 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132 3139
4268f798 3140 wxPyEndAllowThreads(__tstate);
493f1553 3141 if (PyErr_Occurred()) return NULL;
c7e7022c 3142} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3143 return _resultobj;
3144}
3145
c7e7022c
RD
3146#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3147static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3148 PyObject * _resultobj;
c7e7022c
RD
3149 int _result;
3150 wxPyListCtrl * _arg0;
1d99702e 3151 PyObject * _argo0 = 0;
c7e7022c 3152 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3153
3154 self = self;
c7e7022c 3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3156 return NULL;
1d99702e
RD
3157 if (_argo0) {
3158 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3161 return NULL;
3162 }
3163 }
cf694132 3164{
4268f798 3165 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3166 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132 3167
4268f798 3168 wxPyEndAllowThreads(__tstate);
493f1553 3169 if (PyErr_Occurred()) return NULL;
c7e7022c 3170} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3171 return _resultobj;
3172}
3173
c7e7022c
RD
3174#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3175static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3176 PyObject * _resultobj;
c7e7022c
RD
3177 wxTextCtrl * _result;
3178 wxPyListCtrl * _arg0;
1d99702e 3179 PyObject * _argo0 = 0;
c7e7022c 3180 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3181
3182 self = self;
c7e7022c 3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0))
8ab979d7 3184 return NULL;
1d99702e
RD
3185 if (_argo0) {
3186 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3189 return NULL;
3190 }
3191 }
cf694132 3192{
4268f798 3193 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3194 _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0);
cf694132 3195
4268f798 3196 wxPyEndAllowThreads(__tstate);
493f1553 3197 if (PyErr_Occurred()) return NULL;
c7e7022c 3198}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3199 return _resultobj;
3200}
3201
c7e7022c
RD
3202static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3203 wxListItem* info = new wxListItem;
3204 info->m_itemId = itemId;
3205 info->m_col = col;
3206 info->m_mask = 0xFFFF;
3207 self->GetItem(*info);
3208 return info;
3209 }
3210static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3211 PyObject * _resultobj;
c7e7022c
RD
3212 wxListItem * _result;
3213 wxPyListCtrl * _arg0;
3214 long _arg1;
3215 int _arg2 = (int ) 0;
1d99702e 3216 PyObject * _argo0 = 0;
c7e7022c 3217 char *_kwnames[] = { "self","itemId","col", NULL };
be4d9c1f
RD
3218
3219 self = self;
c7e7022c 3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
be4d9c1f 3221 return NULL;
1d99702e
RD
3222 if (_argo0) {
3223 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3226 return NULL;
3227 }
3228 }
cf694132 3229{
4268f798 3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3231 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132 3232
4268f798 3233 wxPyEndAllowThreads(__tstate);
493f1553 3234 if (PyErr_Occurred()) return NULL;
9416aa89 3235}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3236 return _resultobj;
3237}
3238
c7e7022c
RD
3239#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3240static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3241 PyObject * _resultobj;
3242 bool _result;
c7e7022c
RD
3243 wxPyListCtrl * _arg0;
3244 wxListItem * _arg1;
1d99702e 3245 PyObject * _argo0 = 0;
c7e7022c
RD
3246 PyObject * _argo1 = 0;
3247 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3248
3249 self = self;
c7e7022c 3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3251 return NULL;
1d99702e
RD
3252 if (_argo0) {
3253 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3256 return NULL;
3257 }
3258 }
3259 if (_argo1) {
3260 if (_argo1 == Py_None) { _arg1 = NULL; }
3261 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3262 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3263 return NULL;
3264 }
3265 }
cf694132 3266{
4268f798 3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3268 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132 3269
4268f798 3270 wxPyEndAllowThreads(__tstate);
493f1553 3271 if (PyErr_Occurred()) return NULL;
cf694132 3272} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3273 return _resultobj;
3274}
3275
c7e7022c
RD
3276#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3277static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3278 PyObject * _resultobj;
3279 long _result;
c7e7022c 3280 wxPyListCtrl * _arg0;
8ab979d7 3281 long _arg1;
c7e7022c
RD
3282 int _arg2;
3283 wxString * _arg3;
3284 int _arg4 = (int ) -1;
1d99702e 3285 PyObject * _argo0 = 0;
c7e7022c
RD
3286 PyObject * _obj3 = 0;
3287 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3288
3289 self = self;
c7e7022c 3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3291 return NULL;
1d99702e
RD
3292 if (_argo0) {
3293 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3296 return NULL;
3297 }
3298 }
3299{
c8bc7bb8
RD
3300 _arg3 = wxString_in_helper(_obj3);
3301 if (_arg3 == NULL)
185d7c3e 3302 return NULL;
8ab979d7 3303}
cf694132 3304{
4268f798 3305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3306 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 3307
4268f798 3308 wxPyEndAllowThreads(__tstate);
493f1553 3309 if (PyErr_Occurred()) return NULL;
cf694132 3310} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3311{
c7e7022c
RD
3312 if (_obj3)
3313 delete _arg3;
8ab979d7
RD
3314}
3315 return _resultobj;
3316}
3317
c7e7022c
RD
3318#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3319static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3320 PyObject * _resultobj;
c7e7022c
RD
3321 int _result;
3322 wxPyListCtrl * _arg0;
8ab979d7
RD
3323 long _arg1;
3324 long _arg2;
1d99702e 3325 PyObject * _argo0 = 0;
c7e7022c 3326 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3327
3328 self = self;
c7e7022c 3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3330 return NULL;
1d99702e
RD
3331 if (_argo0) {
3332 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3335 return NULL;
3336 }
3337 }
cf694132 3338{
4268f798 3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3340 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132 3341
4268f798 3342 wxPyEndAllowThreads(__tstate);
493f1553 3343 if (PyErr_Occurred()) return NULL;
c7e7022c 3344} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3345 return _resultobj;
3346}
3347
c7e7022c
RD
3348#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3349static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3350 PyObject * _resultobj;
c7e7022c
RD
3351 bool _result;
3352 wxPyListCtrl * _arg0;
8ab979d7 3353 long _arg1;
c7e7022c
RD
3354 long _arg2;
3355 long _arg3;
1d99702e 3356 PyObject * _argo0 = 0;
c7e7022c 3357 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3358
3359 self = self;
c7e7022c 3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3361 return NULL;
1d99702e
RD
3362 if (_argo0) {
3363 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3366 return NULL;
3367 }
3368 }
cf694132 3369{
4268f798 3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3371 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132 3372
4268f798 3373 wxPyEndAllowThreads(__tstate);
493f1553 3374 if (PyErr_Occurred()) return NULL;
c7e7022c 3375} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3376 return _resultobj;
3377}
3378
c7e7022c
RD
3379#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3380static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3381 PyObject * _resultobj;
3382 bool _result;
c7e7022c
RD
3383 wxPyListCtrl * _arg0;
3384 long _arg1;
3385 int _arg2;
3386 int _arg3;
1d99702e 3387 PyObject * _argo0 = 0;
c7e7022c 3388 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3389
3390 self = self;
c7e7022c 3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3392 return NULL;
1d99702e
RD
3393 if (_argo0) {
3394 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3397 return NULL;
3398 }
3399 }
cf694132 3400{
4268f798 3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3402 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132 3403
4268f798 3404 wxPyEndAllowThreads(__tstate);
493f1553 3405 if (PyErr_Occurred()) return NULL;
cf694132 3406} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3407 return _resultobj;
3408}
3409
c7e7022c
RD
3410#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3411static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3412 PyObject * _resultobj;
c7e7022c
RD
3413 wxString * _result;
3414 wxPyListCtrl * _arg0;
3415 long _arg1;
1d99702e 3416 PyObject * _argo0 = 0;
c7e7022c 3417 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3418
3419 self = self;
c7e7022c 3420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3421 return NULL;
1d99702e
RD
3422 if (_argo0) {
3423 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3426 return NULL;
3427 }
3428 }
cf694132 3429{
4268f798 3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3431 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132 3432
4268f798 3433 wxPyEndAllowThreads(__tstate);
493f1553 3434 if (PyErr_Occurred()) return NULL;
c7e7022c 3435}{
c8bc7bb8
RD
3436#if wxUSE_UNICODE
3437 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3438#else
c7e7022c 3439 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3440#endif
c7e7022c
RD
3441}
3442{
3443 delete _result;
3444}
8ab979d7
RD
3445 return _resultobj;
3446}
3447
c7e7022c
RD
3448#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3449static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3450 PyObject * _resultobj;
c7e7022c
RD
3451 wxPyListCtrl * _arg0;
3452 long _arg1;
3453 wxString * _arg2;
1d99702e 3454 PyObject * _argo0 = 0;
c7e7022c
RD
3455 PyObject * _obj2 = 0;
3456 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3457
3458 self = self;
c7e7022c 3459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3460 return NULL;
1d99702e
RD
3461 if (_argo0) {
3462 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3465 return NULL;
3466 }
3467 }
cf694132 3468{
c8bc7bb8
RD
3469 _arg2 = wxString_in_helper(_obj2);
3470 if (_arg2 == NULL)
8ab979d7 3471 return NULL;
c7e7022c 3472}
cf694132 3473{
4268f798 3474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3475 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132 3476
4268f798 3477 wxPyEndAllowThreads(__tstate);
493f1553 3478 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3479} Py_INCREF(Py_None);
3480 _resultobj = Py_None;
3481{
3482 if (_obj2)
3483 delete _arg2;
3484}
8ab979d7
RD
3485 return _resultobj;
3486}
3487
3488#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3489static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3490 PyObject * _resultobj;
3491 long _result;
c7e7022c 3492 wxPyListCtrl * _arg0;
8ab979d7 3493 long _arg1;
1d99702e 3494 PyObject * _argo0 = 0;
efc5f224 3495 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3496
3497 self = self;
efc5f224 3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3499 return NULL;
1d99702e
RD
3500 if (_argo0) {
3501 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3504 return NULL;
3505 }
3506 }
cf694132 3507{
4268f798 3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3509 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
cf694132 3510
4268f798 3511 wxPyEndAllowThreads(__tstate);
493f1553 3512 if (PyErr_Occurred()) return NULL;
cf694132 3513} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3514 return _resultobj;
3515}
3516
c7e7022c
RD
3517#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3518static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3519 PyObject * _resultobj;
c7e7022c
RD
3520 bool _result;
3521 wxPyListCtrl * _arg0;
0699c864 3522 long _arg1;
c7e7022c 3523 long _arg2;
1d99702e 3524 PyObject * _argo0 = 0;
c7e7022c 3525 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3526
3527 self = self;
c7e7022c 3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3529 return NULL;
1d99702e
RD
3530 if (_argo0) {
3531 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3534 return NULL;
3535 }
3536 }
cf694132 3537{
4268f798 3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3539 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132 3540
4268f798 3541 wxPyEndAllowThreads(__tstate);
493f1553 3542 if (PyErr_Occurred()) return NULL;
c7e7022c 3543} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3544 return _resultobj;
3545}
3546
c7e7022c 3547static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3548 wxPoint* pos = new wxPoint;
3549 self->GetItemPosition(item, *pos);
3550 return pos;
3551 }
efc5f224 3552static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3553 PyObject * _resultobj;
3554 wxPoint * _result;
c7e7022c 3555 wxPyListCtrl * _arg0;
8ab979d7 3556 long _arg1;
1d99702e 3557 PyObject * _argo0 = 0;
efc5f224 3558 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3559 char _ptemp[128];
3560
3561 self = self;
efc5f224 3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3563 return NULL;
1d99702e
RD
3564 if (_argo0) {
3565 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3568 return NULL;
3569 }
3570 }
cf694132 3571{
4268f798 3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3573 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132 3574
4268f798 3575 wxPyEndAllowThreads(__tstate);
493f1553 3576 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3577} if (_result) {
3578 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3579 _resultobj = Py_BuildValue("s",_ptemp);
3580 } else {
3581 Py_INCREF(Py_None);
3582 _resultobj = Py_None;
3583 }
8ab979d7
RD
3584 return _resultobj;
3585}
3586
c7e7022c 3587static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3588 wxRect* rect= new wxRect;
3589 self->GetItemRect(item, *rect, code);
3590 return rect;
3591 }
efc5f224 3592static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3593 PyObject * _resultobj;
3594 wxRect * _result;
c7e7022c 3595 wxPyListCtrl * _arg0;
8ab979d7 3596 long _arg1;
1d99702e
RD
3597 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3598 PyObject * _argo0 = 0;
efc5f224 3599 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3600 char _ptemp[128];
3601
3602 self = self;
efc5f224 3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3604 return NULL;
1d99702e
RD
3605 if (_argo0) {
3606 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3609 return NULL;
3610 }
3611 }
cf694132 3612{
4268f798 3613 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3614 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132 3615
4268f798 3616 wxPyEndAllowThreads(__tstate);
493f1553 3617 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3618} if (_result) {
3619 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3620 _resultobj = Py_BuildValue("s",_ptemp);
3621 } else {
3622 Py_INCREF(Py_None);
3623 _resultobj = Py_None;
3624 }
8ab979d7
RD
3625 return _resultobj;
3626}
3627
c7e7022c
RD
3628#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3629static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3630 PyObject * _resultobj;
c7e7022c
RD
3631 bool _result;
3632 wxPyListCtrl * _arg0;
8ab979d7 3633 long _arg1;
c7e7022c 3634 wxPoint * _arg2;
1d99702e 3635 PyObject * _argo0 = 0;
c7e7022c
RD
3636 wxPoint temp;
3637 PyObject * _obj2 = 0;
3638 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3639
3640 self = self;
c7e7022c 3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3642 return NULL;
1d99702e
RD
3643 if (_argo0) {
3644 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3647 return NULL;
3648 }
3649 }
c7e7022c
RD
3650{
3651 _arg2 = &temp;
3652 if (! wxPoint_helper(_obj2, &_arg2))
3653 return NULL;
3654}
cf694132 3655{
4268f798 3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3657 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132 3658
4268f798 3659 wxPyEndAllowThreads(__tstate);
493f1553 3660 if (PyErr_Occurred()) return NULL;
cf694132 3661} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3662 return _resultobj;
3663}
3664
3665#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3666static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3667 PyObject * _resultobj;
3668 int _result;
c7e7022c 3669 wxPyListCtrl * _arg0;
1d99702e 3670 PyObject * _argo0 = 0;
efc5f224 3671 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3672
3673 self = self;
efc5f224 3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3675 return NULL;
1d99702e
RD
3676 if (_argo0) {
3677 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3680 return NULL;
3681 }
3682 }
cf694132 3683{
4268f798 3684 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3685 _result = (int )wxListCtrl_GetItemCount(_arg0);
cf694132 3686
4268f798 3687 wxPyEndAllowThreads(__tstate);
493f1553 3688 if (PyErr_Occurred()) return NULL;
cf694132 3689} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3690 return _resultobj;
3691}
3692
c7e7022c
RD
3693#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3694static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3695 PyObject * _resultobj;
3696 int _result;
c7e7022c 3697 wxPyListCtrl * _arg0;
1d99702e 3698 PyObject * _argo0 = 0;
c7e7022c 3699 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3700
3701 self = self;
c7e7022c 3702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
8ab979d7 3703 return NULL;
1d99702e
RD
3704 if (_argo0) {
3705 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3708 return NULL;
3709 }
3710 }
cf694132 3711{
4268f798 3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3713 _result = (int )wxListCtrl_GetColumnCount(_arg0);
cf694132 3714
4268f798 3715 wxPyEndAllowThreads(__tstate);
493f1553 3716 if (PyErr_Occurred()) return NULL;
cf694132 3717} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3718 return _resultobj;
3719}
3720
c7e7022c
RD
3721#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3722static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3723 PyObject * _resultobj;
c7e7022c
RD
3724 int _result;
3725 wxPyListCtrl * _arg0;
3726 bool _arg1;
1d99702e 3727 PyObject * _argo0 = 0;
c7e7022c
RD
3728 int tempbool1;
3729 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3730
3731 self = self;
c7e7022c 3732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3733 return NULL;
1d99702e
RD
3734 if (_argo0) {
3735 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3738 return NULL;
3739 }
3740 }
c7e7022c 3741 _arg1 = (bool ) tempbool1;
8ab979d7 3742{
4268f798 3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3744 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
cf694132 3745
4268f798 3746 wxPyEndAllowThreads(__tstate);
493f1553 3747 if (PyErr_Occurred()) return NULL;
c7e7022c 3748} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3749 return _resultobj;
3750}
3751
c7e7022c
RD
3752#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3753static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3754 PyObject * _resultobj;
c7e7022c
RD
3755 int _result;
3756 wxPyListCtrl * _arg0;
1d99702e 3757 PyObject * _argo0 = 0;
c7e7022c 3758 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3759
3760 self = self;
c7e7022c 3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3762 return NULL;
1d99702e
RD
3763 if (_argo0) {
3764 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3767 return NULL;
3768 }
3769 }
cf694132 3770{
4268f798 3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3772 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
cf694132 3773
4268f798 3774 wxPyEndAllowThreads(__tstate);
493f1553 3775 if (PyErr_Occurred()) return NULL;
c7e7022c 3776} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3777 return _resultobj;
3778}
3779
c7e7022c
RD
3780#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3781static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3782 PyObject * _resultobj;
c7e7022c
RD
3783 wxColour * _result;
3784 wxPyListCtrl * _arg0;
1d99702e 3785 PyObject * _argo0 = 0;
efc5f224 3786 char *_kwnames[] = { "self", NULL };
c7e7022c 3787 char _ptemp[128];
8ab979d7
RD
3788
3789 self = self;
c7e7022c 3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 3791 return NULL;
1d99702e
RD
3792 if (_argo0) {
3793 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3796 return NULL;
3797 }
3798 }
cf694132 3799{
4268f798 3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3801 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
cf694132 3802
4268f798 3803 wxPyEndAllowThreads(__tstate);
493f1553 3804 if (PyErr_Occurred()) return NULL;
cf694132 3805} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8ab979d7
RD
3806 _resultobj = Py_BuildValue("s",_ptemp);
3807 return _resultobj;
3808}
3809
be4d9c1f 3810#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
efc5f224 3811static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 3812 PyObject * _resultobj;
c7e7022c 3813 wxPyListCtrl * _arg0;
be4d9c1f 3814 wxColour * _arg1;
1d99702e 3815 PyObject * _argo0 = 0;
f6bcfd97
BP
3816 wxColour temp;
3817 PyObject * _obj1 = 0;
efc5f224 3818 char *_kwnames[] = { "self","col", NULL };
be4d9c1f
RD
3819
3820 self = self;
f6bcfd97 3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
be4d9c1f 3822 return NULL;
1d99702e
RD
3823 if (_argo0) {
3824 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
be4d9c1f
RD
3827 return NULL;
3828 }
3829 }
f6bcfd97
BP
3830{
3831 _arg1 = &temp;
3832 if (! wxColour_helper(_obj1, &_arg1))
be4d9c1f 3833 return NULL;
f6bcfd97 3834}
cf694132 3835{
4268f798 3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3837 wxListCtrl_SetTextColour(_arg0,*_arg1);
cf694132 3838
4268f798 3839 wxPyEndAllowThreads(__tstate);
493f1553 3840 if (PyErr_Occurred()) return NULL;
cf694132 3841} Py_INCREF(Py_None);
be4d9c1f
RD
3842 _resultobj = Py_None;
3843 return _resultobj;
3844}
3845
8ab979d7 3846#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 3847static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3848 PyObject * _resultobj;
3849 long _result;
c7e7022c 3850 wxPyListCtrl * _arg0;
1d99702e 3851 PyObject * _argo0 = 0;
efc5f224 3852 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3853
3854 self = self;
efc5f224 3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 3856 return NULL;
1d99702e
RD
3857 if (_argo0) {
3858 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3861 return NULL;
3862 }
3863 }
cf694132 3864{
4268f798 3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3866 _result = (long )wxListCtrl_GetTopItem(_arg0);
cf694132 3867
4268f798 3868 wxPyEndAllowThreads(__tstate);
493f1553 3869 if (PyErr_Occurred()) return NULL;
cf694132 3870} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3871 return _resultobj;
3872}
3873
c7e7022c
RD
3874#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3875static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3876 PyObject * _resultobj;
c7e7022c
RD
3877 wxPyListCtrl * _arg0;
3878 long _arg1;
3879 bool _arg2 = (bool ) TRUE;
1d99702e 3880 PyObject * _argo0 = 0;
c7e7022c
RD
3881 int tempbool2 = (int) TRUE;
3882 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
3883
3884 self = self;
c7e7022c 3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 3886 return NULL;
1d99702e
RD
3887 if (_argo0) {
3888 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3891 return NULL;
3892 }
3893 }
c7e7022c 3894 _arg2 = (bool ) tempbool2;
cf694132 3895{
4268f798 3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3897 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
cf694132 3898
4268f798 3899 wxPyEndAllowThreads(__tstate);
493f1553 3900 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3901} Py_INCREF(Py_None);
3902 _resultobj = Py_None;
8ab979d7
RD
3903 return _resultobj;
3904}
3905
c7e7022c
RD
3906#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3907static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3908 PyObject * _resultobj;
c7e7022c 3909 wxPyListCtrl * _arg0;
8ab979d7 3910 long _arg1;
1d99702e 3911 PyObject * _argo0 = 0;
c7e7022c 3912 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
3913
3914 self = self;
c7e7022c 3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 3916 return NULL;
1d99702e
RD
3917 if (_argo0) {
3918 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3921 return NULL;
3922 }
3923 }
cf694132 3924{
4268f798 3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3926 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
cf694132 3927
4268f798 3928 wxPyEndAllowThreads(__tstate);
493f1553 3929 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
3930} Py_INCREF(Py_None);
3931 _resultobj = Py_None;
8ab979d7
RD
3932 return _resultobj;
3933}
3934
c7e7022c
RD
3935#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3936static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3937 PyObject * _resultobj;
3938 long _result;
c7e7022c 3939 wxPyListCtrl * _arg0;
8ab979d7 3940 long _arg1;
c7e7022c
RD
3941 int _arg2 = (int ) (wxLIST_NEXT_ALL);
3942 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
1d99702e 3943 PyObject * _argo0 = 0;
c7e7022c 3944 char *_kwnames[] = { "self","item","geometry","state", NULL };
8ab979d7
RD
3945
3946 self = self;
c7e7022c 3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3948 return NULL;
1d99702e
RD
3949 if (_argo0) {
3950 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
3951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3953 return NULL;
3954 }
3955 }
3956{
4268f798 3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3958 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
c7e7022c 3959
4268f798 3960 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
3961 if (PyErr_Occurred()) return NULL;
3962} _resultobj = Py_BuildValue("l",_result);
3963 return _resultobj;
3964}
3965
3966#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3967static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3968 PyObject * _resultobj;
3969 wxImageList * _result;
3970 wxPyListCtrl * _arg0;
3971 int _arg1;
3972 PyObject * _argo0 = 0;
3973 char *_kwnames[] = { "self","which", NULL };
3974
3975 self = self;
3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
185d7c3e 3977 return NULL;
c7e7022c
RD
3978 if (_argo0) {
3979 if (_argo0 == Py_None) { _arg0 = NULL; }
3980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
8ab979d7 3982 return NULL;
c7e7022c 3983 }
8ab979d7 3984 }
cf694132 3985{
4268f798 3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3987 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
cf694132 3988
4268f798 3989 wxPyEndAllowThreads(__tstate);
493f1553 3990 if (PyErr_Occurred()) return NULL;
c7e7022c 3991}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3992 return _resultobj;
3993}
3994
c7e7022c
RD
3995#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3996static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3997 PyObject * _resultobj;
c7e7022c
RD
3998 wxPyListCtrl * _arg0;
3999 wxImageList * _arg1;
4000 int _arg2;
1d99702e
RD
4001 PyObject * _argo0 = 0;
4002 PyObject * _argo1 = 0;
c7e7022c 4003 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4004
4005 self = self;
c7e7022c 4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4007 return NULL;
1d99702e
RD
4008 if (_argo0) {
4009 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4012 return NULL;
4013 }
4014 }
1d99702e
RD
4015 if (_argo1) {
4016 if (_argo1 == Py_None) { _arg1 = NULL; }
c7e7022c
RD
4017 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4018 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
4019 return NULL;
4020 }
4021 }
cf694132 4022{
4268f798 4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4024 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132 4025
4268f798 4026 wxPyEndAllowThreads(__tstate);
493f1553 4027 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4028} Py_INCREF(Py_None);
4029 _resultobj = Py_None;
8ab979d7
RD
4030 return _resultobj;
4031}
4032
c7e7022c
RD
4033#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4034static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4035 PyObject * _resultobj;
c7e7022c
RD
4036 wxPyListCtrl * _arg0;
4037 wxImageList * _arg1;
4038 int _arg2;
1d99702e 4039 PyObject * _argo0 = 0;
c7e7022c
RD
4040 PyObject * _argo1 = 0;
4041 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4042
4043 self = self;
c7e7022c 4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4045 return NULL;
1d99702e
RD
4046 if (_argo0) {
4047 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4050 return NULL;
4051 }
4052 }
c7e7022c
RD
4053 if (_argo1) {
4054 if (_argo1 == Py_None) { _arg1 = NULL; }
4055 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4056 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
8ab979d7 4057 return NULL;
c7e7022c 4058 }
8ab979d7 4059 }
cf694132 4060{
4268f798 4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4062 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
cf694132 4063
4268f798 4064 wxPyEndAllowThreads(__tstate);
493f1553 4065 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4066} Py_INCREF(Py_None);
4067 _resultobj = Py_None;
8ab979d7
RD
4068 return _resultobj;
4069}
4070
c7e7022c
RD
4071#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4072static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4073 PyObject * _resultobj;
c7e7022c
RD
4074 bool _result;
4075 wxPyListCtrl * _arg0;
1d99702e 4076 PyObject * _argo0 = 0;
c7e7022c 4077 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4078
4079 self = self;
c7e7022c 4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
8ab979d7 4081 return NULL;
1d99702e
RD
4082 if (_argo0) {
4083 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4086 return NULL;
4087 }
4088 }
cf694132 4089{
4268f798 4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4091 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132 4092
4268f798 4093 wxPyEndAllowThreads(__tstate);
493f1553 4094 if (PyErr_Occurred()) return NULL;
c7e7022c 4095} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4096 return _resultobj;
4097}
4098
c7e7022c
RD
4099#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4100static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4101 PyObject * _resultobj;
c7e7022c 4102 wxPyListCtrl * _arg0;
8ab979d7 4103 long _arg1;
1d99702e 4104 PyObject * _argo0 = 0;
c7e7022c 4105 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4106
4107 self = self;
c7e7022c 4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4109 return NULL;
1d99702e
RD
4110 if (_argo0) {
4111 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4114 return NULL;
4115 }
4116 }
cf694132 4117{
4268f798 4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4119 wxListCtrl_RefreshItem(_arg0,_arg1);
cf694132 4120
4268f798 4121 wxPyEndAllowThreads(__tstate);
493f1553 4122 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4123} Py_INCREF(Py_None);
4124 _resultobj = Py_None;
8ab979d7
RD
4125 return _resultobj;
4126}
4127
c7e7022c
RD
4128#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4129static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4130 PyObject * _resultobj;
c7e7022c
RD
4131 wxPyListCtrl * _arg0;
4132 long _arg1;
4133 long _arg2;
1d99702e 4134 PyObject * _argo0 = 0;
c7e7022c 4135 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4136
4137 self = self;
c7e7022c 4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
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_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4144 return NULL;
4145 }
4146 }
cf694132 4147{
4268f798 4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4149 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
cf694132 4150
4268f798 4151 wxPyEndAllowThreads(__tstate);
493f1553 4152 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4153} Py_INCREF(Py_None);
4154 _resultobj = Py_None;
8ab979d7
RD
4155 return _resultobj;
4156}
4157
c7e7022c
RD
4158#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4159static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4160 PyObject * _resultobj;
c7e7022c
RD
4161 bool _result;
4162 wxPyListCtrl * _arg0;
4163 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
1d99702e 4164 PyObject * _argo0 = 0;
c7e7022c 4165 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
4166
4167 self = self;
c7e7022c 4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
8ab979d7 4169 return NULL;
1d99702e
RD
4170 if (_argo0) {
4171 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4174 return NULL;
4175 }
4176 }
cf694132 4177{
4268f798 4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4179 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132 4180
4268f798 4181 wxPyEndAllowThreads(__tstate);
493f1553 4182 if (PyErr_Occurred()) return NULL;
c7e7022c 4183} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4184 return _resultobj;
4185}
4186
c7e7022c
RD
4187#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4188static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4189 PyObject * _resultobj;
4190 bool _result;
c7e7022c
RD
4191 wxPyListCtrl * _arg0;
4192 long _arg1;
1d99702e 4193 PyObject * _argo0 = 0;
c7e7022c 4194 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4195
4196 self = self;
c7e7022c 4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
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_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4203 return NULL;
4204 }
4205 }
c7e7022c 4206{
4268f798 4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4208 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
c7e7022c 4209
4268f798 4210 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4211 if (PyErr_Occurred()) return NULL;
4212} _resultobj = Py_BuildValue("i",_result);
4213 return _resultobj;
4214}
4215
4216#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4217static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject * _resultobj;
4219 bool _result;
4220 wxPyListCtrl * _arg0;
4221 PyObject * _argo0 = 0;
4222 char *_kwnames[] = { "self", NULL };
4223
4224 self = self;
4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4226 return NULL;
4227 if (_argo0) {
4228 if (_argo0 == Py_None) { _arg0 = NULL; }
4229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4231 return NULL;
4232 }
4233 }
cf694132 4234{
4268f798 4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4236 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
cf694132 4237
4268f798 4238 wxPyEndAllowThreads(__tstate);
493f1553 4239 if (PyErr_Occurred()) return NULL;
cf694132 4240} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4241 return _resultobj;
4242}
4243
c7e7022c
RD
4244#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4245static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4246 PyObject * _resultobj;
4247 bool _result;
c7e7022c 4248 wxPyListCtrl * _arg0;
8ab979d7 4249 int _arg1;
1d99702e 4250 PyObject * _argo0 = 0;
c7e7022c 4251 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
4252
4253 self = self;
c7e7022c 4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 4255 return NULL;
1d99702e
RD
4256 if (_argo0) {
4257 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4260 return NULL;
4261 }
4262 }
cf694132 4263{
4268f798 4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4265 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
cf694132 4266
4268f798 4267 wxPyEndAllowThreads(__tstate);
493f1553 4268 if (PyErr_Occurred()) return NULL;
cf694132 4269} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4270 return _resultobj;
4271}
4272
c7e7022c
RD
4273#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4274static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4275 PyObject * _resultobj;
c7e7022c
RD
4276 bool _result;
4277 wxPyListCtrl * _arg0;
1d99702e 4278 PyObject * _argo0 = 0;
c7e7022c 4279 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4280
4281 self = self;
c7e7022c 4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
8ab979d7 4283 return NULL;
1d99702e
RD
4284 if (_argo0) {
4285 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4288 return NULL;
4289 }
4290 }
c7e7022c 4291{
4268f798 4292 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4293 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
c7e7022c 4294
4268f798 4295 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4296 if (PyErr_Occurred()) return NULL;
4297} _resultobj = Py_BuildValue("i",_result);
4298 return _resultobj;
4299}
4300
4301#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4302static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4303 PyObject * _resultobj;
4304 wxPyListCtrl * _arg0;
4305 PyObject * _argo0 = 0;
4306 char *_kwnames[] = { "self", NULL };
4307
4308 self = self;
4309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
4310 return NULL;
4311 if (_argo0) {
4312 if (_argo0 == Py_None) { _arg0 = NULL; }
4313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4315 return NULL;
4316 }
4317 }
cf694132 4318{
4268f798 4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4320 wxListCtrl_ClearAll(_arg0);
cf694132 4321
4268f798 4322 wxPyEndAllowThreads(__tstate);
493f1553 4323 if (PyErr_Occurred()) return NULL;
cf694132 4324} Py_INCREF(Py_None);
8ab979d7
RD
4325 _resultobj = Py_None;
4326 return _resultobj;
4327}
4328
c7e7022c
RD
4329#define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4330static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4331 PyObject * _resultobj;
4332 wxTextCtrl * _result;
4333 wxPyListCtrl * _arg0;
4334 long _arg1;
4335 PyObject * _argo0 = 0;
4336 char *_kwnames[] = { "self","item", NULL };
4337
4338 self = self;
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
4340 return NULL;
4341 if (_argo0) {
4342 if (_argo0 == Py_None) { _arg0 = NULL; }
4343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4345 return NULL;
4346 }
4347 }
4348{
4268f798 4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4350 _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1);
c7e7022c 4351
4268f798 4352 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4353 if (PyErr_Occurred()) return NULL;
4354}{ _resultobj = wxPyMake_wxObject(_result); }
4355 return _resultobj;
4356}
4357
4358#define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4359static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4360 PyObject * _resultobj;
4361 bool _result;
c7e7022c
RD
4362 wxPyListCtrl * _arg0;
4363 bool _arg1;
1d99702e 4364 PyObject * _argo0 = 0;
c7e7022c
RD
4365 int tempbool1;
4366 char *_kwnames[] = { "self","cancel", NULL };
8ab979d7
RD
4367
4368 self = self;
c7e7022c 4369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1))
8ab979d7 4370 return NULL;
1d99702e
RD
4371 if (_argo0) {
4372 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4375 return NULL;
4376 }
4377 }
c7e7022c
RD
4378 _arg1 = (bool ) tempbool1;
4379{
4268f798 4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4381 _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1);
c7e7022c 4382
4268f798 4383 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4384 if (PyErr_Occurred()) return NULL;
4385} _resultobj = Py_BuildValue("i",_result);
4386 return _resultobj;
4387}
4388
4389#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4390static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject * _resultobj;
4392 bool _result;
4393 wxPyListCtrl * _arg0;
4394 long _arg1;
4395 PyObject * _argo0 = 0;
4396 char *_kwnames[] = { "self","item", NULL };
4397
4398 self = self;
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
4400 return NULL;
4401 if (_argo0) {
4402 if (_argo0 == Py_None) { _arg0 = NULL; }
4403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4405 return NULL;
4406 }
4407 }
cf694132 4408{
4268f798 4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4410 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132 4411
4268f798 4412 wxPyEndAllowThreads(__tstate);
493f1553 4413 if (PyErr_Occurred()) return NULL;
cf694132 4414} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4415 return _resultobj;
4416}
4417
c7e7022c
RD
4418#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4419static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4420 PyObject * _resultobj;
4421 long _result;
c7e7022c 4422 wxPyListCtrl * _arg0;
8ab979d7 4423 long _arg1;
c7e7022c
RD
4424 wxString * _arg2;
4425 bool _arg3 = (bool ) FALSE;
1d99702e 4426 PyObject * _argo0 = 0;
c7e7022c
RD
4427 PyObject * _obj2 = 0;
4428 int tempbool3 = (int) FALSE;
4429 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4430
4431 self = self;
c7e7022c 4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4433 return NULL;
1d99702e
RD
4434 if (_argo0) {
4435 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4438 return NULL;
4439 }
4440 }
4441{
c8bc7bb8
RD
4442 _arg2 = wxString_in_helper(_obj2);
4443 if (_arg2 == NULL)
8ab979d7 4444 return NULL;
8ab979d7 4445}
c7e7022c 4446 _arg3 = (bool ) tempbool3;
cf694132 4447{
4268f798 4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4449 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4450
4268f798 4451 wxPyEndAllowThreads(__tstate);
493f1553 4452 if (PyErr_Occurred()) return NULL;
cf694132 4453} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4454{
c7e7022c
RD
4455 if (_obj2)
4456 delete _arg2;
8ab979d7
RD
4457}
4458 return _resultobj;
4459}
4460
c7e7022c
RD
4461#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4462static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4463 PyObject * _resultobj;
c7e7022c
RD
4464 long _result;
4465 wxPyListCtrl * _arg0;
8ab979d7
RD
4466 long _arg1;
4467 long _arg2;
1d99702e 4468 PyObject * _argo0 = 0;
c7e7022c 4469 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4470
4471 self = self;
c7e7022c 4472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4473 return NULL;
1d99702e
RD
4474 if (_argo0) {
4475 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4478 return NULL;
4479 }
4480 }
cf694132 4481{
4268f798 4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4483 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132 4484
4268f798 4485 wxPyEndAllowThreads(__tstate);
493f1553 4486 if (PyErr_Occurred()) return NULL;
c7e7022c 4487} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4488 return _resultobj;
4489}
4490
c7e7022c
RD
4491#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4492static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4493 PyObject * _resultobj;
c7e7022c
RD
4494 long _result;
4495 wxPyListCtrl * _arg0;
4496 long _arg1;
4497 wxPoint * _arg2;
4498 int _arg3;
4499 PyObject * _argo0 = 0;
4500 wxPoint temp;
4501 PyObject * _obj2 = 0;
4502 char *_kwnames[] = { "self","start","pt","direction", NULL };
4503
4504 self = self;
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
4506 return NULL;
4507 if (_argo0) {
4508 if (_argo0 == Py_None) { _arg0 = NULL; }
4509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4511 return NULL;
4512 }
4513 }
4514{
4515 _arg2 = &temp;
4516 if (! wxPoint_helper(_obj2, &_arg2))
4517 return NULL;
4518}
4519{
4268f798 4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4521 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
c7e7022c 4522
4268f798 4523 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4524 if (PyErr_Occurred()) return NULL;
4525} _resultobj = Py_BuildValue("l",_result);
4526 return _resultobj;
4527}
4528
4529#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4530static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4531 PyObject * _resultobj;
4532 long _result;
4533 wxPyListCtrl * _arg0;
4534 wxPoint * _arg1;
4535 int * _arg2;
4536 int temp;
4537 PyObject * _argo0 = 0;
4538 wxPoint temp0;
4539 PyObject * _obj1 = 0;
4540 char *_kwnames[] = { "self","point", NULL };
4541
4542 self = self;
4543{
4544 _arg2 = &temp;
4545}
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
4547 return NULL;
4548 if (_argo0) {
4549 if (_argo0 == Py_None) { _arg0 = NULL; }
4550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4552 return NULL;
4553 }
4554 }
4555{
4556 _arg1 = &temp0;
4557 if (! wxPoint_helper(_obj1, &_arg1))
4558 return NULL;
4559}
4560{
4268f798 4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4562 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
c7e7022c 4563
4268f798 4564 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4565 if (PyErr_Occurred()) return NULL;
4566} _resultobj = Py_BuildValue("l",_result);
4567{
4568 PyObject *o;
4569 o = PyInt_FromLong((long) (*_arg2));
4570 _resultobj = t_output_helper(_resultobj, o);
4571}
4572 return _resultobj;
4573}
4574
4575#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4576static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4577 PyObject * _resultobj;
4578 long _result;
4579 wxPyListCtrl * _arg0;
4580 wxListItem * _arg1;
4581 PyObject * _argo0 = 0;
4582 PyObject * _argo1 = 0;
4583 char *_kwnames[] = { "self","info", NULL };
4584
4585 self = self;
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
4587 return NULL;
4588 if (_argo0) {
4589 if (_argo0 == Py_None) { _arg0 = NULL; }
4590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4592 return NULL;
4593 }
4594 }
4595 if (_argo1) {
4596 if (_argo1 == Py_None) { _arg1 = NULL; }
4597 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
4598 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4599 return NULL;
4600 }
4601 }
4602{
4268f798 4603 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4604 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
c7e7022c 4605
4268f798 4606 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4607 if (PyErr_Occurred()) return NULL;
4608} _resultobj = Py_BuildValue("l",_result);
4609 return _resultobj;
4610}
4611
4612#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4613static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4614 PyObject * _resultobj;
4615 long _result;
4616 wxPyListCtrl * _arg0;
4617 long _arg1;
4618 wxString * _arg2;
4619 PyObject * _argo0 = 0;
4620 PyObject * _obj2 = 0;
4621 char *_kwnames[] = { "self","index","label", NULL };
4622
4623 self = self;
4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
4625 return NULL;
4626 if (_argo0) {
4627 if (_argo0 == Py_None) { _arg0 = NULL; }
4628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4630 return NULL;
4631 }
4632 }
4633{
c8bc7bb8
RD
4634 _arg2 = wxString_in_helper(_obj2);
4635 if (_arg2 == NULL)
c7e7022c 4636 return NULL;
c7e7022c
RD
4637}
4638{
4268f798 4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4640 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
c7e7022c 4641
4268f798 4642 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
4643 if (PyErr_Occurred()) return NULL;
4644} _resultobj = Py_BuildValue("l",_result);
4645{
4646 if (_obj2)
4647 delete _arg2;
4648}
4649 return _resultobj;
4650}
4651
4652#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4653static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject * _resultobj;
4655 long _result;
4656 wxPyListCtrl * _arg0;
8ab979d7
RD
4657 long _arg1;
4658 int _arg2;
1d99702e 4659 PyObject * _argo0 = 0;
c7e7022c 4660 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4661
4662 self = self;
c7e7022c 4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_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_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4669 return NULL;
4670 }
4671 }
cf694132 4672{
4268f798 4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4674 _result = (long )wxListCtrl_InsertImageItem(_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_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4683static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4684 PyObject * _resultobj;
c7e7022c
RD
4685 long _result;
4686 wxPyListCtrl * _arg0;
8ab979d7 4687 long _arg1;
c7e7022c
RD
4688 wxString * _arg2;
4689 int _arg3;
1d99702e 4690 PyObject * _argo0 = 0;
2f90df85 4691 PyObject * _obj2 = 0;
c7e7022c 4692 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4693
4694 self = self;
c7e7022c 4695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4696 return NULL;
1d99702e
RD
4697 if (_argo0) {
4698 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4701 return NULL;
4702 }
4703 }
2f90df85 4704{
c8bc7bb8
RD
4705 _arg2 = wxString_in_helper(_obj2);
4706 if (_arg2 == NULL)
8ab979d7 4707 return NULL;
2f90df85 4708}
cf694132 4709{
4268f798 4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4711 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4712
4268f798 4713 wxPyEndAllowThreads(__tstate);
493f1553 4714 if (PyErr_Occurred()) return NULL;
c7e7022c
RD
4715} _resultobj = Py_BuildValue("l",_result);
4716{
4717 if (_obj2)
4718 delete _arg2;
4719}
8ab979d7
RD
4720 return _resultobj;
4721}
4722
c7e7022c
RD
4723#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4724static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4725 PyObject * _resultobj;
c7e7022c
RD
4726 long _result;
4727 wxPyListCtrl * _arg0;
8ab979d7 4728 long _arg1;
c7e7022c 4729 wxListItem * _arg2;
1d99702e 4730 PyObject * _argo0 = 0;
c7e7022c
RD
4731 PyObject * _argo2 = 0;
4732 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4733
4734 self = self;
c7e7022c 4735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4736 return NULL;
1d99702e
RD
4737 if (_argo0) {
4738 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4741 return NULL;
4742 }
4743 }
4744 if (_argo2) {
4745 if (_argo2 == Py_None) { _arg2 = NULL; }
4746 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4747 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4748 return NULL;
4749 }
4750 }
cf694132 4751{
4268f798 4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4753 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132 4754
4268f798 4755 wxPyEndAllowThreads(__tstate);
493f1553 4756 if (PyErr_Occurred()) return NULL;
c7e7022c 4757} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4758 return _resultobj;
4759}
4760
c7e7022c
RD
4761#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4762static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4763 PyObject * _resultobj;
c7e7022c
RD
4764 long _result;
4765 wxPyListCtrl * _arg0;
8ab979d7
RD
4766 long _arg1;
4767 wxString * _arg2;
c7e7022c
RD
4768 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
4769 int _arg4 = (int ) -1;
1d99702e 4770 PyObject * _argo0 = 0;
8ab979d7 4771 PyObject * _obj2 = 0;
c7e7022c 4772 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
4773
4774 self = self;
c7e7022c 4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 4776 return NULL;
1d99702e
RD
4777 if (_argo0) {
4778 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4781 return NULL;
4782 }
4783 }
4784{
c8bc7bb8
RD
4785 _arg2 = wxString_in_helper(_obj2);
4786 if (_arg2 == NULL)
8ab979d7 4787 return NULL;
8ab979d7 4788}
cf694132 4789{
4268f798 4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4791 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132 4792
4268f798 4793 wxPyEndAllowThreads(__tstate);
493f1553 4794 if (PyErr_Occurred()) return NULL;
c7e7022c 4795} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4796{
4797 if (_obj2)
4798 delete _arg2;
4799}
4800 return _resultobj;
4801}
4802
c7e7022c
RD
4803#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4804static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4805 PyObject * _resultobj;
c7e7022c 4806 wxPyListCtrl * _arg0;
8ab979d7 4807 long _arg1;
1d99702e 4808 PyObject * _argo0 = 0;
c7e7022c 4809 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
4810
4811 self = self;
c7e7022c 4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 4813 return NULL;
1d99702e
RD
4814 if (_argo0) {
4815 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4818 return NULL;
4819 }
4820 }
cf694132 4821{
4268f798 4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4823 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132 4824
4268f798 4825 wxPyEndAllowThreads(__tstate);
493f1553 4826 if (PyErr_Occurred()) return NULL;
cf694132 4827} Py_INCREF(Py_None);
8ab979d7
RD
4828 _resultobj = Py_None;
4829 return _resultobj;
4830}
4831
c7e7022c
RD
4832#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4833static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4834 PyObject * _resultobj;
c7e7022c
RD
4835 bool _result;
4836 wxPyListCtrl * _arg0;
4837 int _arg1;
4838 int _arg2;
1d99702e 4839 PyObject * _argo0 = 0;
c7e7022c 4840 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
4841
4842 self = self;
c7e7022c 4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4844 return NULL;
1d99702e
RD
4845 if (_argo0) {
4846 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
4847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4849 return NULL;
4850 }
4851 }
cf694132 4852{
4268f798 4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4854 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132 4855
4268f798 4856 wxPyEndAllowThreads(__tstate);
493f1553 4857 if (PyErr_Occurred()) return NULL;
c7e7022c 4858} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4859 return _resultobj;
4860}
4861
3bd1e033
RD
4862#define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4863static PyObject *_wrap_wxListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4864 PyObject * _resultobj;
4865 wxPyListCtrl * _arg0;
4866 long _arg1;
4867 wxColour * _arg2;
4868 PyObject * _argo0 = 0;
4869 wxColour temp;
4870 PyObject * _obj2 = 0;
4871 char *_kwnames[] = { "self","item","col", NULL };
4872
4873 self = self;
4874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemTextColour",_kwnames,&_argo0,&_arg1,&_obj2))
4875 return NULL;
4876 if (_argo0) {
4877 if (_argo0 == Py_None) { _arg0 = NULL; }
4878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4880 return NULL;
4881 }
4882 }
4883{
4884 _arg2 = &temp;
4885 if (! wxColour_helper(_obj2, &_arg2))
4886 return NULL;
4887}
4888{
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 wxListCtrl_SetItemTextColour(_arg0,_arg1,*_arg2);
4891
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) return NULL;
4894} Py_INCREF(Py_None);
4895 _resultobj = Py_None;
4896 return _resultobj;
4897}
4898
4899#define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4900static PyObject *_wrap_wxListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4901 PyObject * _resultobj;
4902 wxColour * _result;
4903 wxPyListCtrl * _arg0;
4904 long _arg1;
4905 PyObject * _argo0 = 0;
4906 char *_kwnames[] = { "self","item", NULL };
4907 char _ptemp[128];
4908
4909 self = self;
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemTextColour",_kwnames,&_argo0,&_arg1))
4911 return NULL;
4912 if (_argo0) {
4913 if (_argo0 == Py_None) { _arg0 = NULL; }
4914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4916 return NULL;
4917 }
4918 }
4919{
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 _result = new wxColour (wxListCtrl_GetItemTextColour(_arg0,_arg1));
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) return NULL;
4925} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4926 _resultobj = Py_BuildValue("s",_ptemp);
4927 return _resultobj;
4928}
4929
4930#define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4931static PyObject *_wrap_wxListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4932 PyObject * _resultobj;
4933 wxPyListCtrl * _arg0;
4934 long _arg1;
4935 wxColour * _arg2;
4936 PyObject * _argo0 = 0;
4937 wxColour temp;
4938 PyObject * _obj2 = 0;
4939 char *_kwnames[] = { "self","item","col", NULL };
4940
4941 self = self;
4942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_arg1,&_obj2))
4943 return NULL;
4944 if (_argo0) {
4945 if (_argo0 == Py_None) { _arg0 = NULL; }
4946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4948 return NULL;
4949 }
4950 }
4951{
4952 _arg2 = &temp;
4953 if (! wxColour_helper(_obj2, &_arg2))
4954 return NULL;
4955}
4956{
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 wxListCtrl_SetItemBackgroundColour(_arg0,_arg1,*_arg2);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) return NULL;
4962} Py_INCREF(Py_None);
4963 _resultobj = Py_None;
4964 return _resultobj;
4965}
4966
4967#define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4968static PyObject *_wrap_wxListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4969 PyObject * _resultobj;
4970 wxColour * _result;
4971 wxPyListCtrl * _arg0;
4972 long _arg1;
4973 PyObject * _argo0 = 0;
4974 char *_kwnames[] = { "self","item", NULL };
4975 char _ptemp[128];
4976
4977 self = self;
4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames,&_argo0,&_arg1))
4979 return NULL;
4980 if (_argo0) {
4981 if (_argo0 == Py_None) { _arg0 = NULL; }
4982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4984 return NULL;
4985 }
4986 }
4987{
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 _result = new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0,_arg1));
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) return NULL;
4993} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4994 _resultobj = Py_BuildValue("s",_ptemp);
4995 return _resultobj;
4996}
4997
c7e7022c 4998static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
4999 if (!PyCallable_Check(func))
5000 return FALSE;
f6bcfd97 5001 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
5002 }
5003static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5004 PyObject * _resultobj;
5005 bool _result;
c7e7022c 5006 wxPyListCtrl * _arg0;
dcd38683
RD
5007 PyObject * _arg1;
5008 PyObject * _argo0 = 0;
5009 PyObject * _obj1 = 0;
5010 char *_kwnames[] = { "self","func", NULL };
5011
5012 self = self;
5013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
5014 return NULL;
5015 if (_argo0) {
5016 if (_argo0 == Py_None) { _arg0 = NULL; }
c7e7022c
RD
5017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
5019 return NULL;
5020 }
5021 }
5022{
5023 _arg1 = _obj1;
5024}
5025{
4268f798 5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5027 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683 5028
4268f798 5029 wxPyEndAllowThreads(__tstate);
493f1553 5030 if (PyErr_Occurred()) return NULL;
dcd38683
RD
5031} _resultobj = Py_BuildValue("i",_result);
5032 return _resultobj;
5033}
5034
6af85fcd
RD
5035static wxWindow * wxPyListCtrl_GetMainWindow(wxPyListCtrl *self) {
5036 #ifdef __WXMSW__
5037 return self;
5038 #else
032b1ef1 5039 return (wxWindow*)self->m_mainWin;
6af85fcd
RD
5040 #endif
5041 }
5042static PyObject *_wrap_wxListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject * _resultobj;
5044 wxWindow * _result;
5045 wxPyListCtrl * _arg0;
5046 PyObject * _argo0 = 0;
5047 char *_kwnames[] = { "self", NULL };
5048
5049 self = self;
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetMainWindow",_kwnames,&_argo0))
5051 return NULL;
5052 if (_argo0) {
5053 if (_argo0 == Py_None) { _arg0 = NULL; }
5054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetMainWindow. Expected _wxPyListCtrl_p.");
5056 return NULL;
5057 }
5058 }
5059{
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 _result = (wxWindow *)wxPyListCtrl_GetMainWindow(_arg0);
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) return NULL;
5065}{ _resultobj = wxPyMake_wxObject(_result); }
5066 return _resultobj;
5067}
5068
6d19860f
RD
5069static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5070 wxListView *src;
5071 wxPyListCtrl *dest;
5072 src = (wxListView *) ptr;
5073 dest = (wxPyListCtrl *) src;
5074 return (void *) dest;
5075}
5076
5077static void *SwigwxListViewTowxControl(void *ptr) {
5078 wxListView *src;
5079 wxControl *dest;
5080 src = (wxListView *) ptr;
5081 dest = (wxControl *) src;
5082 return (void *) dest;
5083}
5084
5085static void *SwigwxListViewTowxWindow(void *ptr) {
5086 wxListView *src;
5087 wxWindow *dest;
5088 src = (wxListView *) ptr;
5089 dest = (wxWindow *) src;
5090 return (void *) dest;
5091}
5092
5093static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5094 wxListView *src;
5095 wxEvtHandler *dest;
5096 src = (wxListView *) ptr;
5097 dest = (wxEvtHandler *) src;
5098 return (void *) dest;
5099}
5100
5101static void *SwigwxListViewTowxObject(void *ptr) {
5102 wxListView *src;
5103 wxObject *dest;
5104 src = (wxListView *) ptr;
5105 dest = (wxObject *) src;
5106 return (void *) dest;
5107}
5108
5109#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5110static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject * _resultobj;
5112 wxListView * _result;
5113 wxWindow * _arg0;
5114 wxWindowID _arg1 = (wxWindowID ) -1;
5115 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5116 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5117 long _arg4 = (long ) (wxLC_REPORT);
5118 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 5119 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
6d19860f
RD
5120 PyObject * _argo0 = 0;
5121 wxPoint temp;
5122 PyObject * _obj2 = 0;
5123 wxSize temp0;
5124 PyObject * _obj3 = 0;
5125 PyObject * _argo5 = 0;
5126 PyObject * _obj6 = 0;
5127 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5128 char _ptemp[128];
5129
5130 self = self;
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5132 return NULL;
5133 if (_argo0) {
5134 if (_argo0 == Py_None) { _arg0 = NULL; }
5135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5137 return NULL;
5138 }
5139 }
5140 if (_obj2)
5141{
5142 _arg2 = &temp;
5143 if (! wxPoint_helper(_obj2, &_arg2))
5144 return NULL;
5145}
5146 if (_obj3)
5147{
5148 _arg3 = &temp0;
5149 if (! wxSize_helper(_obj3, &_arg3))
5150 return NULL;
5151}
5152 if (_argo5) {
5153 if (_argo5 == Py_None) { _arg5 = NULL; }
5154 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5155 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5156 return NULL;
5157 }
5158 }
5159 if (_obj6)
5160{
c8bc7bb8
RD
5161 _arg6 = wxString_in_helper(_obj6);
5162 if (_arg6 == NULL)
6d19860f 5163 return NULL;
6d19860f
RD
5164}
5165{
4268f798 5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5167 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
6d19860f 5168
4268f798 5169 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5170 if (PyErr_Occurred()) return NULL;
5171} if (_result) {
5172 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5173 _resultobj = Py_BuildValue("s",_ptemp);
5174 } else {
5175 Py_INCREF(Py_None);
5176 _resultobj = Py_None;
5177 }
5178{
5179 if (_obj6)
5180 delete _arg6;
5181}
5182 return _resultobj;
5183}
5184
5185#define new_wxPreListView() (new wxListView())
5186static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5187 PyObject * _resultobj;
5188 wxListView * _result;
5189 char *_kwnames[] = { NULL };
5190 char _ptemp[128];
5191
5192 self = self;
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5194 return NULL;
5195{
4268f798 5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5197 _result = (wxListView *)new_wxPreListView();
6d19860f 5198
4268f798 5199 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5200 if (PyErr_Occurred()) return NULL;
5201} if (_result) {
5202 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5203 _resultobj = Py_BuildValue("s",_ptemp);
5204 } else {
5205 Py_INCREF(Py_None);
5206 _resultobj = Py_None;
5207 }
5208 return _resultobj;
5209}
5210
5211#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5212static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject * _resultobj;
5214 bool _result;
5215 wxListView * _arg0;
5216 wxWindow * _arg1;
5217 wxWindowID _arg2 = (wxWindowID ) -1;
5218 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5219 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5220 long _arg5 = (long ) (wxLC_REPORT);
5221 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 5222 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
6d19860f
RD
5223 PyObject * _argo0 = 0;
5224 PyObject * _argo1 = 0;
5225 wxPoint temp;
5226 PyObject * _obj3 = 0;
5227 wxSize temp0;
5228 PyObject * _obj4 = 0;
5229 PyObject * _argo6 = 0;
5230 PyObject * _obj7 = 0;
5231 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5232
5233 self = self;
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5235 return NULL;
5236 if (_argo0) {
5237 if (_argo0 == Py_None) { _arg0 = NULL; }
5238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5240 return NULL;
5241 }
5242 }
5243 if (_argo1) {
5244 if (_argo1 == Py_None) { _arg1 = NULL; }
5245 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5246 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5247 return NULL;
5248 }
5249 }
5250 if (_obj3)
5251{
5252 _arg3 = &temp;
5253 if (! wxPoint_helper(_obj3, &_arg3))
5254 return NULL;
5255}
5256 if (_obj4)
5257{
5258 _arg4 = &temp0;
5259 if (! wxSize_helper(_obj4, &_arg4))
5260 return NULL;
5261}
5262 if (_argo6) {
5263 if (_argo6 == Py_None) { _arg6 = NULL; }
5264 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5265 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5266 return NULL;
5267 }
5268 }
5269 if (_obj7)
5270{
c8bc7bb8
RD
5271 _arg7 = wxString_in_helper(_obj7);
5272 if (_arg7 == NULL)
6d19860f 5273 return NULL;
6d19860f
RD
5274}
5275{
4268f798 5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5277 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
6d19860f 5278
4268f798 5279 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5280 if (PyErr_Occurred()) return NULL;
5281} _resultobj = Py_BuildValue("i",_result);
5282{
5283 if (_obj7)
5284 delete _arg7;
5285}
5286 return _resultobj;
5287}
5288
5289#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5290static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject * _resultobj;
5292 wxListView * _arg0;
5293 long _arg1;
5294 bool _arg2 = (bool ) TRUE;
5295 PyObject * _argo0 = 0;
5296 int tempbool2 = (int) TRUE;
5297 char *_kwnames[] = { "self","n","on", NULL };
5298
5299 self = self;
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5301 return NULL;
5302 if (_argo0) {
5303 if (_argo0 == Py_None) { _arg0 = NULL; }
5304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5306 return NULL;
5307 }
5308 }
5309 _arg2 = (bool ) tempbool2;
5310{
4268f798 5311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5312 wxListView_Select(_arg0,_arg1,_arg2);
6d19860f 5313
4268f798 5314 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5315 if (PyErr_Occurred()) return NULL;
5316} Py_INCREF(Py_None);
5317 _resultobj = Py_None;
5318 return _resultobj;
5319}
5320
5321#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5322static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5323 PyObject * _resultobj;
5324 wxListView * _arg0;
5325 long _arg1;
5326 PyObject * _argo0 = 0;
5327 char *_kwnames[] = { "self","index", NULL };
5328
5329 self = self;
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5331 return NULL;
5332 if (_argo0) {
5333 if (_argo0 == Py_None) { _arg0 = NULL; }
5334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5336 return NULL;
5337 }
5338 }
5339{
4268f798 5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5341 wxListView_Focus(_arg0,_arg1);
6d19860f 5342
4268f798 5343 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5344 if (PyErr_Occurred()) return NULL;
5345} Py_INCREF(Py_None);
5346 _resultobj = Py_None;
5347 return _resultobj;
5348}
5349
5350#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5351static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5352 PyObject * _resultobj;
5353 long _result;
5354 wxListView * _arg0;
5355 PyObject * _argo0 = 0;
5356 char *_kwnames[] = { "self", NULL };
5357
5358 self = self;
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5360 return NULL;
5361 if (_argo0) {
5362 if (_argo0 == Py_None) { _arg0 = NULL; }
5363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5365 return NULL;
5366 }
5367 }
5368{
4268f798 5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5370 _result = (long )wxListView_GetFocusedItem(_arg0);
6d19860f 5371
4268f798 5372 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5373 if (PyErr_Occurred()) return NULL;
5374} _resultobj = Py_BuildValue("l",_result);
5375 return _resultobj;
5376}
5377
5378#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5379static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5380 PyObject * _resultobj;
5381 long _result;
5382 wxListView * _arg0;
5383 long _arg1;
5384 PyObject * _argo0 = 0;
5385 char *_kwnames[] = { "self","item", NULL };
5386
5387 self = self;
5388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5389 return NULL;
5390 if (_argo0) {
5391 if (_argo0 == Py_None) { _arg0 = NULL; }
5392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5394 return NULL;
5395 }
5396 }
5397{
4268f798 5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5399 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
6d19860f 5400
4268f798 5401 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5402 if (PyErr_Occurred()) return NULL;
5403} _resultobj = Py_BuildValue("l",_result);
5404 return _resultobj;
5405}
5406
5407#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5408static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5409 PyObject * _resultobj;
5410 long _result;
5411 wxListView * _arg0;
5412 PyObject * _argo0 = 0;
5413 char *_kwnames[] = { "self", NULL };
5414
5415 self = self;
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5417 return NULL;
5418 if (_argo0) {
5419 if (_argo0 == Py_None) { _arg0 = NULL; }
5420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5422 return NULL;
5423 }
5424 }
5425{
4268f798 5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5427 _result = (long )wxListView_GetFirstSelected(_arg0);
6d19860f 5428
4268f798 5429 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5430 if (PyErr_Occurred()) return NULL;
5431} _resultobj = Py_BuildValue("l",_result);
5432 return _resultobj;
5433}
5434
5435#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5436static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject * _resultobj;
5438 bool _result;
5439 wxListView * _arg0;
5440 long _arg1;
5441 PyObject * _argo0 = 0;
5442 char *_kwnames[] = { "self","index", NULL };
5443
5444 self = self;
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5446 return NULL;
5447 if (_argo0) {
5448 if (_argo0 == Py_None) { _arg0 = NULL; }
5449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5451 return NULL;
5452 }
5453 }
5454{
4268f798 5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5456 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
6d19860f 5457
4268f798 5458 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5459 if (PyErr_Occurred()) return NULL;
5460} _resultobj = Py_BuildValue("i",_result);
5461 return _resultobj;
5462}
5463
5464#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5465static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5466 PyObject * _resultobj;
5467 wxListView * _arg0;
5468 int _arg1;
5469 int _arg2;
5470 PyObject * _argo0 = 0;
5471 char *_kwnames[] = { "self","col","image", NULL };
5472
5473 self = self;
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5475 return NULL;
5476 if (_argo0) {
5477 if (_argo0 == Py_None) { _arg0 = NULL; }
5478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5480 return NULL;
5481 }
5482 }
5483{
4268f798 5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5485 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
6d19860f 5486
4268f798 5487 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5488 if (PyErr_Occurred()) return NULL;
5489} Py_INCREF(Py_None);
5490 _resultobj = Py_None;
5491 return _resultobj;
5492}
5493
5494#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5495static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject * _resultobj;
5497 wxListView * _arg0;
5498 int _arg1;
5499 PyObject * _argo0 = 0;
5500 char *_kwnames[] = { "self","col", NULL };
5501
5502 self = self;
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5504 return NULL;
5505 if (_argo0) {
5506 if (_argo0 == Py_None) { _arg0 = NULL; }
5507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5509 return NULL;
5510 }
5511 }
5512{
4268f798 5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5514 wxListView_ClearColumnImage(_arg0,_arg1);
6d19860f 5515
4268f798 5516 wxPyEndAllowThreads(__tstate);
6d19860f
RD
5517 if (PyErr_Occurred()) return NULL;
5518} Py_INCREF(Py_None);
5519 _resultobj = Py_None;
5520 return _resultobj;
5521}
5522
00b6c4e3
RD
5523#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5524static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject * _resultobj;
5526 wxTreeItemAttr * _result;
5527 wxColour * _arg0 = (wxColour *) &wxNullColour;
5528 wxColour * _arg1 = (wxColour *) &wxNullColour;
5529 wxFont * _arg2 = (wxFont *) &wxNullFont;
5530 wxColour temp;
5531 PyObject * _obj0 = 0;
5532 wxColour temp0;
5533 PyObject * _obj1 = 0;
5534 PyObject * _argo2 = 0;
5535 char *_kwnames[] = { "colText","colBack","font", NULL };
5536 char _ptemp[128];
5537
5538 self = self;
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5540 return NULL;
5541 if (_obj0)
5542{
5543 _arg0 = &temp;
5544 if (! wxColour_helper(_obj0, &_arg0))
5545 return NULL;
5546}
5547 if (_obj1)
5548{
5549 _arg1 = &temp0;
5550 if (! wxColour_helper(_obj1, &_arg1))
5551 return NULL;
5552}
5553 if (_argo2) {
5554 if (_argo2 == Py_None) { _arg2 = NULL; }
5555 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5556 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5557 return NULL;
5558 }
5559 }
5560{
4268f798 5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5562 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
00b6c4e3 5563
4268f798 5564 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5565 if (PyErr_Occurred()) return NULL;
5566} if (_result) {
5567 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
5568 _resultobj = Py_BuildValue("s",_ptemp);
5569 } else {
5570 Py_INCREF(Py_None);
5571 _resultobj = Py_None;
5572 }
5573 return _resultobj;
5574}
5575
5576#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5577static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject * _resultobj;
5579 wxTreeItemAttr * _arg0;
5580 wxColour * _arg1;
5581 PyObject * _argo0 = 0;
5582 wxColour temp;
5583 PyObject * _obj1 = 0;
5584 char *_kwnames[] = { "self","colText", NULL };
5585
5586 self = self;
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5588 return NULL;
5589 if (_argo0) {
5590 if (_argo0 == Py_None) { _arg0 = NULL; }
5591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5593 return NULL;
5594 }
5595 }
5596{
5597 _arg1 = &temp;
5598 if (! wxColour_helper(_obj1, &_arg1))
5599 return NULL;
5600}
5601{
4268f798 5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5603 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
00b6c4e3 5604
4268f798 5605 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5606 if (PyErr_Occurred()) return NULL;
5607} Py_INCREF(Py_None);
5608 _resultobj = Py_None;
5609 return _resultobj;
5610}
5611
5612#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5613static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject * _resultobj;
5615 wxTreeItemAttr * _arg0;
5616 wxColour * _arg1;
5617 PyObject * _argo0 = 0;
5618 wxColour temp;
5619 PyObject * _obj1 = 0;
5620 char *_kwnames[] = { "self","colBack", NULL };
5621
5622 self = self;
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5624 return NULL;
5625 if (_argo0) {
5626 if (_argo0 == Py_None) { _arg0 = NULL; }
5627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5629 return NULL;
5630 }
5631 }
5632{
5633 _arg1 = &temp;
5634 if (! wxColour_helper(_obj1, &_arg1))
5635 return NULL;
5636}
5637{
4268f798 5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5639 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
00b6c4e3 5640
4268f798 5641 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5642 if (PyErr_Occurred()) return NULL;
5643} Py_INCREF(Py_None);
5644 _resultobj = Py_None;
5645 return _resultobj;
5646}
5647
5648#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5649static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5650 PyObject * _resultobj;
5651 wxTreeItemAttr * _arg0;
5652 wxFont * _arg1;
5653 PyObject * _argo0 = 0;
5654 PyObject * _argo1 = 0;
5655 char *_kwnames[] = { "self","font", NULL };
5656
5657 self = self;
5658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
5659 return NULL;
5660 if (_argo0) {
5661 if (_argo0 == Py_None) { _arg0 = NULL; }
5662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5664 return NULL;
5665 }
5666 }
5667 if (_argo1) {
5668 if (_argo1 == Py_None) { _arg1 = NULL; }
5669 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5670 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5671 return NULL;
5672 }
5673 }
5674{
4268f798 5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5676 wxTreeItemAttr_SetFont(_arg0,*_arg1);
00b6c4e3 5677
4268f798 5678 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5679 if (PyErr_Occurred()) return NULL;
5680} Py_INCREF(Py_None);
5681 _resultobj = Py_None;
5682 return _resultobj;
5683}
5684
5685#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5686static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5687 PyObject * _resultobj;
5688 bool _result;
5689 wxTreeItemAttr * _arg0;
5690 PyObject * _argo0 = 0;
5691 char *_kwnames[] = { "self", NULL };
5692
5693 self = self;
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
5695 return NULL;
5696 if (_argo0) {
5697 if (_argo0 == Py_None) { _arg0 = NULL; }
5698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5700 return NULL;
5701 }
5702 }
5703{
4268f798 5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5705 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
00b6c4e3 5706
4268f798 5707 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5708 if (PyErr_Occurred()) return NULL;
5709} _resultobj = Py_BuildValue("i",_result);
5710 return _resultobj;
5711}
5712
5713#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5714static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject * _resultobj;
5716 bool _result;
5717 wxTreeItemAttr * _arg0;
5718 PyObject * _argo0 = 0;
5719 char *_kwnames[] = { "self", NULL };
5720
5721 self = self;
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
5723 return NULL;
5724 if (_argo0) {
5725 if (_argo0 == Py_None) { _arg0 = NULL; }
5726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5728 return NULL;
5729 }
5730 }
5731{
4268f798 5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5733 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
00b6c4e3 5734
4268f798 5735 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5736 if (PyErr_Occurred()) return NULL;
5737} _resultobj = Py_BuildValue("i",_result);
5738 return _resultobj;
5739}
5740
5741#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5742static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject * _resultobj;
5744 bool _result;
5745 wxTreeItemAttr * _arg0;
5746 PyObject * _argo0 = 0;
5747 char *_kwnames[] = { "self", NULL };
5748
5749 self = self;
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
5751 return NULL;
5752 if (_argo0) {
5753 if (_argo0 == Py_None) { _arg0 = NULL; }
5754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5756 return NULL;
5757 }
5758 }
5759{
4268f798 5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5761 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
00b6c4e3 5762
4268f798 5763 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
5764 if (PyErr_Occurred()) return NULL;
5765} _resultobj = Py_BuildValue("i",_result);
5766 return _resultobj;
5767}
5768
5769#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5770static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject * _resultobj;
5772 wxColour * _result;
5773 wxTreeItemAttr * _arg0;
5774 PyObject * _argo0 = 0;
5775 char *_kwnames[] = { "self", NULL };
5776 char _ptemp[128];
5777
5778 self = self;
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
5780 return NULL;
5781 if (_argo0) {
5782 if (_argo0 == Py_None) { _arg0 = NULL; }
5783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5785 return NULL;
5786 }
5787 }
5788{
4268f798 5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5790 _result = new wxColour (wxTreeItemAttr_GetTextColour(_arg0));
00b6c4e3 5791
4268f798 5792 wxPyEndAllowThreads(__tstate);
00b6c4e3 5793 if (PyErr_Occurred()) return NULL;
c5943253
RD
5794} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5795 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5796 return _resultobj;
5797}
5798
5799#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5800static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5801 PyObject * _resultobj;
5802 wxColour * _result;
5803 wxTreeItemAttr * _arg0;
5804 PyObject * _argo0 = 0;
5805 char *_kwnames[] = { "self", NULL };
5806 char _ptemp[128];
5807
5808 self = self;
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5810 return NULL;
5811 if (_argo0) {
5812 if (_argo0 == Py_None) { _arg0 = NULL; }
5813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5815 return NULL;
5816 }
5817 }
5818{
4268f798 5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5820 _result = new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0));
00b6c4e3 5821
4268f798 5822 wxPyEndAllowThreads(__tstate);
00b6c4e3 5823 if (PyErr_Occurred()) return NULL;
c5943253
RD
5824} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5825 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5826 return _resultobj;
5827}
5828
5829#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5830static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5831 PyObject * _resultobj;
5832 wxFont * _result;
5833 wxTreeItemAttr * _arg0;
5834 PyObject * _argo0 = 0;
5835 char *_kwnames[] = { "self", NULL };
5836 char _ptemp[128];
5837
5838 self = self;
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5840 return NULL;
5841 if (_argo0) {
5842 if (_argo0 == Py_None) { _arg0 = NULL; }
5843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5845 return NULL;
5846 }
5847 }
5848{
4268f798 5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5850 _result = new wxFont (wxTreeItemAttr_GetFont(_arg0));
00b6c4e3 5851
4268f798 5852 wxPyEndAllowThreads(__tstate);
00b6c4e3 5853 if (PyErr_Occurred()) return NULL;
c5943253
RD
5854} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5855 _resultobj = Py_BuildValue("s",_ptemp);
00b6c4e3
RD
5856 return _resultobj;
5857}
5858
d5c9047a 5859#define new_wxTreeItemId() (new wxTreeItemId())
efc5f224 5860static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5861 PyObject * _resultobj;
d5c9047a 5862 wxTreeItemId * _result;
efc5f224 5863 char *_kwnames[] = { NULL };
d5c9047a 5864 char _ptemp[128];
8ab979d7
RD
5865
5866 self = self;
efc5f224 5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
8ab979d7 5868 return NULL;
cf694132 5869{
4268f798 5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5871 _result = (wxTreeItemId *)new_wxTreeItemId();
cf694132 5872
4268f798 5873 wxPyEndAllowThreads(__tstate);
493f1553 5874 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5875} if (_result) {
5876 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5877 _resultobj = Py_BuildValue("s",_ptemp);
5878 } else {
5879 Py_INCREF(Py_None);
5880 _resultobj = Py_None;
5881 }
8ab979d7
RD
5882 return _resultobj;
5883}
5884
d5c9047a 5885#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
efc5f224 5886static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5887 PyObject * _resultobj;
d5c9047a 5888 wxTreeItemId * _arg0;
1d99702e 5889 PyObject * _argo0 = 0;
efc5f224 5890 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5891
5892 self = self;
efc5f224 5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
8ab979d7 5894 return NULL;
1d99702e
RD
5895 if (_argo0) {
5896 if (_argo0 == Py_None) { _arg0 = NULL; }
5897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
8ab979d7
RD
5899 return NULL;
5900 }
5901 }
cf694132 5902{
4268f798 5903 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5904 delete_wxTreeItemId(_arg0);
cf694132 5905
4268f798 5906 wxPyEndAllowThreads(__tstate);
493f1553 5907 if (PyErr_Occurred()) return NULL;
cf694132 5908} Py_INCREF(Py_None);
d5c9047a 5909 _resultobj = Py_None;
8ab979d7
RD
5910 return _resultobj;
5911}
5912
d5c9047a 5913#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
efc5f224 5914static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5915 PyObject * _resultobj;
d5c9047a
RD
5916 bool _result;
5917 wxTreeItemId * _arg0;
1d99702e 5918 PyObject * _argo0 = 0;
efc5f224 5919 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5920
5921 self = self;
efc5f224 5922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
8ab979d7 5923 return NULL;
1d99702e
RD
5924 if (_argo0) {
5925 if (_argo0 == Py_None) { _arg0 = NULL; }
5926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 5927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
8ab979d7
RD
5928 return NULL;
5929 }
5930 }
cf694132 5931{
4268f798 5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5933 _result = (bool )wxTreeItemId_IsOk(_arg0);
cf694132 5934
4268f798 5935 wxPyEndAllowThreads(__tstate);
493f1553 5936 if (PyErr_Occurred()) return NULL;
cf694132 5937} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5938 return _resultobj;
5939}
5940
f6bcfd97 5941static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
c368d904 5942 if (! other) return -1;
f6bcfd97
BP
5943 return *self != *other;
5944 }
5945static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
5946 PyObject * _resultobj;
5947 int _result;
5948 wxTreeItemId * _arg0;
5949 wxTreeItemId * _arg1;
5950 PyObject * _argo0 = 0;
5951 PyObject * _argo1 = 0;
5952 char *_kwnames[] = { "self","other", NULL };
5953
5954 self = self;
5955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
5956 return NULL;
5957 if (_argo0) {
5958 if (_argo0 == Py_None) { _arg0 = NULL; }
5959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5961 return NULL;
5962 }
5963 }
5964 if (_argo1) {
5965 if (_argo1 == Py_None) { _arg1 = NULL; }
5966 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5967 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5968 return NULL;
5969 }
5970 }
5971{
4268f798 5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5973 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
f6bcfd97 5974
4268f798 5975 wxPyEndAllowThreads(__tstate);
493f1553 5976 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
5977} _resultobj = Py_BuildValue("i",_result);
5978 return _resultobj;
5979}
5980
9416aa89
RD
5981static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
5982 wxPyTreeItemData *src;
5983 wxObject *dest;
5984 src = (wxPyTreeItemData *) ptr;
5985 dest = (wxObject *) src;
5986 return (void *) dest;
5987}
5988
cf694132 5989#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
efc5f224 5990static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5991 PyObject * _resultobj;
cf694132 5992 wxPyTreeItemData * _result;
1d99702e 5993 PyObject * _arg0 = (PyObject *) NULL;
cf694132 5994 PyObject * _obj0 = 0;
efc5f224 5995 char *_kwnames[] = { "obj", NULL };
d5c9047a 5996 char _ptemp[128];
8ab979d7
RD
5997
5998 self = self;
efc5f224 5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
8ab979d7 6000 return NULL;
cf694132
RD
6001 if (_obj0)
6002{
6003 _arg0 = _obj0;
6004}
6005{
4268f798 6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6007 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
cf694132 6008
4268f798 6009 wxPyEndAllowThreads(__tstate);
493f1553 6010 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6011} if (_result) {
6012 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
6013 _resultobj = Py_BuildValue("s",_ptemp);
6014 } else {
6015 Py_INCREF(Py_None);
6016 _resultobj = Py_None;
6017 }
8ab979d7
RD
6018 return _resultobj;
6019}
6020
cf694132 6021#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
efc5f224 6022static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
6023 PyObject * _resultobj;
6024 PyObject * _result;
6025 wxPyTreeItemData * _arg0;
1d99702e 6026 PyObject * _argo0 = 0;
efc5f224 6027 char *_kwnames[] = { "self", NULL };
cf694132
RD
6028
6029 self = self;
efc5f224 6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
cf694132 6031 return NULL;
1d99702e
RD
6032 if (_argo0) {
6033 if (_argo0 == Py_None) { _arg0 = NULL; }
6034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132
RD
6035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6036 return NULL;
6037 }
6038 }
6039{
4268f798 6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6041 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
cf694132 6042
4268f798 6043 wxPyEndAllowThreads(__tstate);
493f1553 6044 if (PyErr_Occurred()) return NULL;
cf694132
RD
6045}{
6046 _resultobj = _result;
6047}
6048 return _resultobj;
6049}
6050
6051#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
efc5f224 6052static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6053 PyObject * _resultobj;
cf694132
RD
6054 wxPyTreeItemData * _arg0;
6055 PyObject * _arg1;
1d99702e 6056 PyObject * _argo0 = 0;
cf694132 6057 PyObject * _obj1 = 0;
efc5f224 6058 char *_kwnames[] = { "self","obj", NULL };
8ab979d7
RD
6059
6060 self = self;
efc5f224 6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
8ab979d7 6062 return NULL;
1d99702e
RD
6063 if (_argo0) {
6064 if (_argo0 == Py_None) { _arg0 = NULL; }
6065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6067 return NULL;
6068 }
6069 }
cf694132
RD
6070{
6071 _arg1 = _obj1;
6072}
6073{
4268f798 6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6075 wxTreeItemData_SetData(_arg0,_arg1);
cf694132 6076
4268f798 6077 wxPyEndAllowThreads(__tstate);
493f1553 6078 if (PyErr_Occurred()) return NULL;
cf694132 6079} Py_INCREF(Py_None);
d5c9047a 6080 _resultobj = Py_None;
8ab979d7
RD
6081 return _resultobj;
6082}
6083
630d84f2 6084#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
efc5f224 6085static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6086 PyObject * _resultobj;
d5c9047a 6087 wxTreeItemId * _result;
cf694132 6088 wxPyTreeItemData * _arg0;
1d99702e 6089 PyObject * _argo0 = 0;
efc5f224 6090 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6091 char _ptemp[128];
6092
6093 self = self;
efc5f224 6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
8ab979d7 6095 return NULL;
1d99702e
RD
6096 if (_argo0) {
6097 if (_argo0 == Py_None) { _arg0 = NULL; }
6098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6100 return NULL;
6101 }
6102 }
cf694132 6103{
4268f798 6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6105 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
d5c9047a 6106 _result = (wxTreeItemId *) &_result_ref;
cf694132 6107
4268f798 6108 wxPyEndAllowThreads(__tstate);
493f1553 6109 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6110} if (_result) {
6111 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6112 _resultobj = Py_BuildValue("s",_ptemp);
6113 } else {
6114 Py_INCREF(Py_None);
6115 _resultobj = Py_None;
6116 }
8ab979d7
RD
6117 return _resultobj;
6118}
6119
630d84f2 6120#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 6121static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 6122 PyObject * _resultobj;
cf694132 6123 wxPyTreeItemData * _arg0;
630d84f2 6124 wxTreeItemId * _arg1;
1d99702e
RD
6125 PyObject * _argo0 = 0;
6126 PyObject * _argo1 = 0;
efc5f224 6127 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6128
6129 self = self;
efc5f224 6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6131 return NULL;
1d99702e
RD
6132 if (_argo0) {
6133 if (_argo0 == Py_None) { _arg0 = NULL; }
6134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6136 return NULL;
6137 }
6138 }
1d99702e
RD
6139 if (_argo1) {
6140 if (_argo1 == Py_None) { _arg1 = NULL; }
6141 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6142 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6143 return NULL;
6144 }
6145 }
cf694132 6146{
4268f798 6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6148 wxTreeItemData_SetId(_arg0,*_arg1);
cf694132 6149
4268f798 6150 wxPyEndAllowThreads(__tstate);
493f1553 6151 if (PyErr_Occurred()) return NULL;
cf694132 6152} Py_INCREF(Py_None);
630d84f2
RD
6153 _resultobj = Py_None;
6154 return _resultobj;
6155}
6156
8bf5d46e
RD
6157static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6158 wxTreeEvent *src;
6159 wxNotifyEvent *dest;
6160 src = (wxTreeEvent *) ptr;
6161 dest = (wxNotifyEvent *) src;
6162 return (void *) dest;
6163}
6164
8ab979d7
RD
6165static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6166 wxTreeEvent *src;
6167 wxCommandEvent *dest;
6168 src = (wxTreeEvent *) ptr;
6169 dest = (wxCommandEvent *) src;
6170 return (void *) dest;
6171}
6172
6173static void *SwigwxTreeEventTowxEvent(void *ptr) {
6174 wxTreeEvent *src;
6175 wxEvent *dest;
6176 src = (wxTreeEvent *) ptr;
6177 dest = (wxEvent *) src;
6178 return (void *) dest;
6179}
6180
9416aa89
RD
6181static void *SwigwxTreeEventTowxObject(void *ptr) {
6182 wxTreeEvent *src;
6183 wxObject *dest;
6184 src = (wxTreeEvent *) ptr;
6185 dest = (wxObject *) src;
6186 return (void *) dest;
6187}
6188
00b6c4e3
RD
6189#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6190static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject * _resultobj;
6192 wxTreeEvent * _result;
6193 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6194 int _arg1 = (int ) 0;
6195 char *_kwnames[] = { "commandType","id", NULL };
6196 char _ptemp[128];
6197
6198 self = self;
6199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6200 return NULL;
6201{
4268f798 6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6203 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
00b6c4e3 6204
4268f798 6205 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6206 if (PyErr_Occurred()) return NULL;
6207} if (_result) {
6208 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6209 _resultobj = Py_BuildValue("s",_ptemp);
6210 } else {
6211 Py_INCREF(Py_None);
6212 _resultobj = Py_None;
6213 }
6214 return _resultobj;
6215}
6216
d5c9047a 6217#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6218static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6219 PyObject * _resultobj;
d5c9047a 6220 wxTreeItemId * _result;
8ab979d7 6221 wxTreeEvent * _arg0;
1d99702e 6222 PyObject * _argo0 = 0;
efc5f224 6223 char *_kwnames[] = { "self", NULL };
d5c9047a 6224 char _ptemp[128];
8ab979d7
RD
6225
6226 self = self;
efc5f224 6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6228 return NULL;
1d99702e
RD
6229 if (_argo0) {
6230 if (_argo0 == Py_None) { _arg0 = NULL; }
6231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6233 return NULL;
6234 }
6235 }
cf694132 6236{
4268f798 6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6238 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
cf694132 6239
4268f798 6240 wxPyEndAllowThreads(__tstate);
493f1553 6241 if (PyErr_Occurred()) return NULL;
cf694132 6242} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6243 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6244 return _resultobj;
6245}
6246
d5c9047a 6247#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6248static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6249 PyObject * _resultobj;
d5c9047a 6250 wxTreeItemId * _result;
8ab979d7 6251 wxTreeEvent * _arg0;
1d99702e 6252 PyObject * _argo0 = 0;
efc5f224 6253 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6254 char _ptemp[128];
6255
6256 self = self;
efc5f224 6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6258 return NULL;
1d99702e
RD
6259 if (_argo0) {
6260 if (_argo0 == Py_None) { _arg0 = NULL; }
6261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6263 return NULL;
6264 }
6265 }
cf694132 6266{
4268f798 6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6268 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
cf694132 6269
4268f798 6270 wxPyEndAllowThreads(__tstate);
493f1553 6271 if (PyErr_Occurred()) return NULL;
cf694132 6272} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6273 _resultobj = Py_BuildValue("s",_ptemp);
6274 return _resultobj;
6275}
6276
d5c9047a 6277#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6278static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6279 PyObject * _resultobj;
d5c9047a 6280 wxPoint * _result;
8ab979d7 6281 wxTreeEvent * _arg0;
1d99702e 6282 PyObject * _argo0 = 0;
efc5f224 6283 char *_kwnames[] = { "self", NULL };
d5c9047a 6284 char _ptemp[128];
8ab979d7
RD
6285
6286 self = self;
efc5f224 6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6288 return NULL;
1d99702e
RD
6289 if (_argo0) {
6290 if (_argo0 == Py_None) { _arg0 = NULL; }
6291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6293 return NULL;
6294 }
6295 }
cf694132 6296{
4268f798 6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6298 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
cf694132 6299
4268f798 6300 wxPyEndAllowThreads(__tstate);
493f1553 6301 if (PyErr_Occurred()) return NULL;
cf694132 6302} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6303 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6304 return _resultobj;
6305}
6306
ecc08ead
RD
6307#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6308static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6309 PyObject * _resultobj;
6310 wxKeyEvent * _result;
6311 wxTreeEvent * _arg0;
6312 PyObject * _argo0 = 0;
6313 char *_kwnames[] = { "self", NULL };
6314 char _ptemp[128];
6315
6316 self = self;
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6318 return NULL;
6319 if (_argo0) {
6320 if (_argo0 == Py_None) { _arg0 = NULL; }
6321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6323 return NULL;
6324 }
6325 }
6326{
4268f798 6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6328 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
ecc08ead
RD
6329 _result = (wxKeyEvent *) &_result_ref;
6330
4268f798 6331 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
6332 if (PyErr_Occurred()) return NULL;
6333} if (_result) {
6334 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6335 _resultobj = Py_BuildValue("s",_ptemp);
6336 } else {
6337 Py_INCREF(Py_None);
6338 _resultobj = Py_None;
6339 }
6340 return _resultobj;
6341}
6342
64c06a50
RD
6343#define wxTreeEvent_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
6344static PyObject *_wrap_wxTreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6345 PyObject * _resultobj;
d5c9047a 6346 int _result;
8ab979d7 6347 wxTreeEvent * _arg0;
1d99702e 6348 PyObject * _argo0 = 0;
efc5f224 6349 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6350
6351 self = self;
64c06a50 6352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyCode",_kwnames,&_argo0))
8ab979d7 6353 return NULL;
1d99702e
RD
6354 if (_argo0) {
6355 if (_argo0 == Py_None) { _arg0 = NULL; }
6356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
64c06a50 6357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6358 return NULL;
6359 }
6360 }
cf694132 6361{
4268f798 6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
64c06a50 6363 _result = (int )wxTreeEvent_GetKeyCode(_arg0);
cf694132 6364
4268f798 6365 wxPyEndAllowThreads(__tstate);
493f1553 6366 if (PyErr_Occurred()) return NULL;
cf694132 6367} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6368 return _resultobj;
6369}
6370
8bf5d46e 6371#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6372static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6373 PyObject * _resultobj;
8bf5d46e 6374 wxString * _result;
d5c9047a 6375 wxTreeEvent * _arg0;
1d99702e 6376 PyObject * _argo0 = 0;
efc5f224 6377 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6378
6379 self = self;
efc5f224 6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6381 return NULL;
1d99702e
RD
6382 if (_argo0) {
6383 if (_argo0 == Py_None) { _arg0 = NULL; }
6384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6386 return NULL;
6387 }
6388 }
cf694132 6389{
4268f798 6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6391 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
8bf5d46e 6392 _result = (wxString *) &_result_ref;
cf694132 6393
4268f798 6394 wxPyEndAllowThreads(__tstate);
493f1553 6395 if (PyErr_Occurred()) return NULL;
8bf5d46e 6396}{
c8bc7bb8
RD
6397#if wxUSE_UNICODE
6398 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6399#else
eec92d76 6400 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6401#endif
8bf5d46e 6402}
8ab979d7
RD
6403 return _resultobj;
6404}
6405
31988931
RD
6406#define wxTreeEvent_IsEditCancelled(_swigobj) (_swigobj->IsEditCancelled())
6407static PyObject *_wrap_wxTreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
6408 PyObject * _resultobj;
6409 bool _result;
6410 wxTreeEvent * _arg0;
6411 PyObject * _argo0 = 0;
6412 char *_kwnames[] = { "self", NULL };
6413
6414 self = self;
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_IsEditCancelled",_kwnames,&_argo0))
6416 return NULL;
6417 if (_argo0) {
6418 if (_argo0 == Py_None) { _arg0 = NULL; }
6419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_IsEditCancelled. Expected _wxTreeEvent_p.");
6421 return NULL;
6422 }
6423 }
6424{
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 _result = (bool )wxTreeEvent_IsEditCancelled(_arg0);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) return NULL;
6430} _resultobj = Py_BuildValue("i",_result);
6431 return _resultobj;
6432}
6433
f6bcfd97
BP
6434static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6435 wxPyTreeCtrl *src;
8ab979d7 6436 wxControl *dest;
f6bcfd97 6437 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6438 dest = (wxControl *) src;
6439 return (void *) dest;
6440}
6441
f6bcfd97
BP
6442static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6443 wxPyTreeCtrl *src;
8ab979d7 6444 wxWindow *dest;
f6bcfd97 6445 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6446 dest = (wxWindow *) src;
6447 return (void *) dest;
6448}
6449
f6bcfd97
BP
6450static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6451 wxPyTreeCtrl *src;
8ab979d7 6452 wxEvtHandler *dest;
f6bcfd97 6453 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6454 dest = (wxEvtHandler *) src;
6455 return (void *) dest;
6456}
6457
9416aa89
RD
6458static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6459 wxPyTreeCtrl *src;
6460 wxObject *dest;
6461 src = (wxPyTreeCtrl *) ptr;
6462 dest = (wxObject *) src;
6463 return (void *) dest;
6464}
6465
f6bcfd97 6466#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6467static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6468 PyObject * _resultobj;
f6bcfd97 6469 wxPyTreeCtrl * _result;
8ab979d7 6470 wxWindow * _arg0;
1d99702e 6471 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
6472 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6473 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
00b6c4e3 6474 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
e508a2b6 6475 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 6476 wxString * _arg6 = (wxString *) &wxPy_TreeCtrlNameStr;
1d99702e 6477 PyObject * _argo0 = 0;
2f90df85
RD
6478 wxPoint temp;
6479 PyObject * _obj2 = 0;
6480 wxSize temp0;
6481 PyObject * _obj3 = 0;
1d99702e 6482 PyObject * _argo5 = 0;
137b5242 6483 PyObject * _obj6 = 0;
efc5f224 6484 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6485 char _ptemp[128];
6486
6487 self = self;
137b5242 6488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 6489 return NULL;
1d99702e
RD
6490 if (_argo0) {
6491 if (_argo0 == Py_None) { _arg0 = NULL; }
6492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6494 return NULL;
6495 }
6496 }
2f90df85
RD
6497 if (_obj2)
6498{
6499 _arg2 = &temp;
6500 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6501 return NULL;
2f90df85
RD
6502}
6503 if (_obj3)
6504{
6505 _arg3 = &temp0;
6506 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6507 return NULL;
2f90df85 6508}
1d99702e
RD
6509 if (_argo5) {
6510 if (_argo5 == Py_None) { _arg5 = NULL; }
6511 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6512 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6513 return NULL;
6514 }
6515 }
137b5242
RD
6516 if (_obj6)
6517{
6518 _arg6 = wxString_in_helper(_obj6);
6519 if (_arg6 == NULL)
6520 return NULL;
6521}
cf694132 6522{
4268f798 6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6524 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 6525
4268f798 6526 wxPyEndAllowThreads(__tstate);
493f1553 6527 if (PyErr_Occurred()) return NULL;
1d99702e 6528} if (_result) {
f6bcfd97 6529 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6530 _resultobj = Py_BuildValue("s",_ptemp);
6531 } else {
6532 Py_INCREF(Py_None);
6533 _resultobj = Py_None;
6534 }
137b5242
RD
6535{
6536 if (_obj6)
6537 delete _arg6;
6538}
8ab979d7
RD
6539 return _resultobj;
6540}
6541
09f3d4e6
RD
6542#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6543static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6544 PyObject * _resultobj;
6545 wxPyTreeCtrl * _result;
6546 char *_kwnames[] = { NULL };
6547 char _ptemp[128];
6548
6549 self = self;
6550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6551 return NULL;
6552{
4268f798 6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6554 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
09f3d4e6 6555
4268f798 6556 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6557 if (PyErr_Occurred()) return NULL;
6558} if (_result) {
6559 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6560 _resultobj = Py_BuildValue("s",_ptemp);
6561 } else {
6562 Py_INCREF(Py_None);
6563 _resultobj = Py_None;
6564 }
6565 return _resultobj;
6566}
6567
6568#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6569static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject * _resultobj;
6571 bool _result;
6572 wxPyTreeCtrl * _arg0;
6573 wxWindow * _arg1;
6574 wxWindowID _arg2 = (wxWindowID ) -1;
6575 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6576 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6577 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6578 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 6579 wxString * _arg7 = (wxString *) &wxPy_TreeCtrlNameStr;
09f3d4e6
RD
6580 PyObject * _argo0 = 0;
6581 PyObject * _argo1 = 0;
6582 wxPoint temp;
6583 PyObject * _obj3 = 0;
6584 wxSize temp0;
6585 PyObject * _obj4 = 0;
6586 PyObject * _argo6 = 0;
137b5242 6587 PyObject * _obj7 = 0;
09f3d4e6
RD
6588 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
6589
6590 self = self;
137b5242 6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
6592 return NULL;
6593 if (_argo0) {
6594 if (_argo0 == Py_None) { _arg0 = NULL; }
6595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6597 return NULL;
6598 }
6599 }
6600 if (_argo1) {
6601 if (_argo1 == Py_None) { _arg1 = NULL; }
6602 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6603 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6604 return NULL;
6605 }
6606 }
6607 if (_obj3)
6608{
6609 _arg3 = &temp;
6610 if (! wxPoint_helper(_obj3, &_arg3))
6611 return NULL;
6612}
6613 if (_obj4)
6614{
6615 _arg4 = &temp0;
6616 if (! wxSize_helper(_obj4, &_arg4))
6617 return NULL;
6618}
6619 if (_argo6) {
6620 if (_argo6 == Py_None) { _arg6 = NULL; }
6621 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6622 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6623 return NULL;
6624 }
6625 }
137b5242
RD
6626 if (_obj7)
6627{
6628 _arg7 = wxString_in_helper(_obj7);
6629 if (_arg7 == NULL)
6630 return NULL;
6631}
09f3d4e6 6632{
4268f798 6633 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6634 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 6635
4268f798 6636 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6637 if (PyErr_Occurred()) return NULL;
6638} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
6639{
6640 if (_obj7)
6641 delete _arg7;
6642}
09f3d4e6
RD
6643 return _resultobj;
6644}
6645
0122b7e3
RD
6646#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6647static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
6648 PyObject * _resultobj;
6649 wxPyTreeCtrl * _arg0;
6650 PyObject * _arg1;
6651 PyObject * _arg2;
6652 PyObject * _argo0 = 0;
6653 PyObject * _obj1 = 0;
6654 PyObject * _obj2 = 0;
6655 char *_kwnames[] = { "self","self","_class", NULL };
6656
6657 self = self;
0122b7e3 6658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
f6bcfd97
BP
6659 return NULL;
6660 if (_argo0) {
6661 if (_argo0 == Py_None) { _arg0 = NULL; }
6662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0122b7e3 6663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
f6bcfd97
BP
6664 return NULL;
6665 }
6666 }
6667{
6668 _arg1 = _obj1;
6669}
6670{
6671 _arg2 = _obj2;
6672}
6673{
4268f798 6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6675 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
f6bcfd97 6676
4268f798 6677 wxPyEndAllowThreads(__tstate);
493f1553 6678 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
6679} Py_INCREF(Py_None);
6680 _resultobj = Py_None;
6681 return _resultobj;
6682}
6683
d5c9047a 6684#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6685static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6686 PyObject * _resultobj;
c127177f 6687 size_t _result;
f6bcfd97 6688 wxPyTreeCtrl * _arg0;
1d99702e 6689 PyObject * _argo0 = 0;
efc5f224 6690 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6691
6692 self = self;
efc5f224 6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 6694 return NULL;
1d99702e
RD
6695 if (_argo0) {
6696 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6699 return NULL;
6700 }
6701 }
cf694132 6702{
4268f798 6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6704 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132 6705
4268f798 6706 wxPyEndAllowThreads(__tstate);
493f1553 6707 if (PyErr_Occurred()) return NULL;
c127177f 6708} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6709 return _resultobj;
6710}
6711
d5c9047a 6712#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6713static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6714 PyObject * _resultobj;
d5c9047a 6715 unsigned int _result;
f6bcfd97 6716 wxPyTreeCtrl * _arg0;
1d99702e 6717 PyObject * _argo0 = 0;
efc5f224 6718 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6719
6720 self = self;
efc5f224 6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 6722 return NULL;
1d99702e
RD
6723 if (_argo0) {
6724 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6727 return NULL;
6728 }
6729 }
cf694132 6730{
4268f798 6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6732 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
cf694132 6733
4268f798 6734 wxPyEndAllowThreads(__tstate);
493f1553 6735 if (PyErr_Occurred()) return NULL;
cf694132 6736} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6737 return _resultobj;
6738}
6739
d5c9047a 6740#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6741static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6742 PyObject * _resultobj;
f6bcfd97 6743 wxPyTreeCtrl * _arg0;
d5c9047a 6744 unsigned int _arg1;
1d99702e 6745 PyObject * _argo0 = 0;
efc5f224 6746 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6747
6748 self = self;
efc5f224 6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 6750 return NULL;
1d99702e
RD
6751 if (_argo0) {
6752 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6755 return NULL;
6756 }
6757 }
cf694132 6758{
4268f798 6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6760 wxTreeCtrl_SetIndent(_arg0,_arg1);
cf694132 6761
4268f798 6762 wxPyEndAllowThreads(__tstate);
493f1553 6763 if (PyErr_Occurred()) return NULL;
cf694132 6764} Py_INCREF(Py_None);
d5c9047a 6765 _resultobj = Py_None;
8ab979d7
RD
6766 return _resultobj;
6767}
6768
d5c9047a 6769#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6770static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6771 PyObject * _resultobj;
d5c9047a 6772 wxImageList * _result;
f6bcfd97 6773 wxPyTreeCtrl * _arg0;
1d99702e 6774 PyObject * _argo0 = 0;
efc5f224 6775 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6776
6777 self = self;
efc5f224 6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6779 return NULL;
1d99702e
RD
6780 if (_argo0) {
6781 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6784 return NULL;
6785 }
6786 }
cf694132 6787{
4268f798 6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6789 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
cf694132 6790
4268f798 6791 wxPyEndAllowThreads(__tstate);
493f1553 6792 if (PyErr_Occurred()) return NULL;
9416aa89 6793}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6794 return _resultobj;
6795}
6796
d5c9047a 6797#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6798static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6799 PyObject * _resultobj;
d5c9047a 6800 wxImageList * _result;
f6bcfd97 6801 wxPyTreeCtrl * _arg0;
1d99702e 6802 PyObject * _argo0 = 0;
efc5f224 6803 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6804
6805 self = self;
efc5f224 6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6807 return NULL;
1d99702e
RD
6808 if (_argo0) {
6809 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6812 return NULL;
6813 }
6814 }
cf694132 6815{
4268f798 6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6817 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
cf694132 6818
4268f798 6819 wxPyEndAllowThreads(__tstate);
493f1553 6820 if (PyErr_Occurred()) return NULL;
9416aa89 6821}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6822 return _resultobj;
6823}
6824
d5c9047a 6825#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6826static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6827 PyObject * _resultobj;
f6bcfd97 6828 wxPyTreeCtrl * _arg0;
d5c9047a 6829 wxImageList * _arg1;
1d99702e
RD
6830 PyObject * _argo0 = 0;
6831 PyObject * _argo1 = 0;
efc5f224 6832 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6833
6834 self = self;
efc5f224 6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6836 return NULL;
1d99702e
RD
6837 if (_argo0) {
6838 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6841 return NULL;
6842 }
6843 }
1d99702e
RD
6844 if (_argo1) {
6845 if (_argo1 == Py_None) { _arg1 = NULL; }
6846 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6847 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6848 return NULL;
6849 }
6850 }
cf694132 6851{
4268f798 6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6853 wxTreeCtrl_SetImageList(_arg0,_arg1);
cf694132 6854
4268f798 6855 wxPyEndAllowThreads(__tstate);
493f1553 6856 if (PyErr_Occurred()) return NULL;
cf694132 6857} Py_INCREF(Py_None);
d5c9047a 6858 _resultobj = Py_None;
8ab979d7
RD
6859 return _resultobj;
6860}
6861
d5c9047a 6862#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 6863static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6864 PyObject * _resultobj;
f6bcfd97 6865 wxPyTreeCtrl * _arg0;
d5c9047a 6866 wxImageList * _arg1;
1d99702e
RD
6867 PyObject * _argo0 = 0;
6868 PyObject * _argo1 = 0;
efc5f224 6869 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6870
6871 self = self;
efc5f224 6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6873 return NULL;
1d99702e
RD
6874 if (_argo0) {
6875 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6878 return NULL;
6879 }
6880 }
1d99702e
RD
6881 if (_argo1) {
6882 if (_argo1 == Py_None) { _arg1 = NULL; }
6883 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6884 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6885 return NULL;
6886 }
6887 }
cf694132 6888{
4268f798 6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6890 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
cf694132 6891
4268f798 6892 wxPyEndAllowThreads(__tstate);
493f1553 6893 if (PyErr_Occurred()) return NULL;
cf694132 6894} Py_INCREF(Py_None);
d5c9047a 6895 _resultobj = Py_None;
8ab979d7
RD
6896 return _resultobj;
6897}
6898
00b6c4e3
RD
6899#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6900static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject * _resultobj;
6902 wxPyTreeCtrl * _arg0;
6903 wxImageList * _arg1;
6904 PyObject * _argo0 = 0;
6905 PyObject * _argo1 = 0;
6906 char *_kwnames[] = { "self","imageList", NULL };
6907
6908 self = self;
6909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
6910 return NULL;
6911 if (_argo0) {
6912 if (_argo0 == Py_None) { _arg0 = NULL; }
6913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6915 return NULL;
6916 }
6917 }
6918 if (_argo1) {
6919 if (_argo1 == Py_None) { _arg1 = NULL; }
6920 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6921 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6922 return NULL;
6923 }
6924 }
6925{
4268f798 6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6927 wxTreeCtrl_AssignImageList(_arg0,_arg1);
00b6c4e3 6928
4268f798 6929 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6930 if (PyErr_Occurred()) return NULL;
6931} Py_INCREF(Py_None);
6932 _resultobj = Py_None;
6933 return _resultobj;
6934}
6935
6936#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6937static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6938 PyObject * _resultobj;
6939 wxPyTreeCtrl * _arg0;
6940 wxImageList * _arg1;
6941 PyObject * _argo0 = 0;
6942 PyObject * _argo1 = 0;
6943 char *_kwnames[] = { "self","imageList", NULL };
6944
6945 self = self;
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
6947 return NULL;
6948 if (_argo0) {
6949 if (_argo0 == Py_None) { _arg0 = NULL; }
6950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6952 return NULL;
6953 }
6954 }
6955 if (_argo1) {
6956 if (_argo1 == Py_None) { _arg1 = NULL; }
6957 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6958 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6959 return NULL;
6960 }
6961 }
6962{
4268f798 6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6964 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
00b6c4e3 6965
4268f798 6966 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
6967 if (PyErr_Occurred()) return NULL;
6968} Py_INCREF(Py_None);
6969 _resultobj = Py_None;
6970 return _resultobj;
6971}
6972
b1462dfa
RD
6973#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6974static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6975 PyObject * _resultobj;
6976 unsigned int _result;
f6bcfd97 6977 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6978 PyObject * _argo0 = 0;
6979 char *_kwnames[] = { "self", NULL };
6980
6981 self = self;
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
6983 return NULL;
6984 if (_argo0) {
6985 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6988 return NULL;
6989 }
6990 }
6991{
4268f798 6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6993 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
b1462dfa 6994
4268f798 6995 wxPyEndAllowThreads(__tstate);
493f1553 6996 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6997} _resultobj = Py_BuildValue("i",_result);
6998 return _resultobj;
6999}
7000
7001#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7002static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7003 PyObject * _resultobj;
f6bcfd97 7004 wxPyTreeCtrl * _arg0;
b1462dfa
RD
7005 unsigned int _arg1;
7006 PyObject * _argo0 = 0;
7007 char *_kwnames[] = { "self","spacing", NULL };
7008
7009 self = self;
7010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
7011 return NULL;
7012 if (_argo0) {
7013 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7016 return NULL;
7017 }
7018 }
7019{
4268f798 7020 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7021 wxTreeCtrl_SetSpacing(_arg0,_arg1);
b1462dfa 7022
4268f798 7023 wxPyEndAllowThreads(__tstate);
493f1553 7024 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7025} Py_INCREF(Py_None);
7026 _resultobj = Py_None;
7027 return _resultobj;
7028}
7029
d5c9047a 7030#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 7031static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7032 PyObject * _resultobj;
d5c9047a 7033 wxString * _result;
f6bcfd97 7034 wxPyTreeCtrl * _arg0;
d5c9047a 7035 wxTreeItemId * _arg1;
1d99702e
RD
7036 PyObject * _argo0 = 0;
7037 PyObject * _argo1 = 0;
efc5f224 7038 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7039
7040 self = self;
efc5f224 7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 7042 return NULL;
1d99702e
RD
7043 if (_argo0) {
7044 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7047 return NULL;
7048 }
7049 }
1d99702e
RD
7050 if (_argo1) {
7051 if (_argo1 == Py_None) { _arg1 = NULL; }
7052 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7053 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7054 return NULL;
7055 }
7056 }
d5c9047a 7057{
4268f798 7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7059 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
cf694132 7060
4268f798 7061 wxPyEndAllowThreads(__tstate);
493f1553 7062 if (PyErr_Occurred()) return NULL;
cf694132 7063}{
c8bc7bb8
RD
7064#if wxUSE_UNICODE
7065 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
7066#else
eec92d76 7067 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7068#endif
d5c9047a
RD
7069}
7070{
7071 delete _result;
7072}
8ab979d7
RD
7073 return _resultobj;
7074}
7075
694759cf 7076#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 7077static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7078 PyObject * _resultobj;
d5c9047a 7079 int _result;
f6bcfd97 7080 wxPyTreeCtrl * _arg0;
d5c9047a 7081 wxTreeItemId * _arg1;
694759cf 7082 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7083 PyObject * _argo0 = 0;
7084 PyObject * _argo1 = 0;
694759cf 7085 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
7086
7087 self = self;
694759cf 7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7089 return NULL;
1d99702e
RD
7090 if (_argo0) {
7091 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7094 return NULL;
7095 }
7096 }
1d99702e
RD
7097 if (_argo1) {
7098 if (_argo1 == Py_None) { _arg1 = NULL; }
7099 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7100 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7101 return NULL;
7102 }
7103 }
cf694132 7104{
4268f798 7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7106 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132 7107
4268f798 7108 wxPyEndAllowThreads(__tstate);
493f1553 7109 if (PyErr_Occurred()) return NULL;
cf694132 7110} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7111 return _resultobj;
7112}
7113
d5c9047a 7114#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 7115static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7116 PyObject * _resultobj;
d5c9047a 7117 int _result;
f6bcfd97 7118 wxPyTreeCtrl * _arg0;
d5c9047a 7119 wxTreeItemId * _arg1;
1d99702e
RD
7120 PyObject * _argo0 = 0;
7121 PyObject * _argo1 = 0;
efc5f224 7122 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7123
7124 self = self;
efc5f224 7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 7126 return NULL;
1d99702e
RD
7127 if (_argo0) {
7128 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7131 return NULL;
7132 }
7133 }
1d99702e
RD
7134 if (_argo1) {
7135 if (_argo1 == Py_None) { _arg1 = NULL; }
7136 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7137 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7138 return NULL;
7139 }
7140 }
cf694132 7141{
4268f798 7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7143 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 7144
4268f798 7145 wxPyEndAllowThreads(__tstate);
493f1553 7146 if (PyErr_Occurred()) return NULL;
cf694132 7147} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7148 return _resultobj;
7149}
7150
d5c9047a 7151#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 7152static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7153 PyObject * _resultobj;
f6bcfd97 7154 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7155 wxTreeItemId * _arg1;
7156 wxString * _arg2;
1d99702e
RD
7157 PyObject * _argo0 = 0;
7158 PyObject * _argo1 = 0;
d5c9047a 7159 PyObject * _obj2 = 0;
efc5f224 7160 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7161
7162 self = self;
efc5f224 7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7164 return NULL;
1d99702e
RD
7165 if (_argo0) {
7166 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7169 return NULL;
7170 }
7171 }
1d99702e
RD
7172 if (_argo1) {
7173 if (_argo1 == Py_None) { _arg1 = NULL; }
7174 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7175 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7176 return NULL;
7177 }
7178 }
7179{
c8bc7bb8
RD
7180 _arg2 = wxString_in_helper(_obj2);
7181 if (_arg2 == NULL)
185d7c3e 7182 return NULL;
d5c9047a 7183}
cf694132 7184{
4268f798 7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7186 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
cf694132 7187
4268f798 7188 wxPyEndAllowThreads(__tstate);
493f1553 7189 if (PyErr_Occurred()) return NULL;
cf694132 7190} Py_INCREF(Py_None);
d5c9047a
RD
7191 _resultobj = Py_None;
7192{
7193 if (_obj2)
7194 delete _arg2;
7195}
8ab979d7
RD
7196 return _resultobj;
7197}
7198
694759cf 7199#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7200static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7201 PyObject * _resultobj;
f6bcfd97 7202 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7203 wxTreeItemId * _arg1;
7204 int _arg2;
694759cf 7205 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7206 PyObject * _argo0 = 0;
7207 PyObject * _argo1 = 0;
694759cf 7208 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7209
7210 self = self;
694759cf 7211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7212 return NULL;
1d99702e
RD
7213 if (_argo0) {
7214 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7217 return NULL;
7218 }
7219 }
1d99702e
RD
7220 if (_argo1) {
7221 if (_argo1 == Py_None) { _arg1 = NULL; }
7222 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7224 return NULL;
7225 }
7226 }
cf694132 7227{
4268f798 7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7229 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132 7230
4268f798 7231 wxPyEndAllowThreads(__tstate);
493f1553 7232 if (PyErr_Occurred()) return NULL;
cf694132 7233} Py_INCREF(Py_None);
d5c9047a 7234 _resultobj = Py_None;
8ab979d7
RD
7235 return _resultobj;
7236}
7237
d5c9047a 7238#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7239static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7240 PyObject * _resultobj;
f6bcfd97 7241 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7242 wxTreeItemId * _arg1;
7243 int _arg2;
1d99702e
RD
7244 PyObject * _argo0 = 0;
7245 PyObject * _argo1 = 0;
efc5f224 7246 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7247
7248 self = self;
efc5f224 7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7250 return NULL;
1d99702e
RD
7251 if (_argo0) {
7252 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7255 return NULL;
7256 }
7257 }
1d99702e
RD
7258 if (_argo1) {
7259 if (_argo1 == Py_None) { _arg1 = NULL; }
7260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7262 return NULL;
7263 }
7264 }
cf694132 7265{
4268f798 7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7267 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
cf694132 7268
4268f798 7269 wxPyEndAllowThreads(__tstate);
493f1553 7270 if (PyErr_Occurred()) return NULL;
cf694132
RD
7271} Py_INCREF(Py_None);
7272 _resultobj = Py_None;
7273 return _resultobj;
7274}
7275
7276#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7277static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7278 PyObject * _resultobj;
f6bcfd97 7279 wxPyTreeCtrl * _arg0;
cf694132 7280 wxTreeItemId * _arg1;
1d99702e
RD
7281 bool _arg2 = (bool ) TRUE;
7282 PyObject * _argo0 = 0;
7283 PyObject * _argo1 = 0;
7284 int tempbool2 = (int) TRUE;
efc5f224 7285 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7286
7287 self = self;
efc5f224 7288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 7289 return NULL;
1d99702e
RD
7290 if (_argo0) {
7291 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7294 return NULL;
7295 }
7296 }
1d99702e
RD
7297 if (_argo1) {
7298 if (_argo1 == Py_None) { _arg1 = NULL; }
7299 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7301 return NULL;
7302 }
7303 }
7304 _arg2 = (bool ) tempbool2;
7305{
4268f798 7306 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7307 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
cf694132 7308
4268f798 7309 wxPyEndAllowThreads(__tstate);
493f1553 7310 if (PyErr_Occurred()) return NULL;
cf694132 7311} Py_INCREF(Py_None);
d5c9047a 7312 _resultobj = Py_None;
8ab979d7
RD
7313 return _resultobj;
7314}
7315
f6bcfd97 7316static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7317 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7318 if (data == NULL) {
7319 data = new wxPyTreeItemData();
f6bcfd97 7320 data->SetId(item); // set the id
cf694132
RD
7321 self->SetItemData(item, data);
7322 }
7323 return data;
7324 }
efc5f224 7325static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7326 PyObject * _resultobj;
7327 wxPyTreeItemData * _result;
f6bcfd97 7328 wxPyTreeCtrl * _arg0;
cf694132 7329 wxTreeItemId * _arg1;
1d99702e
RD
7330 PyObject * _argo0 = 0;
7331 PyObject * _argo1 = 0;
efc5f224 7332 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7333 char _ptemp[128];
7334
7335 self = self;
efc5f224 7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7337 return NULL;
1d99702e
RD
7338 if (_argo0) {
7339 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7342 return NULL;
7343 }
7344 }
1d99702e
RD
7345 if (_argo1) {
7346 if (_argo1 == Py_None) { _arg1 = NULL; }
7347 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7348 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7349 return NULL;
7350 }
7351 }
7352{
4268f798 7353 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7354 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132 7355
4268f798 7356 wxPyEndAllowThreads(__tstate);
493f1553 7357 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7358} if (_result) {
7359 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7360 _resultobj = Py_BuildValue("s",_ptemp);
7361 } else {
7362 Py_INCREF(Py_None);
7363 _resultobj = Py_None;
7364 }
cf694132
RD
7365 return _resultobj;
7366}
7367
f6bcfd97
BP
7368static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7369 data->SetId(item); // set the id
7370 self->SetItemData(item, data);
c368d904 7371 }
efc5f224 7372static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7373 PyObject * _resultobj;
f6bcfd97 7374 wxPyTreeCtrl * _arg0;
d5c9047a 7375 wxTreeItemId * _arg1;
cf694132 7376 wxPyTreeItemData * _arg2;
1d99702e
RD
7377 PyObject * _argo0 = 0;
7378 PyObject * _argo1 = 0;
7379 PyObject * _argo2 = 0;
efc5f224 7380 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7381
7382 self = self;
efc5f224 7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7384 return NULL;
1d99702e
RD
7385 if (_argo0) {
7386 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7389 return NULL;
7390 }
7391 }
1d99702e
RD
7392 if (_argo1) {
7393 if (_argo1 == Py_None) { _arg1 = NULL; }
7394 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7395 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7396 return NULL;
7397 }
7398 }
1d99702e
RD
7399 if (_argo2) {
7400 if (_argo2 == Py_None) { _arg2 = NULL; }
7401 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7402 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7403 return NULL;
7404 }
7405 }
cf694132 7406{
4268f798 7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7408 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132 7409
4268f798 7410 wxPyEndAllowThreads(__tstate);
493f1553 7411 if (PyErr_Occurred()) return NULL;
cf694132 7412} Py_INCREF(Py_None);
d5c9047a 7413 _resultobj = Py_None;
8ab979d7
RD
7414 return _resultobj;
7415}
7416
f6bcfd97 7417static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7418 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7419 if (data == NULL) {
7420 data = new wxPyTreeItemData();
f6bcfd97 7421 data->SetId(item); // set the id
cf694132
RD
7422 self->SetItemData(item, data);
7423 }
7424 return data->GetData();
c368d904 7425 }
efc5f224 7426static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7427 PyObject * _resultobj;
cf694132 7428 PyObject * _result;
f6bcfd97 7429 wxPyTreeCtrl * _arg0;
08127323 7430 wxTreeItemId * _arg1;
1d99702e
RD
7431 PyObject * _argo0 = 0;
7432 PyObject * _argo1 = 0;
efc5f224 7433 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7434
7435 self = self;
efc5f224 7436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7437 return NULL;
1d99702e
RD
7438 if (_argo0) {
7439 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7442 return NULL;
7443 }
7444 }
1d99702e
RD
7445 if (_argo1) {
7446 if (_argo1 == Py_None) { _arg1 = NULL; }
7447 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7448 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7449 return NULL;
7450 }
7451 }
cf694132 7452{
4268f798 7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7454 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132 7455
4268f798 7456 wxPyEndAllowThreads(__tstate);
493f1553 7457 if (PyErr_Occurred()) return NULL;
cf694132
RD
7458}{
7459 _resultobj = _result;
7460}
7461 return _resultobj;
7462}
7463
f6bcfd97 7464static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7465 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7466 if (data == NULL) {
7467 data = new wxPyTreeItemData(obj);
f6bcfd97 7468 data->SetId(item); // set the id
cf694132
RD
7469 self->SetItemData(item, data);
7470 } else
7471 data->SetData(obj);
c368d904 7472 }
efc5f224 7473static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7474 PyObject * _resultobj;
f6bcfd97 7475 wxPyTreeCtrl * _arg0;
cf694132
RD
7476 wxTreeItemId * _arg1;
7477 PyObject * _arg2;
1d99702e
RD
7478 PyObject * _argo0 = 0;
7479 PyObject * _argo1 = 0;
cf694132 7480 PyObject * _obj2 = 0;
efc5f224 7481 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7482
7483 self = self;
efc5f224 7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 7485 return NULL;
1d99702e
RD
7486 if (_argo0) {
7487 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7490 return NULL;
7491 }
7492 }
1d99702e
RD
7493 if (_argo1) {
7494 if (_argo1 == Py_None) { _arg1 = NULL; }
7495 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7496 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7497 return NULL;
7498 }
7499 }
7500{
7501 _arg2 = _obj2;
7502}
7503{
4268f798 7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7505 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132 7506
4268f798 7507 wxPyEndAllowThreads(__tstate);
493f1553 7508 if (PyErr_Occurred()) return NULL;
cf694132 7509} Py_INCREF(Py_None);
08127323
RD
7510 _resultobj = Py_None;
7511 return _resultobj;
7512}
7513
d5c9047a 7514#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7515static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7516 PyObject * _resultobj;
d5c9047a 7517 bool _result;
f6bcfd97 7518 wxPyTreeCtrl * _arg0;
d5c9047a 7519 wxTreeItemId * _arg1;
1d99702e
RD
7520 PyObject * _argo0 = 0;
7521 PyObject * _argo1 = 0;
efc5f224 7522 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7523
7524 self = self;
efc5f224 7525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7526 return NULL;
1d99702e
RD
7527 if (_argo0) {
7528 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7531 return NULL;
7532 }
7533 }
1d99702e
RD
7534 if (_argo1) {
7535 if (_argo1 == Py_None) { _arg1 = NULL; }
7536 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7537 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7538 return NULL;
7539 }
7540 }
cf694132 7541{
4268f798 7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7543 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
cf694132 7544
4268f798 7545 wxPyEndAllowThreads(__tstate);
493f1553 7546 if (PyErr_Occurred()) return NULL;
cf694132 7547} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7548 return _resultobj;
7549}
7550
d5c9047a 7551#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7552static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7553 PyObject * _resultobj;
d5c9047a 7554 bool _result;
f6bcfd97 7555 wxPyTreeCtrl * _arg0;
d5c9047a 7556 wxTreeItemId * _arg1;
1d99702e
RD
7557 PyObject * _argo0 = 0;
7558 PyObject * _argo1 = 0;
efc5f224 7559 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7560
7561 self = self;
efc5f224 7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7563 return NULL;
1d99702e
RD
7564 if (_argo0) {
7565 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7568 return NULL;
7569 }
7570 }
1d99702e
RD
7571 if (_argo1) {
7572 if (_argo1 == Py_None) { _arg1 = NULL; }
7573 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7574 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7575 return NULL;
7576 }
7577 }
cf694132 7578{
4268f798 7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7580 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
cf694132 7581
4268f798 7582 wxPyEndAllowThreads(__tstate);
493f1553 7583 if (PyErr_Occurred()) return NULL;
cf694132 7584} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7585 return _resultobj;
7586}
7587
d5c9047a 7588#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7589static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7590 PyObject * _resultobj;
d5c9047a 7591 bool _result;
f6bcfd97 7592 wxPyTreeCtrl * _arg0;
d5c9047a 7593 wxTreeItemId * _arg1;
1d99702e
RD
7594 PyObject * _argo0 = 0;
7595 PyObject * _argo1 = 0;
efc5f224 7596 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7597
7598 self = self;
efc5f224 7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7600 return NULL;
1d99702e
RD
7601 if (_argo0) {
7602 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7605 return NULL;
7606 }
7607 }
1d99702e
RD
7608 if (_argo1) {
7609 if (_argo1 == Py_None) { _arg1 = NULL; }
7610 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7611 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7612 return NULL;
7613 }
7614 }
cf694132 7615{
4268f798 7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7617 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
cf694132 7618
4268f798 7619 wxPyEndAllowThreads(__tstate);
493f1553 7620 if (PyErr_Occurred()) return NULL;
cf694132 7621} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7622 return _resultobj;
7623}
7624
d5c9047a 7625#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7626static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7627 PyObject * _resultobj;
d5c9047a 7628 bool _result;
f6bcfd97 7629 wxPyTreeCtrl * _arg0;
d5c9047a 7630 wxTreeItemId * _arg1;
1d99702e
RD
7631 PyObject * _argo0 = 0;
7632 PyObject * _argo1 = 0;
efc5f224 7633 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7634
7635 self = self;
efc5f224 7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7637 return NULL;
1d99702e
RD
7638 if (_argo0) {
7639 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7642 return NULL;
7643 }
7644 }
1d99702e
RD
7645 if (_argo1) {
7646 if (_argo1 == Py_None) { _arg1 = NULL; }
7647 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7648 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7649 return NULL;
7650 }
7651 }
cf694132 7652{
4268f798 7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7654 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
cf694132 7655
4268f798 7656 wxPyEndAllowThreads(__tstate);
493f1553 7657 if (PyErr_Occurred()) return NULL;
cf694132 7658} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7659 return _resultobj;
7660}
7661
7662#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7663static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7664 PyObject * _resultobj;
d5c9047a 7665 wxTreeItemId * _result;
f6bcfd97 7666 wxPyTreeCtrl * _arg0;
1d99702e 7667 PyObject * _argo0 = 0;
efc5f224 7668 char *_kwnames[] = { "self", NULL };
d5c9047a 7669 char _ptemp[128];
8ab979d7
RD
7670
7671 self = self;
efc5f224 7672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7673 return NULL;
1d99702e
RD
7674 if (_argo0) {
7675 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7678 return NULL;
7679 }
7680 }
cf694132 7681{
4268f798 7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7683 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
cf694132 7684
4268f798 7685 wxPyEndAllowThreads(__tstate);
493f1553 7686 if (PyErr_Occurred()) return NULL;
cf694132 7687} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7688 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7689 return _resultobj;
7690}
7691
7692#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7693static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7694 PyObject * _resultobj;
d5c9047a 7695 wxTreeItemId * _result;
f6bcfd97 7696 wxPyTreeCtrl * _arg0;
1d99702e 7697 PyObject * _argo0 = 0;
efc5f224 7698 char *_kwnames[] = { "self", NULL };
d5c9047a 7699 char _ptemp[128];
8ab979d7
RD
7700
7701 self = self;
efc5f224 7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7703 return NULL;
1d99702e
RD
7704 if (_argo0) {
7705 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7708 return NULL;
7709 }
7710 }
cf694132 7711{
4268f798 7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7713 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
cf694132 7714
4268f798 7715 wxPyEndAllowThreads(__tstate);
493f1553 7716 if (PyErr_Occurred()) return NULL;
cf694132 7717} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7718 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7719 return _resultobj;
7720}
7721
eb715945
RD
7722#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7723static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7724 PyObject * _resultobj;
d5c9047a 7725 wxTreeItemId * _result;
f6bcfd97 7726 wxPyTreeCtrl * _arg0;
d5c9047a 7727 wxTreeItemId * _arg1;
1d99702e
RD
7728 PyObject * _argo0 = 0;
7729 PyObject * _argo1 = 0;
efc5f224 7730 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7731 char _ptemp[128];
8ab979d7
RD
7732
7733 self = self;
eb715945 7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7735 return NULL;
1d99702e
RD
7736 if (_argo0) {
7737 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7740 return NULL;
7741 }
7742 }
1d99702e
RD
7743 if (_argo1) {
7744 if (_argo1 == Py_None) { _arg1 = NULL; }
7745 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 7746 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
7747 return NULL;
7748 }
7749 }
cf694132 7750{
4268f798 7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7752 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132 7753
4268f798 7754 wxPyEndAllowThreads(__tstate);
493f1553 7755 if (PyErr_Occurred()) return NULL;
cf694132 7756} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7757 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7758 return _resultobj;
7759}
7760
f6bcfd97 7761static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
4268f798 7762 wxPyBeginBlockThreads();
d426c97e
RD
7763 PyObject* rval = PyList_New(0);
7764 wxArrayTreeItemIds array;
7765 size_t num, x;
7766 num = self->GetSelections(array);
7767 for (x=0; x < num; x++) {
c368d904
RD
7768 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7769 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
7770 PyList_Append(rval, item);
7771 }
4268f798 7772 wxPyEndBlockThreads();
d426c97e
RD
7773 return rval;
7774 }
7775static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7776 PyObject * _resultobj;
7777 PyObject * _result;
f6bcfd97 7778 wxPyTreeCtrl * _arg0;
d426c97e
RD
7779 PyObject * _argo0 = 0;
7780 char *_kwnames[] = { "self", NULL };
7781
7782 self = self;
7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7784 return NULL;
7785 if (_argo0) {
7786 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7789 return NULL;
7790 }
7791 }
7792{
4268f798 7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7794 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e 7795
4268f798 7796 wxPyEndAllowThreads(__tstate);
493f1553 7797 if (PyErr_Occurred()) return NULL;
d426c97e
RD
7798}{
7799 _resultobj = _result;
7800}
7801 return _resultobj;
7802}
7803
bb0054cd 7804#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 7805static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7806 PyObject * _resultobj;
7807 size_t _result;
f6bcfd97 7808 wxPyTreeCtrl * _arg0;
bb0054cd 7809 wxTreeItemId * _arg1;
1d99702e
RD
7810 bool _arg2 = (bool ) TRUE;
7811 PyObject * _argo0 = 0;
7812 PyObject * _argo1 = 0;
7813 int tempbool2 = (int) TRUE;
efc5f224 7814 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
7815
7816 self = self;
efc5f224 7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 7818 return NULL;
1d99702e
RD
7819 if (_argo0) {
7820 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
7823 return NULL;
7824 }
7825 }
1d99702e
RD
7826 if (_argo1) {
7827 if (_argo1 == Py_None) { _arg1 = NULL; }
7828 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
7829 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7830 return NULL;
7831 }
7832 }
7833 _arg2 = (bool ) tempbool2;
7834{
4268f798 7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7836 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
bb0054cd 7837
4268f798 7838 wxPyEndAllowThreads(__tstate);
493f1553 7839 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7840} _resultobj = Py_BuildValue("i",_result);
7841 return _resultobj;
7842}
7843
d5c9047a 7844#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 7845static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7846 PyObject * _resultobj;
d5c9047a 7847 wxTreeItemId * _result;
f6bcfd97 7848 wxPyTreeCtrl * _arg0;
d5c9047a 7849 wxTreeItemId * _arg1;
0815db26 7850 long * _arg2 = (long *) &longzero;
1d99702e
RD
7851 PyObject * _argo0 = 0;
7852 PyObject * _argo1 = 0;
d5c9047a
RD
7853 long temp;
7854 PyObject * _obj2 = 0;
efc5f224 7855 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7856 char _ptemp[128];
8ab979d7
RD
7857
7858 self = self;
f87dfa06 7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7860 return NULL;
1d99702e
RD
7861 if (_argo0) {
7862 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7865 return NULL;
7866 }
7867 }
1d99702e
RD
7868 if (_argo1) {
7869 if (_argo1 == Py_None) { _arg1 = NULL; }
7870 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
7872 return NULL;
7873 }
7874 }
f87dfa06 7875 if (_obj2)
d5c9047a
RD
7876{
7877 temp = (long) PyInt_AsLong(_obj2);
7878 _arg2 = &temp;
7879}
cf694132 7880{
4268f798 7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7882 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
cf694132 7883
4268f798 7884 wxPyEndAllowThreads(__tstate);
493f1553 7885 if (PyErr_Occurred()) return NULL;
cf694132 7886} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
7887 _resultobj = Py_BuildValue("s",_ptemp);
7888{
7889 PyObject *o;
7890 o = PyInt_FromLong((long) (*_arg2));
7891 _resultobj = t_output_helper(_resultobj, o);
7892}
8ab979d7
RD
7893 return _resultobj;
7894}
7895
d5c9047a 7896#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 7897static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7898 PyObject * _resultobj;
d5c9047a 7899 wxTreeItemId * _result;
f6bcfd97 7900 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7901 wxTreeItemId * _arg1;
7902 long * _arg2;
1d99702e
RD
7903 PyObject * _argo0 = 0;
7904 PyObject * _argo1 = 0;
d5c9047a 7905 long temp;
8ab979d7 7906 PyObject * _obj2 = 0;
efc5f224 7907 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7908 char _ptemp[128];
8ab979d7
RD
7909
7910 self = self;
efc5f224 7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7912 return NULL;
1d99702e
RD
7913 if (_argo0) {
7914 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7917 return NULL;
7918 }
7919 }
1d99702e
RD
7920 if (_argo1) {
7921 if (_argo1 == Py_None) { _arg1 = NULL; }
7922 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 7924 return NULL;
d5c9047a 7925 }
8ab979d7 7926 }
d5c9047a
RD
7927{
7928 temp = (long) PyInt_AsLong(_obj2);
7929 _arg2 = &temp;
8ab979d7 7930}
cf694132 7931{
4268f798 7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7933 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
cf694132 7934
4268f798 7935 wxPyEndAllowThreads(__tstate);
493f1553 7936 if (PyErr_Occurred()) return NULL;
cf694132 7937} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7938 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 7939{
d5c9047a
RD
7940 PyObject *o;
7941 o = PyInt_FromLong((long) (*_arg2));
7942 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7943}
7944 return _resultobj;
7945}
7946
d5c9047a 7947#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 7948static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7949 PyObject * _resultobj;
d5c9047a 7950 wxTreeItemId * _result;
f6bcfd97 7951 wxPyTreeCtrl * _arg0;
d5c9047a 7952 wxTreeItemId * _arg1;
1d99702e
RD
7953 PyObject * _argo0 = 0;
7954 PyObject * _argo1 = 0;
efc5f224 7955 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7956 char _ptemp[128];
8ab979d7
RD
7957
7958 self = self;
efc5f224 7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7960 return NULL;
1d99702e
RD
7961 if (_argo0) {
7962 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7965 return NULL;
7966 }
7967 }
1d99702e
RD
7968 if (_argo1) {
7969 if (_argo1 == Py_None) { _arg1 = NULL; }
7970 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7971 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7972 return NULL;
7973 }
7974 }
cf694132 7975{
4268f798 7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7977 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
cf694132 7978
4268f798 7979 wxPyEndAllowThreads(__tstate);
493f1553 7980 if (PyErr_Occurred()) return NULL;
cf694132 7981} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7982 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7983 return _resultobj;
7984}
7985
d5c9047a 7986#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 7987static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7988 PyObject * _resultobj;
d5c9047a 7989 wxTreeItemId * _result;
f6bcfd97 7990 wxPyTreeCtrl * _arg0;
d5c9047a 7991 wxTreeItemId * _arg1;
1d99702e
RD
7992 PyObject * _argo0 = 0;
7993 PyObject * _argo1 = 0;
efc5f224 7994 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7995 char _ptemp[128];
8ab979d7
RD
7996
7997 self = self;
efc5f224 7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7999 return NULL;
1d99702e
RD
8000 if (_argo0) {
8001 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8004 return NULL;
8005 }
8006 }
1d99702e
RD
8007 if (_argo1) {
8008 if (_argo1 == Py_None) { _arg1 = NULL; }
8009 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8010 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8011 return NULL;
8012 }
8013 }
cf694132 8014{
4268f798 8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8016 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
cf694132 8017
4268f798 8018 wxPyEndAllowThreads(__tstate);
493f1553 8019 if (PyErr_Occurred()) return NULL;
cf694132 8020} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8021 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8022 return _resultobj;
8023}
8024
d5c9047a 8025#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 8026static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8027 PyObject * _resultobj;
d5c9047a 8028 wxTreeItemId * _result;
f6bcfd97 8029 wxPyTreeCtrl * _arg0;
1d99702e 8030 PyObject * _argo0 = 0;
efc5f224 8031 char *_kwnames[] = { "self", NULL };
d5c9047a 8032 char _ptemp[128];
8ab979d7
RD
8033
8034 self = self;
efc5f224 8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 8036 return NULL;
1d99702e
RD
8037 if (_argo0) {
8038 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8041 return NULL;
8042 }
8043 }
cf694132 8044{
4268f798 8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8046 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
cf694132 8047
4268f798 8048 wxPyEndAllowThreads(__tstate);
493f1553 8049 if (PyErr_Occurred()) return NULL;
cf694132 8050} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8051 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8052 return _resultobj;
8053}
8054
d5c9047a 8055#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 8056static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8057 PyObject * _resultobj;
d5c9047a 8058 wxTreeItemId * _result;
f6bcfd97 8059 wxPyTreeCtrl * _arg0;
d5c9047a 8060 wxTreeItemId * _arg1;
1d99702e
RD
8061 PyObject * _argo0 = 0;
8062 PyObject * _argo1 = 0;
efc5f224 8063 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8064 char _ptemp[128];
8ab979d7
RD
8065
8066 self = self;
efc5f224 8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8068 return NULL;
1d99702e
RD
8069 if (_argo0) {
8070 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8073 return NULL;
8074 }
8075 }
1d99702e
RD
8076 if (_argo1) {
8077 if (_argo1 == Py_None) { _arg1 = NULL; }
8078 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8079 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8080 return NULL;
8081 }
8082 }
cf694132 8083{
4268f798 8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8085 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
cf694132 8086
4268f798 8087 wxPyEndAllowThreads(__tstate);
493f1553 8088 if (PyErr_Occurred()) return NULL;
cf694132 8089} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8090 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8091 return _resultobj;
8092}
8093
d5c9047a 8094#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 8095static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8096 PyObject * _resultobj;
d5c9047a 8097 wxTreeItemId * _result;
f6bcfd97 8098 wxPyTreeCtrl * _arg0;
d5c9047a 8099 wxTreeItemId * _arg1;
1d99702e
RD
8100 PyObject * _argo0 = 0;
8101 PyObject * _argo1 = 0;
efc5f224 8102 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8103 char _ptemp[128];
8ab979d7
RD
8104
8105 self = self;
efc5f224 8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8107 return NULL;
1d99702e
RD
8108 if (_argo0) {
8109 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8112 return NULL;
8113 }
8114 }
1d99702e
RD
8115 if (_argo1) {
8116 if (_argo1 == Py_None) { _arg1 = NULL; }
8117 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8118 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
8119 return NULL;
8120 }
8121 }
cf694132 8122{
4268f798 8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8124 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
cf694132 8125
4268f798 8126 wxPyEndAllowThreads(__tstate);
493f1553 8127 if (PyErr_Occurred()) return NULL;
cf694132 8128} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8129 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8130 return _resultobj;
8131}
8132
d426c97e
RD
8133#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8134static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8135 PyObject * _resultobj;
8136 wxTreeItemId * _result;
f6bcfd97 8137 wxPyTreeCtrl * _arg0;
d426c97e
RD
8138 wxTreeItemId * _arg1;
8139 PyObject * _argo0 = 0;
8140 PyObject * _argo1 = 0;
8141 char *_kwnames[] = { "self","item", NULL };
8142 char _ptemp[128];
8143
8144 self = self;
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8146 return NULL;
8147 if (_argo0) {
8148 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8151 return NULL;
8152 }
8153 }
8154 if (_argo1) {
8155 if (_argo1 == Py_None) { _arg1 = NULL; }
8156 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8157 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8158 return NULL;
8159 }
8160 }
8161{
4268f798 8162 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8163 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
d426c97e 8164
4268f798 8165 wxPyEndAllowThreads(__tstate);
493f1553 8166 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8167} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8168 _resultobj = Py_BuildValue("s",_ptemp);
8169 return _resultobj;
8170}
8171
d5c9047a 8172#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8173static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8174 PyObject * _resultobj;
d5c9047a 8175 wxTreeItemId * _result;
f6bcfd97 8176 wxPyTreeCtrl * _arg0;
d5c9047a 8177 wxString * _arg1;
1d99702e
RD
8178 int _arg2 = (int ) -1;
8179 int _arg3 = (int ) -1;
8180 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8181 PyObject * _argo0 = 0;
d5c9047a 8182 PyObject * _obj1 = 0;
1d99702e 8183 PyObject * _argo4 = 0;
efc5f224 8184 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8185 char _ptemp[128];
8ab979d7
RD
8186
8187 self = self;
efc5f224 8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8189 return NULL;
1d99702e
RD
8190 if (_argo0) {
8191 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8194 return NULL;
8195 }
8196 }
d5c9047a 8197{
c8bc7bb8
RD
8198 _arg1 = wxString_in_helper(_obj1);
8199 if (_arg1 == NULL)
185d7c3e 8200 return NULL;
d5c9047a 8201}
1d99702e
RD
8202 if (_argo4) {
8203 if (_argo4 == Py_None) { _arg4 = NULL; }
8204 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8205 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8206 return NULL;
8207 }
8208 }
cf694132 8209{
4268f798 8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8211 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
cf694132 8212
4268f798 8213 wxPyEndAllowThreads(__tstate);
493f1553 8214 if (PyErr_Occurred()) return NULL;
cf694132 8215} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8216 _resultobj = Py_BuildValue("s",_ptemp);
8217{
8218 if (_obj1)
8219 delete _arg1;
8220}
8ab979d7
RD
8221 return _resultobj;
8222}
8223
d5c9047a 8224#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8225static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8226 PyObject * _resultobj;
d5c9047a 8227 wxTreeItemId * _result;
f6bcfd97 8228 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8229 wxTreeItemId * _arg1;
8230 wxString * _arg2;
1d99702e
RD
8231 int _arg3 = (int ) -1;
8232 int _arg4 = (int ) -1;
8233 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8234 PyObject * _argo0 = 0;
8235 PyObject * _argo1 = 0;
d5c9047a 8236 PyObject * _obj2 = 0;
1d99702e 8237 PyObject * _argo5 = 0;
efc5f224 8238 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8239 char _ptemp[128];
8ab979d7
RD
8240
8241 self = self;
efc5f224 8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8243 return NULL;
1d99702e
RD
8244 if (_argo0) {
8245 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8248 return NULL;
8249 }
8250 }
1d99702e
RD
8251 if (_argo1) {
8252 if (_argo1 == Py_None) { _arg1 = NULL; }
8253 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8254 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8255 return NULL;
8256 }
8257 }
8258{
c8bc7bb8
RD
8259 _arg2 = wxString_in_helper(_obj2);
8260 if (_arg2 == NULL)
185d7c3e 8261 return NULL;
d5c9047a 8262}
1d99702e
RD
8263 if (_argo5) {
8264 if (_argo5 == Py_None) { _arg5 = NULL; }
8265 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8266 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8267 return NULL;
8268 }
8269 }
cf694132 8270{
4268f798 8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8272 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8273
4268f798 8274 wxPyEndAllowThreads(__tstate);
493f1553 8275 if (PyErr_Occurred()) return NULL;
cf694132 8276} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8277 _resultobj = Py_BuildValue("s",_ptemp);
8278{
8279 if (_obj2)
8280 delete _arg2;
8281}
8ab979d7
RD
8282 return _resultobj;
8283}
8284
d5c9047a 8285#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8286static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8287 PyObject * _resultobj;
d5c9047a 8288 wxTreeItemId * _result;
f6bcfd97 8289 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8290 wxTreeItemId * _arg1;
8291 wxTreeItemId * _arg2;
8292 wxString * _arg3;
1d99702e
RD
8293 int _arg4 = (int ) -1;
8294 int _arg5 = (int ) -1;
8295 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8296 PyObject * _argo0 = 0;
8297 PyObject * _argo1 = 0;
8298 PyObject * _argo2 = 0;
d5c9047a 8299 PyObject * _obj3 = 0;
1d99702e 8300 PyObject * _argo6 = 0;
efc5f224 8301 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8302 char _ptemp[128];
8ab979d7
RD
8303
8304 self = self;
efc5f224 8305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8306 return NULL;
1d99702e
RD
8307 if (_argo0) {
8308 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8311 return NULL;
8312 }
8313 }
1d99702e
RD
8314 if (_argo1) {
8315 if (_argo1 == Py_None) { _arg1 = NULL; }
8316 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8317 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8318 return NULL;
8319 }
8320 }
1d99702e
RD
8321 if (_argo2) {
8322 if (_argo2 == Py_None) { _arg2 = NULL; }
8323 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8324 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8325 return NULL;
8326 }
8327 }
8328{
c8bc7bb8
RD
8329 _arg3 = wxString_in_helper(_obj3);
8330 if (_arg3 == NULL)
185d7c3e 8331 return NULL;
d5c9047a 8332}
1d99702e
RD
8333 if (_argo6) {
8334 if (_argo6 == Py_None) { _arg6 = NULL; }
8335 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8336 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8337 return NULL;
8338 }
8339 }
cf694132 8340{
4268f798 8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8342 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
cf694132 8343
4268f798 8344 wxPyEndAllowThreads(__tstate);
493f1553 8345 if (PyErr_Occurred()) return NULL;
cf694132 8346} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8347 _resultobj = Py_BuildValue("s",_ptemp);
8348{
8349 if (_obj3)
8350 delete _arg3;
8351}
8ab979d7
RD
8352 return _resultobj;
8353}
8354
f6bcfd97
BP
8355#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8356static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8357 PyObject * _resultobj;
8358 wxTreeItemId * _result;
8359 wxPyTreeCtrl * _arg0;
8360 wxTreeItemId * _arg1;
8361 size_t _arg2;
8362 wxString * _arg3;
8363 int _arg4 = (int ) -1;
8364 int _arg5 = (int ) -1;
3999941a 8365 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
f6bcfd97
BP
8366 PyObject * _argo0 = 0;
8367 PyObject * _argo1 = 0;
8368 PyObject * _obj3 = 0;
8369 PyObject * _argo6 = 0;
8370 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8371 char _ptemp[128];
8372
8373 self = self;
8374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8375 return NULL;
8376 if (_argo0) {
8377 if (_argo0 == Py_None) { _arg0 = NULL; }
8378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8380 return NULL;
8381 }
8382 }
8383 if (_argo1) {
8384 if (_argo1 == Py_None) { _arg1 = NULL; }
8385 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8386 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8387 return NULL;
8388 }
8389 }
8390{
c8bc7bb8
RD
8391 _arg3 = wxString_in_helper(_obj3);
8392 if (_arg3 == NULL)
185d7c3e 8393 return NULL;
f6bcfd97
BP
8394}
8395 if (_argo6) {
8396 if (_argo6 == Py_None) { _arg6 = NULL; }
3999941a
RD
8397 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
8398 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
f6bcfd97
BP
8399 return NULL;
8400 }
8401 }
8402{
4268f798 8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8404 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
f6bcfd97 8405
4268f798 8406 wxPyEndAllowThreads(__tstate);
493f1553 8407 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8408} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8409 _resultobj = Py_BuildValue("s",_ptemp);
8410{
8411 if (_obj3)
8412 delete _arg3;
8413}
8414 return _resultobj;
8415}
8416
d5c9047a 8417#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8418static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8419 PyObject * _resultobj;
d5c9047a 8420 wxTreeItemId * _result;
f6bcfd97 8421 wxPyTreeCtrl * _arg0;
d5c9047a 8422 wxTreeItemId * _arg1;
8ab979d7 8423 wxString * _arg2;
1d99702e
RD
8424 int _arg3 = (int ) -1;
8425 int _arg4 = (int ) -1;
8426 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8427 PyObject * _argo0 = 0;
8428 PyObject * _argo1 = 0;
8ab979d7 8429 PyObject * _obj2 = 0;
1d99702e 8430 PyObject * _argo5 = 0;
efc5f224 8431 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8432 char _ptemp[128];
8ab979d7
RD
8433
8434 self = self;
efc5f224 8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8436 return NULL;
1d99702e
RD
8437 if (_argo0) {
8438 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8441 return NULL;
8442 }
8443 }
1d99702e
RD
8444 if (_argo1) {
8445 if (_argo1 == Py_None) { _arg1 = NULL; }
8446 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8447 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8448 return NULL;
8449 }
8450 }
8451{
c8bc7bb8
RD
8452 _arg2 = wxString_in_helper(_obj2);
8453 if (_arg2 == NULL)
185d7c3e 8454 return NULL;
8ab979d7 8455}
1d99702e
RD
8456 if (_argo5) {
8457 if (_argo5 == Py_None) { _arg5 = NULL; }
8458 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8459 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8460 return NULL;
8461 }
8462 }
cf694132 8463{
4268f798 8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8465 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8466
4268f798 8467 wxPyEndAllowThreads(__tstate);
493f1553 8468 if (PyErr_Occurred()) return NULL;
cf694132 8469} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8470 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8471{
8472 if (_obj2)
8473 delete _arg2;
8474}
8475 return _resultobj;
8476}
8477
d5c9047a 8478#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8479static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8480 PyObject * _resultobj;
f6bcfd97 8481 wxPyTreeCtrl * _arg0;
d5c9047a 8482 wxTreeItemId * _arg1;
1d99702e
RD
8483 PyObject * _argo0 = 0;
8484 PyObject * _argo1 = 0;
efc5f224 8485 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8486
8487 self = self;
efc5f224 8488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8489 return NULL;
1d99702e
RD
8490 if (_argo0) {
8491 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8494 return NULL;
8495 }
8496 }
1d99702e
RD
8497 if (_argo1) {
8498 if (_argo1 == Py_None) { _arg1 = NULL; }
8499 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8500 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8501 return NULL;
8502 }
8503 }
cf694132 8504{
4268f798 8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8506 wxTreeCtrl_Delete(_arg0,*_arg1);
cf694132 8507
4268f798 8508 wxPyEndAllowThreads(__tstate);
493f1553 8509 if (PyErr_Occurred()) return NULL;
cf694132 8510} Py_INCREF(Py_None);
d5c9047a
RD
8511 _resultobj = Py_None;
8512 return _resultobj;
8513}
8514
08127323 8515#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8516static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8517 PyObject * _resultobj;
f6bcfd97 8518 wxPyTreeCtrl * _arg0;
08127323 8519 wxTreeItemId * _arg1;
1d99702e
RD
8520 PyObject * _argo0 = 0;
8521 PyObject * _argo1 = 0;
efc5f224 8522 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8523
8524 self = self;
efc5f224 8525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8526 return NULL;
1d99702e
RD
8527 if (_argo0) {
8528 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8531 return NULL;
8532 }
8533 }
1d99702e
RD
8534 if (_argo1) {
8535 if (_argo1 == Py_None) { _arg1 = NULL; }
8536 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8537 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8538 return NULL;
8539 }
8540 }
cf694132 8541{
4268f798 8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8543 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
cf694132 8544
4268f798 8545 wxPyEndAllowThreads(__tstate);
493f1553 8546 if (PyErr_Occurred()) return NULL;
cf694132 8547} Py_INCREF(Py_None);
08127323
RD
8548 _resultobj = Py_None;
8549 return _resultobj;
8550}
8551
d5c9047a 8552#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8553static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8554 PyObject * _resultobj;
f6bcfd97 8555 wxPyTreeCtrl * _arg0;
1d99702e 8556 PyObject * _argo0 = 0;
efc5f224 8557 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8558
8559 self = self;
efc5f224 8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8561 return NULL;
1d99702e
RD
8562 if (_argo0) {
8563 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8566 return NULL;
8567 }
8568 }
cf694132 8569{
4268f798 8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8571 wxTreeCtrl_DeleteAllItems(_arg0);
cf694132 8572
4268f798 8573 wxPyEndAllowThreads(__tstate);
493f1553 8574 if (PyErr_Occurred()) return NULL;
cf694132 8575} Py_INCREF(Py_None);
d5c9047a
RD
8576 _resultobj = Py_None;
8577 return _resultobj;
8578}
8579
8580#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8581static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8582 PyObject * _resultobj;
f6bcfd97 8583 wxPyTreeCtrl * _arg0;
d5c9047a 8584 wxTreeItemId * _arg1;
1d99702e
RD
8585 PyObject * _argo0 = 0;
8586 PyObject * _argo1 = 0;
efc5f224 8587 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8588
8589 self = self;
efc5f224 8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8591 return NULL;
1d99702e
RD
8592 if (_argo0) {
8593 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8596 return NULL;
8597 }
8598 }
1d99702e
RD
8599 if (_argo1) {
8600 if (_argo1 == Py_None) { _arg1 = NULL; }
8601 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8602 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8603 return NULL;
8604 }
8605 }
cf694132 8606{
4268f798 8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8608 wxTreeCtrl_Expand(_arg0,*_arg1);
cf694132 8609
4268f798 8610 wxPyEndAllowThreads(__tstate);
493f1553 8611 if (PyErr_Occurred()) return NULL;
cf694132 8612} Py_INCREF(Py_None);
d5c9047a
RD
8613 _resultobj = Py_None;
8614 return _resultobj;
8615}
8616
8617#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8618static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8619 PyObject * _resultobj;
f6bcfd97 8620 wxPyTreeCtrl * _arg0;
d5c9047a 8621 wxTreeItemId * _arg1;
1d99702e
RD
8622 PyObject * _argo0 = 0;
8623 PyObject * _argo1 = 0;
efc5f224 8624 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8625
8626 self = self;
efc5f224 8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8628 return NULL;
1d99702e
RD
8629 if (_argo0) {
8630 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8633 return NULL;
8634 }
8635 }
1d99702e
RD
8636 if (_argo1) {
8637 if (_argo1 == Py_None) { _arg1 = NULL; }
8638 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8639 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8640 return NULL;
8641 }
8642 }
cf694132 8643{
4268f798 8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8645 wxTreeCtrl_Collapse(_arg0,*_arg1);
cf694132 8646
4268f798 8647 wxPyEndAllowThreads(__tstate);
493f1553 8648 if (PyErr_Occurred()) return NULL;
cf694132 8649} Py_INCREF(Py_None);
d5c9047a
RD
8650 _resultobj = Py_None;
8651 return _resultobj;
8652}
8653
8654#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8655static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8656 PyObject * _resultobj;
f6bcfd97 8657 wxPyTreeCtrl * _arg0;
d5c9047a 8658 wxTreeItemId * _arg1;
1d99702e
RD
8659 PyObject * _argo0 = 0;
8660 PyObject * _argo1 = 0;
efc5f224 8661 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8662
8663 self = self;
efc5f224 8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8665 return NULL;
1d99702e
RD
8666 if (_argo0) {
8667 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8670 return NULL;
8671 }
8672 }
1d99702e
RD
8673 if (_argo1) {
8674 if (_argo1 == Py_None) { _arg1 = NULL; }
8675 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8676 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8677 return NULL;
8678 }
8679 }
cf694132 8680{
4268f798 8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8682 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
cf694132 8683
4268f798 8684 wxPyEndAllowThreads(__tstate);
493f1553 8685 if (PyErr_Occurred()) return NULL;
cf694132 8686} Py_INCREF(Py_None);
d5c9047a
RD
8687 _resultobj = Py_None;
8688 return _resultobj;
8689}
8690
8691#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8692static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8693 PyObject * _resultobj;
f6bcfd97 8694 wxPyTreeCtrl * _arg0;
d5c9047a 8695 wxTreeItemId * _arg1;
1d99702e
RD
8696 PyObject * _argo0 = 0;
8697 PyObject * _argo1 = 0;
efc5f224 8698 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8699
8700 self = self;
efc5f224 8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8702 return NULL;
1d99702e
RD
8703 if (_argo0) {
8704 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8707 return NULL;
8708 }
8709 }
1d99702e
RD
8710 if (_argo1) {
8711 if (_argo1 == Py_None) { _arg1 = NULL; }
8712 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8714 return NULL;
8715 }
8716 }
cf694132 8717{
4268f798 8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8719 wxTreeCtrl_Toggle(_arg0,*_arg1);
cf694132 8720
4268f798 8721 wxPyEndAllowThreads(__tstate);
493f1553 8722 if (PyErr_Occurred()) return NULL;
cf694132 8723} Py_INCREF(Py_None);
d5c9047a
RD
8724 _resultobj = Py_None;
8725 return _resultobj;
8726}
8727
8728#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8729static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8730 PyObject * _resultobj;
f6bcfd97 8731 wxPyTreeCtrl * _arg0;
1d99702e 8732 PyObject * _argo0 = 0;
efc5f224 8733 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8734
8735 self = self;
efc5f224 8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8737 return NULL;
1d99702e
RD
8738 if (_argo0) {
8739 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8742 return NULL;
8743 }
8744 }
cf694132 8745{
4268f798 8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8747 wxTreeCtrl_Unselect(_arg0);
cf694132 8748
4268f798 8749 wxPyEndAllowThreads(__tstate);
493f1553 8750 if (PyErr_Occurred()) return NULL;
cf694132 8751} Py_INCREF(Py_None);
d5c9047a
RD
8752 _resultobj = Py_None;
8753 return _resultobj;
8754}
8755
8bf5d46e 8756#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8757static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8758 PyObject * _resultobj;
f6bcfd97 8759 wxPyTreeCtrl * _arg0;
1d99702e 8760 PyObject * _argo0 = 0;
efc5f224 8761 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
8762
8763 self = self;
efc5f224 8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 8765 return NULL;
1d99702e
RD
8766 if (_argo0) {
8767 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
8770 return NULL;
8771 }
8772 }
8773{
4268f798 8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8775 wxTreeCtrl_UnselectAll(_arg0);
8bf5d46e 8776
4268f798 8777 wxPyEndAllowThreads(__tstate);
493f1553 8778 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8779} Py_INCREF(Py_None);
8780 _resultobj = Py_None;
8781 return _resultobj;
8782}
8783
d5c9047a 8784#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 8785static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8786 PyObject * _resultobj;
f6bcfd97 8787 wxPyTreeCtrl * _arg0;
d5c9047a 8788 wxTreeItemId * _arg1;
1d99702e
RD
8789 PyObject * _argo0 = 0;
8790 PyObject * _argo1 = 0;
efc5f224 8791 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8792
8793 self = self;
efc5f224 8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 8795 return NULL;
1d99702e
RD
8796 if (_argo0) {
8797 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8800 return NULL;
8801 }
8802 }
1d99702e
RD
8803 if (_argo1) {
8804 if (_argo1 == Py_None) { _arg1 = NULL; }
8805 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8806 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8807 return NULL;
8808 }
8809 }
cf694132 8810{
4268f798 8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8812 wxTreeCtrl_SelectItem(_arg0,*_arg1);
cf694132 8813
4268f798 8814 wxPyEndAllowThreads(__tstate);
493f1553 8815 if (PyErr_Occurred()) return NULL;
cf694132 8816} Py_INCREF(Py_None);
d5c9047a
RD
8817 _resultobj = Py_None;
8818 return _resultobj;
8819}
8820
8821#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 8822static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8823 PyObject * _resultobj;
f6bcfd97 8824 wxPyTreeCtrl * _arg0;
d5c9047a 8825 wxTreeItemId * _arg1;
1d99702e
RD
8826 PyObject * _argo0 = 0;
8827 PyObject * _argo1 = 0;
efc5f224 8828 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8829
8830 self = self;
efc5f224 8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 8832 return NULL;
1d99702e
RD
8833 if (_argo0) {
8834 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8837 return NULL;
8838 }
8839 }
1d99702e
RD
8840 if (_argo1) {
8841 if (_argo1 == Py_None) { _arg1 = NULL; }
8842 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8843 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8844 return NULL;
8845 }
8846 }
cf694132 8847{
4268f798 8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8849 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
cf694132 8850
4268f798 8851 wxPyEndAllowThreads(__tstate);
493f1553 8852 if (PyErr_Occurred()) return NULL;
cf694132 8853} Py_INCREF(Py_None);
d5c9047a
RD
8854 _resultobj = Py_None;
8855 return _resultobj;
8856}
8857
8858#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 8859static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8860 PyObject * _resultobj;
f6bcfd97 8861 wxPyTreeCtrl * _arg0;
d5c9047a 8862 wxTreeItemId * _arg1;
1d99702e
RD
8863 PyObject * _argo0 = 0;
8864 PyObject * _argo1 = 0;
efc5f224 8865 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8866
8867 self = self;
efc5f224 8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 8869 return NULL;
1d99702e
RD
8870 if (_argo0) {
8871 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8874 return NULL;
8875 }
8876 }
1d99702e
RD
8877 if (_argo1) {
8878 if (_argo1 == Py_None) { _arg1 = NULL; }
8879 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8880 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8881 return NULL;
8882 }
8883 }
cf694132 8884{
4268f798 8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8886 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
cf694132 8887
4268f798 8888 wxPyEndAllowThreads(__tstate);
493f1553 8889 if (PyErr_Occurred()) return NULL;
cf694132 8890} Py_INCREF(Py_None);
d5c9047a
RD
8891 _resultobj = Py_None;
8892 return _resultobj;
8893}
8894
8895#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 8896static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
8897 PyObject * _resultobj;
8898 wxTextCtrl * _result;
f6bcfd97 8899 wxPyTreeCtrl * _arg0;
d5c9047a 8900 wxTreeItemId * _arg1;
1d99702e
RD
8901 PyObject * _argo0 = 0;
8902 PyObject * _argo1 = 0;
efc5f224 8903 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8904
8905 self = self;
efc5f224 8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 8907 return NULL;
1d99702e
RD
8908 if (_argo0) {
8909 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8912 return NULL;
8913 }
8914 }
1d99702e
RD
8915 if (_argo1) {
8916 if (_argo1 == Py_None) { _arg1 = NULL; }
8917 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8918 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8919 return NULL;
8920 }
8921 }
cf694132 8922{
4268f798 8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8924 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132 8925
4268f798 8926 wxPyEndAllowThreads(__tstate);
493f1553 8927 if (PyErr_Occurred()) return NULL;
9416aa89 8928}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
8929 return _resultobj;
8930}
8931
8932#define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
efc5f224 8933static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a
RD
8934 PyObject * _resultobj;
8935 wxTextCtrl * _result;
f6bcfd97 8936 wxPyTreeCtrl * _arg0;
1d99702e 8937 PyObject * _argo0 = 0;
efc5f224 8938 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8939
8940 self = self;
efc5f224 8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0))
d5c9047a 8942 return NULL;
1d99702e
RD
8943 if (_argo0) {
8944 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8947 return NULL;
8948 }
8949 }
cf694132 8950{
4268f798 8951 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8952 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
cf694132 8953
4268f798 8954 wxPyEndAllowThreads(__tstate);
493f1553 8955 if (PyErr_Occurred()) return NULL;
9416aa89 8956}{ _resultobj = wxPyMake_wxObject(_result); }
d5c9047a
RD
8957 return _resultobj;
8958}
8959
8960#define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
efc5f224 8961static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8962 PyObject * _resultobj;
f6bcfd97 8963 wxPyTreeCtrl * _arg0;
d5c9047a 8964 wxTreeItemId * _arg1;
b1462dfa 8965 int _arg2 = (int ) FALSE;
1d99702e
RD
8966 PyObject * _argo0 = 0;
8967 PyObject * _argo1 = 0;
efc5f224 8968 char *_kwnames[] = { "self","item","discardChanges", NULL };
d5c9047a
RD
8969
8970 self = self;
b1462dfa 8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2))
d5c9047a 8972 return NULL;
1d99702e
RD
8973 if (_argo0) {
8974 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8977 return NULL;
8978 }
8979 }
1d99702e
RD
8980 if (_argo1) {
8981 if (_argo1 == Py_None) { _arg1 = NULL; }
8982 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8983 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
8984 return NULL;
8985 }
8986 }
cf694132 8987{
4268f798 8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8989 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
cf694132 8990
4268f798 8991 wxPyEndAllowThreads(__tstate);
493f1553 8992 if (PyErr_Occurred()) return NULL;
cf694132 8993} Py_INCREF(Py_None);
d5c9047a 8994 _resultobj = Py_None;
8ab979d7
RD
8995 return _resultobj;
8996}
8997
d426c97e
RD
8998#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8999static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
9000 PyObject * _resultobj;
f6bcfd97 9001 wxPyTreeCtrl * _arg0;
d426c97e
RD
9002 wxTreeItemId * _arg1;
9003 PyObject * _argo0 = 0;
9004 PyObject * _argo1 = 0;
9005 char *_kwnames[] = { "self","item", NULL };
9006
9007 self = self;
9008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
9009 return NULL;
9010 if (_argo0) {
9011 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9014 return NULL;
9015 }
9016 }
9017 if (_argo1) {
9018 if (_argo1 == Py_None) { _arg1 = NULL; }
9019 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9020 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9021 return NULL;
9022 }
9023 }
9024{
4268f798 9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9026 wxTreeCtrl_SortChildren(_arg0,*_arg1);
d426c97e 9027
4268f798 9028 wxPyEndAllowThreads(__tstate);
493f1553 9029 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9030} Py_INCREF(Py_None);
9031 _resultobj = Py_None;
9032 return _resultobj;
9033}
9034
b8b8dda7 9035#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 9036static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 9037 PyObject * _resultobj;
f6bcfd97 9038 wxPyTreeCtrl * _arg0;
b8b8dda7 9039 wxTreeItemId * _arg1;
b1462dfa 9040 int _arg2 = (int ) TRUE;
1d99702e
RD
9041 PyObject * _argo0 = 0;
9042 PyObject * _argo1 = 0;
efc5f224 9043 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
9044
9045 self = self;
b1462dfa 9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 9047 return NULL;
1d99702e
RD
9048 if (_argo0) {
9049 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9052 return NULL;
9053 }
9054 }
1d99702e
RD
9055 if (_argo1) {
9056 if (_argo1 == Py_None) { _arg1 = NULL; }
9057 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9058 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9059 return NULL;
9060 }
9061 }
cf694132 9062{
4268f798 9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9064 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
cf694132 9065
4268f798 9066 wxPyEndAllowThreads(__tstate);
493f1553 9067 if (PyErr_Occurred()) return NULL;
cf694132 9068} Py_INCREF(Py_None);
b8b8dda7
RD
9069 _resultobj = Py_None;
9070 return _resultobj;
9071}
9072
9073#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 9074static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9075 PyObject * _resultobj;
9076 bool _result;
f6bcfd97 9077 wxPyTreeCtrl * _arg0;
b8b8dda7 9078 wxTreeItemId * _arg1;
1d99702e
RD
9079 PyObject * _argo0 = 0;
9080 PyObject * _argo1 = 0;
efc5f224 9081 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
9082
9083 self = self;
efc5f224 9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 9085 return NULL;
1d99702e
RD
9086 if (_argo0) {
9087 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9090 return NULL;
9091 }
9092 }
1d99702e
RD
9093 if (_argo1) {
9094 if (_argo1 == Py_None) { _arg1 = NULL; }
9095 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9096 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9097 return NULL;
9098 }
9099 }
cf694132 9100{
4268f798 9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9102 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
cf694132 9103
4268f798 9104 wxPyEndAllowThreads(__tstate);
493f1553 9105 if (PyErr_Occurred()) return NULL;
cf694132 9106} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
9107 return _resultobj;
9108}
9109
164b735b 9110#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 9111static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9112 PyObject * _resultobj;
9113 wxTreeItemId * _result;
f6bcfd97 9114 wxPyTreeCtrl * _arg0;
b8b8dda7 9115 wxPoint * _arg1;
164b735b
RD
9116 int * _arg2;
9117 int temp;
1d99702e 9118 PyObject * _argo0 = 0;
164b735b 9119 wxPoint temp0;
2f90df85 9120 PyObject * _obj1 = 0;
efc5f224 9121 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
9122 char _ptemp[128];
9123
9124 self = self;
164b735b
RD
9125{
9126 _arg2 = &temp;
9127}
2f90df85 9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 9129 return NULL;
1d99702e
RD
9130 if (_argo0) {
9131 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9134 return NULL;
9135 }
9136 }
2f90df85 9137{
164b735b 9138 _arg1 = &temp0;
2f90df85 9139 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 9140 return NULL;
2f90df85 9141}
cf694132 9142{
4268f798 9143 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9144 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132 9145
4268f798 9146 wxPyEndAllowThreads(__tstate);
493f1553 9147 if (PyErr_Occurred()) return NULL;
cf694132 9148} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 9149 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
9150{
9151 PyObject *o;
9152 o = PyInt_FromLong((long) (*_arg2));
9153 _resultobj = t_output_helper(_resultobj, o);
9154}
b8b8dda7
RD
9155 return _resultobj;
9156}
9157
b7e72427
RD
9158#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9159static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9160 PyObject * _resultobj;
f6bcfd97 9161 wxPyTreeCtrl * _arg0;
b7e72427
RD
9162 wxTreeItemId * _arg1;
9163 wxColour * _arg2;
9164 PyObject * _argo0 = 0;
9165 PyObject * _argo1 = 0;
f6bcfd97
BP
9166 wxColour temp;
9167 PyObject * _obj2 = 0;
b7e72427
RD
9168 char *_kwnames[] = { "self","item","col", NULL };
9169
9170 self = self;
f6bcfd97 9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9172 return NULL;
9173 if (_argo0) {
9174 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9177 return NULL;
9178 }
9179 }
9180 if (_argo1) {
9181 if (_argo1 == Py_None) { _arg1 = NULL; }
9182 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9183 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9184 return NULL;
9185 }
9186 }
f6bcfd97
BP
9187{
9188 _arg2 = &temp;
9189 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9190 return NULL;
f6bcfd97 9191}
b7e72427 9192{
4268f798 9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9194 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
b7e72427 9195
4268f798 9196 wxPyEndAllowThreads(__tstate);
493f1553 9197 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9198} Py_INCREF(Py_None);
9199 _resultobj = Py_None;
9200 return _resultobj;
9201}
9202
9203#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9204static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9205 PyObject * _resultobj;
f6bcfd97 9206 wxPyTreeCtrl * _arg0;
b7e72427
RD
9207 wxTreeItemId * _arg1;
9208 wxColour * _arg2;
9209 PyObject * _argo0 = 0;
9210 PyObject * _argo1 = 0;
f6bcfd97
BP
9211 wxColour temp;
9212 PyObject * _obj2 = 0;
b7e72427
RD
9213 char *_kwnames[] = { "self","item","col", NULL };
9214
9215 self = self;
f6bcfd97 9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9217 return NULL;
9218 if (_argo0) {
9219 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9222 return NULL;
9223 }
9224 }
9225 if (_argo1) {
9226 if (_argo1 == Py_None) { _arg1 = NULL; }
9227 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9228 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9229 return NULL;
9230 }
9231 }
f6bcfd97
BP
9232{
9233 _arg2 = &temp;
9234 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9235 return NULL;
f6bcfd97 9236}
b7e72427 9237{
4268f798 9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9239 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
b7e72427 9240
4268f798 9241 wxPyEndAllowThreads(__tstate);
493f1553 9242 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9243} Py_INCREF(Py_None);
9244 _resultobj = Py_None;
9245 return _resultobj;
9246}
9247
9248#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9249static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9250 PyObject * _resultobj;
f6bcfd97 9251 wxPyTreeCtrl * _arg0;
b7e72427
RD
9252 wxTreeItemId * _arg1;
9253 wxFont * _arg2;
9254 PyObject * _argo0 = 0;
9255 PyObject * _argo1 = 0;
9256 PyObject * _argo2 = 0;
9257 char *_kwnames[] = { "self","item","font", NULL };
9258
9259 self = self;
9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9261 return NULL;
9262 if (_argo0) {
9263 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9266 return NULL;
9267 }
9268 }
9269 if (_argo1) {
9270 if (_argo1 == Py_None) { _arg1 = NULL; }
9271 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9272 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9273 return NULL;
9274 }
9275 }
9276 if (_argo2) {
9277 if (_argo2 == Py_None) { _arg2 = NULL; }
9278 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9279 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9280 return NULL;
9281 }
9282 }
9283{
4268f798 9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9285 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
b7e72427 9286
4268f798 9287 wxPyEndAllowThreads(__tstate);
493f1553 9288 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9289} Py_INCREF(Py_None);
9290 _resultobj = Py_None;
9291 return _resultobj;
9292}
9293
b1462dfa
RD
9294#define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9295static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject * _resultobj;
f6bcfd97 9297 wxPyTreeCtrl * _arg0;
b1462dfa
RD
9298 wxTreeItemId * _arg1;
9299 int _arg2 = (int ) TRUE;
9300 PyObject * _argo0 = 0;
9301 PyObject * _argo1 = 0;
9302 char *_kwnames[] = { "self","item","highlight", NULL };
9303
9304 self = self;
9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2))
9306 return NULL;
9307 if (_argo0) {
9308 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
9311 return NULL;
9312 }
9313 }
9314 if (_argo1) {
9315 if (_argo1 == Py_None) { _arg1 = NULL; }
9316 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9317 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9318 return NULL;
9319 }
9320 }
9321{
4268f798 9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9323 wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2);
b1462dfa 9324
4268f798 9325 wxPyEndAllowThreads(__tstate);
493f1553 9326 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
9327} Py_INCREF(Py_None);
9328 _resultobj = Py_None;
9329 return _resultobj;
9330}
9331
f6bcfd97 9332static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
d426c97e 9333 wxRect rect;
164b735b 9334 if (self->GetBoundingRect(item, rect, textOnly)) {
4268f798 9335 wxPyBeginBlockThreads();
164b735b
RD
9336 wxRect* r = new wxRect(rect);
9337 PyObject* val = wxPyConstructObject((void*)r, "wxRect");
4268f798 9338 wxPyEndBlockThreads();
164b735b
RD
9339 return val;
9340 }
d426c97e
RD
9341 else {
9342 Py_INCREF(Py_None);
9343 return Py_None;
9344 }
9345 }
9346static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject * _resultobj;
9348 PyObject * _result;
f6bcfd97 9349 wxPyTreeCtrl * _arg0;
d426c97e
RD
9350 wxTreeItemId * _arg1;
9351 int _arg2 = (int ) FALSE;
9352 PyObject * _argo0 = 0;
9353 PyObject * _argo1 = 0;
9354 char *_kwnames[] = { "self","item","textOnly", NULL };
9355
9356 self = self;
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9358 return NULL;
9359 if (_argo0) {
9360 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
9363 return NULL;
9364 }
9365 }
9366 if (_argo1) {
9367 if (_argo1 == Py_None) { _arg1 = NULL; }
9368 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9369 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9370 return NULL;
9371 }
9372 }
9373{
4268f798 9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9375 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
d426c97e 9376
4268f798 9377 wxPyEndAllowThreads(__tstate);
493f1553 9378 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9379}{
9380 _resultobj = _result;
9381}
9382 return _resultobj;
9383}
9384
68320e40
RD
9385static void *SwigwxDirItemDataTowxObject(void *ptr) {
9386 wxDirItemData *src;
9387 wxObject *dest;
9388 src = (wxDirItemData *) ptr;
9389 dest = (wxObject *) src;
9390 return (void *) dest;
9391}
9392
9393#define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9394static PyObject *_wrap_new_wxDirItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
9395 PyObject * _resultobj;
9396 wxDirItemData * _result;
9397 wxString * _arg0;
9398 wxString * _arg1;
9399 bool _arg2;
9400 PyObject * _obj0 = 0;
9401 PyObject * _obj1 = 0;
9402 int tempbool2;
9403 char *_kwnames[] = { "path","name","isDir", NULL };
9404 char _ptemp[128];
9405
9406 self = self;
9407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:new_wxDirItemData",_kwnames,&_obj0,&_obj1,&tempbool2))
9408 return NULL;
9409{
c8bc7bb8
RD
9410 _arg0 = wxString_in_helper(_obj0);
9411 if (_arg0 == NULL)
68320e40 9412 return NULL;
68320e40
RD
9413}
9414{
c8bc7bb8
RD
9415 _arg1 = wxString_in_helper(_obj1);
9416 if (_arg1 == NULL)
68320e40 9417 return NULL;
68320e40
RD
9418}
9419 _arg2 = (bool ) tempbool2;
9420{
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9422 _result = (wxDirItemData *)new_wxDirItemData(*_arg0,*_arg1,_arg2);
68320e40
RD
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) return NULL;
9426} if (_result) {
9427 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirItemData_p");
9428 _resultobj = Py_BuildValue("s",_ptemp);
9429 } else {
9430 Py_INCREF(Py_None);
9431 _resultobj = Py_None;
9432 }
9433{
9434 if (_obj0)
9435 delete _arg0;
9436}
9437{
9438 if (_obj1)
9439 delete _arg1;
9440}
9441 return _resultobj;
9442}
9443
9444#define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9445static PyObject *_wrap_wxDirItemData_SetNewDirName(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject * _resultobj;
9447 wxDirItemData * _arg0;
9448 wxString * _arg1;
9449 PyObject * _argo0 = 0;
9450 PyObject * _obj1 = 0;
9451 char *_kwnames[] = { "self","path", NULL };
9452
9453 self = self;
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_SetNewDirName",_kwnames,&_argo0,&_obj1))
9455 return NULL;
9456 if (_argo0) {
9457 if (_argo0 == Py_None) { _arg0 = NULL; }
9458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9460 return NULL;
9461 }
9462 }
9463{
c8bc7bb8
RD
9464 _arg1 = wxString_in_helper(_obj1);
9465 if (_arg1 == NULL)
68320e40 9466 return NULL;
68320e40
RD
9467}
9468{
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9470 wxDirItemData_SetNewDirName(_arg0,*_arg1);
68320e40
RD
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) return NULL;
9474} Py_INCREF(Py_None);
9475 _resultobj = Py_None;
9476{
9477 if (_obj1)
9478 delete _arg1;
9479}
9480 return _resultobj;
9481}
9482
9483#define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9484static PyObject *_wrap_wxDirItemData_m_path_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9485 PyObject * _resultobj;
9486 wxString * _result;
9487 wxDirItemData * _arg0;
9488 wxString * _arg1;
9489 PyObject * _argo0 = 0;
9490 PyObject * _obj1 = 0;
9491 char *_kwnames[] = { "self","m_path", NULL };
9492
9493 self = self;
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_path_set",_kwnames,&_argo0,&_obj1))
9495 return NULL;
9496 if (_argo0) {
9497 if (_argo0 == Py_None) { _arg0 = NULL; }
9498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9500 return NULL;
9501 }
9502 }
9503{
c8bc7bb8
RD
9504 _arg1 = wxString_in_helper(_obj1);
9505 if (_arg1 == NULL)
68320e40 9506 return NULL;
68320e40
RD
9507}
9508{
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9510 _result = (wxString *)wxDirItemData_m_path_set(_arg0,_arg1);
68320e40
RD
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) return NULL;
9514}{
c8bc7bb8
RD
9515#if wxUSE_UNICODE
9516 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9517#else
68320e40 9518 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9519#endif
68320e40
RD
9520}
9521{
9522 if (_obj1)
9523 delete _arg1;
9524}
9525 return _resultobj;
9526}
9527
9528#define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9529static PyObject *_wrap_wxDirItemData_m_path_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9530 PyObject * _resultobj;
9531 wxString * _result;
9532 wxDirItemData * _arg0;
9533 PyObject * _argo0 = 0;
9534 char *_kwnames[] = { "self", NULL };
9535
9536 self = self;
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_path_get",_kwnames,&_argo0))
9538 return NULL;
9539 if (_argo0) {
9540 if (_argo0 == Py_None) { _arg0 = NULL; }
9541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9543 return NULL;
9544 }
9545 }
9546{
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9548 _result = (wxString *)wxDirItemData_m_path_get(_arg0);
68320e40
RD
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) return NULL;
9552}{
c8bc7bb8
RD
9553#if wxUSE_UNICODE
9554 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9555#else
68320e40 9556 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9557#endif
68320e40
RD
9558}
9559 return _resultobj;
9560}
9561
9562#define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9563static PyObject *_wrap_wxDirItemData_m_name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9564 PyObject * _resultobj;
9565 wxString * _result;
9566 wxDirItemData * _arg0;
9567 wxString * _arg1;
9568 PyObject * _argo0 = 0;
9569 PyObject * _obj1 = 0;
9570 char *_kwnames[] = { "self","m_name", NULL };
9571
9572 self = self;
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_name_set",_kwnames,&_argo0,&_obj1))
9574 return NULL;
9575 if (_argo0) {
9576 if (_argo0 == Py_None) { _arg0 = NULL; }
9577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9579 return NULL;
9580 }
9581 }
9582{
c8bc7bb8
RD
9583 _arg1 = wxString_in_helper(_obj1);
9584 if (_arg1 == NULL)
68320e40 9585 return NULL;
68320e40
RD
9586}
9587{
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9589 _result = (wxString *)wxDirItemData_m_name_set(_arg0,_arg1);
68320e40
RD
9590
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) return NULL;
9593}{
c8bc7bb8
RD
9594#if wxUSE_UNICODE
9595 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9596#else
68320e40 9597 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9598#endif
68320e40
RD
9599}
9600{
9601 if (_obj1)
9602 delete _arg1;
9603}
9604 return _resultobj;
9605}
9606
9607#define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9608static PyObject *_wrap_wxDirItemData_m_name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject * _resultobj;
9610 wxString * _result;
9611 wxDirItemData * _arg0;
9612 PyObject * _argo0 = 0;
9613 char *_kwnames[] = { "self", NULL };
9614
9615 self = self;
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_name_get",_kwnames,&_argo0))
9617 return NULL;
9618 if (_argo0) {
9619 if (_argo0 == Py_None) { _arg0 = NULL; }
9620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9622 return NULL;
9623 }
9624 }
9625{
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9627 _result = (wxString *)wxDirItemData_m_name_get(_arg0);
68320e40
RD
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) return NULL;
9631}{
c8bc7bb8
RD
9632#if wxUSE_UNICODE
9633 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9634#else
68320e40 9635 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9636#endif
68320e40
RD
9637}
9638 return _resultobj;
9639}
9640
9641#define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9642static PyObject *_wrap_wxDirItemData_m_isHidden_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9643 PyObject * _resultobj;
9644 bool _result;
9645 wxDirItemData * _arg0;
9646 bool _arg1;
9647 PyObject * _argo0 = 0;
9648 int tempbool1;
9649 char *_kwnames[] = { "self","m_isHidden", NULL };
9650
9651 self = self;
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isHidden_set",_kwnames,&_argo0,&tempbool1))
9653 return NULL;
9654 if (_argo0) {
9655 if (_argo0 == Py_None) { _arg0 = NULL; }
9656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9658 return NULL;
9659 }
9660 }
9661 _arg1 = (bool ) tempbool1;
9662{
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9664 _result = (bool )wxDirItemData_m_isHidden_set(_arg0,_arg1);
68320e40
RD
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) return NULL;
9668} _resultobj = Py_BuildValue("i",_result);
9669 return _resultobj;
9670}
9671
9672#define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9673static PyObject *_wrap_wxDirItemData_m_isHidden_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9674 PyObject * _resultobj;
9675 bool _result;
9676 wxDirItemData * _arg0;
9677 PyObject * _argo0 = 0;
9678 char *_kwnames[] = { "self", NULL };
9679
9680 self = self;
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isHidden_get",_kwnames,&_argo0))
9682 return NULL;
9683 if (_argo0) {
9684 if (_argo0 == Py_None) { _arg0 = NULL; }
9685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9687 return NULL;
9688 }
9689 }
9690{
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9692 _result = (bool )wxDirItemData_m_isHidden_get(_arg0);
68320e40
RD
9693
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) return NULL;
9696} _resultobj = Py_BuildValue("i",_result);
9697 return _resultobj;
9698}
9699
9700#define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9701static PyObject *_wrap_wxDirItemData_m_isExpanded_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9702 PyObject * _resultobj;
9703 bool _result;
9704 wxDirItemData * _arg0;
9705 bool _arg1;
9706 PyObject * _argo0 = 0;
9707 int tempbool1;
9708 char *_kwnames[] = { "self","m_isExpanded", NULL };
9709
9710 self = self;
9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isExpanded_set",_kwnames,&_argo0,&tempbool1))
9712 return NULL;
9713 if (_argo0) {
9714 if (_argo0 == Py_None) { _arg0 = NULL; }
9715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9717 return NULL;
9718 }
9719 }
9720 _arg1 = (bool ) tempbool1;
9721{
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9723 _result = (bool )wxDirItemData_m_isExpanded_set(_arg0,_arg1);
68320e40
RD
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) return NULL;
9727} _resultobj = Py_BuildValue("i",_result);
9728 return _resultobj;
9729}
9730
9731#define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9732static PyObject *_wrap_wxDirItemData_m_isExpanded_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9733 PyObject * _resultobj;
9734 bool _result;
9735 wxDirItemData * _arg0;
9736 PyObject * _argo0 = 0;
9737 char *_kwnames[] = { "self", NULL };
9738
9739 self = self;
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isExpanded_get",_kwnames,&_argo0))
9741 return NULL;
9742 if (_argo0) {
9743 if (_argo0 == Py_None) { _arg0 = NULL; }
9744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9746 return NULL;
9747 }
9748 }
9749{
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9751 _result = (bool )wxDirItemData_m_isExpanded_get(_arg0);
68320e40
RD
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) return NULL;
9755} _resultobj = Py_BuildValue("i",_result);
9756 return _resultobj;
9757}
9758
9759#define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9760static PyObject *_wrap_wxDirItemData_m_isDir_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject * _resultobj;
9762 bool _result;
9763 wxDirItemData * _arg0;
9764 bool _arg1;
9765 PyObject * _argo0 = 0;
9766 int tempbool1;
9767 char *_kwnames[] = { "self","m_isDir", NULL };
9768
9769 self = self;
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isDir_set",_kwnames,&_argo0,&tempbool1))
9771 return NULL;
9772 if (_argo0) {
9773 if (_argo0 == Py_None) { _arg0 = NULL; }
9774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9776 return NULL;
9777 }
9778 }
9779 _arg1 = (bool ) tempbool1;
9780{
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9782 _result = (bool )wxDirItemData_m_isDir_set(_arg0,_arg1);
68320e40
RD
9783
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) return NULL;
9786} _resultobj = Py_BuildValue("i",_result);
9787 return _resultobj;
9788}
9789
9790#define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9791static PyObject *_wrap_wxDirItemData_m_isDir_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject * _resultobj;
9793 bool _result;
9794 wxDirItemData * _arg0;
9795 PyObject * _argo0 = 0;
9796 char *_kwnames[] = { "self", NULL };
9797
9798 self = self;
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isDir_get",_kwnames,&_argo0))
9800 return NULL;
9801 if (_argo0) {
9802 if (_argo0 == Py_None) { _arg0 = NULL; }
9803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9805 return NULL;
9806 }
9807 }
9808{
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9810 _result = (bool )wxDirItemData_m_isDir_get(_arg0);
68320e40
RD
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) return NULL;
9814} _resultobj = Py_BuildValue("i",_result);
9815 return _resultobj;
9816}
9817
9818static void *SwigwxGenericDirCtrlTowxControl(void *ptr) {
9819 wxGenericDirCtrl *src;
9820 wxControl *dest;
9821 src = (wxGenericDirCtrl *) ptr;
9822 dest = (wxControl *) src;
9823 return (void *) dest;
9824}
9825
9826static void *SwigwxGenericDirCtrlTowxWindow(void *ptr) {
9827 wxGenericDirCtrl *src;
9828 wxWindow *dest;
9829 src = (wxGenericDirCtrl *) ptr;
9830 dest = (wxWindow *) src;
9831 return (void *) dest;
9832}
9833
9834static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr) {
9835 wxGenericDirCtrl *src;
9836 wxEvtHandler *dest;
9837 src = (wxGenericDirCtrl *) ptr;
9838 dest = (wxEvtHandler *) src;
9839 return (void *) dest;
9840}
9841
9842static void *SwigwxGenericDirCtrlTowxObject(void *ptr) {
9843 wxGenericDirCtrl *src;
9844 wxObject *dest;
9845 src = (wxGenericDirCtrl *) ptr;
9846 dest = (wxObject *) src;
9847 return (void *) dest;
9848}
9849
9850#define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9851static PyObject *_wrap_new_wxGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9852 PyObject * _resultobj;
9853 wxGenericDirCtrl * _result;
9854 wxWindow * _arg0;
9855 wxWindowID _arg1 = (wxWindowID ) -1;
137b5242 9856 wxString * _arg2 = (wxString *) &wxPyDirDialogDefaultFolderStr;
68320e40
RD
9857 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9858 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9859 long _arg5 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
137b5242 9860 wxString * _arg6 = (wxString *) &wxPyEmptyString;
68320e40 9861 int _arg7 = (int ) 0;
137b5242 9862 wxString * _arg8 = (wxString *) &wxPy_TreeCtrlNameStr;
68320e40 9863 PyObject * _argo0 = 0;
137b5242 9864 PyObject * _obj2 = 0;
68320e40
RD
9865 wxPoint temp;
9866 PyObject * _obj3 = 0;
9867 wxSize temp0;
9868 PyObject * _obj4 = 0;
137b5242
RD
9869 PyObject * _obj6 = 0;
9870 PyObject * _obj8 = 0;
68320e40
RD
9871 char *_kwnames[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9872 char _ptemp[128];
9873
9874 self = self;
137b5242 9875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6,&_arg7,&_obj8))
68320e40
RD
9876 return NULL;
9877 if (_argo0) {
9878 if (_argo0 == Py_None) { _arg0 = NULL; }
9879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9881 return NULL;
9882 }
9883 }
137b5242
RD
9884 if (_obj2)
9885{
9886 _arg2 = wxString_in_helper(_obj2);
9887 if (_arg2 == NULL)
9888 return NULL;
9889}
68320e40
RD
9890 if (_obj3)
9891{
9892 _arg3 = &temp;
9893 if (! wxPoint_helper(_obj3, &_arg3))
9894 return NULL;
9895}
9896 if (_obj4)
9897{
9898 _arg4 = &temp0;
9899 if (! wxSize_helper(_obj4, &_arg4))
9900 return NULL;
137b5242
RD
9901}
9902 if (_obj6)
9903{
9904 _arg6 = wxString_in_helper(_obj6);
9905 if (_arg6 == NULL)
9906 return NULL;
9907}
9908 if (_obj8)
9909{
9910 _arg8 = wxString_in_helper(_obj8);
9911 if (_arg8 == NULL)
9912 return NULL;
68320e40
RD
9913}
9914{
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 9916 _result = (wxGenericDirCtrl *)new_wxGenericDirCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7,*_arg8);
68320e40
RD
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) return NULL;
9920} if (_result) {
9921 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9922 _resultobj = Py_BuildValue("s",_ptemp);
9923 } else {
9924 Py_INCREF(Py_None);
9925 _resultobj = Py_None;
9926 }
137b5242
RD
9927{
9928 if (_obj2)
9929 delete _arg2;
9930}
9931{
9932 if (_obj6)
9933 delete _arg6;
9934}
9935{
9936 if (_obj8)
9937 delete _arg8;
9938}
68320e40
RD
9939 return _resultobj;
9940}
9941
9942#define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9943static PyObject *_wrap_new_wxPreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9944 PyObject * _resultobj;
9945 wxGenericDirCtrl * _result;
9946 char *_kwnames[] = { NULL };
9947 char _ptemp[128];
9948
9949 self = self;
9950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGenericDirCtrl",_kwnames))
9951 return NULL;
9952{
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9954 _result = (wxGenericDirCtrl *)new_wxPreGenericDirCtrl();
68320e40
RD
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) return NULL;
9958} if (_result) {
9959 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9960 _resultobj = Py_BuildValue("s",_ptemp);
9961 } else {
9962 Py_INCREF(Py_None);
9963 _resultobj = Py_None;
9964 }
9965 return _resultobj;
9966}
9967
9968#define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9969static PyObject *_wrap_wxGenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9970 PyObject * _resultobj;
9971 bool _result;
9972 wxGenericDirCtrl * _arg0;
9973 wxWindow * _arg1;
9974 wxWindowID _arg2 = (wxWindowID ) -1;
137b5242 9975 wxString * _arg3 = (wxString *) &wxPyDirDialogDefaultFolderStr;
68320e40
RD
9976 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9977 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9978 long _arg6 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
137b5242 9979 wxString * _arg7 = (wxString *) &wxPyEmptyString;
68320e40 9980 int _arg8 = (int ) 0;
137b5242 9981 wxString * _arg9 = (wxString *) &wxPy_TreeCtrlNameStr;
68320e40
RD
9982 PyObject * _argo0 = 0;
9983 PyObject * _argo1 = 0;
137b5242 9984 PyObject * _obj3 = 0;
68320e40
RD
9985 wxPoint temp;
9986 PyObject * _obj4 = 0;
9987 wxSize temp0;
9988 PyObject * _obj5 = 0;
137b5242
RD
9989 PyObject * _obj7 = 0;
9990 PyObject * _obj9 = 0;
68320e40
RD
9991 char *_kwnames[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9992
9993 self = self;
137b5242 9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7,&_arg8,&_obj9))
68320e40
RD
9995 return NULL;
9996 if (_argo0) {
9997 if (_argo0 == Py_None) { _arg0 = NULL; }
9998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
10000 return NULL;
10001 }
10002 }
10003 if (_argo1) {
10004 if (_argo1 == Py_None) { _arg1 = NULL; }
10005 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10006 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10007 return NULL;
10008 }
10009 }
137b5242
RD
10010 if (_obj3)
10011{
10012 _arg3 = wxString_in_helper(_obj3);
10013 if (_arg3 == NULL)
10014 return NULL;
10015}
68320e40
RD
10016 if (_obj4)
10017{
10018 _arg4 = &temp;
10019 if (! wxPoint_helper(_obj4, &_arg4))
10020 return NULL;
10021}
10022 if (_obj5)
10023{
10024 _arg5 = &temp0;
10025 if (! wxSize_helper(_obj5, &_arg5))
10026 return NULL;
137b5242
RD
10027}
10028 if (_obj7)
10029{
10030 _arg7 = wxString_in_helper(_obj7);
10031 if (_arg7 == NULL)
10032 return NULL;
10033}
10034 if (_obj9)
10035{
10036 _arg9 = wxString_in_helper(_obj9);
10037 if (_arg9 == NULL)
10038 return NULL;
68320e40
RD
10039}
10040{
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 10042 _result = (bool )wxGenericDirCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8,*_arg9);
68320e40
RD
10043
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) return NULL;
10046} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
10047{
10048 if (_obj3)
10049 delete _arg3;
10050}
10051{
10052 if (_obj7)
10053 delete _arg7;
10054}
10055{
10056 if (_obj9)
10057 delete _arg9;
10058}
68320e40
RD
10059 return _resultobj;
10060}
10061
10062#define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10063static PyObject *_wrap_wxGenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10064 PyObject * _resultobj;
10065 bool _result;
10066 wxGenericDirCtrl * _arg0;
10067 wxString * _arg1;
10068 PyObject * _argo0 = 0;
10069 PyObject * _obj1 = 0;
10070 char *_kwnames[] = { "self","path", NULL };
10071
10072 self = self;
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_ExpandPath",_kwnames,&_argo0,&_obj1))
10074 return NULL;
10075 if (_argo0) {
10076 if (_argo0 == Py_None) { _arg0 = NULL; }
10077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10079 return NULL;
10080 }
10081 }
10082{
c8bc7bb8
RD
10083 _arg1 = wxString_in_helper(_obj1);
10084 if (_arg1 == NULL)
68320e40 10085 return NULL;
68320e40
RD
10086}
10087{
10088 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10089 _result = (bool )wxGenericDirCtrl_ExpandPath(_arg0,*_arg1);
68320e40
RD
10090
10091 wxPyEndAllowThreads(__tstate);
10092 if (PyErr_Occurred()) return NULL;
10093} _resultobj = Py_BuildValue("i",_result);
10094{
10095 if (_obj1)
10096 delete _arg1;
10097}
10098 return _resultobj;
10099}
10100
10101#define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10102static PyObject *_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10103 PyObject * _resultobj;
10104 wxString * _result;
10105 wxGenericDirCtrl * _arg0;
10106 PyObject * _argo0 = 0;
10107 char *_kwnames[] = { "self", NULL };
10108
10109 self = self;
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames,&_argo0))
10111 return NULL;
10112 if (_argo0) {
10113 if (_argo0 == Py_None) { _arg0 = NULL; }
10114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10116 return NULL;
10117 }
10118 }
10119{
10120 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10121 _result = new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0));
68320e40
RD
10122
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) return NULL;
10125}{
c8bc7bb8
RD
10126#if wxUSE_UNICODE
10127 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10128#else
68320e40 10129 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10130#endif
68320e40
RD
10131}
10132{
10133 delete _result;
10134}
10135 return _resultobj;
10136}
10137
10138#define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10139static PyObject *_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10140 PyObject * _resultobj;
10141 wxGenericDirCtrl * _arg0;
10142 wxString * _arg1;
10143 PyObject * _argo0 = 0;
10144 PyObject * _obj1 = 0;
10145 char *_kwnames[] = { "self","path", NULL };
10146
10147 self = self;
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames,&_argo0,&_obj1))
10149 return NULL;
10150 if (_argo0) {
10151 if (_argo0 == Py_None) { _arg0 = NULL; }
10152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10154 return NULL;
10155 }
10156 }
10157{
c8bc7bb8
RD
10158 _arg1 = wxString_in_helper(_obj1);
10159 if (_arg1 == NULL)
68320e40 10160 return NULL;
68320e40
RD
10161}
10162{
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10164 wxGenericDirCtrl_SetDefaultPath(_arg0,*_arg1);
68320e40
RD
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) return NULL;
10168} Py_INCREF(Py_None);
10169 _resultobj = Py_None;
10170{
10171 if (_obj1)
10172 delete _arg1;
10173}
10174 return _resultobj;
10175}
10176
10177#define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10178static PyObject *_wrap_wxGenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject * _resultobj;
10180 wxString * _result;
10181 wxGenericDirCtrl * _arg0;
10182 PyObject * _argo0 = 0;
10183 char *_kwnames[] = { "self", NULL };
10184
10185 self = self;
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetPath",_kwnames,&_argo0))
10187 return NULL;
10188 if (_argo0) {
10189 if (_argo0 == Py_None) { _arg0 = NULL; }
10190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10192 return NULL;
10193 }
10194 }
10195{
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10197 _result = new wxString (wxGenericDirCtrl_GetPath(_arg0));
68320e40
RD
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) return NULL;
10201}{
c8bc7bb8
RD
10202#if wxUSE_UNICODE
10203 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10204#else
68320e40 10205 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10206#endif
68320e40
RD
10207}
10208{
10209 delete _result;
10210}
10211 return _resultobj;
10212}
10213
10214#define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10215static PyObject *_wrap_wxGenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject * _resultobj;
10217 wxString * _result;
10218 wxGenericDirCtrl * _arg0;
10219 PyObject * _argo0 = 0;
10220 char *_kwnames[] = { "self", NULL };
10221
10222 self = self;
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilePath",_kwnames,&_argo0))
10224 return NULL;
10225 if (_argo0) {
10226 if (_argo0 == Py_None) { _arg0 = NULL; }
10227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10229 return NULL;
10230 }
10231 }
10232{
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10234 _result = new wxString (wxGenericDirCtrl_GetFilePath(_arg0));
68320e40
RD
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) return NULL;
10238}{
c8bc7bb8
RD
10239#if wxUSE_UNICODE
10240 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10241#else
68320e40 10242 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10243#endif
68320e40
RD
10244}
10245{
10246 delete _result;
10247}
10248 return _resultobj;
10249}
10250
10251#define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10252static PyObject *_wrap_wxGenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10253 PyObject * _resultobj;
10254 wxGenericDirCtrl * _arg0;
10255 wxString * _arg1;
10256 PyObject * _argo0 = 0;
10257 PyObject * _obj1 = 0;
10258 char *_kwnames[] = { "self","path", NULL };
10259
10260 self = self;
10261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetPath",_kwnames,&_argo0,&_obj1))
10262 return NULL;
10263 if (_argo0) {
10264 if (_argo0 == Py_None) { _arg0 = NULL; }
10265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10267 return NULL;
10268 }
10269 }
10270{
c8bc7bb8
RD
10271 _arg1 = wxString_in_helper(_obj1);
10272 if (_arg1 == NULL)
68320e40 10273 return NULL;
68320e40
RD
10274}
10275{
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10277 wxGenericDirCtrl_SetPath(_arg0,*_arg1);
68320e40
RD
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) return NULL;
10281} Py_INCREF(Py_None);
10282 _resultobj = Py_None;
10283{
10284 if (_obj1)
10285 delete _arg1;
10286}
10287 return _resultobj;
10288}
10289
10290#define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10291static PyObject *_wrap_wxGenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10292 PyObject * _resultobj;
10293 wxGenericDirCtrl * _arg0;
10294 bool _arg1;
10295 PyObject * _argo0 = 0;
10296 int tempbool1;
10297 char *_kwnames[] = { "self","show", NULL };
10298
10299 self = self;
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames,&_argo0,&tempbool1))
10301 return NULL;
10302 if (_argo0) {
10303 if (_argo0 == Py_None) { _arg0 = NULL; }
10304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10306 return NULL;
10307 }
10308 }
10309 _arg1 = (bool ) tempbool1;
10310{
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10312 wxGenericDirCtrl_ShowHidden(_arg0,_arg1);
68320e40
RD
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) return NULL;
10316} Py_INCREF(Py_None);
10317 _resultobj = Py_None;
10318 return _resultobj;
10319}
10320
10321#define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10322static PyObject *_wrap_wxGenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject * _resultobj;
10324 bool _result;
10325 wxGenericDirCtrl * _arg0;
10326 PyObject * _argo0 = 0;
10327 char *_kwnames[] = { "self", NULL };
10328
10329 self = self;
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetShowHidden",_kwnames,&_argo0))
10331 return NULL;
10332 if (_argo0) {
10333 if (_argo0 == Py_None) { _arg0 = NULL; }
10334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10336 return NULL;
10337 }
10338 }
10339{
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10341 _result = (bool )wxGenericDirCtrl_GetShowHidden(_arg0);
68320e40
RD
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) return NULL;
10345} _resultobj = Py_BuildValue("i",_result);
10346 return _resultobj;
10347}
10348
10349#define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10350static PyObject *_wrap_wxGenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject * _resultobj;
10352 wxString * _result;
10353 wxGenericDirCtrl * _arg0;
10354 PyObject * _argo0 = 0;
10355 char *_kwnames[] = { "self", NULL };
10356
10357 self = self;
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilter",_kwnames,&_argo0))
10359 return NULL;
10360 if (_argo0) {
10361 if (_argo0 == Py_None) { _arg0 = NULL; }
10362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10364 return NULL;
10365 }
10366 }
10367{
10368 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10369 _result = new wxString (wxGenericDirCtrl_GetFilter(_arg0));
68320e40
RD
10370
10371 wxPyEndAllowThreads(__tstate);
10372 if (PyErr_Occurred()) return NULL;
10373}{
c8bc7bb8
RD
10374#if wxUSE_UNICODE
10375 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10376#else
68320e40 10377 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10378#endif
68320e40
RD
10379}
10380{
10381 delete _result;
10382}
10383 return _resultobj;
10384}
10385
10386#define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10387static PyObject *_wrap_wxGenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10388 PyObject * _resultobj;
10389 wxGenericDirCtrl * _arg0;
10390 wxString * _arg1;
10391 PyObject * _argo0 = 0;
10392 PyObject * _obj1 = 0;
10393 char *_kwnames[] = { "self","filter", NULL };
10394
10395 self = self;
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetFilter",_kwnames,&_argo0,&_obj1))
10397 return NULL;
10398 if (_argo0) {
10399 if (_argo0 == Py_None) { _arg0 = NULL; }
10400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10402 return NULL;
10403 }
10404 }
10405{
c8bc7bb8
RD
10406 _arg1 = wxString_in_helper(_obj1);
10407 if (_arg1 == NULL)
68320e40 10408 return NULL;
68320e40
RD
10409}
10410{
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10412 wxGenericDirCtrl_SetFilter(_arg0,*_arg1);
68320e40
RD
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) return NULL;
10416} Py_INCREF(Py_None);
10417 _resultobj = Py_None;
10418{
10419 if (_obj1)
10420 delete _arg1;
10421}
10422 return _resultobj;
10423}
10424
10425#define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10426static PyObject *_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10427 PyObject * _resultobj;
10428 int _result;
10429 wxGenericDirCtrl * _arg0;
10430 PyObject * _argo0 = 0;
10431 char *_kwnames[] = { "self", NULL };
10432
10433 self = self;
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames,&_argo0))
10435 return NULL;
10436 if (_argo0) {
10437 if (_argo0 == Py_None) { _arg0 = NULL; }
10438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10440 return NULL;
10441 }
10442 }
10443{
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10445 _result = (int )wxGenericDirCtrl_GetFilterIndex(_arg0);
68320e40
RD
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) return NULL;
10449} _resultobj = Py_BuildValue("i",_result);
10450 return _resultobj;
10451}
10452
10453#define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10454static PyObject *_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10455 PyObject * _resultobj;
10456 wxGenericDirCtrl * _arg0;
10457 int _arg1;
10458 PyObject * _argo0 = 0;
10459 char *_kwnames[] = { "self","n", NULL };
10460
10461 self = self;
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames,&_argo0,&_arg1))
10463 return NULL;
10464 if (_argo0) {
10465 if (_argo0 == Py_None) { _arg0 = NULL; }
10466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10468 return NULL;
10469 }
10470 }
10471{
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10473 wxGenericDirCtrl_SetFilterIndex(_arg0,_arg1);
68320e40
RD
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) return NULL;
10477} Py_INCREF(Py_None);
10478 _resultobj = Py_None;
10479 return _resultobj;
10480}
10481
10482#define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10483static PyObject *_wrap_wxGenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject * _resultobj;
10485 wxTreeItemId * _result;
10486 wxGenericDirCtrl * _arg0;
10487 PyObject * _argo0 = 0;
10488 char *_kwnames[] = { "self", NULL };
10489 char _ptemp[128];
10490
10491 self = self;
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetRootId",_kwnames,&_argo0))
10493 return NULL;
10494 if (_argo0) {
10495 if (_argo0 == Py_None) { _arg0 = NULL; }
10496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10498 return NULL;
10499 }
10500 }
10501{
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10503 _result = new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0));
68320e40
RD
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) return NULL;
10507} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
10508 _resultobj = Py_BuildValue("s",_ptemp);
10509 return _resultobj;
10510}
10511
10512#define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10513static PyObject *_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject * _resultobj;
10515 wxTreeCtrl * _result;
10516 wxGenericDirCtrl * _arg0;
10517 PyObject * _argo0 = 0;
10518 char *_kwnames[] = { "self", NULL };
68320e40
RD
10519
10520 self = self;
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames,&_argo0))
10522 return NULL;
10523 if (_argo0) {
10524 if (_argo0 == Py_None) { _arg0 = NULL; }
10525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10527 return NULL;
10528 }
10529 }
10530{
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10532 _result = (wxTreeCtrl *)wxGenericDirCtrl_GetTreeCtrl(_arg0);
68320e40
RD
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) return NULL;
9398120d 10536}{ _resultobj = wxPyMake_wxObject(_result); }
68320e40
RD
10537 return _resultobj;
10538}
10539
10540#define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10541static PyObject *_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject * _resultobj;
10543 wxDirFilterListCtrl * _result;
10544 wxGenericDirCtrl * _arg0;
10545 PyObject * _argo0 = 0;
10546 char *_kwnames[] = { "self", NULL };
10547 char _ptemp[128];
10548
10549 self = self;
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames,&_argo0))
10551 return NULL;
10552 if (_argo0) {
10553 if (_argo0 == Py_None) { _arg0 = NULL; }
10554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10556 return NULL;
10557 }
10558 }
10559{
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10561 _result = (wxDirFilterListCtrl *)wxGenericDirCtrl_GetFilterListCtrl(_arg0);
68320e40
RD
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) return NULL;
10565} if (_result) {
10566 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10567 _resultobj = Py_BuildValue("s",_ptemp);
10568 } else {
10569 Py_INCREF(Py_None);
10570 _resultobj = Py_None;
10571 }
10572 return _resultobj;
10573}
10574
10575static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr) {
10576 wxDirFilterListCtrl *src;
10577 wxChoice *dest;
10578 src = (wxDirFilterListCtrl *) ptr;
10579 dest = (wxChoice *) src;
10580 return (void *) dest;
10581}
10582
10583static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr) {
10584 wxDirFilterListCtrl *src;
10585 wxControlWithItems *dest;
10586 src = (wxDirFilterListCtrl *) ptr;
10587 dest = (wxControlWithItems *) src;
10588 return (void *) dest;
10589}
10590
10591static void *SwigwxDirFilterListCtrlTowxControl(void *ptr) {
10592 wxDirFilterListCtrl *src;
10593 wxControl *dest;
10594 src = (wxDirFilterListCtrl *) ptr;
10595 dest = (wxControl *) src;
10596 return (void *) dest;
10597}
10598
10599static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr) {
10600 wxDirFilterListCtrl *src;
10601 wxWindow *dest;
10602 src = (wxDirFilterListCtrl *) ptr;
10603 dest = (wxWindow *) src;
10604 return (void *) dest;
10605}
10606
10607static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr) {
10608 wxDirFilterListCtrl *src;
10609 wxEvtHandler *dest;
10610 src = (wxDirFilterListCtrl *) ptr;
10611 dest = (wxEvtHandler *) src;
10612 return (void *) dest;
10613}
10614
10615static void *SwigwxDirFilterListCtrlTowxObject(void *ptr) {
10616 wxDirFilterListCtrl *src;
10617 wxObject *dest;
10618 src = (wxDirFilterListCtrl *) ptr;
10619 dest = (wxObject *) src;
10620 return (void *) dest;
10621}
10622
10623#define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10624static PyObject *_wrap_new_wxDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10625 PyObject * _resultobj;
10626 wxDirFilterListCtrl * _result;
10627 wxGenericDirCtrl * _arg0;
10628 wxWindowID _arg1 = (wxWindowID ) -1;
10629 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
10630 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
10631 long _arg4 = (long ) 0;
10632 PyObject * _argo0 = 0;
10633 wxPoint temp;
10634 PyObject * _obj2 = 0;
10635 wxSize temp0;
10636 PyObject * _obj3 = 0;
10637 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
10638 char _ptemp[128];
10639
10640 self = self;
10641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxDirFilterListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
10642 return NULL;
10643 if (_argo0) {
10644 if (_argo0 == Py_None) { _arg0 = NULL; }
10645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10647 return NULL;
10648 }
10649 }
10650 if (_obj2)
10651{
10652 _arg2 = &temp;
10653 if (! wxPoint_helper(_obj2, &_arg2))
10654 return NULL;
10655}
10656 if (_obj3)
10657{
10658 _arg3 = &temp0;
10659 if (! wxSize_helper(_obj3, &_arg3))
10660 return NULL;
10661}
10662{
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10664 _result = (wxDirFilterListCtrl *)new_wxDirFilterListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
68320e40
RD
10665
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) return NULL;
10668} if (_result) {
10669 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10670 _resultobj = Py_BuildValue("s",_ptemp);
10671 } else {
10672 Py_INCREF(Py_None);
10673 _resultobj = Py_None;
10674 }
10675 return _resultobj;
10676}
10677
10678#define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10679static PyObject *_wrap_new_wxPreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10680 PyObject * _resultobj;
10681 wxDirFilterListCtrl * _result;
10682 char *_kwnames[] = { NULL };
10683 char _ptemp[128];
10684
10685 self = self;
10686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDirFilterListCtrl",_kwnames))
10687 return NULL;
10688{
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10690 _result = (wxDirFilterListCtrl *)new_wxPreDirFilterListCtrl();
68320e40
RD
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) return NULL;
10694} if (_result) {
10695 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10696 _resultobj = Py_BuildValue("s",_ptemp);
10697 } else {
10698 Py_INCREF(Py_None);
10699 _resultobj = Py_None;
10700 }
10701 return _resultobj;
10702}
10703
10704#define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10705static PyObject *_wrap_wxDirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10706 PyObject * _resultobj;
10707 bool _result;
10708 wxDirFilterListCtrl * _arg0;
10709 wxGenericDirCtrl * _arg1;
10710 wxWindowID _arg2 = (wxWindowID ) -1;
10711 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10712 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10713 long _arg5 = (long ) 0;
10714 PyObject * _argo0 = 0;
10715 PyObject * _argo1 = 0;
10716 wxPoint temp;
10717 PyObject * _obj3 = 0;
10718 wxSize temp0;
10719 PyObject * _obj4 = 0;
10720 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
10721
10722 self = self;
10723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
10724 return NULL;
10725 if (_argo0) {
10726 if (_argo0 == Py_None) { _arg0 = NULL; }
10727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10729 return NULL;
10730 }
10731 }
10732 if (_argo1) {
10733 if (_argo1 == Py_None) { _arg1 = NULL; }
10734 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGenericDirCtrl_p")) {
10735 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10736 return NULL;
10737 }
10738 }
10739 if (_obj3)
10740{
10741 _arg3 = &temp;
10742 if (! wxPoint_helper(_obj3, &_arg3))
10743 return NULL;
10744}
10745 if (_obj4)
10746{
10747 _arg4 = &temp0;
10748 if (! wxSize_helper(_obj4, &_arg4))
10749 return NULL;
10750}
10751{
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10753 _result = (bool )wxDirFilterListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
68320e40
RD
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) return NULL;
10757} _resultobj = Py_BuildValue("i",_result);
10758 return _resultobj;
10759}
10760
10761#define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10762static PyObject *_wrap_wxDirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject * _resultobj;
10764 wxDirFilterListCtrl * _arg0;
10765 wxString * _arg1;
10766 int _arg2;
10767 PyObject * _argo0 = 0;
10768 PyObject * _obj1 = 0;
10769 char *_kwnames[] = { "self","filter","defaultFilter", NULL };
10770
10771 self = self;
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames,&_argo0,&_obj1,&_arg2))
10773 return NULL;
10774 if (_argo0) {
10775 if (_argo0 == Py_None) { _arg0 = NULL; }
10776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10778 return NULL;
10779 }
10780 }
10781{
c8bc7bb8
RD
10782 _arg1 = wxString_in_helper(_obj1);
10783 if (_arg1 == NULL)
68320e40 10784 return NULL;
68320e40
RD
10785}
10786{
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10788 wxDirFilterListCtrl_FillFilterList(_arg0,*_arg1,_arg2);
68320e40
RD
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) return NULL;
10792} Py_INCREF(Py_None);
10793 _resultobj = Py_None;
10794{
10795 if (_obj1)
10796 delete _arg1;
10797}
10798 return _resultobj;
10799}
10800
8ab979d7 10801static PyMethodDef controls2cMethods[] = {
68320e40
RD
10802 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_wxDirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
10803 { "wxDirFilterListCtrl_Create", (PyCFunction) _wrap_wxDirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10804 { "new_wxPreDirFilterListCtrl", (PyCFunction) _wrap_new_wxPreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10805 { "new_wxDirFilterListCtrl", (PyCFunction) _wrap_new_wxDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10806 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10807 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10808 { "wxGenericDirCtrl_GetRootId", (PyCFunction) _wrap_wxGenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
10809 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10810 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10811 { "wxGenericDirCtrl_SetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
10812 { "wxGenericDirCtrl_GetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
10813 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
10814 { "wxGenericDirCtrl_ShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
10815 { "wxGenericDirCtrl_SetPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
10816 { "wxGenericDirCtrl_GetFilePath", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
10817 { "wxGenericDirCtrl_GetPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
10818 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10819 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10820 { "wxGenericDirCtrl_ExpandPath", (PyCFunction) _wrap_wxGenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
10821 { "wxGenericDirCtrl_Create", (PyCFunction) _wrap_wxGenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10822 { "new_wxPreGenericDirCtrl", (PyCFunction) _wrap_new_wxPreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10823 { "new_wxGenericDirCtrl", (PyCFunction) _wrap_new_wxGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10824 { "wxDirItemData_m_isDir_get", (PyCFunction) _wrap_wxDirItemData_m_isDir_get, METH_VARARGS | METH_KEYWORDS },
10825 { "wxDirItemData_m_isDir_set", (PyCFunction) _wrap_wxDirItemData_m_isDir_set, METH_VARARGS | METH_KEYWORDS },
10826 { "wxDirItemData_m_isExpanded_get", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_get, METH_VARARGS | METH_KEYWORDS },
10827 { "wxDirItemData_m_isExpanded_set", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_set, METH_VARARGS | METH_KEYWORDS },
10828 { "wxDirItemData_m_isHidden_get", (PyCFunction) _wrap_wxDirItemData_m_isHidden_get, METH_VARARGS | METH_KEYWORDS },
10829 { "wxDirItemData_m_isHidden_set", (PyCFunction) _wrap_wxDirItemData_m_isHidden_set, METH_VARARGS | METH_KEYWORDS },
10830 { "wxDirItemData_m_name_get", (PyCFunction) _wrap_wxDirItemData_m_name_get, METH_VARARGS | METH_KEYWORDS },
10831 { "wxDirItemData_m_name_set", (PyCFunction) _wrap_wxDirItemData_m_name_set, METH_VARARGS | METH_KEYWORDS },
10832 { "wxDirItemData_m_path_get", (PyCFunction) _wrap_wxDirItemData_m_path_get, METH_VARARGS | METH_KEYWORDS },
10833 { "wxDirItemData_m_path_set", (PyCFunction) _wrap_wxDirItemData_m_path_set, METH_VARARGS | METH_KEYWORDS },
10834 { "wxDirItemData_SetNewDirName", (PyCFunction) _wrap_wxDirItemData_SetNewDirName, METH_VARARGS | METH_KEYWORDS },
10835 { "new_wxDirItemData", (PyCFunction) _wrap_new_wxDirItemData, METH_VARARGS | METH_KEYWORDS },
d426c97e 10836 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b1462dfa 10837 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
b7e72427
RD
10838 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
10839 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10840 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10841 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
10842 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
10843 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 10844 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10845 { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
10846 { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
10847 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10848 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
10849 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10850 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
10851 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
10852 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
10853 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
10854 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
10855 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
10856 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
10857 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10858 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
10859 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
10860 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10861 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10862 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
10863 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
10864 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 10865 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10866 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
10867 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
10868 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
10869 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
10870 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
10871 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
10872 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10873 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 10874 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 10875 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10876 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10877 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
10878 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
10879 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
10880 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10881 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
10882 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
10883 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
10884 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10885 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10886 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10887 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10888 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10889 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10890 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10891 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
10892 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10893 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
10894 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
10895 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
10896 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10897 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
10898 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10899 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
10900 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10901 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
10902 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
10903 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0122b7e3 10904 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
10905 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10906 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 10907 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31988931 10908 { "wxTreeEvent_IsEditCancelled", (PyCFunction) _wrap_wxTreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
efc5f224 10909 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
64c06a50 10910 { "wxTreeEvent_GetKeyCode", (PyCFunction) _wrap_wxTreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
ecc08ead 10911 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10912 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
10913 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
10914 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
00b6c4e3 10915 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10916 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
10917 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
10918 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
10919 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
10920 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10921 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10922 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
10923 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
10924 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
00b6c4e3
RD
10925 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
10926 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10927 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10928 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
10929 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10930 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
10931 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
10932 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10933 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10934 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
10935 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
10936 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
10937 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
10938 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
10939 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
10940 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
10941 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
10942 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
10943 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
10944 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
10945 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
6af85fcd 10946 { "wxListCtrl_GetMainWindow", (PyCFunction) _wrap_wxListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
dcd38683 10947 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
3bd1e033
RD
10948 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10949 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10950 { "wxListCtrl_GetItemTextColour", (PyCFunction) _wrap_wxListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
10951 { "wxListCtrl_SetItemTextColour", (PyCFunction) _wrap_wxListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224 10952 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
10953 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
10954 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
10955 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10956 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
10957 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
10958 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
10959 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 10960 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10961 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
10962 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
10963 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
10964 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10965 { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
10966 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10967 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
10968 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
10969 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
10970 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10971 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
10972 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
c7e7022c
RD
10973 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
10974 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
10975 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
10976 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
10977 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10978 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10979 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
10980 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
10981 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
10982 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
10983 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10984 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10985 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
10986 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
10987 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
10988 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
10989 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
10990 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
10991 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
10992 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10993 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10994 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10995 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
10996 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10997 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
10998 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
10999 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
11000 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
11001 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
11002 { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
11003 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
11004 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
11005 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
11006 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
11007 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
11008 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11009 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0122b7e3 11010 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11011 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11012 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 11013 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
6d19860f
RD
11014 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
11015 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11016 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
11017 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
11018 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
11019 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
11020 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
11021 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
11022 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11023 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11024 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
64c06a50 11025 { "wxListEvent_GetKeyCode", (PyCFunction) _wrap_wxListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
efc5f224 11026 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 11027 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 11028 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 11029 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
ebf4302c 11030 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 11031 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
6d19860f 11032 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11033 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
11034 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
11035 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
11036 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
11037 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
11038 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
11039 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
11040 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
11041 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
11042 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
11043 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
11044 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
11045 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
11046 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
11047 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
11048 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
11049 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
11050 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
11051 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
11052 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11053 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
11054 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11055 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11056 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
11057 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
11058 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
11059 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
11060 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
11061 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
11062 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
11063 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
11064 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
11065 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
11066 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
11067 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
11068 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11069 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11070 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
11071 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
11072 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
11073 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
11074 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
11075 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
11076 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
11077 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
11078 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
11079 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
11080 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
11081 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
11082 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
11083 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
11084 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11085 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11086 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11087 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11088 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11089 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11090 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11091 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11092 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11093 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11094 { NULL, NULL }
11095};
1d99702e
RD
11096#ifdef __cplusplus
11097}
11098#endif
11099/*
11100 * This table is used by the pointer type-checker
11101 */
11102static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11103 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 11104 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 11105 { "_signed_long","_long",0},
b1462dfa 11106 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11107 { "_wxPrintQuality","_int",0},
11108 { "_wxPrintQuality","_signed_int",0},
11109 { "_wxPrintQuality","_unsigned_int",0},
11110 { "_wxPrintQuality","_wxWindowID",0},
11111 { "_wxPrintQuality","_uint",0},
11112 { "_wxPrintQuality","_EBool",0},
11113 { "_wxPrintQuality","_size_t",0},
c368d904 11114 { "_wxPrintQuality","_time_t",0},
1d99702e 11115 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 11116 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 11117 { "_byte","_unsigned_char",0},
68320e40 11118 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice},
1d99702e
RD
11119 { "_long","_unsigned_long",0},
11120 { "_long","_signed_long",0},
b1462dfa 11121 { "_size_t","_wxCoord",0},
1d99702e 11122 { "_size_t","_wxPrintQuality",0},
c368d904 11123 { "_size_t","_time_t",0},
1d99702e
RD
11124 { "_size_t","_unsigned_int",0},
11125 { "_size_t","_int",0},
11126 { "_size_t","_wxWindowID",0},
11127 { "_size_t","_uint",0},
b1462dfa 11128 { "_uint","_wxCoord",0},
1d99702e 11129 { "_uint","_wxPrintQuality",0},
c368d904 11130 { "_uint","_time_t",0},
1d99702e
RD
11131 { "_uint","_size_t",0},
11132 { "_uint","_unsigned_int",0},
11133 { "_uint","_int",0},
11134 { "_uint","_wxWindowID",0},
f6bcfd97 11135 { "_wxChar","_char",0},
1d99702e 11136 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 11137 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 11138 { "_char","_wxChar",0},
cdf14688 11139 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11140 { "_EBool","_wxCoord",0},
1d99702e
RD
11141 { "_EBool","_wxPrintQuality",0},
11142 { "_EBool","_signed_int",0},
11143 { "_EBool","_int",0},
11144 { "_EBool","_wxWindowID",0},
1d99702e 11145 { "_unsigned_long","_long",0},
cdf14688 11146 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11147 { "_signed_int","_wxCoord",0},
1d99702e
RD
11148 { "_signed_int","_wxPrintQuality",0},
11149 { "_signed_int","_EBool",0},
11150 { "_signed_int","_wxWindowID",0},
11151 { "_signed_int","_int",0},
1d99702e
RD
11152 { "_WXTYPE","_short",0},
11153 { "_WXTYPE","_signed_short",0},
11154 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11155 { "_unsigned_short","_WXTYPE",0},
11156 { "_unsigned_short","_short",0},
68320e40
RD
11157 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject},
11158 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject},
11159 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject},
9416aa89 11160 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9416aa89 11161 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9416aa89 11162 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
6d19860f 11163 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
c7e7022c 11164 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9416aa89 11165 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9416aa89 11166 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
11167 { "_signed_short","_WXTYPE",0},
11168 { "_signed_short","_short",0},
1d99702e 11169 { "_unsigned_char","_byte",0},
68320e40
RD
11170 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl},
11171 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl},
f6bcfd97 11172 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
6d19860f 11173 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
c7e7022c 11174 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 11175 { "_unsigned_int","_wxCoord",0},
1d99702e 11176 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11177 { "_unsigned_int","_time_t",0},
1d99702e
RD
11178 { "_unsigned_int","_size_t",0},
11179 { "_unsigned_int","_uint",0},
11180 { "_unsigned_int","_wxWindowID",0},
11181 { "_unsigned_int","_int",0},
1d99702e
RD
11182 { "_short","_WXTYPE",0},
11183 { "_short","_unsigned_short",0},
11184 { "_short","_signed_short",0},
68320e40 11185 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems},
b1462dfa 11186 { "_wxWindowID","_wxCoord",0},
1d99702e 11187 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11188 { "_wxWindowID","_time_t",0},
1d99702e
RD
11189 { "_wxWindowID","_size_t",0},
11190 { "_wxWindowID","_EBool",0},
11191 { "_wxWindowID","_uint",0},
11192 { "_wxWindowID","_int",0},
11193 { "_wxWindowID","_signed_int",0},
11194 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11195 { "_int","_wxCoord",0},
1d99702e 11196 { "_int","_wxPrintQuality",0},
c368d904 11197 { "_int","_time_t",0},
1d99702e
RD
11198 { "_int","_size_t",0},
11199 { "_int","_EBool",0},
11200 { "_int","_uint",0},
11201 { "_int","_wxWindowID",0},
11202 { "_int","_unsigned_int",0},
11203 { "_int","_signed_int",0},
c368d904
RD
11204 { "_time_t","_wxCoord",0},
11205 { "_time_t","_wxPrintQuality",0},
11206 { "_time_t","_unsigned_int",0},
11207 { "_time_t","_int",0},
11208 { "_time_t","_wxWindowID",0},
11209 { "_time_t","_uint",0},
11210 { "_time_t","_size_t",0},
b1462dfa
RD
11211 { "_wxCoord","_int",0},
11212 { "_wxCoord","_signed_int",0},
11213 { "_wxCoord","_unsigned_int",0},
11214 { "_wxCoord","_wxWindowID",0},
11215 { "_wxCoord","_uint",0},
11216 { "_wxCoord","_EBool",0},
11217 { "_wxCoord","_size_t",0},
c368d904 11218 { "_wxCoord","_time_t",0},
b1462dfa 11219 { "_wxCoord","_wxPrintQuality",0},
6d19860f 11220 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
68320e40
RD
11221 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler},
11222 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler},
f6bcfd97 11223 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
6d19860f 11224 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
c7e7022c 11225 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
68320e40
RD
11226 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow},
11227 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow},
f6bcfd97 11228 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
6d19860f 11229 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
c7e7022c 11230 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
11231{0,0,0}};
11232
8ab979d7
RD
11233static PyObject *SWIG_globals;
11234#ifdef __cplusplus
11235extern "C"
11236#endif
1d99702e 11237SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
11238 PyObject *m, *d;
11239 SWIG_globals = SWIG_newvarlink();
11240 m = Py_InitModule("controls2c", controls2cMethods);
11241 d = PyModule_GetDict(m);
c7e7022c
RD
11242 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
11243 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
11244 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
11245 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
11246 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
11247 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
11248 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
11249 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
11250 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
11251 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
11252 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
11253 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
11254 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
11255 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
11256 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
11257 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
11258 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
6d19860f
RD
11259 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
11260 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
11261 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
11262 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
d8200036 11263 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED));
c7e7022c
RD
11264 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
11265 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
11266 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
11267 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
11268 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
11269 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
11270 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
11271 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
11272 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
11273 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
11274 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
11275 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
11276 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
11277 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
11278 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
11279 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
11280 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
11281 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
11282 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
6d19860f 11283 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
c7e7022c 11284 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
11285 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
11286 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
11287 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
c7e7022c 11288 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
11289 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
11290 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
11291 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
11292 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
11293 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
11294 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
11295 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
11296 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
11297 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
11298 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
11299 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
11300 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
11301 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
11302 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
11303 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
11304 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
11305 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
11306 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
11307 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
11308 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
11309 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
11310 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
11311 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
11312 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
11313 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
11314 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
11315 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
11316 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
11317 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
11318 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
11319 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
11320 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
11321 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
11322 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
11323 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
11324 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
11325 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
11326 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
11327 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
00b6c4e3
RD
11328 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
11329 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
11330 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
11331 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
11332 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
b5a5d647 11333 PyDict_SetItemString(d,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS));
00b6c4e3
RD
11334 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
11335 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
11336 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
b5a5d647 11337 PyDict_SetItemString(d,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT));
00b6c4e3
RD
11338 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
11339 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
11340 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
11341 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
11342 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
11343 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
694759cf
RD
11344 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
11345 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
11346 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
11347 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
11348 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
11349 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
11350 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
11351 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
11352 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
11353 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
11354 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
11355 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
11356 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
11357 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
11358 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
11359 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
11360 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
11361 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
11362 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
1b62f00d
RD
11363 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
11364 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
11365 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
11366 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
11367 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
11368 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
11369 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
11370 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
11371 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
11372 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
11373 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
11374 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
11375 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
11376 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
11377 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
11378 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
11379 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
d1679124 11380 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
68320e40
RD
11381 PyDict_SetItemString(d,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY));
11382 PyDict_SetItemString(d,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST));
11383 PyDict_SetItemString(d,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS));
11384 PyDict_SetItemString(d,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL));
7cdaed0b 11385 PyDict_SetItemString(d,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS));
db0ff83e
RD
11386 PyDict_SetItemString(d,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL));
11387 PyDict_SetItemString(d,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL));
9416aa89 11388
a3fbed81 11389 // Map renamed classes back to their common name for OOR
9416aa89
RD
11390 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11391 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
a3fbed81 11392 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
1d99702e
RD
11393{
11394 int i;
11395 for (i = 0; _swig_mapping[i].n1; i++)
11396 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11397}
8ab979d7 11398}