]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls2.cpp
Changes for the embedded sample to build on Linux
[wxWidgets.git] / wxPython / src / gtk / controls2.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/gtk/controls2.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 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__)
3bcd5e1c 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
3bcd5e1c 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
3bcd5e1c 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
3bcd5e1c
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
3bcd5e1c 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>
9df61a29 64#include <wx/imaglist.h>
db34b2d4 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
3bcd5e1c 72 if (!target) {
8ab979d7 73 target = o;
3bcd5e1c 74 } else if (target == Py_None) {
8ab979d7
RD
75 Py_DECREF(Py_None);
76 target = o;
3bcd5e1c 77 } else {
8ab979d7
RD
78 if (!PyTuple_Check(target)) {
79 o2 = target;
80 target = PyTuple_New(1);
81 PyTuple_SetItem(target, 0, o2);
82 }
3bcd5e1c
RD
83 o3 = PyTuple_New(1);
84 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
85
86 o2 = target;
3bcd5e1c
RD
87 target = PySequence_Concat(o2, o3);
88 Py_DECREF(o2);
8ab979d7
RD
89 Py_DECREF(o3);
90 }
91 return target;
92}
9a74fcaf
RD
93
94 // Put some wx default wxChar* values into wxStrings.
95 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
96 DECLARE_DEF_STRING(ListCtrlNameStr);
97
98 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
99 DECLARE_DEF_STRING(_TreeCtrlNameStr);
100 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
101
102 static const wxString wxPyEmptyString(wxT(""));
aa2a5b86 103 // C++ Version of a Python aware class
cd096152
RD
104class wxPyListCtrl : public wxListCtrl {
105 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
106public:
aa2a5b86 107 wxPyListCtrl() : wxListCtrl() {}
cd096152
RD
108 wxPyListCtrl(wxWindow* parent, wxWindowID id,
109 const wxPoint& pos,
110 const wxSize& size,
111 long style,
112 const wxValidator& validator,
9a74fcaf 113 const wxString& name) :
cd096152
RD
114 wxListCtrl(parent, id, pos, size, style, validator, name) {}
115
aa2a5b86
RD
116 bool Create(wxWindow* parent, wxWindowID id,
117 const wxPoint& pos,
118 const wxSize& size,
119 long style,
120 const wxValidator& validator,
9a74fcaf 121 const wxString& name) {
aa2a5b86
RD
122 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
123 }
124
cd096152
RD
125 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
126 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
127 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
128
129 PYPRIVATE;
130};
131
132IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
133
134IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
135IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
136IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
059a841c 137 // Python aware sorting function for wxPyListCtrl
f6bcfd97 138 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
dcd38683
RD
139 int retval = 0;
140 PyObject* func = (PyObject*)funcPtr;
474c48f9 141 wxPyBeginBlockThreads();
dcd38683
RD
142
143 PyObject* args = Py_BuildValue("(ii)", item1, item2);
144 PyObject* result = PyEval_CallObject(func, args);
145 Py_DECREF(args);
146 if (result) {
147 retval = PyInt_AsLong(result);
148 Py_DECREF(result);
149 }
150
474c48f9 151 wxPyEndBlockThreads();
dcd38683
RD
152 return retval;
153 }
154
155
cf694132
RD
156class wxPyTreeItemData : public wxTreeItemData {
157public:
158 wxPyTreeItemData(PyObject* obj = NULL) {
c368d904 159 if (obj == NULL)
cf694132 160 obj = Py_None;
c368d904
RD
161 Py_INCREF(obj);
162 m_obj = obj;
cf694132
RD
163 }
164
165 ~wxPyTreeItemData() {
474c48f9 166 wxPyBeginBlockThreads();
c368d904 167 Py_DECREF(m_obj);
474c48f9 168 wxPyEndBlockThreads();
cf694132
RD
169 }
170
171 PyObject* GetData() {
172 Py_INCREF(m_obj);
173 return m_obj;
174 }
175
176 void SetData(PyObject* obj) {
474c48f9 177 wxPyBeginBlockThreads();
cf694132 178 Py_DECREF(m_obj);
474c48f9 179 wxPyEndBlockThreads();
cf694132
RD
180 m_obj = obj;
181 Py_INCREF(obj);
182 }
183
184 PyObject* m_obj;
185};
aa2a5b86 186 // C++ version of Python aware wxTreeCtrl
f6bcfd97 187class wxPyTreeCtrl : public wxTreeCtrl {
9df61a29 188 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
f6bcfd97 189public:
aa2a5b86 190 wxPyTreeCtrl() : wxTreeCtrl() {}
f6bcfd97
BP
191 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
192 const wxPoint& pos,
193 const wxSize& size,
194 long style,
195 const wxValidator& validator,
9a74fcaf 196 const wxString& name) :
f6bcfd97
BP
197 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
198
aa2a5b86
RD
199 bool Create(wxWindow *parent, wxWindowID id,
200 const wxPoint& pos,
201 const wxSize& size,
202 long style,
203 const wxValidator& validator,
9a74fcaf 204 const wxString& name) {
aa2a5b86
RD
205 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
206 }
207
208
f6bcfd97
BP
209 int OnCompareItems(const wxTreeItemId& item1,
210 const wxTreeItemId& item2) {
211 int rval = 0;
059a841c 212 bool found;
474c48f9 213 wxPyBeginBlockThreads();
059a841c 214 if ((found = m_myInst.findCallback("OnCompareItems")))
f6bcfd97
BP
215 rval = m_myInst.callCallback(Py_BuildValue(
216 "(OO)",
217 wxPyConstructObject((void*)&item1, "wxTreeItemId"),
218 wxPyConstructObject((void*)&item2, "wxTreeItemId")));
474c48f9 219 wxPyEndBlockThreads();
059a841c 220 if (! found)
f6bcfd97 221 rval = wxTreeCtrl::OnCompareItems(item1, item2);
f6bcfd97
BP
222 return rval;
223 }
224 PYPRIVATE;
225};
226
9df61a29
RD
227IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
228
1d99702e
RD
229#ifdef __cplusplus
230extern "C" {
231#endif
cd096152 232#define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
233static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
234 PyObject * _resultobj;
235 wxListItemAttr * _result;
cd096152
RD
236 wxColour * _arg0 = (wxColour *) &wxNullColour;
237 wxColour * _arg1 = (wxColour *) &wxNullColour;
238 wxFont * _arg2 = (wxFont *) &wxNullFont;
239 wxColour temp;
240 PyObject * _obj0 = 0;
241 wxColour temp0;
242 PyObject * _obj1 = 0;
243 PyObject * _argo2 = 0;
244 char *_kwnames[] = { "colText","colBack","font", NULL };
f6bcfd97
BP
245 char _ptemp[128];
246
247 self = self;
cd096152
RD
248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxListItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
249 return NULL;
250 if (_obj0)
251{
252 _arg0 = &temp;
253 if (! wxColour_helper(_obj0, &_arg0))
254 return NULL;
255}
256 if (_obj1)
257{
258 _arg1 = &temp0;
259 if (! wxColour_helper(_obj1, &_arg1))
260 return NULL;
261}
262 if (_argo2) {
263 if (_argo2 == Py_None) { _arg2 = NULL; }
264 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
f6bcfd97 266 return NULL;
cd096152
RD
267 }
268 }
f6bcfd97 269{
474c48f9 270 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 271 _result = (wxListItemAttr *)new_wxListItemAttr(*_arg0,*_arg1,*_arg2);
f6bcfd97 272
474c48f9 273 wxPyEndAllowThreads(__tstate);
4dfaa61e 274 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
275} if (_result) {
276 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
277 _resultobj = Py_BuildValue("s",_ptemp);
278 } else {
279 Py_INCREF(Py_None);
280 _resultobj = Py_None;
281 }
282 return _resultobj;
283}
284
285#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
286static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
287 PyObject * _resultobj;
288 wxListItemAttr * _arg0;
289 wxColour * _arg1;
290 PyObject * _argo0 = 0;
291 wxColour temp;
292 PyObject * _obj1 = 0;
293 char *_kwnames[] = { "self","colText", NULL };
294
295 self = self;
296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
297 return NULL;
298 if (_argo0) {
299 if (_argo0 == Py_None) { _arg0 = NULL; }
300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
302 return NULL;
303 }
304 }
305{
306 _arg1 = &temp;
307 if (! wxColour_helper(_obj1, &_arg1))
308 return NULL;
309}
310{
474c48f9 311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 312 wxListItemAttr_SetTextColour(_arg0,*_arg1);
f6bcfd97 313
474c48f9 314 wxPyEndAllowThreads(__tstate);
4dfaa61e 315 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
316} Py_INCREF(Py_None);
317 _resultobj = Py_None;
318 return _resultobj;
319}
320
321#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
322static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
323 PyObject * _resultobj;
324 wxListItemAttr * _arg0;
325 wxColour * _arg1;
326 PyObject * _argo0 = 0;
327 wxColour temp;
328 PyObject * _obj1 = 0;
329 char *_kwnames[] = { "self","colBack", NULL };
330
331 self = self;
332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
333 return NULL;
334 if (_argo0) {
335 if (_argo0 == Py_None) { _arg0 = NULL; }
336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
338 return NULL;
339 }
340 }
341{
342 _arg1 = &temp;
343 if (! wxColour_helper(_obj1, &_arg1))
344 return NULL;
345}
346{
474c48f9 347 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 348 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
f6bcfd97 349
474c48f9 350 wxPyEndAllowThreads(__tstate);
4dfaa61e 351 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
352} Py_INCREF(Py_None);
353 _resultobj = Py_None;
354 return _resultobj;
355}
356
357#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
358static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
359 PyObject * _resultobj;
360 wxListItemAttr * _arg0;
361 wxFont * _arg1;
362 PyObject * _argo0 = 0;
363 PyObject * _argo1 = 0;
364 char *_kwnames[] = { "self","font", NULL };
365
366 self = self;
367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
368 return NULL;
369 if (_argo0) {
370 if (_argo0 == Py_None) { _arg0 = NULL; }
371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
373 return NULL;
374 }
375 }
376 if (_argo1) {
377 if (_argo1 == Py_None) { _arg1 = NULL; }
378 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
379 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
380 return NULL;
381 }
382 }
383{
474c48f9 384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 385 wxListItemAttr_SetFont(_arg0,*_arg1);
f6bcfd97 386
474c48f9 387 wxPyEndAllowThreads(__tstate);
4dfaa61e 388 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
389} Py_INCREF(Py_None);
390 _resultobj = Py_None;
391 return _resultobj;
392}
393
394#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
395static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
396 PyObject * _resultobj;
397 bool _result;
398 wxListItemAttr * _arg0;
399 PyObject * _argo0 = 0;
400 char *_kwnames[] = { "self", NULL };
401
402 self = self;
403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
404 return NULL;
405 if (_argo0) {
406 if (_argo0 == Py_None) { _arg0 = NULL; }
407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
409 return NULL;
410 }
411 }
412{
474c48f9 413 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 414 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
f6bcfd97 415
474c48f9 416 wxPyEndAllowThreads(__tstate);
4dfaa61e 417 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
418} _resultobj = Py_BuildValue("i",_result);
419 return _resultobj;
420}
421
422#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
423static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
424 PyObject * _resultobj;
425 bool _result;
426 wxListItemAttr * _arg0;
427 PyObject * _argo0 = 0;
428 char *_kwnames[] = { "self", NULL };
429
430 self = self;
431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
432 return NULL;
433 if (_argo0) {
434 if (_argo0 == Py_None) { _arg0 = NULL; }
435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
437 return NULL;
438 }
439 }
440{
474c48f9 441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 442 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
f6bcfd97 443
474c48f9 444 wxPyEndAllowThreads(__tstate);
4dfaa61e 445 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
446} _resultobj = Py_BuildValue("i",_result);
447 return _resultobj;
448}
449
450#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
451static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
452 PyObject * _resultobj;
453 bool _result;
454 wxListItemAttr * _arg0;
455 PyObject * _argo0 = 0;
456 char *_kwnames[] = { "self", NULL };
457
458 self = self;
459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
460 return NULL;
461 if (_argo0) {
462 if (_argo0 == Py_None) { _arg0 = NULL; }
463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
465 return NULL;
466 }
467 }
468{
474c48f9 469 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 470 _result = (bool )wxListItemAttr_HasFont(_arg0);
f6bcfd97 471
474c48f9 472 wxPyEndAllowThreads(__tstate);
4dfaa61e 473 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
474} _resultobj = Py_BuildValue("i",_result);
475 return _resultobj;
476}
477
478#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
479static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
480 PyObject * _resultobj;
481 wxColour * _result;
482 wxListItemAttr * _arg0;
483 PyObject * _argo0 = 0;
484 char *_kwnames[] = { "self", NULL };
485 char _ptemp[128];
486
487 self = self;
488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
489 return NULL;
490 if (_argo0) {
491 if (_argo0 == Py_None) { _arg0 = NULL; }
492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
494 return NULL;
495 }
496 }
497{
474c48f9 498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 499 _result = new wxColour (wxListItemAttr_GetTextColour(_arg0));
f6bcfd97 500
474c48f9 501 wxPyEndAllowThreads(__tstate);
4dfaa61e 502 if (PyErr_Occurred()) return NULL;
3e212503
RD
503} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
504 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
505 return _resultobj;
506}
507
508#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
509static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
510 PyObject * _resultobj;
511 wxColour * _result;
512 wxListItemAttr * _arg0;
513 PyObject * _argo0 = 0;
514 char *_kwnames[] = { "self", NULL };
515 char _ptemp[128];
516
517 self = self;
518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
519 return NULL;
520 if (_argo0) {
521 if (_argo0 == Py_None) { _arg0 = NULL; }
522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
524 return NULL;
525 }
526 }
527{
474c48f9 528 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 529 _result = new wxColour (wxListItemAttr_GetBackgroundColour(_arg0));
f6bcfd97 530
474c48f9 531 wxPyEndAllowThreads(__tstate);
4dfaa61e 532 if (PyErr_Occurred()) return NULL;
3e212503
RD
533} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
534 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
535 return _resultobj;
536}
537
538#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
539static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
540 PyObject * _resultobj;
541 wxFont * _result;
542 wxListItemAttr * _arg0;
543 PyObject * _argo0 = 0;
544 char *_kwnames[] = { "self", NULL };
545 char _ptemp[128];
546
547 self = self;
548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
549 return NULL;
550 if (_argo0) {
551 if (_argo0 == Py_None) { _arg0 = NULL; }
552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
554 return NULL;
555 }
556 }
557{
474c48f9 558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 559 _result = new wxFont (wxListItemAttr_GetFont(_arg0));
f6bcfd97 560
474c48f9 561 wxPyEndAllowThreads(__tstate);
4dfaa61e 562 if (PyErr_Occurred()) return NULL;
3e212503
RD
563} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
564 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
565 return _resultobj;
566}
567
9df61a29
RD
568static void *SwigwxListItemTowxObject(void *ptr) {
569 wxListItem *src;
570 wxObject *dest;
571 src = (wxListItem *) ptr;
572 dest = (wxObject *) src;
573 return (void *) dest;
574}
575
f6bcfd97
BP
576#define new_wxListItem() (new wxListItem())
577static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
578 PyObject * _resultobj;
579 wxListItem * _result;
580 char *_kwnames[] = { NULL };
581 char _ptemp[128];
582
583 self = self;
584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
585 return NULL;
586{
474c48f9 587 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 588 _result = (wxListItem *)new_wxListItem();
f6bcfd97 589
474c48f9 590 wxPyEndAllowThreads(__tstate);
4dfaa61e 591 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
592} if (_result) {
593 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
594 _resultobj = Py_BuildValue("s",_ptemp);
595 } else {
596 Py_INCREF(Py_None);
597 _resultobj = Py_None;
598 }
599 return _resultobj;
600}
601
602#define delete_wxListItem(_swigobj) (delete _swigobj)
603static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
604 PyObject * _resultobj;
605 wxListItem * _arg0;
606 PyObject * _argo0 = 0;
607 char *_kwnames[] = { "self", NULL };
608
609 self = self;
610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
611 return NULL;
612 if (_argo0) {
613 if (_argo0 == Py_None) { _arg0 = NULL; }
614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
616 return NULL;
617 }
618 }
619{
474c48f9 620 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 621 delete_wxListItem(_arg0);
f6bcfd97 622
474c48f9 623 wxPyEndAllowThreads(__tstate);
4dfaa61e 624 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
625} Py_INCREF(Py_None);
626 _resultobj = Py_None;
627 return _resultobj;
628}
629
630#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
631static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
632 PyObject * _resultobj;
633 wxListItem * _arg0;
634 PyObject * _argo0 = 0;
635 char *_kwnames[] = { "self", NULL };
636
637 self = self;
638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
639 return NULL;
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
644 return NULL;
645 }
646 }
647{
474c48f9 648 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 649 wxListItem_Clear(_arg0);
f6bcfd97 650
474c48f9 651 wxPyEndAllowThreads(__tstate);
4dfaa61e 652 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
653} Py_INCREF(Py_None);
654 _resultobj = Py_None;
655 return _resultobj;
656}
657
658#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
659static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
660 PyObject * _resultobj;
661 wxListItem * _arg0;
662 PyObject * _argo0 = 0;
663 char *_kwnames[] = { "self", NULL };
664
665 self = self;
666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
667 return NULL;
668 if (_argo0) {
669 if (_argo0 == Py_None) { _arg0 = NULL; }
670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
672 return NULL;
673 }
674 }
675{
474c48f9 676 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 677 wxListItem_ClearAttributes(_arg0);
f6bcfd97 678
474c48f9 679 wxPyEndAllowThreads(__tstate);
4dfaa61e 680 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
681} Py_INCREF(Py_None);
682 _resultobj = Py_None;
683 return _resultobj;
684}
685
686#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
687static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
688 PyObject * _resultobj;
689 wxListItem * _arg0;
690 long _arg1;
691 PyObject * _argo0 = 0;
692 char *_kwnames[] = { "self","mask", NULL };
693
694 self = self;
695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
696 return NULL;
697 if (_argo0) {
698 if (_argo0 == Py_None) { _arg0 = NULL; }
699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
701 return NULL;
702 }
703 }
704{
474c48f9 705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 706 wxListItem_SetMask(_arg0,_arg1);
f6bcfd97 707
474c48f9 708 wxPyEndAllowThreads(__tstate);
4dfaa61e 709 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
710} Py_INCREF(Py_None);
711 _resultobj = Py_None;
712 return _resultobj;
713}
714
715#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
716static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
717 PyObject * _resultobj;
718 wxListItem * _arg0;
719 long _arg1;
720 PyObject * _argo0 = 0;
721 char *_kwnames[] = { "self","id", NULL };
722
723 self = self;
724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
725 return NULL;
726 if (_argo0) {
727 if (_argo0 == Py_None) { _arg0 = NULL; }
728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
730 return NULL;
731 }
732 }
733{
474c48f9 734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 735 wxListItem_SetId(_arg0,_arg1);
f6bcfd97 736
474c48f9 737 wxPyEndAllowThreads(__tstate);
4dfaa61e 738 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
739} Py_INCREF(Py_None);
740 _resultobj = Py_None;
741 return _resultobj;
742}
743
744#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
745static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
746 PyObject * _resultobj;
747 wxListItem * _arg0;
748 int _arg1;
749 PyObject * _argo0 = 0;
750 char *_kwnames[] = { "self","col", NULL };
751
752 self = self;
753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
754 return NULL;
755 if (_argo0) {
756 if (_argo0 == Py_None) { _arg0 = NULL; }
757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
759 return NULL;
760 }
761 }
762{
474c48f9 763 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 764 wxListItem_SetColumn(_arg0,_arg1);
f6bcfd97 765
474c48f9 766 wxPyEndAllowThreads(__tstate);
4dfaa61e 767 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
768} Py_INCREF(Py_None);
769 _resultobj = Py_None;
770 return _resultobj;
771}
772
773#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
774static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
775 PyObject * _resultobj;
776 wxListItem * _arg0;
777 long _arg1;
778 PyObject * _argo0 = 0;
779 char *_kwnames[] = { "self","state", NULL };
780
781 self = self;
782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
783 return NULL;
784 if (_argo0) {
785 if (_argo0 == Py_None) { _arg0 = NULL; }
786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
788 return NULL;
789 }
790 }
791{
474c48f9 792 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 793 wxListItem_SetState(_arg0,_arg1);
f6bcfd97 794
474c48f9 795 wxPyEndAllowThreads(__tstate);
4dfaa61e 796 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
797} Py_INCREF(Py_None);
798 _resultobj = Py_None;
799 return _resultobj;
800}
801
802#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
803static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
804 PyObject * _resultobj;
805 wxListItem * _arg0;
806 long _arg1;
807 PyObject * _argo0 = 0;
808 char *_kwnames[] = { "self","stateMask", NULL };
809
810 self = self;
811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
812 return NULL;
813 if (_argo0) {
814 if (_argo0 == Py_None) { _arg0 = NULL; }
815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
817 return NULL;
818 }
819 }
820{
474c48f9 821 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 822 wxListItem_SetStateMask(_arg0,_arg1);
f6bcfd97 823
474c48f9 824 wxPyEndAllowThreads(__tstate);
4dfaa61e 825 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
826} Py_INCREF(Py_None);
827 _resultobj = Py_None;
828 return _resultobj;
829}
830
831#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
832static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
833 PyObject * _resultobj;
834 wxListItem * _arg0;
835 wxString * _arg1;
836 PyObject * _argo0 = 0;
837 PyObject * _obj1 = 0;
838 char *_kwnames[] = { "self","text", NULL };
839
840 self = self;
841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
842 return NULL;
843 if (_argo0) {
844 if (_argo0 == Py_None) { _arg0 = NULL; }
845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
847 return NULL;
848 }
849 }
850{
c8bc7bb8
RD
851 _arg1 = wxString_in_helper(_obj1);
852 if (_arg1 == NULL)
f6bcfd97 853 return NULL;
f6bcfd97
BP
854}
855{
474c48f9 856 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 857 wxListItem_SetText(_arg0,*_arg1);
f6bcfd97 858
474c48f9 859 wxPyEndAllowThreads(__tstate);
4dfaa61e 860 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
861} Py_INCREF(Py_None);
862 _resultobj = Py_None;
863{
864 if (_obj1)
865 delete _arg1;
866}
867 return _resultobj;
868}
869
870#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
871static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
872 PyObject * _resultobj;
873 wxListItem * _arg0;
874 int _arg1;
875 PyObject * _argo0 = 0;
876 char *_kwnames[] = { "self","image", NULL };
877
878 self = self;
879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
880 return NULL;
881 if (_argo0) {
882 if (_argo0 == Py_None) { _arg0 = NULL; }
883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
885 return NULL;
886 }
887 }
888{
474c48f9 889 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 890 wxListItem_SetImage(_arg0,_arg1);
f6bcfd97 891
474c48f9 892 wxPyEndAllowThreads(__tstate);
4dfaa61e 893 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
894} Py_INCREF(Py_None);
895 _resultobj = Py_None;
896 return _resultobj;
897}
898
899#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
900static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject * _resultobj;
902 wxListItem * _arg0;
903 long _arg1;
904 PyObject * _argo0 = 0;
905 char *_kwnames[] = { "self","data", NULL };
906
907 self = self;
908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
909 return NULL;
910 if (_argo0) {
911 if (_argo0 == Py_None) { _arg0 = NULL; }
912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
914 return NULL;
915 }
916 }
917{
474c48f9 918 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 919 wxListItem_SetData(_arg0,_arg1);
f6bcfd97 920
474c48f9 921 wxPyEndAllowThreads(__tstate);
4dfaa61e 922 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
923} Py_INCREF(Py_None);
924 _resultobj = Py_None;
925 return _resultobj;
926}
927
928#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
929static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
930 PyObject * _resultobj;
931 wxListItem * _arg0;
932 int _arg1;
933 PyObject * _argo0 = 0;
934 char *_kwnames[] = { "self","width", NULL };
935
936 self = self;
937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
938 return NULL;
939 if (_argo0) {
940 if (_argo0 == Py_None) { _arg0 = NULL; }
941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
943 return NULL;
944 }
945 }
946{
474c48f9 947 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 948 wxListItem_SetWidth(_arg0,_arg1);
f6bcfd97 949
474c48f9 950 wxPyEndAllowThreads(__tstate);
4dfaa61e 951 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
952} Py_INCREF(Py_None);
953 _resultobj = Py_None;
954 return _resultobj;
955}
956
957#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
958static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
959 PyObject * _resultobj;
960 wxListItem * _arg0;
961 wxListColumnFormat _arg1;
962 PyObject * _argo0 = 0;
963 char *_kwnames[] = { "self","align", NULL };
964
965 self = self;
966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
967 return NULL;
968 if (_argo0) {
969 if (_argo0 == Py_None) { _arg0 = NULL; }
970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
972 return NULL;
973 }
974 }
975{
474c48f9 976 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 977 wxListItem_SetAlign(_arg0,_arg1);
f6bcfd97 978
474c48f9 979 wxPyEndAllowThreads(__tstate);
4dfaa61e 980 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
981} Py_INCREF(Py_None);
982 _resultobj = Py_None;
983 return _resultobj;
984}
985
986#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
987static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
988 PyObject * _resultobj;
989 wxListItem * _arg0;
990 wxColour * _arg1;
991 PyObject * _argo0 = 0;
992 wxColour temp;
993 PyObject * _obj1 = 0;
994 char *_kwnames[] = { "self","colText", NULL };
995
996 self = self;
997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
998 return NULL;
999 if (_argo0) {
1000 if (_argo0 == Py_None) { _arg0 = NULL; }
1001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1003 return NULL;
1004 }
1005 }
1006{
1007 _arg1 = &temp;
1008 if (! wxColour_helper(_obj1, &_arg1))
1009 return NULL;
1010}
1011{
474c48f9 1012 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1013 wxListItem_SetTextColour(_arg0,*_arg1);
f6bcfd97 1014
474c48f9 1015 wxPyEndAllowThreads(__tstate);
4dfaa61e 1016 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1017} Py_INCREF(Py_None);
1018 _resultobj = Py_None;
1019 return _resultobj;
1020}
1021
1022#define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1023static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1024 PyObject * _resultobj;
1025 wxListItem * _arg0;
1026 wxColour * _arg1;
1027 PyObject * _argo0 = 0;
1028 wxColour temp;
1029 PyObject * _obj1 = 0;
1030 char *_kwnames[] = { "self","colBack", NULL };
1031
1032 self = self;
1033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1034 return NULL;
1035 if (_argo0) {
1036 if (_argo0 == Py_None) { _arg0 = NULL; }
1037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1039 return NULL;
1040 }
1041 }
1042{
1043 _arg1 = &temp;
1044 if (! wxColour_helper(_obj1, &_arg1))
1045 return NULL;
1046}
1047{
474c48f9 1048 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1049 wxListItem_SetBackgroundColour(_arg0,*_arg1);
f6bcfd97 1050
474c48f9 1051 wxPyEndAllowThreads(__tstate);
4dfaa61e 1052 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1053} Py_INCREF(Py_None);
1054 _resultobj = Py_None;
1055 return _resultobj;
1056}
1057
1058#define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1059static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1060 PyObject * _resultobj;
1061 wxListItem * _arg0;
1062 wxFont * _arg1;
1063 PyObject * _argo0 = 0;
1064 PyObject * _argo1 = 0;
1065 char *_kwnames[] = { "self","font", NULL };
1066
1067 self = self;
1068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1069 return NULL;
1070 if (_argo0) {
1071 if (_argo0 == Py_None) { _arg0 = NULL; }
1072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1074 return NULL;
1075 }
1076 }
1077 if (_argo1) {
1078 if (_argo1 == Py_None) { _arg1 = NULL; }
1079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1081 return NULL;
1082 }
1083 }
1084{
474c48f9 1085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1086 wxListItem_SetFont(_arg0,*_arg1);
f6bcfd97 1087
474c48f9 1088 wxPyEndAllowThreads(__tstate);
4dfaa61e 1089 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1090} Py_INCREF(Py_None);
1091 _resultobj = Py_None;
1092 return _resultobj;
1093}
1094
1095#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1096static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1097 PyObject * _resultobj;
1098 long _result;
1099 wxListItem * _arg0;
1100 PyObject * _argo0 = 0;
1101 char *_kwnames[] = { "self", NULL };
1102
1103 self = self;
1104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1105 return NULL;
1106 if (_argo0) {
1107 if (_argo0 == Py_None) { _arg0 = NULL; }
1108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1110 return NULL;
1111 }
1112 }
1113{
474c48f9 1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1115 _result = (long )wxListItem_GetMask(_arg0);
f6bcfd97 1116
474c48f9 1117 wxPyEndAllowThreads(__tstate);
4dfaa61e 1118 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1119} _resultobj = Py_BuildValue("l",_result);
1120 return _resultobj;
1121}
1122
1123#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1124static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1125 PyObject * _resultobj;
1126 long _result;
1127 wxListItem * _arg0;
1128 PyObject * _argo0 = 0;
1129 char *_kwnames[] = { "self", NULL };
1130
1131 self = self;
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1133 return NULL;
1134 if (_argo0) {
1135 if (_argo0 == Py_None) { _arg0 = NULL; }
1136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1138 return NULL;
1139 }
1140 }
1141{
474c48f9 1142 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1143 _result = (long )wxListItem_GetId(_arg0);
f6bcfd97 1144
474c48f9 1145 wxPyEndAllowThreads(__tstate);
4dfaa61e 1146 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1147} _resultobj = Py_BuildValue("l",_result);
1148 return _resultobj;
1149}
1150
1151#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1152static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1153 PyObject * _resultobj;
1154 int _result;
1155 wxListItem * _arg0;
1156 PyObject * _argo0 = 0;
1157 char *_kwnames[] = { "self", NULL };
1158
1159 self = self;
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1161 return NULL;
1162 if (_argo0) {
1163 if (_argo0 == Py_None) { _arg0 = NULL; }
1164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1166 return NULL;
1167 }
1168 }
1169{
474c48f9 1170 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1171 _result = (int )wxListItem_GetColumn(_arg0);
f6bcfd97 1172
474c48f9 1173 wxPyEndAllowThreads(__tstate);
4dfaa61e 1174 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1175} _resultobj = Py_BuildValue("i",_result);
1176 return _resultobj;
1177}
1178
1179#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1180static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1181 PyObject * _resultobj;
1182 long _result;
1183 wxListItem * _arg0;
1184 PyObject * _argo0 = 0;
1185 char *_kwnames[] = { "self", NULL };
1186
1187 self = self;
1188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1189 return NULL;
1190 if (_argo0) {
1191 if (_argo0 == Py_None) { _arg0 = NULL; }
1192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1194 return NULL;
1195 }
1196 }
1197{
474c48f9 1198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1199 _result = (long )wxListItem_GetState(_arg0);
f6bcfd97 1200
474c48f9 1201 wxPyEndAllowThreads(__tstate);
4dfaa61e 1202 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1203} _resultobj = Py_BuildValue("l",_result);
1204 return _resultobj;
1205}
1206
1207#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1208static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1209 PyObject * _resultobj;
1210 wxString * _result;
1211 wxListItem * _arg0;
1212 PyObject * _argo0 = 0;
1213 char *_kwnames[] = { "self", NULL };
1214
1215 self = self;
1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1217 return NULL;
1218 if (_argo0) {
1219 if (_argo0 == Py_None) { _arg0 = NULL; }
1220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1222 return NULL;
1223 }
1224 }
1225{
474c48f9 1226 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1227 const wxString & _result_ref = wxListItem_GetText(_arg0);
f6bcfd97
BP
1228 _result = (wxString *) &_result_ref;
1229
474c48f9 1230 wxPyEndAllowThreads(__tstate);
4dfaa61e 1231 if (PyErr_Occurred()) return NULL;
f6bcfd97 1232}{
c8bc7bb8
RD
1233#if wxUSE_UNICODE
1234 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1235#else
f6bcfd97 1236 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1237#endif
f6bcfd97
BP
1238}
1239 return _resultobj;
1240}
1241
1242#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1243static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject * _resultobj;
1245 int _result;
1246 wxListItem * _arg0;
1247 PyObject * _argo0 = 0;
1248 char *_kwnames[] = { "self", NULL };
1249
1250 self = self;
1251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1252 return NULL;
1253 if (_argo0) {
1254 if (_argo0 == Py_None) { _arg0 = NULL; }
1255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1257 return NULL;
1258 }
1259 }
1260{
474c48f9 1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1262 _result = (int )wxListItem_GetImage(_arg0);
f6bcfd97 1263
474c48f9 1264 wxPyEndAllowThreads(__tstate);
4dfaa61e 1265 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1266} _resultobj = Py_BuildValue("i",_result);
1267 return _resultobj;
1268}
1269
1270#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1271static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 long _result;
1274 wxListItem * _arg0;
1275 PyObject * _argo0 = 0;
1276 char *_kwnames[] = { "self", NULL };
1277
1278 self = self;
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1280 return NULL;
1281 if (_argo0) {
1282 if (_argo0 == Py_None) { _arg0 = NULL; }
1283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1285 return NULL;
1286 }
1287 }
1288{
474c48f9 1289 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1290 _result = (long )wxListItem_GetData(_arg0);
f6bcfd97 1291
474c48f9 1292 wxPyEndAllowThreads(__tstate);
4dfaa61e 1293 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1294} _resultobj = Py_BuildValue("l",_result);
1295 return _resultobj;
1296}
1297
1298#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1299static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject * _resultobj;
1301 int _result;
1302 wxListItem * _arg0;
1303 PyObject * _argo0 = 0;
1304 char *_kwnames[] = { "self", NULL };
1305
1306 self = self;
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1308 return NULL;
1309 if (_argo0) {
1310 if (_argo0 == Py_None) { _arg0 = NULL; }
1311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1313 return NULL;
1314 }
1315 }
1316{
474c48f9 1317 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1318 _result = (int )wxListItem_GetWidth(_arg0);
f6bcfd97 1319
474c48f9 1320 wxPyEndAllowThreads(__tstate);
4dfaa61e 1321 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1322} _resultobj = Py_BuildValue("i",_result);
1323 return _resultobj;
1324}
1325
1326#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1327static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1328 PyObject * _resultobj;
1329 wxListColumnFormat _result;
1330 wxListItem * _arg0;
1331 PyObject * _argo0 = 0;
1332 char *_kwnames[] = { "self", NULL };
1333
1334 self = self;
1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1336 return NULL;
1337 if (_argo0) {
1338 if (_argo0 == Py_None) { _arg0 = NULL; }
1339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1341 return NULL;
1342 }
1343 }
1344{
474c48f9 1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1346 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
f6bcfd97 1347
474c48f9 1348 wxPyEndAllowThreads(__tstate);
4dfaa61e 1349 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1350} _resultobj = Py_BuildValue("i",_result);
1351 return _resultobj;
1352}
1353
1354#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1355static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject * _resultobj;
1357 wxListItemAttr * _result;
1358 wxListItem * _arg0;
1359 PyObject * _argo0 = 0;
1360 char *_kwnames[] = { "self", NULL };
1361 char _ptemp[128];
1362
1363 self = self;
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1365 return NULL;
1366 if (_argo0) {
1367 if (_argo0 == Py_None) { _arg0 = NULL; }
1368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1370 return NULL;
1371 }
1372 }
1373{
474c48f9 1374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1375 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
f6bcfd97 1376
474c48f9 1377 wxPyEndAllowThreads(__tstate);
4dfaa61e 1378 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1379} if (_result) {
1380 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1381 _resultobj = Py_BuildValue("s",_ptemp);
1382 } else {
1383 Py_INCREF(Py_None);
1384 _resultobj = Py_None;
1385 }
1386 return _resultobj;
1387}
1388
1389#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1390static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject * _resultobj;
1392 bool _result;
1393 wxListItem * _arg0;
1394 PyObject * _argo0 = 0;
1395 char *_kwnames[] = { "self", NULL };
1396
1397 self = self;
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1399 return NULL;
1400 if (_argo0) {
1401 if (_argo0 == Py_None) { _arg0 = NULL; }
1402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1404 return NULL;
1405 }
1406 }
1407{
474c48f9 1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1409 _result = (bool )wxListItem_HasAttributes(_arg0);
f6bcfd97 1410
474c48f9 1411 wxPyEndAllowThreads(__tstate);
4dfaa61e 1412 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1413} _resultobj = Py_BuildValue("i",_result);
1414 return _resultobj;
1415}
1416
1417#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1418static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1419 PyObject * _resultobj;
1420 wxColour * _result;
1421 wxListItem * _arg0;
1422 PyObject * _argo0 = 0;
1423 char *_kwnames[] = { "self", NULL };
1424 char _ptemp[128];
1425
1426 self = self;
1427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1428 return NULL;
1429 if (_argo0) {
1430 if (_argo0 == Py_None) { _arg0 = NULL; }
1431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1433 return NULL;
1434 }
1435 }
1436{
474c48f9 1437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1438 _result = new wxColour (wxListItem_GetTextColour(_arg0));
f6bcfd97 1439
474c48f9 1440 wxPyEndAllowThreads(__tstate);
4dfaa61e 1441 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1442} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1443 _resultobj = Py_BuildValue("s",_ptemp);
1444 return _resultobj;
1445}
1446
1447#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1448static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject * _resultobj;
1450 wxColour * _result;
1451 wxListItem * _arg0;
1452 PyObject * _argo0 = 0;
1453 char *_kwnames[] = { "self", NULL };
1454 char _ptemp[128];
1455
1456 self = self;
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1458 return NULL;
1459 if (_argo0) {
1460 if (_argo0 == Py_None) { _arg0 = NULL; }
1461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1463 return NULL;
1464 }
1465 }
1466{
474c48f9 1467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1468 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
f6bcfd97 1469
474c48f9 1470 wxPyEndAllowThreads(__tstate);
4dfaa61e 1471 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1472} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1473 _resultobj = Py_BuildValue("s",_ptemp);
1474 return _resultobj;
1475}
1476
1477#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1478static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject * _resultobj;
1480 wxFont * _result;
1481 wxListItem * _arg0;
1482 PyObject * _argo0 = 0;
1483 char *_kwnames[] = { "self", NULL };
1484 char _ptemp[128];
1485
1486 self = self;
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1488 return NULL;
1489 if (_argo0) {
1490 if (_argo0 == Py_None) { _arg0 = NULL; }
1491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1493 return NULL;
1494 }
1495 }
1496{
474c48f9 1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1498 _result = new wxFont (wxListItem_GetFont(_arg0));
f6bcfd97 1499
474c48f9 1500 wxPyEndAllowThreads(__tstate);
4dfaa61e 1501 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1502} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1503 _resultobj = Py_BuildValue("s",_ptemp);
1504 return _resultobj;
1505}
1506
1507#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1508static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1509 PyObject * _resultobj;
1510 long _result;
1511 wxListItem * _arg0;
1512 long _arg1;
1513 PyObject * _argo0 = 0;
1514 char *_kwnames[] = { "self","m_mask", NULL };
1515
1516 self = self;
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1518 return NULL;
1519 if (_argo0) {
1520 if (_argo0 == Py_None) { _arg0 = NULL; }
1521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1523 return NULL;
1524 }
1525 }
1526{
474c48f9 1527 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1528 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
f6bcfd97 1529
474c48f9 1530 wxPyEndAllowThreads(__tstate);
4dfaa61e 1531 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1532} _resultobj = Py_BuildValue("l",_result);
1533 return _resultobj;
1534}
1535
1536#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1537static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1538 PyObject * _resultobj;
1539 long _result;
1540 wxListItem * _arg0;
1541 PyObject * _argo0 = 0;
1542 char *_kwnames[] = { "self", NULL };
1543
1544 self = self;
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1546 return NULL;
1547 if (_argo0) {
1548 if (_argo0 == Py_None) { _arg0 = NULL; }
1549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1551 return NULL;
1552 }
1553 }
1554{
474c48f9 1555 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1556 _result = (long )wxListItem_m_mask_get(_arg0);
f6bcfd97 1557
474c48f9 1558 wxPyEndAllowThreads(__tstate);
4dfaa61e 1559 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1560} _resultobj = Py_BuildValue("l",_result);
1561 return _resultobj;
1562}
1563
1564#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1565static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1566 PyObject * _resultobj;
1567 long _result;
1568 wxListItem * _arg0;
1569 long _arg1;
1d99702e 1570 PyObject * _argo0 = 0;
f6bcfd97 1571 char *_kwnames[] = { "self","m_itemId", NULL };
af309447
RD
1572
1573 self = self;
f6bcfd97 1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
af309447 1575 return NULL;
1d99702e
RD
1576 if (_argo0) {
1577 if (_argo0 == Py_None) { _arg0 = NULL; }
1578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
af309447
RD
1580 return NULL;
1581 }
1582 }
cf694132 1583{
474c48f9 1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1585 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
f6bcfd97 1586
474c48f9 1587 wxPyEndAllowThreads(__tstate);
4dfaa61e 1588 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1589} _resultobj = Py_BuildValue("l",_result);
1590 return _resultobj;
1591}
1592
1593#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1594static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject * _resultobj;
1596 long _result;
1597 wxListItem * _arg0;
1598 PyObject * _argo0 = 0;
1599 char *_kwnames[] = { "self", NULL };
1600
1601 self = self;
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1603 return NULL;
1604 if (_argo0) {
1605 if (_argo0 == Py_None) { _arg0 = NULL; }
1606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1608 return NULL;
1609 }
1610 }
1611{
474c48f9 1612 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1613 _result = (long )wxListItem_m_itemId_get(_arg0);
f6bcfd97 1614
474c48f9 1615 wxPyEndAllowThreads(__tstate);
4dfaa61e 1616 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1617} _resultobj = Py_BuildValue("l",_result);
1618 return _resultobj;
1619}
1620
1621#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1622static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject * _resultobj;
1624 int _result;
1625 wxListItem * _arg0;
1626 int _arg1;
1627 PyObject * _argo0 = 0;
1628 char *_kwnames[] = { "self","m_col", NULL };
1629
1630 self = self;
1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1632 return NULL;
1633 if (_argo0) {
1634 if (_argo0 == Py_None) { _arg0 = NULL; }
1635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1637 return NULL;
1638 }
1639 }
1640{
474c48f9 1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1642 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
f6bcfd97 1643
474c48f9 1644 wxPyEndAllowThreads(__tstate);
4dfaa61e 1645 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1646} _resultobj = Py_BuildValue("i",_result);
1647 return _resultobj;
1648}
1649
1650#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1651static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject * _resultobj;
1653 int _result;
1654 wxListItem * _arg0;
1655 PyObject * _argo0 = 0;
1656 char *_kwnames[] = { "self", NULL };
1657
1658 self = self;
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1660 return NULL;
1661 if (_argo0) {
1662 if (_argo0 == Py_None) { _arg0 = NULL; }
1663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1665 return NULL;
1666 }
1667 }
1668{
474c48f9 1669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1670 _result = (int )wxListItem_m_col_get(_arg0);
f6bcfd97 1671
474c48f9 1672 wxPyEndAllowThreads(__tstate);
4dfaa61e 1673 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1674} _resultobj = Py_BuildValue("i",_result);
1675 return _resultobj;
1676}
1677
1678#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1679static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject * _resultobj;
1681 long _result;
1682 wxListItem * _arg0;
1683 long _arg1;
1684 PyObject * _argo0 = 0;
1685 char *_kwnames[] = { "self","m_state", NULL };
1686
1687 self = self;
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1689 return NULL;
1690 if (_argo0) {
1691 if (_argo0 == Py_None) { _arg0 = NULL; }
1692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1694 return NULL;
1695 }
1696 }
1697{
474c48f9 1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1699 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
f6bcfd97 1700
474c48f9 1701 wxPyEndAllowThreads(__tstate);
4dfaa61e 1702 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1703} _resultobj = Py_BuildValue("l",_result);
1704 return _resultobj;
1705}
1706
1707#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1708static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject * _resultobj;
1710 long _result;
1711 wxListItem * _arg0;
1712 PyObject * _argo0 = 0;
1713 char *_kwnames[] = { "self", NULL };
1714
1715 self = self;
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1717 return NULL;
1718 if (_argo0) {
1719 if (_argo0 == Py_None) { _arg0 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1722 return NULL;
1723 }
1724 }
1725{
474c48f9 1726 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1727 _result = (long )wxListItem_m_state_get(_arg0);
f6bcfd97 1728
474c48f9 1729 wxPyEndAllowThreads(__tstate);
4dfaa61e 1730 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1731} _resultobj = Py_BuildValue("l",_result);
1732 return _resultobj;
1733}
1734
1735#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1736static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 long _result;
1739 wxListItem * _arg0;
1740 long _arg1;
1741 PyObject * _argo0 = 0;
1742 char *_kwnames[] = { "self","m_stateMask", NULL };
1743
1744 self = self;
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1746 return NULL;
1747 if (_argo0) {
1748 if (_argo0 == Py_None) { _arg0 = NULL; }
1749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1751 return NULL;
1752 }
1753 }
1754{
474c48f9 1755 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1756 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
f6bcfd97 1757
474c48f9 1758 wxPyEndAllowThreads(__tstate);
4dfaa61e 1759 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1760} _resultobj = Py_BuildValue("l",_result);
1761 return _resultobj;
1762}
1763
1764#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1765static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject * _resultobj;
1767 long _result;
1768 wxListItem * _arg0;
1769 PyObject * _argo0 = 0;
1770 char *_kwnames[] = { "self", NULL };
1771
1772 self = self;
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1774 return NULL;
1775 if (_argo0) {
1776 if (_argo0 == Py_None) { _arg0 = NULL; }
1777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1779 return NULL;
1780 }
1781 }
1782{
474c48f9 1783 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1784 _result = (long )wxListItem_m_stateMask_get(_arg0);
cf694132 1785
474c48f9 1786 wxPyEndAllowThreads(__tstate);
4dfaa61e 1787 if (PyErr_Occurred()) return NULL;
cf694132 1788} _resultobj = Py_BuildValue("l",_result);
af309447
RD
1789 return _resultobj;
1790}
1791
f6bcfd97
BP
1792#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1793static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject * _resultobj;
1795 wxString * _result;
1796 wxListItem * _arg0;
1797 wxString * _arg1;
1798 PyObject * _argo0 = 0;
1799 PyObject * _obj1 = 0;
1800 char *_kwnames[] = { "self","m_text", NULL };
1801
1802 self = self;
1803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1804 return NULL;
1805 if (_argo0) {
1806 if (_argo0 == Py_None) { _arg0 = NULL; }
1807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1809 return NULL;
1810 }
1811 }
1812{
c8bc7bb8
RD
1813 _arg1 = wxString_in_helper(_obj1);
1814 if (_arg1 == NULL)
f6bcfd97 1815 return NULL;
f6bcfd97
BP
1816}
1817{
474c48f9 1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1819 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
f6bcfd97 1820
474c48f9 1821 wxPyEndAllowThreads(__tstate);
4dfaa61e 1822 if (PyErr_Occurred()) return NULL;
f6bcfd97 1823}{
c8bc7bb8
RD
1824#if wxUSE_UNICODE
1825 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1826#else
f6bcfd97 1827 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1828#endif
f6bcfd97
BP
1829}
1830{
1831 if (_obj1)
1832 delete _arg1;
1833}
1834 return _resultobj;
1835}
1836
1837#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1838static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1839 PyObject * _resultobj;
f6bcfd97 1840 wxString * _result;
8ab979d7 1841 wxListItem * _arg0;
1d99702e 1842 PyObject * _argo0 = 0;
efc5f224 1843 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1844
1845 self = self;
f6bcfd97 1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
8ab979d7 1847 return NULL;
1d99702e
RD
1848 if (_argo0) {
1849 if (_argo0 == Py_None) { _arg0 = NULL; }
1850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
8ab979d7
RD
1852 return NULL;
1853 }
1854 }
cf694132 1855{
474c48f9 1856 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1857 _result = (wxString *)wxListItem_m_text_get(_arg0);
cf694132 1858
474c48f9 1859 wxPyEndAllowThreads(__tstate);
4dfaa61e 1860 if (PyErr_Occurred()) return NULL;
f6bcfd97 1861}{
c8bc7bb8
RD
1862#if wxUSE_UNICODE
1863 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1864#else
f6bcfd97 1865 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1866#endif
f6bcfd97 1867}
8ab979d7
RD
1868 return _resultobj;
1869}
1870
f6bcfd97
BP
1871#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1872static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1873 PyObject * _resultobj;
f6bcfd97 1874 int _result;
af309447 1875 wxListItem * _arg0;
f6bcfd97 1876 int _arg1;
1d99702e 1877 PyObject * _argo0 = 0;
f6bcfd97 1878 char *_kwnames[] = { "self","m_image", NULL };
af309447
RD
1879
1880 self = self;
f6bcfd97 1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
af309447 1882 return NULL;
1d99702e
RD
1883 if (_argo0) {
1884 if (_argo0 == Py_None) { _arg0 = NULL; }
1885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
af309447
RD
1887 return NULL;
1888 }
1889 }
cf694132 1890{
474c48f9 1891 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1892 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
cf694132 1893
474c48f9 1894 wxPyEndAllowThreads(__tstate);
4dfaa61e 1895 if (PyErr_Occurred()) return NULL;
f6bcfd97 1896} _resultobj = Py_BuildValue("i",_result);
af309447
RD
1897 return _resultobj;
1898}
1899
f6bcfd97
BP
1900#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1901static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1902 PyObject * _resultobj;
f6bcfd97 1903 int _result;
8ab979d7 1904 wxListItem * _arg0;
1d99702e 1905 PyObject * _argo0 = 0;
efc5f224 1906 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1907
1908 self = self;
f6bcfd97 1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
8ab979d7 1910 return NULL;
1d99702e
RD
1911 if (_argo0) {
1912 if (_argo0 == Py_None) { _arg0 = NULL; }
1913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
8ab979d7
RD
1915 return NULL;
1916 }
1917 }
cf694132 1918{
474c48f9 1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1920 _result = (int )wxListItem_m_image_get(_arg0);
cf694132 1921
474c48f9 1922 wxPyEndAllowThreads(__tstate);
4dfaa61e 1923 if (PyErr_Occurred()) return NULL;
f6bcfd97 1924} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1925 return _resultobj;
1926}
1927
f6bcfd97
BP
1928#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1929static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1930 PyObject * _resultobj;
f6bcfd97 1931 long _result;
af309447 1932 wxListItem * _arg0;
f6bcfd97 1933 long _arg1;
1d99702e 1934 PyObject * _argo0 = 0;
f6bcfd97 1935 char *_kwnames[] = { "self","m_data", NULL };
af309447
RD
1936
1937 self = self;
f6bcfd97 1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
af309447 1939 return NULL;
1d99702e
RD
1940 if (_argo0) {
1941 if (_argo0 == Py_None) { _arg0 = NULL; }
1942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
af309447
RD
1944 return NULL;
1945 }
1946 }
cf694132 1947{
474c48f9 1948 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1949 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
cf694132 1950
474c48f9 1951 wxPyEndAllowThreads(__tstate);
4dfaa61e 1952 if (PyErr_Occurred()) return NULL;
f6bcfd97 1953} _resultobj = Py_BuildValue("l",_result);
af309447
RD
1954 return _resultobj;
1955}
1956
f6bcfd97
BP
1957#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1958static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1959 PyObject * _resultobj;
f6bcfd97 1960 long _result;
8ab979d7 1961 wxListItem * _arg0;
1d99702e 1962 PyObject * _argo0 = 0;
efc5f224 1963 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1964
1965 self = self;
f6bcfd97 1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
8ab979d7 1967 return NULL;
1d99702e
RD
1968 if (_argo0) {
1969 if (_argo0 == Py_None) { _arg0 = NULL; }
1970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
8ab979d7
RD
1972 return NULL;
1973 }
1974 }
cf694132 1975{
474c48f9 1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1977 _result = (long )wxListItem_m_data_get(_arg0);
cf694132 1978
474c48f9 1979 wxPyEndAllowThreads(__tstate);
4dfaa61e 1980 if (PyErr_Occurred()) return NULL;
f6bcfd97 1981} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1982 return _resultobj;
1983}
1984
f6bcfd97
BP
1985#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1986static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1987 PyObject * _resultobj;
f6bcfd97 1988 int _result;
af309447 1989 wxListItem * _arg0;
f6bcfd97 1990 int _arg1;
1d99702e 1991 PyObject * _argo0 = 0;
f6bcfd97 1992 char *_kwnames[] = { "self","m_format", NULL };
af309447
RD
1993
1994 self = self;
f6bcfd97 1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
af309447 1996 return NULL;
1d99702e
RD
1997 if (_argo0) {
1998 if (_argo0 == Py_None) { _arg0 = NULL; }
1999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
af309447
RD
2001 return NULL;
2002 }
2003 }
cf694132 2004{
474c48f9 2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2006 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
cf694132 2007
474c48f9 2008 wxPyEndAllowThreads(__tstate);
4dfaa61e 2009 if (PyErr_Occurred()) return NULL;
f6bcfd97 2010} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2011 return _resultobj;
2012}
2013
f6bcfd97
BP
2014#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2015static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2016 PyObject * _resultobj;
f6bcfd97 2017 int _result;
8ab979d7 2018 wxListItem * _arg0;
1d99702e 2019 PyObject * _argo0 = 0;
efc5f224 2020 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2021
2022 self = self;
f6bcfd97 2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
8ab979d7 2024 return NULL;
1d99702e
RD
2025 if (_argo0) {
2026 if (_argo0 == Py_None) { _arg0 = NULL; }
2027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
8ab979d7
RD
2029 return NULL;
2030 }
2031 }
cf694132 2032{
474c48f9 2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2034 _result = (int )wxListItem_m_format_get(_arg0);
cf694132 2035
474c48f9 2036 wxPyEndAllowThreads(__tstate);
4dfaa61e 2037 if (PyErr_Occurred()) return NULL;
f6bcfd97 2038} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2039 return _resultobj;
2040}
2041
f6bcfd97
BP
2042#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2043static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2044 PyObject * _resultobj;
f6bcfd97 2045 int _result;
af309447 2046 wxListItem * _arg0;
f6bcfd97 2047 int _arg1;
1d99702e 2048 PyObject * _argo0 = 0;
f6bcfd97 2049 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
2050
2051 self = self;
f6bcfd97 2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 2053 return NULL;
1d99702e
RD
2054 if (_argo0) {
2055 if (_argo0 == Py_None) { _arg0 = NULL; }
2056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
af309447
RD
2058 return NULL;
2059 }
2060 }
cf694132 2061{
474c48f9 2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2063 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
cf694132 2064
474c48f9 2065 wxPyEndAllowThreads(__tstate);
4dfaa61e 2066 if (PyErr_Occurred()) return NULL;
f6bcfd97 2067} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2068 return _resultobj;
2069}
2070
f6bcfd97
BP
2071#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2072static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2073 PyObject * _resultobj;
f6bcfd97 2074 int _result;
8ab979d7 2075 wxListItem * _arg0;
1d99702e 2076 PyObject * _argo0 = 0;
efc5f224 2077 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2078
2079 self = self;
f6bcfd97 2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 2081 return NULL;
1d99702e
RD
2082 if (_argo0) {
2083 if (_argo0 == Py_None) { _arg0 = NULL; }
2084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
8ab979d7
RD
2086 return NULL;
2087 }
2088 }
cf694132 2089{
474c48f9 2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2091 _result = (int )wxListItem_m_width_get(_arg0);
cf694132 2092
474c48f9 2093 wxPyEndAllowThreads(__tstate);
4dfaa61e 2094 if (PyErr_Occurred()) return NULL;
f6bcfd97 2095} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2096 return _resultobj;
2097}
2098
c368d904
RD
2099static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
2100 wxListEvent *src;
2101 wxNotifyEvent *dest;
2102 src = (wxListEvent *) ptr;
2103 dest = (wxNotifyEvent *) src;
2104 return (void *) dest;
2105}
2106
f6bcfd97
BP
2107static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2108 wxListEvent *src;
2109 wxCommandEvent *dest;
2110 src = (wxListEvent *) ptr;
2111 dest = (wxCommandEvent *) src;
2112 return (void *) dest;
2113}
2114
2115static void *SwigwxListEventTowxEvent(void *ptr) {
2116 wxListEvent *src;
2117 wxEvent *dest;
2118 src = (wxListEvent *) ptr;
2119 dest = (wxEvent *) src;
2120 return (void *) dest;
2121}
2122
9df61a29
RD
2123static void *SwigwxListEventTowxObject(void *ptr) {
2124 wxListEvent *src;
2125 wxObject *dest;
2126 src = (wxListEvent *) ptr;
2127 dest = (wxObject *) src;
2128 return (void *) dest;
2129}
2130
059a841c
RD
2131#define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2132static PyObject *_wrap_new_wxListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2133 PyObject * _resultobj;
2134 wxListEvent * _result;
2135 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2136 int _arg1 = (int ) 0;
2137 char *_kwnames[] = { "commandType","id", NULL };
2138 char _ptemp[128];
2139
2140 self = self;
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxListEvent",_kwnames,&_arg0,&_arg1))
2142 return NULL;
2143{
474c48f9 2144 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2145 _result = (wxListEvent *)new_wxListEvent(_arg0,_arg1);
059a841c 2146
474c48f9 2147 wxPyEndAllowThreads(__tstate);
059a841c
RD
2148 if (PyErr_Occurred()) return NULL;
2149} if (_result) {
2150 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListEvent_p");
2151 _resultobj = Py_BuildValue("s",_ptemp);
2152 } else {
2153 Py_INCREF(Py_None);
2154 _resultobj = Py_None;
2155 }
2156 return _resultobj;
2157}
2158
f6bcfd97
BP
2159#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2160static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2161 PyObject * _resultobj;
f6bcfd97
BP
2162 int _result;
2163 wxListEvent * _arg0;
2164 int _arg1;
1d99702e 2165 PyObject * _argo0 = 0;
f6bcfd97 2166 char *_kwnames[] = { "self","m_code", NULL };
af309447
RD
2167
2168 self = self;
f6bcfd97 2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
af309447 2170 return NULL;
1d99702e
RD
2171 if (_argo0) {
2172 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
af309447
RD
2175 return NULL;
2176 }
2177 }
af309447 2178{
474c48f9 2179 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2180 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
cf694132 2181
474c48f9 2182 wxPyEndAllowThreads(__tstate);
4dfaa61e 2183 if (PyErr_Occurred()) return NULL;
f6bcfd97 2184} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2185 return _resultobj;
2186}
2187
f6bcfd97
BP
2188#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2189static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2190 PyObject * _resultobj;
f6bcfd97
BP
2191 int _result;
2192 wxListEvent * _arg0;
1d99702e 2193 PyObject * _argo0 = 0;
efc5f224 2194 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2195
2196 self = self;
f6bcfd97 2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
8ab979d7 2198 return NULL;
1d99702e
RD
2199 if (_argo0) {
2200 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
8ab979d7
RD
2203 return NULL;
2204 }
2205 }
8ab979d7 2206{
474c48f9 2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2208 _result = (int )wxListEvent_m_code_get(_arg0);
cf694132 2209
474c48f9 2210 wxPyEndAllowThreads(__tstate);
4dfaa61e 2211 if (PyErr_Occurred()) return NULL;
f6bcfd97 2212} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2213 return _resultobj;
2214}
2215
6e8a778a
RD
2216#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2217static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2218 PyObject * _resultobj;
f6bcfd97
BP
2219 long _result;
2220 wxListEvent * _arg0;
2221 long _arg1;
1d99702e 2222 PyObject * _argo0 = 0;
6e8a778a 2223 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
af309447
RD
2224
2225 self = self;
6e8a778a 2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
af309447 2227 return NULL;
1d99702e
RD
2228 if (_argo0) {
2229 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
af309447
RD
2232 return NULL;
2233 }
2234 }
cf694132 2235{
474c48f9 2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2237 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
cf694132 2238
474c48f9 2239 wxPyEndAllowThreads(__tstate);
4dfaa61e 2240 if (PyErr_Occurred()) return NULL;
f6bcfd97 2241} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2242 return _resultobj;
2243}
2244
6e8a778a
RD
2245#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2246static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2247 PyObject * _resultobj;
f6bcfd97
BP
2248 long _result;
2249 wxListEvent * _arg0;
1d99702e 2250 PyObject * _argo0 = 0;
efc5f224 2251 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2252
2253 self = self;
6e8a778a 2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
8ab979d7 2255 return NULL;
1d99702e
RD
2256 if (_argo0) {
2257 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
8ab979d7
RD
2260 return NULL;
2261 }
2262 }
cf694132 2263{
474c48f9 2264 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2265 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
cf694132 2266
474c48f9 2267 wxPyEndAllowThreads(__tstate);
4dfaa61e 2268 if (PyErr_Occurred()) return NULL;
f6bcfd97 2269} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2270 return _resultobj;
2271}
2272
6e8a778a
RD
2273#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2274static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2275 PyObject * _resultobj;
6e8a778a 2276 long _result;
f6bcfd97 2277 wxListEvent * _arg0;
6e8a778a 2278 long _arg1;
1d99702e 2279 PyObject * _argo0 = 0;
6e8a778a 2280 char *_kwnames[] = { "self","m_itemIndex", NULL };
af309447
RD
2281
2282 self = self;
6e8a778a 2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
af309447 2284 return NULL;
1d99702e
RD
2285 if (_argo0) {
2286 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
af309447
RD
2289 return NULL;
2290 }
2291 }
cf694132 2292{
474c48f9 2293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2294 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
cf694132 2295
474c48f9 2296 wxPyEndAllowThreads(__tstate);
4dfaa61e 2297 if (PyErr_Occurred()) return NULL;
6e8a778a 2298} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2299 return _resultobj;
2300}
2301
6e8a778a
RD
2302#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2303static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2304 PyObject * _resultobj;
6e8a778a 2305 long _result;
f6bcfd97 2306 wxListEvent * _arg0;
1d99702e 2307 PyObject * _argo0 = 0;
efc5f224 2308 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2309
2310 self = self;
6e8a778a 2311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
8ab979d7 2312 return NULL;
1d99702e
RD
2313 if (_argo0) {
2314 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
8ab979d7
RD
2317 return NULL;
2318 }
2319 }
cf694132 2320{
474c48f9 2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2322 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132 2323
474c48f9 2324 wxPyEndAllowThreads(__tstate);
4dfaa61e 2325 if (PyErr_Occurred()) return NULL;
6e8a778a 2326} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2327 return _resultobj;
2328}
2329
6e8a778a
RD
2330#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2331static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2332 PyObject * _resultobj;
6e8a778a 2333 int _result;
f6bcfd97 2334 wxListEvent * _arg0;
6e8a778a 2335 int _arg1;
1d99702e 2336 PyObject * _argo0 = 0;
6e8a778a 2337 char *_kwnames[] = { "self","m_col", NULL };
af309447
RD
2338
2339 self = self;
6e8a778a 2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
af309447 2341 return NULL;
1d99702e
RD
2342 if (_argo0) {
2343 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
af309447
RD
2346 return NULL;
2347 }
2348 }
cf694132 2349{
474c48f9 2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2351 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
cf694132 2352
474c48f9 2353 wxPyEndAllowThreads(__tstate);
4dfaa61e 2354 if (PyErr_Occurred()) return NULL;
cf694132 2355} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2356 return _resultobj;
2357}
2358
6e8a778a
RD
2359#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2360static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2361 PyObject * _resultobj;
6e8a778a 2362 int _result;
f6bcfd97 2363 wxListEvent * _arg0;
1d99702e 2364 PyObject * _argo0 = 0;
efc5f224 2365 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2366
2367 self = self;
6e8a778a 2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
8ab979d7 2369 return NULL;
1d99702e
RD
2370 if (_argo0) {
2371 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
8ab979d7
RD
2374 return NULL;
2375 }
2376 }
cf694132 2377{
474c48f9 2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2379 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132 2380
474c48f9 2381 wxPyEndAllowThreads(__tstate);
4dfaa61e 2382 if (PyErr_Occurred()) return NULL;
cf694132 2383} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2384 return _resultobj;
2385}
2386
f6bcfd97
BP
2387#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2388static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2389 PyObject * _resultobj;
f6bcfd97
BP
2390 wxPoint * _result;
2391 wxListEvent * _arg0;
2392 wxPoint * _arg1;
2393 PyObject * _argo0 = 0;
2394 wxPoint temp;
2395 PyObject * _obj1 = 0;
2396 char *_kwnames[] = { "self","m_pointDrag", NULL };
8ab979d7
RD
2397 char _ptemp[128];
2398
2399 self = self;
f6bcfd97
BP
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
2401 return NULL;
2402 if (_argo0) {
2403 if (_argo0 == Py_None) { _arg0 = NULL; }
2404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2406 return NULL;
2407 }
2408 }
2409{
2410 _arg1 = &temp;
2411 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 2412 return NULL;
f6bcfd97 2413}
cf694132 2414{
474c48f9 2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2416 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
cf694132 2417
474c48f9 2418 wxPyEndAllowThreads(__tstate);
4dfaa61e 2419 if (PyErr_Occurred()) return NULL;
1d99702e 2420} if (_result) {
f6bcfd97 2421 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2422 _resultobj = Py_BuildValue("s",_ptemp);
2423 } else {
2424 Py_INCREF(Py_None);
2425 _resultobj = Py_None;
2426 }
8ab979d7
RD
2427 return _resultobj;
2428}
2429
f6bcfd97
BP
2430#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2431static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2432 PyObject * _resultobj;
f6bcfd97
BP
2433 wxPoint * _result;
2434 wxListEvent * _arg0;
1d99702e 2435 PyObject * _argo0 = 0;
efc5f224 2436 char *_kwnames[] = { "self", NULL };
f6bcfd97 2437 char _ptemp[128];
8ab979d7
RD
2438
2439 self = self;
f6bcfd97 2440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
8ab979d7 2441 return NULL;
1d99702e
RD
2442 if (_argo0) {
2443 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7
RD
2446 return NULL;
2447 }
2448 }
cf694132 2449{
474c48f9 2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2451 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132 2452
474c48f9 2453 wxPyEndAllowThreads(__tstate);
4dfaa61e 2454 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2455} if (_result) {
2456 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2457 _resultobj = Py_BuildValue("s",_ptemp);
2458 } else {
2459 Py_INCREF(Py_None);
2460 _resultobj = Py_None;
2461 }
8ab979d7
RD
2462 return _resultobj;
2463}
2464
f6bcfd97
BP
2465#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2466static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2467 PyObject * _resultobj;
2468 wxListItem * _result;
2469 wxListEvent * _arg0;
2470 wxListItem * _arg1;
2471 PyObject * _argo0 = 0;
2472 PyObject * _argo1 = 0;
2473 char *_kwnames[] = { "self","m_item", NULL };
8ab979d7 2474
f6bcfd97
BP
2475 self = self;
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
2477 return NULL;
2478 if (_argo0) {
2479 if (_argo0 == Py_None) { _arg0 = NULL; }
2480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2482 return NULL;
2483 }
2484 }
2485 if (_argo1) {
2486 if (_argo1 == Py_None) { _arg1 = NULL; }
2487 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2488 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2489 return NULL;
2490 }
2491 }
2492{
474c48f9 2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2494 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
f6bcfd97 2495
474c48f9 2496 wxPyEndAllowThreads(__tstate);
4dfaa61e 2497 if (PyErr_Occurred()) return NULL;
9df61a29 2498}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97 2499 return _resultobj;
8ab979d7
RD
2500}
2501
f6bcfd97
BP
2502#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2503static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2504 PyObject * _resultobj;
f6bcfd97 2505 wxListItem * _result;
af309447 2506 wxListEvent * _arg0;
1d99702e 2507 PyObject * _argo0 = 0;
f6bcfd97 2508 char *_kwnames[] = { "self", NULL };
af309447
RD
2509
2510 self = self;
f6bcfd97 2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2512 return NULL;
1d99702e
RD
2513 if (_argo0) {
2514 if (_argo0 == Py_None) { _arg0 = NULL; }
2515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2517 return NULL;
2518 }
2519 }
cf694132 2520{
474c48f9 2521 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2522 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132 2523
474c48f9 2524 wxPyEndAllowThreads(__tstate);
4dfaa61e 2525 if (PyErr_Occurred()) return NULL;
9df61a29 2526}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2527 return _resultobj;
2528}
2529
f6bcfd97
BP
2530#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2531static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2532 PyObject * _resultobj;
2533 int _result;
2534 wxListEvent * _arg0;
1d99702e 2535 PyObject * _argo0 = 0;
efc5f224 2536 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2537
2538 self = self;
f6bcfd97 2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
8ab979d7 2540 return NULL;
1d99702e
RD
2541 if (_argo0) {
2542 if (_argo0 == Py_None) { _arg0 = NULL; }
2543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
8ab979d7
RD
2545 return NULL;
2546 }
2547 }
cf694132 2548{
474c48f9 2549 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2550 _result = (int )wxListEvent_GetCode(_arg0);
cf694132 2551
474c48f9 2552 wxPyEndAllowThreads(__tstate);
4dfaa61e 2553 if (PyErr_Occurred()) return NULL;
cf694132 2554} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2555 return _resultobj;
2556}
2557
f6bcfd97
BP
2558#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2559static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2560 PyObject * _resultobj;
2561 long _result;
2562 wxListEvent * _arg0;
1d99702e 2563 PyObject * _argo0 = 0;
f6bcfd97 2564 char *_kwnames[] = { "self", NULL };
af309447
RD
2565
2566 self = self;
f6bcfd97 2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2568 return NULL;
1d99702e
RD
2569 if (_argo0) {
2570 if (_argo0 == Py_None) { _arg0 = NULL; }
2571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2573 return NULL;
2574 }
2575 }
cf694132 2576{
474c48f9 2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2578 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132 2579
474c48f9 2580 wxPyEndAllowThreads(__tstate);
4dfaa61e 2581 if (PyErr_Occurred()) return NULL;
cf694132 2582} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2583 return _resultobj;
2584}
2585
f6bcfd97
BP
2586#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2587static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2588 PyObject * _resultobj;
f6bcfd97 2589 int _result;
8ab979d7 2590 wxListEvent * _arg0;
1d99702e 2591 PyObject * _argo0 = 0;
efc5f224 2592 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2593
2594 self = self;
f6bcfd97 2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2596 return NULL;
1d99702e
RD
2597 if (_argo0) {
2598 if (_argo0 == Py_None) { _arg0 = NULL; }
2599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2601 return NULL;
2602 }
2603 }
cf694132 2604{
474c48f9 2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2606 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132 2607
474c48f9 2608 wxPyEndAllowThreads(__tstate);
4dfaa61e 2609 if (PyErr_Occurred()) return NULL;
f6bcfd97 2610} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2611 return _resultobj;
2612}
2613
f6bcfd97
BP
2614#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2615static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2616 PyObject * _resultobj;
f6bcfd97 2617 wxPoint * _result;
8ab979d7 2618 wxListEvent * _arg0;
1d99702e 2619 PyObject * _argo0 = 0;
efc5f224 2620 char *_kwnames[] = { "self", NULL };
f6bcfd97 2621 char _ptemp[128];
8ab979d7
RD
2622
2623 self = self;
f6bcfd97 2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2625 return NULL;
1d99702e
RD
2626 if (_argo0) {
2627 if (_argo0 == Py_None) { _arg0 = NULL; }
2628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2630 return NULL;
2631 }
2632 }
cf694132 2633{
474c48f9 2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2635 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132 2636
474c48f9 2637 wxPyEndAllowThreads(__tstate);
4dfaa61e 2638 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2639} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2640 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2641 return _resultobj;
2642}
2643
f6bcfd97
BP
2644#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2645static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2646 PyObject * _resultobj;
f6bcfd97 2647 wxString * _result;
af309447 2648 wxListEvent * _arg0;
1d99702e 2649 PyObject * _argo0 = 0;
f6bcfd97 2650 char *_kwnames[] = { "self", NULL };
af309447
RD
2651
2652 self = self;
f6bcfd97 2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2654 return NULL;
1d99702e
RD
2655 if (_argo0) {
2656 if (_argo0 == Py_None) { _arg0 = NULL; }
2657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2659 return NULL;
2660 }
2661 }
cf694132 2662{
474c48f9 2663 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2664 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
f6bcfd97 2665 _result = (wxString *) &_result_ref;
cf694132 2666
474c48f9 2667 wxPyEndAllowThreads(__tstate);
4dfaa61e 2668 if (PyErr_Occurred()) return NULL;
f6bcfd97 2669}{
c8bc7bb8
RD
2670#if wxUSE_UNICODE
2671 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2672#else
f6bcfd97 2673 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2674#endif
f6bcfd97 2675}
af309447
RD
2676 return _resultobj;
2677}
2678
f6bcfd97
BP
2679#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2680static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2681 PyObject * _resultobj;
f6bcfd97 2682 wxString * _result;
8ab979d7 2683 wxListEvent * _arg0;
1d99702e 2684 PyObject * _argo0 = 0;
efc5f224 2685 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2686
2687 self = self;
f6bcfd97 2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2689 return NULL;
1d99702e
RD
2690 if (_argo0) {
2691 if (_argo0 == Py_None) { _arg0 = NULL; }
2692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2694 return NULL;
2695 }
2696 }
cf694132 2697{
474c48f9 2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2699 const wxString & _result_ref = wxListEvent_GetText(_arg0);
f6bcfd97 2700 _result = (wxString *) &_result_ref;
cf694132 2701
474c48f9 2702 wxPyEndAllowThreads(__tstate);
4dfaa61e 2703 if (PyErr_Occurred()) return NULL;
f6bcfd97 2704}{
c8bc7bb8
RD
2705#if wxUSE_UNICODE
2706 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2707#else
f6bcfd97 2708 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2709#endif
f6bcfd97 2710}
8ab979d7
RD
2711 return _resultobj;
2712}
2713
f6bcfd97
BP
2714#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2715static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2716 PyObject * _resultobj;
f6bcfd97 2717 int _result;
af309447 2718 wxListEvent * _arg0;
1d99702e 2719 PyObject * _argo0 = 0;
f6bcfd97 2720 char *_kwnames[] = { "self", NULL };
af309447
RD
2721
2722 self = self;
f6bcfd97 2723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2724 return NULL;
1d99702e
RD
2725 if (_argo0) {
2726 if (_argo0 == Py_None) { _arg0 = NULL; }
2727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2729 return NULL;
2730 }
2731 }
cf694132 2732{
474c48f9 2733 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2734 _result = (int )wxListEvent_GetImage(_arg0);
cf694132 2735
474c48f9 2736 wxPyEndAllowThreads(__tstate);
4dfaa61e 2737 if (PyErr_Occurred()) return NULL;
f6bcfd97 2738} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2739 return _resultobj;
2740}
2741
f6bcfd97
BP
2742#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2743static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2744 PyObject * _resultobj;
f6bcfd97 2745 long _result;
8ab979d7 2746 wxListEvent * _arg0;
1d99702e 2747 PyObject * _argo0 = 0;
efc5f224 2748 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2749
2750 self = self;
f6bcfd97 2751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2752 return NULL;
1d99702e
RD
2753 if (_argo0) {
2754 if (_argo0 == Py_None) { _arg0 = NULL; }
2755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2757 return NULL;
2758 }
2759 }
cf694132 2760{
474c48f9 2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2762 _result = (long )wxListEvent_GetData(_arg0);
cf694132 2763
474c48f9 2764 wxPyEndAllowThreads(__tstate);
4dfaa61e 2765 if (PyErr_Occurred()) return NULL;
f6bcfd97 2766} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2767 return _resultobj;
2768}
2769
f6bcfd97
BP
2770#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2771static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2772 PyObject * _resultobj;
f6bcfd97 2773 long _result;
af309447 2774 wxListEvent * _arg0;
1d99702e 2775 PyObject * _argo0 = 0;
f6bcfd97 2776 char *_kwnames[] = { "self", NULL };
af309447
RD
2777
2778 self = self;
f6bcfd97 2779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2780 return NULL;
1d99702e
RD
2781 if (_argo0) {
2782 if (_argo0 == Py_None) { _arg0 = NULL; }
2783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2785 return NULL;
2786 }
2787 }
cf694132 2788{
474c48f9 2789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2790 _result = (long )wxListEvent_GetMask(_arg0);
cf694132 2791
474c48f9 2792 wxPyEndAllowThreads(__tstate);
4dfaa61e 2793 if (PyErr_Occurred()) return NULL;
f6bcfd97 2794} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2795 return _resultobj;
2796}
2797
f6bcfd97
BP
2798#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2799static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2800 PyObject * _resultobj;
2801 wxListItem * _result;
2802 wxListEvent * _arg0;
1d99702e 2803 PyObject * _argo0 = 0;
efc5f224 2804 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2805
2806 self = self;
f6bcfd97 2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2808 return NULL;
1d99702e
RD
2809 if (_argo0) {
2810 if (_argo0 == Py_None) { _arg0 = NULL; }
2811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2813 return NULL;
2814 }
2815 }
cf694132 2816{
474c48f9 2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2818 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
f6bcfd97 2819 _result = (wxListItem *) &_result_ref;
cf694132 2820
474c48f9 2821 wxPyEndAllowThreads(__tstate);
4dfaa61e 2822 if (PyErr_Occurred()) return NULL;
9df61a29 2823}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2824 return _resultobj;
2825}
2826
059a841c
RD
2827#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2828static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2829 PyObject * _resultobj;
2830 long _result;
2831 wxListEvent * _arg0;
2832 PyObject * _argo0 = 0;
2833 char *_kwnames[] = { "self", NULL };
2834
2835 self = self;
2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2837 return NULL;
2838 if (_argo0) {
2839 if (_argo0 == Py_None) { _arg0 = NULL; }
2840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2842 return NULL;
2843 }
2844 }
2845{
474c48f9 2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2847 _result = (long )wxListEvent_GetCacheFrom(_arg0);
059a841c 2848
474c48f9 2849 wxPyEndAllowThreads(__tstate);
059a841c
RD
2850 if (PyErr_Occurred()) return NULL;
2851} _resultobj = Py_BuildValue("l",_result);
2852 return _resultobj;
2853}
2854
2855#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2856static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject * _resultobj;
2858 long _result;
2859 wxListEvent * _arg0;
2860 PyObject * _argo0 = 0;
2861 char *_kwnames[] = { "self", NULL };
2862
2863 self = self;
2864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2865 return NULL;
2866 if (_argo0) {
2867 if (_argo0 == Py_None) { _arg0 = NULL; }
2868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2870 return NULL;
2871 }
2872 }
2873{
474c48f9 2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2875 _result = (long )wxListEvent_GetCacheTo(_arg0);
059a841c 2876
474c48f9 2877 wxPyEndAllowThreads(__tstate);
059a841c
RD
2878 if (PyErr_Occurred()) return NULL;
2879} _resultobj = Py_BuildValue("l",_result);
2880 return _resultobj;
2881}
2882
cd096152
RD
2883static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2884 wxPyListCtrl *src;
8ab979d7 2885 wxControl *dest;
cd096152 2886 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2887 dest = (wxControl *) src;
2888 return (void *) dest;
2889}
2890
cd096152
RD
2891static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2892 wxPyListCtrl *src;
8ab979d7 2893 wxWindow *dest;
cd096152 2894 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2895 dest = (wxWindow *) src;
2896 return (void *) dest;
2897}
2898
cd096152
RD
2899static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2900 wxPyListCtrl *src;
8ab979d7 2901 wxEvtHandler *dest;
cd096152 2902 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2903 dest = (wxEvtHandler *) src;
2904 return (void *) dest;
2905}
2906
cd096152
RD
2907static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2908 wxPyListCtrl *src;
9df61a29 2909 wxObject *dest;
cd096152 2910 src = (wxPyListCtrl *) ptr;
9df61a29
RD
2911 dest = (wxObject *) src;
2912 return (void *) dest;
2913}
2914
cd096152 2915#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2916static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2917 PyObject * _resultobj;
cd096152 2918 wxPyListCtrl * _result;
8ab979d7 2919 wxWindow * _arg0;
cd096152 2920 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
2921 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2922 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2c8a649d 2923 long _arg4 = (long ) (wxLC_ICON);
b68dc582 2924 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2925 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
1d99702e 2926 PyObject * _argo0 = 0;
2f90df85
RD
2927 wxPoint temp;
2928 PyObject * _obj2 = 0;
2929 wxSize temp0;
2930 PyObject * _obj3 = 0;
1d99702e 2931 PyObject * _argo5 = 0;
9a74fcaf 2932 PyObject * _obj6 = 0;
efc5f224 2933 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2934 char _ptemp[128];
2935
2936 self = self;
9a74fcaf 2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 2938 return NULL;
1d99702e
RD
2939 if (_argo0) {
2940 if (_argo0 == Py_None) { _arg0 = NULL; }
2941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2943 return NULL;
2944 }
2945 }
2f90df85
RD
2946 if (_obj2)
2947{
2948 _arg2 = &temp;
2949 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2950 return NULL;
2f90df85
RD
2951}
2952 if (_obj3)
2953{
2954 _arg3 = &temp0;
2955 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2956 return NULL;
2f90df85 2957}
1d99702e
RD
2958 if (_argo5) {
2959 if (_argo5 == Py_None) { _arg5 = NULL; }
2960 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
2961 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2962 return NULL;
2963 }
2964 }
9a74fcaf
RD
2965 if (_obj6)
2966{
2967 _arg6 = wxString_in_helper(_obj6);
2968 if (_arg6 == NULL)
2969 return NULL;
2970}
cf694132 2971{
474c48f9 2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2973 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 2974
474c48f9 2975 wxPyEndAllowThreads(__tstate);
4dfaa61e 2976 if (PyErr_Occurred()) return NULL;
1d99702e 2977} if (_result) {
cd096152 2978 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
2979 _resultobj = Py_BuildValue("s",_ptemp);
2980 } else {
2981 Py_INCREF(Py_None);
2982 _resultobj = Py_None;
2983 }
9a74fcaf
RD
2984{
2985 if (_obj6)
2986 delete _arg6;
2987}
8ab979d7
RD
2988 return _resultobj;
2989}
2990
aa2a5b86
RD
2991#define new_wxPreListCtrl() (new wxPyListCtrl())
2992static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2993 PyObject * _resultobj;
2994 wxPyListCtrl * _result;
2995 char *_kwnames[] = { NULL };
2996 char _ptemp[128];
2997
2998 self = self;
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
3000 return NULL;
3001{
474c48f9 3002 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3003 _result = (wxPyListCtrl *)new_wxPreListCtrl();
aa2a5b86 3004
474c48f9 3005 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3006 if (PyErr_Occurred()) return NULL;
3007} if (_result) {
3008 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
3009 _resultobj = Py_BuildValue("s",_ptemp);
3010 } else {
3011 Py_INCREF(Py_None);
3012 _resultobj = Py_None;
3013 }
3014 return _resultobj;
3015}
3016
3017#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3018static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3019 PyObject * _resultobj;
3020 bool _result;
3021 wxPyListCtrl * _arg0;
3022 wxWindow * _arg1;
3023 wxWindowID _arg2 = (wxWindowID ) -1;
3024 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3025 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3026 long _arg5 = (long ) (wxLC_ICON);
3027 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 3028 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
aa2a5b86
RD
3029 PyObject * _argo0 = 0;
3030 PyObject * _argo1 = 0;
3031 wxPoint temp;
3032 PyObject * _obj3 = 0;
3033 wxSize temp0;
3034 PyObject * _obj4 = 0;
3035 PyObject * _argo6 = 0;
9a74fcaf 3036 PyObject * _obj7 = 0;
aa2a5b86
RD
3037 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
3038
3039 self = self;
9a74fcaf 3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
aa2a5b86
RD
3041 return NULL;
3042 if (_argo0) {
3043 if (_argo0 == Py_None) { _arg0 = NULL; }
3044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3046 return NULL;
3047 }
3048 }
3049 if (_argo1) {
3050 if (_argo1 == Py_None) { _arg1 = NULL; }
3051 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3052 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3053 return NULL;
3054 }
3055 }
3056 if (_obj3)
3057{
3058 _arg3 = &temp;
3059 if (! wxPoint_helper(_obj3, &_arg3))
3060 return NULL;
3061}
3062 if (_obj4)
3063{
3064 _arg4 = &temp0;
3065 if (! wxSize_helper(_obj4, &_arg4))
3066 return NULL;
3067}
3068 if (_argo6) {
3069 if (_argo6 == Py_None) { _arg6 = NULL; }
3070 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3071 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3072 return NULL;
3073 }
3074 }
9a74fcaf
RD
3075 if (_obj7)
3076{
3077 _arg7 = wxString_in_helper(_obj7);
3078 if (_arg7 == NULL)
3079 return NULL;
3080}
aa2a5b86 3081{
474c48f9 3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 3083 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
aa2a5b86 3084
474c48f9 3085 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3086 if (PyErr_Occurred()) return NULL;
3087} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
3088{
3089 if (_obj7)
3090 delete _arg7;
3091}
aa2a5b86
RD
3092 return _resultobj;
3093}
3094
0220cbc1
RD
3095#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3096static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3097 PyObject * _resultobj;
cd096152
RD
3098 wxPyListCtrl * _arg0;
3099 PyObject * _arg1;
3100 PyObject * _arg2;
1d99702e 3101 PyObject * _argo0 = 0;
cd096152
RD
3102 PyObject * _obj1 = 0;
3103 PyObject * _obj2 = 0;
3104 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
3105
3106 self = self;
0220cbc1 3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3108 return NULL;
1d99702e
RD
3109 if (_argo0) {
3110 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152 3111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0220cbc1 3112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3113 return NULL;
3114 }
3115 }
cd096152
RD
3116{
3117 _arg1 = _obj1;
3118}
3119{
3120 _arg2 = _obj2;
3121}
cf694132 3122{
474c48f9 3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3124 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132 3125
474c48f9 3126 wxPyEndAllowThreads(__tstate);
4dfaa61e 3127 if (PyErr_Occurred()) return NULL;
cd096152
RD
3128} Py_INCREF(Py_None);
3129 _resultobj = Py_None;
8ab979d7
RD
3130 return _resultobj;
3131}
3132
cd096152
RD
3133#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3134static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9c4165ad 3135 PyObject * _resultobj;
cd096152
RD
3136 bool _result;
3137 wxPyListCtrl * _arg0;
3138 wxColour * _arg1;
9c4165ad 3139 PyObject * _argo0 = 0;
cd096152
RD
3140 wxColour temp;
3141 PyObject * _obj1 = 0;
3142 char *_kwnames[] = { "self","col", NULL };
9c4165ad
RD
3143
3144 self = self;
cd096152 3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
9c4165ad
RD
3146 return NULL;
3147 if (_argo0) {
3148 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
9c4165ad
RD
3151 return NULL;
3152 }
3153 }
cd096152
RD
3154{
3155 _arg1 = &temp;
3156 if (! wxColour_helper(_obj1, &_arg1))
3157 return NULL;
3158}
3159{
474c48f9 3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3161 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
cd096152 3162
474c48f9 3163 wxPyEndAllowThreads(__tstate);
cd096152
RD
3164 if (PyErr_Occurred()) return NULL;
3165} _resultobj = Py_BuildValue("i",_result);
3166 return _resultobj;
3167}
3168
3169#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3170static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject * _resultobj;
3172 bool _result;
3173 wxPyListCtrl * _arg0;
3174 wxColour * _arg1;
3175 PyObject * _argo0 = 0;
3176 wxColour temp;
3177 PyObject * _obj1 = 0;
3178 char *_kwnames[] = { "self","col", NULL };
3179
3180 self = self;
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3182 return NULL;
3183 if (_argo0) {
3184 if (_argo0 == Py_None) { _arg0 = NULL; }
3185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
9c4165ad
RD
3187 return NULL;
3188 }
3189 }
cd096152
RD
3190{
3191 _arg1 = &temp;
3192 if (! wxColour_helper(_obj1, &_arg1))
3193 return NULL;
3194}
9c4165ad 3195{
474c48f9 3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3197 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
9c4165ad 3198
474c48f9 3199 wxPyEndAllowThreads(__tstate);
4dfaa61e 3200 if (PyErr_Occurred()) return NULL;
cd096152 3201} _resultobj = Py_BuildValue("i",_result);
9c4165ad
RD
3202 return _resultobj;
3203}
3204
94082a71
RD
3205static wxListItem * wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col) {
3206 wxListItem item;
3207 if (self->GetColumn(col, item))
3208 return new wxListItem(item);
3209 else
3210 return NULL;
3211 }
cd096152 3212static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3213 PyObject * _resultobj;
94082a71 3214 wxListItem * _result;
cd096152
RD
3215 wxPyListCtrl * _arg0;
3216 int _arg1;
1d99702e 3217 PyObject * _argo0 = 0;
94082a71 3218 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3219
3220 self = self;
94082a71 3221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 3222 return NULL;
1d99702e
RD
3223 if (_argo0) {
3224 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3227 return NULL;
3228 }
3229 }
cf694132 3230{
474c48f9 3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3232 _result = (wxListItem *)wxPyListCtrl_GetColumn(_arg0,_arg1);
cf694132 3233
474c48f9 3234 wxPyEndAllowThreads(__tstate);
4dfaa61e 3235 if (PyErr_Occurred()) return NULL;
94082a71 3236}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3237 return _resultobj;
3238}
3239
cd096152
RD
3240#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3241static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3242 PyObject * _resultobj;
3243 bool _result;
cd096152
RD
3244 wxPyListCtrl * _arg0;
3245 int _arg1;
3246 wxListItem * _arg2;
1d99702e 3247 PyObject * _argo0 = 0;
cd096152
RD
3248 PyObject * _argo2 = 0;
3249 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3250
3251 self = self;
cd096152 3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3253 return NULL;
1d99702e
RD
3254 if (_argo0) {
3255 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3258 return NULL;
3259 }
3260 }
3261 if (_argo2) {
3262 if (_argo2 == Py_None) { _arg2 = NULL; }
3263 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3264 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3265 return NULL;
3266 }
3267 }
cf694132 3268{
474c48f9 3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3270 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132 3271
474c48f9 3272 wxPyEndAllowThreads(__tstate);
4dfaa61e 3273 if (PyErr_Occurred()) return NULL;
cf694132 3274} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3275 return _resultobj;
3276}
3277
cd096152
RD
3278#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3279static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3280 PyObject * _resultobj;
cd096152
RD
3281 int _result;
3282 wxPyListCtrl * _arg0;
8ab979d7 3283 int _arg1;
1d99702e 3284 PyObject * _argo0 = 0;
efc5f224 3285 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3286
3287 self = self;
cd096152 3288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3289 return NULL;
1d99702e
RD
3290 if (_argo0) {
3291 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3294 return NULL;
3295 }
3296 }
cf694132 3297{
474c48f9 3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3299 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132 3300
474c48f9 3301 wxPyEndAllowThreads(__tstate);
4dfaa61e 3302 if (PyErr_Occurred()) return NULL;
cf694132 3303} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3304 return _resultobj;
3305}
3306
cd096152
RD
3307#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3308static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3309 PyObject * _resultobj;
3310 bool _result;
cd096152
RD
3311 wxPyListCtrl * _arg0;
3312 int _arg1;
3313 int _arg2;
1d99702e 3314 PyObject * _argo0 = 0;
cd096152 3315 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3316
3317 self = self;
cd096152 3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3319 return NULL;
1d99702e
RD
3320 if (_argo0) {
3321 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3324 return NULL;
3325 }
3326 }
cf694132 3327{
474c48f9 3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3329 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132 3330
474c48f9 3331 wxPyEndAllowThreads(__tstate);
4dfaa61e 3332 if (PyErr_Occurred()) return NULL;
cf694132 3333} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3334 return _resultobj;
3335}
3336
cd096152
RD
3337#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3338static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3339 PyObject * _resultobj;
cd096152
RD
3340 int _result;
3341 wxPyListCtrl * _arg0;
1d99702e 3342 PyObject * _argo0 = 0;
efc5f224 3343 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3344
3345 self = self;
cd096152 3346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3347 return NULL;
1d99702e
RD
3348 if (_argo0) {
3349 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3352 return NULL;
3353 }
3354 }
cf694132 3355{
474c48f9 3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3357 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132 3358
474c48f9 3359 wxPyEndAllowThreads(__tstate);
4dfaa61e 3360 if (PyErr_Occurred()) return NULL;
cd096152 3361} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3362 return _resultobj;
3363}
3364
cd096152
RD
3365static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3366 wxListItem* info = new wxListItem;
3367 info->m_itemId = itemId;
3368 info->m_col = col;
3369 info->m_mask = 0xFFFF;
3370 self->GetItem(*info);
3371 return info;
3372 }
3373static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3374 PyObject * _resultobj;
cd096152
RD
3375 wxListItem * _result;
3376 wxPyListCtrl * _arg0;
8ab979d7 3377 long _arg1;
cd096152 3378 int _arg2 = (int ) 0;
1d99702e 3379 PyObject * _argo0 = 0;
cd096152 3380 char *_kwnames[] = { "self","itemId","col", NULL };
8ab979d7
RD
3381
3382 self = self;
cd096152 3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3384 return NULL;
1d99702e
RD
3385 if (_argo0) {
3386 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3389 return NULL;
3390 }
3391 }
cf694132 3392{
474c48f9 3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3394 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132 3395
474c48f9 3396 wxPyEndAllowThreads(__tstate);
4dfaa61e 3397 if (PyErr_Occurred()) return NULL;
cd096152 3398}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3399 return _resultobj;
3400}
3401
cd096152
RD
3402#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3403static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3404 PyObject * _resultobj;
3405 bool _result;
cd096152
RD
3406 wxPyListCtrl * _arg0;
3407 wxListItem * _arg1;
1d99702e 3408 PyObject * _argo0 = 0;
cd096152
RD
3409 PyObject * _argo1 = 0;
3410 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3411
3412 self = self;
cd096152 3413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3414 return NULL;
1d99702e
RD
3415 if (_argo0) {
3416 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3419 return NULL;
3420 }
3421 }
3422 if (_argo1) {
3423 if (_argo1 == Py_None) { _arg1 = NULL; }
3424 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3426 return NULL;
3427 }
3428 }
cf694132 3429{
474c48f9 3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3431 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132 3432
474c48f9 3433 wxPyEndAllowThreads(__tstate);
4dfaa61e 3434 if (PyErr_Occurred()) return NULL;
cf694132 3435} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3436 return _resultobj;
3437}
3438
cd096152
RD
3439#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3440static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3441 PyObject * _resultobj;
3442 long _result;
cd096152 3443 wxPyListCtrl * _arg0;
8ab979d7 3444 long _arg1;
cd096152
RD
3445 int _arg2;
3446 wxString * _arg3;
3447 int _arg4 = (int ) -1;
1d99702e 3448 PyObject * _argo0 = 0;
cd096152
RD
3449 PyObject * _obj3 = 0;
3450 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3451
3452 self = self;
cd096152 3453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3454 return NULL;
1d99702e
RD
3455 if (_argo0) {
3456 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3459 return NULL;
3460 }
3461 }
3462{
c8bc7bb8
RD
3463 _arg3 = wxString_in_helper(_obj3);
3464 if (_arg3 == NULL)
2cd2fac8 3465 return NULL;
8ab979d7 3466}
cf694132 3467{
474c48f9 3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3469 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 3470
474c48f9 3471 wxPyEndAllowThreads(__tstate);
4dfaa61e 3472 if (PyErr_Occurred()) return NULL;
cf694132 3473} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3474{
cd096152
RD
3475 if (_obj3)
3476 delete _arg3;
8ab979d7
RD
3477}
3478 return _resultobj;
3479}
3480
cd096152
RD
3481#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3482static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3483 PyObject * _resultobj;
cd096152
RD
3484 int _result;
3485 wxPyListCtrl * _arg0;
8ab979d7
RD
3486 long _arg1;
3487 long _arg2;
1d99702e 3488 PyObject * _argo0 = 0;
cd096152 3489 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3490
3491 self = self;
cd096152 3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3493 return NULL;
1d99702e
RD
3494 if (_argo0) {
3495 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3498 return NULL;
3499 }
3500 }
cf694132 3501{
474c48f9 3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3503 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132 3504
474c48f9 3505 wxPyEndAllowThreads(__tstate);
4dfaa61e 3506 if (PyErr_Occurred()) return NULL;
cd096152 3507} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3508 return _resultobj;
3509}
3510
cd096152
RD
3511#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3512static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3513 PyObject * _resultobj;
cd096152
RD
3514 bool _result;
3515 wxPyListCtrl * _arg0;
8ab979d7 3516 long _arg1;
cd096152
RD
3517 long _arg2;
3518 long _arg3;
1d99702e 3519 PyObject * _argo0 = 0;
cd096152 3520 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3521
3522 self = self;
cd096152 3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3524 return NULL;
1d99702e
RD
3525 if (_argo0) {
3526 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3529 return NULL;
3530 }
3531 }
cf694132 3532{
474c48f9 3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3534 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132 3535
474c48f9 3536 wxPyEndAllowThreads(__tstate);
4dfaa61e 3537 if (PyErr_Occurred()) return NULL;
cd096152 3538} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3539 return _resultobj;
3540}
3541
cd096152
RD
3542#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3543static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3544 PyObject * _resultobj;
3545 bool _result;
cd096152
RD
3546 wxPyListCtrl * _arg0;
3547 long _arg1;
3548 int _arg2;
3549 int _arg3;
1d99702e 3550 PyObject * _argo0 = 0;
cd096152 3551 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3552
3553 self = self;
cd096152 3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3555 return NULL;
1d99702e
RD
3556 if (_argo0) {
3557 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3560 return NULL;
3561 }
3562 }
cf694132 3563{
474c48f9 3564 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3565 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132 3566
474c48f9 3567 wxPyEndAllowThreads(__tstate);
4dfaa61e 3568 if (PyErr_Occurred()) return NULL;
cf694132 3569} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3570 return _resultobj;
3571}
3572
cd096152
RD
3573#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3574static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3575 PyObject * _resultobj;
cd096152
RD
3576 wxString * _result;
3577 wxPyListCtrl * _arg0;
3578 long _arg1;
1d99702e 3579 PyObject * _argo0 = 0;
cd096152 3580 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3581
3582 self = self;
cd096152 3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3584 return NULL;
1d99702e
RD
3585 if (_argo0) {
3586 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3589 return NULL;
3590 }
3591 }
cf694132 3592{
474c48f9 3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3594 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132 3595
474c48f9 3596 wxPyEndAllowThreads(__tstate);
4dfaa61e 3597 if (PyErr_Occurred()) return NULL;
cd096152 3598}{
c8bc7bb8
RD
3599#if wxUSE_UNICODE
3600 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3601#else
cd096152 3602 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3603#endif
cd096152
RD
3604}
3605{
3606 delete _result;
3607}
8ab979d7
RD
3608 return _resultobj;
3609}
3610
cd096152
RD
3611#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3612static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3613 PyObject * _resultobj;
cd096152
RD
3614 wxPyListCtrl * _arg0;
3615 long _arg1;
3616 wxString * _arg2;
1d99702e 3617 PyObject * _argo0 = 0;
cd096152
RD
3618 PyObject * _obj2 = 0;
3619 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3620
3621 self = self;
cd096152 3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3623 return NULL;
1d99702e
RD
3624 if (_argo0) {
3625 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3628 return NULL;
3629 }
3630 }
cf694132 3631{
c8bc7bb8
RD
3632 _arg2 = wxString_in_helper(_obj2);
3633 if (_arg2 == NULL)
8ab979d7 3634 return NULL;
cd096152 3635}
cf694132 3636{
474c48f9 3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3638 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132 3639
474c48f9 3640 wxPyEndAllowThreads(__tstate);
4dfaa61e 3641 if (PyErr_Occurred()) return NULL;
cd096152
RD
3642} Py_INCREF(Py_None);
3643 _resultobj = Py_None;
3644{
3645 if (_obj2)
3646 delete _arg2;
3647}
8ab979d7
RD
3648 return _resultobj;
3649}
3650
3651#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3652static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3653 PyObject * _resultobj;
3654 long _result;
cd096152 3655 wxPyListCtrl * _arg0;
8ab979d7 3656 long _arg1;
1d99702e 3657 PyObject * _argo0 = 0;
efc5f224 3658 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3659
3660 self = self;
efc5f224 3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3662 return NULL;
1d99702e
RD
3663 if (_argo0) {
3664 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3667 return NULL;
3668 }
3669 }
cf694132 3670{
474c48f9 3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3672 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
cf694132 3673
474c48f9 3674 wxPyEndAllowThreads(__tstate);
4dfaa61e 3675 if (PyErr_Occurred()) return NULL;
cf694132 3676} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3677 return _resultobj;
3678}
3679
cd096152
RD
3680#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3681static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3682 PyObject * _resultobj;
cd096152
RD
3683 bool _result;
3684 wxPyListCtrl * _arg0;
0699c864 3685 long _arg1;
cd096152 3686 long _arg2;
1d99702e 3687 PyObject * _argo0 = 0;
cd096152 3688 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3689
3690 self = self;
cd096152 3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3692 return NULL;
1d99702e
RD
3693 if (_argo0) {
3694 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3697 return NULL;
3698 }
3699 }
cf694132 3700{
474c48f9 3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3702 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132 3703
474c48f9 3704 wxPyEndAllowThreads(__tstate);
4dfaa61e 3705 if (PyErr_Occurred()) return NULL;
cd096152 3706} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3707 return _resultobj;
3708}
3709
cd096152 3710static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3711 wxPoint* pos = new wxPoint;
3712 self->GetItemPosition(item, *pos);
3713 return pos;
3714 }
efc5f224 3715static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3716 PyObject * _resultobj;
3717 wxPoint * _result;
cd096152 3718 wxPyListCtrl * _arg0;
8ab979d7 3719 long _arg1;
1d99702e 3720 PyObject * _argo0 = 0;
efc5f224 3721 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3722 char _ptemp[128];
3723
3724 self = self;
efc5f224 3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3726 return NULL;
1d99702e
RD
3727 if (_argo0) {
3728 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3731 return NULL;
3732 }
3733 }
cf694132 3734{
474c48f9 3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3736 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132 3737
474c48f9 3738 wxPyEndAllowThreads(__tstate);
4dfaa61e 3739 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3740} if (_result) {
3741 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3742 _resultobj = Py_BuildValue("s",_ptemp);
3743 } else {
3744 Py_INCREF(Py_None);
3745 _resultobj = Py_None;
3746 }
8ab979d7
RD
3747 return _resultobj;
3748}
3749
cd096152 3750static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3751 wxRect* rect= new wxRect;
3752 self->GetItemRect(item, *rect, code);
3753 return rect;
3754 }
efc5f224 3755static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3756 PyObject * _resultobj;
3757 wxRect * _result;
cd096152 3758 wxPyListCtrl * _arg0;
8ab979d7 3759 long _arg1;
1d99702e
RD
3760 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3761 PyObject * _argo0 = 0;
efc5f224 3762 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3763 char _ptemp[128];
3764
3765 self = self;
efc5f224 3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3767 return NULL;
1d99702e
RD
3768 if (_argo0) {
3769 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3772 return NULL;
3773 }
3774 }
cf694132 3775{
474c48f9 3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3777 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132 3778
474c48f9 3779 wxPyEndAllowThreads(__tstate);
4dfaa61e 3780 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3781} if (_result) {
3782 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3783 _resultobj = Py_BuildValue("s",_ptemp);
3784 } else {
3785 Py_INCREF(Py_None);
3786 _resultobj = Py_None;
3787 }
8ab979d7
RD
3788 return _resultobj;
3789}
3790
cd096152
RD
3791#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3792static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3793 PyObject * _resultobj;
cd096152
RD
3794 bool _result;
3795 wxPyListCtrl * _arg0;
8ab979d7 3796 long _arg1;
cd096152 3797 wxPoint * _arg2;
1d99702e 3798 PyObject * _argo0 = 0;
cd096152
RD
3799 wxPoint temp;
3800 PyObject * _obj2 = 0;
3801 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3802
3803 self = self;
cd096152 3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3805 return NULL;
1d99702e
RD
3806 if (_argo0) {
3807 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3810 return NULL;
3811 }
3812 }
cd096152
RD
3813{
3814 _arg2 = &temp;
3815 if (! wxPoint_helper(_obj2, &_arg2))
3816 return NULL;
3817}
cf694132 3818{
474c48f9 3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3820 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132 3821
474c48f9 3822 wxPyEndAllowThreads(__tstate);
4dfaa61e 3823 if (PyErr_Occurred()) return NULL;
cf694132 3824} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3825 return _resultobj;
3826}
3827
3828#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3829static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3830 PyObject * _resultobj;
3831 int _result;
cd096152 3832 wxPyListCtrl * _arg0;
1d99702e 3833 PyObject * _argo0 = 0;
efc5f224 3834 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3835
3836 self = self;
efc5f224 3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3838 return NULL;
1d99702e
RD
3839 if (_argo0) {
3840 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3843 return NULL;
3844 }
3845 }
cf694132 3846{
474c48f9 3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3848 _result = (int )wxListCtrl_GetItemCount(_arg0);
cf694132 3849
474c48f9 3850 wxPyEndAllowThreads(__tstate);
4dfaa61e 3851 if (PyErr_Occurred()) return NULL;
cf694132 3852} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3853 return _resultobj;
3854}
3855
cd096152
RD
3856#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3857static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject * _resultobj;
3859 int _result;
3860 wxPyListCtrl * _arg0;
3861 PyObject * _argo0 = 0;
3862 char *_kwnames[] = { "self", NULL };
3863
3864 self = self;
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
3866 return NULL;
3867 if (_argo0) {
3868 if (_argo0 == Py_None) { _arg0 = NULL; }
3869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3871 return NULL;
3872 }
3873 }
3874{
474c48f9 3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3876 _result = (int )wxListCtrl_GetColumnCount(_arg0);
cd096152 3877
474c48f9 3878 wxPyEndAllowThreads(__tstate);
cd096152
RD
3879 if (PyErr_Occurred()) return NULL;
3880} _resultobj = Py_BuildValue("i",_result);
3881 return _resultobj;
3882}
3883
8ab979d7 3884#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
efc5f224 3885static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3886 PyObject * _resultobj;
3887 int _result;
cd096152 3888 wxPyListCtrl * _arg0;
8ab979d7 3889 bool _arg1;
1d99702e 3890 PyObject * _argo0 = 0;
8ab979d7 3891 int tempbool1;
efc5f224 3892 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3893
3894 self = self;
efc5f224 3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3896 return NULL;
1d99702e
RD
3897 if (_argo0) {
3898 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3901 return NULL;
3902 }
3903 }
3904 _arg1 = (bool ) tempbool1;
cf694132 3905{
474c48f9 3906 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3907 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
cf694132 3908
474c48f9 3909 wxPyEndAllowThreads(__tstate);
4dfaa61e 3910 if (PyErr_Occurred()) return NULL;
cf694132 3911} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3912 return _resultobj;
3913}
3914
cd096152
RD
3915#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3916static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3917 PyObject * _resultobj;
cd096152
RD
3918 int _result;
3919 wxPyListCtrl * _arg0;
1d99702e 3920 PyObject * _argo0 = 0;
cd096152 3921 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3922
3923 self = self;
cd096152 3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3925 return NULL;
1d99702e
RD
3926 if (_argo0) {
3927 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3930 return NULL;
3931 }
3932 }
8ab979d7 3933{
474c48f9 3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3935 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
cf694132 3936
474c48f9 3937 wxPyEndAllowThreads(__tstate);
4dfaa61e 3938 if (PyErr_Occurred()) return NULL;
cd096152 3939} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3940 return _resultobj;
3941}
3942
cd096152
RD
3943#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3944static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3945 PyObject * _resultobj;
cd096152
RD
3946 wxColour * _result;
3947 wxPyListCtrl * _arg0;
1d99702e 3948 PyObject * _argo0 = 0;
cd096152
RD
3949 char *_kwnames[] = { "self", NULL };
3950 char _ptemp[128];
8ab979d7
RD
3951
3952 self = self;
cd096152 3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 3954 return NULL;
1d99702e
RD
3955 if (_argo0) {
3956 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3959 return NULL;
3960 }
3961 }
cf694132 3962{
474c48f9 3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3964 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
cf694132 3965
474c48f9 3966 wxPyEndAllowThreads(__tstate);
4dfaa61e 3967 if (PyErr_Occurred()) return NULL;
cd096152
RD
3968} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3969 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
3970 return _resultobj;
3971}
3972
cd096152
RD
3973#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3974static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3975 PyObject * _resultobj;
cd096152
RD
3976 wxPyListCtrl * _arg0;
3977 wxColour * _arg1;
1d99702e 3978 PyObject * _argo0 = 0;
cd096152
RD
3979 wxColour temp;
3980 PyObject * _obj1 = 0;
3981 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3982
3983 self = self;
cd096152 3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 3985 return NULL;
1d99702e
RD
3986 if (_argo0) {
3987 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3990 return NULL;
3991 }
3992 }
cd096152
RD
3993{
3994 _arg1 = &temp;
3995 if (! wxColour_helper(_obj1, &_arg1))
3996 return NULL;
3997}
cf694132 3998{
474c48f9 3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4000 wxListCtrl_SetTextColour(_arg0,*_arg1);
cf694132 4001
474c48f9 4002 wxPyEndAllowThreads(__tstate);
4dfaa61e 4003 if (PyErr_Occurred()) return NULL;
cd096152
RD
4004} Py_INCREF(Py_None);
4005 _resultobj = Py_None;
8ab979d7
RD
4006 return _resultobj;
4007}
4008
8ab979d7 4009#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 4010static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4011 PyObject * _resultobj;
4012 long _result;
cd096152 4013 wxPyListCtrl * _arg0;
1d99702e 4014 PyObject * _argo0 = 0;
efc5f224 4015 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4016
4017 self = self;
efc5f224 4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 4019 return NULL;
1d99702e
RD
4020 if (_argo0) {
4021 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4024 return NULL;
4025 }
4026 }
cf694132 4027{
474c48f9 4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4029 _result = (long )wxListCtrl_GetTopItem(_arg0);
cf694132 4030
474c48f9 4031 wxPyEndAllowThreads(__tstate);
4dfaa61e 4032 if (PyErr_Occurred()) return NULL;
cf694132 4033} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4034 return _resultobj;
4035}
4036
cd096152
RD
4037#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4038static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject * _resultobj;
4040 wxPyListCtrl * _arg0;
4041 long _arg1;
4042 bool _arg2 = (bool ) TRUE;
1d99702e 4043 PyObject * _argo0 = 0;
cd096152
RD
4044 int tempbool2 = (int) TRUE;
4045 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
4046
4047 self = self;
cd096152
RD
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
4049 return NULL;
4050 if (_argo0) {
4051 if (_argo0 == Py_None) { _arg0 = NULL; }
4052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4054 return NULL;
4055 }
4056 }
4057 _arg2 = (bool ) tempbool2;
8ab979d7 4058{
474c48f9 4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4060 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
cd096152 4061
474c48f9 4062 wxPyEndAllowThreads(__tstate);
cd096152
RD
4063 if (PyErr_Occurred()) return NULL;
4064} Py_INCREF(Py_None);
4065 _resultobj = Py_None;
4066 return _resultobj;
8ab979d7 4067}
cd096152
RD
4068
4069#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4070static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject * _resultobj;
4072 wxPyListCtrl * _arg0;
4073 long _arg1;
4074 PyObject * _argo0 = 0;
4075 char *_kwnames[] = { "self","style", NULL };
4076
4077 self = self;
4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 4079 return NULL;
1d99702e
RD
4080 if (_argo0) {
4081 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4084 return NULL;
4085 }
4086 }
2f90df85 4087{
474c48f9 4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4089 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
cd096152 4090
474c48f9 4091 wxPyEndAllowThreads(__tstate);
cd096152
RD
4092 if (PyErr_Occurred()) return NULL;
4093} Py_INCREF(Py_None);
4094 _resultobj = Py_None;
4095 return _resultobj;
2f90df85 4096}
cd096152
RD
4097
4098#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4099static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4100 PyObject * _resultobj;
4101 long _result;
4102 wxPyListCtrl * _arg0;
4103 long _arg1;
4104 int _arg2 = (int ) (wxLIST_NEXT_ALL);
4105 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
4106 PyObject * _argo0 = 0;
4107 char *_kwnames[] = { "self","item","geometry","state", NULL };
4108
4109 self = self;
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4111 return NULL;
4112 if (_argo0) {
4113 if (_argo0 == Py_None) { _arg0 = NULL; }
4114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4116 return NULL;
4117 }
4118 }
cf694132 4119{
474c48f9 4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4121 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
cf694132 4122
474c48f9 4123 wxPyEndAllowThreads(__tstate);
4dfaa61e 4124 if (PyErr_Occurred()) return NULL;
cf694132 4125} _resultobj = Py_BuildValue("l",_result);
cd096152 4126 return _resultobj;
8ab979d7 4127}
cd096152
RD
4128
4129#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4130static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4131 PyObject * _resultobj;
4132 wxImageList * _result;
4133 wxPyListCtrl * _arg0;
4134 int _arg1;
4135 PyObject * _argo0 = 0;
4136 char *_kwnames[] = { "self","which", NULL };
4137
4138 self = self;
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
4140 return NULL;
4141 if (_argo0) {
4142 if (_argo0 == Py_None) { _arg0 = NULL; }
4143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4145 return NULL;
4146 }
4147 }
4148{
474c48f9 4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4150 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
cd096152 4151
474c48f9 4152 wxPyEndAllowThreads(__tstate);
cd096152
RD
4153 if (PyErr_Occurred()) return NULL;
4154}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
4155 return _resultobj;
4156}
4157
cd096152
RD
4158#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4159static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4160 PyObject * _resultobj;
cd096152
RD
4161 wxPyListCtrl * _arg0;
4162 wxImageList * _arg1;
4163 int _arg2;
1d99702e 4164 PyObject * _argo0 = 0;
cd096152
RD
4165 PyObject * _argo1 = 0;
4166 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4167
4168 self = self;
cd096152 4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4170 return NULL;
1d99702e
RD
4171 if (_argo0) {
4172 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4175 return NULL;
4176 }
4177 }
cd096152
RD
4178 if (_argo1) {
4179 if (_argo1 == Py_None) { _arg1 = NULL; }
4180 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4181 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
4182 return NULL;
4183 }
4184 }
cf694132 4185{
474c48f9 4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4187 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132 4188
474c48f9 4189 wxPyEndAllowThreads(__tstate);
4dfaa61e 4190 if (PyErr_Occurred()) return NULL;
cd096152
RD
4191} Py_INCREF(Py_None);
4192 _resultobj = Py_None;
8ab979d7
RD
4193 return _resultobj;
4194}
4195
cd096152
RD
4196#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4197static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4198 PyObject * _resultobj;
cd096152
RD
4199 wxPyListCtrl * _arg0;
4200 wxImageList * _arg1;
4201 int _arg2;
1d99702e 4202 PyObject * _argo0 = 0;
cd096152
RD
4203 PyObject * _argo1 = 0;
4204 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4205
4206 self = self;
cd096152 4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4208 return NULL;
1d99702e
RD
4209 if (_argo0) {
4210 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4213 return NULL;
4214 }
4215 }
cd096152
RD
4216 if (_argo1) {
4217 if (_argo1 == Py_None) { _arg1 = NULL; }
4218 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4219 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2cd2fac8 4220 return NULL;
cd096152 4221 }
2cd2fac8 4222 }
cd096152 4223{
474c48f9 4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4225 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
cd096152 4226
474c48f9 4227 wxPyEndAllowThreads(__tstate);
cd096152
RD
4228 if (PyErr_Occurred()) return NULL;
4229} Py_INCREF(Py_None);
4230 _resultobj = Py_None;
4231 return _resultobj;
4232}
4233
4234#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4235static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject * _resultobj;
4237 bool _result;
4238 wxPyListCtrl * _arg0;
4239 PyObject * _argo0 = 0;
4240 char *_kwnames[] = { "self", NULL };
4241
4242 self = self;
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
2cd2fac8 4244 return NULL;
cd096152
RD
4245 if (_argo0) {
4246 if (_argo0 == Py_None) { _arg0 = NULL; }
4247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7 4249 return NULL;
cd096152 4250 }
8ab979d7 4251 }
cf694132 4252{
474c48f9 4253 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4254 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132 4255
474c48f9 4256 wxPyEndAllowThreads(__tstate);
4dfaa61e 4257 if (PyErr_Occurred()) return NULL;
cd096152
RD
4258} _resultobj = Py_BuildValue("i",_result);
4259 return _resultobj;
8ab979d7 4260}
cd096152
RD
4261
4262#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4263static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4264 PyObject * _resultobj;
4265 wxPyListCtrl * _arg0;
4266 long _arg1;
4267 PyObject * _argo0 = 0;
4268 char *_kwnames[] = { "self","item", NULL };
4269
4270 self = self;
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
4272 return NULL;
4273 if (_argo0) {
4274 if (_argo0 == Py_None) { _arg0 = NULL; }
4275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4277 return NULL;
4278 }
4279 }
4280{
474c48f9 4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4282 wxListCtrl_RefreshItem(_arg0,_arg1);
cd096152 4283
474c48f9 4284 wxPyEndAllowThreads(__tstate);
cd096152
RD
4285 if (PyErr_Occurred()) return NULL;
4286} Py_INCREF(Py_None);
4287 _resultobj = Py_None;
8ab979d7
RD
4288 return _resultobj;
4289}
4290
cd096152
RD
4291#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4292static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4293 PyObject * _resultobj;
cd096152
RD
4294 wxPyListCtrl * _arg0;
4295 long _arg1;
4296 long _arg2;
1d99702e 4297 PyObject * _argo0 = 0;
cd096152 4298 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4299
4300 self = self;
cd096152 4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4302 return NULL;
1d99702e
RD
4303 if (_argo0) {
4304 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4307 return NULL;
4308 }
4309 }
cd096152 4310{
474c48f9 4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4312 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
cd096152 4313
474c48f9 4314 wxPyEndAllowThreads(__tstate);
cd096152
RD
4315 if (PyErr_Occurred()) return NULL;
4316} Py_INCREF(Py_None);
4317 _resultobj = Py_None;
4318 return _resultobj;
4319}
4320
4321#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4322static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject * _resultobj;
4324 bool _result;
4325 wxPyListCtrl * _arg0;
4326 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
4327 PyObject * _argo0 = 0;
4328 char *_kwnames[] = { "self","flag", NULL };
4329
4330 self = self;
4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
4332 return NULL;
4333 if (_argo0) {
4334 if (_argo0 == Py_None) { _arg0 = NULL; }
4335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4337 return NULL;
4338 }
4339 }
cf694132 4340{
474c48f9 4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4342 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132 4343
474c48f9 4344 wxPyEndAllowThreads(__tstate);
4dfaa61e 4345 if (PyErr_Occurred()) return NULL;
cd096152 4346} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4347 return _resultobj;
4348}
4349
cd096152
RD
4350#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4351static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4352 PyObject * _resultobj;
cd096152
RD
4353 bool _result;
4354 wxPyListCtrl * _arg0;
8ab979d7 4355 long _arg1;
1d99702e 4356 PyObject * _argo0 = 0;
cd096152 4357 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4358
4359 self = self;
cd096152 4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4361 return NULL;
1d99702e
RD
4362 if (_argo0) {
4363 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4366 return NULL;
4367 }
4368 }
4369{
474c48f9 4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4371 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
cd096152 4372
474c48f9 4373 wxPyEndAllowThreads(__tstate);
cd096152
RD
4374 if (PyErr_Occurred()) return NULL;
4375} _resultobj = Py_BuildValue("i",_result);
4376 return _resultobj;
4377}
4378
4379#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4380static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4381 PyObject * _resultobj;
4382 bool _result;
4383 wxPyListCtrl * _arg0;
4384 PyObject * _argo0 = 0;
4385 char *_kwnames[] = { "self", NULL };
4386
4387 self = self;
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4389 return NULL;
4390 if (_argo0) {
4391 if (_argo0 == Py_None) { _arg0 = NULL; }
4392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
2cd2fac8 4394 return NULL;
cd096152 4395 }
2cd2fac8 4396 }
cd096152 4397{
474c48f9 4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4399 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
cd096152 4400
474c48f9 4401 wxPyEndAllowThreads(__tstate);
cd096152
RD
4402 if (PyErr_Occurred()) return NULL;
4403} _resultobj = Py_BuildValue("i",_result);
4404 return _resultobj;
4405}
4406
4407#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4408static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4409 PyObject * _resultobj;
4410 bool _result;
4411 wxPyListCtrl * _arg0;
4412 int _arg1;
4413 PyObject * _argo0 = 0;
4414 char *_kwnames[] = { "self","col", NULL };
4415
4416 self = self;
4417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
2cd2fac8 4418 return NULL;
cd096152
RD
4419 if (_argo0) {
4420 if (_argo0 == Py_None) { _arg0 = NULL; }
4421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4423 return NULL;
4424 }
4425 }
4426{
474c48f9 4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4428 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
cd096152 4429
474c48f9 4430 wxPyEndAllowThreads(__tstate);
cd096152
RD
4431 if (PyErr_Occurred()) return NULL;
4432} _resultobj = Py_BuildValue("i",_result);
4433 return _resultobj;
4434}
4435
4436#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4437static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject * _resultobj;
4439 bool _result;
4440 wxPyListCtrl * _arg0;
4441 PyObject * _argo0 = 0;
4442 char *_kwnames[] = { "self", NULL };
4443
4444 self = self;
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
4446 return NULL;
4447 if (_argo0) {
4448 if (_argo0 == Py_None) { _arg0 = NULL; }
4449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4451 return NULL;
4452 }
4453 }
4454{
474c48f9 4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4456 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
cd096152 4457
474c48f9 4458 wxPyEndAllowThreads(__tstate);
cd096152
RD
4459 if (PyErr_Occurred()) return NULL;
4460} _resultobj = Py_BuildValue("i",_result);
4461 return _resultobj;
4462}
4463
4464#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4465static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4466 PyObject * _resultobj;
4467 wxPyListCtrl * _arg0;
4468 PyObject * _argo0 = 0;
4469 char *_kwnames[] = { "self", NULL };
4470
4471 self = self;
4472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
8ab979d7 4473 return NULL;
cd096152
RD
4474 if (_argo0) {
4475 if (_argo0 == Py_None) { _arg0 = NULL; }
4476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4478 return NULL;
4479 }
8ab979d7 4480 }
cf694132 4481{
474c48f9 4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4483 wxListCtrl_ClearAll(_arg0);
cf694132 4484
474c48f9 4485 wxPyEndAllowThreads(__tstate);
4dfaa61e 4486 if (PyErr_Occurred()) return NULL;
cd096152
RD
4487} Py_INCREF(Py_None);
4488 _resultobj = Py_None;
8ab979d7
RD
4489 return _resultobj;
4490}
4491
cd096152
RD
4492#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4493static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4494 PyObject * _resultobj;
cd096152
RD
4495 bool _result;
4496 wxPyListCtrl * _arg0;
8ab979d7 4497 long _arg1;
1d99702e 4498 PyObject * _argo0 = 0;
cd096152 4499 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4500
4501 self = self;
cd096152 4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
8ab979d7 4503 return NULL;
1d99702e
RD
4504 if (_argo0) {
4505 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4508 return NULL;
4509 }
4510 }
cf694132 4511{
474c48f9 4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4513 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132 4514
474c48f9 4515 wxPyEndAllowThreads(__tstate);
4dfaa61e 4516 if (PyErr_Occurred()) return NULL;
cd096152 4517} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4518 return _resultobj;
4519}
4520
cd096152
RD
4521#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4522static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4523 PyObject * _resultobj;
4524 long _result;
cd096152 4525 wxPyListCtrl * _arg0;
8ab979d7
RD
4526 long _arg1;
4527 wxString * _arg2;
cd096152 4528 bool _arg3 = (bool ) FALSE;
1d99702e 4529 PyObject * _argo0 = 0;
8ab979d7 4530 PyObject * _obj2 = 0;
cd096152
RD
4531 int tempbool3 = (int) FALSE;
4532 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4533
4534 self = self;
cd096152 4535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4536 return NULL;
1d99702e
RD
4537 if (_argo0) {
4538 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4541 return NULL;
4542 }
4543 }
4544{
c8bc7bb8
RD
4545 _arg2 = wxString_in_helper(_obj2);
4546 if (_arg2 == NULL)
8ab979d7 4547 return NULL;
8ab979d7 4548}
cd096152 4549 _arg3 = (bool ) tempbool3;
cf694132 4550{
474c48f9 4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4552 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4553
474c48f9 4554 wxPyEndAllowThreads(__tstate);
4dfaa61e 4555 if (PyErr_Occurred()) return NULL;
cf694132 4556} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4557{
4558 if (_obj2)
4559 delete _arg2;
4560}
4561 return _resultobj;
4562}
4563
cd096152
RD
4564#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4565static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4566 PyObject * _resultobj;
cd096152
RD
4567 long _result;
4568 wxPyListCtrl * _arg0;
4569 long _arg1;
4570 long _arg2;
1d99702e 4571 PyObject * _argo0 = 0;
cd096152 4572 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4573
4574 self = self;
cd096152 4575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4576 return NULL;
1d99702e
RD
4577 if (_argo0) {
4578 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4581 return NULL;
4582 }
4583 }
cf694132 4584{
474c48f9 4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4586 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132 4587
474c48f9 4588 wxPyEndAllowThreads(__tstate);
4dfaa61e 4589 if (PyErr_Occurred()) return NULL;
cd096152 4590} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4591 return _resultobj;
4592}
4593
cd096152
RD
4594#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4595static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4596 PyObject * _resultobj;
cd096152
RD
4597 long _result;
4598 wxPyListCtrl * _arg0;
4599 long _arg1;
4600 wxPoint * _arg2;
4601 int _arg3;
1d99702e 4602 PyObject * _argo0 = 0;
cd096152
RD
4603 wxPoint temp;
4604 PyObject * _obj2 = 0;
4605 char *_kwnames[] = { "self","start","pt","direction", NULL };
8ab979d7
RD
4606
4607 self = self;
cd096152 4608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4609 return NULL;
1d99702e
RD
4610 if (_argo0) {
4611 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4614 return NULL;
4615 }
4616 }
f6bcfd97 4617{
cd096152
RD
4618 _arg2 = &temp;
4619 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 4620 return NULL;
f6bcfd97 4621}
cf694132 4622{
474c48f9 4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4624 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
cf694132 4625
474c48f9 4626 wxPyEndAllowThreads(__tstate);
4dfaa61e 4627 if (PyErr_Occurred()) return NULL;
cd096152 4628} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4629 return _resultobj;
4630}
4631
cd096152
RD
4632#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4633static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4634 PyObject * _resultobj;
cd096152
RD
4635 long _result;
4636 wxPyListCtrl * _arg0;
4637 wxPoint * _arg1;
4638 int * _arg2;
4639 int temp;
1d99702e 4640 PyObject * _argo0 = 0;
cd096152
RD
4641 wxPoint temp0;
4642 PyObject * _obj1 = 0;
4643 char *_kwnames[] = { "self","point", NULL };
8ab979d7
RD
4644
4645 self = self;
cf694132 4646{
cd096152 4647 _arg2 = &temp;
8ab979d7 4648}
cd096152 4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
8ab979d7 4650 return NULL;
1d99702e
RD
4651 if (_argo0) {
4652 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4655 return NULL;
4656 }
4657 }
cf694132 4658{
cd096152
RD
4659 _arg1 = &temp0;
4660 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 4661 return NULL;
cd096152 4662}
cf694132 4663{
474c48f9 4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4665 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
cf694132 4666
474c48f9 4667 wxPyEndAllowThreads(__tstate);
4dfaa61e 4668 if (PyErr_Occurred()) return NULL;
cd096152
RD
4669} _resultobj = Py_BuildValue("l",_result);
4670{
4671 PyObject *o;
4672 o = PyInt_FromLong((long) (*_arg2));
4673 _resultobj = t_output_helper(_resultobj, o);
4674}
8ab979d7
RD
4675 return _resultobj;
4676}
4677
cd096152
RD
4678#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4679static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4680 PyObject * _resultobj;
cd096152
RD
4681 long _result;
4682 wxPyListCtrl * _arg0;
8ab979d7 4683 wxListItem * _arg1;
1d99702e
RD
4684 PyObject * _argo0 = 0;
4685 PyObject * _argo1 = 0;
efc5f224 4686 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
4687
4688 self = self;
cd096152 4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
8ab979d7 4690 return NULL;
1d99702e
RD
4691 if (_argo0) {
4692 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4695 return NULL;
4696 }
4697 }
1d99702e
RD
4698 if (_argo1) {
4699 if (_argo1 == Py_None) { _arg1 = NULL; }
4700 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
cd096152 4701 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
8ab979d7
RD
4702 return NULL;
4703 }
4704 }
cf694132 4705{
474c48f9 4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4707 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
cf694132 4708
474c48f9 4709 wxPyEndAllowThreads(__tstate);
4dfaa61e 4710 if (PyErr_Occurred()) return NULL;
cd096152 4711} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4712 return _resultobj;
4713}
4714
cd096152
RD
4715#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4716static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4717 PyObject * _resultobj;
4718 long _result;
cd096152 4719 wxPyListCtrl * _arg0;
8ab979d7 4720 long _arg1;
cd096152 4721 wxString * _arg2;
1d99702e 4722 PyObject * _argo0 = 0;
cd096152
RD
4723 PyObject * _obj2 = 0;
4724 char *_kwnames[] = { "self","index","label", NULL };
8ab979d7
RD
4725
4726 self = self;
cd096152 4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 4728 return NULL;
1d99702e
RD
4729 if (_argo0) {
4730 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4733 return NULL;
4734 }
4735 }
4736{
c8bc7bb8
RD
4737 _arg2 = wxString_in_helper(_obj2);
4738 if (_arg2 == NULL)
8ab979d7 4739 return NULL;
8ab979d7 4740}
cf694132 4741{
474c48f9 4742 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4743 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
cf694132 4744
474c48f9 4745 wxPyEndAllowThreads(__tstate);
4dfaa61e 4746 if (PyErr_Occurred()) return NULL;
cf694132 4747} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4748{
cd096152
RD
4749 if (_obj2)
4750 delete _arg2;
4751}
8ab979d7
RD
4752 return _resultobj;
4753}
4754
cd096152
RD
4755#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4756static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4757 PyObject * _resultobj;
cd096152
RD
4758 long _result;
4759 wxPyListCtrl * _arg0;
8ab979d7
RD
4760 long _arg1;
4761 int _arg2;
1d99702e 4762 PyObject * _argo0 = 0;
cd096152 4763 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4764
4765 self = self;
cd096152 4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4767 return NULL;
1d99702e
RD
4768 if (_argo0) {
4769 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4772 return NULL;
4773 }
4774 }
cf694132 4775{
474c48f9 4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4777 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
cf694132 4778
474c48f9 4779 wxPyEndAllowThreads(__tstate);
4dfaa61e 4780 if (PyErr_Occurred()) return NULL;
cd096152 4781} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4782 return _resultobj;
4783}
4784
cd096152
RD
4785#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4786static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4787 PyObject * _resultobj;
cd096152
RD
4788 long _result;
4789 wxPyListCtrl * _arg0;
8ab979d7 4790 long _arg1;
cd096152
RD
4791 wxString * _arg2;
4792 int _arg3;
1d99702e 4793 PyObject * _argo0 = 0;
2f90df85 4794 PyObject * _obj2 = 0;
cd096152 4795 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4796
4797 self = self;
cd096152 4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4799 return NULL;
1d99702e
RD
4800 if (_argo0) {
4801 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4804 return NULL;
4805 }
4806 }
2f90df85 4807{
c8bc7bb8
RD
4808 _arg2 = wxString_in_helper(_obj2);
4809 if (_arg2 == NULL)
8ab979d7 4810 return NULL;
2f90df85 4811}
cf694132 4812{
474c48f9 4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4814 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4815
474c48f9 4816 wxPyEndAllowThreads(__tstate);
4dfaa61e 4817 if (PyErr_Occurred()) return NULL;
cd096152
RD
4818} _resultobj = Py_BuildValue("l",_result);
4819{
4820 if (_obj2)
4821 delete _arg2;
4822}
8ab979d7
RD
4823 return _resultobj;
4824}
4825
cd096152
RD
4826#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4827static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4828 PyObject * _resultobj;
cd096152
RD
4829 long _result;
4830 wxPyListCtrl * _arg0;
8ab979d7 4831 long _arg1;
cd096152 4832 wxListItem * _arg2;
1d99702e 4833 PyObject * _argo0 = 0;
cd096152
RD
4834 PyObject * _argo2 = 0;
4835 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4836
4837 self = self;
cd096152 4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4839 return NULL;
1d99702e
RD
4840 if (_argo0) {
4841 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4844 return NULL;
4845 }
4846 }
4847 if (_argo2) {
4848 if (_argo2 == Py_None) { _arg2 = NULL; }
4849 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4850 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4851 return NULL;
4852 }
4853 }
cf694132 4854{
474c48f9 4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4856 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132 4857
474c48f9 4858 wxPyEndAllowThreads(__tstate);
4dfaa61e 4859 if (PyErr_Occurred()) return NULL;
cd096152 4860} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4861 return _resultobj;
4862}
4863
cd096152
RD
4864#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4865static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4866 PyObject * _resultobj;
cd096152
RD
4867 long _result;
4868 wxPyListCtrl * _arg0;
8ab979d7
RD
4869 long _arg1;
4870 wxString * _arg2;
cd096152
RD
4871 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
4872 int _arg4 = (int ) -1;
1d99702e 4873 PyObject * _argo0 = 0;
8ab979d7 4874 PyObject * _obj2 = 0;
cd096152 4875 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
4876
4877 self = self;
cd096152 4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 4879 return NULL;
1d99702e
RD
4880 if (_argo0) {
4881 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4884 return NULL;
4885 }
4886 }
4887{
c8bc7bb8
RD
4888 _arg2 = wxString_in_helper(_obj2);
4889 if (_arg2 == NULL)
8ab979d7 4890 return NULL;
8ab979d7 4891}
cf694132 4892{
474c48f9 4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4894 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132 4895
474c48f9 4896 wxPyEndAllowThreads(__tstate);
4dfaa61e 4897 if (PyErr_Occurred()) return NULL;
cd096152 4898} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4899{
4900 if (_obj2)
4901 delete _arg2;
4902}
4903 return _resultobj;
4904}
4905
cd096152
RD
4906#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4907static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4908 PyObject * _resultobj;
cd096152 4909 wxPyListCtrl * _arg0;
8ab979d7 4910 long _arg1;
1d99702e 4911 PyObject * _argo0 = 0;
cd096152 4912 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
4913
4914 self = self;
cd096152 4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 4916 return NULL;
1d99702e
RD
4917 if (_argo0) {
4918 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4921 return NULL;
4922 }
4923 }
cf694132 4924{
474c48f9 4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4926 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132 4927
474c48f9 4928 wxPyEndAllowThreads(__tstate);
4dfaa61e 4929 if (PyErr_Occurred()) return NULL;
cf694132 4930} Py_INCREF(Py_None);
8ab979d7
RD
4931 _resultobj = Py_None;
4932 return _resultobj;
4933}
4934
cd096152
RD
4935#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4936static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4937 PyObject * _resultobj;
cd096152
RD
4938 bool _result;
4939 wxPyListCtrl * _arg0;
4940 int _arg1;
4941 int _arg2;
1d99702e 4942 PyObject * _argo0 = 0;
cd096152 4943 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
4944
4945 self = self;
cd096152 4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4947 return NULL;
1d99702e
RD
4948 if (_argo0) {
4949 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4952 return NULL;
4953 }
4954 }
cf694132 4955{
474c48f9 4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4957 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132 4958
474c48f9 4959 wxPyEndAllowThreads(__tstate);
4dfaa61e 4960 if (PyErr_Occurred()) return NULL;
cd096152 4961} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4962 return _resultobj;
4963}
4964
8381e4cd
RD
4965#define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4966static PyObject *_wrap_wxListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4967 PyObject * _resultobj;
4968 wxPyListCtrl * _arg0;
4969 long _arg1;
4970 wxColour * _arg2;
4971 PyObject * _argo0 = 0;
4972 wxColour temp;
4973 PyObject * _obj2 = 0;
4974 char *_kwnames[] = { "self","item","col", NULL };
4975
4976 self = self;
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemTextColour",_kwnames,&_argo0,&_arg1,&_obj2))
4978 return NULL;
4979 if (_argo0) {
4980 if (_argo0 == Py_None) { _arg0 = NULL; }
4981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4983 return NULL;
4984 }
4985 }
4986{
4987 _arg2 = &temp;
4988 if (! wxColour_helper(_obj2, &_arg2))
4989 return NULL;
4990}
4991{
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 wxListCtrl_SetItemTextColour(_arg0,_arg1,*_arg2);
4994
4995 wxPyEndAllowThreads(__tstate);
4996 if (PyErr_Occurred()) return NULL;
4997} Py_INCREF(Py_None);
4998 _resultobj = Py_None;
4999 return _resultobj;
5000}
5001
5002#define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
5003static PyObject *_wrap_wxListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5004 PyObject * _resultobj;
5005 wxColour * _result;
5006 wxPyListCtrl * _arg0;
5007 long _arg1;
5008 PyObject * _argo0 = 0;
5009 char *_kwnames[] = { "self","item", NULL };
5010 char _ptemp[128];
5011
5012 self = self;
5013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemTextColour",_kwnames,&_argo0,&_arg1))
5014 return NULL;
5015 if (_argo0) {
5016 if (_argo0 == Py_None) { _arg0 = NULL; }
5017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
5019 return NULL;
5020 }
5021 }
5022{
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5024 _result = new wxColour (wxListCtrl_GetItemTextColour(_arg0,_arg1));
5025
5026 wxPyEndAllowThreads(__tstate);
5027 if (PyErr_Occurred()) return NULL;
5028} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5029 _resultobj = Py_BuildValue("s",_ptemp);
5030 return _resultobj;
5031}
5032
5033#define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
5034static PyObject *_wrap_wxListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5035 PyObject * _resultobj;
5036 wxPyListCtrl * _arg0;
5037 long _arg1;
5038 wxColour * _arg2;
5039 PyObject * _argo0 = 0;
5040 wxColour temp;
5041 PyObject * _obj2 = 0;
5042 char *_kwnames[] = { "self","item","col", NULL };
5043
5044 self = self;
5045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_arg1,&_obj2))
5046 return NULL;
5047 if (_argo0) {
5048 if (_argo0 == Py_None) { _arg0 = NULL; }
5049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
5051 return NULL;
5052 }
5053 }
5054{
5055 _arg2 = &temp;
5056 if (! wxColour_helper(_obj2, &_arg2))
5057 return NULL;
5058}
5059{
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 wxListCtrl_SetItemBackgroundColour(_arg0,_arg1,*_arg2);
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) return NULL;
5065} Py_INCREF(Py_None);
5066 _resultobj = Py_None;
5067 return _resultobj;
5068}
5069
5070#define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
5071static PyObject *_wrap_wxListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5072 PyObject * _resultobj;
5073 wxColour * _result;
5074 wxPyListCtrl * _arg0;
5075 long _arg1;
5076 PyObject * _argo0 = 0;
5077 char *_kwnames[] = { "self","item", NULL };
5078 char _ptemp[128];
5079
5080 self = self;
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames,&_argo0,&_arg1))
5082 return NULL;
5083 if (_argo0) {
5084 if (_argo0 == Py_None) { _arg0 = NULL; }
5085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
5087 return NULL;
5088 }
5089 }
5090{
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 _result = new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0,_arg1));
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) return NULL;
5096} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5097 _resultobj = Py_BuildValue("s",_ptemp);
5098 return _resultobj;
5099}
5100
cd096152 5101static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
5102 if (!PyCallable_Check(func))
5103 return FALSE;
f6bcfd97 5104 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
5105 }
5106static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject * _resultobj;
5108 bool _result;
cd096152 5109 wxPyListCtrl * _arg0;
dcd38683
RD
5110 PyObject * _arg1;
5111 PyObject * _argo0 = 0;
5112 PyObject * _obj1 = 0;
5113 char *_kwnames[] = { "self","func", NULL };
5114
5115 self = self;
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
5117 return NULL;
5118 if (_argo0) {
5119 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
5120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
5122 return NULL;
5123 }
5124 }
5125{
5126 _arg1 = _obj1;
5127}
5128{
474c48f9 5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5130 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683 5131
474c48f9 5132 wxPyEndAllowThreads(__tstate);
4dfaa61e 5133 if (PyErr_Occurred()) return NULL;
dcd38683
RD
5134} _resultobj = Py_BuildValue("i",_result);
5135 return _resultobj;
5136}
5137
059a841c
RD
5138static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5139 wxListView *src;
5140 wxPyListCtrl *dest;
5141 src = (wxListView *) ptr;
5142 dest = (wxPyListCtrl *) src;
5143 return (void *) dest;
5144}
5145
5146static void *SwigwxListViewTowxControl(void *ptr) {
5147 wxListView *src;
5148 wxControl *dest;
5149 src = (wxListView *) ptr;
5150 dest = (wxControl *) src;
5151 return (void *) dest;
5152}
5153
5154static void *SwigwxListViewTowxWindow(void *ptr) {
5155 wxListView *src;
5156 wxWindow *dest;
5157 src = (wxListView *) ptr;
5158 dest = (wxWindow *) src;
5159 return (void *) dest;
5160}
5161
5162static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5163 wxListView *src;
5164 wxEvtHandler *dest;
5165 src = (wxListView *) ptr;
5166 dest = (wxEvtHandler *) src;
5167 return (void *) dest;
5168}
5169
5170static void *SwigwxListViewTowxObject(void *ptr) {
5171 wxListView *src;
5172 wxObject *dest;
5173 src = (wxListView *) ptr;
5174 dest = (wxObject *) src;
5175 return (void *) dest;
5176}
5177
5178#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5179static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5180 PyObject * _resultobj;
5181 wxListView * _result;
5182 wxWindow * _arg0;
5183 wxWindowID _arg1 = (wxWindowID ) -1;
5184 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5185 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5186 long _arg4 = (long ) (wxLC_REPORT);
5187 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5188 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
059a841c
RD
5189 PyObject * _argo0 = 0;
5190 wxPoint temp;
5191 PyObject * _obj2 = 0;
5192 wxSize temp0;
5193 PyObject * _obj3 = 0;
5194 PyObject * _argo5 = 0;
5195 PyObject * _obj6 = 0;
5196 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5197 char _ptemp[128];
5198
5199 self = self;
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5201 return NULL;
5202 if (_argo0) {
5203 if (_argo0 == Py_None) { _arg0 = NULL; }
5204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5206 return NULL;
5207 }
5208 }
5209 if (_obj2)
5210{
5211 _arg2 = &temp;
5212 if (! wxPoint_helper(_obj2, &_arg2))
5213 return NULL;
5214}
5215 if (_obj3)
5216{
5217 _arg3 = &temp0;
5218 if (! wxSize_helper(_obj3, &_arg3))
5219 return NULL;
5220}
5221 if (_argo5) {
5222 if (_argo5 == Py_None) { _arg5 = NULL; }
5223 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5224 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5225 return NULL;
5226 }
5227 }
5228 if (_obj6)
5229{
c8bc7bb8
RD
5230 _arg6 = wxString_in_helper(_obj6);
5231 if (_arg6 == NULL)
059a841c 5232 return NULL;
059a841c
RD
5233}
5234{
474c48f9 5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5236 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
059a841c 5237
474c48f9 5238 wxPyEndAllowThreads(__tstate);
059a841c
RD
5239 if (PyErr_Occurred()) return NULL;
5240} if (_result) {
5241 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5242 _resultobj = Py_BuildValue("s",_ptemp);
5243 } else {
5244 Py_INCREF(Py_None);
5245 _resultobj = Py_None;
5246 }
5247{
5248 if (_obj6)
5249 delete _arg6;
5250}
5251 return _resultobj;
5252}
5253
5254#define new_wxPreListView() (new wxListView())
5255static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject * _resultobj;
5257 wxListView * _result;
5258 char *_kwnames[] = { NULL };
5259 char _ptemp[128];
5260
5261 self = self;
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5263 return NULL;
5264{
474c48f9 5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5266 _result = (wxListView *)new_wxPreListView();
059a841c 5267
474c48f9 5268 wxPyEndAllowThreads(__tstate);
059a841c
RD
5269 if (PyErr_Occurred()) return NULL;
5270} if (_result) {
5271 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5272 _resultobj = Py_BuildValue("s",_ptemp);
5273 } else {
5274 Py_INCREF(Py_None);
5275 _resultobj = Py_None;
5276 }
5277 return _resultobj;
5278}
5279
5280#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5281static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject * _resultobj;
5283 bool _result;
5284 wxListView * _arg0;
5285 wxWindow * _arg1;
5286 wxWindowID _arg2 = (wxWindowID ) -1;
5287 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5288 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5289 long _arg5 = (long ) (wxLC_REPORT);
5290 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5291 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
059a841c
RD
5292 PyObject * _argo0 = 0;
5293 PyObject * _argo1 = 0;
5294 wxPoint temp;
5295 PyObject * _obj3 = 0;
5296 wxSize temp0;
5297 PyObject * _obj4 = 0;
5298 PyObject * _argo6 = 0;
5299 PyObject * _obj7 = 0;
5300 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5301
5302 self = self;
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5304 return NULL;
5305 if (_argo0) {
5306 if (_argo0 == Py_None) { _arg0 = NULL; }
5307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5309 return NULL;
5310 }
5311 }
5312 if (_argo1) {
5313 if (_argo1 == Py_None) { _arg1 = NULL; }
5314 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5315 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5316 return NULL;
5317 }
5318 }
5319 if (_obj3)
5320{
5321 _arg3 = &temp;
5322 if (! wxPoint_helper(_obj3, &_arg3))
5323 return NULL;
5324}
5325 if (_obj4)
5326{
5327 _arg4 = &temp0;
5328 if (! wxSize_helper(_obj4, &_arg4))
5329 return NULL;
5330}
5331 if (_argo6) {
5332 if (_argo6 == Py_None) { _arg6 = NULL; }
5333 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5334 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5335 return NULL;
5336 }
5337 }
5338 if (_obj7)
5339{
c8bc7bb8
RD
5340 _arg7 = wxString_in_helper(_obj7);
5341 if (_arg7 == NULL)
059a841c 5342 return NULL;
059a841c
RD
5343}
5344{
474c48f9 5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5346 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
059a841c 5347
474c48f9 5348 wxPyEndAllowThreads(__tstate);
059a841c
RD
5349 if (PyErr_Occurred()) return NULL;
5350} _resultobj = Py_BuildValue("i",_result);
5351{
5352 if (_obj7)
5353 delete _arg7;
5354}
5355 return _resultobj;
5356}
5357
5358#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5359static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5360 PyObject * _resultobj;
5361 wxListView * _arg0;
5362 long _arg1;
5363 bool _arg2 = (bool ) TRUE;
5364 PyObject * _argo0 = 0;
5365 int tempbool2 = (int) TRUE;
5366 char *_kwnames[] = { "self","n","on", NULL };
5367
5368 self = self;
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5370 return NULL;
5371 if (_argo0) {
5372 if (_argo0 == Py_None) { _arg0 = NULL; }
5373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5375 return NULL;
5376 }
5377 }
5378 _arg2 = (bool ) tempbool2;
5379{
474c48f9 5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5381 wxListView_Select(_arg0,_arg1,_arg2);
059a841c 5382
474c48f9 5383 wxPyEndAllowThreads(__tstate);
059a841c
RD
5384 if (PyErr_Occurred()) return NULL;
5385} Py_INCREF(Py_None);
5386 _resultobj = Py_None;
5387 return _resultobj;
5388}
5389
5390#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5391static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5392 PyObject * _resultobj;
5393 wxListView * _arg0;
5394 long _arg1;
5395 PyObject * _argo0 = 0;
5396 char *_kwnames[] = { "self","index", NULL };
5397
5398 self = self;
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5400 return NULL;
5401 if (_argo0) {
5402 if (_argo0 == Py_None) { _arg0 = NULL; }
5403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5405 return NULL;
5406 }
5407 }
5408{
474c48f9 5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5410 wxListView_Focus(_arg0,_arg1);
059a841c 5411
474c48f9 5412 wxPyEndAllowThreads(__tstate);
059a841c
RD
5413 if (PyErr_Occurred()) return NULL;
5414} Py_INCREF(Py_None);
5415 _resultobj = Py_None;
5416 return _resultobj;
5417}
5418
5419#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5420static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject * _resultobj;
5422 long _result;
5423 wxListView * _arg0;
5424 PyObject * _argo0 = 0;
5425 char *_kwnames[] = { "self", NULL };
5426
5427 self = self;
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5429 return NULL;
5430 if (_argo0) {
5431 if (_argo0 == Py_None) { _arg0 = NULL; }
5432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5434 return NULL;
5435 }
5436 }
5437{
474c48f9 5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5439 _result = (long )wxListView_GetFocusedItem(_arg0);
059a841c 5440
474c48f9 5441 wxPyEndAllowThreads(__tstate);
059a841c
RD
5442 if (PyErr_Occurred()) return NULL;
5443} _resultobj = Py_BuildValue("l",_result);
5444 return _resultobj;
5445}
5446
5447#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5448static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject * _resultobj;
5450 long _result;
5451 wxListView * _arg0;
5452 long _arg1;
5453 PyObject * _argo0 = 0;
5454 char *_kwnames[] = { "self","item", NULL };
5455
5456 self = self;
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5458 return NULL;
5459 if (_argo0) {
5460 if (_argo0 == Py_None) { _arg0 = NULL; }
5461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5463 return NULL;
5464 }
5465 }
5466{
474c48f9 5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5468 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
059a841c 5469
474c48f9 5470 wxPyEndAllowThreads(__tstate);
059a841c
RD
5471 if (PyErr_Occurred()) return NULL;
5472} _resultobj = Py_BuildValue("l",_result);
5473 return _resultobj;
5474}
5475
5476#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5477static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5478 PyObject * _resultobj;
5479 long _result;
5480 wxListView * _arg0;
5481 PyObject * _argo0 = 0;
5482 char *_kwnames[] = { "self", NULL };
5483
5484 self = self;
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5486 return NULL;
5487 if (_argo0) {
5488 if (_argo0 == Py_None) { _arg0 = NULL; }
5489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5491 return NULL;
5492 }
5493 }
5494{
474c48f9 5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5496 _result = (long )wxListView_GetFirstSelected(_arg0);
059a841c 5497
474c48f9 5498 wxPyEndAllowThreads(__tstate);
059a841c
RD
5499 if (PyErr_Occurred()) return NULL;
5500} _resultobj = Py_BuildValue("l",_result);
5501 return _resultobj;
5502}
5503
5504#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5505static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject * _resultobj;
5507 bool _result;
5508 wxListView * _arg0;
5509 long _arg1;
5510 PyObject * _argo0 = 0;
5511 char *_kwnames[] = { "self","index", NULL };
5512
5513 self = self;
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5515 return NULL;
5516 if (_argo0) {
5517 if (_argo0 == Py_None) { _arg0 = NULL; }
5518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5520 return NULL;
5521 }
5522 }
5523{
474c48f9 5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5525 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
059a841c 5526
474c48f9 5527 wxPyEndAllowThreads(__tstate);
059a841c
RD
5528 if (PyErr_Occurred()) return NULL;
5529} _resultobj = Py_BuildValue("i",_result);
5530 return _resultobj;
5531}
5532
5533#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5534static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5535 PyObject * _resultobj;
5536 wxListView * _arg0;
5537 int _arg1;
5538 int _arg2;
5539 PyObject * _argo0 = 0;
5540 char *_kwnames[] = { "self","col","image", NULL };
5541
5542 self = self;
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5544 return NULL;
5545 if (_argo0) {
5546 if (_argo0 == Py_None) { _arg0 = NULL; }
5547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5549 return NULL;
5550 }
5551 }
5552{
474c48f9 5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5554 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
059a841c 5555
474c48f9 5556 wxPyEndAllowThreads(__tstate);
059a841c
RD
5557 if (PyErr_Occurred()) return NULL;
5558} Py_INCREF(Py_None);
5559 _resultobj = Py_None;
5560 return _resultobj;
5561}
5562
5563#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5564static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5565 PyObject * _resultobj;
5566 wxListView * _arg0;
5567 int _arg1;
5568 PyObject * _argo0 = 0;
5569 char *_kwnames[] = { "self","col", NULL };
5570
5571 self = self;
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5573 return NULL;
5574 if (_argo0) {
5575 if (_argo0 == Py_None) { _arg0 = NULL; }
5576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5578 return NULL;
5579 }
5580 }
5581{
474c48f9 5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5583 wxListView_ClearColumnImage(_arg0,_arg1);
059a841c 5584
474c48f9 5585 wxPyEndAllowThreads(__tstate);
059a841c
RD
5586 if (PyErr_Occurred()) return NULL;
5587} Py_INCREF(Py_None);
5588 _resultobj = Py_None;
5589 return _resultobj;
5590}
5591
aa2a5b86
RD
5592#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5593static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5594 PyObject * _resultobj;
aa2a5b86
RD
5595 wxTreeItemAttr * _result;
5596 wxColour * _arg0 = (wxColour *) &wxNullColour;
5597 wxColour * _arg1 = (wxColour *) &wxNullColour;
5598 wxFont * _arg2 = (wxFont *) &wxNullFont;
5599 wxColour temp;
5600 PyObject * _obj0 = 0;
5601 wxColour temp0;
5602 PyObject * _obj1 = 0;
5603 PyObject * _argo2 = 0;
5604 char *_kwnames[] = { "colText","colBack","font", NULL };
d5c9047a 5605 char _ptemp[128];
8ab979d7
RD
5606
5607 self = self;
aa2a5b86
RD
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5609 return NULL;
5610 if (_obj0)
5611{
5612 _arg0 = &temp;
5613 if (! wxColour_helper(_obj0, &_arg0))
5614 return NULL;
5615}
5616 if (_obj1)
5617{
5618 _arg1 = &temp0;
5619 if (! wxColour_helper(_obj1, &_arg1))
5620 return NULL;
5621}
5622 if (_argo2) {
5623 if (_argo2 == Py_None) { _arg2 = NULL; }
5624 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5625 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
8ab979d7 5626 return NULL;
aa2a5b86
RD
5627 }
5628 }
cf694132 5629{
474c48f9 5630 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5631 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
cf694132 5632
474c48f9 5633 wxPyEndAllowThreads(__tstate);
4dfaa61e 5634 if (PyErr_Occurred()) return NULL;
1d99702e 5635} if (_result) {
aa2a5b86 5636 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
1d99702e
RD
5637 _resultobj = Py_BuildValue("s",_ptemp);
5638 } else {
5639 Py_INCREF(Py_None);
5640 _resultobj = Py_None;
5641 }
8ab979d7
RD
5642 return _resultobj;
5643}
5644
aa2a5b86
RD
5645#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5646static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5647 PyObject * _resultobj;
aa2a5b86
RD
5648 wxTreeItemAttr * _arg0;
5649 wxColour * _arg1;
1d99702e 5650 PyObject * _argo0 = 0;
aa2a5b86
RD
5651 wxColour temp;
5652 PyObject * _obj1 = 0;
5653 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
5654
5655 self = self;
aa2a5b86 5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5657 return NULL;
1d99702e
RD
5658 if (_argo0) {
5659 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5662 return NULL;
5663 }
5664 }
aa2a5b86
RD
5665{
5666 _arg1 = &temp;
5667 if (! wxColour_helper(_obj1, &_arg1))
5668 return NULL;
5669}
cf694132 5670{
474c48f9 5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5672 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
cf694132 5673
474c48f9 5674 wxPyEndAllowThreads(__tstate);
4dfaa61e 5675 if (PyErr_Occurred()) return NULL;
cf694132 5676} Py_INCREF(Py_None);
d5c9047a 5677 _resultobj = Py_None;
8ab979d7
RD
5678 return _resultobj;
5679}
5680
aa2a5b86
RD
5681#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5682static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5683 PyObject * _resultobj;
aa2a5b86
RD
5684 wxTreeItemAttr * _arg0;
5685 wxColour * _arg1;
1d99702e 5686 PyObject * _argo0 = 0;
aa2a5b86
RD
5687 wxColour temp;
5688 PyObject * _obj1 = 0;
5689 char *_kwnames[] = { "self","colBack", NULL };
8ab979d7
RD
5690
5691 self = self;
aa2a5b86 5692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5693 return NULL;
1d99702e
RD
5694 if (_argo0) {
5695 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5698 return NULL;
5699 }
5700 }
aa2a5b86
RD
5701{
5702 _arg1 = &temp;
5703 if (! wxColour_helper(_obj1, &_arg1))
5704 return NULL;
5705}
cf694132 5706{
474c48f9 5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5708 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132 5709
474c48f9 5710 wxPyEndAllowThreads(__tstate);
4dfaa61e 5711 if (PyErr_Occurred()) return NULL;
aa2a5b86
RD
5712} Py_INCREF(Py_None);
5713 _resultobj = Py_None;
8ab979d7
RD
5714 return _resultobj;
5715}
5716
aa2a5b86
RD
5717#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5718static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5719 PyObject * _resultobj;
aa2a5b86
RD
5720 wxTreeItemAttr * _arg0;
5721 wxFont * _arg1;
f6bcfd97
BP
5722 PyObject * _argo0 = 0;
5723 PyObject * _argo1 = 0;
aa2a5b86 5724 char *_kwnames[] = { "self","font", NULL };
f6bcfd97
BP
5725
5726 self = self;
aa2a5b86 5727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
f6bcfd97
BP
5728 return NULL;
5729 if (_argo0) {
5730 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
f6bcfd97
BP
5733 return NULL;
5734 }
5735 }
5736 if (_argo1) {
5737 if (_argo1 == Py_None) { _arg1 = NULL; }
aa2a5b86
RD
5738 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5739 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
f6bcfd97
BP
5740 return NULL;
5741 }
5742 }
5743{
474c48f9 5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5745 wxTreeItemAttr_SetFont(_arg0,*_arg1);
f6bcfd97 5746
474c48f9 5747 wxPyEndAllowThreads(__tstate);
4dfaa61e 5748 if (PyErr_Occurred()) return NULL;
aa2a5b86
RD
5749} Py_INCREF(Py_None);
5750 _resultobj = Py_None;
f6bcfd97
BP
5751 return _resultobj;
5752}
5753
aa2a5b86
RD
5754#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5755static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5756 PyObject * _resultobj;
aa2a5b86
RD
5757 bool _result;
5758 wxTreeItemAttr * _arg0;
5759 PyObject * _argo0 = 0;
5760 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5761
5762 self = self;
aa2a5b86 5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
8ab979d7 5764 return NULL;
aa2a5b86
RD
5765 if (_argo0) {
5766 if (_argo0 == Py_None) { _arg0 = NULL; }
5767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5769 return NULL;
5770 }
5771 }
cf694132 5772{
474c48f9 5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5774 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
cf694132 5775
474c48f9 5776 wxPyEndAllowThreads(__tstate);
4dfaa61e 5777 if (PyErr_Occurred()) return NULL;
aa2a5b86 5778} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5779 return _resultobj;
5780}
5781
aa2a5b86
RD
5782#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5783static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 5784 PyObject * _resultobj;
aa2a5b86
RD
5785 bool _result;
5786 wxTreeItemAttr * _arg0;
1d99702e 5787 PyObject * _argo0 = 0;
efc5f224 5788 char *_kwnames[] = { "self", NULL };
cf694132
RD
5789
5790 self = self;
aa2a5b86 5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
cf694132 5792 return NULL;
1d99702e
RD
5793 if (_argo0) {
5794 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
cf694132
RD
5797 return NULL;
5798 }
5799 }
5800{
474c48f9 5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5802 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
cf694132 5803
474c48f9 5804 wxPyEndAllowThreads(__tstate);
4dfaa61e 5805 if (PyErr_Occurred()) return NULL;
aa2a5b86 5806} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
5807 return _resultobj;
5808}
5809
aa2a5b86
RD
5810#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5811static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5812 PyObject * _resultobj;
aa2a5b86
RD
5813 bool _result;
5814 wxTreeItemAttr * _arg0;
1d99702e 5815 PyObject * _argo0 = 0;
aa2a5b86 5816 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5817
5818 self = self;
aa2a5b86 5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
8ab979d7 5820 return NULL;
1d99702e
RD
5821 if (_argo0) {
5822 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5825 return NULL;
5826 }
5827 }
cf694132 5828{
474c48f9 5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5830 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
cf694132 5831
474c48f9 5832 wxPyEndAllowThreads(__tstate);
4dfaa61e 5833 if (PyErr_Occurred()) return NULL;
aa2a5b86 5834} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5835 return _resultobj;
5836}
5837
aa2a5b86
RD
5838#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5839static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5840 PyObject * _resultobj;
aa2a5b86
RD
5841 wxColour * _result;
5842 wxTreeItemAttr * _arg0;
1d99702e 5843 PyObject * _argo0 = 0;
efc5f224 5844 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5845 char _ptemp[128];
5846
5847 self = self;
aa2a5b86 5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 5849 return NULL;
1d99702e
RD
5850 if (_argo0) {
5851 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5854 return NULL;
5855 }
5856 }
cf694132 5857{
474c48f9 5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5859 _result = new wxColour (wxTreeItemAttr_GetTextColour(_arg0));
cf694132 5860
474c48f9 5861 wxPyEndAllowThreads(__tstate);
4dfaa61e 5862 if (PyErr_Occurred()) return NULL;
3e212503
RD
5863} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5864 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
5865 return _resultobj;
5866}
5867
aa2a5b86
RD
5868#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5869static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 5870 PyObject * _resultobj;
aa2a5b86
RD
5871 wxColour * _result;
5872 wxTreeItemAttr * _arg0;
1d99702e 5873 PyObject * _argo0 = 0;
aa2a5b86
RD
5874 char *_kwnames[] = { "self", NULL };
5875 char _ptemp[128];
5876
5877 self = self;
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5879 return NULL;
5880 if (_argo0) {
5881 if (_argo0 == Py_None) { _arg0 = NULL; }
5882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5884 return NULL;
5885 }
5886 }
5887{
474c48f9 5888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5889 _result = new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0));
aa2a5b86 5890
474c48f9 5891 wxPyEndAllowThreads(__tstate);
aa2a5b86 5892 if (PyErr_Occurred()) return NULL;
3e212503
RD
5893} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5894 _resultobj = Py_BuildValue("s",_ptemp);
aa2a5b86
RD
5895 return _resultobj;
5896}
5897
5898#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5899static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject * _resultobj;
5901 wxFont * _result;
5902 wxTreeItemAttr * _arg0;
5903 PyObject * _argo0 = 0;
5904 char *_kwnames[] = { "self", NULL };
5905 char _ptemp[128];
5906
5907 self = self;
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5909 return NULL;
5910 if (_argo0) {
5911 if (_argo0 == Py_None) { _arg0 = NULL; }
5912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5914 return NULL;
5915 }
5916 }
5917{
474c48f9 5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5919 _result = new wxFont (wxTreeItemAttr_GetFont(_arg0));
aa2a5b86 5920
474c48f9 5921 wxPyEndAllowThreads(__tstate);
aa2a5b86 5922 if (PyErr_Occurred()) return NULL;
3e212503
RD
5923} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5924 _resultobj = Py_BuildValue("s",_ptemp);
aa2a5b86
RD
5925 return _resultobj;
5926}
5927
5928#define new_wxTreeItemId() (new wxTreeItemId())
5929static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
5930 PyObject * _resultobj;
5931 wxTreeItemId * _result;
5932 char *_kwnames[] = { NULL };
5933 char _ptemp[128];
5934
5935 self = self;
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
5937 return NULL;
5938{
474c48f9 5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5940 _result = (wxTreeItemId *)new_wxTreeItemId();
aa2a5b86 5941
474c48f9 5942 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5943 if (PyErr_Occurred()) return NULL;
5944} if (_result) {
5945 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5946 _resultobj = Py_BuildValue("s",_ptemp);
5947 } else {
5948 Py_INCREF(Py_None);
5949 _resultobj = Py_None;
5950 }
5951 return _resultobj;
5952}
5953
5954#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5955static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
5956 PyObject * _resultobj;
5957 wxTreeItemId * _arg0;
5958 PyObject * _argo0 = 0;
5959 char *_kwnames[] = { "self", NULL };
5960
5961 self = self;
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
5963 return NULL;
5964 if (_argo0) {
5965 if (_argo0 == Py_None) { _arg0 = NULL; }
5966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5968 return NULL;
5969 }
5970 }
5971{
474c48f9 5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5973 delete_wxTreeItemId(_arg0);
aa2a5b86 5974
474c48f9 5975 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5976 if (PyErr_Occurred()) return NULL;
5977} Py_INCREF(Py_None);
5978 _resultobj = Py_None;
5979 return _resultobj;
5980}
5981
5982#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5983static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
5984 PyObject * _resultobj;
5985 bool _result;
5986 wxTreeItemId * _arg0;
5987 PyObject * _argo0 = 0;
5988 char *_kwnames[] = { "self", NULL };
5989
5990 self = self;
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
5992 return NULL;
5993 if (_argo0) {
5994 if (_argo0 == Py_None) { _arg0 = NULL; }
5995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5997 return NULL;
5998 }
5999 }
6000{
474c48f9 6001 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6002 _result = (bool )wxTreeItemId_IsOk(_arg0);
aa2a5b86 6003
474c48f9 6004 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6005 if (PyErr_Occurred()) return NULL;
6006} _resultobj = Py_BuildValue("i",_result);
6007 return _resultobj;
6008}
6009
6010static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
6011 if (! other) return -1;
6012 return *self != *other;
6013 }
6014static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6015 PyObject * _resultobj;
6016 int _result;
6017 wxTreeItemId * _arg0;
6018 wxTreeItemId * _arg1;
6019 PyObject * _argo0 = 0;
6020 PyObject * _argo1 = 0;
6021 char *_kwnames[] = { "self","other", NULL };
6022
6023 self = self;
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
6025 return NULL;
6026 if (_argo0) {
6027 if (_argo0 == Py_None) { _arg0 = NULL; }
6028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
6029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6030 return NULL;
6031 }
6032 }
6033 if (_argo1) {
6034 if (_argo1 == Py_None) { _arg1 = NULL; }
6035 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6036 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6037 return NULL;
6038 }
6039 }
6040{
474c48f9 6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6042 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
aa2a5b86 6043
474c48f9 6044 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6045 if (PyErr_Occurred()) return NULL;
6046} _resultobj = Py_BuildValue("i",_result);
6047 return _resultobj;
6048}
6049
6050static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
6051 wxPyTreeItemData *src;
6052 wxObject *dest;
6053 src = (wxPyTreeItemData *) ptr;
6054 dest = (wxObject *) src;
6055 return (void *) dest;
6056}
6057
6058#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6059static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
6060 PyObject * _resultobj;
6061 wxPyTreeItemData * _result;
6062 PyObject * _arg0 = (PyObject *) NULL;
6063 PyObject * _obj0 = 0;
6064 char *_kwnames[] = { "obj", NULL };
6065 char _ptemp[128];
6066
6067 self = self;
6068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
6069 return NULL;
6070 if (_obj0)
6071{
6072 _arg0 = _obj0;
6073}
6074{
474c48f9 6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6076 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
aa2a5b86 6077
474c48f9 6078 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6079 if (PyErr_Occurred()) return NULL;
6080} if (_result) {
6081 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
6082 _resultobj = Py_BuildValue("s",_ptemp);
6083 } else {
6084 Py_INCREF(Py_None);
6085 _resultobj = Py_None;
6086 }
6087 return _resultobj;
6088}
6089
6090#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6091static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
6092 PyObject * _resultobj;
6093 PyObject * _result;
6094 wxPyTreeItemData * _arg0;
6095 PyObject * _argo0 = 0;
6096 char *_kwnames[] = { "self", NULL };
6097
6098 self = self;
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
6100 return NULL;
6101 if (_argo0) {
6102 if (_argo0 == Py_None) { _arg0 = NULL; }
6103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6105 return NULL;
6106 }
6107 }
6108{
474c48f9 6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6110 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
aa2a5b86 6111
474c48f9 6112 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6113 if (PyErr_Occurred()) return NULL;
6114}{
6115 _resultobj = _result;
6116}
6117 return _resultobj;
6118}
6119
6120#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6121static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject * _resultobj;
6123 wxPyTreeItemData * _arg0;
6124 PyObject * _arg1;
6125 PyObject * _argo0 = 0;
6126 PyObject * _obj1 = 0;
6127 char *_kwnames[] = { "self","obj", NULL };
6128
6129 self = self;
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
6131 return NULL;
6132 if (_argo0) {
6133 if (_argo0 == Py_None) { _arg0 = NULL; }
6134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6136 return NULL;
6137 }
6138 }
6139{
6140 _arg1 = _obj1;
6141}
6142{
474c48f9 6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6144 wxTreeItemData_SetData(_arg0,_arg1);
aa2a5b86 6145
474c48f9 6146 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6147 if (PyErr_Occurred()) return NULL;
6148} Py_INCREF(Py_None);
6149 _resultobj = Py_None;
6150 return _resultobj;
6151}
6152
6153#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6154static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject * _resultobj;
6156 wxTreeItemId * _result;
6157 wxPyTreeItemData * _arg0;
6158 PyObject * _argo0 = 0;
6159 char *_kwnames[] = { "self", NULL };
6160 char _ptemp[128];
6161
6162 self = self;
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
6164 return NULL;
6165 if (_argo0) {
6166 if (_argo0 == Py_None) { _arg0 = NULL; }
6167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6169 return NULL;
6170 }
6171 }
6172{
474c48f9 6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6174 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
aa2a5b86
RD
6175 _result = (wxTreeItemId *) &_result_ref;
6176
474c48f9 6177 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6178 if (PyErr_Occurred()) return NULL;
6179} if (_result) {
6180 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6181 _resultobj = Py_BuildValue("s",_ptemp);
6182 } else {
6183 Py_INCREF(Py_None);
6184 _resultobj = Py_None;
6185 }
6186 return _resultobj;
6187}
6188
6189#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6190static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject * _resultobj;
6192 wxPyTreeItemData * _arg0;
6193 wxTreeItemId * _arg1;
6194 PyObject * _argo0 = 0;
6195 PyObject * _argo1 = 0;
6196 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6197
6198 self = self;
efc5f224 6199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6200 return NULL;
1d99702e
RD
6201 if (_argo0) {
6202 if (_argo0 == Py_None) { _arg0 = NULL; }
6203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6205 return NULL;
6206 }
6207 }
1d99702e
RD
6208 if (_argo1) {
6209 if (_argo1 == Py_None) { _arg1 = NULL; }
6210 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6211 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6212 return NULL;
6213 }
6214 }
cf694132 6215{
474c48f9 6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6217 wxTreeItemData_SetId(_arg0,*_arg1);
cf694132 6218
474c48f9 6219 wxPyEndAllowThreads(__tstate);
4dfaa61e 6220 if (PyErr_Occurred()) return NULL;
cf694132 6221} Py_INCREF(Py_None);
630d84f2
RD
6222 _resultobj = Py_None;
6223 return _resultobj;
6224}
6225
8bf5d46e
RD
6226static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6227 wxTreeEvent *src;
6228 wxNotifyEvent *dest;
6229 src = (wxTreeEvent *) ptr;
6230 dest = (wxNotifyEvent *) src;
6231 return (void *) dest;
6232}
6233
8ab979d7
RD
6234static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6235 wxTreeEvent *src;
6236 wxCommandEvent *dest;
6237 src = (wxTreeEvent *) ptr;
6238 dest = (wxCommandEvent *) src;
6239 return (void *) dest;
6240}
6241
6242static void *SwigwxTreeEventTowxEvent(void *ptr) {
6243 wxTreeEvent *src;
6244 wxEvent *dest;
6245 src = (wxTreeEvent *) ptr;
6246 dest = (wxEvent *) src;
6247 return (void *) dest;
6248}
6249
9df61a29
RD
6250static void *SwigwxTreeEventTowxObject(void *ptr) {
6251 wxTreeEvent *src;
6252 wxObject *dest;
6253 src = (wxTreeEvent *) ptr;
6254 dest = (wxObject *) src;
6255 return (void *) dest;
6256}
6257
aa2a5b86
RD
6258#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6259static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6260 PyObject * _resultobj;
6261 wxTreeEvent * _result;
6262 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6263 int _arg1 = (int ) 0;
6264 char *_kwnames[] = { "commandType","id", NULL };
6265 char _ptemp[128];
6266
6267 self = self;
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6269 return NULL;
6270{
474c48f9 6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6272 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
aa2a5b86 6273
474c48f9 6274 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6275 if (PyErr_Occurred()) return NULL;
6276} if (_result) {
6277 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6278 _resultobj = Py_BuildValue("s",_ptemp);
6279 } else {
6280 Py_INCREF(Py_None);
6281 _resultobj = Py_None;
6282 }
6283 return _resultobj;
6284}
6285
d5c9047a 6286#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6287static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6288 PyObject * _resultobj;
d5c9047a 6289 wxTreeItemId * _result;
8ab979d7 6290 wxTreeEvent * _arg0;
1d99702e 6291 PyObject * _argo0 = 0;
efc5f224 6292 char *_kwnames[] = { "self", NULL };
d5c9047a 6293 char _ptemp[128];
8ab979d7
RD
6294
6295 self = self;
efc5f224 6296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6297 return NULL;
1d99702e
RD
6298 if (_argo0) {
6299 if (_argo0 == Py_None) { _arg0 = NULL; }
6300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6302 return NULL;
6303 }
6304 }
cf694132 6305{
474c48f9 6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6307 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
cf694132 6308
474c48f9 6309 wxPyEndAllowThreads(__tstate);
4dfaa61e 6310 if (PyErr_Occurred()) return NULL;
cf694132 6311} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6312 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6313 return _resultobj;
6314}
6315
d5c9047a 6316#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6317static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6318 PyObject * _resultobj;
d5c9047a 6319 wxTreeItemId * _result;
8ab979d7 6320 wxTreeEvent * _arg0;
1d99702e 6321 PyObject * _argo0 = 0;
efc5f224 6322 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6323 char _ptemp[128];
6324
6325 self = self;
efc5f224 6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6327 return NULL;
1d99702e
RD
6328 if (_argo0) {
6329 if (_argo0 == Py_None) { _arg0 = NULL; }
6330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6332 return NULL;
6333 }
6334 }
cf694132 6335{
474c48f9 6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6337 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
cf694132 6338
474c48f9 6339 wxPyEndAllowThreads(__tstate);
4dfaa61e 6340 if (PyErr_Occurred()) return NULL;
cf694132 6341} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6342 _resultobj = Py_BuildValue("s",_ptemp);
6343 return _resultobj;
6344}
6345
d5c9047a 6346#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6347static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6348 PyObject * _resultobj;
d5c9047a 6349 wxPoint * _result;
8ab979d7 6350 wxTreeEvent * _arg0;
1d99702e 6351 PyObject * _argo0 = 0;
efc5f224 6352 char *_kwnames[] = { "self", NULL };
d5c9047a 6353 char _ptemp[128];
8ab979d7
RD
6354
6355 self = self;
efc5f224 6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6357 return NULL;
1d99702e
RD
6358 if (_argo0) {
6359 if (_argo0 == Py_None) { _arg0 = NULL; }
6360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6362 return NULL;
6363 }
6364 }
cf694132 6365{
474c48f9 6366 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6367 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
cf694132 6368
474c48f9 6369 wxPyEndAllowThreads(__tstate);
4dfaa61e 6370 if (PyErr_Occurred()) return NULL;
cf694132 6371} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6372 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6373 return _resultobj;
6374}
6375
65191ae8
RD
6376#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6377static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6378 PyObject * _resultobj;
6379 wxKeyEvent * _result;
6380 wxTreeEvent * _arg0;
6381 PyObject * _argo0 = 0;
6382 char *_kwnames[] = { "self", NULL };
6383 char _ptemp[128];
6384
6385 self = self;
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6387 return NULL;
6388 if (_argo0) {
6389 if (_argo0 == Py_None) { _arg0 = NULL; }
6390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6392 return NULL;
6393 }
6394 }
6395{
474c48f9 6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6397 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
65191ae8
RD
6398 _result = (wxKeyEvent *) &_result_ref;
6399
474c48f9 6400 wxPyEndAllowThreads(__tstate);
65191ae8
RD
6401 if (PyErr_Occurred()) return NULL;
6402} if (_result) {
6403 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6404 _resultobj = Py_BuildValue("s",_ptemp);
6405 } else {
6406 Py_INCREF(Py_None);
6407 _resultobj = Py_None;
6408 }
6409 return _resultobj;
6410}
6411
d5c9047a 6412#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 6413static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6414 PyObject * _resultobj;
d5c9047a 6415 int _result;
8ab979d7 6416 wxTreeEvent * _arg0;
1d99702e 6417 PyObject * _argo0 = 0;
efc5f224 6418 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6419
6420 self = self;
efc5f224 6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 6422 return NULL;
1d99702e
RD
6423 if (_argo0) {
6424 if (_argo0 == Py_None) { _arg0 = NULL; }
6425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6427 return NULL;
6428 }
6429 }
cf694132 6430{
474c48f9 6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6432 _result = (int )wxTreeEvent_GetCode(_arg0);
cf694132 6433
474c48f9 6434 wxPyEndAllowThreads(__tstate);
4dfaa61e 6435 if (PyErr_Occurred()) return NULL;
cf694132 6436} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6437 return _resultobj;
6438}
6439
8bf5d46e 6440#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6441static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6442 PyObject * _resultobj;
8bf5d46e 6443 wxString * _result;
d5c9047a 6444 wxTreeEvent * _arg0;
1d99702e 6445 PyObject * _argo0 = 0;
efc5f224 6446 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6447
6448 self = self;
efc5f224 6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6450 return NULL;
1d99702e
RD
6451 if (_argo0) {
6452 if (_argo0 == Py_None) { _arg0 = NULL; }
6453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6455 return NULL;
6456 }
6457 }
cf694132 6458{
474c48f9 6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6460 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
8bf5d46e 6461 _result = (wxString *) &_result_ref;
cf694132 6462
474c48f9 6463 wxPyEndAllowThreads(__tstate);
4dfaa61e 6464 if (PyErr_Occurred()) return NULL;
8bf5d46e 6465}{
c8bc7bb8
RD
6466#if wxUSE_UNICODE
6467 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6468#else
eec92d76 6469 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6470#endif
8bf5d46e 6471}
8ab979d7
RD
6472 return _resultobj;
6473}
6474
f6bcfd97
BP
6475static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6476 wxPyTreeCtrl *src;
8ab979d7 6477 wxControl *dest;
f6bcfd97 6478 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6479 dest = (wxControl *) src;
6480 return (void *) dest;
6481}
6482
f6bcfd97
BP
6483static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6484 wxPyTreeCtrl *src;
8ab979d7 6485 wxWindow *dest;
f6bcfd97 6486 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6487 dest = (wxWindow *) src;
6488 return (void *) dest;
6489}
6490
f6bcfd97
BP
6491static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6492 wxPyTreeCtrl *src;
8ab979d7 6493 wxEvtHandler *dest;
f6bcfd97 6494 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6495 dest = (wxEvtHandler *) src;
6496 return (void *) dest;
6497}
6498
9df61a29
RD
6499static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6500 wxPyTreeCtrl *src;
6501 wxObject *dest;
6502 src = (wxPyTreeCtrl *) ptr;
6503 dest = (wxObject *) src;
6504 return (void *) dest;
6505}
6506
f6bcfd97 6507#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6508static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6509 PyObject * _resultobj;
f6bcfd97 6510 wxPyTreeCtrl * _result;
8ab979d7 6511 wxWindow * _arg0;
1d99702e 6512 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
6513 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6514 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
aa2a5b86 6515 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
b68dc582 6516 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 6517 wxString * _arg6 = (wxString *) &wxPy_TreeCtrlNameStr;
1d99702e 6518 PyObject * _argo0 = 0;
2f90df85
RD
6519 wxPoint temp;
6520 PyObject * _obj2 = 0;
6521 wxSize temp0;
6522 PyObject * _obj3 = 0;
1d99702e 6523 PyObject * _argo5 = 0;
9a74fcaf 6524 PyObject * _obj6 = 0;
efc5f224 6525 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6526 char _ptemp[128];
6527
6528 self = self;
9a74fcaf 6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 6530 return NULL;
1d99702e
RD
6531 if (_argo0) {
6532 if (_argo0 == Py_None) { _arg0 = NULL; }
6533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6535 return NULL;
6536 }
6537 }
2f90df85
RD
6538 if (_obj2)
6539{
6540 _arg2 = &temp;
6541 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6542 return NULL;
2f90df85
RD
6543}
6544 if (_obj3)
6545{
6546 _arg3 = &temp0;
6547 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6548 return NULL;
2f90df85 6549}
1d99702e
RD
6550 if (_argo5) {
6551 if (_argo5 == Py_None) { _arg5 = NULL; }
6552 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6553 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6554 return NULL;
6555 }
6556 }
9a74fcaf
RD
6557 if (_obj6)
6558{
6559 _arg6 = wxString_in_helper(_obj6);
6560 if (_arg6 == NULL)
6561 return NULL;
6562}
cf694132 6563{
474c48f9 6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6565 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 6566
474c48f9 6567 wxPyEndAllowThreads(__tstate);
4dfaa61e 6568 if (PyErr_Occurred()) return NULL;
1d99702e 6569} if (_result) {
f6bcfd97 6570 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6571 _resultobj = Py_BuildValue("s",_ptemp);
6572 } else {
6573 Py_INCREF(Py_None);
6574 _resultobj = Py_None;
6575 }
9a74fcaf
RD
6576{
6577 if (_obj6)
6578 delete _arg6;
6579}
8ab979d7
RD
6580 return _resultobj;
6581}
6582
aa2a5b86
RD
6583#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6584static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 6585 PyObject * _resultobj;
aa2a5b86
RD
6586 wxPyTreeCtrl * _result;
6587 char *_kwnames[] = { NULL };
6588 char _ptemp[128];
6589
6590 self = self;
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6592 return NULL;
6593{
474c48f9 6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6595 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
aa2a5b86 6596
474c48f9 6597 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6598 if (PyErr_Occurred()) return NULL;
6599} if (_result) {
6600 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6601 _resultobj = Py_BuildValue("s",_ptemp);
6602 } else {
6603 Py_INCREF(Py_None);
6604 _resultobj = Py_None;
6605 }
6606 return _resultobj;
6607}
6608
6609#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6610static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject * _resultobj;
6612 bool _result;
f6bcfd97 6613 wxPyTreeCtrl * _arg0;
aa2a5b86
RD
6614 wxWindow * _arg1;
6615 wxWindowID _arg2 = (wxWindowID ) -1;
6616 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6617 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6618 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6619 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 6620 wxString * _arg7 = (wxString *) &wxPy_TreeCtrlNameStr;
f6bcfd97 6621 PyObject * _argo0 = 0;
aa2a5b86
RD
6622 PyObject * _argo1 = 0;
6623 wxPoint temp;
6624 PyObject * _obj3 = 0;
6625 wxSize temp0;
6626 PyObject * _obj4 = 0;
6627 PyObject * _argo6 = 0;
9a74fcaf 6628 PyObject * _obj7 = 0;
aa2a5b86 6629 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
f6bcfd97
BP
6630
6631 self = self;
9a74fcaf 6632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
f6bcfd97
BP
6633 return NULL;
6634 if (_argo0) {
6635 if (_argo0 == Py_None) { _arg0 = NULL; }
6636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
aa2a5b86
RD
6637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6638 return NULL;
6639 }
6640 }
6641 if (_argo1) {
6642 if (_argo1 == Py_None) { _arg1 = NULL; }
6643 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6644 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
f6bcfd97
BP
6645 return NULL;
6646 }
6647 }
aa2a5b86 6648 if (_obj3)
f6bcfd97 6649{
aa2a5b86
RD
6650 _arg3 = &temp;
6651 if (! wxPoint_helper(_obj3, &_arg3))
6652 return NULL;
f6bcfd97 6653}
aa2a5b86 6654 if (_obj4)
f6bcfd97 6655{
aa2a5b86
RD
6656 _arg4 = &temp0;
6657 if (! wxSize_helper(_obj4, &_arg4))
6658 return NULL;
f6bcfd97 6659}
aa2a5b86
RD
6660 if (_argo6) {
6661 if (_argo6 == Py_None) { _arg6 = NULL; }
6662 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6663 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6664 return NULL;
6665 }
6666 }
9a74fcaf
RD
6667 if (_obj7)
6668{
6669 _arg7 = wxString_in_helper(_obj7);
6670 if (_arg7 == NULL)
6671 return NULL;
6672}
f6bcfd97 6673{
474c48f9 6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6675 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
f6bcfd97 6676
474c48f9 6677 wxPyEndAllowThreads(__tstate);
4dfaa61e 6678 if (PyErr_Occurred()) return NULL;
aa2a5b86 6679} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
6680{
6681 if (_obj7)
6682 delete _arg7;
6683}
f6bcfd97
BP
6684 return _resultobj;
6685}
6686
0220cbc1
RD
6687#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6688static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9c4165ad
RD
6689 PyObject * _resultobj;
6690 wxPyTreeCtrl * _arg0;
aa2a5b86
RD
6691 PyObject * _arg1;
6692 PyObject * _arg2;
9c4165ad 6693 PyObject * _argo0 = 0;
aa2a5b86
RD
6694 PyObject * _obj1 = 0;
6695 PyObject * _obj2 = 0;
6696 char *_kwnames[] = { "self","self","_class", NULL };
9c4165ad
RD
6697
6698 self = self;
0220cbc1 6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
9c4165ad
RD
6700 return NULL;
6701 if (_argo0) {
6702 if (_argo0 == Py_None) { _arg0 = NULL; }
6703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0220cbc1 6704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
9c4165ad
RD
6705 return NULL;
6706 }
6707 }
aa2a5b86
RD
6708{
6709 _arg1 = _obj1;
6710}
6711{
6712 _arg2 = _obj2;
6713}
9c4165ad 6714{
474c48f9 6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6716 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
9c4165ad 6717
474c48f9 6718 wxPyEndAllowThreads(__tstate);
4dfaa61e 6719 if (PyErr_Occurred()) return NULL;
9c4165ad
RD
6720} Py_INCREF(Py_None);
6721 _resultobj = Py_None;
6722 return _resultobj;
6723}
6724
d5c9047a 6725#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6726static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6727 PyObject * _resultobj;
c127177f 6728 size_t _result;
f6bcfd97 6729 wxPyTreeCtrl * _arg0;
1d99702e 6730 PyObject * _argo0 = 0;
efc5f224 6731 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6732
6733 self = self;
efc5f224 6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 6735 return NULL;
1d99702e
RD
6736 if (_argo0) {
6737 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6740 return NULL;
6741 }
6742 }
cf694132 6743{
474c48f9 6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6745 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132 6746
474c48f9 6747 wxPyEndAllowThreads(__tstate);
4dfaa61e 6748 if (PyErr_Occurred()) return NULL;
c127177f 6749} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6750 return _resultobj;
6751}
6752
d5c9047a 6753#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6754static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6755 PyObject * _resultobj;
d5c9047a 6756 unsigned int _result;
f6bcfd97 6757 wxPyTreeCtrl * _arg0;
1d99702e 6758 PyObject * _argo0 = 0;
efc5f224 6759 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6760
6761 self = self;
efc5f224 6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 6763 return NULL;
1d99702e
RD
6764 if (_argo0) {
6765 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6768 return NULL;
6769 }
6770 }
cf694132 6771{
474c48f9 6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6773 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
cf694132 6774
474c48f9 6775 wxPyEndAllowThreads(__tstate);
4dfaa61e 6776 if (PyErr_Occurred()) return NULL;
cf694132 6777} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6778 return _resultobj;
6779}
6780
d5c9047a 6781#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6782static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6783 PyObject * _resultobj;
f6bcfd97 6784 wxPyTreeCtrl * _arg0;
d5c9047a 6785 unsigned int _arg1;
1d99702e 6786 PyObject * _argo0 = 0;
efc5f224 6787 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6788
6789 self = self;
efc5f224 6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 6791 return NULL;
1d99702e
RD
6792 if (_argo0) {
6793 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6796 return NULL;
6797 }
6798 }
cf694132 6799{
474c48f9 6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6801 wxTreeCtrl_SetIndent(_arg0,_arg1);
cf694132 6802
474c48f9 6803 wxPyEndAllowThreads(__tstate);
4dfaa61e 6804 if (PyErr_Occurred()) return NULL;
cf694132 6805} Py_INCREF(Py_None);
d5c9047a 6806 _resultobj = Py_None;
8ab979d7
RD
6807 return _resultobj;
6808}
6809
d5c9047a 6810#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6811static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6812 PyObject * _resultobj;
d5c9047a 6813 wxImageList * _result;
f6bcfd97 6814 wxPyTreeCtrl * _arg0;
1d99702e 6815 PyObject * _argo0 = 0;
efc5f224 6816 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6817
6818 self = self;
efc5f224 6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6820 return NULL;
1d99702e
RD
6821 if (_argo0) {
6822 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6825 return NULL;
6826 }
6827 }
cf694132 6828{
474c48f9 6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6830 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
cf694132 6831
474c48f9 6832 wxPyEndAllowThreads(__tstate);
4dfaa61e 6833 if (PyErr_Occurred()) return NULL;
9df61a29 6834}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6835 return _resultobj;
6836}
6837
d5c9047a 6838#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6839static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6840 PyObject * _resultobj;
d5c9047a 6841 wxImageList * _result;
f6bcfd97 6842 wxPyTreeCtrl * _arg0;
1d99702e 6843 PyObject * _argo0 = 0;
efc5f224 6844 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6845
6846 self = self;
efc5f224 6847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6848 return NULL;
1d99702e
RD
6849 if (_argo0) {
6850 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6853 return NULL;
6854 }
6855 }
cf694132 6856{
474c48f9 6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6858 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
cf694132 6859
474c48f9 6860 wxPyEndAllowThreads(__tstate);
4dfaa61e 6861 if (PyErr_Occurred()) return NULL;
9df61a29 6862}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6863 return _resultobj;
6864}
6865
d5c9047a 6866#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6867static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6868 PyObject * _resultobj;
f6bcfd97 6869 wxPyTreeCtrl * _arg0;
d5c9047a 6870 wxImageList * _arg1;
1d99702e
RD
6871 PyObject * _argo0 = 0;
6872 PyObject * _argo1 = 0;
efc5f224 6873 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6874
6875 self = self;
efc5f224 6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6877 return NULL;
1d99702e
RD
6878 if (_argo0) {
6879 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6882 return NULL;
6883 }
6884 }
1d99702e
RD
6885 if (_argo1) {
6886 if (_argo1 == Py_None) { _arg1 = NULL; }
6887 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6888 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6889 return NULL;
6890 }
6891 }
cf694132 6892{
474c48f9 6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6894 wxTreeCtrl_SetImageList(_arg0,_arg1);
cf694132 6895
474c48f9 6896 wxPyEndAllowThreads(__tstate);
4dfaa61e 6897 if (PyErr_Occurred()) return NULL;
cf694132 6898} Py_INCREF(Py_None);
d5c9047a 6899 _resultobj = Py_None;
8ab979d7
RD
6900 return _resultobj;
6901}
6902
d5c9047a 6903#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 6904static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6905 PyObject * _resultobj;
f6bcfd97 6906 wxPyTreeCtrl * _arg0;
d5c9047a 6907 wxImageList * _arg1;
1d99702e
RD
6908 PyObject * _argo0 = 0;
6909 PyObject * _argo1 = 0;
efc5f224 6910 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6911
6912 self = self;
efc5f224 6913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6914 return NULL;
1d99702e
RD
6915 if (_argo0) {
6916 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6919 return NULL;
6920 }
6921 }
1d99702e
RD
6922 if (_argo1) {
6923 if (_argo1 == Py_None) { _arg1 = NULL; }
6924 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6925 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6926 return NULL;
6927 }
6928 }
cf694132 6929{
474c48f9 6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6931 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
cf694132 6932
474c48f9 6933 wxPyEndAllowThreads(__tstate);
4dfaa61e 6934 if (PyErr_Occurred()) return NULL;
cf694132 6935} Py_INCREF(Py_None);
d5c9047a 6936 _resultobj = Py_None;
8ab979d7
RD
6937 return _resultobj;
6938}
6939
aa2a5b86
RD
6940#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6941static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6942 PyObject * _resultobj;
6943 wxPyTreeCtrl * _arg0;
6944 wxImageList * _arg1;
6945 PyObject * _argo0 = 0;
6946 PyObject * _argo1 = 0;
6947 char *_kwnames[] = { "self","imageList", NULL };
6948
6949 self = self;
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
6951 return NULL;
6952 if (_argo0) {
6953 if (_argo0 == Py_None) { _arg0 = NULL; }
6954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6956 return NULL;
6957 }
6958 }
6959 if (_argo1) {
6960 if (_argo1 == Py_None) { _arg1 = NULL; }
6961 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6963 return NULL;
6964 }
6965 }
6966{
474c48f9 6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6968 wxTreeCtrl_AssignImageList(_arg0,_arg1);
aa2a5b86 6969
474c48f9 6970 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6971 if (PyErr_Occurred()) return NULL;
6972} Py_INCREF(Py_None);
6973 _resultobj = Py_None;
6974 return _resultobj;
6975}
6976
6977#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6978static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6979 PyObject * _resultobj;
6980 wxPyTreeCtrl * _arg0;
6981 wxImageList * _arg1;
6982 PyObject * _argo0 = 0;
6983 PyObject * _argo1 = 0;
6984 char *_kwnames[] = { "self","imageList", NULL };
6985
6986 self = self;
6987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
6988 return NULL;
6989 if (_argo0) {
6990 if (_argo0 == Py_None) { _arg0 = NULL; }
6991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6993 return NULL;
6994 }
6995 }
6996 if (_argo1) {
6997 if (_argo1 == Py_None) { _arg1 = NULL; }
6998 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6999 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7000 return NULL;
7001 }
7002 }
7003{
474c48f9 7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7005 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
aa2a5b86 7006
474c48f9 7007 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
7008 if (PyErr_Occurred()) return NULL;
7009} Py_INCREF(Py_None);
7010 _resultobj = Py_None;
7011 return _resultobj;
7012}
7013
b1462dfa
RD
7014#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7015static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject * _resultobj;
7017 unsigned int _result;
f6bcfd97 7018 wxPyTreeCtrl * _arg0;
b1462dfa
RD
7019 PyObject * _argo0 = 0;
7020 char *_kwnames[] = { "self", NULL };
7021
7022 self = self;
7023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
7024 return NULL;
7025 if (_argo0) {
7026 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7029 return NULL;
7030 }
7031 }
7032{
474c48f9 7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7034 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
b1462dfa 7035
474c48f9 7036 wxPyEndAllowThreads(__tstate);
4dfaa61e 7037 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7038} _resultobj = Py_BuildValue("i",_result);
7039 return _resultobj;
7040}
7041
7042#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7043static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject * _resultobj;
f6bcfd97 7045 wxPyTreeCtrl * _arg0;
b1462dfa
RD
7046 unsigned int _arg1;
7047 PyObject * _argo0 = 0;
7048 char *_kwnames[] = { "self","spacing", NULL };
7049
7050 self = self;
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
7052 return NULL;
7053 if (_argo0) {
7054 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
7057 return NULL;
7058 }
7059 }
7060{
474c48f9 7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7062 wxTreeCtrl_SetSpacing(_arg0,_arg1);
b1462dfa 7063
474c48f9 7064 wxPyEndAllowThreads(__tstate);
4dfaa61e 7065 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7066} Py_INCREF(Py_None);
7067 _resultobj = Py_None;
7068 return _resultobj;
7069}
7070
d5c9047a 7071#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 7072static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7073 PyObject * _resultobj;
d5c9047a 7074 wxString * _result;
f6bcfd97 7075 wxPyTreeCtrl * _arg0;
d5c9047a 7076 wxTreeItemId * _arg1;
1d99702e
RD
7077 PyObject * _argo0 = 0;
7078 PyObject * _argo1 = 0;
efc5f224 7079 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7080
7081 self = self;
efc5f224 7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 7083 return NULL;
1d99702e
RD
7084 if (_argo0) {
7085 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7088 return NULL;
7089 }
7090 }
1d99702e
RD
7091 if (_argo1) {
7092 if (_argo1 == Py_None) { _arg1 = NULL; }
7093 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7094 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7095 return NULL;
7096 }
7097 }
d5c9047a 7098{
474c48f9 7099 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7100 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
cf694132 7101
474c48f9 7102 wxPyEndAllowThreads(__tstate);
4dfaa61e 7103 if (PyErr_Occurred()) return NULL;
cf694132 7104}{
c8bc7bb8
RD
7105#if wxUSE_UNICODE
7106 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
7107#else
eec92d76 7108 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7109#endif
d5c9047a
RD
7110}
7111{
7112 delete _result;
7113}
8ab979d7
RD
7114 return _resultobj;
7115}
7116
694759cf 7117#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 7118static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7119 PyObject * _resultobj;
d5c9047a 7120 int _result;
f6bcfd97 7121 wxPyTreeCtrl * _arg0;
d5c9047a 7122 wxTreeItemId * _arg1;
694759cf 7123 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7124 PyObject * _argo0 = 0;
7125 PyObject * _argo1 = 0;
694759cf 7126 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
7127
7128 self = self;
694759cf 7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7130 return NULL;
1d99702e
RD
7131 if (_argo0) {
7132 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7135 return NULL;
7136 }
7137 }
1d99702e
RD
7138 if (_argo1) {
7139 if (_argo1 == Py_None) { _arg1 = NULL; }
7140 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7141 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7142 return NULL;
7143 }
7144 }
cf694132 7145{
474c48f9 7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7147 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132 7148
474c48f9 7149 wxPyEndAllowThreads(__tstate);
4dfaa61e 7150 if (PyErr_Occurred()) return NULL;
cf694132 7151} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7152 return _resultobj;
7153}
7154
d5c9047a 7155#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 7156static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7157 PyObject * _resultobj;
d5c9047a 7158 int _result;
f6bcfd97 7159 wxPyTreeCtrl * _arg0;
d5c9047a 7160 wxTreeItemId * _arg1;
1d99702e
RD
7161 PyObject * _argo0 = 0;
7162 PyObject * _argo1 = 0;
efc5f224 7163 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7164
7165 self = self;
efc5f224 7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 7167 return NULL;
1d99702e
RD
7168 if (_argo0) {
7169 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7172 return NULL;
7173 }
7174 }
1d99702e
RD
7175 if (_argo1) {
7176 if (_argo1 == Py_None) { _arg1 = NULL; }
7177 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7179 return NULL;
7180 }
7181 }
cf694132 7182{
474c48f9 7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7184 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 7185
474c48f9 7186 wxPyEndAllowThreads(__tstate);
4dfaa61e 7187 if (PyErr_Occurred()) return NULL;
cf694132 7188} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7189 return _resultobj;
7190}
7191
d5c9047a 7192#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 7193static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7194 PyObject * _resultobj;
f6bcfd97 7195 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7196 wxTreeItemId * _arg1;
7197 wxString * _arg2;
1d99702e
RD
7198 PyObject * _argo0 = 0;
7199 PyObject * _argo1 = 0;
d5c9047a 7200 PyObject * _obj2 = 0;
efc5f224 7201 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7202
7203 self = self;
efc5f224 7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7205 return NULL;
1d99702e
RD
7206 if (_argo0) {
7207 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7210 return NULL;
7211 }
7212 }
1d99702e
RD
7213 if (_argo1) {
7214 if (_argo1 == Py_None) { _arg1 = NULL; }
7215 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7216 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7217 return NULL;
7218 }
7219 }
7220{
c8bc7bb8
RD
7221 _arg2 = wxString_in_helper(_obj2);
7222 if (_arg2 == NULL)
2cd2fac8 7223 return NULL;
d5c9047a 7224}
cf694132 7225{
474c48f9 7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7227 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
cf694132 7228
474c48f9 7229 wxPyEndAllowThreads(__tstate);
4dfaa61e 7230 if (PyErr_Occurred()) return NULL;
cf694132 7231} Py_INCREF(Py_None);
d5c9047a
RD
7232 _resultobj = Py_None;
7233{
7234 if (_obj2)
7235 delete _arg2;
7236}
8ab979d7
RD
7237 return _resultobj;
7238}
7239
694759cf 7240#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7241static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7242 PyObject * _resultobj;
f6bcfd97 7243 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7244 wxTreeItemId * _arg1;
7245 int _arg2;
694759cf 7246 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7247 PyObject * _argo0 = 0;
7248 PyObject * _argo1 = 0;
694759cf 7249 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7250
7251 self = self;
694759cf 7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7253 return NULL;
1d99702e
RD
7254 if (_argo0) {
7255 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7258 return NULL;
7259 }
7260 }
1d99702e
RD
7261 if (_argo1) {
7262 if (_argo1 == Py_None) { _arg1 = NULL; }
7263 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7264 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7265 return NULL;
7266 }
7267 }
cf694132 7268{
474c48f9 7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7270 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132 7271
474c48f9 7272 wxPyEndAllowThreads(__tstate);
4dfaa61e 7273 if (PyErr_Occurred()) return NULL;
cf694132 7274} Py_INCREF(Py_None);
d5c9047a 7275 _resultobj = Py_None;
8ab979d7
RD
7276 return _resultobj;
7277}
7278
d5c9047a 7279#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7280static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7281 PyObject * _resultobj;
f6bcfd97 7282 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7283 wxTreeItemId * _arg1;
7284 int _arg2;
1d99702e
RD
7285 PyObject * _argo0 = 0;
7286 PyObject * _argo1 = 0;
efc5f224 7287 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7288
7289 self = self;
efc5f224 7290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7291 return NULL;
1d99702e
RD
7292 if (_argo0) {
7293 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7296 return NULL;
7297 }
7298 }
1d99702e
RD
7299 if (_argo1) {
7300 if (_argo1 == Py_None) { _arg1 = NULL; }
7301 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7302 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7303 return NULL;
7304 }
7305 }
cf694132 7306{
474c48f9 7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7308 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
cf694132 7309
474c48f9 7310 wxPyEndAllowThreads(__tstate);
4dfaa61e 7311 if (PyErr_Occurred()) return NULL;
cf694132
RD
7312} Py_INCREF(Py_None);
7313 _resultobj = Py_None;
7314 return _resultobj;
7315}
7316
7317#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7318static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7319 PyObject * _resultobj;
f6bcfd97 7320 wxPyTreeCtrl * _arg0;
cf694132 7321 wxTreeItemId * _arg1;
1d99702e
RD
7322 bool _arg2 = (bool ) TRUE;
7323 PyObject * _argo0 = 0;
7324 PyObject * _argo1 = 0;
7325 int tempbool2 = (int) TRUE;
efc5f224 7326 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7327
7328 self = self;
efc5f224 7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 7330 return NULL;
1d99702e
RD
7331 if (_argo0) {
7332 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7335 return NULL;
7336 }
7337 }
1d99702e
RD
7338 if (_argo1) {
7339 if (_argo1 == Py_None) { _arg1 = NULL; }
7340 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7342 return NULL;
7343 }
7344 }
7345 _arg2 = (bool ) tempbool2;
7346{
474c48f9 7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7348 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
cf694132 7349
474c48f9 7350 wxPyEndAllowThreads(__tstate);
4dfaa61e 7351 if (PyErr_Occurred()) return NULL;
cf694132 7352} Py_INCREF(Py_None);
d5c9047a 7353 _resultobj = Py_None;
8ab979d7
RD
7354 return _resultobj;
7355}
7356
f6bcfd97 7357static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7358 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7359 if (data == NULL) {
7360 data = new wxPyTreeItemData();
f6bcfd97 7361 data->SetId(item); // set the id
cf694132
RD
7362 self->SetItemData(item, data);
7363 }
7364 return data;
7365 }
efc5f224 7366static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7367 PyObject * _resultobj;
7368 wxPyTreeItemData * _result;
f6bcfd97 7369 wxPyTreeCtrl * _arg0;
cf694132 7370 wxTreeItemId * _arg1;
1d99702e
RD
7371 PyObject * _argo0 = 0;
7372 PyObject * _argo1 = 0;
efc5f224 7373 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7374 char _ptemp[128];
7375
7376 self = self;
efc5f224 7377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7378 return NULL;
1d99702e
RD
7379 if (_argo0) {
7380 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7383 return NULL;
7384 }
7385 }
1d99702e
RD
7386 if (_argo1) {
7387 if (_argo1 == Py_None) { _arg1 = NULL; }
7388 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7389 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7390 return NULL;
7391 }
7392 }
7393{
474c48f9 7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7395 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132 7396
474c48f9 7397 wxPyEndAllowThreads(__tstate);
4dfaa61e 7398 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7399} if (_result) {
7400 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7401 _resultobj = Py_BuildValue("s",_ptemp);
7402 } else {
7403 Py_INCREF(Py_None);
7404 _resultobj = Py_None;
7405 }
cf694132
RD
7406 return _resultobj;
7407}
7408
f6bcfd97
BP
7409static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7410 data->SetId(item); // set the id
7411 self->SetItemData(item, data);
c368d904 7412 }
efc5f224 7413static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7414 PyObject * _resultobj;
f6bcfd97 7415 wxPyTreeCtrl * _arg0;
d5c9047a 7416 wxTreeItemId * _arg1;
cf694132 7417 wxPyTreeItemData * _arg2;
1d99702e
RD
7418 PyObject * _argo0 = 0;
7419 PyObject * _argo1 = 0;
7420 PyObject * _argo2 = 0;
efc5f224 7421 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7422
7423 self = self;
efc5f224 7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7425 return NULL;
1d99702e
RD
7426 if (_argo0) {
7427 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7430 return NULL;
7431 }
7432 }
1d99702e
RD
7433 if (_argo1) {
7434 if (_argo1 == Py_None) { _arg1 = NULL; }
7435 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7436 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7437 return NULL;
7438 }
7439 }
1d99702e
RD
7440 if (_argo2) {
7441 if (_argo2 == Py_None) { _arg2 = NULL; }
7442 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7443 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7444 return NULL;
7445 }
7446 }
cf694132 7447{
474c48f9 7448 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7449 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132 7450
474c48f9 7451 wxPyEndAllowThreads(__tstate);
4dfaa61e 7452 if (PyErr_Occurred()) return NULL;
cf694132 7453} Py_INCREF(Py_None);
d5c9047a 7454 _resultobj = Py_None;
8ab979d7
RD
7455 return _resultobj;
7456}
7457
f6bcfd97 7458static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7459 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7460 if (data == NULL) {
7461 data = new wxPyTreeItemData();
f6bcfd97 7462 data->SetId(item); // set the id
cf694132
RD
7463 self->SetItemData(item, data);
7464 }
7465 return data->GetData();
c368d904 7466 }
efc5f224 7467static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7468 PyObject * _resultobj;
cf694132 7469 PyObject * _result;
f6bcfd97 7470 wxPyTreeCtrl * _arg0;
08127323 7471 wxTreeItemId * _arg1;
1d99702e
RD
7472 PyObject * _argo0 = 0;
7473 PyObject * _argo1 = 0;
efc5f224 7474 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7475
7476 self = self;
efc5f224 7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7478 return NULL;
1d99702e
RD
7479 if (_argo0) {
7480 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7483 return NULL;
7484 }
7485 }
1d99702e
RD
7486 if (_argo1) {
7487 if (_argo1 == Py_None) { _arg1 = NULL; }
7488 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7489 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7490 return NULL;
7491 }
7492 }
cf694132 7493{
474c48f9 7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7495 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132 7496
474c48f9 7497 wxPyEndAllowThreads(__tstate);
4dfaa61e 7498 if (PyErr_Occurred()) return NULL;
cf694132
RD
7499}{
7500 _resultobj = _result;
7501}
7502 return _resultobj;
7503}
7504
f6bcfd97 7505static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7506 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7507 if (data == NULL) {
7508 data = new wxPyTreeItemData(obj);
f6bcfd97 7509 data->SetId(item); // set the id
cf694132
RD
7510 self->SetItemData(item, data);
7511 } else
7512 data->SetData(obj);
c368d904 7513 }
efc5f224 7514static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7515 PyObject * _resultobj;
f6bcfd97 7516 wxPyTreeCtrl * _arg0;
cf694132
RD
7517 wxTreeItemId * _arg1;
7518 PyObject * _arg2;
1d99702e
RD
7519 PyObject * _argo0 = 0;
7520 PyObject * _argo1 = 0;
cf694132 7521 PyObject * _obj2 = 0;
efc5f224 7522 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7523
7524 self = self;
efc5f224 7525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 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_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
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")) {
cf694132
RD
7537 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7538 return NULL;
7539 }
7540 }
7541{
7542 _arg2 = _obj2;
7543}
7544{
474c48f9 7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7546 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132 7547
474c48f9 7548 wxPyEndAllowThreads(__tstate);
4dfaa61e 7549 if (PyErr_Occurred()) return NULL;
cf694132 7550} Py_INCREF(Py_None);
08127323
RD
7551 _resultobj = Py_None;
7552 return _resultobj;
7553}
7554
d5c9047a 7555#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7556static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7557 PyObject * _resultobj;
d5c9047a 7558 bool _result;
f6bcfd97 7559 wxPyTreeCtrl * _arg0;
d5c9047a 7560 wxTreeItemId * _arg1;
1d99702e
RD
7561 PyObject * _argo0 = 0;
7562 PyObject * _argo1 = 0;
efc5f224 7563 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7564
7565 self = self;
efc5f224 7566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7567 return NULL;
1d99702e
RD
7568 if (_argo0) {
7569 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7572 return NULL;
7573 }
7574 }
1d99702e
RD
7575 if (_argo1) {
7576 if (_argo1 == Py_None) { _arg1 = NULL; }
7577 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7578 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7579 return NULL;
7580 }
7581 }
cf694132 7582{
474c48f9 7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7584 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
cf694132 7585
474c48f9 7586 wxPyEndAllowThreads(__tstate);
4dfaa61e 7587 if (PyErr_Occurred()) return NULL;
cf694132 7588} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7589 return _resultobj;
7590}
7591
d5c9047a 7592#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7593static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7594 PyObject * _resultobj;
d5c9047a 7595 bool _result;
f6bcfd97 7596 wxPyTreeCtrl * _arg0;
d5c9047a 7597 wxTreeItemId * _arg1;
1d99702e
RD
7598 PyObject * _argo0 = 0;
7599 PyObject * _argo1 = 0;
efc5f224 7600 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7601
7602 self = self;
efc5f224 7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7604 return NULL;
1d99702e
RD
7605 if (_argo0) {
7606 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7609 return NULL;
7610 }
7611 }
1d99702e
RD
7612 if (_argo1) {
7613 if (_argo1 == Py_None) { _arg1 = NULL; }
7614 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7615 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7616 return NULL;
7617 }
7618 }
cf694132 7619{
474c48f9 7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7621 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
cf694132 7622
474c48f9 7623 wxPyEndAllowThreads(__tstate);
4dfaa61e 7624 if (PyErr_Occurred()) return NULL;
cf694132 7625} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7626 return _resultobj;
7627}
7628
d5c9047a 7629#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7630static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7631 PyObject * _resultobj;
d5c9047a 7632 bool _result;
f6bcfd97 7633 wxPyTreeCtrl * _arg0;
d5c9047a 7634 wxTreeItemId * _arg1;
1d99702e
RD
7635 PyObject * _argo0 = 0;
7636 PyObject * _argo1 = 0;
efc5f224 7637 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7638
7639 self = self;
efc5f224 7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7641 return NULL;
1d99702e
RD
7642 if (_argo0) {
7643 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7646 return NULL;
7647 }
7648 }
1d99702e
RD
7649 if (_argo1) {
7650 if (_argo1 == Py_None) { _arg1 = NULL; }
7651 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7652 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7653 return NULL;
7654 }
7655 }
cf694132 7656{
474c48f9 7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7658 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
cf694132 7659
474c48f9 7660 wxPyEndAllowThreads(__tstate);
4dfaa61e 7661 if (PyErr_Occurred()) return NULL;
cf694132 7662} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7663 return _resultobj;
7664}
7665
d5c9047a 7666#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7667static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7668 PyObject * _resultobj;
d5c9047a 7669 bool _result;
f6bcfd97 7670 wxPyTreeCtrl * _arg0;
d5c9047a 7671 wxTreeItemId * _arg1;
1d99702e
RD
7672 PyObject * _argo0 = 0;
7673 PyObject * _argo1 = 0;
efc5f224 7674 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7675
7676 self = self;
efc5f224 7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7678 return NULL;
1d99702e
RD
7679 if (_argo0) {
7680 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7683 return NULL;
7684 }
7685 }
1d99702e
RD
7686 if (_argo1) {
7687 if (_argo1 == Py_None) { _arg1 = NULL; }
7688 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7689 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7690 return NULL;
7691 }
7692 }
cf694132 7693{
474c48f9 7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7695 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
cf694132 7696
474c48f9 7697 wxPyEndAllowThreads(__tstate);
4dfaa61e 7698 if (PyErr_Occurred()) return NULL;
cf694132 7699} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7700 return _resultobj;
7701}
7702
7703#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7704static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7705 PyObject * _resultobj;
d5c9047a 7706 wxTreeItemId * _result;
f6bcfd97 7707 wxPyTreeCtrl * _arg0;
1d99702e 7708 PyObject * _argo0 = 0;
efc5f224 7709 char *_kwnames[] = { "self", NULL };
d5c9047a 7710 char _ptemp[128];
8ab979d7
RD
7711
7712 self = self;
efc5f224 7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7714 return NULL;
1d99702e
RD
7715 if (_argo0) {
7716 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7719 return NULL;
7720 }
7721 }
cf694132 7722{
474c48f9 7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7724 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
cf694132 7725
474c48f9 7726 wxPyEndAllowThreads(__tstate);
4dfaa61e 7727 if (PyErr_Occurred()) return NULL;
cf694132 7728} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7729 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7730 return _resultobj;
7731}
7732
7733#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7734static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7735 PyObject * _resultobj;
d5c9047a 7736 wxTreeItemId * _result;
f6bcfd97 7737 wxPyTreeCtrl * _arg0;
1d99702e 7738 PyObject * _argo0 = 0;
efc5f224 7739 char *_kwnames[] = { "self", NULL };
d5c9047a 7740 char _ptemp[128];
8ab979d7
RD
7741
7742 self = self;
efc5f224 7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7744 return NULL;
1d99702e
RD
7745 if (_argo0) {
7746 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7749 return NULL;
7750 }
7751 }
cf694132 7752{
474c48f9 7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7754 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
cf694132 7755
474c48f9 7756 wxPyEndAllowThreads(__tstate);
4dfaa61e 7757 if (PyErr_Occurred()) return NULL;
cf694132 7758} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7759 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7760 return _resultobj;
7761}
7762
eb715945
RD
7763#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7764static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7765 PyObject * _resultobj;
d5c9047a 7766 wxTreeItemId * _result;
f6bcfd97 7767 wxPyTreeCtrl * _arg0;
d5c9047a 7768 wxTreeItemId * _arg1;
1d99702e
RD
7769 PyObject * _argo0 = 0;
7770 PyObject * _argo1 = 0;
efc5f224 7771 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7772 char _ptemp[128];
8ab979d7
RD
7773
7774 self = self;
eb715945 7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7776 return NULL;
1d99702e
RD
7777 if (_argo0) {
7778 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7781 return NULL;
7782 }
7783 }
1d99702e
RD
7784 if (_argo1) {
7785 if (_argo1 == Py_None) { _arg1 = NULL; }
7786 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 7787 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
7788 return NULL;
7789 }
7790 }
cf694132 7791{
474c48f9 7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7793 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132 7794
474c48f9 7795 wxPyEndAllowThreads(__tstate);
4dfaa61e 7796 if (PyErr_Occurred()) return NULL;
cf694132 7797} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7798 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7799 return _resultobj;
7800}
7801
f6bcfd97 7802static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
474c48f9 7803 wxPyBeginBlockThreads();
d426c97e
RD
7804 PyObject* rval = PyList_New(0);
7805 wxArrayTreeItemIds array;
7806 size_t num, x;
7807 num = self->GetSelections(array);
7808 for (x=0; x < num; x++) {
c368d904
RD
7809 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7810 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
7811 PyList_Append(rval, item);
7812 }
474c48f9 7813 wxPyEndBlockThreads();
d426c97e
RD
7814 return rval;
7815 }
7816static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7817 PyObject * _resultobj;
7818 PyObject * _result;
f6bcfd97 7819 wxPyTreeCtrl * _arg0;
d426c97e
RD
7820 PyObject * _argo0 = 0;
7821 char *_kwnames[] = { "self", NULL };
7822
7823 self = self;
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7825 return NULL;
7826 if (_argo0) {
7827 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7830 return NULL;
7831 }
7832 }
7833{
474c48f9 7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7835 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e 7836
474c48f9 7837 wxPyEndAllowThreads(__tstate);
4dfaa61e 7838 if (PyErr_Occurred()) return NULL;
d426c97e
RD
7839}{
7840 _resultobj = _result;
7841}
7842 return _resultobj;
7843}
7844
bb0054cd 7845#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 7846static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7847 PyObject * _resultobj;
7848 size_t _result;
f6bcfd97 7849 wxPyTreeCtrl * _arg0;
bb0054cd 7850 wxTreeItemId * _arg1;
1d99702e
RD
7851 bool _arg2 = (bool ) TRUE;
7852 PyObject * _argo0 = 0;
7853 PyObject * _argo1 = 0;
7854 int tempbool2 = (int) TRUE;
efc5f224 7855 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
7856
7857 self = self;
efc5f224 7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 7859 return NULL;
1d99702e
RD
7860 if (_argo0) {
7861 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
7864 return NULL;
7865 }
7866 }
1d99702e
RD
7867 if (_argo1) {
7868 if (_argo1 == Py_None) { _arg1 = NULL; }
7869 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
7870 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7871 return NULL;
7872 }
7873 }
7874 _arg2 = (bool ) tempbool2;
7875{
474c48f9 7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7877 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
bb0054cd 7878
474c48f9 7879 wxPyEndAllowThreads(__tstate);
4dfaa61e 7880 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7881} _resultobj = Py_BuildValue("i",_result);
7882 return _resultobj;
7883}
7884
d5c9047a 7885#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 7886static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7887 PyObject * _resultobj;
d5c9047a 7888 wxTreeItemId * _result;
f6bcfd97 7889 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7890 wxTreeItemId * _arg1;
7891 long * _arg2;
1d99702e
RD
7892 PyObject * _argo0 = 0;
7893 PyObject * _argo1 = 0;
d5c9047a
RD
7894 long temp;
7895 PyObject * _obj2 = 0;
efc5f224 7896 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7897 char _ptemp[128];
8ab979d7
RD
7898
7899 self = self;
efc5f224 7900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7901 return NULL;
1d99702e
RD
7902 if (_argo0) {
7903 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7906 return NULL;
7907 }
7908 }
1d99702e
RD
7909 if (_argo1) {
7910 if (_argo1 == Py_None) { _arg1 = NULL; }
7911 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7912 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
7913 return NULL;
7914 }
7915 }
d5c9047a
RD
7916{
7917 temp = (long) PyInt_AsLong(_obj2);
7918 _arg2 = &temp;
7919}
cf694132 7920{
474c48f9 7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7922 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
cf694132 7923
474c48f9 7924 wxPyEndAllowThreads(__tstate);
4dfaa61e 7925 if (PyErr_Occurred()) return NULL;
cf694132 7926} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
7927 _resultobj = Py_BuildValue("s",_ptemp);
7928{
7929 PyObject *o;
7930 o = PyInt_FromLong((long) (*_arg2));
7931 _resultobj = t_output_helper(_resultobj, o);
7932}
8ab979d7
RD
7933 return _resultobj;
7934}
7935
d5c9047a 7936#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 7937static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7938 PyObject * _resultobj;
d5c9047a 7939 wxTreeItemId * _result;
f6bcfd97 7940 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7941 wxTreeItemId * _arg1;
7942 long * _arg2;
1d99702e
RD
7943 PyObject * _argo0 = 0;
7944 PyObject * _argo1 = 0;
d5c9047a 7945 long temp;
8ab979d7 7946 PyObject * _obj2 = 0;
efc5f224 7947 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7948 char _ptemp[128];
8ab979d7
RD
7949
7950 self = self;
efc5f224 7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7952 return NULL;
1d99702e
RD
7953 if (_argo0) {
7954 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7957 return NULL;
7958 }
7959 }
1d99702e
RD
7960 if (_argo1) {
7961 if (_argo1 == Py_None) { _arg1 = NULL; }
7962 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 7964 return NULL;
d5c9047a 7965 }
8ab979d7 7966 }
d5c9047a
RD
7967{
7968 temp = (long) PyInt_AsLong(_obj2);
7969 _arg2 = &temp;
8ab979d7 7970}
cf694132 7971{
474c48f9 7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7973 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
cf694132 7974
474c48f9 7975 wxPyEndAllowThreads(__tstate);
4dfaa61e 7976 if (PyErr_Occurred()) return NULL;
cf694132 7977} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7978 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 7979{
d5c9047a
RD
7980 PyObject *o;
7981 o = PyInt_FromLong((long) (*_arg2));
7982 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7983}
7984 return _resultobj;
7985}
7986
d5c9047a 7987#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 7988static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7989 PyObject * _resultobj;
d5c9047a 7990 wxTreeItemId * _result;
f6bcfd97 7991 wxPyTreeCtrl * _arg0;
d5c9047a 7992 wxTreeItemId * _arg1;
1d99702e
RD
7993 PyObject * _argo0 = 0;
7994 PyObject * _argo1 = 0;
efc5f224 7995 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7996 char _ptemp[128];
8ab979d7
RD
7997
7998 self = self;
efc5f224 7999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 8000 return NULL;
1d99702e
RD
8001 if (_argo0) {
8002 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8005 return NULL;
8006 }
8007 }
1d99702e
RD
8008 if (_argo1) {
8009 if (_argo1 == Py_None) { _arg1 = NULL; }
8010 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8011 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8012 return NULL;
8013 }
8014 }
cf694132 8015{
474c48f9 8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8017 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
cf694132 8018
474c48f9 8019 wxPyEndAllowThreads(__tstate);
4dfaa61e 8020 if (PyErr_Occurred()) return NULL;
cf694132 8021} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8022 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8023 return _resultobj;
8024}
8025
d5c9047a 8026#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 8027static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8028 PyObject * _resultobj;
d5c9047a 8029 wxTreeItemId * _result;
f6bcfd97 8030 wxPyTreeCtrl * _arg0;
d5c9047a 8031 wxTreeItemId * _arg1;
1d99702e
RD
8032 PyObject * _argo0 = 0;
8033 PyObject * _argo1 = 0;
efc5f224 8034 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8035 char _ptemp[128];
8ab979d7
RD
8036
8037 self = self;
efc5f224 8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 8039 return NULL;
1d99702e
RD
8040 if (_argo0) {
8041 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8044 return NULL;
8045 }
8046 }
1d99702e
RD
8047 if (_argo1) {
8048 if (_argo1 == Py_None) { _arg1 = NULL; }
8049 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8050 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8051 return NULL;
8052 }
8053 }
cf694132 8054{
474c48f9 8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8056 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
cf694132 8057
474c48f9 8058 wxPyEndAllowThreads(__tstate);
4dfaa61e 8059 if (PyErr_Occurred()) return NULL;
cf694132 8060} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8061 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8062 return _resultobj;
8063}
8064
d5c9047a 8065#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 8066static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8067 PyObject * _resultobj;
d5c9047a 8068 wxTreeItemId * _result;
f6bcfd97 8069 wxPyTreeCtrl * _arg0;
1d99702e 8070 PyObject * _argo0 = 0;
efc5f224 8071 char *_kwnames[] = { "self", NULL };
d5c9047a 8072 char _ptemp[128];
8ab979d7
RD
8073
8074 self = self;
efc5f224 8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 8076 return NULL;
1d99702e
RD
8077 if (_argo0) {
8078 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8081 return NULL;
8082 }
8083 }
cf694132 8084{
474c48f9 8085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8086 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
cf694132 8087
474c48f9 8088 wxPyEndAllowThreads(__tstate);
4dfaa61e 8089 if (PyErr_Occurred()) return NULL;
cf694132 8090} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8091 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8092 return _resultobj;
8093}
8094
d5c9047a 8095#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 8096static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8097 PyObject * _resultobj;
d5c9047a 8098 wxTreeItemId * _result;
f6bcfd97 8099 wxPyTreeCtrl * _arg0;
d5c9047a 8100 wxTreeItemId * _arg1;
1d99702e
RD
8101 PyObject * _argo0 = 0;
8102 PyObject * _argo1 = 0;
efc5f224 8103 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8104 char _ptemp[128];
8ab979d7
RD
8105
8106 self = self;
efc5f224 8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8108 return NULL;
1d99702e
RD
8109 if (_argo0) {
8110 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8113 return NULL;
8114 }
8115 }
1d99702e
RD
8116 if (_argo1) {
8117 if (_argo1 == Py_None) { _arg1 = NULL; }
8118 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8119 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8120 return NULL;
8121 }
8122 }
cf694132 8123{
474c48f9 8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8125 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
cf694132 8126
474c48f9 8127 wxPyEndAllowThreads(__tstate);
4dfaa61e 8128 if (PyErr_Occurred()) return NULL;
cf694132 8129} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8130 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8131 return _resultobj;
8132}
8133
d5c9047a 8134#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 8135static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8136 PyObject * _resultobj;
d5c9047a 8137 wxTreeItemId * _result;
f6bcfd97 8138 wxPyTreeCtrl * _arg0;
d5c9047a 8139 wxTreeItemId * _arg1;
1d99702e
RD
8140 PyObject * _argo0 = 0;
8141 PyObject * _argo1 = 0;
efc5f224 8142 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8143 char _ptemp[128];
8ab979d7
RD
8144
8145 self = self;
efc5f224 8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8147 return NULL;
1d99702e
RD
8148 if (_argo0) {
8149 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8152 return NULL;
8153 }
8154 }
1d99702e
RD
8155 if (_argo1) {
8156 if (_argo1 == Py_None) { _arg1 = NULL; }
8157 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8158 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
8159 return NULL;
8160 }
8161 }
cf694132 8162{
474c48f9 8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8164 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
cf694132 8165
474c48f9 8166 wxPyEndAllowThreads(__tstate);
4dfaa61e 8167 if (PyErr_Occurred()) return NULL;
cf694132 8168} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8169 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8170 return _resultobj;
8171}
8172
d426c97e
RD
8173#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8174static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8175 PyObject * _resultobj;
8176 wxTreeItemId * _result;
f6bcfd97 8177 wxPyTreeCtrl * _arg0;
d426c97e
RD
8178 wxTreeItemId * _arg1;
8179 PyObject * _argo0 = 0;
8180 PyObject * _argo1 = 0;
8181 char *_kwnames[] = { "self","item", NULL };
8182 char _ptemp[128];
8183
8184 self = self;
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8186 return NULL;
8187 if (_argo0) {
8188 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8191 return NULL;
8192 }
8193 }
8194 if (_argo1) {
8195 if (_argo1 == Py_None) { _arg1 = NULL; }
8196 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8197 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8198 return NULL;
8199 }
8200 }
8201{
474c48f9 8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8203 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
d426c97e 8204
474c48f9 8205 wxPyEndAllowThreads(__tstate);
4dfaa61e 8206 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8207} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8208 _resultobj = Py_BuildValue("s",_ptemp);
8209 return _resultobj;
8210}
8211
d5c9047a 8212#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8213static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8214 PyObject * _resultobj;
d5c9047a 8215 wxTreeItemId * _result;
f6bcfd97 8216 wxPyTreeCtrl * _arg0;
d5c9047a 8217 wxString * _arg1;
1d99702e
RD
8218 int _arg2 = (int ) -1;
8219 int _arg3 = (int ) -1;
8220 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8221 PyObject * _argo0 = 0;
d5c9047a 8222 PyObject * _obj1 = 0;
1d99702e 8223 PyObject * _argo4 = 0;
efc5f224 8224 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8225 char _ptemp[128];
8ab979d7
RD
8226
8227 self = self;
efc5f224 8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8229 return NULL;
1d99702e
RD
8230 if (_argo0) {
8231 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8234 return NULL;
8235 }
8236 }
d5c9047a 8237{
c8bc7bb8
RD
8238 _arg1 = wxString_in_helper(_obj1);
8239 if (_arg1 == NULL)
2cd2fac8 8240 return NULL;
d5c9047a 8241}
1d99702e
RD
8242 if (_argo4) {
8243 if (_argo4 == Py_None) { _arg4 = NULL; }
8244 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8245 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8246 return NULL;
8247 }
8248 }
cf694132 8249{
474c48f9 8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8251 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
cf694132 8252
474c48f9 8253 wxPyEndAllowThreads(__tstate);
4dfaa61e 8254 if (PyErr_Occurred()) return NULL;
cf694132 8255} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8256 _resultobj = Py_BuildValue("s",_ptemp);
8257{
8258 if (_obj1)
8259 delete _arg1;
8260}
8ab979d7
RD
8261 return _resultobj;
8262}
8263
d5c9047a 8264#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8265static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8266 PyObject * _resultobj;
d5c9047a 8267 wxTreeItemId * _result;
f6bcfd97 8268 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8269 wxTreeItemId * _arg1;
8270 wxString * _arg2;
1d99702e
RD
8271 int _arg3 = (int ) -1;
8272 int _arg4 = (int ) -1;
8273 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8274 PyObject * _argo0 = 0;
8275 PyObject * _argo1 = 0;
d5c9047a 8276 PyObject * _obj2 = 0;
1d99702e 8277 PyObject * _argo5 = 0;
efc5f224 8278 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8279 char _ptemp[128];
8ab979d7
RD
8280
8281 self = self;
efc5f224 8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8283 return NULL;
1d99702e
RD
8284 if (_argo0) {
8285 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8288 return NULL;
8289 }
8290 }
1d99702e
RD
8291 if (_argo1) {
8292 if (_argo1 == Py_None) { _arg1 = NULL; }
8293 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8295 return NULL;
8296 }
8297 }
8298{
c8bc7bb8
RD
8299 _arg2 = wxString_in_helper(_obj2);
8300 if (_arg2 == NULL)
2cd2fac8 8301 return NULL;
d5c9047a 8302}
1d99702e
RD
8303 if (_argo5) {
8304 if (_argo5 == Py_None) { _arg5 = NULL; }
8305 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8306 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8307 return NULL;
8308 }
8309 }
cf694132 8310{
474c48f9 8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8312 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8313
474c48f9 8314 wxPyEndAllowThreads(__tstate);
4dfaa61e 8315 if (PyErr_Occurred()) return NULL;
cf694132 8316} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8317 _resultobj = Py_BuildValue("s",_ptemp);
8318{
8319 if (_obj2)
8320 delete _arg2;
8321}
8ab979d7
RD
8322 return _resultobj;
8323}
8324
d5c9047a 8325#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8326static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8327 PyObject * _resultobj;
d5c9047a 8328 wxTreeItemId * _result;
f6bcfd97 8329 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8330 wxTreeItemId * _arg1;
8331 wxTreeItemId * _arg2;
8332 wxString * _arg3;
1d99702e
RD
8333 int _arg4 = (int ) -1;
8334 int _arg5 = (int ) -1;
8335 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8336 PyObject * _argo0 = 0;
8337 PyObject * _argo1 = 0;
8338 PyObject * _argo2 = 0;
d5c9047a 8339 PyObject * _obj3 = 0;
1d99702e 8340 PyObject * _argo6 = 0;
efc5f224 8341 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8342 char _ptemp[128];
8ab979d7
RD
8343
8344 self = self;
efc5f224 8345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8346 return NULL;
1d99702e
RD
8347 if (_argo0) {
8348 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8351 return NULL;
8352 }
8353 }
1d99702e
RD
8354 if (_argo1) {
8355 if (_argo1 == Py_None) { _arg1 = NULL; }
8356 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8357 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8358 return NULL;
8359 }
8360 }
1d99702e
RD
8361 if (_argo2) {
8362 if (_argo2 == Py_None) { _arg2 = NULL; }
8363 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8364 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8365 return NULL;
8366 }
8367 }
8368{
c8bc7bb8
RD
8369 _arg3 = wxString_in_helper(_obj3);
8370 if (_arg3 == NULL)
2cd2fac8 8371 return NULL;
d5c9047a 8372}
1d99702e
RD
8373 if (_argo6) {
8374 if (_argo6 == Py_None) { _arg6 = NULL; }
8375 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8376 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8377 return NULL;
8378 }
8379 }
cf694132 8380{
474c48f9 8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8382 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
cf694132 8383
474c48f9 8384 wxPyEndAllowThreads(__tstate);
4dfaa61e 8385 if (PyErr_Occurred()) return NULL;
cf694132 8386} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8387 _resultobj = Py_BuildValue("s",_ptemp);
8388{
8389 if (_obj3)
8390 delete _arg3;
8391}
8ab979d7
RD
8392 return _resultobj;
8393}
8394
f6bcfd97
BP
8395#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8396static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8397 PyObject * _resultobj;
8398 wxTreeItemId * _result;
8399 wxPyTreeCtrl * _arg0;
8400 wxTreeItemId * _arg1;
8401 size_t _arg2;
8402 wxString * _arg3;
8403 int _arg4 = (int ) -1;
8404 int _arg5 = (int ) -1;
55d18651 8405 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
f6bcfd97
BP
8406 PyObject * _argo0 = 0;
8407 PyObject * _argo1 = 0;
8408 PyObject * _obj3 = 0;
8409 PyObject * _argo6 = 0;
8410 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8411 char _ptemp[128];
8412
8413 self = self;
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8415 return NULL;
8416 if (_argo0) {
8417 if (_argo0 == Py_None) { _arg0 = NULL; }
8418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8420 return NULL;
8421 }
8422 }
8423 if (_argo1) {
8424 if (_argo1 == Py_None) { _arg1 = NULL; }
8425 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8426 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8427 return NULL;
8428 }
8429 }
8430{
c8bc7bb8
RD
8431 _arg3 = wxString_in_helper(_obj3);
8432 if (_arg3 == NULL)
2cd2fac8 8433 return NULL;
f6bcfd97
BP
8434}
8435 if (_argo6) {
8436 if (_argo6 == Py_None) { _arg6 = NULL; }
55d18651
RD
8437 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
8438 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
f6bcfd97
BP
8439 return NULL;
8440 }
8441 }
8442{
474c48f9 8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8444 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
f6bcfd97 8445
474c48f9 8446 wxPyEndAllowThreads(__tstate);
4dfaa61e 8447 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8448} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8449 _resultobj = Py_BuildValue("s",_ptemp);
8450{
8451 if (_obj3)
8452 delete _arg3;
8453}
8454 return _resultobj;
8455}
8456
d5c9047a 8457#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8458static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8459 PyObject * _resultobj;
d5c9047a 8460 wxTreeItemId * _result;
f6bcfd97 8461 wxPyTreeCtrl * _arg0;
d5c9047a 8462 wxTreeItemId * _arg1;
8ab979d7 8463 wxString * _arg2;
1d99702e
RD
8464 int _arg3 = (int ) -1;
8465 int _arg4 = (int ) -1;
8466 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8467 PyObject * _argo0 = 0;
8468 PyObject * _argo1 = 0;
8ab979d7 8469 PyObject * _obj2 = 0;
1d99702e 8470 PyObject * _argo5 = 0;
efc5f224 8471 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8472 char _ptemp[128];
8ab979d7
RD
8473
8474 self = self;
efc5f224 8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8476 return NULL;
1d99702e
RD
8477 if (_argo0) {
8478 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8481 return NULL;
8482 }
8483 }
1d99702e
RD
8484 if (_argo1) {
8485 if (_argo1 == Py_None) { _arg1 = NULL; }
8486 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8487 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8488 return NULL;
8489 }
8490 }
8491{
c8bc7bb8
RD
8492 _arg2 = wxString_in_helper(_obj2);
8493 if (_arg2 == NULL)
2cd2fac8 8494 return NULL;
8ab979d7 8495}
1d99702e
RD
8496 if (_argo5) {
8497 if (_argo5 == Py_None) { _arg5 = NULL; }
8498 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8499 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8500 return NULL;
8501 }
8502 }
cf694132 8503{
474c48f9 8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8505 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8506
474c48f9 8507 wxPyEndAllowThreads(__tstate);
4dfaa61e 8508 if (PyErr_Occurred()) return NULL;
cf694132 8509} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8510 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8511{
8512 if (_obj2)
8513 delete _arg2;
8514}
8515 return _resultobj;
8516}
8517
d5c9047a 8518#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8519static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8520 PyObject * _resultobj;
f6bcfd97 8521 wxPyTreeCtrl * _arg0;
d5c9047a 8522 wxTreeItemId * _arg1;
1d99702e
RD
8523 PyObject * _argo0 = 0;
8524 PyObject * _argo1 = 0;
efc5f224 8525 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8526
8527 self = self;
efc5f224 8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8529 return NULL;
1d99702e
RD
8530 if (_argo0) {
8531 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8534 return NULL;
8535 }
8536 }
1d99702e
RD
8537 if (_argo1) {
8538 if (_argo1 == Py_None) { _arg1 = NULL; }
8539 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8540 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8541 return NULL;
8542 }
8543 }
cf694132 8544{
474c48f9 8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8546 wxTreeCtrl_Delete(_arg0,*_arg1);
cf694132 8547
474c48f9 8548 wxPyEndAllowThreads(__tstate);
4dfaa61e 8549 if (PyErr_Occurred()) return NULL;
cf694132 8550} Py_INCREF(Py_None);
d5c9047a
RD
8551 _resultobj = Py_None;
8552 return _resultobj;
8553}
8554
08127323 8555#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8556static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8557 PyObject * _resultobj;
f6bcfd97 8558 wxPyTreeCtrl * _arg0;
08127323 8559 wxTreeItemId * _arg1;
1d99702e
RD
8560 PyObject * _argo0 = 0;
8561 PyObject * _argo1 = 0;
efc5f224 8562 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8563
8564 self = self;
efc5f224 8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8566 return NULL;
1d99702e
RD
8567 if (_argo0) {
8568 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8571 return NULL;
8572 }
8573 }
1d99702e
RD
8574 if (_argo1) {
8575 if (_argo1 == Py_None) { _arg1 = NULL; }
8576 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8577 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8578 return NULL;
8579 }
8580 }
cf694132 8581{
474c48f9 8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8583 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
cf694132 8584
474c48f9 8585 wxPyEndAllowThreads(__tstate);
4dfaa61e 8586 if (PyErr_Occurred()) return NULL;
cf694132 8587} Py_INCREF(Py_None);
08127323
RD
8588 _resultobj = Py_None;
8589 return _resultobj;
8590}
8591
d5c9047a 8592#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8593static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8594 PyObject * _resultobj;
f6bcfd97 8595 wxPyTreeCtrl * _arg0;
1d99702e 8596 PyObject * _argo0 = 0;
efc5f224 8597 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8598
8599 self = self;
efc5f224 8600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8601 return NULL;
1d99702e
RD
8602 if (_argo0) {
8603 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8606 return NULL;
8607 }
8608 }
cf694132 8609{
474c48f9 8610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8611 wxTreeCtrl_DeleteAllItems(_arg0);
cf694132 8612
474c48f9 8613 wxPyEndAllowThreads(__tstate);
4dfaa61e 8614 if (PyErr_Occurred()) return NULL;
cf694132 8615} Py_INCREF(Py_None);
d5c9047a
RD
8616 _resultobj = Py_None;
8617 return _resultobj;
8618}
8619
8620#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8621static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8622 PyObject * _resultobj;
f6bcfd97 8623 wxPyTreeCtrl * _arg0;
d5c9047a 8624 wxTreeItemId * _arg1;
1d99702e
RD
8625 PyObject * _argo0 = 0;
8626 PyObject * _argo1 = 0;
efc5f224 8627 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8628
8629 self = self;
efc5f224 8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8631 return NULL;
1d99702e
RD
8632 if (_argo0) {
8633 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8636 return NULL;
8637 }
8638 }
1d99702e
RD
8639 if (_argo1) {
8640 if (_argo1 == Py_None) { _arg1 = NULL; }
8641 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8642 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8643 return NULL;
8644 }
8645 }
cf694132 8646{
474c48f9 8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8648 wxTreeCtrl_Expand(_arg0,*_arg1);
cf694132 8649
474c48f9 8650 wxPyEndAllowThreads(__tstate);
4dfaa61e 8651 if (PyErr_Occurred()) return NULL;
cf694132 8652} Py_INCREF(Py_None);
d5c9047a
RD
8653 _resultobj = Py_None;
8654 return _resultobj;
8655}
8656
8657#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8658static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8659 PyObject * _resultobj;
f6bcfd97 8660 wxPyTreeCtrl * _arg0;
d5c9047a 8661 wxTreeItemId * _arg1;
1d99702e
RD
8662 PyObject * _argo0 = 0;
8663 PyObject * _argo1 = 0;
efc5f224 8664 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8665
8666 self = self;
efc5f224 8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8668 return NULL;
1d99702e
RD
8669 if (_argo0) {
8670 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8673 return NULL;
8674 }
8675 }
1d99702e
RD
8676 if (_argo1) {
8677 if (_argo1 == Py_None) { _arg1 = NULL; }
8678 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8679 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8680 return NULL;
8681 }
8682 }
cf694132 8683{
474c48f9 8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8685 wxTreeCtrl_Collapse(_arg0,*_arg1);
cf694132 8686
474c48f9 8687 wxPyEndAllowThreads(__tstate);
4dfaa61e 8688 if (PyErr_Occurred()) return NULL;
cf694132 8689} Py_INCREF(Py_None);
d5c9047a
RD
8690 _resultobj = Py_None;
8691 return _resultobj;
8692}
8693
8694#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8695static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8696 PyObject * _resultobj;
f6bcfd97 8697 wxPyTreeCtrl * _arg0;
d5c9047a 8698 wxTreeItemId * _arg1;
1d99702e
RD
8699 PyObject * _argo0 = 0;
8700 PyObject * _argo1 = 0;
efc5f224 8701 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8702
8703 self = self;
efc5f224 8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8705 return NULL;
1d99702e
RD
8706 if (_argo0) {
8707 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8710 return NULL;
8711 }
8712 }
1d99702e
RD
8713 if (_argo1) {
8714 if (_argo1 == Py_None) { _arg1 = NULL; }
8715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8717 return NULL;
8718 }
8719 }
cf694132 8720{
474c48f9 8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8722 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
cf694132 8723
474c48f9 8724 wxPyEndAllowThreads(__tstate);
4dfaa61e 8725 if (PyErr_Occurred()) return NULL;
cf694132 8726} Py_INCREF(Py_None);
d5c9047a
RD
8727 _resultobj = Py_None;
8728 return _resultobj;
8729}
8730
8731#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8732static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8733 PyObject * _resultobj;
f6bcfd97 8734 wxPyTreeCtrl * _arg0;
d5c9047a 8735 wxTreeItemId * _arg1;
1d99702e
RD
8736 PyObject * _argo0 = 0;
8737 PyObject * _argo1 = 0;
efc5f224 8738 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8739
8740 self = self;
efc5f224 8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8742 return NULL;
1d99702e
RD
8743 if (_argo0) {
8744 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8747 return NULL;
8748 }
8749 }
1d99702e
RD
8750 if (_argo1) {
8751 if (_argo1 == Py_None) { _arg1 = NULL; }
8752 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8753 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8754 return NULL;
8755 }
8756 }
cf694132 8757{
474c48f9 8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8759 wxTreeCtrl_Toggle(_arg0,*_arg1);
cf694132 8760
474c48f9 8761 wxPyEndAllowThreads(__tstate);
4dfaa61e 8762 if (PyErr_Occurred()) return NULL;
cf694132 8763} Py_INCREF(Py_None);
d5c9047a
RD
8764 _resultobj = Py_None;
8765 return _resultobj;
8766}
8767
8768#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8769static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8770 PyObject * _resultobj;
f6bcfd97 8771 wxPyTreeCtrl * _arg0;
1d99702e 8772 PyObject * _argo0 = 0;
efc5f224 8773 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8774
8775 self = self;
efc5f224 8776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8777 return NULL;
1d99702e
RD
8778 if (_argo0) {
8779 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8782 return NULL;
8783 }
8784 }
cf694132 8785{
474c48f9 8786 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8787 wxTreeCtrl_Unselect(_arg0);
cf694132 8788
474c48f9 8789 wxPyEndAllowThreads(__tstate);
4dfaa61e 8790 if (PyErr_Occurred()) return NULL;
cf694132 8791} Py_INCREF(Py_None);
d5c9047a
RD
8792 _resultobj = Py_None;
8793 return _resultobj;
8794}
8795
8bf5d46e 8796#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8797static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8798 PyObject * _resultobj;
f6bcfd97 8799 wxPyTreeCtrl * _arg0;
1d99702e 8800 PyObject * _argo0 = 0;
efc5f224 8801 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
8802
8803 self = self;
efc5f224 8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 8805 return NULL;
1d99702e
RD
8806 if (_argo0) {
8807 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
8810 return NULL;
8811 }
8812 }
8813{
474c48f9 8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8815 wxTreeCtrl_UnselectAll(_arg0);
8bf5d46e 8816
474c48f9 8817 wxPyEndAllowThreads(__tstate);
4dfaa61e 8818 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8819} Py_INCREF(Py_None);
8820 _resultobj = Py_None;
8821 return _resultobj;
8822}
8823
d5c9047a 8824#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 8825static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8826 PyObject * _resultobj;
f6bcfd97 8827 wxPyTreeCtrl * _arg0;
d5c9047a 8828 wxTreeItemId * _arg1;
1d99702e
RD
8829 PyObject * _argo0 = 0;
8830 PyObject * _argo1 = 0;
efc5f224 8831 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8832
8833 self = self;
efc5f224 8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 8835 return NULL;
1d99702e
RD
8836 if (_argo0) {
8837 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8840 return NULL;
8841 }
8842 }
1d99702e
RD
8843 if (_argo1) {
8844 if (_argo1 == Py_None) { _arg1 = NULL; }
8845 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8846 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8847 return NULL;
8848 }
8849 }
cf694132 8850{
474c48f9 8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8852 wxTreeCtrl_SelectItem(_arg0,*_arg1);
cf694132 8853
474c48f9 8854 wxPyEndAllowThreads(__tstate);
4dfaa61e 8855 if (PyErr_Occurred()) return NULL;
cf694132 8856} Py_INCREF(Py_None);
d5c9047a
RD
8857 _resultobj = Py_None;
8858 return _resultobj;
8859}
8860
8861#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 8862static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8863 PyObject * _resultobj;
f6bcfd97 8864 wxPyTreeCtrl * _arg0;
d5c9047a 8865 wxTreeItemId * _arg1;
1d99702e
RD
8866 PyObject * _argo0 = 0;
8867 PyObject * _argo1 = 0;
efc5f224 8868 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8869
8870 self = self;
efc5f224 8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 8872 return NULL;
1d99702e
RD
8873 if (_argo0) {
8874 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8877 return NULL;
8878 }
8879 }
1d99702e
RD
8880 if (_argo1) {
8881 if (_argo1 == Py_None) { _arg1 = NULL; }
8882 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8883 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8884 return NULL;
8885 }
8886 }
cf694132 8887{
474c48f9 8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8889 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
cf694132 8890
474c48f9 8891 wxPyEndAllowThreads(__tstate);
4dfaa61e 8892 if (PyErr_Occurred()) return NULL;
cf694132 8893} Py_INCREF(Py_None);
d5c9047a
RD
8894 _resultobj = Py_None;
8895 return _resultobj;
8896}
8897
8898#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 8899static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8900 PyObject * _resultobj;
f6bcfd97 8901 wxPyTreeCtrl * _arg0;
d5c9047a 8902 wxTreeItemId * _arg1;
1d99702e
RD
8903 PyObject * _argo0 = 0;
8904 PyObject * _argo1 = 0;
efc5f224 8905 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8906
8907 self = self;
efc5f224 8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 8909 return NULL;
1d99702e
RD
8910 if (_argo0) {
8911 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8914 return NULL;
8915 }
8916 }
1d99702e
RD
8917 if (_argo1) {
8918 if (_argo1 == Py_None) { _arg1 = NULL; }
8919 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8920 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8921 return NULL;
8922 }
8923 }
cf694132 8924{
474c48f9 8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8926 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
cf694132 8927
474c48f9 8928 wxPyEndAllowThreads(__tstate);
4dfaa61e 8929 if (PyErr_Occurred()) return NULL;
cf694132 8930} Py_INCREF(Py_None);
d5c9047a
RD
8931 _resultobj = Py_None;
8932 return _resultobj;
8933}
8934
8935#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 8936static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8937 PyObject * _resultobj;
f6bcfd97 8938 wxPyTreeCtrl * _arg0;
d5c9047a 8939 wxTreeItemId * _arg1;
1d99702e
RD
8940 PyObject * _argo0 = 0;
8941 PyObject * _argo1 = 0;
efc5f224 8942 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8943
8944 self = self;
efc5f224 8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 8946 return NULL;
1d99702e
RD
8947 if (_argo0) {
8948 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8951 return NULL;
8952 }
8953 }
1d99702e
RD
8954 if (_argo1) {
8955 if (_argo1 == Py_None) { _arg1 = NULL; }
8956 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8957 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8958 return NULL;
8959 }
8960 }
cf694132 8961{
474c48f9 8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8963 wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132 8964
474c48f9 8965 wxPyEndAllowThreads(__tstate);
4dfaa61e 8966 if (PyErr_Occurred()) return NULL;
cf694132 8967} Py_INCREF(Py_None);
d5c9047a 8968 _resultobj = Py_None;
8ab979d7
RD
8969 return _resultobj;
8970}
8971
d426c97e
RD
8972#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8973static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject * _resultobj;
f6bcfd97 8975 wxPyTreeCtrl * _arg0;
d426c97e
RD
8976 wxTreeItemId * _arg1;
8977 PyObject * _argo0 = 0;
8978 PyObject * _argo1 = 0;
8979 char *_kwnames[] = { "self","item", NULL };
8980
8981 self = self;
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
8983 return NULL;
8984 if (_argo0) {
8985 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8988 return NULL;
8989 }
8990 }
8991 if (_argo1) {
8992 if (_argo1 == Py_None) { _arg1 = NULL; }
8993 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8994 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8995 return NULL;
8996 }
8997 }
8998{
474c48f9 8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9000 wxTreeCtrl_SortChildren(_arg0,*_arg1);
d426c97e 9001
474c48f9 9002 wxPyEndAllowThreads(__tstate);
4dfaa61e 9003 if (PyErr_Occurred()) return NULL;
d426c97e
RD
9004} Py_INCREF(Py_None);
9005 _resultobj = Py_None;
9006 return _resultobj;
9007}
9008
b8b8dda7 9009#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 9010static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 9011 PyObject * _resultobj;
f6bcfd97 9012 wxPyTreeCtrl * _arg0;
b8b8dda7 9013 wxTreeItemId * _arg1;
b1462dfa 9014 int _arg2 = (int ) TRUE;
1d99702e
RD
9015 PyObject * _argo0 = 0;
9016 PyObject * _argo1 = 0;
efc5f224 9017 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
9018
9019 self = self;
b1462dfa 9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 9021 return NULL;
1d99702e
RD
9022 if (_argo0) {
9023 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9026 return NULL;
9027 }
9028 }
1d99702e
RD
9029 if (_argo1) {
9030 if (_argo1 == Py_None) { _arg1 = NULL; }
9031 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9032 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9033 return NULL;
9034 }
9035 }
cf694132 9036{
474c48f9 9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9038 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
cf694132 9039
474c48f9 9040 wxPyEndAllowThreads(__tstate);
4dfaa61e 9041 if (PyErr_Occurred()) return NULL;
cf694132 9042} Py_INCREF(Py_None);
b8b8dda7
RD
9043 _resultobj = Py_None;
9044 return _resultobj;
9045}
9046
9047#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 9048static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9049 PyObject * _resultobj;
9050 bool _result;
f6bcfd97 9051 wxPyTreeCtrl * _arg0;
b8b8dda7 9052 wxTreeItemId * _arg1;
1d99702e
RD
9053 PyObject * _argo0 = 0;
9054 PyObject * _argo1 = 0;
efc5f224 9055 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
9056
9057 self = self;
efc5f224 9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 9059 return NULL;
1d99702e
RD
9060 if (_argo0) {
9061 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9064 return NULL;
9065 }
9066 }
1d99702e
RD
9067 if (_argo1) {
9068 if (_argo1 == Py_None) { _arg1 = NULL; }
9069 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9070 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9071 return NULL;
9072 }
9073 }
cf694132 9074{
474c48f9 9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9076 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
cf694132 9077
474c48f9 9078 wxPyEndAllowThreads(__tstate);
4dfaa61e 9079 if (PyErr_Occurred()) return NULL;
cf694132 9080} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
9081 return _resultobj;
9082}
9083
164b735b 9084#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 9085static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9086 PyObject * _resultobj;
9087 wxTreeItemId * _result;
f6bcfd97 9088 wxPyTreeCtrl * _arg0;
b8b8dda7 9089 wxPoint * _arg1;
164b735b
RD
9090 int * _arg2;
9091 int temp;
1d99702e 9092 PyObject * _argo0 = 0;
164b735b 9093 wxPoint temp0;
2f90df85 9094 PyObject * _obj1 = 0;
efc5f224 9095 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
9096 char _ptemp[128];
9097
9098 self = self;
164b735b
RD
9099{
9100 _arg2 = &temp;
9101}
2f90df85 9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 9103 return NULL;
1d99702e
RD
9104 if (_argo0) {
9105 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9108 return NULL;
9109 }
9110 }
2f90df85 9111{
164b735b 9112 _arg1 = &temp0;
2f90df85 9113 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 9114 return NULL;
2f90df85 9115}
cf694132 9116{
474c48f9 9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9118 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132 9119
474c48f9 9120 wxPyEndAllowThreads(__tstate);
4dfaa61e 9121 if (PyErr_Occurred()) return NULL;
cf694132 9122} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 9123 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
9124{
9125 PyObject *o;
9126 o = PyInt_FromLong((long) (*_arg2));
9127 _resultobj = t_output_helper(_resultobj, o);
9128}
b8b8dda7
RD
9129 return _resultobj;
9130}
9131
b7e72427
RD
9132#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9133static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9134 PyObject * _resultobj;
f6bcfd97 9135 wxPyTreeCtrl * _arg0;
b7e72427
RD
9136 wxTreeItemId * _arg1;
9137 wxColour * _arg2;
9138 PyObject * _argo0 = 0;
9139 PyObject * _argo1 = 0;
f6bcfd97
BP
9140 wxColour temp;
9141 PyObject * _obj2 = 0;
b7e72427
RD
9142 char *_kwnames[] = { "self","item","col", NULL };
9143
9144 self = self;
f6bcfd97 9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9146 return NULL;
9147 if (_argo0) {
9148 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9151 return NULL;
9152 }
9153 }
9154 if (_argo1) {
9155 if (_argo1 == Py_None) { _arg1 = NULL; }
9156 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9157 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9158 return NULL;
9159 }
9160 }
f6bcfd97
BP
9161{
9162 _arg2 = &temp;
9163 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9164 return NULL;
f6bcfd97 9165}
b7e72427 9166{
474c48f9 9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9168 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
b7e72427 9169
474c48f9 9170 wxPyEndAllowThreads(__tstate);
4dfaa61e 9171 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9172} Py_INCREF(Py_None);
9173 _resultobj = Py_None;
9174 return _resultobj;
9175}
9176
9177#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9178static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9179 PyObject * _resultobj;
f6bcfd97 9180 wxPyTreeCtrl * _arg0;
b7e72427
RD
9181 wxTreeItemId * _arg1;
9182 wxColour * _arg2;
9183 PyObject * _argo0 = 0;
9184 PyObject * _argo1 = 0;
f6bcfd97
BP
9185 wxColour temp;
9186 PyObject * _obj2 = 0;
b7e72427
RD
9187 char *_kwnames[] = { "self","item","col", NULL };
9188
9189 self = self;
f6bcfd97 9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9191 return NULL;
9192 if (_argo0) {
9193 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9196 return NULL;
9197 }
9198 }
9199 if (_argo1) {
9200 if (_argo1 == Py_None) { _arg1 = NULL; }
9201 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9202 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9203 return NULL;
9204 }
9205 }
f6bcfd97
BP
9206{
9207 _arg2 = &temp;
9208 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9209 return NULL;
f6bcfd97 9210}
b7e72427 9211{
474c48f9 9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9213 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
b7e72427 9214
474c48f9 9215 wxPyEndAllowThreads(__tstate);
4dfaa61e 9216 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9217} Py_INCREF(Py_None);
9218 _resultobj = Py_None;
9219 return _resultobj;
9220}
9221
9222#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9223static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9224 PyObject * _resultobj;
f6bcfd97 9225 wxPyTreeCtrl * _arg0;
b7e72427
RD
9226 wxTreeItemId * _arg1;
9227 wxFont * _arg2;
9228 PyObject * _argo0 = 0;
9229 PyObject * _argo1 = 0;
9230 PyObject * _argo2 = 0;
9231 char *_kwnames[] = { "self","item","font", NULL };
9232
9233 self = self;
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9235 return NULL;
9236 if (_argo0) {
9237 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9240 return NULL;
9241 }
9242 }
9243 if (_argo1) {
9244 if (_argo1 == Py_None) { _arg1 = NULL; }
9245 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9246 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9247 return NULL;
9248 }
9249 }
9250 if (_argo2) {
9251 if (_argo2 == Py_None) { _arg2 = NULL; }
9252 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9253 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9254 return NULL;
9255 }
9256 }
9257{
474c48f9 9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9259 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
b7e72427 9260
474c48f9 9261 wxPyEndAllowThreads(__tstate);
4dfaa61e 9262 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9263} Py_INCREF(Py_None);
9264 _resultobj = Py_None;
9265 return _resultobj;
9266}
9267
74bcba0e
RD
9268static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
9269 wxRect rect;
9270 if (self->GetBoundingRect(item, rect, textOnly)) {
474c48f9 9271 wxPyBeginBlockThreads();
74bcba0e
RD
9272 wxRect* r = new wxRect(rect);
9273 PyObject* val = wxPyConstructObject((void*)r, "wxRect");
474c48f9 9274 wxPyEndBlockThreads();
74bcba0e
RD
9275 return val;
9276 }
9277 else {
9278 Py_INCREF(Py_None);
9279 return Py_None;
9280 }
9281 }
9282static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject * _resultobj;
9284 PyObject * _result;
9285 wxPyTreeCtrl * _arg0;
9286 wxTreeItemId * _arg1;
9287 int _arg2 = (int ) FALSE;
9288 PyObject * _argo0 = 0;
9289 PyObject * _argo1 = 0;
9290 char *_kwnames[] = { "self","item","textOnly", NULL };
9291
9292 self = self;
9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9294 return NULL;
9295 if (_argo0) {
9296 if (_argo0 == Py_None) { _arg0 = NULL; }
9297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9299 return NULL;
9300 }
9301 }
9302 if (_argo1) {
9303 if (_argo1 == Py_None) { _arg1 = NULL; }
9304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9306 return NULL;
9307 }
9308 }
9309{
474c48f9 9310 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9311 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
74bcba0e 9312
474c48f9 9313 wxPyEndAllowThreads(__tstate);
74bcba0e
RD
9314 if (PyErr_Occurred()) return NULL;
9315}{
9316 _resultobj = _result;
9317}
9318 return _resultobj;
9319}
9320
db34b2d4
RD
9321static void *SwigwxDirItemDataTowxObject(void *ptr) {
9322 wxDirItemData *src;
9323 wxObject *dest;
9324 src = (wxDirItemData *) ptr;
9325 dest = (wxObject *) src;
9326 return (void *) dest;
9327}
9328
9329#define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9330static PyObject *_wrap_new_wxDirItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject * _resultobj;
9332 wxDirItemData * _result;
9333 wxString * _arg0;
9334 wxString * _arg1;
9335 bool _arg2;
9336 PyObject * _obj0 = 0;
9337 PyObject * _obj1 = 0;
9338 int tempbool2;
9339 char *_kwnames[] = { "path","name","isDir", NULL };
9340 char _ptemp[128];
9341
9342 self = self;
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:new_wxDirItemData",_kwnames,&_obj0,&_obj1,&tempbool2))
9344 return NULL;
9345{
c8bc7bb8
RD
9346 _arg0 = wxString_in_helper(_obj0);
9347 if (_arg0 == NULL)
db34b2d4 9348 return NULL;
db34b2d4
RD
9349}
9350{
c8bc7bb8
RD
9351 _arg1 = wxString_in_helper(_obj1);
9352 if (_arg1 == NULL)
db34b2d4 9353 return NULL;
db34b2d4
RD
9354}
9355 _arg2 = (bool ) tempbool2;
9356{
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9358 _result = (wxDirItemData *)new_wxDirItemData(*_arg0,*_arg1,_arg2);
db34b2d4
RD
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) return NULL;
9362} if (_result) {
9363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirItemData_p");
9364 _resultobj = Py_BuildValue("s",_ptemp);
9365 } else {
9366 Py_INCREF(Py_None);
9367 _resultobj = Py_None;
9368 }
9369{
9370 if (_obj0)
9371 delete _arg0;
9372}
9373{
9374 if (_obj1)
9375 delete _arg1;
9376}
9377 return _resultobj;
9378}
9379
9380#define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9381static PyObject *_wrap_wxDirItemData_SetNewDirName(PyObject *self, PyObject *args, PyObject *kwargs) {
9382 PyObject * _resultobj;
9383 wxDirItemData * _arg0;
9384 wxString * _arg1;
9385 PyObject * _argo0 = 0;
9386 PyObject * _obj1 = 0;
9387 char *_kwnames[] = { "self","path", NULL };
9388
9389 self = self;
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_SetNewDirName",_kwnames,&_argo0,&_obj1))
9391 return NULL;
9392 if (_argo0) {
9393 if (_argo0 == Py_None) { _arg0 = NULL; }
9394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9396 return NULL;
9397 }
9398 }
9399{
c8bc7bb8
RD
9400 _arg1 = wxString_in_helper(_obj1);
9401 if (_arg1 == NULL)
db34b2d4 9402 return NULL;
db34b2d4
RD
9403}
9404{
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9406 wxDirItemData_SetNewDirName(_arg0,*_arg1);
db34b2d4
RD
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) return NULL;
9410} Py_INCREF(Py_None);
9411 _resultobj = Py_None;
9412{
9413 if (_obj1)
9414 delete _arg1;
9415}
9416 return _resultobj;
9417}
9418
9419#define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9420static PyObject *_wrap_wxDirItemData_m_path_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject * _resultobj;
9422 wxString * _result;
9423 wxDirItemData * _arg0;
9424 wxString * _arg1;
9425 PyObject * _argo0 = 0;
9426 PyObject * _obj1 = 0;
9427 char *_kwnames[] = { "self","m_path", NULL };
9428
9429 self = self;
9430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_path_set",_kwnames,&_argo0,&_obj1))
9431 return NULL;
9432 if (_argo0) {
9433 if (_argo0 == Py_None) { _arg0 = NULL; }
9434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9436 return NULL;
9437 }
9438 }
9439{
c8bc7bb8
RD
9440 _arg1 = wxString_in_helper(_obj1);
9441 if (_arg1 == NULL)
db34b2d4 9442 return NULL;
db34b2d4
RD
9443}
9444{
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9446 _result = (wxString *)wxDirItemData_m_path_set(_arg0,_arg1);
db34b2d4
RD
9447
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) return NULL;
9450}{
c8bc7bb8
RD
9451#if wxUSE_UNICODE
9452 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9453#else
db34b2d4 9454 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9455#endif
db34b2d4
RD
9456}
9457{
9458 if (_obj1)
9459 delete _arg1;
9460}
9461 return _resultobj;
9462}
9463
9464#define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9465static PyObject *_wrap_wxDirItemData_m_path_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9466 PyObject * _resultobj;
9467 wxString * _result;
9468 wxDirItemData * _arg0;
9469 PyObject * _argo0 = 0;
9470 char *_kwnames[] = { "self", NULL };
9471
9472 self = self;
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_path_get",_kwnames,&_argo0))
9474 return NULL;
9475 if (_argo0) {
9476 if (_argo0 == Py_None) { _arg0 = NULL; }
9477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9479 return NULL;
9480 }
9481 }
9482{
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9484 _result = (wxString *)wxDirItemData_m_path_get(_arg0);
db34b2d4
RD
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) return NULL;
9488}{
c8bc7bb8
RD
9489#if wxUSE_UNICODE
9490 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9491#else
db34b2d4 9492 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9493#endif
db34b2d4
RD
9494}
9495 return _resultobj;
9496}
9497
9498#define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9499static PyObject *_wrap_wxDirItemData_m_name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9500 PyObject * _resultobj;
9501 wxString * _result;
9502 wxDirItemData * _arg0;
9503 wxString * _arg1;
9504 PyObject * _argo0 = 0;
9505 PyObject * _obj1 = 0;
9506 char *_kwnames[] = { "self","m_name", NULL };
9507
9508 self = self;
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_name_set",_kwnames,&_argo0,&_obj1))
9510 return NULL;
9511 if (_argo0) {
9512 if (_argo0 == Py_None) { _arg0 = NULL; }
9513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9515 return NULL;
9516 }
9517 }
9518{
c8bc7bb8
RD
9519 _arg1 = wxString_in_helper(_obj1);
9520 if (_arg1 == NULL)
db34b2d4 9521 return NULL;
db34b2d4
RD
9522}
9523{
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9525 _result = (wxString *)wxDirItemData_m_name_set(_arg0,_arg1);
db34b2d4
RD
9526
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) return NULL;
9529}{
c8bc7bb8
RD
9530#if wxUSE_UNICODE
9531 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9532#else
db34b2d4 9533 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9534#endif
db34b2d4
RD
9535}
9536{
9537 if (_obj1)
9538 delete _arg1;
9539}
9540 return _resultobj;
9541}
9542
9543#define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9544static PyObject *_wrap_wxDirItemData_m_name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9545 PyObject * _resultobj;
9546 wxString * _result;
9547 wxDirItemData * _arg0;
9548 PyObject * _argo0 = 0;
9549 char *_kwnames[] = { "self", NULL };
9550
9551 self = self;
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_name_get",_kwnames,&_argo0))
9553 return NULL;
9554 if (_argo0) {
9555 if (_argo0 == Py_None) { _arg0 = NULL; }
9556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9558 return NULL;
9559 }
9560 }
9561{
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9563 _result = (wxString *)wxDirItemData_m_name_get(_arg0);
db34b2d4
RD
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) return NULL;
9567}{
c8bc7bb8
RD
9568#if wxUSE_UNICODE
9569 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9570#else
db34b2d4 9571 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9572#endif
db34b2d4
RD
9573}
9574 return _resultobj;
9575}
9576
9577#define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9578static PyObject *_wrap_wxDirItemData_m_isHidden_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9579 PyObject * _resultobj;
9580 bool _result;
9581 wxDirItemData * _arg0;
9582 bool _arg1;
9583 PyObject * _argo0 = 0;
9584 int tempbool1;
9585 char *_kwnames[] = { "self","m_isHidden", NULL };
9586
9587 self = self;
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isHidden_set",_kwnames,&_argo0,&tempbool1))
9589 return NULL;
9590 if (_argo0) {
9591 if (_argo0 == Py_None) { _arg0 = NULL; }
9592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9594 return NULL;
9595 }
9596 }
9597 _arg1 = (bool ) tempbool1;
9598{
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9600 _result = (bool )wxDirItemData_m_isHidden_set(_arg0,_arg1);
db34b2d4
RD
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) return NULL;
9604} _resultobj = Py_BuildValue("i",_result);
9605 return _resultobj;
9606}
9607
9608#define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9609static PyObject *_wrap_wxDirItemData_m_isHidden_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9610 PyObject * _resultobj;
9611 bool _result;
9612 wxDirItemData * _arg0;
9613 PyObject * _argo0 = 0;
9614 char *_kwnames[] = { "self", NULL };
9615
9616 self = self;
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isHidden_get",_kwnames,&_argo0))
9618 return NULL;
9619 if (_argo0) {
9620 if (_argo0 == Py_None) { _arg0 = NULL; }
9621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9623 return NULL;
9624 }
9625 }
9626{
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9628 _result = (bool )wxDirItemData_m_isHidden_get(_arg0);
db34b2d4
RD
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) return NULL;
9632} _resultobj = Py_BuildValue("i",_result);
9633 return _resultobj;
9634}
9635
9636#define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9637static PyObject *_wrap_wxDirItemData_m_isExpanded_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject * _resultobj;
9639 bool _result;
9640 wxDirItemData * _arg0;
9641 bool _arg1;
9642 PyObject * _argo0 = 0;
9643 int tempbool1;
9644 char *_kwnames[] = { "self","m_isExpanded", NULL };
9645
9646 self = self;
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isExpanded_set",_kwnames,&_argo0,&tempbool1))
9648 return NULL;
9649 if (_argo0) {
9650 if (_argo0 == Py_None) { _arg0 = NULL; }
9651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9653 return NULL;
9654 }
9655 }
9656 _arg1 = (bool ) tempbool1;
9657{
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9659 _result = (bool )wxDirItemData_m_isExpanded_set(_arg0,_arg1);
db34b2d4
RD
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) return NULL;
9663} _resultobj = Py_BuildValue("i",_result);
9664 return _resultobj;
9665}
9666
9667#define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9668static PyObject *_wrap_wxDirItemData_m_isExpanded_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject * _resultobj;
9670 bool _result;
9671 wxDirItemData * _arg0;
9672 PyObject * _argo0 = 0;
9673 char *_kwnames[] = { "self", NULL };
9674
9675 self = self;
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isExpanded_get",_kwnames,&_argo0))
9677 return NULL;
9678 if (_argo0) {
9679 if (_argo0 == Py_None) { _arg0 = NULL; }
9680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9682 return NULL;
9683 }
9684 }
9685{
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9687 _result = (bool )wxDirItemData_m_isExpanded_get(_arg0);
db34b2d4
RD
9688
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) return NULL;
9691} _resultobj = Py_BuildValue("i",_result);
9692 return _resultobj;
9693}
9694
9695#define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9696static PyObject *_wrap_wxDirItemData_m_isDir_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9697 PyObject * _resultobj;
9698 bool _result;
9699 wxDirItemData * _arg0;
9700 bool _arg1;
9701 PyObject * _argo0 = 0;
9702 int tempbool1;
9703 char *_kwnames[] = { "self","m_isDir", NULL };
9704
9705 self = self;
9706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isDir_set",_kwnames,&_argo0,&tempbool1))
9707 return NULL;
9708 if (_argo0) {
9709 if (_argo0 == Py_None) { _arg0 = NULL; }
9710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9712 return NULL;
9713 }
9714 }
9715 _arg1 = (bool ) tempbool1;
9716{
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9718 _result = (bool )wxDirItemData_m_isDir_set(_arg0,_arg1);
db34b2d4
RD
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) return NULL;
9722} _resultobj = Py_BuildValue("i",_result);
9723 return _resultobj;
9724}
9725
9726#define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9727static PyObject *_wrap_wxDirItemData_m_isDir_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject * _resultobj;
9729 bool _result;
9730 wxDirItemData * _arg0;
9731 PyObject * _argo0 = 0;
9732 char *_kwnames[] = { "self", NULL };
9733
9734 self = self;
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isDir_get",_kwnames,&_argo0))
9736 return NULL;
9737 if (_argo0) {
9738 if (_argo0 == Py_None) { _arg0 = NULL; }
9739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9741 return NULL;
9742 }
9743 }
9744{
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9746 _result = (bool )wxDirItemData_m_isDir_get(_arg0);
db34b2d4
RD
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) return NULL;
9750} _resultobj = Py_BuildValue("i",_result);
9751 return _resultobj;
9752}
9753
9754static void *SwigwxGenericDirCtrlTowxControl(void *ptr) {
9755 wxGenericDirCtrl *src;
9756 wxControl *dest;
9757 src = (wxGenericDirCtrl *) ptr;
9758 dest = (wxControl *) src;
9759 return (void *) dest;
9760}
9761
9762static void *SwigwxGenericDirCtrlTowxWindow(void *ptr) {
9763 wxGenericDirCtrl *src;
9764 wxWindow *dest;
9765 src = (wxGenericDirCtrl *) ptr;
9766 dest = (wxWindow *) src;
9767 return (void *) dest;
9768}
9769
9770static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr) {
9771 wxGenericDirCtrl *src;
9772 wxEvtHandler *dest;
9773 src = (wxGenericDirCtrl *) ptr;
9774 dest = (wxEvtHandler *) src;
9775 return (void *) dest;
9776}
9777
9778static void *SwigwxGenericDirCtrlTowxObject(void *ptr) {
9779 wxGenericDirCtrl *src;
9780 wxObject *dest;
9781 src = (wxGenericDirCtrl *) ptr;
9782 dest = (wxObject *) src;
9783 return (void *) dest;
9784}
9785
9786#define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9787static PyObject *_wrap_new_wxGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject * _resultobj;
9789 wxGenericDirCtrl * _result;
9790 wxWindow * _arg0;
9791 wxWindowID _arg1 = (wxWindowID ) -1;
9a74fcaf 9792 wxString * _arg2 = (wxString *) &wxPyDirDialogDefaultFolderStr;
db34b2d4
RD
9793 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9794 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9795 long _arg5 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
9a74fcaf 9796 wxString * _arg6 = (wxString *) &wxPyEmptyString;
db34b2d4 9797 int _arg7 = (int ) 0;
9a74fcaf 9798 wxString * _arg8 = (wxString *) &wxPy_TreeCtrlNameStr;
db34b2d4 9799 PyObject * _argo0 = 0;
9a74fcaf 9800 PyObject * _obj2 = 0;
db34b2d4
RD
9801 wxPoint temp;
9802 PyObject * _obj3 = 0;
9803 wxSize temp0;
9804 PyObject * _obj4 = 0;
9a74fcaf
RD
9805 PyObject * _obj6 = 0;
9806 PyObject * _obj8 = 0;
db34b2d4
RD
9807 char *_kwnames[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9808 char _ptemp[128];
9809
9810 self = self;
9a74fcaf 9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6,&_arg7,&_obj8))
db34b2d4
RD
9812 return NULL;
9813 if (_argo0) {
9814 if (_argo0 == Py_None) { _arg0 = NULL; }
9815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9817 return NULL;
9818 }
9819 }
9a74fcaf
RD
9820 if (_obj2)
9821{
9822 _arg2 = wxString_in_helper(_obj2);
9823 if (_arg2 == NULL)
9824 return NULL;
9825}
db34b2d4
RD
9826 if (_obj3)
9827{
9828 _arg3 = &temp;
9829 if (! wxPoint_helper(_obj3, &_arg3))
9830 return NULL;
9831}
9832 if (_obj4)
9833{
9834 _arg4 = &temp0;
9835 if (! wxSize_helper(_obj4, &_arg4))
9836 return NULL;
9a74fcaf
RD
9837}
9838 if (_obj6)
9839{
9840 _arg6 = wxString_in_helper(_obj6);
9841 if (_arg6 == NULL)
9842 return NULL;
9843}
9844 if (_obj8)
9845{
9846 _arg8 = wxString_in_helper(_obj8);
9847 if (_arg8 == NULL)
9848 return NULL;
db34b2d4
RD
9849}
9850{
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9852 _result = (wxGenericDirCtrl *)new_wxGenericDirCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7,*_arg8);
db34b2d4
RD
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) return NULL;
9856} if (_result) {
9857 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9858 _resultobj = Py_BuildValue("s",_ptemp);
9859 } else {
9860 Py_INCREF(Py_None);
9861 _resultobj = Py_None;
9862 }
9a74fcaf
RD
9863{
9864 if (_obj2)
9865 delete _arg2;
9866}
9867{
9868 if (_obj6)
9869 delete _arg6;
9870}
9871{
9872 if (_obj8)
9873 delete _arg8;
9874}
db34b2d4
RD
9875 return _resultobj;
9876}
9877
9878#define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9879static PyObject *_wrap_new_wxPreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject * _resultobj;
9881 wxGenericDirCtrl * _result;
9882 char *_kwnames[] = { NULL };
9883 char _ptemp[128];
9884
9885 self = self;
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGenericDirCtrl",_kwnames))
9887 return NULL;
9888{
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9890 _result = (wxGenericDirCtrl *)new_wxPreGenericDirCtrl();
db34b2d4
RD
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) return NULL;
9894} if (_result) {
9895 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9896 _resultobj = Py_BuildValue("s",_ptemp);
9897 } else {
9898 Py_INCREF(Py_None);
9899 _resultobj = Py_None;
9900 }
9901 return _resultobj;
9902}
9903
9904#define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9905static PyObject *_wrap_wxGenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject * _resultobj;
9907 bool _result;
9908 wxGenericDirCtrl * _arg0;
9909 wxWindow * _arg1;
9910 wxWindowID _arg2 = (wxWindowID ) -1;
9a74fcaf 9911 wxString * _arg3 = (wxString *) &wxPyDirDialogDefaultFolderStr;
db34b2d4
RD
9912 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9913 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9914 long _arg6 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
9a74fcaf 9915 wxString * _arg7 = (wxString *) &wxPyEmptyString;
db34b2d4 9916 int _arg8 = (int ) 0;
9a74fcaf 9917 wxString * _arg9 = (wxString *) &wxPy_TreeCtrlNameStr;
db34b2d4
RD
9918 PyObject * _argo0 = 0;
9919 PyObject * _argo1 = 0;
9a74fcaf 9920 PyObject * _obj3 = 0;
db34b2d4
RD
9921 wxPoint temp;
9922 PyObject * _obj4 = 0;
9923 wxSize temp0;
9924 PyObject * _obj5 = 0;
9a74fcaf
RD
9925 PyObject * _obj7 = 0;
9926 PyObject * _obj9 = 0;
db34b2d4
RD
9927 char *_kwnames[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9928
9929 self = self;
9a74fcaf 9930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7,&_arg8,&_obj9))
db34b2d4
RD
9931 return NULL;
9932 if (_argo0) {
9933 if (_argo0 == Py_None) { _arg0 = NULL; }
9934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9936 return NULL;
9937 }
9938 }
9939 if (_argo1) {
9940 if (_argo1 == Py_None) { _arg1 = NULL; }
9941 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9942 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9943 return NULL;
9944 }
9945 }
9a74fcaf
RD
9946 if (_obj3)
9947{
9948 _arg3 = wxString_in_helper(_obj3);
9949 if (_arg3 == NULL)
9950 return NULL;
9951}
db34b2d4
RD
9952 if (_obj4)
9953{
9954 _arg4 = &temp;
9955 if (! wxPoint_helper(_obj4, &_arg4))
9956 return NULL;
9957}
9958 if (_obj5)
9959{
9960 _arg5 = &temp0;
9961 if (! wxSize_helper(_obj5, &_arg5))
9962 return NULL;
9a74fcaf
RD
9963}
9964 if (_obj7)
9965{
9966 _arg7 = wxString_in_helper(_obj7);
9967 if (_arg7 == NULL)
9968 return NULL;
9969}
9970 if (_obj9)
9971{
9972 _arg9 = wxString_in_helper(_obj9);
9973 if (_arg9 == NULL)
9974 return NULL;
db34b2d4
RD
9975}
9976{
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9978 _result = (bool )wxGenericDirCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8,*_arg9);
db34b2d4
RD
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) return NULL;
9982} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
9983{
9984 if (_obj3)
9985 delete _arg3;
9986}
9987{
9988 if (_obj7)
9989 delete _arg7;
9990}
9991{
9992 if (_obj9)
9993 delete _arg9;
9994}
db34b2d4
RD
9995 return _resultobj;
9996}
9997
9998#define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
9999static PyObject *_wrap_wxGenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10000 PyObject * _resultobj;
10001 bool _result;
10002 wxGenericDirCtrl * _arg0;
10003 wxString * _arg1;
10004 PyObject * _argo0 = 0;
10005 PyObject * _obj1 = 0;
10006 char *_kwnames[] = { "self","path", NULL };
10007
10008 self = self;
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_ExpandPath",_kwnames,&_argo0,&_obj1))
10010 return NULL;
10011 if (_argo0) {
10012 if (_argo0 == Py_None) { _arg0 = NULL; }
10013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10015 return NULL;
10016 }
10017 }
10018{
c8bc7bb8
RD
10019 _arg1 = wxString_in_helper(_obj1);
10020 if (_arg1 == NULL)
db34b2d4 10021 return NULL;
db34b2d4
RD
10022}
10023{
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10025 _result = (bool )wxGenericDirCtrl_ExpandPath(_arg0,*_arg1);
db34b2d4
RD
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) return NULL;
10029} _resultobj = Py_BuildValue("i",_result);
10030{
10031 if (_obj1)
10032 delete _arg1;
10033}
10034 return _resultobj;
10035}
10036
10037#define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10038static PyObject *_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject * _resultobj;
10040 wxString * _result;
10041 wxGenericDirCtrl * _arg0;
10042 PyObject * _argo0 = 0;
10043 char *_kwnames[] = { "self", NULL };
10044
10045 self = self;
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames,&_argo0))
10047 return NULL;
10048 if (_argo0) {
10049 if (_argo0 == Py_None) { _arg0 = NULL; }
10050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10052 return NULL;
10053 }
10054 }
10055{
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10057 _result = new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0));
db34b2d4
RD
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) return NULL;
10061}{
c8bc7bb8
RD
10062#if wxUSE_UNICODE
10063 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10064#else
db34b2d4 10065 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10066#endif
db34b2d4
RD
10067}
10068{
10069 delete _result;
10070}
10071 return _resultobj;
10072}
10073
10074#define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10075static PyObject *_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10076 PyObject * _resultobj;
10077 wxGenericDirCtrl * _arg0;
10078 wxString * _arg1;
10079 PyObject * _argo0 = 0;
10080 PyObject * _obj1 = 0;
10081 char *_kwnames[] = { "self","path", NULL };
10082
10083 self = self;
10084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames,&_argo0,&_obj1))
10085 return NULL;
10086 if (_argo0) {
10087 if (_argo0 == Py_None) { _arg0 = NULL; }
10088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10090 return NULL;
10091 }
10092 }
10093{
c8bc7bb8
RD
10094 _arg1 = wxString_in_helper(_obj1);
10095 if (_arg1 == NULL)
db34b2d4 10096 return NULL;
db34b2d4
RD
10097}
10098{
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10100 wxGenericDirCtrl_SetDefaultPath(_arg0,*_arg1);
db34b2d4
RD
10101
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) return NULL;
10104} Py_INCREF(Py_None);
10105 _resultobj = Py_None;
10106{
10107 if (_obj1)
10108 delete _arg1;
10109}
10110 return _resultobj;
10111}
10112
10113#define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10114static PyObject *_wrap_wxGenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10115 PyObject * _resultobj;
10116 wxString * _result;
10117 wxGenericDirCtrl * _arg0;
10118 PyObject * _argo0 = 0;
10119 char *_kwnames[] = { "self", NULL };
10120
10121 self = self;
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetPath",_kwnames,&_argo0))
10123 return NULL;
10124 if (_argo0) {
10125 if (_argo0 == Py_None) { _arg0 = NULL; }
10126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10128 return NULL;
10129 }
10130 }
10131{
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10133 _result = new wxString (wxGenericDirCtrl_GetPath(_arg0));
db34b2d4
RD
10134
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) return NULL;
10137}{
c8bc7bb8
RD
10138#if wxUSE_UNICODE
10139 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10140#else
db34b2d4 10141 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10142#endif
db34b2d4
RD
10143}
10144{
10145 delete _result;
10146}
10147 return _resultobj;
10148}
10149
10150#define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10151static PyObject *_wrap_wxGenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject * _resultobj;
10153 wxString * _result;
10154 wxGenericDirCtrl * _arg0;
10155 PyObject * _argo0 = 0;
10156 char *_kwnames[] = { "self", NULL };
10157
10158 self = self;
10159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilePath",_kwnames,&_argo0))
10160 return NULL;
10161 if (_argo0) {
10162 if (_argo0 == Py_None) { _arg0 = NULL; }
10163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10165 return NULL;
10166 }
10167 }
10168{
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10170 _result = new wxString (wxGenericDirCtrl_GetFilePath(_arg0));
db34b2d4
RD
10171
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) return NULL;
10174}{
c8bc7bb8
RD
10175#if wxUSE_UNICODE
10176 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10177#else
db34b2d4 10178 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10179#endif
db34b2d4
RD
10180}
10181{
10182 delete _result;
10183}
10184 return _resultobj;
10185}
10186
10187#define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10188static PyObject *_wrap_wxGenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject * _resultobj;
10190 wxGenericDirCtrl * _arg0;
10191 wxString * _arg1;
10192 PyObject * _argo0 = 0;
10193 PyObject * _obj1 = 0;
10194 char *_kwnames[] = { "self","path", NULL };
10195
10196 self = self;
10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetPath",_kwnames,&_argo0,&_obj1))
10198 return NULL;
10199 if (_argo0) {
10200 if (_argo0 == Py_None) { _arg0 = NULL; }
10201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10203 return NULL;
10204 }
10205 }
10206{
c8bc7bb8
RD
10207 _arg1 = wxString_in_helper(_obj1);
10208 if (_arg1 == NULL)
db34b2d4 10209 return NULL;
db34b2d4
RD
10210}
10211{
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10213 wxGenericDirCtrl_SetPath(_arg0,*_arg1);
db34b2d4
RD
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) return NULL;
10217} Py_INCREF(Py_None);
10218 _resultobj = Py_None;
10219{
10220 if (_obj1)
10221 delete _arg1;
10222}
10223 return _resultobj;
10224}
10225
10226#define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10227static PyObject *_wrap_wxGenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10228 PyObject * _resultobj;
10229 wxGenericDirCtrl * _arg0;
10230 bool _arg1;
10231 PyObject * _argo0 = 0;
10232 int tempbool1;
10233 char *_kwnames[] = { "self","show", NULL };
10234
10235 self = self;
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames,&_argo0,&tempbool1))
10237 return NULL;
10238 if (_argo0) {
10239 if (_argo0 == Py_None) { _arg0 = NULL; }
10240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10242 return NULL;
10243 }
10244 }
10245 _arg1 = (bool ) tempbool1;
10246{
10247 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10248 wxGenericDirCtrl_ShowHidden(_arg0,_arg1);
db34b2d4
RD
10249
10250 wxPyEndAllowThreads(__tstate);
10251 if (PyErr_Occurred()) return NULL;
10252} Py_INCREF(Py_None);
10253 _resultobj = Py_None;
10254 return _resultobj;
10255}
10256
10257#define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10258static PyObject *_wrap_wxGenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject * _resultobj;
10260 bool _result;
10261 wxGenericDirCtrl * _arg0;
10262 PyObject * _argo0 = 0;
10263 char *_kwnames[] = { "self", NULL };
10264
10265 self = self;
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetShowHidden",_kwnames,&_argo0))
10267 return NULL;
10268 if (_argo0) {
10269 if (_argo0 == Py_None) { _arg0 = NULL; }
10270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10272 return NULL;
10273 }
10274 }
10275{
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10277 _result = (bool )wxGenericDirCtrl_GetShowHidden(_arg0);
db34b2d4
RD
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) return NULL;
10281} _resultobj = Py_BuildValue("i",_result);
10282 return _resultobj;
10283}
10284
10285#define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10286static PyObject *_wrap_wxGenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10287 PyObject * _resultobj;
10288 wxString * _result;
10289 wxGenericDirCtrl * _arg0;
10290 PyObject * _argo0 = 0;
10291 char *_kwnames[] = { "self", NULL };
10292
10293 self = self;
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilter",_kwnames,&_argo0))
10295 return NULL;
10296 if (_argo0) {
10297 if (_argo0 == Py_None) { _arg0 = NULL; }
10298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10300 return NULL;
10301 }
10302 }
10303{
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10305 _result = new wxString (wxGenericDirCtrl_GetFilter(_arg0));
db34b2d4
RD
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) return NULL;
10309}{
c8bc7bb8
RD
10310#if wxUSE_UNICODE
10311 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10312#else
db34b2d4 10313 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10314#endif
db34b2d4
RD
10315}
10316{
10317 delete _result;
10318}
10319 return _resultobj;
10320}
10321
10322#define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10323static PyObject *_wrap_wxGenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10324 PyObject * _resultobj;
10325 wxGenericDirCtrl * _arg0;
10326 wxString * _arg1;
10327 PyObject * _argo0 = 0;
10328 PyObject * _obj1 = 0;
10329 char *_kwnames[] = { "self","filter", NULL };
10330
10331 self = self;
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetFilter",_kwnames,&_argo0,&_obj1))
10333 return NULL;
10334 if (_argo0) {
10335 if (_argo0 == Py_None) { _arg0 = NULL; }
10336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10338 return NULL;
10339 }
10340 }
10341{
c8bc7bb8
RD
10342 _arg1 = wxString_in_helper(_obj1);
10343 if (_arg1 == NULL)
db34b2d4 10344 return NULL;
db34b2d4
RD
10345}
10346{
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10348 wxGenericDirCtrl_SetFilter(_arg0,*_arg1);
db34b2d4
RD
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) return NULL;
10352} Py_INCREF(Py_None);
10353 _resultobj = Py_None;
10354{
10355 if (_obj1)
10356 delete _arg1;
10357}
10358 return _resultobj;
10359}
10360
10361#define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10362static PyObject *_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10363 PyObject * _resultobj;
10364 int _result;
10365 wxGenericDirCtrl * _arg0;
10366 PyObject * _argo0 = 0;
10367 char *_kwnames[] = { "self", NULL };
10368
10369 self = self;
10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames,&_argo0))
10371 return NULL;
10372 if (_argo0) {
10373 if (_argo0 == Py_None) { _arg0 = NULL; }
10374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10376 return NULL;
10377 }
10378 }
10379{
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10381 _result = (int )wxGenericDirCtrl_GetFilterIndex(_arg0);
db34b2d4
RD
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) return NULL;
10385} _resultobj = Py_BuildValue("i",_result);
10386 return _resultobj;
10387}
10388
10389#define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10390static PyObject *_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10391 PyObject * _resultobj;
10392 wxGenericDirCtrl * _arg0;
10393 int _arg1;
10394 PyObject * _argo0 = 0;
10395 char *_kwnames[] = { "self","n", NULL };
10396
10397 self = self;
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames,&_argo0,&_arg1))
10399 return NULL;
10400 if (_argo0) {
10401 if (_argo0 == Py_None) { _arg0 = NULL; }
10402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10404 return NULL;
10405 }
10406 }
10407{
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10409 wxGenericDirCtrl_SetFilterIndex(_arg0,_arg1);
db34b2d4
RD
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) return NULL;
10413} Py_INCREF(Py_None);
10414 _resultobj = Py_None;
10415 return _resultobj;
10416}
10417
10418#define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10419static PyObject *_wrap_wxGenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject * _resultobj;
10421 wxTreeItemId * _result;
10422 wxGenericDirCtrl * _arg0;
10423 PyObject * _argo0 = 0;
10424 char *_kwnames[] = { "self", NULL };
10425 char _ptemp[128];
10426
10427 self = self;
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetRootId",_kwnames,&_argo0))
10429 return NULL;
10430 if (_argo0) {
10431 if (_argo0 == Py_None) { _arg0 = NULL; }
10432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10434 return NULL;
10435 }
10436 }
10437{
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10439 _result = new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0));
db34b2d4
RD
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) return NULL;
10443} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
10444 _resultobj = Py_BuildValue("s",_ptemp);
10445 return _resultobj;
10446}
10447
10448#define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10449static PyObject *_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10450 PyObject * _resultobj;
10451 wxTreeCtrl * _result;
10452 wxGenericDirCtrl * _arg0;
10453 PyObject * _argo0 = 0;
10454 char *_kwnames[] = { "self", NULL };
db34b2d4
RD
10455
10456 self = self;
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames,&_argo0))
10458 return NULL;
10459 if (_argo0) {
10460 if (_argo0 == Py_None) { _arg0 = NULL; }
10461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10463 return NULL;
10464 }
10465 }
10466{
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10468 _result = (wxTreeCtrl *)wxGenericDirCtrl_GetTreeCtrl(_arg0);
db34b2d4
RD
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) return NULL;
eb88b742 10472}{ _resultobj = wxPyMake_wxObject(_result); }
db34b2d4
RD
10473 return _resultobj;
10474}
10475
10476#define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10477static PyObject *_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject * _resultobj;
10479 wxDirFilterListCtrl * _result;
10480 wxGenericDirCtrl * _arg0;
10481 PyObject * _argo0 = 0;
10482 char *_kwnames[] = { "self", NULL };
10483 char _ptemp[128];
10484
10485 self = self;
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames,&_argo0))
10487 return NULL;
10488 if (_argo0) {
10489 if (_argo0 == Py_None) { _arg0 = NULL; }
10490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10492 return NULL;
10493 }
10494 }
10495{
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10497 _result = (wxDirFilterListCtrl *)wxGenericDirCtrl_GetFilterListCtrl(_arg0);
db34b2d4
RD
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) return NULL;
10501} if (_result) {
10502 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10503 _resultobj = Py_BuildValue("s",_ptemp);
10504 } else {
10505 Py_INCREF(Py_None);
10506 _resultobj = Py_None;
10507 }
10508 return _resultobj;
10509}
10510
10511static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr) {
10512 wxDirFilterListCtrl *src;
10513 wxChoice *dest;
10514 src = (wxDirFilterListCtrl *) ptr;
10515 dest = (wxChoice *) src;
10516 return (void *) dest;
10517}
10518
10519static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr) {
10520 wxDirFilterListCtrl *src;
10521 wxControlWithItems *dest;
10522 src = (wxDirFilterListCtrl *) ptr;
10523 dest = (wxControlWithItems *) src;
10524 return (void *) dest;
10525}
10526
10527static void *SwigwxDirFilterListCtrlTowxControl(void *ptr) {
10528 wxDirFilterListCtrl *src;
10529 wxControl *dest;
10530 src = (wxDirFilterListCtrl *) ptr;
10531 dest = (wxControl *) src;
10532 return (void *) dest;
10533}
10534
10535static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr) {
10536 wxDirFilterListCtrl *src;
10537 wxWindow *dest;
10538 src = (wxDirFilterListCtrl *) ptr;
10539 dest = (wxWindow *) src;
10540 return (void *) dest;
10541}
10542
10543static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr) {
10544 wxDirFilterListCtrl *src;
10545 wxEvtHandler *dest;
10546 src = (wxDirFilterListCtrl *) ptr;
10547 dest = (wxEvtHandler *) src;
10548 return (void *) dest;
10549}
10550
10551static void *SwigwxDirFilterListCtrlTowxObject(void *ptr) {
10552 wxDirFilterListCtrl *src;
10553 wxObject *dest;
10554 src = (wxDirFilterListCtrl *) ptr;
10555 dest = (wxObject *) src;
10556 return (void *) dest;
10557}
10558
10559#define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10560static PyObject *_wrap_new_wxDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10561 PyObject * _resultobj;
10562 wxDirFilterListCtrl * _result;
10563 wxGenericDirCtrl * _arg0;
10564 wxWindowID _arg1 = (wxWindowID ) -1;
10565 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
10566 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
10567 long _arg4 = (long ) 0;
10568 PyObject * _argo0 = 0;
10569 wxPoint temp;
10570 PyObject * _obj2 = 0;
10571 wxSize temp0;
10572 PyObject * _obj3 = 0;
10573 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
10574 char _ptemp[128];
10575
10576 self = self;
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxDirFilterListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
10578 return NULL;
10579 if (_argo0) {
10580 if (_argo0 == Py_None) { _arg0 = NULL; }
10581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10583 return NULL;
10584 }
10585 }
10586 if (_obj2)
10587{
10588 _arg2 = &temp;
10589 if (! wxPoint_helper(_obj2, &_arg2))
10590 return NULL;
10591}
10592 if (_obj3)
10593{
10594 _arg3 = &temp0;
10595 if (! wxSize_helper(_obj3, &_arg3))
10596 return NULL;
10597}
10598{
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10600 _result = (wxDirFilterListCtrl *)new_wxDirFilterListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
db34b2d4
RD
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) return NULL;
10604} if (_result) {
10605 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10606 _resultobj = Py_BuildValue("s",_ptemp);
10607 } else {
10608 Py_INCREF(Py_None);
10609 _resultobj = Py_None;
10610 }
10611 return _resultobj;
10612}
10613
10614#define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10615static PyObject *_wrap_new_wxPreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10616 PyObject * _resultobj;
10617 wxDirFilterListCtrl * _result;
10618 char *_kwnames[] = { NULL };
10619 char _ptemp[128];
10620
10621 self = self;
10622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDirFilterListCtrl",_kwnames))
10623 return NULL;
10624{
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10626 _result = (wxDirFilterListCtrl *)new_wxPreDirFilterListCtrl();
db34b2d4
RD
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) return NULL;
10630} if (_result) {
10631 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10632 _resultobj = Py_BuildValue("s",_ptemp);
10633 } else {
10634 Py_INCREF(Py_None);
10635 _resultobj = Py_None;
10636 }
10637 return _resultobj;
10638}
10639
10640#define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10641static PyObject *_wrap_wxDirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10642 PyObject * _resultobj;
10643 bool _result;
10644 wxDirFilterListCtrl * _arg0;
10645 wxGenericDirCtrl * _arg1;
10646 wxWindowID _arg2 = (wxWindowID ) -1;
10647 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10648 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10649 long _arg5 = (long ) 0;
10650 PyObject * _argo0 = 0;
10651 PyObject * _argo1 = 0;
10652 wxPoint temp;
10653 PyObject * _obj3 = 0;
10654 wxSize temp0;
10655 PyObject * _obj4 = 0;
10656 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
10657
10658 self = self;
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
10660 return NULL;
10661 if (_argo0) {
10662 if (_argo0 == Py_None) { _arg0 = NULL; }
10663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10665 return NULL;
10666 }
10667 }
10668 if (_argo1) {
10669 if (_argo1 == Py_None) { _arg1 = NULL; }
10670 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGenericDirCtrl_p")) {
10671 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10672 return NULL;
10673 }
10674 }
10675 if (_obj3)
10676{
10677 _arg3 = &temp;
10678 if (! wxPoint_helper(_obj3, &_arg3))
10679 return NULL;
10680}
10681 if (_obj4)
10682{
10683 _arg4 = &temp0;
10684 if (! wxSize_helper(_obj4, &_arg4))
10685 return NULL;
10686}
10687{
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10689 _result = (bool )wxDirFilterListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
db34b2d4
RD
10690
10691 wxPyEndAllowThreads(__tstate);
10692 if (PyErr_Occurred()) return NULL;
10693} _resultobj = Py_BuildValue("i",_result);
10694 return _resultobj;
10695}
10696
10697#define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10698static PyObject *_wrap_wxDirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
10699 PyObject * _resultobj;
10700 wxDirFilterListCtrl * _arg0;
10701 wxString * _arg1;
10702 int _arg2;
10703 PyObject * _argo0 = 0;
10704 PyObject * _obj1 = 0;
10705 char *_kwnames[] = { "self","filter","defaultFilter", NULL };
10706
10707 self = self;
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames,&_argo0,&_obj1,&_arg2))
10709 return NULL;
10710 if (_argo0) {
10711 if (_argo0 == Py_None) { _arg0 = NULL; }
10712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10714 return NULL;
10715 }
10716 }
10717{
c8bc7bb8
RD
10718 _arg1 = wxString_in_helper(_obj1);
10719 if (_arg1 == NULL)
db34b2d4 10720 return NULL;
db34b2d4
RD
10721}
10722{
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10724 wxDirFilterListCtrl_FillFilterList(_arg0,*_arg1,_arg2);
db34b2d4
RD
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) return NULL;
10728} Py_INCREF(Py_None);
10729 _resultobj = Py_None;
10730{
10731 if (_obj1)
10732 delete _arg1;
10733}
10734 return _resultobj;
10735}
10736
8ab979d7 10737static PyMethodDef controls2cMethods[] = {
db34b2d4
RD
10738 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_wxDirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
10739 { "wxDirFilterListCtrl_Create", (PyCFunction) _wrap_wxDirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10740 { "new_wxPreDirFilterListCtrl", (PyCFunction) _wrap_new_wxPreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10741 { "new_wxDirFilterListCtrl", (PyCFunction) _wrap_new_wxDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10742 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10743 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10744 { "wxGenericDirCtrl_GetRootId", (PyCFunction) _wrap_wxGenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
10745 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10746 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10747 { "wxGenericDirCtrl_SetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
10748 { "wxGenericDirCtrl_GetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
10749 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
10750 { "wxGenericDirCtrl_ShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
10751 { "wxGenericDirCtrl_SetPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
10752 { "wxGenericDirCtrl_GetFilePath", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
10753 { "wxGenericDirCtrl_GetPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
10754 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10755 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10756 { "wxGenericDirCtrl_ExpandPath", (PyCFunction) _wrap_wxGenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
10757 { "wxGenericDirCtrl_Create", (PyCFunction) _wrap_wxGenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10758 { "new_wxPreGenericDirCtrl", (PyCFunction) _wrap_new_wxPreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10759 { "new_wxGenericDirCtrl", (PyCFunction) _wrap_new_wxGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10760 { "wxDirItemData_m_isDir_get", (PyCFunction) _wrap_wxDirItemData_m_isDir_get, METH_VARARGS | METH_KEYWORDS },
10761 { "wxDirItemData_m_isDir_set", (PyCFunction) _wrap_wxDirItemData_m_isDir_set, METH_VARARGS | METH_KEYWORDS },
10762 { "wxDirItemData_m_isExpanded_get", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_get, METH_VARARGS | METH_KEYWORDS },
10763 { "wxDirItemData_m_isExpanded_set", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_set, METH_VARARGS | METH_KEYWORDS },
10764 { "wxDirItemData_m_isHidden_get", (PyCFunction) _wrap_wxDirItemData_m_isHidden_get, METH_VARARGS | METH_KEYWORDS },
10765 { "wxDirItemData_m_isHidden_set", (PyCFunction) _wrap_wxDirItemData_m_isHidden_set, METH_VARARGS | METH_KEYWORDS },
10766 { "wxDirItemData_m_name_get", (PyCFunction) _wrap_wxDirItemData_m_name_get, METH_VARARGS | METH_KEYWORDS },
10767 { "wxDirItemData_m_name_set", (PyCFunction) _wrap_wxDirItemData_m_name_set, METH_VARARGS | METH_KEYWORDS },
10768 { "wxDirItemData_m_path_get", (PyCFunction) _wrap_wxDirItemData_m_path_get, METH_VARARGS | METH_KEYWORDS },
10769 { "wxDirItemData_m_path_set", (PyCFunction) _wrap_wxDirItemData_m_path_set, METH_VARARGS | METH_KEYWORDS },
10770 { "wxDirItemData_SetNewDirName", (PyCFunction) _wrap_wxDirItemData_SetNewDirName, METH_VARARGS | METH_KEYWORDS },
10771 { "new_wxDirItemData", (PyCFunction) _wrap_new_wxDirItemData, METH_VARARGS | METH_KEYWORDS },
74bcba0e 10772 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b7e72427
RD
10773 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
10774 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10775 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10776 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
10777 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
10778 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 10779 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10780 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10781 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
10782 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10783 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
10784 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
10785 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
10786 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
10787 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
10788 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
10789 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
10790 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10791 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
10792 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
10793 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10794 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10795 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
10796 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
10797 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 10798 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10799 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
10800 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
10801 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
10802 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
10803 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
10804 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
10805 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10806 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 10807 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 10808 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10809 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10810 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
10811 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
10812 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
10813 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10814 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
10815 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
10816 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
10817 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10818 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10819 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10820 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10821 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10822 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10823 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10824 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
10825 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10826 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
10827 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10828 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
10829 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10830 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
10831 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10832 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
10833 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10834 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
10835 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
10836 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0220cbc1 10837 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10838 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10839 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10840 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10841 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10842 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
65191ae8 10843 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10844 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
10845 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
10846 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 10847 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10848 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
10849 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
10850 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
10851 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
10852 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10853 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10854 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
10855 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
10856 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10857 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
10858 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10859 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10860 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
10861 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10862 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
10863 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
10864 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10865 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10866 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
10867 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
10868 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
10869 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
10870 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
10871 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
10872 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
10873 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
10874 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
10875 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
10876 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
10877 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
dcd38683 10878 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
8381e4cd
RD
10879 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10880 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10881 { "wxListCtrl_GetItemTextColour", (PyCFunction) _wrap_wxListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
10882 { "wxListCtrl_SetItemTextColour", (PyCFunction) _wrap_wxListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224 10883 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
10884 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
10885 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
10886 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10887 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
10888 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
10889 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
10890 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 10891 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10892 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
10893 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
10894 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
10895 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10896 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
10897 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
10898 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
10899 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10900 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
10901 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
10902 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
10903 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
10904 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
10905 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
10906 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10907 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10908 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
10909 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
10910 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
10911 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
10912 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10913 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10914 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
10915 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
10916 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
10917 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
10918 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
10919 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
10920 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
10921 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10922 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10923 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10924 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
10925 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10926 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
10927 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
10928 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
10929 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
10930 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
10931 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
10932 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10933 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10934 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
10935 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
10936 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10937 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0220cbc1 10938 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10939 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10940 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 10941 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
10942 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
10943 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10944 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
10945 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
10946 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
10947 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
10948 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
10949 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10950 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10951 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10952 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
10953 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10954 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
10955 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
10956 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
10957 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10958 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
10959 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10960 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
10961 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
6e8a778a
RD
10962 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
10963 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10964 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
10965 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
059a841c 10966 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10967 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
10968 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
10969 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
10970 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
10971 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
10972 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
10973 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
10974 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
10975 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
10976 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
10977 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
10978 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
10979 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
10980 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
10981 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
10982 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
10983 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
10984 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
10985 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
10986 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10987 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
10988 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10989 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10990 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
10991 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
10992 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
10993 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
10994 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
10995 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
10996 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
10997 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
10998 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
10999 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
11000 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
11001 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
11002 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11003 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11004 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
11005 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
11006 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
11007 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
11008 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
11009 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
11010 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
11011 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
11012 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
11013 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
11014 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
11015 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
11016 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
11017 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
11018 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11019 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11020 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11021 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11022 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11023 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11024 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11025 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11026 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11027 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11028 { NULL, NULL }
11029};
1d99702e
RD
11030#ifdef __cplusplus
11031}
11032#endif
11033/*
11034 * This table is used by the pointer type-checker
11035 */
11036static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11037 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 11038 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 11039 { "_signed_long","_long",0},
b1462dfa 11040 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11041 { "_wxPrintQuality","_int",0},
11042 { "_wxPrintQuality","_signed_int",0},
11043 { "_wxPrintQuality","_unsigned_int",0},
11044 { "_wxPrintQuality","_wxWindowID",0},
11045 { "_wxPrintQuality","_uint",0},
11046 { "_wxPrintQuality","_EBool",0},
11047 { "_wxPrintQuality","_size_t",0},
c368d904 11048 { "_wxPrintQuality","_time_t",0},
1d99702e 11049 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 11050 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 11051 { "_byte","_unsigned_char",0},
db34b2d4 11052 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice},
1d99702e
RD
11053 { "_long","_unsigned_long",0},
11054 { "_long","_signed_long",0},
b1462dfa 11055 { "_size_t","_wxCoord",0},
1d99702e 11056 { "_size_t","_wxPrintQuality",0},
c368d904 11057 { "_size_t","_time_t",0},
1d99702e
RD
11058 { "_size_t","_unsigned_int",0},
11059 { "_size_t","_int",0},
11060 { "_size_t","_wxWindowID",0},
11061 { "_size_t","_uint",0},
b1462dfa 11062 { "_uint","_wxCoord",0},
1d99702e 11063 { "_uint","_wxPrintQuality",0},
c368d904 11064 { "_uint","_time_t",0},
1d99702e
RD
11065 { "_uint","_size_t",0},
11066 { "_uint","_unsigned_int",0},
11067 { "_uint","_int",0},
11068 { "_uint","_wxWindowID",0},
f6bcfd97 11069 { "_wxChar","_char",0},
1d99702e 11070 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 11071 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 11072 { "_char","_wxChar",0},
059a841c 11073 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11074 { "_EBool","_wxCoord",0},
1d99702e
RD
11075 { "_EBool","_wxPrintQuality",0},
11076 { "_EBool","_signed_int",0},
11077 { "_EBool","_int",0},
11078 { "_EBool","_wxWindowID",0},
1d99702e 11079 { "_unsigned_long","_long",0},
059a841c 11080 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11081 { "_signed_int","_wxCoord",0},
1d99702e
RD
11082 { "_signed_int","_wxPrintQuality",0},
11083 { "_signed_int","_EBool",0},
11084 { "_signed_int","_wxWindowID",0},
11085 { "_signed_int","_int",0},
1d99702e
RD
11086 { "_WXTYPE","_short",0},
11087 { "_WXTYPE","_signed_short",0},
11088 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11089 { "_unsigned_short","_WXTYPE",0},
11090 { "_unsigned_short","_short",0},
db34b2d4
RD
11091 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject},
11092 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject},
11093 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject},
9df61a29 11094 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9df61a29 11095 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9df61a29 11096 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
059a841c 11097 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
cd096152 11098 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9df61a29 11099 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9df61a29 11100 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
11101 { "_signed_short","_WXTYPE",0},
11102 { "_signed_short","_short",0},
1d99702e 11103 { "_unsigned_char","_byte",0},
db34b2d4
RD
11104 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl},
11105 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl},
f6bcfd97 11106 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
059a841c 11107 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
cd096152 11108 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 11109 { "_unsigned_int","_wxCoord",0},
1d99702e 11110 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11111 { "_unsigned_int","_time_t",0},
1d99702e
RD
11112 { "_unsigned_int","_size_t",0},
11113 { "_unsigned_int","_uint",0},
11114 { "_unsigned_int","_wxWindowID",0},
11115 { "_unsigned_int","_int",0},
1d99702e
RD
11116 { "_short","_WXTYPE",0},
11117 { "_short","_unsigned_short",0},
11118 { "_short","_signed_short",0},
db34b2d4 11119 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems},
b1462dfa 11120 { "_wxWindowID","_wxCoord",0},
1d99702e 11121 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11122 { "_wxWindowID","_time_t",0},
1d99702e
RD
11123 { "_wxWindowID","_size_t",0},
11124 { "_wxWindowID","_EBool",0},
11125 { "_wxWindowID","_uint",0},
11126 { "_wxWindowID","_int",0},
11127 { "_wxWindowID","_signed_int",0},
11128 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11129 { "_int","_wxCoord",0},
1d99702e 11130 { "_int","_wxPrintQuality",0},
c368d904 11131 { "_int","_time_t",0},
1d99702e
RD
11132 { "_int","_size_t",0},
11133 { "_int","_EBool",0},
11134 { "_int","_uint",0},
11135 { "_int","_wxWindowID",0},
11136 { "_int","_unsigned_int",0},
11137 { "_int","_signed_int",0},
c368d904
RD
11138 { "_time_t","_wxCoord",0},
11139 { "_time_t","_wxPrintQuality",0},
11140 { "_time_t","_unsigned_int",0},
11141 { "_time_t","_int",0},
11142 { "_time_t","_wxWindowID",0},
11143 { "_time_t","_uint",0},
11144 { "_time_t","_size_t",0},
b1462dfa
RD
11145 { "_wxCoord","_int",0},
11146 { "_wxCoord","_signed_int",0},
11147 { "_wxCoord","_unsigned_int",0},
11148 { "_wxCoord","_wxWindowID",0},
11149 { "_wxCoord","_uint",0},
11150 { "_wxCoord","_EBool",0},
11151 { "_wxCoord","_size_t",0},
c368d904 11152 { "_wxCoord","_time_t",0},
b1462dfa 11153 { "_wxCoord","_wxPrintQuality",0},
059a841c 11154 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
db34b2d4
RD
11155 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler},
11156 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler},
f6bcfd97 11157 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
059a841c 11158 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
cd096152 11159 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
db34b2d4
RD
11160 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow},
11161 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow},
f6bcfd97 11162 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
059a841c 11163 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
cd096152 11164 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
11165{0,0,0}};
11166
8ab979d7
RD
11167static PyObject *SWIG_globals;
11168#ifdef __cplusplus
11169extern "C"
11170#endif
1d99702e 11171SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
11172 PyObject *m, *d;
11173 SWIG_globals = SWIG_newvarlink();
11174 m = Py_InitModule("controls2c", controls2cMethods);
11175 d = PyModule_GetDict(m);
cd096152
RD
11176 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
11177 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
11178 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
11179 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
11180 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
11181 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
11182 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
11183 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
11184 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
11185 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
11186 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
11187 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
11188 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
11189 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
11190 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
11191 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
11192 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
059a841c
RD
11193 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
11194 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
11195 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
11196 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
262e41eb 11197 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED));
cd096152
RD
11198 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
11199 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
11200 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
11201 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
11202 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
11203 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
11204 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
11205 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
11206 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
11207 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
11208 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
11209 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
11210 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
11211 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
11212 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
11213 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
11214 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
11215 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
11216 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
059a841c 11217 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
cd096152 11218 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
11219 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
11220 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
11221 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
cd096152 11222 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
11223 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
11224 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
11225 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
11226 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
11227 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
11228 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
11229 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
11230 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
11231 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
11232 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
11233 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
11234 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
11235 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
11236 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
11237 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
11238 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
11239 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
11240 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
11241 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
11242 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
11243 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
11244 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
11245 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
11246 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
11247 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
11248 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
11249 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
11250 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
11251 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
11252 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
11253 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
11254 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
11255 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
11256 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
11257 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
11258 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
11259 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
11260 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
11261 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
aa2a5b86
RD
11262 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
11263 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
11264 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
11265 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
11266 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
1893b029 11267 PyDict_SetItemString(d,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS));
aa2a5b86
RD
11268 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
11269 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
11270 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
1893b029 11271 PyDict_SetItemString(d,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT));
aa2a5b86
RD
11272 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
11273 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
11274 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
11275 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
11276 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
11277 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
694759cf
RD
11278 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
11279 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
11280 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
11281 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
11282 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
11283 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
11284 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
11285 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
11286 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
11287 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
11288 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
11289 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
11290 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
11291 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
11292 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
11293 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
11294 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
11295 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
11296 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
9c4165ad
RD
11297 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
11298 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
11299 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
11300 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
11301 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
11302 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
11303 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
11304 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
11305 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
11306 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
11307 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
11308 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
11309 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
11310 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
11311 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
11312 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
11313 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
7a446686 11314 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
db34b2d4
RD
11315 PyDict_SetItemString(d,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY));
11316 PyDict_SetItemString(d,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST));
11317 PyDict_SetItemString(d,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS));
11318 PyDict_SetItemString(d,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL));
301dfd67 11319 PyDict_SetItemString(d,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS));
87439dd8
RD
11320 PyDict_SetItemString(d,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL));
11321 PyDict_SetItemString(d,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL));
9df61a29 11322
059a841c 11323 // Map renamed classes back to their common name for OOR
9df61a29
RD
11324 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11325 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
059a841c 11326 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
1d99702e
RD
11327{
11328 int i;
11329 for (i = 0; _swig_mapping[i].n1; i++)
11330 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11331}
8ab979d7 11332}