]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls2.cpp
wxMac SWIGged updates
[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_get(_swigobj) ((int ) _swigobj->m_code)
2160static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2161 PyObject * _resultobj;
f6bcfd97
BP
2162 int _result;
2163 wxListEvent * _arg0;
1d99702e 2164 PyObject * _argo0 = 0;
efc5f224 2165 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2166
2167 self = self;
f6bcfd97 2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
8ab979d7 2169 return NULL;
1d99702e
RD
2170 if (_argo0) {
2171 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
8ab979d7
RD
2174 return NULL;
2175 }
2176 }
8ab979d7 2177{
474c48f9 2178 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2179 _result = (int )wxListEvent_m_code_get(_arg0);
cf694132 2180
474c48f9 2181 wxPyEndAllowThreads(__tstate);
4dfaa61e 2182 if (PyErr_Occurred()) return NULL;
f6bcfd97 2183} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2184 return _resultobj;
2185}
2186
6e8a778a
RD
2187#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2188static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2189 PyObject * _resultobj;
f6bcfd97
BP
2190 long _result;
2191 wxListEvent * _arg0;
1d99702e 2192 PyObject * _argo0 = 0;
efc5f224 2193 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2194
2195 self = self;
6e8a778a 2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
8ab979d7 2197 return NULL;
1d99702e
RD
2198 if (_argo0) {
2199 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
8ab979d7
RD
2202 return NULL;
2203 }
2204 }
cf694132 2205{
474c48f9 2206 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2207 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
cf694132 2208
474c48f9 2209 wxPyEndAllowThreads(__tstate);
4dfaa61e 2210 if (PyErr_Occurred()) return NULL;
f6bcfd97 2211} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2212 return _resultobj;
2213}
2214
6e8a778a
RD
2215#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2216static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2217 PyObject * _resultobj;
6e8a778a 2218 long _result;
f6bcfd97 2219 wxListEvent * _arg0;
1d99702e 2220 PyObject * _argo0 = 0;
efc5f224 2221 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2222
2223 self = self;
6e8a778a 2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
8ab979d7 2225 return NULL;
1d99702e
RD
2226 if (_argo0) {
2227 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
8ab979d7
RD
2230 return NULL;
2231 }
2232 }
cf694132 2233{
474c48f9 2234 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2235 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132 2236
474c48f9 2237 wxPyEndAllowThreads(__tstate);
4dfaa61e 2238 if (PyErr_Occurred()) return NULL;
6e8a778a 2239} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2240 return _resultobj;
2241}
2242
6e8a778a
RD
2243#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2244static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2245 PyObject * _resultobj;
6e8a778a 2246 int _result;
f6bcfd97 2247 wxListEvent * _arg0;
1d99702e 2248 PyObject * _argo0 = 0;
efc5f224 2249 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2250
2251 self = self;
6e8a778a 2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
8ab979d7 2253 return NULL;
1d99702e
RD
2254 if (_argo0) {
2255 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
8ab979d7
RD
2258 return NULL;
2259 }
2260 }
cf694132 2261{
474c48f9 2262 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2263 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132 2264
474c48f9 2265 wxPyEndAllowThreads(__tstate);
4dfaa61e 2266 if (PyErr_Occurred()) return NULL;
cf694132 2267} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2268 return _resultobj;
2269}
2270
f6bcfd97
BP
2271#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2272static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2273 PyObject * _resultobj;
f6bcfd97
BP
2274 wxPoint * _result;
2275 wxListEvent * _arg0;
1d99702e 2276 PyObject * _argo0 = 0;
efc5f224 2277 char *_kwnames[] = { "self", NULL };
f6bcfd97 2278 char _ptemp[128];
8ab979d7
RD
2279
2280 self = self;
f6bcfd97 2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
8ab979d7 2282 return NULL;
1d99702e
RD
2283 if (_argo0) {
2284 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7
RD
2287 return NULL;
2288 }
2289 }
cf694132 2290{
474c48f9 2291 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2292 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132 2293
474c48f9 2294 wxPyEndAllowThreads(__tstate);
4dfaa61e 2295 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2296} if (_result) {
2297 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2298 _resultobj = Py_BuildValue("s",_ptemp);
2299 } else {
2300 Py_INCREF(Py_None);
2301 _resultobj = Py_None;
2302 }
8ab979d7
RD
2303 return _resultobj;
2304}
2305
f6bcfd97
BP
2306#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2307static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2308 PyObject * _resultobj;
f6bcfd97 2309 wxListItem * _result;
af309447 2310 wxListEvent * _arg0;
1d99702e 2311 PyObject * _argo0 = 0;
f6bcfd97 2312 char *_kwnames[] = { "self", NULL };
af309447
RD
2313
2314 self = self;
f6bcfd97 2315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2316 return NULL;
1d99702e
RD
2317 if (_argo0) {
2318 if (_argo0 == Py_None) { _arg0 = NULL; }
2319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2321 return NULL;
2322 }
2323 }
cf694132 2324{
474c48f9 2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2326 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132 2327
474c48f9 2328 wxPyEndAllowThreads(__tstate);
4dfaa61e 2329 if (PyErr_Occurred()) return NULL;
9df61a29 2330}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2331 return _resultobj;
2332}
2333
f6bcfd97
BP
2334#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2335static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2336 PyObject * _resultobj;
2337 int _result;
2338 wxListEvent * _arg0;
1d99702e 2339 PyObject * _argo0 = 0;
efc5f224 2340 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2341
2342 self = self;
f6bcfd97 2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
8ab979d7 2344 return NULL;
1d99702e
RD
2345 if (_argo0) {
2346 if (_argo0 == Py_None) { _arg0 = NULL; }
2347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
8ab979d7
RD
2349 return NULL;
2350 }
2351 }
cf694132 2352{
474c48f9 2353 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2354 _result = (int )wxListEvent_GetCode(_arg0);
cf694132 2355
474c48f9 2356 wxPyEndAllowThreads(__tstate);
4dfaa61e 2357 if (PyErr_Occurred()) return NULL;
cf694132 2358} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2359 return _resultobj;
2360}
2361
f6bcfd97
BP
2362#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2363static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2364 PyObject * _resultobj;
2365 long _result;
2366 wxListEvent * _arg0;
1d99702e 2367 PyObject * _argo0 = 0;
f6bcfd97 2368 char *_kwnames[] = { "self", NULL };
af309447
RD
2369
2370 self = self;
f6bcfd97 2371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2372 return NULL;
1d99702e
RD
2373 if (_argo0) {
2374 if (_argo0 == Py_None) { _arg0 = NULL; }
2375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2377 return NULL;
2378 }
2379 }
cf694132 2380{
474c48f9 2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2382 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132 2383
474c48f9 2384 wxPyEndAllowThreads(__tstate);
4dfaa61e 2385 if (PyErr_Occurred()) return NULL;
cf694132 2386} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2387 return _resultobj;
2388}
2389
f6bcfd97
BP
2390#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2391static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2392 PyObject * _resultobj;
f6bcfd97 2393 int _result;
8ab979d7 2394 wxListEvent * _arg0;
1d99702e 2395 PyObject * _argo0 = 0;
efc5f224 2396 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2397
2398 self = self;
f6bcfd97 2399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2400 return NULL;
1d99702e
RD
2401 if (_argo0) {
2402 if (_argo0 == Py_None) { _arg0 = NULL; }
2403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2405 return NULL;
2406 }
2407 }
cf694132 2408{
474c48f9 2409 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2410 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132 2411
474c48f9 2412 wxPyEndAllowThreads(__tstate);
4dfaa61e 2413 if (PyErr_Occurred()) return NULL;
f6bcfd97 2414} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2415 return _resultobj;
2416}
2417
f6bcfd97
BP
2418#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2419static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2420 PyObject * _resultobj;
f6bcfd97 2421 wxPoint * _result;
8ab979d7 2422 wxListEvent * _arg0;
1d99702e 2423 PyObject * _argo0 = 0;
efc5f224 2424 char *_kwnames[] = { "self", NULL };
f6bcfd97 2425 char _ptemp[128];
8ab979d7
RD
2426
2427 self = self;
f6bcfd97 2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2429 return NULL;
1d99702e
RD
2430 if (_argo0) {
2431 if (_argo0 == Py_None) { _arg0 = NULL; }
2432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2434 return NULL;
2435 }
2436 }
cf694132 2437{
474c48f9 2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2439 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132 2440
474c48f9 2441 wxPyEndAllowThreads(__tstate);
4dfaa61e 2442 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2443} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2444 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2445 return _resultobj;
2446}
2447
f6bcfd97
BP
2448#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2449static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2450 PyObject * _resultobj;
f6bcfd97 2451 wxString * _result;
af309447 2452 wxListEvent * _arg0;
1d99702e 2453 PyObject * _argo0 = 0;
f6bcfd97 2454 char *_kwnames[] = { "self", NULL };
af309447
RD
2455
2456 self = self;
f6bcfd97 2457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2458 return NULL;
1d99702e
RD
2459 if (_argo0) {
2460 if (_argo0 == Py_None) { _arg0 = NULL; }
2461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2463 return NULL;
2464 }
2465 }
cf694132 2466{
474c48f9 2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2468 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
f6bcfd97 2469 _result = (wxString *) &_result_ref;
cf694132 2470
474c48f9 2471 wxPyEndAllowThreads(__tstate);
4dfaa61e 2472 if (PyErr_Occurred()) return NULL;
f6bcfd97 2473}{
c8bc7bb8
RD
2474#if wxUSE_UNICODE
2475 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2476#else
f6bcfd97 2477 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2478#endif
f6bcfd97 2479}
af309447
RD
2480 return _resultobj;
2481}
2482
f6bcfd97
BP
2483#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2484static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2485 PyObject * _resultobj;
f6bcfd97 2486 wxString * _result;
8ab979d7 2487 wxListEvent * _arg0;
1d99702e 2488 PyObject * _argo0 = 0;
efc5f224 2489 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2490
2491 self = self;
f6bcfd97 2492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2493 return NULL;
1d99702e
RD
2494 if (_argo0) {
2495 if (_argo0 == Py_None) { _arg0 = NULL; }
2496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2498 return NULL;
2499 }
2500 }
cf694132 2501{
474c48f9 2502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2503 const wxString & _result_ref = wxListEvent_GetText(_arg0);
f6bcfd97 2504 _result = (wxString *) &_result_ref;
cf694132 2505
474c48f9 2506 wxPyEndAllowThreads(__tstate);
4dfaa61e 2507 if (PyErr_Occurred()) return NULL;
f6bcfd97 2508}{
c8bc7bb8
RD
2509#if wxUSE_UNICODE
2510 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2511#else
f6bcfd97 2512 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2513#endif
f6bcfd97 2514}
8ab979d7
RD
2515 return _resultobj;
2516}
2517
f6bcfd97
BP
2518#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2519static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2520 PyObject * _resultobj;
f6bcfd97 2521 int _result;
af309447 2522 wxListEvent * _arg0;
1d99702e 2523 PyObject * _argo0 = 0;
f6bcfd97 2524 char *_kwnames[] = { "self", NULL };
af309447
RD
2525
2526 self = self;
f6bcfd97 2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2528 return NULL;
1d99702e
RD
2529 if (_argo0) {
2530 if (_argo0 == Py_None) { _arg0 = NULL; }
2531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2533 return NULL;
2534 }
2535 }
cf694132 2536{
474c48f9 2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2538 _result = (int )wxListEvent_GetImage(_arg0);
cf694132 2539
474c48f9 2540 wxPyEndAllowThreads(__tstate);
4dfaa61e 2541 if (PyErr_Occurred()) return NULL;
f6bcfd97 2542} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2543 return _resultobj;
2544}
2545
f6bcfd97
BP
2546#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2547static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2548 PyObject * _resultobj;
f6bcfd97 2549 long _result;
8ab979d7 2550 wxListEvent * _arg0;
1d99702e 2551 PyObject * _argo0 = 0;
efc5f224 2552 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2553
2554 self = self;
f6bcfd97 2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2556 return NULL;
1d99702e
RD
2557 if (_argo0) {
2558 if (_argo0 == Py_None) { _arg0 = NULL; }
2559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2561 return NULL;
2562 }
2563 }
cf694132 2564{
474c48f9 2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2566 _result = (long )wxListEvent_GetData(_arg0);
cf694132 2567
474c48f9 2568 wxPyEndAllowThreads(__tstate);
4dfaa61e 2569 if (PyErr_Occurred()) return NULL;
f6bcfd97 2570} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2571 return _resultobj;
2572}
2573
f6bcfd97
BP
2574#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2575static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2576 PyObject * _resultobj;
f6bcfd97 2577 long _result;
af309447 2578 wxListEvent * _arg0;
1d99702e 2579 PyObject * _argo0 = 0;
f6bcfd97 2580 char *_kwnames[] = { "self", NULL };
af309447
RD
2581
2582 self = self;
f6bcfd97 2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2584 return NULL;
1d99702e
RD
2585 if (_argo0) {
2586 if (_argo0 == Py_None) { _arg0 = NULL; }
2587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2589 return NULL;
2590 }
2591 }
cf694132 2592{
474c48f9 2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2594 _result = (long )wxListEvent_GetMask(_arg0);
cf694132 2595
474c48f9 2596 wxPyEndAllowThreads(__tstate);
4dfaa61e 2597 if (PyErr_Occurred()) return NULL;
f6bcfd97 2598} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2599 return _resultobj;
2600}
2601
f6bcfd97
BP
2602#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2603static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2604 PyObject * _resultobj;
2605 wxListItem * _result;
2606 wxListEvent * _arg0;
1d99702e 2607 PyObject * _argo0 = 0;
efc5f224 2608 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2609
2610 self = self;
f6bcfd97 2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2612 return NULL;
1d99702e
RD
2613 if (_argo0) {
2614 if (_argo0 == Py_None) { _arg0 = NULL; }
2615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2617 return NULL;
2618 }
2619 }
cf694132 2620{
474c48f9 2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2622 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
f6bcfd97 2623 _result = (wxListItem *) &_result_ref;
cf694132 2624
474c48f9 2625 wxPyEndAllowThreads(__tstate);
4dfaa61e 2626 if (PyErr_Occurred()) return NULL;
9df61a29 2627}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2628 return _resultobj;
2629}
2630
059a841c
RD
2631#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2632static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject * _resultobj;
2634 long _result;
2635 wxListEvent * _arg0;
2636 PyObject * _argo0 = 0;
2637 char *_kwnames[] = { "self", NULL };
2638
2639 self = self;
2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2641 return NULL;
2642 if (_argo0) {
2643 if (_argo0 == Py_None) { _arg0 = NULL; }
2644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2646 return NULL;
2647 }
2648 }
2649{
474c48f9 2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2651 _result = (long )wxListEvent_GetCacheFrom(_arg0);
059a841c 2652
474c48f9 2653 wxPyEndAllowThreads(__tstate);
059a841c
RD
2654 if (PyErr_Occurred()) return NULL;
2655} _resultobj = Py_BuildValue("l",_result);
2656 return _resultobj;
2657}
2658
2659#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2660static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2661 PyObject * _resultobj;
2662 long _result;
2663 wxListEvent * _arg0;
2664 PyObject * _argo0 = 0;
2665 char *_kwnames[] = { "self", NULL };
2666
2667 self = self;
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2669 return NULL;
2670 if (_argo0) {
2671 if (_argo0 == Py_None) { _arg0 = NULL; }
2672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2674 return NULL;
2675 }
2676 }
2677{
474c48f9 2678 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2679 _result = (long )wxListEvent_GetCacheTo(_arg0);
059a841c 2680
474c48f9 2681 wxPyEndAllowThreads(__tstate);
059a841c
RD
2682 if (PyErr_Occurred()) return NULL;
2683} _resultobj = Py_BuildValue("l",_result);
2684 return _resultobj;
2685}
2686
cd096152
RD
2687static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2688 wxPyListCtrl *src;
8ab979d7 2689 wxControl *dest;
cd096152 2690 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2691 dest = (wxControl *) src;
2692 return (void *) dest;
2693}
2694
cd096152
RD
2695static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2696 wxPyListCtrl *src;
8ab979d7 2697 wxWindow *dest;
cd096152 2698 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2699 dest = (wxWindow *) src;
2700 return (void *) dest;
2701}
2702
cd096152
RD
2703static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2704 wxPyListCtrl *src;
8ab979d7 2705 wxEvtHandler *dest;
cd096152 2706 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2707 dest = (wxEvtHandler *) src;
2708 return (void *) dest;
2709}
2710
cd096152
RD
2711static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2712 wxPyListCtrl *src;
9df61a29 2713 wxObject *dest;
cd096152 2714 src = (wxPyListCtrl *) ptr;
9df61a29
RD
2715 dest = (wxObject *) src;
2716 return (void *) dest;
2717}
2718
cd096152 2719#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2720static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2721 PyObject * _resultobj;
cd096152 2722 wxPyListCtrl * _result;
8ab979d7 2723 wxWindow * _arg0;
cd096152 2724 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
2725 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2726 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2c8a649d 2727 long _arg4 = (long ) (wxLC_ICON);
b68dc582 2728 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2729 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
1d99702e 2730 PyObject * _argo0 = 0;
2f90df85
RD
2731 wxPoint temp;
2732 PyObject * _obj2 = 0;
2733 wxSize temp0;
2734 PyObject * _obj3 = 0;
1d99702e 2735 PyObject * _argo5 = 0;
9a74fcaf 2736 PyObject * _obj6 = 0;
efc5f224 2737 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2738 char _ptemp[128];
2739
2740 self = self;
9a74fcaf 2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 2742 return NULL;
1d99702e
RD
2743 if (_argo0) {
2744 if (_argo0 == Py_None) { _arg0 = NULL; }
2745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2747 return NULL;
2748 }
2749 }
2f90df85
RD
2750 if (_obj2)
2751{
2752 _arg2 = &temp;
2753 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2754 return NULL;
2f90df85
RD
2755}
2756 if (_obj3)
2757{
2758 _arg3 = &temp0;
2759 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2760 return NULL;
2f90df85 2761}
1d99702e
RD
2762 if (_argo5) {
2763 if (_argo5 == Py_None) { _arg5 = NULL; }
2764 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
2765 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2766 return NULL;
2767 }
2768 }
9a74fcaf
RD
2769 if (_obj6)
2770{
2771 _arg6 = wxString_in_helper(_obj6);
2772 if (_arg6 == NULL)
2773 return NULL;
2774}
cf694132 2775{
474c48f9 2776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2777 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 2778
474c48f9 2779 wxPyEndAllowThreads(__tstate);
4dfaa61e 2780 if (PyErr_Occurred()) return NULL;
1d99702e 2781} if (_result) {
cd096152 2782 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
2783 _resultobj = Py_BuildValue("s",_ptemp);
2784 } else {
2785 Py_INCREF(Py_None);
2786 _resultobj = Py_None;
2787 }
9a74fcaf
RD
2788{
2789 if (_obj6)
2790 delete _arg6;
2791}
8ab979d7
RD
2792 return _resultobj;
2793}
2794
aa2a5b86
RD
2795#define new_wxPreListCtrl() (new wxPyListCtrl())
2796static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2797 PyObject * _resultobj;
2798 wxPyListCtrl * _result;
2799 char *_kwnames[] = { NULL };
2800 char _ptemp[128];
2801
2802 self = self;
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
2804 return NULL;
2805{
474c48f9 2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2807 _result = (wxPyListCtrl *)new_wxPreListCtrl();
aa2a5b86 2808
474c48f9 2809 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2810 if (PyErr_Occurred()) return NULL;
2811} if (_result) {
2812 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
2813 _resultobj = Py_BuildValue("s",_ptemp);
2814 } else {
2815 Py_INCREF(Py_None);
2816 _resultobj = Py_None;
2817 }
2818 return _resultobj;
2819}
2820
2821#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2822static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2823 PyObject * _resultobj;
2824 bool _result;
2825 wxPyListCtrl * _arg0;
2826 wxWindow * _arg1;
2827 wxWindowID _arg2 = (wxWindowID ) -1;
2828 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2829 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2830 long _arg5 = (long ) (wxLC_ICON);
2831 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2832 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
aa2a5b86
RD
2833 PyObject * _argo0 = 0;
2834 PyObject * _argo1 = 0;
2835 wxPoint temp;
2836 PyObject * _obj3 = 0;
2837 wxSize temp0;
2838 PyObject * _obj4 = 0;
2839 PyObject * _argo6 = 0;
9a74fcaf 2840 PyObject * _obj7 = 0;
aa2a5b86
RD
2841 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
2842
2843 self = self;
9a74fcaf 2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
aa2a5b86
RD
2845 return NULL;
2846 if (_argo0) {
2847 if (_argo0 == Py_None) { _arg0 = NULL; }
2848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2850 return NULL;
2851 }
2852 }
2853 if (_argo1) {
2854 if (_argo1 == Py_None) { _arg1 = NULL; }
2855 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2856 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2857 return NULL;
2858 }
2859 }
2860 if (_obj3)
2861{
2862 _arg3 = &temp;
2863 if (! wxPoint_helper(_obj3, &_arg3))
2864 return NULL;
2865}
2866 if (_obj4)
2867{
2868 _arg4 = &temp0;
2869 if (! wxSize_helper(_obj4, &_arg4))
2870 return NULL;
2871}
2872 if (_argo6) {
2873 if (_argo6 == Py_None) { _arg6 = NULL; }
2874 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
2875 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2876 return NULL;
2877 }
2878 }
9a74fcaf
RD
2879 if (_obj7)
2880{
2881 _arg7 = wxString_in_helper(_obj7);
2882 if (_arg7 == NULL)
2883 return NULL;
2884}
aa2a5b86 2885{
474c48f9 2886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2887 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
aa2a5b86 2888
474c48f9 2889 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2890 if (PyErr_Occurred()) return NULL;
2891} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
2892{
2893 if (_obj7)
2894 delete _arg7;
2895}
aa2a5b86
RD
2896 return _resultobj;
2897}
2898
0220cbc1
RD
2899#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2900static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2901 PyObject * _resultobj;
cd096152
RD
2902 wxPyListCtrl * _arg0;
2903 PyObject * _arg1;
2904 PyObject * _arg2;
1d99702e 2905 PyObject * _argo0 = 0;
cd096152
RD
2906 PyObject * _obj1 = 0;
2907 PyObject * _obj2 = 0;
2908 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
2909
2910 self = self;
0220cbc1 2911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 2912 return NULL;
1d99702e
RD
2913 if (_argo0) {
2914 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152 2915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0220cbc1 2916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
2917 return NULL;
2918 }
2919 }
cd096152
RD
2920{
2921 _arg1 = _obj1;
2922}
2923{
2924 _arg2 = _obj2;
2925}
cf694132 2926{
474c48f9 2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2928 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132 2929
474c48f9 2930 wxPyEndAllowThreads(__tstate);
4dfaa61e 2931 if (PyErr_Occurred()) return NULL;
cd096152
RD
2932} Py_INCREF(Py_None);
2933 _resultobj = Py_None;
8ab979d7
RD
2934 return _resultobj;
2935}
2936
cd096152
RD
2937#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2938static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9c4165ad 2939 PyObject * _resultobj;
cd096152
RD
2940 bool _result;
2941 wxPyListCtrl * _arg0;
2942 wxColour * _arg1;
9c4165ad 2943 PyObject * _argo0 = 0;
cd096152
RD
2944 wxColour temp;
2945 PyObject * _obj1 = 0;
2946 char *_kwnames[] = { "self","col", NULL };
9c4165ad
RD
2947
2948 self = self;
cd096152 2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
9c4165ad
RD
2950 return NULL;
2951 if (_argo0) {
2952 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
2953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
9c4165ad
RD
2955 return NULL;
2956 }
2957 }
cd096152
RD
2958{
2959 _arg1 = &temp;
2960 if (! wxColour_helper(_obj1, &_arg1))
2961 return NULL;
2962}
2963{
474c48f9 2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2965 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
cd096152 2966
474c48f9 2967 wxPyEndAllowThreads(__tstate);
cd096152
RD
2968 if (PyErr_Occurred()) return NULL;
2969} _resultobj = Py_BuildValue("i",_result);
2970 return _resultobj;
2971}
2972
2973#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2974static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2975 PyObject * _resultobj;
2976 bool _result;
2977 wxPyListCtrl * _arg0;
2978 wxColour * _arg1;
2979 PyObject * _argo0 = 0;
2980 wxColour temp;
2981 PyObject * _obj1 = 0;
2982 char *_kwnames[] = { "self","col", NULL };
2983
2984 self = self;
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
2986 return NULL;
2987 if (_argo0) {
2988 if (_argo0 == Py_None) { _arg0 = NULL; }
2989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
2990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
9c4165ad
RD
2991 return NULL;
2992 }
2993 }
cd096152
RD
2994{
2995 _arg1 = &temp;
2996 if (! wxColour_helper(_obj1, &_arg1))
2997 return NULL;
2998}
9c4165ad 2999{
474c48f9 3000 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3001 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
9c4165ad 3002
474c48f9 3003 wxPyEndAllowThreads(__tstate);
4dfaa61e 3004 if (PyErr_Occurred()) return NULL;
cd096152 3005} _resultobj = Py_BuildValue("i",_result);
9c4165ad
RD
3006 return _resultobj;
3007}
3008
94082a71
RD
3009static wxListItem * wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col) {
3010 wxListItem item;
3011 if (self->GetColumn(col, item))
3012 return new wxListItem(item);
3013 else
3014 return NULL;
3015 }
cd096152 3016static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3017 PyObject * _resultobj;
94082a71 3018 wxListItem * _result;
cd096152
RD
3019 wxPyListCtrl * _arg0;
3020 int _arg1;
1d99702e 3021 PyObject * _argo0 = 0;
94082a71 3022 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3023
3024 self = self;
94082a71 3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 3026 return NULL;
1d99702e
RD
3027 if (_argo0) {
3028 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3031 return NULL;
3032 }
3033 }
cf694132 3034{
474c48f9 3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3036 _result = (wxListItem *)wxPyListCtrl_GetColumn(_arg0,_arg1);
cf694132 3037
474c48f9 3038 wxPyEndAllowThreads(__tstate);
4dfaa61e 3039 if (PyErr_Occurred()) return NULL;
94082a71 3040}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3041 return _resultobj;
3042}
3043
cd096152
RD
3044#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3045static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3046 PyObject * _resultobj;
3047 bool _result;
cd096152
RD
3048 wxPyListCtrl * _arg0;
3049 int _arg1;
3050 wxListItem * _arg2;
1d99702e 3051 PyObject * _argo0 = 0;
cd096152
RD
3052 PyObject * _argo2 = 0;
3053 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3054
3055 self = self;
cd096152 3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3057 return NULL;
1d99702e
RD
3058 if (_argo0) {
3059 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3062 return NULL;
3063 }
3064 }
3065 if (_argo2) {
3066 if (_argo2 == Py_None) { _arg2 = NULL; }
3067 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3068 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3069 return NULL;
3070 }
3071 }
cf694132 3072{
474c48f9 3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3074 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132 3075
474c48f9 3076 wxPyEndAllowThreads(__tstate);
4dfaa61e 3077 if (PyErr_Occurred()) return NULL;
cf694132 3078} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3079 return _resultobj;
3080}
3081
cd096152
RD
3082#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3083static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3084 PyObject * _resultobj;
cd096152
RD
3085 int _result;
3086 wxPyListCtrl * _arg0;
8ab979d7 3087 int _arg1;
1d99702e 3088 PyObject * _argo0 = 0;
efc5f224 3089 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3090
3091 self = self;
cd096152 3092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3093 return NULL;
1d99702e
RD
3094 if (_argo0) {
3095 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3098 return NULL;
3099 }
3100 }
cf694132 3101{
474c48f9 3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3103 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132 3104
474c48f9 3105 wxPyEndAllowThreads(__tstate);
4dfaa61e 3106 if (PyErr_Occurred()) return NULL;
cf694132 3107} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3108 return _resultobj;
3109}
3110
cd096152
RD
3111#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3112static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3113 PyObject * _resultobj;
3114 bool _result;
cd096152
RD
3115 wxPyListCtrl * _arg0;
3116 int _arg1;
3117 int _arg2;
1d99702e 3118 PyObject * _argo0 = 0;
cd096152 3119 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3120
3121 self = self;
cd096152 3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3123 return NULL;
1d99702e
RD
3124 if (_argo0) {
3125 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3128 return NULL;
3129 }
3130 }
cf694132 3131{
474c48f9 3132 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3133 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132 3134
474c48f9 3135 wxPyEndAllowThreads(__tstate);
4dfaa61e 3136 if (PyErr_Occurred()) return NULL;
cf694132 3137} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3138 return _resultobj;
3139}
3140
cd096152
RD
3141#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3142static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3143 PyObject * _resultobj;
cd096152
RD
3144 int _result;
3145 wxPyListCtrl * _arg0;
1d99702e 3146 PyObject * _argo0 = 0;
efc5f224 3147 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3148
3149 self = self;
cd096152 3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3151 return NULL;
1d99702e
RD
3152 if (_argo0) {
3153 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3156 return NULL;
3157 }
3158 }
cf694132 3159{
474c48f9 3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3161 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132 3162
474c48f9 3163 wxPyEndAllowThreads(__tstate);
4dfaa61e 3164 if (PyErr_Occurred()) return NULL;
cd096152 3165} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3166 return _resultobj;
3167}
3168
cd096152
RD
3169static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3170 wxListItem* info = new wxListItem;
3171 info->m_itemId = itemId;
3172 info->m_col = col;
3173 info->m_mask = 0xFFFF;
3174 self->GetItem(*info);
3175 return info;
3176 }
3177static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3178 PyObject * _resultobj;
cd096152
RD
3179 wxListItem * _result;
3180 wxPyListCtrl * _arg0;
8ab979d7 3181 long _arg1;
cd096152 3182 int _arg2 = (int ) 0;
1d99702e 3183 PyObject * _argo0 = 0;
cd096152 3184 char *_kwnames[] = { "self","itemId","col", NULL };
8ab979d7
RD
3185
3186 self = self;
cd096152 3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3188 return NULL;
1d99702e
RD
3189 if (_argo0) {
3190 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3193 return NULL;
3194 }
3195 }
cf694132 3196{
474c48f9 3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3198 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132 3199
474c48f9 3200 wxPyEndAllowThreads(__tstate);
4dfaa61e 3201 if (PyErr_Occurred()) return NULL;
cd096152 3202}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3203 return _resultobj;
3204}
3205
cd096152
RD
3206#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3207static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3208 PyObject * _resultobj;
3209 bool _result;
cd096152
RD
3210 wxPyListCtrl * _arg0;
3211 wxListItem * _arg1;
1d99702e 3212 PyObject * _argo0 = 0;
cd096152
RD
3213 PyObject * _argo1 = 0;
3214 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3215
3216 self = self;
cd096152 3217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3218 return NULL;
1d99702e
RD
3219 if (_argo0) {
3220 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3223 return NULL;
3224 }
3225 }
3226 if (_argo1) {
3227 if (_argo1 == Py_None) { _arg1 = NULL; }
3228 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3229 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3230 return NULL;
3231 }
3232 }
cf694132 3233{
474c48f9 3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3235 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132 3236
474c48f9 3237 wxPyEndAllowThreads(__tstate);
4dfaa61e 3238 if (PyErr_Occurred()) return NULL;
cf694132 3239} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3240 return _resultobj;
3241}
3242
cd096152
RD
3243#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3244static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3245 PyObject * _resultobj;
3246 long _result;
cd096152 3247 wxPyListCtrl * _arg0;
8ab979d7 3248 long _arg1;
cd096152
RD
3249 int _arg2;
3250 wxString * _arg3;
3251 int _arg4 = (int ) -1;
1d99702e 3252 PyObject * _argo0 = 0;
cd096152
RD
3253 PyObject * _obj3 = 0;
3254 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3255
3256 self = self;
cd096152 3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3258 return NULL;
1d99702e
RD
3259 if (_argo0) {
3260 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3263 return NULL;
3264 }
3265 }
3266{
c8bc7bb8
RD
3267 _arg3 = wxString_in_helper(_obj3);
3268 if (_arg3 == NULL)
2cd2fac8 3269 return NULL;
8ab979d7 3270}
cf694132 3271{
474c48f9 3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3273 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 3274
474c48f9 3275 wxPyEndAllowThreads(__tstate);
4dfaa61e 3276 if (PyErr_Occurred()) return NULL;
cf694132 3277} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3278{
cd096152
RD
3279 if (_obj3)
3280 delete _arg3;
8ab979d7
RD
3281}
3282 return _resultobj;
3283}
3284
cd096152
RD
3285#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3286static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3287 PyObject * _resultobj;
cd096152
RD
3288 int _result;
3289 wxPyListCtrl * _arg0;
8ab979d7
RD
3290 long _arg1;
3291 long _arg2;
1d99702e 3292 PyObject * _argo0 = 0;
cd096152 3293 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3294
3295 self = self;
cd096152 3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3297 return NULL;
1d99702e
RD
3298 if (_argo0) {
3299 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3302 return NULL;
3303 }
3304 }
cf694132 3305{
474c48f9 3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3307 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132 3308
474c48f9 3309 wxPyEndAllowThreads(__tstate);
4dfaa61e 3310 if (PyErr_Occurred()) return NULL;
cd096152 3311} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3312 return _resultobj;
3313}
3314
cd096152
RD
3315#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3316static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3317 PyObject * _resultobj;
cd096152
RD
3318 bool _result;
3319 wxPyListCtrl * _arg0;
8ab979d7 3320 long _arg1;
cd096152
RD
3321 long _arg2;
3322 long _arg3;
1d99702e 3323 PyObject * _argo0 = 0;
cd096152 3324 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3325
3326 self = self;
cd096152 3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3328 return NULL;
1d99702e
RD
3329 if (_argo0) {
3330 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3333 return NULL;
3334 }
3335 }
cf694132 3336{
474c48f9 3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3338 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132 3339
474c48f9 3340 wxPyEndAllowThreads(__tstate);
4dfaa61e 3341 if (PyErr_Occurred()) return NULL;
cd096152 3342} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3343 return _resultobj;
3344}
3345
cd096152
RD
3346#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3347static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3348 PyObject * _resultobj;
3349 bool _result;
cd096152
RD
3350 wxPyListCtrl * _arg0;
3351 long _arg1;
3352 int _arg2;
3353 int _arg3;
1d99702e 3354 PyObject * _argo0 = 0;
cd096152 3355 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3356
3357 self = self;
cd096152 3358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3359 return NULL;
1d99702e
RD
3360 if (_argo0) {
3361 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3364 return NULL;
3365 }
3366 }
cf694132 3367{
474c48f9 3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3369 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132 3370
474c48f9 3371 wxPyEndAllowThreads(__tstate);
4dfaa61e 3372 if (PyErr_Occurred()) return NULL;
cf694132 3373} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3374 return _resultobj;
3375}
3376
cd096152
RD
3377#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3378static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3379 PyObject * _resultobj;
cd096152
RD
3380 wxString * _result;
3381 wxPyListCtrl * _arg0;
3382 long _arg1;
1d99702e 3383 PyObject * _argo0 = 0;
cd096152 3384 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3385
3386 self = self;
cd096152 3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3388 return NULL;
1d99702e
RD
3389 if (_argo0) {
3390 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3393 return NULL;
3394 }
3395 }
cf694132 3396{
474c48f9 3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3398 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132 3399
474c48f9 3400 wxPyEndAllowThreads(__tstate);
4dfaa61e 3401 if (PyErr_Occurred()) return NULL;
cd096152 3402}{
c8bc7bb8
RD
3403#if wxUSE_UNICODE
3404 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3405#else
cd096152 3406 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3407#endif
cd096152
RD
3408}
3409{
3410 delete _result;
3411}
8ab979d7
RD
3412 return _resultobj;
3413}
3414
cd096152
RD
3415#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3416static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3417 PyObject * _resultobj;
cd096152
RD
3418 wxPyListCtrl * _arg0;
3419 long _arg1;
3420 wxString * _arg2;
1d99702e 3421 PyObject * _argo0 = 0;
cd096152
RD
3422 PyObject * _obj2 = 0;
3423 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3424
3425 self = self;
cd096152 3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3427 return NULL;
1d99702e
RD
3428 if (_argo0) {
3429 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3432 return NULL;
3433 }
3434 }
cf694132 3435{
c8bc7bb8
RD
3436 _arg2 = wxString_in_helper(_obj2);
3437 if (_arg2 == NULL)
8ab979d7 3438 return NULL;
cd096152 3439}
cf694132 3440{
474c48f9 3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3442 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132 3443
474c48f9 3444 wxPyEndAllowThreads(__tstate);
4dfaa61e 3445 if (PyErr_Occurred()) return NULL;
cd096152
RD
3446} Py_INCREF(Py_None);
3447 _resultobj = Py_None;
3448{
3449 if (_obj2)
3450 delete _arg2;
3451}
8ab979d7
RD
3452 return _resultobj;
3453}
3454
3455#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3456static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3457 PyObject * _resultobj;
3458 long _result;
cd096152 3459 wxPyListCtrl * _arg0;
8ab979d7 3460 long _arg1;
1d99702e 3461 PyObject * _argo0 = 0;
efc5f224 3462 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3463
3464 self = self;
efc5f224 3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3466 return NULL;
1d99702e
RD
3467 if (_argo0) {
3468 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3471 return NULL;
3472 }
3473 }
cf694132 3474{
474c48f9 3475 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3476 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
cf694132 3477
474c48f9 3478 wxPyEndAllowThreads(__tstate);
4dfaa61e 3479 if (PyErr_Occurred()) return NULL;
cf694132 3480} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3481 return _resultobj;
3482}
3483
cd096152
RD
3484#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3485static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3486 PyObject * _resultobj;
cd096152
RD
3487 bool _result;
3488 wxPyListCtrl * _arg0;
0699c864 3489 long _arg1;
cd096152 3490 long _arg2;
1d99702e 3491 PyObject * _argo0 = 0;
cd096152 3492 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3493
3494 self = self;
cd096152 3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3496 return NULL;
1d99702e
RD
3497 if (_argo0) {
3498 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3501 return NULL;
3502 }
3503 }
cf694132 3504{
474c48f9 3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3506 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132 3507
474c48f9 3508 wxPyEndAllowThreads(__tstate);
4dfaa61e 3509 if (PyErr_Occurred()) return NULL;
cd096152 3510} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3511 return _resultobj;
3512}
3513
cd096152 3514static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3515 wxPoint* pos = new wxPoint;
3516 self->GetItemPosition(item, *pos);
3517 return pos;
3518 }
efc5f224 3519static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3520 PyObject * _resultobj;
3521 wxPoint * _result;
cd096152 3522 wxPyListCtrl * _arg0;
8ab979d7 3523 long _arg1;
1d99702e 3524 PyObject * _argo0 = 0;
efc5f224 3525 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3526 char _ptemp[128];
3527
3528 self = self;
efc5f224 3529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3530 return NULL;
1d99702e
RD
3531 if (_argo0) {
3532 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3535 return NULL;
3536 }
3537 }
cf694132 3538{
474c48f9 3539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3540 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132 3541
474c48f9 3542 wxPyEndAllowThreads(__tstate);
4dfaa61e 3543 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3544} if (_result) {
3545 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3546 _resultobj = Py_BuildValue("s",_ptemp);
3547 } else {
3548 Py_INCREF(Py_None);
3549 _resultobj = Py_None;
3550 }
8ab979d7
RD
3551 return _resultobj;
3552}
3553
cd096152 3554static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3555 wxRect* rect= new wxRect;
3556 self->GetItemRect(item, *rect, code);
3557 return rect;
3558 }
efc5f224 3559static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3560 PyObject * _resultobj;
3561 wxRect * _result;
cd096152 3562 wxPyListCtrl * _arg0;
8ab979d7 3563 long _arg1;
1d99702e
RD
3564 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3565 PyObject * _argo0 = 0;
efc5f224 3566 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3567 char _ptemp[128];
3568
3569 self = self;
efc5f224 3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3571 return NULL;
1d99702e
RD
3572 if (_argo0) {
3573 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3576 return NULL;
3577 }
3578 }
cf694132 3579{
474c48f9 3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3581 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132 3582
474c48f9 3583 wxPyEndAllowThreads(__tstate);
4dfaa61e 3584 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3585} if (_result) {
3586 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3587 _resultobj = Py_BuildValue("s",_ptemp);
3588 } else {
3589 Py_INCREF(Py_None);
3590 _resultobj = Py_None;
3591 }
8ab979d7
RD
3592 return _resultobj;
3593}
3594
cd096152
RD
3595#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3596static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3597 PyObject * _resultobj;
cd096152
RD
3598 bool _result;
3599 wxPyListCtrl * _arg0;
8ab979d7 3600 long _arg1;
cd096152 3601 wxPoint * _arg2;
1d99702e 3602 PyObject * _argo0 = 0;
cd096152
RD
3603 wxPoint temp;
3604 PyObject * _obj2 = 0;
3605 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3606
3607 self = self;
cd096152 3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3609 return NULL;
1d99702e
RD
3610 if (_argo0) {
3611 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3614 return NULL;
3615 }
3616 }
cd096152
RD
3617{
3618 _arg2 = &temp;
3619 if (! wxPoint_helper(_obj2, &_arg2))
3620 return NULL;
3621}
cf694132 3622{
474c48f9 3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3624 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132 3625
474c48f9 3626 wxPyEndAllowThreads(__tstate);
4dfaa61e 3627 if (PyErr_Occurred()) return NULL;
cf694132 3628} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3629 return _resultobj;
3630}
3631
3632#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3633static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3634 PyObject * _resultobj;
3635 int _result;
cd096152 3636 wxPyListCtrl * _arg0;
1d99702e 3637 PyObject * _argo0 = 0;
efc5f224 3638 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3639
3640 self = self;
efc5f224 3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3642 return NULL;
1d99702e
RD
3643 if (_argo0) {
3644 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3647 return NULL;
3648 }
3649 }
cf694132 3650{
474c48f9 3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3652 _result = (int )wxListCtrl_GetItemCount(_arg0);
cf694132 3653
474c48f9 3654 wxPyEndAllowThreads(__tstate);
4dfaa61e 3655 if (PyErr_Occurred()) return NULL;
cf694132 3656} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3657 return _resultobj;
3658}
3659
cd096152
RD
3660#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3661static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject * _resultobj;
3663 int _result;
3664 wxPyListCtrl * _arg0;
3665 PyObject * _argo0 = 0;
3666 char *_kwnames[] = { "self", NULL };
3667
3668 self = self;
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
3670 return NULL;
3671 if (_argo0) {
3672 if (_argo0 == Py_None) { _arg0 = NULL; }
3673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3675 return NULL;
3676 }
3677 }
3678{
474c48f9 3679 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3680 _result = (int )wxListCtrl_GetColumnCount(_arg0);
cd096152 3681
474c48f9 3682 wxPyEndAllowThreads(__tstate);
cd096152
RD
3683 if (PyErr_Occurred()) return NULL;
3684} _resultobj = Py_BuildValue("i",_result);
3685 return _resultobj;
3686}
3687
8ab979d7 3688#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
efc5f224 3689static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3690 PyObject * _resultobj;
3691 int _result;
cd096152 3692 wxPyListCtrl * _arg0;
8ab979d7 3693 bool _arg1;
1d99702e 3694 PyObject * _argo0 = 0;
8ab979d7 3695 int tempbool1;
efc5f224 3696 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3697
3698 self = self;
efc5f224 3699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3700 return NULL;
1d99702e
RD
3701 if (_argo0) {
3702 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3705 return NULL;
3706 }
3707 }
3708 _arg1 = (bool ) tempbool1;
cf694132 3709{
474c48f9 3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3711 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
cf694132 3712
474c48f9 3713 wxPyEndAllowThreads(__tstate);
4dfaa61e 3714 if (PyErr_Occurred()) return NULL;
cf694132 3715} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3716 return _resultobj;
3717}
3718
cd096152
RD
3719#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3720static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3721 PyObject * _resultobj;
cd096152
RD
3722 int _result;
3723 wxPyListCtrl * _arg0;
1d99702e 3724 PyObject * _argo0 = 0;
cd096152 3725 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3726
3727 self = self;
cd096152 3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3729 return NULL;
1d99702e
RD
3730 if (_argo0) {
3731 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3734 return NULL;
3735 }
3736 }
8ab979d7 3737{
474c48f9 3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3739 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
cf694132 3740
474c48f9 3741 wxPyEndAllowThreads(__tstate);
4dfaa61e 3742 if (PyErr_Occurred()) return NULL;
cd096152 3743} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3744 return _resultobj;
3745}
3746
cd096152
RD
3747#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3748static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3749 PyObject * _resultobj;
cd096152
RD
3750 wxColour * _result;
3751 wxPyListCtrl * _arg0;
1d99702e 3752 PyObject * _argo0 = 0;
cd096152
RD
3753 char *_kwnames[] = { "self", NULL };
3754 char _ptemp[128];
8ab979d7
RD
3755
3756 self = self;
cd096152 3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 3758 return NULL;
1d99702e
RD
3759 if (_argo0) {
3760 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3763 return NULL;
3764 }
3765 }
cf694132 3766{
474c48f9 3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3768 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
cf694132 3769
474c48f9 3770 wxPyEndAllowThreads(__tstate);
4dfaa61e 3771 if (PyErr_Occurred()) return NULL;
cd096152
RD
3772} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3773 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
3774 return _resultobj;
3775}
3776
cd096152
RD
3777#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3778static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3779 PyObject * _resultobj;
cd096152
RD
3780 wxPyListCtrl * _arg0;
3781 wxColour * _arg1;
1d99702e 3782 PyObject * _argo0 = 0;
cd096152
RD
3783 wxColour temp;
3784 PyObject * _obj1 = 0;
3785 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3786
3787 self = self;
cd096152 3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 3789 return NULL;
1d99702e
RD
3790 if (_argo0) {
3791 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3794 return NULL;
3795 }
3796 }
cd096152
RD
3797{
3798 _arg1 = &temp;
3799 if (! wxColour_helper(_obj1, &_arg1))
3800 return NULL;
3801}
cf694132 3802{
474c48f9 3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3804 wxListCtrl_SetTextColour(_arg0,*_arg1);
cf694132 3805
474c48f9 3806 wxPyEndAllowThreads(__tstate);
4dfaa61e 3807 if (PyErr_Occurred()) return NULL;
cd096152
RD
3808} Py_INCREF(Py_None);
3809 _resultobj = Py_None;
8ab979d7
RD
3810 return _resultobj;
3811}
3812
8ab979d7 3813#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 3814static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3815 PyObject * _resultobj;
3816 long _result;
cd096152 3817 wxPyListCtrl * _arg0;
1d99702e 3818 PyObject * _argo0 = 0;
efc5f224 3819 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3820
3821 self = self;
efc5f224 3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 3823 return NULL;
1d99702e
RD
3824 if (_argo0) {
3825 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3828 return NULL;
3829 }
3830 }
cf694132 3831{
474c48f9 3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3833 _result = (long )wxListCtrl_GetTopItem(_arg0);
cf694132 3834
474c48f9 3835 wxPyEndAllowThreads(__tstate);
4dfaa61e 3836 if (PyErr_Occurred()) return NULL;
cf694132 3837} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3838 return _resultobj;
3839}
3840
cd096152
RD
3841#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3842static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3843 PyObject * _resultobj;
3844 wxPyListCtrl * _arg0;
3845 long _arg1;
3846 bool _arg2 = (bool ) TRUE;
1d99702e 3847 PyObject * _argo0 = 0;
cd096152
RD
3848 int tempbool2 = (int) TRUE;
3849 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
3850
3851 self = self;
cd096152
RD
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
3853 return NULL;
3854 if (_argo0) {
3855 if (_argo0 == Py_None) { _arg0 = NULL; }
3856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
3858 return NULL;
3859 }
3860 }
3861 _arg2 = (bool ) tempbool2;
8ab979d7 3862{
474c48f9 3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3864 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
cd096152 3865
474c48f9 3866 wxPyEndAllowThreads(__tstate);
cd096152
RD
3867 if (PyErr_Occurred()) return NULL;
3868} Py_INCREF(Py_None);
3869 _resultobj = Py_None;
3870 return _resultobj;
8ab979d7 3871}
cd096152
RD
3872
3873#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3874static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
3875 PyObject * _resultobj;
3876 wxPyListCtrl * _arg0;
3877 long _arg1;
3878 PyObject * _argo0 = 0;
3879 char *_kwnames[] = { "self","style", NULL };
3880
3881 self = self;
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 3883 return NULL;
1d99702e
RD
3884 if (_argo0) {
3885 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3888 return NULL;
3889 }
3890 }
2f90df85 3891{
474c48f9 3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3893 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
cd096152 3894
474c48f9 3895 wxPyEndAllowThreads(__tstate);
cd096152
RD
3896 if (PyErr_Occurred()) return NULL;
3897} Py_INCREF(Py_None);
3898 _resultobj = Py_None;
3899 return _resultobj;
2f90df85 3900}
cd096152
RD
3901
3902#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3903static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3904 PyObject * _resultobj;
3905 long _result;
3906 wxPyListCtrl * _arg0;
3907 long _arg1;
3908 int _arg2 = (int ) (wxLIST_NEXT_ALL);
3909 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
3910 PyObject * _argo0 = 0;
3911 char *_kwnames[] = { "self","item","geometry","state", NULL };
3912
3913 self = self;
3914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3915 return NULL;
3916 if (_argo0) {
3917 if (_argo0 == Py_None) { _arg0 = NULL; }
3918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
3920 return NULL;
3921 }
3922 }
cf694132 3923{
474c48f9 3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3925 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
cf694132 3926
474c48f9 3927 wxPyEndAllowThreads(__tstate);
4dfaa61e 3928 if (PyErr_Occurred()) return NULL;
cf694132 3929} _resultobj = Py_BuildValue("l",_result);
cd096152 3930 return _resultobj;
8ab979d7 3931}
cd096152
RD
3932
3933#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3934static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject * _resultobj;
3936 wxImageList * _result;
3937 wxPyListCtrl * _arg0;
3938 int _arg1;
3939 PyObject * _argo0 = 0;
3940 char *_kwnames[] = { "self","which", NULL };
3941
3942 self = self;
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
3944 return NULL;
3945 if (_argo0) {
3946 if (_argo0 == Py_None) { _arg0 = NULL; }
3947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
3949 return NULL;
3950 }
3951 }
3952{
474c48f9 3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3954 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
cd096152 3955
474c48f9 3956 wxPyEndAllowThreads(__tstate);
cd096152
RD
3957 if (PyErr_Occurred()) return NULL;
3958}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3959 return _resultobj;
3960}
3961
cd096152
RD
3962#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3963static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3964 PyObject * _resultobj;
cd096152
RD
3965 wxPyListCtrl * _arg0;
3966 wxImageList * _arg1;
3967 int _arg2;
1d99702e 3968 PyObject * _argo0 = 0;
cd096152
RD
3969 PyObject * _argo1 = 0;
3970 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
3971
3972 self = self;
cd096152 3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 3974 return NULL;
1d99702e
RD
3975 if (_argo0) {
3976 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3979 return NULL;
3980 }
3981 }
cd096152
RD
3982 if (_argo1) {
3983 if (_argo1 == Py_None) { _arg1 = NULL; }
3984 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
3985 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
3986 return NULL;
3987 }
3988 }
cf694132 3989{
474c48f9 3990 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3991 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132 3992
474c48f9 3993 wxPyEndAllowThreads(__tstate);
4dfaa61e 3994 if (PyErr_Occurred()) return NULL;
cd096152
RD
3995} Py_INCREF(Py_None);
3996 _resultobj = Py_None;
8ab979d7
RD
3997 return _resultobj;
3998}
3999
cd096152
RD
4000#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4001static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4002 PyObject * _resultobj;
cd096152
RD
4003 wxPyListCtrl * _arg0;
4004 wxImageList * _arg1;
4005 int _arg2;
1d99702e 4006 PyObject * _argo0 = 0;
cd096152
RD
4007 PyObject * _argo1 = 0;
4008 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4009
4010 self = self;
cd096152 4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4012 return NULL;
1d99702e
RD
4013 if (_argo0) {
4014 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4017 return NULL;
4018 }
4019 }
cd096152
RD
4020 if (_argo1) {
4021 if (_argo1 == Py_None) { _arg1 = NULL; }
4022 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4023 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2cd2fac8 4024 return NULL;
cd096152 4025 }
2cd2fac8 4026 }
cd096152 4027{
474c48f9 4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4029 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
cd096152 4030
474c48f9 4031 wxPyEndAllowThreads(__tstate);
cd096152
RD
4032 if (PyErr_Occurred()) return NULL;
4033} Py_INCREF(Py_None);
4034 _resultobj = Py_None;
4035 return _resultobj;
4036}
4037
4038#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4039static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject * _resultobj;
4041 bool _result;
4042 wxPyListCtrl * _arg0;
4043 PyObject * _argo0 = 0;
4044 char *_kwnames[] = { "self", NULL };
4045
4046 self = self;
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
2cd2fac8 4048 return NULL;
cd096152
RD
4049 if (_argo0) {
4050 if (_argo0 == Py_None) { _arg0 = NULL; }
4051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7 4053 return NULL;
cd096152 4054 }
8ab979d7 4055 }
cf694132 4056{
474c48f9 4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4058 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132 4059
474c48f9 4060 wxPyEndAllowThreads(__tstate);
4dfaa61e 4061 if (PyErr_Occurred()) return NULL;
cd096152
RD
4062} _resultobj = Py_BuildValue("i",_result);
4063 return _resultobj;
8ab979d7 4064}
cd096152
RD
4065
4066#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4067static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4068 PyObject * _resultobj;
4069 wxPyListCtrl * _arg0;
4070 long _arg1;
4071 PyObject * _argo0 = 0;
4072 char *_kwnames[] = { "self","item", NULL };
4073
4074 self = self;
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
4076 return NULL;
4077 if (_argo0) {
4078 if (_argo0 == Py_None) { _arg0 = NULL; }
4079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4081 return NULL;
4082 }
4083 }
4084{
474c48f9 4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4086 wxListCtrl_RefreshItem(_arg0,_arg1);
cd096152 4087
474c48f9 4088 wxPyEndAllowThreads(__tstate);
cd096152
RD
4089 if (PyErr_Occurred()) return NULL;
4090} Py_INCREF(Py_None);
4091 _resultobj = Py_None;
8ab979d7
RD
4092 return _resultobj;
4093}
4094
cd096152
RD
4095#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4096static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4097 PyObject * _resultobj;
cd096152
RD
4098 wxPyListCtrl * _arg0;
4099 long _arg1;
4100 long _arg2;
1d99702e 4101 PyObject * _argo0 = 0;
cd096152 4102 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4103
4104 self = self;
cd096152 4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4106 return NULL;
1d99702e
RD
4107 if (_argo0) {
4108 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4111 return NULL;
4112 }
4113 }
cd096152 4114{
474c48f9 4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4116 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
cd096152 4117
474c48f9 4118 wxPyEndAllowThreads(__tstate);
cd096152
RD
4119 if (PyErr_Occurred()) return NULL;
4120} Py_INCREF(Py_None);
4121 _resultobj = Py_None;
4122 return _resultobj;
4123}
4124
4125#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4126static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
4127 PyObject * _resultobj;
4128 bool _result;
4129 wxPyListCtrl * _arg0;
4130 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
4131 PyObject * _argo0 = 0;
4132 char *_kwnames[] = { "self","flag", NULL };
4133
4134 self = self;
4135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
4136 return NULL;
4137 if (_argo0) {
4138 if (_argo0 == Py_None) { _arg0 = NULL; }
4139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4141 return NULL;
4142 }
4143 }
cf694132 4144{
474c48f9 4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4146 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132 4147
474c48f9 4148 wxPyEndAllowThreads(__tstate);
4dfaa61e 4149 if (PyErr_Occurred()) return NULL;
cd096152 4150} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4151 return _resultobj;
4152}
4153
cd096152
RD
4154#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4155static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4156 PyObject * _resultobj;
cd096152
RD
4157 bool _result;
4158 wxPyListCtrl * _arg0;
8ab979d7 4159 long _arg1;
1d99702e 4160 PyObject * _argo0 = 0;
cd096152 4161 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4162
4163 self = self;
cd096152 4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4165 return NULL;
1d99702e
RD
4166 if (_argo0) {
4167 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4170 return NULL;
4171 }
4172 }
4173{
474c48f9 4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4175 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
cd096152 4176
474c48f9 4177 wxPyEndAllowThreads(__tstate);
cd096152
RD
4178 if (PyErr_Occurred()) return NULL;
4179} _resultobj = Py_BuildValue("i",_result);
4180 return _resultobj;
4181}
4182
4183#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4184static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject * _resultobj;
4186 bool _result;
4187 wxPyListCtrl * _arg0;
4188 PyObject * _argo0 = 0;
4189 char *_kwnames[] = { "self", NULL };
4190
4191 self = self;
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4193 return NULL;
4194 if (_argo0) {
4195 if (_argo0 == Py_None) { _arg0 = NULL; }
4196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
2cd2fac8 4198 return NULL;
cd096152 4199 }
2cd2fac8 4200 }
cd096152 4201{
474c48f9 4202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4203 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
cd096152 4204
474c48f9 4205 wxPyEndAllowThreads(__tstate);
cd096152
RD
4206 if (PyErr_Occurred()) return NULL;
4207} _resultobj = Py_BuildValue("i",_result);
4208 return _resultobj;
4209}
4210
4211#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4212static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject * _resultobj;
4214 bool _result;
4215 wxPyListCtrl * _arg0;
4216 int _arg1;
4217 PyObject * _argo0 = 0;
4218 char *_kwnames[] = { "self","col", NULL };
4219
4220 self = self;
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
2cd2fac8 4222 return NULL;
cd096152
RD
4223 if (_argo0) {
4224 if (_argo0 == Py_None) { _arg0 = NULL; }
4225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4227 return NULL;
4228 }
4229 }
4230{
474c48f9 4231 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4232 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
cd096152 4233
474c48f9 4234 wxPyEndAllowThreads(__tstate);
cd096152
RD
4235 if (PyErr_Occurred()) return NULL;
4236} _resultobj = Py_BuildValue("i",_result);
4237 return _resultobj;
4238}
4239
4240#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4241static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
4242 PyObject * _resultobj;
4243 bool _result;
4244 wxPyListCtrl * _arg0;
4245 PyObject * _argo0 = 0;
4246 char *_kwnames[] = { "self", NULL };
4247
4248 self = self;
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
4250 return NULL;
4251 if (_argo0) {
4252 if (_argo0 == Py_None) { _arg0 = NULL; }
4253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4255 return NULL;
4256 }
4257 }
4258{
474c48f9 4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4260 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
cd096152 4261
474c48f9 4262 wxPyEndAllowThreads(__tstate);
cd096152
RD
4263 if (PyErr_Occurred()) return NULL;
4264} _resultobj = Py_BuildValue("i",_result);
4265 return _resultobj;
4266}
4267
4268#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4269static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject * _resultobj;
4271 wxPyListCtrl * _arg0;
4272 PyObject * _argo0 = 0;
4273 char *_kwnames[] = { "self", NULL };
4274
4275 self = self;
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
8ab979d7 4277 return NULL;
cd096152
RD
4278 if (_argo0) {
4279 if (_argo0 == Py_None) { _arg0 = NULL; }
4280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4282 return NULL;
4283 }
8ab979d7 4284 }
cf694132 4285{
474c48f9 4286 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4287 wxListCtrl_ClearAll(_arg0);
cf694132 4288
474c48f9 4289 wxPyEndAllowThreads(__tstate);
4dfaa61e 4290 if (PyErr_Occurred()) return NULL;
cd096152
RD
4291} Py_INCREF(Py_None);
4292 _resultobj = Py_None;
8ab979d7
RD
4293 return _resultobj;
4294}
4295
cd096152
RD
4296#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4297static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4298 PyObject * _resultobj;
cd096152
RD
4299 bool _result;
4300 wxPyListCtrl * _arg0;
8ab979d7 4301 long _arg1;
1d99702e 4302 PyObject * _argo0 = 0;
cd096152 4303 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4304
4305 self = self;
cd096152 4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
8ab979d7 4307 return NULL;
1d99702e
RD
4308 if (_argo0) {
4309 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4312 return NULL;
4313 }
4314 }
cf694132 4315{
474c48f9 4316 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4317 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132 4318
474c48f9 4319 wxPyEndAllowThreads(__tstate);
4dfaa61e 4320 if (PyErr_Occurred()) return NULL;
cd096152 4321} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4322 return _resultobj;
4323}
4324
cd096152
RD
4325#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4326static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4327 PyObject * _resultobj;
4328 long _result;
cd096152 4329 wxPyListCtrl * _arg0;
8ab979d7
RD
4330 long _arg1;
4331 wxString * _arg2;
cd096152 4332 bool _arg3 = (bool ) FALSE;
1d99702e 4333 PyObject * _argo0 = 0;
8ab979d7 4334 PyObject * _obj2 = 0;
cd096152
RD
4335 int tempbool3 = (int) FALSE;
4336 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4337
4338 self = self;
cd096152 4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4340 return NULL;
1d99702e
RD
4341 if (_argo0) {
4342 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4345 return NULL;
4346 }
4347 }
4348{
c8bc7bb8
RD
4349 _arg2 = wxString_in_helper(_obj2);
4350 if (_arg2 == NULL)
8ab979d7 4351 return NULL;
8ab979d7 4352}
cd096152 4353 _arg3 = (bool ) tempbool3;
cf694132 4354{
474c48f9 4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4356 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4357
474c48f9 4358 wxPyEndAllowThreads(__tstate);
4dfaa61e 4359 if (PyErr_Occurred()) return NULL;
cf694132 4360} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4361{
4362 if (_obj2)
4363 delete _arg2;
4364}
4365 return _resultobj;
4366}
4367
cd096152
RD
4368#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4369static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4370 PyObject * _resultobj;
cd096152
RD
4371 long _result;
4372 wxPyListCtrl * _arg0;
4373 long _arg1;
4374 long _arg2;
1d99702e 4375 PyObject * _argo0 = 0;
cd096152 4376 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4377
4378 self = self;
cd096152 4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4380 return NULL;
1d99702e
RD
4381 if (_argo0) {
4382 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4385 return NULL;
4386 }
4387 }
cf694132 4388{
474c48f9 4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4390 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132 4391
474c48f9 4392 wxPyEndAllowThreads(__tstate);
4dfaa61e 4393 if (PyErr_Occurred()) return NULL;
cd096152 4394} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4395 return _resultobj;
4396}
4397
cd096152
RD
4398#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4399static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4400 PyObject * _resultobj;
cd096152
RD
4401 long _result;
4402 wxPyListCtrl * _arg0;
4403 long _arg1;
4404 wxPoint * _arg2;
4405 int _arg3;
1d99702e 4406 PyObject * _argo0 = 0;
cd096152
RD
4407 wxPoint temp;
4408 PyObject * _obj2 = 0;
4409 char *_kwnames[] = { "self","start","pt","direction", NULL };
8ab979d7
RD
4410
4411 self = self;
cd096152 4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4413 return NULL;
1d99702e
RD
4414 if (_argo0) {
4415 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4418 return NULL;
4419 }
4420 }
f6bcfd97 4421{
cd096152
RD
4422 _arg2 = &temp;
4423 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 4424 return NULL;
f6bcfd97 4425}
cf694132 4426{
474c48f9 4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4428 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
cf694132 4429
474c48f9 4430 wxPyEndAllowThreads(__tstate);
4dfaa61e 4431 if (PyErr_Occurred()) return NULL;
cd096152 4432} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4433 return _resultobj;
4434}
4435
cd096152
RD
4436#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4437static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4438 PyObject * _resultobj;
cd096152
RD
4439 long _result;
4440 wxPyListCtrl * _arg0;
4441 wxPoint * _arg1;
4442 int * _arg2;
4443 int temp;
1d99702e 4444 PyObject * _argo0 = 0;
cd096152
RD
4445 wxPoint temp0;
4446 PyObject * _obj1 = 0;
4447 char *_kwnames[] = { "self","point", NULL };
8ab979d7
RD
4448
4449 self = self;
cf694132 4450{
cd096152 4451 _arg2 = &temp;
8ab979d7 4452}
cd096152 4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
8ab979d7 4454 return NULL;
1d99702e
RD
4455 if (_argo0) {
4456 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4459 return NULL;
4460 }
4461 }
cf694132 4462{
cd096152
RD
4463 _arg1 = &temp0;
4464 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 4465 return NULL;
cd096152 4466}
cf694132 4467{
474c48f9 4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4469 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
cf694132 4470
474c48f9 4471 wxPyEndAllowThreads(__tstate);
4dfaa61e 4472 if (PyErr_Occurred()) return NULL;
cd096152
RD
4473} _resultobj = Py_BuildValue("l",_result);
4474{
4475 PyObject *o;
4476 o = PyInt_FromLong((long) (*_arg2));
4477 _resultobj = t_output_helper(_resultobj, o);
4478}
8ab979d7
RD
4479 return _resultobj;
4480}
4481
cd096152
RD
4482#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4483static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4484 PyObject * _resultobj;
cd096152
RD
4485 long _result;
4486 wxPyListCtrl * _arg0;
8ab979d7 4487 wxListItem * _arg1;
1d99702e
RD
4488 PyObject * _argo0 = 0;
4489 PyObject * _argo1 = 0;
efc5f224 4490 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
4491
4492 self = self;
cd096152 4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
8ab979d7 4494 return NULL;
1d99702e
RD
4495 if (_argo0) {
4496 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4499 return NULL;
4500 }
4501 }
1d99702e
RD
4502 if (_argo1) {
4503 if (_argo1 == Py_None) { _arg1 = NULL; }
4504 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
cd096152 4505 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
8ab979d7
RD
4506 return NULL;
4507 }
4508 }
cf694132 4509{
474c48f9 4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4511 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
cf694132 4512
474c48f9 4513 wxPyEndAllowThreads(__tstate);
4dfaa61e 4514 if (PyErr_Occurred()) return NULL;
cd096152 4515} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4516 return _resultobj;
4517}
4518
cd096152
RD
4519#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4520static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4521 PyObject * _resultobj;
4522 long _result;
cd096152 4523 wxPyListCtrl * _arg0;
8ab979d7 4524 long _arg1;
cd096152 4525 wxString * _arg2;
1d99702e 4526 PyObject * _argo0 = 0;
cd096152
RD
4527 PyObject * _obj2 = 0;
4528 char *_kwnames[] = { "self","index","label", NULL };
8ab979d7
RD
4529
4530 self = self;
cd096152 4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 4532 return NULL;
1d99702e
RD
4533 if (_argo0) {
4534 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4537 return NULL;
4538 }
4539 }
4540{
c8bc7bb8
RD
4541 _arg2 = wxString_in_helper(_obj2);
4542 if (_arg2 == NULL)
8ab979d7 4543 return NULL;
8ab979d7 4544}
cf694132 4545{
474c48f9 4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4547 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
cf694132 4548
474c48f9 4549 wxPyEndAllowThreads(__tstate);
4dfaa61e 4550 if (PyErr_Occurred()) return NULL;
cf694132 4551} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4552{
cd096152
RD
4553 if (_obj2)
4554 delete _arg2;
4555}
8ab979d7
RD
4556 return _resultobj;
4557}
4558
cd096152
RD
4559#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4560static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4561 PyObject * _resultobj;
cd096152
RD
4562 long _result;
4563 wxPyListCtrl * _arg0;
8ab979d7
RD
4564 long _arg1;
4565 int _arg2;
1d99702e 4566 PyObject * _argo0 = 0;
cd096152 4567 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4568
4569 self = self;
cd096152 4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4571 return NULL;
1d99702e
RD
4572 if (_argo0) {
4573 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4576 return NULL;
4577 }
4578 }
cf694132 4579{
474c48f9 4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4581 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
cf694132 4582
474c48f9 4583 wxPyEndAllowThreads(__tstate);
4dfaa61e 4584 if (PyErr_Occurred()) return NULL;
cd096152 4585} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4586 return _resultobj;
4587}
4588
cd096152
RD
4589#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4590static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4591 PyObject * _resultobj;
cd096152
RD
4592 long _result;
4593 wxPyListCtrl * _arg0;
8ab979d7 4594 long _arg1;
cd096152
RD
4595 wxString * _arg2;
4596 int _arg3;
1d99702e 4597 PyObject * _argo0 = 0;
2f90df85 4598 PyObject * _obj2 = 0;
cd096152 4599 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4600
4601 self = self;
cd096152 4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4603 return NULL;
1d99702e
RD
4604 if (_argo0) {
4605 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4608 return NULL;
4609 }
4610 }
2f90df85 4611{
c8bc7bb8
RD
4612 _arg2 = wxString_in_helper(_obj2);
4613 if (_arg2 == NULL)
8ab979d7 4614 return NULL;
2f90df85 4615}
cf694132 4616{
474c48f9 4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4618 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4619
474c48f9 4620 wxPyEndAllowThreads(__tstate);
4dfaa61e 4621 if (PyErr_Occurred()) return NULL;
cd096152
RD
4622} _resultobj = Py_BuildValue("l",_result);
4623{
4624 if (_obj2)
4625 delete _arg2;
4626}
8ab979d7
RD
4627 return _resultobj;
4628}
4629
cd096152
RD
4630#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4631static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4632 PyObject * _resultobj;
cd096152
RD
4633 long _result;
4634 wxPyListCtrl * _arg0;
8ab979d7 4635 long _arg1;
cd096152 4636 wxListItem * _arg2;
1d99702e 4637 PyObject * _argo0 = 0;
cd096152
RD
4638 PyObject * _argo2 = 0;
4639 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4640
4641 self = self;
cd096152 4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4643 return NULL;
1d99702e
RD
4644 if (_argo0) {
4645 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4648 return NULL;
4649 }
4650 }
4651 if (_argo2) {
4652 if (_argo2 == Py_None) { _arg2 = NULL; }
4653 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4654 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4655 return NULL;
4656 }
4657 }
cf694132 4658{
474c48f9 4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4660 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132 4661
474c48f9 4662 wxPyEndAllowThreads(__tstate);
4dfaa61e 4663 if (PyErr_Occurred()) return NULL;
cd096152 4664} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4665 return _resultobj;
4666}
4667
cd096152
RD
4668#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4669static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4670 PyObject * _resultobj;
cd096152
RD
4671 long _result;
4672 wxPyListCtrl * _arg0;
8ab979d7
RD
4673 long _arg1;
4674 wxString * _arg2;
cd096152
RD
4675 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
4676 int _arg4 = (int ) -1;
1d99702e 4677 PyObject * _argo0 = 0;
8ab979d7 4678 PyObject * _obj2 = 0;
cd096152 4679 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
4680
4681 self = self;
cd096152 4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 4683 return NULL;
1d99702e
RD
4684 if (_argo0) {
4685 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4688 return NULL;
4689 }
4690 }
4691{
c8bc7bb8
RD
4692 _arg2 = wxString_in_helper(_obj2);
4693 if (_arg2 == NULL)
8ab979d7 4694 return NULL;
8ab979d7 4695}
cf694132 4696{
474c48f9 4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4698 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132 4699
474c48f9 4700 wxPyEndAllowThreads(__tstate);
4dfaa61e 4701 if (PyErr_Occurred()) return NULL;
cd096152 4702} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4703{
4704 if (_obj2)
4705 delete _arg2;
4706}
4707 return _resultobj;
4708}
4709
cd096152
RD
4710#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4711static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4712 PyObject * _resultobj;
cd096152 4713 wxPyListCtrl * _arg0;
8ab979d7 4714 long _arg1;
1d99702e 4715 PyObject * _argo0 = 0;
cd096152 4716 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
4717
4718 self = self;
cd096152 4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 4720 return NULL;
1d99702e
RD
4721 if (_argo0) {
4722 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4725 return NULL;
4726 }
4727 }
cf694132 4728{
474c48f9 4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4730 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132 4731
474c48f9 4732 wxPyEndAllowThreads(__tstate);
4dfaa61e 4733 if (PyErr_Occurred()) return NULL;
cf694132 4734} Py_INCREF(Py_None);
8ab979d7
RD
4735 _resultobj = Py_None;
4736 return _resultobj;
4737}
4738
cd096152
RD
4739#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4740static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4741 PyObject * _resultobj;
cd096152
RD
4742 bool _result;
4743 wxPyListCtrl * _arg0;
4744 int _arg1;
4745 int _arg2;
1d99702e 4746 PyObject * _argo0 = 0;
cd096152 4747 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
4748
4749 self = self;
cd096152 4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4751 return NULL;
1d99702e
RD
4752 if (_argo0) {
4753 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4756 return NULL;
4757 }
4758 }
cf694132 4759{
474c48f9 4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4761 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132 4762
474c48f9 4763 wxPyEndAllowThreads(__tstate);
4dfaa61e 4764 if (PyErr_Occurred()) return NULL;
cd096152 4765} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4766 return _resultobj;
4767}
4768
8381e4cd
RD
4769#define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4770static PyObject *_wrap_wxListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject * _resultobj;
4772 wxPyListCtrl * _arg0;
4773 long _arg1;
4774 wxColour * _arg2;
4775 PyObject * _argo0 = 0;
4776 wxColour temp;
4777 PyObject * _obj2 = 0;
4778 char *_kwnames[] = { "self","item","col", NULL };
4779
4780 self = self;
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemTextColour",_kwnames,&_argo0,&_arg1,&_obj2))
4782 return NULL;
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4787 return NULL;
4788 }
4789 }
4790{
4791 _arg2 = &temp;
4792 if (! wxColour_helper(_obj2, &_arg2))
4793 return NULL;
4794}
4795{
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 wxListCtrl_SetItemTextColour(_arg0,_arg1,*_arg2);
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) return NULL;
4801} Py_INCREF(Py_None);
4802 _resultobj = Py_None;
4803 return _resultobj;
4804}
4805
4806#define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4807static PyObject *_wrap_wxListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4808 PyObject * _resultobj;
4809 wxColour * _result;
4810 wxPyListCtrl * _arg0;
4811 long _arg1;
4812 PyObject * _argo0 = 0;
4813 char *_kwnames[] = { "self","item", NULL };
4814 char _ptemp[128];
4815
4816 self = self;
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemTextColour",_kwnames,&_argo0,&_arg1))
4818 return NULL;
4819 if (_argo0) {
4820 if (_argo0 == Py_None) { _arg0 = NULL; }
4821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4823 return NULL;
4824 }
4825 }
4826{
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 _result = new wxColour (wxListCtrl_GetItemTextColour(_arg0,_arg1));
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) return NULL;
4832} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4833 _resultobj = Py_BuildValue("s",_ptemp);
4834 return _resultobj;
4835}
4836
4837#define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4838static PyObject *_wrap_wxListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4839 PyObject * _resultobj;
4840 wxPyListCtrl * _arg0;
4841 long _arg1;
4842 wxColour * _arg2;
4843 PyObject * _argo0 = 0;
4844 wxColour temp;
4845 PyObject * _obj2 = 0;
4846 char *_kwnames[] = { "self","item","col", NULL };
4847
4848 self = self;
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_arg1,&_obj2))
4850 return NULL;
4851 if (_argo0) {
4852 if (_argo0 == Py_None) { _arg0 = NULL; }
4853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4855 return NULL;
4856 }
4857 }
4858{
4859 _arg2 = &temp;
4860 if (! wxColour_helper(_obj2, &_arg2))
4861 return NULL;
4862}
4863{
4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
4865 wxListCtrl_SetItemBackgroundColour(_arg0,_arg1,*_arg2);
4866
4867 wxPyEndAllowThreads(__tstate);
4868 if (PyErr_Occurred()) return NULL;
4869} Py_INCREF(Py_None);
4870 _resultobj = Py_None;
4871 return _resultobj;
4872}
4873
4874#define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4875static PyObject *_wrap_wxListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject * _resultobj;
4877 wxColour * _result;
4878 wxPyListCtrl * _arg0;
4879 long _arg1;
4880 PyObject * _argo0 = 0;
4881 char *_kwnames[] = { "self","item", NULL };
4882 char _ptemp[128];
4883
4884 self = self;
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames,&_argo0,&_arg1))
4886 return NULL;
4887 if (_argo0) {
4888 if (_argo0 == Py_None) { _arg0 = NULL; }
4889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4891 return NULL;
4892 }
4893 }
4894{
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 _result = new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0,_arg1));
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) return NULL;
4900} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4901 _resultobj = Py_BuildValue("s",_ptemp);
4902 return _resultobj;
4903}
4904
cd096152 4905static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
4906 if (!PyCallable_Check(func))
4907 return FALSE;
f6bcfd97 4908 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
4909 }
4910static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4911 PyObject * _resultobj;
4912 bool _result;
cd096152 4913 wxPyListCtrl * _arg0;
dcd38683
RD
4914 PyObject * _arg1;
4915 PyObject * _argo0 = 0;
4916 PyObject * _obj1 = 0;
4917 char *_kwnames[] = { "self","func", NULL };
4918
4919 self = self;
4920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
4921 return NULL;
4922 if (_argo0) {
4923 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
4926 return NULL;
4927 }
4928 }
4929{
4930 _arg1 = _obj1;
4931}
4932{
474c48f9 4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4934 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683 4935
474c48f9 4936 wxPyEndAllowThreads(__tstate);
4dfaa61e 4937 if (PyErr_Occurred()) return NULL;
dcd38683
RD
4938} _resultobj = Py_BuildValue("i",_result);
4939 return _resultobj;
4940}
4941
059a841c
RD
4942static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
4943 wxListView *src;
4944 wxPyListCtrl *dest;
4945 src = (wxListView *) ptr;
4946 dest = (wxPyListCtrl *) src;
4947 return (void *) dest;
4948}
4949
4950static void *SwigwxListViewTowxControl(void *ptr) {
4951 wxListView *src;
4952 wxControl *dest;
4953 src = (wxListView *) ptr;
4954 dest = (wxControl *) src;
4955 return (void *) dest;
4956}
4957
4958static void *SwigwxListViewTowxWindow(void *ptr) {
4959 wxListView *src;
4960 wxWindow *dest;
4961 src = (wxListView *) ptr;
4962 dest = (wxWindow *) src;
4963 return (void *) dest;
4964}
4965
4966static void *SwigwxListViewTowxEvtHandler(void *ptr) {
4967 wxListView *src;
4968 wxEvtHandler *dest;
4969 src = (wxListView *) ptr;
4970 dest = (wxEvtHandler *) src;
4971 return (void *) dest;
4972}
4973
4974static void *SwigwxListViewTowxObject(void *ptr) {
4975 wxListView *src;
4976 wxObject *dest;
4977 src = (wxListView *) ptr;
4978 dest = (wxObject *) src;
4979 return (void *) dest;
4980}
4981
4982#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4983static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
4984 PyObject * _resultobj;
4985 wxListView * _result;
4986 wxWindow * _arg0;
4987 wxWindowID _arg1 = (wxWindowID ) -1;
4988 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4989 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4990 long _arg4 = (long ) (wxLC_REPORT);
4991 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 4992 wxString * _arg6 = (wxString *) &wxPyListCtrlNameStr;
059a841c
RD
4993 PyObject * _argo0 = 0;
4994 wxPoint temp;
4995 PyObject * _obj2 = 0;
4996 wxSize temp0;
4997 PyObject * _obj3 = 0;
4998 PyObject * _argo5 = 0;
4999 PyObject * _obj6 = 0;
5000 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5001 char _ptemp[128];
5002
5003 self = self;
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5005 return NULL;
5006 if (_argo0) {
5007 if (_argo0 == Py_None) { _arg0 = NULL; }
5008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5010 return NULL;
5011 }
5012 }
5013 if (_obj2)
5014{
5015 _arg2 = &temp;
5016 if (! wxPoint_helper(_obj2, &_arg2))
5017 return NULL;
5018}
5019 if (_obj3)
5020{
5021 _arg3 = &temp0;
5022 if (! wxSize_helper(_obj3, &_arg3))
5023 return NULL;
5024}
5025 if (_argo5) {
5026 if (_argo5 == Py_None) { _arg5 = NULL; }
5027 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5028 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5029 return NULL;
5030 }
5031 }
5032 if (_obj6)
5033{
c8bc7bb8
RD
5034 _arg6 = wxString_in_helper(_obj6);
5035 if (_arg6 == NULL)
059a841c 5036 return NULL;
059a841c
RD
5037}
5038{
474c48f9 5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5040 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
059a841c 5041
474c48f9 5042 wxPyEndAllowThreads(__tstate);
059a841c
RD
5043 if (PyErr_Occurred()) return NULL;
5044} if (_result) {
5045 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5046 _resultobj = Py_BuildValue("s",_ptemp);
5047 } else {
5048 Py_INCREF(Py_None);
5049 _resultobj = Py_None;
5050 }
5051{
5052 if (_obj6)
5053 delete _arg6;
5054}
5055 return _resultobj;
5056}
5057
5058#define new_wxPreListView() (new wxListView())
5059static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject * _resultobj;
5061 wxListView * _result;
5062 char *_kwnames[] = { NULL };
5063 char _ptemp[128];
5064
5065 self = self;
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5067 return NULL;
5068{
474c48f9 5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5070 _result = (wxListView *)new_wxPreListView();
059a841c 5071
474c48f9 5072 wxPyEndAllowThreads(__tstate);
059a841c
RD
5073 if (PyErr_Occurred()) return NULL;
5074} if (_result) {
5075 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5076 _resultobj = Py_BuildValue("s",_ptemp);
5077 } else {
5078 Py_INCREF(Py_None);
5079 _resultobj = Py_None;
5080 }
5081 return _resultobj;
5082}
5083
5084#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5085static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5086 PyObject * _resultobj;
5087 bool _result;
5088 wxListView * _arg0;
5089 wxWindow * _arg1;
5090 wxWindowID _arg2 = (wxWindowID ) -1;
5091 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5092 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5093 long _arg5 = (long ) (wxLC_REPORT);
5094 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5095 wxString * _arg7 = (wxString *) &wxPyListCtrlNameStr;
059a841c
RD
5096 PyObject * _argo0 = 0;
5097 PyObject * _argo1 = 0;
5098 wxPoint temp;
5099 PyObject * _obj3 = 0;
5100 wxSize temp0;
5101 PyObject * _obj4 = 0;
5102 PyObject * _argo6 = 0;
5103 PyObject * _obj7 = 0;
5104 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5105
5106 self = self;
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5108 return NULL;
5109 if (_argo0) {
5110 if (_argo0 == Py_None) { _arg0 = NULL; }
5111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5113 return NULL;
5114 }
5115 }
5116 if (_argo1) {
5117 if (_argo1 == Py_None) { _arg1 = NULL; }
5118 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5119 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5120 return NULL;
5121 }
5122 }
5123 if (_obj3)
5124{
5125 _arg3 = &temp;
5126 if (! wxPoint_helper(_obj3, &_arg3))
5127 return NULL;
5128}
5129 if (_obj4)
5130{
5131 _arg4 = &temp0;
5132 if (! wxSize_helper(_obj4, &_arg4))
5133 return NULL;
5134}
5135 if (_argo6) {
5136 if (_argo6 == Py_None) { _arg6 = NULL; }
5137 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5138 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5139 return NULL;
5140 }
5141 }
5142 if (_obj7)
5143{
c8bc7bb8
RD
5144 _arg7 = wxString_in_helper(_obj7);
5145 if (_arg7 == NULL)
059a841c 5146 return NULL;
059a841c
RD
5147}
5148{
474c48f9 5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5150 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
059a841c 5151
474c48f9 5152 wxPyEndAllowThreads(__tstate);
059a841c
RD
5153 if (PyErr_Occurred()) return NULL;
5154} _resultobj = Py_BuildValue("i",_result);
5155{
5156 if (_obj7)
5157 delete _arg7;
5158}
5159 return _resultobj;
5160}
5161
5162#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5163static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5164 PyObject * _resultobj;
5165 wxListView * _arg0;
5166 long _arg1;
5167 bool _arg2 = (bool ) TRUE;
5168 PyObject * _argo0 = 0;
5169 int tempbool2 = (int) TRUE;
5170 char *_kwnames[] = { "self","n","on", NULL };
5171
5172 self = self;
5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5174 return NULL;
5175 if (_argo0) {
5176 if (_argo0 == Py_None) { _arg0 = NULL; }
5177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5179 return NULL;
5180 }
5181 }
5182 _arg2 = (bool ) tempbool2;
5183{
474c48f9 5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5185 wxListView_Select(_arg0,_arg1,_arg2);
059a841c 5186
474c48f9 5187 wxPyEndAllowThreads(__tstate);
059a841c
RD
5188 if (PyErr_Occurred()) return NULL;
5189} Py_INCREF(Py_None);
5190 _resultobj = Py_None;
5191 return _resultobj;
5192}
5193
5194#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5195static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5196 PyObject * _resultobj;
5197 wxListView * _arg0;
5198 long _arg1;
5199 PyObject * _argo0 = 0;
5200 char *_kwnames[] = { "self","index", NULL };
5201
5202 self = self;
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5204 return NULL;
5205 if (_argo0) {
5206 if (_argo0 == Py_None) { _arg0 = NULL; }
5207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5209 return NULL;
5210 }
5211 }
5212{
474c48f9 5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5214 wxListView_Focus(_arg0,_arg1);
059a841c 5215
474c48f9 5216 wxPyEndAllowThreads(__tstate);
059a841c
RD
5217 if (PyErr_Occurred()) return NULL;
5218} Py_INCREF(Py_None);
5219 _resultobj = Py_None;
5220 return _resultobj;
5221}
5222
5223#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5224static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject * _resultobj;
5226 long _result;
5227 wxListView * _arg0;
5228 PyObject * _argo0 = 0;
5229 char *_kwnames[] = { "self", NULL };
5230
5231 self = self;
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5233 return NULL;
5234 if (_argo0) {
5235 if (_argo0 == Py_None) { _arg0 = NULL; }
5236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5238 return NULL;
5239 }
5240 }
5241{
474c48f9 5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5243 _result = (long )wxListView_GetFocusedItem(_arg0);
059a841c 5244
474c48f9 5245 wxPyEndAllowThreads(__tstate);
059a841c
RD
5246 if (PyErr_Occurred()) return NULL;
5247} _resultobj = Py_BuildValue("l",_result);
5248 return _resultobj;
5249}
5250
5251#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5252static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5253 PyObject * _resultobj;
5254 long _result;
5255 wxListView * _arg0;
5256 long _arg1;
5257 PyObject * _argo0 = 0;
5258 char *_kwnames[] = { "self","item", NULL };
5259
5260 self = self;
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5262 return NULL;
5263 if (_argo0) {
5264 if (_argo0 == Py_None) { _arg0 = NULL; }
5265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5267 return NULL;
5268 }
5269 }
5270{
474c48f9 5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5272 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
059a841c 5273
474c48f9 5274 wxPyEndAllowThreads(__tstate);
059a841c
RD
5275 if (PyErr_Occurred()) return NULL;
5276} _resultobj = Py_BuildValue("l",_result);
5277 return _resultobj;
5278}
5279
5280#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5281static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject * _resultobj;
5283 long _result;
5284 wxListView * _arg0;
5285 PyObject * _argo0 = 0;
5286 char *_kwnames[] = { "self", NULL };
5287
5288 self = self;
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5290 return NULL;
5291 if (_argo0) {
5292 if (_argo0 == Py_None) { _arg0 = NULL; }
5293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5295 return NULL;
5296 }
5297 }
5298{
474c48f9 5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5300 _result = (long )wxListView_GetFirstSelected(_arg0);
059a841c 5301
474c48f9 5302 wxPyEndAllowThreads(__tstate);
059a841c
RD
5303 if (PyErr_Occurred()) return NULL;
5304} _resultobj = Py_BuildValue("l",_result);
5305 return _resultobj;
5306}
5307
5308#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5309static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5310 PyObject * _resultobj;
5311 bool _result;
5312 wxListView * _arg0;
5313 long _arg1;
5314 PyObject * _argo0 = 0;
5315 char *_kwnames[] = { "self","index", NULL };
5316
5317 self = self;
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5319 return NULL;
5320 if (_argo0) {
5321 if (_argo0 == Py_None) { _arg0 = NULL; }
5322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5324 return NULL;
5325 }
5326 }
5327{
474c48f9 5328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5329 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
059a841c 5330
474c48f9 5331 wxPyEndAllowThreads(__tstate);
059a841c
RD
5332 if (PyErr_Occurred()) return NULL;
5333} _resultobj = Py_BuildValue("i",_result);
5334 return _resultobj;
5335}
5336
5337#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5338static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject * _resultobj;
5340 wxListView * _arg0;
5341 int _arg1;
5342 int _arg2;
5343 PyObject * _argo0 = 0;
5344 char *_kwnames[] = { "self","col","image", NULL };
5345
5346 self = self;
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5348 return NULL;
5349 if (_argo0) {
5350 if (_argo0 == Py_None) { _arg0 = NULL; }
5351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5353 return NULL;
5354 }
5355 }
5356{
474c48f9 5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5358 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
059a841c 5359
474c48f9 5360 wxPyEndAllowThreads(__tstate);
059a841c
RD
5361 if (PyErr_Occurred()) return NULL;
5362} Py_INCREF(Py_None);
5363 _resultobj = Py_None;
5364 return _resultobj;
5365}
5366
5367#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5368static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5369 PyObject * _resultobj;
5370 wxListView * _arg0;
5371 int _arg1;
5372 PyObject * _argo0 = 0;
5373 char *_kwnames[] = { "self","col", NULL };
5374
5375 self = self;
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5377 return NULL;
5378 if (_argo0) {
5379 if (_argo0 == Py_None) { _arg0 = NULL; }
5380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5382 return NULL;
5383 }
5384 }
5385{
474c48f9 5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5387 wxListView_ClearColumnImage(_arg0,_arg1);
059a841c 5388
474c48f9 5389 wxPyEndAllowThreads(__tstate);
059a841c
RD
5390 if (PyErr_Occurred()) return NULL;
5391} Py_INCREF(Py_None);
5392 _resultobj = Py_None;
5393 return _resultobj;
5394}
5395
aa2a5b86
RD
5396#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5397static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5398 PyObject * _resultobj;
aa2a5b86
RD
5399 wxTreeItemAttr * _result;
5400 wxColour * _arg0 = (wxColour *) &wxNullColour;
5401 wxColour * _arg1 = (wxColour *) &wxNullColour;
5402 wxFont * _arg2 = (wxFont *) &wxNullFont;
5403 wxColour temp;
5404 PyObject * _obj0 = 0;
5405 wxColour temp0;
5406 PyObject * _obj1 = 0;
5407 PyObject * _argo2 = 0;
5408 char *_kwnames[] = { "colText","colBack","font", NULL };
d5c9047a 5409 char _ptemp[128];
8ab979d7
RD
5410
5411 self = self;
aa2a5b86
RD
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5413 return NULL;
5414 if (_obj0)
5415{
5416 _arg0 = &temp;
5417 if (! wxColour_helper(_obj0, &_arg0))
5418 return NULL;
5419}
5420 if (_obj1)
5421{
5422 _arg1 = &temp0;
5423 if (! wxColour_helper(_obj1, &_arg1))
5424 return NULL;
5425}
5426 if (_argo2) {
5427 if (_argo2 == Py_None) { _arg2 = NULL; }
5428 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5429 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
8ab979d7 5430 return NULL;
aa2a5b86
RD
5431 }
5432 }
cf694132 5433{
474c48f9 5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5435 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
cf694132 5436
474c48f9 5437 wxPyEndAllowThreads(__tstate);
4dfaa61e 5438 if (PyErr_Occurred()) return NULL;
1d99702e 5439} if (_result) {
aa2a5b86 5440 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
1d99702e
RD
5441 _resultobj = Py_BuildValue("s",_ptemp);
5442 } else {
5443 Py_INCREF(Py_None);
5444 _resultobj = Py_None;
5445 }
8ab979d7
RD
5446 return _resultobj;
5447}
5448
aa2a5b86
RD
5449#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5450static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5451 PyObject * _resultobj;
aa2a5b86
RD
5452 wxTreeItemAttr * _arg0;
5453 wxColour * _arg1;
1d99702e 5454 PyObject * _argo0 = 0;
aa2a5b86
RD
5455 wxColour temp;
5456 PyObject * _obj1 = 0;
5457 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
5458
5459 self = self;
aa2a5b86 5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5461 return NULL;
1d99702e
RD
5462 if (_argo0) {
5463 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5466 return NULL;
5467 }
5468 }
aa2a5b86
RD
5469{
5470 _arg1 = &temp;
5471 if (! wxColour_helper(_obj1, &_arg1))
5472 return NULL;
5473}
cf694132 5474{
474c48f9 5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5476 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
cf694132 5477
474c48f9 5478 wxPyEndAllowThreads(__tstate);
4dfaa61e 5479 if (PyErr_Occurred()) return NULL;
cf694132 5480} Py_INCREF(Py_None);
d5c9047a 5481 _resultobj = Py_None;
8ab979d7
RD
5482 return _resultobj;
5483}
5484
aa2a5b86
RD
5485#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5486static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5487 PyObject * _resultobj;
aa2a5b86
RD
5488 wxTreeItemAttr * _arg0;
5489 wxColour * _arg1;
1d99702e 5490 PyObject * _argo0 = 0;
aa2a5b86
RD
5491 wxColour temp;
5492 PyObject * _obj1 = 0;
5493 char *_kwnames[] = { "self","colBack", NULL };
8ab979d7
RD
5494
5495 self = self;
aa2a5b86 5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5497 return NULL;
1d99702e
RD
5498 if (_argo0) {
5499 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5502 return NULL;
5503 }
5504 }
aa2a5b86
RD
5505{
5506 _arg1 = &temp;
5507 if (! wxColour_helper(_obj1, &_arg1))
5508 return NULL;
5509}
cf694132 5510{
474c48f9 5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5512 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132 5513
474c48f9 5514 wxPyEndAllowThreads(__tstate);
4dfaa61e 5515 if (PyErr_Occurred()) return NULL;
aa2a5b86
RD
5516} Py_INCREF(Py_None);
5517 _resultobj = Py_None;
8ab979d7
RD
5518 return _resultobj;
5519}
5520
aa2a5b86
RD
5521#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5522static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5523 PyObject * _resultobj;
aa2a5b86
RD
5524 wxTreeItemAttr * _arg0;
5525 wxFont * _arg1;
f6bcfd97
BP
5526 PyObject * _argo0 = 0;
5527 PyObject * _argo1 = 0;
aa2a5b86 5528 char *_kwnames[] = { "self","font", NULL };
f6bcfd97
BP
5529
5530 self = self;
aa2a5b86 5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
f6bcfd97
BP
5532 return NULL;
5533 if (_argo0) {
5534 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
f6bcfd97
BP
5537 return NULL;
5538 }
5539 }
5540 if (_argo1) {
5541 if (_argo1 == Py_None) { _arg1 = NULL; }
aa2a5b86
RD
5542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
f6bcfd97
BP
5544 return NULL;
5545 }
5546 }
5547{
474c48f9 5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5549 wxTreeItemAttr_SetFont(_arg0,*_arg1);
f6bcfd97 5550
474c48f9 5551 wxPyEndAllowThreads(__tstate);
4dfaa61e 5552 if (PyErr_Occurred()) return NULL;
aa2a5b86
RD
5553} Py_INCREF(Py_None);
5554 _resultobj = Py_None;
f6bcfd97
BP
5555 return _resultobj;
5556}
5557
aa2a5b86
RD
5558#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5559static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5560 PyObject * _resultobj;
aa2a5b86
RD
5561 bool _result;
5562 wxTreeItemAttr * _arg0;
5563 PyObject * _argo0 = 0;
5564 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5565
5566 self = self;
aa2a5b86 5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
8ab979d7 5568 return NULL;
aa2a5b86
RD
5569 if (_argo0) {
5570 if (_argo0 == Py_None) { _arg0 = NULL; }
5571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5573 return NULL;
5574 }
5575 }
cf694132 5576{
474c48f9 5577 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5578 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
cf694132 5579
474c48f9 5580 wxPyEndAllowThreads(__tstate);
4dfaa61e 5581 if (PyErr_Occurred()) return NULL;
aa2a5b86 5582} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5583 return _resultobj;
5584}
5585
aa2a5b86
RD
5586#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5587static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 5588 PyObject * _resultobj;
aa2a5b86
RD
5589 bool _result;
5590 wxTreeItemAttr * _arg0;
1d99702e 5591 PyObject * _argo0 = 0;
efc5f224 5592 char *_kwnames[] = { "self", NULL };
cf694132
RD
5593
5594 self = self;
aa2a5b86 5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
cf694132 5596 return NULL;
1d99702e
RD
5597 if (_argo0) {
5598 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
cf694132
RD
5601 return NULL;
5602 }
5603 }
5604{
474c48f9 5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5606 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
cf694132 5607
474c48f9 5608 wxPyEndAllowThreads(__tstate);
4dfaa61e 5609 if (PyErr_Occurred()) return NULL;
aa2a5b86 5610} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
5611 return _resultobj;
5612}
5613
aa2a5b86
RD
5614#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5615static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5616 PyObject * _resultobj;
aa2a5b86
RD
5617 bool _result;
5618 wxTreeItemAttr * _arg0;
1d99702e 5619 PyObject * _argo0 = 0;
aa2a5b86 5620 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5621
5622 self = self;
aa2a5b86 5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
8ab979d7 5624 return NULL;
1d99702e
RD
5625 if (_argo0) {
5626 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5629 return NULL;
5630 }
5631 }
cf694132 5632{
474c48f9 5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5634 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
cf694132 5635
474c48f9 5636 wxPyEndAllowThreads(__tstate);
4dfaa61e 5637 if (PyErr_Occurred()) return NULL;
aa2a5b86 5638} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5639 return _resultobj;
5640}
5641
aa2a5b86
RD
5642#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5643static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5644 PyObject * _resultobj;
aa2a5b86
RD
5645 wxColour * _result;
5646 wxTreeItemAttr * _arg0;
1d99702e 5647 PyObject * _argo0 = 0;
efc5f224 5648 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5649 char _ptemp[128];
5650
5651 self = self;
aa2a5b86 5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 5653 return NULL;
1d99702e
RD
5654 if (_argo0) {
5655 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5658 return NULL;
5659 }
5660 }
cf694132 5661{
474c48f9 5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5663 _result = new wxColour (wxTreeItemAttr_GetTextColour(_arg0));
cf694132 5664
474c48f9 5665 wxPyEndAllowThreads(__tstate);
4dfaa61e 5666 if (PyErr_Occurred()) return NULL;
3e212503
RD
5667} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5668 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
5669 return _resultobj;
5670}
5671
aa2a5b86
RD
5672#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5673static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 5674 PyObject * _resultobj;
aa2a5b86
RD
5675 wxColour * _result;
5676 wxTreeItemAttr * _arg0;
1d99702e 5677 PyObject * _argo0 = 0;
aa2a5b86
RD
5678 char *_kwnames[] = { "self", NULL };
5679 char _ptemp[128];
5680
5681 self = self;
5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5683 return NULL;
5684 if (_argo0) {
5685 if (_argo0 == Py_None) { _arg0 = NULL; }
5686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5688 return NULL;
5689 }
5690 }
5691{
474c48f9 5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5693 _result = new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0));
aa2a5b86 5694
474c48f9 5695 wxPyEndAllowThreads(__tstate);
aa2a5b86 5696 if (PyErr_Occurred()) return NULL;
3e212503
RD
5697} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5698 _resultobj = Py_BuildValue("s",_ptemp);
aa2a5b86
RD
5699 return _resultobj;
5700}
5701
5702#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5703static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5704 PyObject * _resultobj;
5705 wxFont * _result;
5706 wxTreeItemAttr * _arg0;
5707 PyObject * _argo0 = 0;
5708 char *_kwnames[] = { "self", NULL };
5709 char _ptemp[128];
5710
5711 self = self;
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5713 return NULL;
5714 if (_argo0) {
5715 if (_argo0 == Py_None) { _arg0 = NULL; }
5716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5718 return NULL;
5719 }
5720 }
5721{
474c48f9 5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5723 _result = new wxFont (wxTreeItemAttr_GetFont(_arg0));
aa2a5b86 5724
474c48f9 5725 wxPyEndAllowThreads(__tstate);
aa2a5b86 5726 if (PyErr_Occurred()) return NULL;
3e212503
RD
5727} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5728 _resultobj = Py_BuildValue("s",_ptemp);
aa2a5b86
RD
5729 return _resultobj;
5730}
5731
5732#define new_wxTreeItemId() (new wxTreeItemId())
5733static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject * _resultobj;
5735 wxTreeItemId * _result;
5736 char *_kwnames[] = { NULL };
5737 char _ptemp[128];
5738
5739 self = self;
5740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
5741 return NULL;
5742{
474c48f9 5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5744 _result = (wxTreeItemId *)new_wxTreeItemId();
aa2a5b86 5745
474c48f9 5746 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5747 if (PyErr_Occurred()) return NULL;
5748} if (_result) {
5749 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5750 _resultobj = Py_BuildValue("s",_ptemp);
5751 } else {
5752 Py_INCREF(Py_None);
5753 _resultobj = Py_None;
5754 }
5755 return _resultobj;
5756}
5757
5758#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5759static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject * _resultobj;
5761 wxTreeItemId * _arg0;
5762 PyObject * _argo0 = 0;
5763 char *_kwnames[] = { "self", NULL };
5764
5765 self = self;
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
5767 return NULL;
5768 if (_argo0) {
5769 if (_argo0 == Py_None) { _arg0 = NULL; }
5770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5772 return NULL;
5773 }
5774 }
5775{
474c48f9 5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5777 delete_wxTreeItemId(_arg0);
aa2a5b86 5778
474c48f9 5779 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5780 if (PyErr_Occurred()) return NULL;
5781} Py_INCREF(Py_None);
5782 _resultobj = Py_None;
5783 return _resultobj;
5784}
5785
5786#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5787static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject * _resultobj;
5789 bool _result;
5790 wxTreeItemId * _arg0;
5791 PyObject * _argo0 = 0;
5792 char *_kwnames[] = { "self", NULL };
5793
5794 self = self;
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
5796 return NULL;
5797 if (_argo0) {
5798 if (_argo0 == Py_None) { _arg0 = NULL; }
5799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5801 return NULL;
5802 }
5803 }
5804{
474c48f9 5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5806 _result = (bool )wxTreeItemId_IsOk(_arg0);
aa2a5b86 5807
474c48f9 5808 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5809 if (PyErr_Occurred()) return NULL;
5810} _resultobj = Py_BuildValue("i",_result);
5811 return _resultobj;
5812}
5813
5814static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
5815 if (! other) return -1;
5816 return *self != *other;
5817 }
5818static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject * _resultobj;
5820 int _result;
5821 wxTreeItemId * _arg0;
5822 wxTreeItemId * _arg1;
5823 PyObject * _argo0 = 0;
5824 PyObject * _argo1 = 0;
5825 char *_kwnames[] = { "self","other", NULL };
5826
5827 self = self;
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
5829 return NULL;
5830 if (_argo0) {
5831 if (_argo0 == Py_None) { _arg0 = NULL; }
5832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5834 return NULL;
5835 }
5836 }
5837 if (_argo1) {
5838 if (_argo1 == Py_None) { _arg1 = NULL; }
5839 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5840 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5841 return NULL;
5842 }
5843 }
5844{
474c48f9 5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5846 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
aa2a5b86 5847
474c48f9 5848 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5849 if (PyErr_Occurred()) return NULL;
5850} _resultobj = Py_BuildValue("i",_result);
5851 return _resultobj;
5852}
5853
5854static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
5855 wxPyTreeItemData *src;
5856 wxObject *dest;
5857 src = (wxPyTreeItemData *) ptr;
5858 dest = (wxObject *) src;
5859 return (void *) dest;
5860}
5861
5862#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5863static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
5864 PyObject * _resultobj;
5865 wxPyTreeItemData * _result;
5866 PyObject * _arg0 = (PyObject *) NULL;
5867 PyObject * _obj0 = 0;
5868 char *_kwnames[] = { "obj", NULL };
5869 char _ptemp[128];
5870
5871 self = self;
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
5873 return NULL;
5874 if (_obj0)
5875{
5876 _arg0 = _obj0;
5877}
5878{
474c48f9 5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5880 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
aa2a5b86 5881
474c48f9 5882 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5883 if (PyErr_Occurred()) return NULL;
5884} if (_result) {
5885 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
5886 _resultobj = Py_BuildValue("s",_ptemp);
5887 } else {
5888 Py_INCREF(Py_None);
5889 _resultobj = Py_None;
5890 }
5891 return _resultobj;
5892}
5893
5894#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5895static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject * _resultobj;
5897 PyObject * _result;
5898 wxPyTreeItemData * _arg0;
5899 PyObject * _argo0 = 0;
5900 char *_kwnames[] = { "self", NULL };
5901
5902 self = self;
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
5904 return NULL;
5905 if (_argo0) {
5906 if (_argo0 == Py_None) { _arg0 = NULL; }
5907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
5908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5909 return NULL;
5910 }
5911 }
5912{
474c48f9 5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5914 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
aa2a5b86 5915
474c48f9 5916 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5917 if (PyErr_Occurred()) return NULL;
5918}{
5919 _resultobj = _result;
5920}
5921 return _resultobj;
5922}
5923
5924#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
5925static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject * _resultobj;
5927 wxPyTreeItemData * _arg0;
5928 PyObject * _arg1;
5929 PyObject * _argo0 = 0;
5930 PyObject * _obj1 = 0;
5931 char *_kwnames[] = { "self","obj", NULL };
5932
5933 self = self;
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
5935 return NULL;
5936 if (_argo0) {
5937 if (_argo0 == Py_None) { _arg0 = NULL; }
5938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
5939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
5940 return NULL;
5941 }
5942 }
5943{
5944 _arg1 = _obj1;
5945}
5946{
474c48f9 5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5948 wxTreeItemData_SetData(_arg0,_arg1);
aa2a5b86 5949
474c48f9 5950 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5951 if (PyErr_Occurred()) return NULL;
5952} Py_INCREF(Py_None);
5953 _resultobj = Py_None;
5954 return _resultobj;
5955}
5956
5957#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
5958static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5959 PyObject * _resultobj;
5960 wxTreeItemId * _result;
5961 wxPyTreeItemData * _arg0;
5962 PyObject * _argo0 = 0;
5963 char *_kwnames[] = { "self", NULL };
5964 char _ptemp[128];
5965
5966 self = self;
5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
5968 return NULL;
5969 if (_argo0) {
5970 if (_argo0 == Py_None) { _arg0 = NULL; }
5971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
5972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
5973 return NULL;
5974 }
5975 }
5976{
474c48f9 5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5978 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
aa2a5b86
RD
5979 _result = (wxTreeItemId *) &_result_ref;
5980
474c48f9 5981 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5982 if (PyErr_Occurred()) return NULL;
5983} if (_result) {
5984 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5985 _resultobj = Py_BuildValue("s",_ptemp);
5986 } else {
5987 Py_INCREF(Py_None);
5988 _resultobj = Py_None;
5989 }
5990 return _resultobj;
5991}
5992
5993#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
5994static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5995 PyObject * _resultobj;
5996 wxPyTreeItemData * _arg0;
5997 wxTreeItemId * _arg1;
5998 PyObject * _argo0 = 0;
5999 PyObject * _argo1 = 0;
6000 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6001
6002 self = self;
efc5f224 6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6004 return NULL;
1d99702e
RD
6005 if (_argo0) {
6006 if (_argo0 == Py_None) { _arg0 = NULL; }
6007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6009 return NULL;
6010 }
6011 }
1d99702e
RD
6012 if (_argo1) {
6013 if (_argo1 == Py_None) { _arg1 = NULL; }
6014 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6015 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6016 return NULL;
6017 }
6018 }
cf694132 6019{
474c48f9 6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6021 wxTreeItemData_SetId(_arg0,*_arg1);
cf694132 6022
474c48f9 6023 wxPyEndAllowThreads(__tstate);
4dfaa61e 6024 if (PyErr_Occurred()) return NULL;
cf694132 6025} Py_INCREF(Py_None);
630d84f2
RD
6026 _resultobj = Py_None;
6027 return _resultobj;
6028}
6029
8bf5d46e
RD
6030static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6031 wxTreeEvent *src;
6032 wxNotifyEvent *dest;
6033 src = (wxTreeEvent *) ptr;
6034 dest = (wxNotifyEvent *) src;
6035 return (void *) dest;
6036}
6037
8ab979d7
RD
6038static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6039 wxTreeEvent *src;
6040 wxCommandEvent *dest;
6041 src = (wxTreeEvent *) ptr;
6042 dest = (wxCommandEvent *) src;
6043 return (void *) dest;
6044}
6045
6046static void *SwigwxTreeEventTowxEvent(void *ptr) {
6047 wxTreeEvent *src;
6048 wxEvent *dest;
6049 src = (wxTreeEvent *) ptr;
6050 dest = (wxEvent *) src;
6051 return (void *) dest;
6052}
6053
9df61a29
RD
6054static void *SwigwxTreeEventTowxObject(void *ptr) {
6055 wxTreeEvent *src;
6056 wxObject *dest;
6057 src = (wxTreeEvent *) ptr;
6058 dest = (wxObject *) src;
6059 return (void *) dest;
6060}
6061
aa2a5b86
RD
6062#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6063static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject * _resultobj;
6065 wxTreeEvent * _result;
6066 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6067 int _arg1 = (int ) 0;
6068 char *_kwnames[] = { "commandType","id", NULL };
6069 char _ptemp[128];
6070
6071 self = self;
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6073 return NULL;
6074{
474c48f9 6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6076 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
aa2a5b86 6077
474c48f9 6078 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6079 if (PyErr_Occurred()) return NULL;
6080} if (_result) {
6081 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6082 _resultobj = Py_BuildValue("s",_ptemp);
6083 } else {
6084 Py_INCREF(Py_None);
6085 _resultobj = Py_None;
6086 }
6087 return _resultobj;
6088}
6089
d5c9047a 6090#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6091static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6092 PyObject * _resultobj;
d5c9047a 6093 wxTreeItemId * _result;
8ab979d7 6094 wxTreeEvent * _arg0;
1d99702e 6095 PyObject * _argo0 = 0;
efc5f224 6096 char *_kwnames[] = { "self", NULL };
d5c9047a 6097 char _ptemp[128];
8ab979d7
RD
6098
6099 self = self;
efc5f224 6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6101 return NULL;
1d99702e
RD
6102 if (_argo0) {
6103 if (_argo0 == Py_None) { _arg0 = NULL; }
6104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6106 return NULL;
6107 }
6108 }
cf694132 6109{
474c48f9 6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6111 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
cf694132 6112
474c48f9 6113 wxPyEndAllowThreads(__tstate);
4dfaa61e 6114 if (PyErr_Occurred()) return NULL;
cf694132 6115} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6116 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6117 return _resultobj;
6118}
6119
d5c9047a 6120#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6121static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6122 PyObject * _resultobj;
d5c9047a 6123 wxTreeItemId * _result;
8ab979d7 6124 wxTreeEvent * _arg0;
1d99702e 6125 PyObject * _argo0 = 0;
efc5f224 6126 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6127 char _ptemp[128];
6128
6129 self = self;
efc5f224 6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6131 return NULL;
1d99702e
RD
6132 if (_argo0) {
6133 if (_argo0 == Py_None) { _arg0 = NULL; }
6134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6136 return NULL;
6137 }
6138 }
cf694132 6139{
474c48f9 6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6141 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
cf694132 6142
474c48f9 6143 wxPyEndAllowThreads(__tstate);
4dfaa61e 6144 if (PyErr_Occurred()) return NULL;
cf694132 6145} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6146 _resultobj = Py_BuildValue("s",_ptemp);
6147 return _resultobj;
6148}
6149
d5c9047a 6150#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6151static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6152 PyObject * _resultobj;
d5c9047a 6153 wxPoint * _result;
8ab979d7 6154 wxTreeEvent * _arg0;
1d99702e 6155 PyObject * _argo0 = 0;
efc5f224 6156 char *_kwnames[] = { "self", NULL };
d5c9047a 6157 char _ptemp[128];
8ab979d7
RD
6158
6159 self = self;
efc5f224 6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6161 return NULL;
1d99702e
RD
6162 if (_argo0) {
6163 if (_argo0 == Py_None) { _arg0 = NULL; }
6164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6166 return NULL;
6167 }
6168 }
cf694132 6169{
474c48f9 6170 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6171 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
cf694132 6172
474c48f9 6173 wxPyEndAllowThreads(__tstate);
4dfaa61e 6174 if (PyErr_Occurred()) return NULL;
cf694132 6175} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6176 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6177 return _resultobj;
6178}
6179
65191ae8
RD
6180#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6181static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject * _resultobj;
6183 wxKeyEvent * _result;
6184 wxTreeEvent * _arg0;
6185 PyObject * _argo0 = 0;
6186 char *_kwnames[] = { "self", NULL };
6187 char _ptemp[128];
6188
6189 self = self;
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6191 return NULL;
6192 if (_argo0) {
6193 if (_argo0 == Py_None) { _arg0 = NULL; }
6194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6196 return NULL;
6197 }
6198 }
6199{
474c48f9 6200 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6201 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
65191ae8
RD
6202 _result = (wxKeyEvent *) &_result_ref;
6203
474c48f9 6204 wxPyEndAllowThreads(__tstate);
65191ae8
RD
6205 if (PyErr_Occurred()) return NULL;
6206} if (_result) {
6207 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6208 _resultobj = Py_BuildValue("s",_ptemp);
6209 } else {
6210 Py_INCREF(Py_None);
6211 _resultobj = Py_None;
6212 }
6213 return _resultobj;
6214}
6215
d5c9047a 6216#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 6217static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6218 PyObject * _resultobj;
d5c9047a 6219 int _result;
8ab979d7 6220 wxTreeEvent * _arg0;
1d99702e 6221 PyObject * _argo0 = 0;
efc5f224 6222 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6223
6224 self = self;
efc5f224 6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 6226 return NULL;
1d99702e
RD
6227 if (_argo0) {
6228 if (_argo0 == Py_None) { _arg0 = NULL; }
6229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6231 return NULL;
6232 }
6233 }
cf694132 6234{
474c48f9 6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6236 _result = (int )wxTreeEvent_GetCode(_arg0);
cf694132 6237
474c48f9 6238 wxPyEndAllowThreads(__tstate);
4dfaa61e 6239 if (PyErr_Occurred()) return NULL;
cf694132 6240} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6241 return _resultobj;
6242}
6243
8bf5d46e 6244#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6245static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6246 PyObject * _resultobj;
8bf5d46e 6247 wxString * _result;
d5c9047a 6248 wxTreeEvent * _arg0;
1d99702e 6249 PyObject * _argo0 = 0;
efc5f224 6250 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6251
6252 self = self;
efc5f224 6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6254 return NULL;
1d99702e
RD
6255 if (_argo0) {
6256 if (_argo0 == Py_None) { _arg0 = NULL; }
6257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6259 return NULL;
6260 }
6261 }
cf694132 6262{
474c48f9 6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6264 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
8bf5d46e 6265 _result = (wxString *) &_result_ref;
cf694132 6266
474c48f9 6267 wxPyEndAllowThreads(__tstate);
4dfaa61e 6268 if (PyErr_Occurred()) return NULL;
8bf5d46e 6269}{
c8bc7bb8
RD
6270#if wxUSE_UNICODE
6271 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6272#else
eec92d76 6273 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6274#endif
8bf5d46e 6275}
8ab979d7
RD
6276 return _resultobj;
6277}
6278
f6bcfd97
BP
6279static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6280 wxPyTreeCtrl *src;
8ab979d7 6281 wxControl *dest;
f6bcfd97 6282 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6283 dest = (wxControl *) src;
6284 return (void *) dest;
6285}
6286
f6bcfd97
BP
6287static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6288 wxPyTreeCtrl *src;
8ab979d7 6289 wxWindow *dest;
f6bcfd97 6290 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6291 dest = (wxWindow *) src;
6292 return (void *) dest;
6293}
6294
f6bcfd97
BP
6295static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6296 wxPyTreeCtrl *src;
8ab979d7 6297 wxEvtHandler *dest;
f6bcfd97 6298 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6299 dest = (wxEvtHandler *) src;
6300 return (void *) dest;
6301}
6302
9df61a29
RD
6303static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6304 wxPyTreeCtrl *src;
6305 wxObject *dest;
6306 src = (wxPyTreeCtrl *) ptr;
6307 dest = (wxObject *) src;
6308 return (void *) dest;
6309}
6310
f6bcfd97 6311#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6312static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6313 PyObject * _resultobj;
f6bcfd97 6314 wxPyTreeCtrl * _result;
8ab979d7 6315 wxWindow * _arg0;
1d99702e 6316 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
6317 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6318 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
aa2a5b86 6319 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
b68dc582 6320 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 6321 wxString * _arg6 = (wxString *) &wxPy_TreeCtrlNameStr;
1d99702e 6322 PyObject * _argo0 = 0;
2f90df85
RD
6323 wxPoint temp;
6324 PyObject * _obj2 = 0;
6325 wxSize temp0;
6326 PyObject * _obj3 = 0;
1d99702e 6327 PyObject * _argo5 = 0;
9a74fcaf 6328 PyObject * _obj6 = 0;
efc5f224 6329 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6330 char _ptemp[128];
6331
6332 self = self;
9a74fcaf 6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 6334 return NULL;
1d99702e
RD
6335 if (_argo0) {
6336 if (_argo0 == Py_None) { _arg0 = NULL; }
6337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6339 return NULL;
6340 }
6341 }
2f90df85
RD
6342 if (_obj2)
6343{
6344 _arg2 = &temp;
6345 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6346 return NULL;
2f90df85
RD
6347}
6348 if (_obj3)
6349{
6350 _arg3 = &temp0;
6351 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6352 return NULL;
2f90df85 6353}
1d99702e
RD
6354 if (_argo5) {
6355 if (_argo5 == Py_None) { _arg5 = NULL; }
6356 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6357 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6358 return NULL;
6359 }
6360 }
9a74fcaf
RD
6361 if (_obj6)
6362{
6363 _arg6 = wxString_in_helper(_obj6);
6364 if (_arg6 == NULL)
6365 return NULL;
6366}
cf694132 6367{
474c48f9 6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6369 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 6370
474c48f9 6371 wxPyEndAllowThreads(__tstate);
4dfaa61e 6372 if (PyErr_Occurred()) return NULL;
1d99702e 6373} if (_result) {
f6bcfd97 6374 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6375 _resultobj = Py_BuildValue("s",_ptemp);
6376 } else {
6377 Py_INCREF(Py_None);
6378 _resultobj = Py_None;
6379 }
9a74fcaf
RD
6380{
6381 if (_obj6)
6382 delete _arg6;
6383}
8ab979d7
RD
6384 return _resultobj;
6385}
6386
aa2a5b86
RD
6387#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6388static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 6389 PyObject * _resultobj;
aa2a5b86
RD
6390 wxPyTreeCtrl * _result;
6391 char *_kwnames[] = { NULL };
6392 char _ptemp[128];
6393
6394 self = self;
6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6396 return NULL;
6397{
474c48f9 6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6399 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
aa2a5b86 6400
474c48f9 6401 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6402 if (PyErr_Occurred()) return NULL;
6403} if (_result) {
6404 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6405 _resultobj = Py_BuildValue("s",_ptemp);
6406 } else {
6407 Py_INCREF(Py_None);
6408 _resultobj = Py_None;
6409 }
6410 return _resultobj;
6411}
6412
6413#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6414static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject * _resultobj;
6416 bool _result;
f6bcfd97 6417 wxPyTreeCtrl * _arg0;
aa2a5b86
RD
6418 wxWindow * _arg1;
6419 wxWindowID _arg2 = (wxWindowID ) -1;
6420 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6421 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6422 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6423 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 6424 wxString * _arg7 = (wxString *) &wxPy_TreeCtrlNameStr;
f6bcfd97 6425 PyObject * _argo0 = 0;
aa2a5b86
RD
6426 PyObject * _argo1 = 0;
6427 wxPoint temp;
6428 PyObject * _obj3 = 0;
6429 wxSize temp0;
6430 PyObject * _obj4 = 0;
6431 PyObject * _argo6 = 0;
9a74fcaf 6432 PyObject * _obj7 = 0;
aa2a5b86 6433 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
f6bcfd97
BP
6434
6435 self = self;
9a74fcaf 6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
f6bcfd97
BP
6437 return NULL;
6438 if (_argo0) {
6439 if (_argo0 == Py_None) { _arg0 = NULL; }
6440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
aa2a5b86
RD
6441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6442 return NULL;
6443 }
6444 }
6445 if (_argo1) {
6446 if (_argo1 == Py_None) { _arg1 = NULL; }
6447 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6448 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
f6bcfd97
BP
6449 return NULL;
6450 }
6451 }
aa2a5b86 6452 if (_obj3)
f6bcfd97 6453{
aa2a5b86
RD
6454 _arg3 = &temp;
6455 if (! wxPoint_helper(_obj3, &_arg3))
6456 return NULL;
f6bcfd97 6457}
aa2a5b86 6458 if (_obj4)
f6bcfd97 6459{
aa2a5b86
RD
6460 _arg4 = &temp0;
6461 if (! wxSize_helper(_obj4, &_arg4))
6462 return NULL;
f6bcfd97 6463}
aa2a5b86
RD
6464 if (_argo6) {
6465 if (_argo6 == Py_None) { _arg6 = NULL; }
6466 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6467 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6468 return NULL;
6469 }
6470 }
9a74fcaf
RD
6471 if (_obj7)
6472{
6473 _arg7 = wxString_in_helper(_obj7);
6474 if (_arg7 == NULL)
6475 return NULL;
6476}
f6bcfd97 6477{
474c48f9 6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 6479 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
f6bcfd97 6480
474c48f9 6481 wxPyEndAllowThreads(__tstate);
4dfaa61e 6482 if (PyErr_Occurred()) return NULL;
aa2a5b86 6483} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
6484{
6485 if (_obj7)
6486 delete _arg7;
6487}
f6bcfd97
BP
6488 return _resultobj;
6489}
6490
0220cbc1
RD
6491#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6492static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9c4165ad
RD
6493 PyObject * _resultobj;
6494 wxPyTreeCtrl * _arg0;
aa2a5b86
RD
6495 PyObject * _arg1;
6496 PyObject * _arg2;
9c4165ad 6497 PyObject * _argo0 = 0;
aa2a5b86
RD
6498 PyObject * _obj1 = 0;
6499 PyObject * _obj2 = 0;
6500 char *_kwnames[] = { "self","self","_class", NULL };
9c4165ad
RD
6501
6502 self = self;
0220cbc1 6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
9c4165ad
RD
6504 return NULL;
6505 if (_argo0) {
6506 if (_argo0 == Py_None) { _arg0 = NULL; }
6507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0220cbc1 6508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
9c4165ad
RD
6509 return NULL;
6510 }
6511 }
aa2a5b86
RD
6512{
6513 _arg1 = _obj1;
6514}
6515{
6516 _arg2 = _obj2;
6517}
9c4165ad 6518{
474c48f9 6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6520 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
9c4165ad 6521
474c48f9 6522 wxPyEndAllowThreads(__tstate);
4dfaa61e 6523 if (PyErr_Occurred()) return NULL;
9c4165ad
RD
6524} Py_INCREF(Py_None);
6525 _resultobj = Py_None;
6526 return _resultobj;
6527}
6528
d5c9047a 6529#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6530static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6531 PyObject * _resultobj;
c127177f 6532 size_t _result;
f6bcfd97 6533 wxPyTreeCtrl * _arg0;
1d99702e 6534 PyObject * _argo0 = 0;
efc5f224 6535 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6536
6537 self = self;
efc5f224 6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 6539 return NULL;
1d99702e
RD
6540 if (_argo0) {
6541 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6544 return NULL;
6545 }
6546 }
cf694132 6547{
474c48f9 6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6549 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132 6550
474c48f9 6551 wxPyEndAllowThreads(__tstate);
4dfaa61e 6552 if (PyErr_Occurred()) return NULL;
c127177f 6553} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6554 return _resultobj;
6555}
6556
d5c9047a 6557#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6558static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6559 PyObject * _resultobj;
d5c9047a 6560 unsigned int _result;
f6bcfd97 6561 wxPyTreeCtrl * _arg0;
1d99702e 6562 PyObject * _argo0 = 0;
efc5f224 6563 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6564
6565 self = self;
efc5f224 6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 6567 return NULL;
1d99702e
RD
6568 if (_argo0) {
6569 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6572 return NULL;
6573 }
6574 }
cf694132 6575{
474c48f9 6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6577 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
cf694132 6578
474c48f9 6579 wxPyEndAllowThreads(__tstate);
4dfaa61e 6580 if (PyErr_Occurred()) return NULL;
cf694132 6581} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6582 return _resultobj;
6583}
6584
d5c9047a 6585#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6586static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6587 PyObject * _resultobj;
f6bcfd97 6588 wxPyTreeCtrl * _arg0;
d5c9047a 6589 unsigned int _arg1;
1d99702e 6590 PyObject * _argo0 = 0;
efc5f224 6591 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6592
6593 self = self;
efc5f224 6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 6595 return NULL;
1d99702e
RD
6596 if (_argo0) {
6597 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6600 return NULL;
6601 }
6602 }
cf694132 6603{
474c48f9 6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6605 wxTreeCtrl_SetIndent(_arg0,_arg1);
cf694132 6606
474c48f9 6607 wxPyEndAllowThreads(__tstate);
4dfaa61e 6608 if (PyErr_Occurred()) return NULL;
cf694132 6609} Py_INCREF(Py_None);
d5c9047a 6610 _resultobj = Py_None;
8ab979d7
RD
6611 return _resultobj;
6612}
6613
d5c9047a 6614#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6615static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6616 PyObject * _resultobj;
d5c9047a 6617 wxImageList * _result;
f6bcfd97 6618 wxPyTreeCtrl * _arg0;
1d99702e 6619 PyObject * _argo0 = 0;
efc5f224 6620 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6621
6622 self = self;
efc5f224 6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6624 return NULL;
1d99702e
RD
6625 if (_argo0) {
6626 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6629 return NULL;
6630 }
6631 }
cf694132 6632{
474c48f9 6633 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6634 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
cf694132 6635
474c48f9 6636 wxPyEndAllowThreads(__tstate);
4dfaa61e 6637 if (PyErr_Occurred()) return NULL;
9df61a29 6638}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6639 return _resultobj;
6640}
6641
d5c9047a 6642#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6643static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6644 PyObject * _resultobj;
d5c9047a 6645 wxImageList * _result;
f6bcfd97 6646 wxPyTreeCtrl * _arg0;
1d99702e 6647 PyObject * _argo0 = 0;
efc5f224 6648 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6649
6650 self = self;
efc5f224 6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6652 return NULL;
1d99702e
RD
6653 if (_argo0) {
6654 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6657 return NULL;
6658 }
6659 }
cf694132 6660{
474c48f9 6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6662 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
cf694132 6663
474c48f9 6664 wxPyEndAllowThreads(__tstate);
4dfaa61e 6665 if (PyErr_Occurred()) return NULL;
9df61a29 6666}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6667 return _resultobj;
6668}
6669
d5c9047a 6670#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6671static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6672 PyObject * _resultobj;
f6bcfd97 6673 wxPyTreeCtrl * _arg0;
d5c9047a 6674 wxImageList * _arg1;
1d99702e
RD
6675 PyObject * _argo0 = 0;
6676 PyObject * _argo1 = 0;
efc5f224 6677 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6678
6679 self = self;
efc5f224 6680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6681 return NULL;
1d99702e
RD
6682 if (_argo0) {
6683 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6686 return NULL;
6687 }
6688 }
1d99702e
RD
6689 if (_argo1) {
6690 if (_argo1 == Py_None) { _arg1 = NULL; }
6691 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6692 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6693 return NULL;
6694 }
6695 }
cf694132 6696{
474c48f9 6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6698 wxTreeCtrl_SetImageList(_arg0,_arg1);
cf694132 6699
474c48f9 6700 wxPyEndAllowThreads(__tstate);
4dfaa61e 6701 if (PyErr_Occurred()) return NULL;
cf694132 6702} Py_INCREF(Py_None);
d5c9047a 6703 _resultobj = Py_None;
8ab979d7
RD
6704 return _resultobj;
6705}
6706
d5c9047a 6707#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 6708static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6709 PyObject * _resultobj;
f6bcfd97 6710 wxPyTreeCtrl * _arg0;
d5c9047a 6711 wxImageList * _arg1;
1d99702e
RD
6712 PyObject * _argo0 = 0;
6713 PyObject * _argo1 = 0;
efc5f224 6714 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6715
6716 self = self;
efc5f224 6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6718 return NULL;
1d99702e
RD
6719 if (_argo0) {
6720 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6723 return NULL;
6724 }
6725 }
1d99702e
RD
6726 if (_argo1) {
6727 if (_argo1 == Py_None) { _arg1 = NULL; }
6728 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6729 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6730 return NULL;
6731 }
6732 }
cf694132 6733{
474c48f9 6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6735 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
cf694132 6736
474c48f9 6737 wxPyEndAllowThreads(__tstate);
4dfaa61e 6738 if (PyErr_Occurred()) return NULL;
cf694132 6739} Py_INCREF(Py_None);
d5c9047a 6740 _resultobj = Py_None;
8ab979d7
RD
6741 return _resultobj;
6742}
6743
aa2a5b86
RD
6744#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6745static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject * _resultobj;
6747 wxPyTreeCtrl * _arg0;
6748 wxImageList * _arg1;
6749 PyObject * _argo0 = 0;
6750 PyObject * _argo1 = 0;
6751 char *_kwnames[] = { "self","imageList", NULL };
6752
6753 self = self;
6754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
6755 return NULL;
6756 if (_argo0) {
6757 if (_argo0 == Py_None) { _arg0 = NULL; }
6758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6760 return NULL;
6761 }
6762 }
6763 if (_argo1) {
6764 if (_argo1 == Py_None) { _arg1 = NULL; }
6765 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6766 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6767 return NULL;
6768 }
6769 }
6770{
474c48f9 6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6772 wxTreeCtrl_AssignImageList(_arg0,_arg1);
aa2a5b86 6773
474c48f9 6774 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6775 if (PyErr_Occurred()) return NULL;
6776} Py_INCREF(Py_None);
6777 _resultobj = Py_None;
6778 return _resultobj;
6779}
6780
6781#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6782static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject * _resultobj;
6784 wxPyTreeCtrl * _arg0;
6785 wxImageList * _arg1;
6786 PyObject * _argo0 = 0;
6787 PyObject * _argo1 = 0;
6788 char *_kwnames[] = { "self","imageList", NULL };
6789
6790 self = self;
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
6792 return NULL;
6793 if (_argo0) {
6794 if (_argo0 == Py_None) { _arg0 = NULL; }
6795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6797 return NULL;
6798 }
6799 }
6800 if (_argo1) {
6801 if (_argo1 == Py_None) { _arg1 = NULL; }
6802 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6803 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6804 return NULL;
6805 }
6806 }
6807{
474c48f9 6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6809 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
aa2a5b86 6810
474c48f9 6811 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6812 if (PyErr_Occurred()) return NULL;
6813} Py_INCREF(Py_None);
6814 _resultobj = Py_None;
6815 return _resultobj;
6816}
6817
b1462dfa
RD
6818#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6819static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6820 PyObject * _resultobj;
6821 unsigned int _result;
f6bcfd97 6822 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6823 PyObject * _argo0 = 0;
6824 char *_kwnames[] = { "self", NULL };
6825
6826 self = self;
6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
6828 return NULL;
6829 if (_argo0) {
6830 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6833 return NULL;
6834 }
6835 }
6836{
474c48f9 6837 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6838 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
b1462dfa 6839
474c48f9 6840 wxPyEndAllowThreads(__tstate);
4dfaa61e 6841 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6842} _resultobj = Py_BuildValue("i",_result);
6843 return _resultobj;
6844}
6845
6846#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6847static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject * _resultobj;
f6bcfd97 6849 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6850 unsigned int _arg1;
6851 PyObject * _argo0 = 0;
6852 char *_kwnames[] = { "self","spacing", NULL };
6853
6854 self = self;
6855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
6856 return NULL;
6857 if (_argo0) {
6858 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6861 return NULL;
6862 }
6863 }
6864{
474c48f9 6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6866 wxTreeCtrl_SetSpacing(_arg0,_arg1);
b1462dfa 6867
474c48f9 6868 wxPyEndAllowThreads(__tstate);
4dfaa61e 6869 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6870} Py_INCREF(Py_None);
6871 _resultobj = Py_None;
6872 return _resultobj;
6873}
6874
d5c9047a 6875#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 6876static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6877 PyObject * _resultobj;
d5c9047a 6878 wxString * _result;
f6bcfd97 6879 wxPyTreeCtrl * _arg0;
d5c9047a 6880 wxTreeItemId * _arg1;
1d99702e
RD
6881 PyObject * _argo0 = 0;
6882 PyObject * _argo1 = 0;
efc5f224 6883 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
6884
6885 self = self;
efc5f224 6886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 6887 return NULL;
1d99702e
RD
6888 if (_argo0) {
6889 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6892 return NULL;
6893 }
6894 }
1d99702e
RD
6895 if (_argo1) {
6896 if (_argo1 == Py_None) { _arg1 = NULL; }
6897 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6898 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
6899 return NULL;
6900 }
6901 }
d5c9047a 6902{
474c48f9 6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6904 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
cf694132 6905
474c48f9 6906 wxPyEndAllowThreads(__tstate);
4dfaa61e 6907 if (PyErr_Occurred()) return NULL;
cf694132 6908}{
c8bc7bb8
RD
6909#if wxUSE_UNICODE
6910 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6911#else
eec92d76 6912 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6913#endif
d5c9047a
RD
6914}
6915{
6916 delete _result;
6917}
8ab979d7
RD
6918 return _resultobj;
6919}
6920
694759cf 6921#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 6922static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6923 PyObject * _resultobj;
d5c9047a 6924 int _result;
f6bcfd97 6925 wxPyTreeCtrl * _arg0;
d5c9047a 6926 wxTreeItemId * _arg1;
694759cf 6927 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
6928 PyObject * _argo0 = 0;
6929 PyObject * _argo1 = 0;
694759cf 6930 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
6931
6932 self = self;
694759cf 6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 6934 return NULL;
1d99702e
RD
6935 if (_argo0) {
6936 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6939 return NULL;
6940 }
6941 }
1d99702e
RD
6942 if (_argo1) {
6943 if (_argo1 == Py_None) { _arg1 = NULL; }
6944 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6945 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
6946 return NULL;
6947 }
6948 }
cf694132 6949{
474c48f9 6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6951 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132 6952
474c48f9 6953 wxPyEndAllowThreads(__tstate);
4dfaa61e 6954 if (PyErr_Occurred()) return NULL;
cf694132 6955} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6956 return _resultobj;
6957}
6958
d5c9047a 6959#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 6960static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6961 PyObject * _resultobj;
d5c9047a 6962 int _result;
f6bcfd97 6963 wxPyTreeCtrl * _arg0;
d5c9047a 6964 wxTreeItemId * _arg1;
1d99702e
RD
6965 PyObject * _argo0 = 0;
6966 PyObject * _argo1 = 0;
efc5f224 6967 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
6968
6969 self = self;
efc5f224 6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 6971 return NULL;
1d99702e
RD
6972 if (_argo0) {
6973 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6976 return NULL;
6977 }
6978 }
1d99702e
RD
6979 if (_argo1) {
6980 if (_argo1 == Py_None) { _arg1 = NULL; }
6981 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6982 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
6983 return NULL;
6984 }
6985 }
cf694132 6986{
474c48f9 6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6988 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 6989
474c48f9 6990 wxPyEndAllowThreads(__tstate);
4dfaa61e 6991 if (PyErr_Occurred()) return NULL;
cf694132 6992} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6993 return _resultobj;
6994}
6995
d5c9047a 6996#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 6997static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6998 PyObject * _resultobj;
f6bcfd97 6999 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7000 wxTreeItemId * _arg1;
7001 wxString * _arg2;
1d99702e
RD
7002 PyObject * _argo0 = 0;
7003 PyObject * _argo1 = 0;
d5c9047a 7004 PyObject * _obj2 = 0;
efc5f224 7005 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7006
7007 self = self;
efc5f224 7008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7009 return NULL;
1d99702e
RD
7010 if (_argo0) {
7011 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7014 return NULL;
7015 }
7016 }
1d99702e
RD
7017 if (_argo1) {
7018 if (_argo1 == Py_None) { _arg1 = NULL; }
7019 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7020 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7021 return NULL;
7022 }
7023 }
7024{
c8bc7bb8
RD
7025 _arg2 = wxString_in_helper(_obj2);
7026 if (_arg2 == NULL)
2cd2fac8 7027 return NULL;
d5c9047a 7028}
cf694132 7029{
474c48f9 7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7031 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
cf694132 7032
474c48f9 7033 wxPyEndAllowThreads(__tstate);
4dfaa61e 7034 if (PyErr_Occurred()) return NULL;
cf694132 7035} Py_INCREF(Py_None);
d5c9047a
RD
7036 _resultobj = Py_None;
7037{
7038 if (_obj2)
7039 delete _arg2;
7040}
8ab979d7
RD
7041 return _resultobj;
7042}
7043
694759cf 7044#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7045static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7046 PyObject * _resultobj;
f6bcfd97 7047 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7048 wxTreeItemId * _arg1;
7049 int _arg2;
694759cf 7050 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7051 PyObject * _argo0 = 0;
7052 PyObject * _argo1 = 0;
694759cf 7053 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7054
7055 self = self;
694759cf 7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7057 return NULL;
1d99702e
RD
7058 if (_argo0) {
7059 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7062 return NULL;
7063 }
7064 }
1d99702e
RD
7065 if (_argo1) {
7066 if (_argo1 == Py_None) { _arg1 = NULL; }
7067 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7068 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7069 return NULL;
7070 }
7071 }
cf694132 7072{
474c48f9 7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7074 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132 7075
474c48f9 7076 wxPyEndAllowThreads(__tstate);
4dfaa61e 7077 if (PyErr_Occurred()) return NULL;
cf694132 7078} Py_INCREF(Py_None);
d5c9047a 7079 _resultobj = Py_None;
8ab979d7
RD
7080 return _resultobj;
7081}
7082
d5c9047a 7083#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7084static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7085 PyObject * _resultobj;
f6bcfd97 7086 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7087 wxTreeItemId * _arg1;
7088 int _arg2;
1d99702e
RD
7089 PyObject * _argo0 = 0;
7090 PyObject * _argo1 = 0;
efc5f224 7091 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7092
7093 self = self;
efc5f224 7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7095 return NULL;
1d99702e
RD
7096 if (_argo0) {
7097 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7100 return NULL;
7101 }
7102 }
1d99702e
RD
7103 if (_argo1) {
7104 if (_argo1 == Py_None) { _arg1 = NULL; }
7105 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7106 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7107 return NULL;
7108 }
7109 }
cf694132 7110{
474c48f9 7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7112 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
cf694132 7113
474c48f9 7114 wxPyEndAllowThreads(__tstate);
4dfaa61e 7115 if (PyErr_Occurred()) return NULL;
cf694132
RD
7116} Py_INCREF(Py_None);
7117 _resultobj = Py_None;
7118 return _resultobj;
7119}
7120
7121#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7122static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7123 PyObject * _resultobj;
f6bcfd97 7124 wxPyTreeCtrl * _arg0;
cf694132 7125 wxTreeItemId * _arg1;
1d99702e
RD
7126 bool _arg2 = (bool ) TRUE;
7127 PyObject * _argo0 = 0;
7128 PyObject * _argo1 = 0;
7129 int tempbool2 = (int) TRUE;
efc5f224 7130 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7131
7132 self = self;
efc5f224 7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 7134 return NULL;
1d99702e
RD
7135 if (_argo0) {
7136 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7139 return NULL;
7140 }
7141 }
1d99702e
RD
7142 if (_argo1) {
7143 if (_argo1 == Py_None) { _arg1 = NULL; }
7144 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7145 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7146 return NULL;
7147 }
7148 }
7149 _arg2 = (bool ) tempbool2;
7150{
474c48f9 7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7152 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
cf694132 7153
474c48f9 7154 wxPyEndAllowThreads(__tstate);
4dfaa61e 7155 if (PyErr_Occurred()) return NULL;
cf694132 7156} Py_INCREF(Py_None);
d5c9047a 7157 _resultobj = Py_None;
8ab979d7
RD
7158 return _resultobj;
7159}
7160
f6bcfd97 7161static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7162 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7163 if (data == NULL) {
7164 data = new wxPyTreeItemData();
f6bcfd97 7165 data->SetId(item); // set the id
cf694132
RD
7166 self->SetItemData(item, data);
7167 }
7168 return data;
7169 }
efc5f224 7170static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7171 PyObject * _resultobj;
7172 wxPyTreeItemData * _result;
f6bcfd97 7173 wxPyTreeCtrl * _arg0;
cf694132 7174 wxTreeItemId * _arg1;
1d99702e
RD
7175 PyObject * _argo0 = 0;
7176 PyObject * _argo1 = 0;
efc5f224 7177 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7178 char _ptemp[128];
7179
7180 self = self;
efc5f224 7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7182 return NULL;
1d99702e
RD
7183 if (_argo0) {
7184 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7187 return NULL;
7188 }
7189 }
1d99702e
RD
7190 if (_argo1) {
7191 if (_argo1 == Py_None) { _arg1 = NULL; }
7192 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7193 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7194 return NULL;
7195 }
7196 }
7197{
474c48f9 7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7199 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132 7200
474c48f9 7201 wxPyEndAllowThreads(__tstate);
4dfaa61e 7202 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7203} if (_result) {
7204 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7205 _resultobj = Py_BuildValue("s",_ptemp);
7206 } else {
7207 Py_INCREF(Py_None);
7208 _resultobj = Py_None;
7209 }
cf694132
RD
7210 return _resultobj;
7211}
7212
f6bcfd97
BP
7213static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7214 data->SetId(item); // set the id
7215 self->SetItemData(item, data);
c368d904 7216 }
efc5f224 7217static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7218 PyObject * _resultobj;
f6bcfd97 7219 wxPyTreeCtrl * _arg0;
d5c9047a 7220 wxTreeItemId * _arg1;
cf694132 7221 wxPyTreeItemData * _arg2;
1d99702e
RD
7222 PyObject * _argo0 = 0;
7223 PyObject * _argo1 = 0;
7224 PyObject * _argo2 = 0;
efc5f224 7225 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7226
7227 self = self;
efc5f224 7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7229 return NULL;
1d99702e
RD
7230 if (_argo0) {
7231 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7234 return NULL;
7235 }
7236 }
1d99702e
RD
7237 if (_argo1) {
7238 if (_argo1 == Py_None) { _arg1 = NULL; }
7239 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7240 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7241 return NULL;
7242 }
7243 }
1d99702e
RD
7244 if (_argo2) {
7245 if (_argo2 == Py_None) { _arg2 = NULL; }
7246 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7247 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7248 return NULL;
7249 }
7250 }
cf694132 7251{
474c48f9 7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7253 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132 7254
474c48f9 7255 wxPyEndAllowThreads(__tstate);
4dfaa61e 7256 if (PyErr_Occurred()) return NULL;
cf694132 7257} Py_INCREF(Py_None);
d5c9047a 7258 _resultobj = Py_None;
8ab979d7
RD
7259 return _resultobj;
7260}
7261
f6bcfd97 7262static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7263 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7264 if (data == NULL) {
7265 data = new wxPyTreeItemData();
f6bcfd97 7266 data->SetId(item); // set the id
cf694132
RD
7267 self->SetItemData(item, data);
7268 }
7269 return data->GetData();
c368d904 7270 }
efc5f224 7271static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7272 PyObject * _resultobj;
cf694132 7273 PyObject * _result;
f6bcfd97 7274 wxPyTreeCtrl * _arg0;
08127323 7275 wxTreeItemId * _arg1;
1d99702e
RD
7276 PyObject * _argo0 = 0;
7277 PyObject * _argo1 = 0;
efc5f224 7278 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7279
7280 self = self;
efc5f224 7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7282 return NULL;
1d99702e
RD
7283 if (_argo0) {
7284 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7287 return NULL;
7288 }
7289 }
1d99702e
RD
7290 if (_argo1) {
7291 if (_argo1 == Py_None) { _arg1 = NULL; }
7292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7294 return NULL;
7295 }
7296 }
cf694132 7297{
474c48f9 7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7299 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132 7300
474c48f9 7301 wxPyEndAllowThreads(__tstate);
4dfaa61e 7302 if (PyErr_Occurred()) return NULL;
cf694132
RD
7303}{
7304 _resultobj = _result;
7305}
7306 return _resultobj;
7307}
7308
f6bcfd97 7309static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7310 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7311 if (data == NULL) {
7312 data = new wxPyTreeItemData(obj);
f6bcfd97 7313 data->SetId(item); // set the id
cf694132
RD
7314 self->SetItemData(item, data);
7315 } else
7316 data->SetData(obj);
c368d904 7317 }
efc5f224 7318static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7319 PyObject * _resultobj;
f6bcfd97 7320 wxPyTreeCtrl * _arg0;
cf694132
RD
7321 wxTreeItemId * _arg1;
7322 PyObject * _arg2;
1d99702e
RD
7323 PyObject * _argo0 = 0;
7324 PyObject * _argo1 = 0;
cf694132 7325 PyObject * _obj2 = 0;
efc5f224 7326 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7327
7328 self = self;
efc5f224 7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
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_SetPyData. 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_SetPyData. Expected _wxTreeItemId_p.");
7342 return NULL;
7343 }
7344 }
7345{
7346 _arg2 = _obj2;
7347}
7348{
474c48f9 7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7350 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132 7351
474c48f9 7352 wxPyEndAllowThreads(__tstate);
4dfaa61e 7353 if (PyErr_Occurred()) return NULL;
cf694132 7354} Py_INCREF(Py_None);
08127323
RD
7355 _resultobj = Py_None;
7356 return _resultobj;
7357}
7358
d5c9047a 7359#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7360static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7361 PyObject * _resultobj;
d5c9047a 7362 bool _result;
f6bcfd97 7363 wxPyTreeCtrl * _arg0;
d5c9047a 7364 wxTreeItemId * _arg1;
1d99702e
RD
7365 PyObject * _argo0 = 0;
7366 PyObject * _argo1 = 0;
efc5f224 7367 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7368
7369 self = self;
efc5f224 7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7371 return NULL;
1d99702e
RD
7372 if (_argo0) {
7373 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7376 return NULL;
7377 }
7378 }
1d99702e
RD
7379 if (_argo1) {
7380 if (_argo1 == Py_None) { _arg1 = NULL; }
7381 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7382 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7383 return NULL;
7384 }
7385 }
cf694132 7386{
474c48f9 7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7388 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
cf694132 7389
474c48f9 7390 wxPyEndAllowThreads(__tstate);
4dfaa61e 7391 if (PyErr_Occurred()) return NULL;
cf694132 7392} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7393 return _resultobj;
7394}
7395
d5c9047a 7396#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7397static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7398 PyObject * _resultobj;
d5c9047a 7399 bool _result;
f6bcfd97 7400 wxPyTreeCtrl * _arg0;
d5c9047a 7401 wxTreeItemId * _arg1;
1d99702e
RD
7402 PyObject * _argo0 = 0;
7403 PyObject * _argo1 = 0;
efc5f224 7404 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7405
7406 self = self;
efc5f224 7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7408 return NULL;
1d99702e
RD
7409 if (_argo0) {
7410 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7413 return NULL;
7414 }
7415 }
1d99702e
RD
7416 if (_argo1) {
7417 if (_argo1 == Py_None) { _arg1 = NULL; }
7418 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7419 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7420 return NULL;
7421 }
7422 }
cf694132 7423{
474c48f9 7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7425 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
cf694132 7426
474c48f9 7427 wxPyEndAllowThreads(__tstate);
4dfaa61e 7428 if (PyErr_Occurred()) return NULL;
cf694132 7429} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7430 return _resultobj;
7431}
7432
d5c9047a 7433#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7434static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7435 PyObject * _resultobj;
d5c9047a 7436 bool _result;
f6bcfd97 7437 wxPyTreeCtrl * _arg0;
d5c9047a 7438 wxTreeItemId * _arg1;
1d99702e
RD
7439 PyObject * _argo0 = 0;
7440 PyObject * _argo1 = 0;
efc5f224 7441 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7442
7443 self = self;
efc5f224 7444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7445 return NULL;
1d99702e
RD
7446 if (_argo0) {
7447 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7450 return NULL;
7451 }
7452 }
1d99702e
RD
7453 if (_argo1) {
7454 if (_argo1 == Py_None) { _arg1 = NULL; }
7455 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7456 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7457 return NULL;
7458 }
7459 }
cf694132 7460{
474c48f9 7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7462 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
cf694132 7463
474c48f9 7464 wxPyEndAllowThreads(__tstate);
4dfaa61e 7465 if (PyErr_Occurred()) return NULL;
cf694132 7466} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7467 return _resultobj;
7468}
7469
d5c9047a 7470#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7471static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7472 PyObject * _resultobj;
d5c9047a 7473 bool _result;
f6bcfd97 7474 wxPyTreeCtrl * _arg0;
d5c9047a 7475 wxTreeItemId * _arg1;
1d99702e
RD
7476 PyObject * _argo0 = 0;
7477 PyObject * _argo1 = 0;
efc5f224 7478 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7479
7480 self = self;
efc5f224 7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7482 return NULL;
1d99702e
RD
7483 if (_argo0) {
7484 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7487 return NULL;
7488 }
7489 }
1d99702e
RD
7490 if (_argo1) {
7491 if (_argo1 == Py_None) { _arg1 = NULL; }
7492 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7493 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7494 return NULL;
7495 }
7496 }
cf694132 7497{
474c48f9 7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7499 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
cf694132 7500
474c48f9 7501 wxPyEndAllowThreads(__tstate);
4dfaa61e 7502 if (PyErr_Occurred()) return NULL;
cf694132 7503} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7504 return _resultobj;
7505}
7506
7507#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7508static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7509 PyObject * _resultobj;
d5c9047a 7510 wxTreeItemId * _result;
f6bcfd97 7511 wxPyTreeCtrl * _arg0;
1d99702e 7512 PyObject * _argo0 = 0;
efc5f224 7513 char *_kwnames[] = { "self", NULL };
d5c9047a 7514 char _ptemp[128];
8ab979d7
RD
7515
7516 self = self;
efc5f224 7517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7518 return NULL;
1d99702e
RD
7519 if (_argo0) {
7520 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7523 return NULL;
7524 }
7525 }
cf694132 7526{
474c48f9 7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7528 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
cf694132 7529
474c48f9 7530 wxPyEndAllowThreads(__tstate);
4dfaa61e 7531 if (PyErr_Occurred()) return NULL;
cf694132 7532} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7533 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7534 return _resultobj;
7535}
7536
7537#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7538static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7539 PyObject * _resultobj;
d5c9047a 7540 wxTreeItemId * _result;
f6bcfd97 7541 wxPyTreeCtrl * _arg0;
1d99702e 7542 PyObject * _argo0 = 0;
efc5f224 7543 char *_kwnames[] = { "self", NULL };
d5c9047a 7544 char _ptemp[128];
8ab979d7
RD
7545
7546 self = self;
efc5f224 7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7548 return NULL;
1d99702e
RD
7549 if (_argo0) {
7550 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7553 return NULL;
7554 }
7555 }
cf694132 7556{
474c48f9 7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7558 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
cf694132 7559
474c48f9 7560 wxPyEndAllowThreads(__tstate);
4dfaa61e 7561 if (PyErr_Occurred()) return NULL;
cf694132 7562} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7563 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7564 return _resultobj;
7565}
7566
eb715945
RD
7567#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7568static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7569 PyObject * _resultobj;
d5c9047a 7570 wxTreeItemId * _result;
f6bcfd97 7571 wxPyTreeCtrl * _arg0;
d5c9047a 7572 wxTreeItemId * _arg1;
1d99702e
RD
7573 PyObject * _argo0 = 0;
7574 PyObject * _argo1 = 0;
efc5f224 7575 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7576 char _ptemp[128];
8ab979d7
RD
7577
7578 self = self;
eb715945 7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7580 return NULL;
1d99702e
RD
7581 if (_argo0) {
7582 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7585 return NULL;
7586 }
7587 }
1d99702e
RD
7588 if (_argo1) {
7589 if (_argo1 == Py_None) { _arg1 = NULL; }
7590 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 7591 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
7592 return NULL;
7593 }
7594 }
cf694132 7595{
474c48f9 7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7597 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132 7598
474c48f9 7599 wxPyEndAllowThreads(__tstate);
4dfaa61e 7600 if (PyErr_Occurred()) return NULL;
cf694132 7601} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7602 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7603 return _resultobj;
7604}
7605
f6bcfd97 7606static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
474c48f9 7607 wxPyBeginBlockThreads();
d426c97e
RD
7608 PyObject* rval = PyList_New(0);
7609 wxArrayTreeItemIds array;
7610 size_t num, x;
7611 num = self->GetSelections(array);
7612 for (x=0; x < num; x++) {
c368d904
RD
7613 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7614 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
7615 PyList_Append(rval, item);
7616 }
474c48f9 7617 wxPyEndBlockThreads();
d426c97e
RD
7618 return rval;
7619 }
7620static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7621 PyObject * _resultobj;
7622 PyObject * _result;
f6bcfd97 7623 wxPyTreeCtrl * _arg0;
d426c97e
RD
7624 PyObject * _argo0 = 0;
7625 char *_kwnames[] = { "self", NULL };
7626
7627 self = self;
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7629 return NULL;
7630 if (_argo0) {
7631 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7634 return NULL;
7635 }
7636 }
7637{
474c48f9 7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7639 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e 7640
474c48f9 7641 wxPyEndAllowThreads(__tstate);
4dfaa61e 7642 if (PyErr_Occurred()) return NULL;
d426c97e
RD
7643}{
7644 _resultobj = _result;
7645}
7646 return _resultobj;
7647}
7648
bb0054cd 7649#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 7650static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7651 PyObject * _resultobj;
7652 size_t _result;
f6bcfd97 7653 wxPyTreeCtrl * _arg0;
bb0054cd 7654 wxTreeItemId * _arg1;
1d99702e
RD
7655 bool _arg2 = (bool ) TRUE;
7656 PyObject * _argo0 = 0;
7657 PyObject * _argo1 = 0;
7658 int tempbool2 = (int) TRUE;
efc5f224 7659 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
7660
7661 self = self;
efc5f224 7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 7663 return NULL;
1d99702e
RD
7664 if (_argo0) {
7665 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
7668 return NULL;
7669 }
7670 }
1d99702e
RD
7671 if (_argo1) {
7672 if (_argo1 == Py_None) { _arg1 = NULL; }
7673 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
7674 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7675 return NULL;
7676 }
7677 }
7678 _arg2 = (bool ) tempbool2;
7679{
474c48f9 7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7681 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
bb0054cd 7682
474c48f9 7683 wxPyEndAllowThreads(__tstate);
4dfaa61e 7684 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7685} _resultobj = Py_BuildValue("i",_result);
7686 return _resultobj;
7687}
7688
d5c9047a 7689#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 7690static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7691 PyObject * _resultobj;
d5c9047a 7692 wxTreeItemId * _result;
f6bcfd97 7693 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7694 wxTreeItemId * _arg1;
7695 long * _arg2;
1d99702e
RD
7696 PyObject * _argo0 = 0;
7697 PyObject * _argo1 = 0;
d5c9047a
RD
7698 long temp;
7699 PyObject * _obj2 = 0;
efc5f224 7700 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7701 char _ptemp[128];
8ab979d7
RD
7702
7703 self = self;
efc5f224 7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7705 return NULL;
1d99702e
RD
7706 if (_argo0) {
7707 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7710 return NULL;
7711 }
7712 }
1d99702e
RD
7713 if (_argo1) {
7714 if (_argo1 == Py_None) { _arg1 = NULL; }
7715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
7717 return NULL;
7718 }
7719 }
d5c9047a
RD
7720{
7721 temp = (long) PyInt_AsLong(_obj2);
7722 _arg2 = &temp;
7723}
cf694132 7724{
474c48f9 7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7726 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
cf694132 7727
474c48f9 7728 wxPyEndAllowThreads(__tstate);
4dfaa61e 7729 if (PyErr_Occurred()) return NULL;
cf694132 7730} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
7731 _resultobj = Py_BuildValue("s",_ptemp);
7732{
7733 PyObject *o;
7734 o = PyInt_FromLong((long) (*_arg2));
7735 _resultobj = t_output_helper(_resultobj, o);
7736}
8ab979d7
RD
7737 return _resultobj;
7738}
7739
d5c9047a 7740#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 7741static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7742 PyObject * _resultobj;
d5c9047a 7743 wxTreeItemId * _result;
f6bcfd97 7744 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7745 wxTreeItemId * _arg1;
7746 long * _arg2;
1d99702e
RD
7747 PyObject * _argo0 = 0;
7748 PyObject * _argo1 = 0;
d5c9047a 7749 long temp;
8ab979d7 7750 PyObject * _obj2 = 0;
efc5f224 7751 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7752 char _ptemp[128];
8ab979d7
RD
7753
7754 self = self;
efc5f224 7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7756 return NULL;
1d99702e
RD
7757 if (_argo0) {
7758 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7761 return NULL;
7762 }
7763 }
1d99702e
RD
7764 if (_argo1) {
7765 if (_argo1 == Py_None) { _arg1 = NULL; }
7766 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7767 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 7768 return NULL;
d5c9047a 7769 }
8ab979d7 7770 }
d5c9047a
RD
7771{
7772 temp = (long) PyInt_AsLong(_obj2);
7773 _arg2 = &temp;
8ab979d7 7774}
cf694132 7775{
474c48f9 7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7777 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
cf694132 7778
474c48f9 7779 wxPyEndAllowThreads(__tstate);
4dfaa61e 7780 if (PyErr_Occurred()) return NULL;
cf694132 7781} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7782 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 7783{
d5c9047a
RD
7784 PyObject *o;
7785 o = PyInt_FromLong((long) (*_arg2));
7786 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7787}
7788 return _resultobj;
7789}
7790
d5c9047a 7791#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 7792static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7793 PyObject * _resultobj;
d5c9047a 7794 wxTreeItemId * _result;
f6bcfd97 7795 wxPyTreeCtrl * _arg0;
d5c9047a 7796 wxTreeItemId * _arg1;
1d99702e
RD
7797 PyObject * _argo0 = 0;
7798 PyObject * _argo1 = 0;
efc5f224 7799 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7800 char _ptemp[128];
8ab979d7
RD
7801
7802 self = self;
efc5f224 7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7804 return NULL;
1d99702e
RD
7805 if (_argo0) {
7806 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7809 return NULL;
7810 }
7811 }
1d99702e
RD
7812 if (_argo1) {
7813 if (_argo1 == Py_None) { _arg1 = NULL; }
7814 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7815 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7816 return NULL;
7817 }
7818 }
cf694132 7819{
474c48f9 7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7821 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
cf694132 7822
474c48f9 7823 wxPyEndAllowThreads(__tstate);
4dfaa61e 7824 if (PyErr_Occurred()) return NULL;
cf694132 7825} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7826 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7827 return _resultobj;
7828}
7829
d5c9047a 7830#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 7831static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7832 PyObject * _resultobj;
d5c9047a 7833 wxTreeItemId * _result;
f6bcfd97 7834 wxPyTreeCtrl * _arg0;
d5c9047a 7835 wxTreeItemId * _arg1;
1d99702e
RD
7836 PyObject * _argo0 = 0;
7837 PyObject * _argo1 = 0;
efc5f224 7838 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7839 char _ptemp[128];
8ab979d7
RD
7840
7841 self = self;
efc5f224 7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7843 return NULL;
1d99702e
RD
7844 if (_argo0) {
7845 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7848 return NULL;
7849 }
7850 }
1d99702e
RD
7851 if (_argo1) {
7852 if (_argo1 == Py_None) { _arg1 = NULL; }
7853 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7854 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7855 return NULL;
7856 }
7857 }
cf694132 7858{
474c48f9 7859 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7860 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
cf694132 7861
474c48f9 7862 wxPyEndAllowThreads(__tstate);
4dfaa61e 7863 if (PyErr_Occurred()) return NULL;
cf694132 7864} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7865 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7866 return _resultobj;
7867}
7868
d5c9047a 7869#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 7870static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7871 PyObject * _resultobj;
d5c9047a 7872 wxTreeItemId * _result;
f6bcfd97 7873 wxPyTreeCtrl * _arg0;
1d99702e 7874 PyObject * _argo0 = 0;
efc5f224 7875 char *_kwnames[] = { "self", NULL };
d5c9047a 7876 char _ptemp[128];
8ab979d7
RD
7877
7878 self = self;
efc5f224 7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 7880 return NULL;
1d99702e
RD
7881 if (_argo0) {
7882 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7885 return NULL;
7886 }
7887 }
cf694132 7888{
474c48f9 7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7890 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
cf694132 7891
474c48f9 7892 wxPyEndAllowThreads(__tstate);
4dfaa61e 7893 if (PyErr_Occurred()) return NULL;
cf694132 7894} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7895 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7896 return _resultobj;
7897}
7898
d5c9047a 7899#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 7900static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7901 PyObject * _resultobj;
d5c9047a 7902 wxTreeItemId * _result;
f6bcfd97 7903 wxPyTreeCtrl * _arg0;
d5c9047a 7904 wxTreeItemId * _arg1;
1d99702e
RD
7905 PyObject * _argo0 = 0;
7906 PyObject * _argo1 = 0;
efc5f224 7907 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7908 char _ptemp[128];
8ab979d7
RD
7909
7910 self = self;
efc5f224 7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7912 return NULL;
1d99702e
RD
7913 if (_argo0) {
7914 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7917 return NULL;
7918 }
7919 }
1d99702e
RD
7920 if (_argo1) {
7921 if (_argo1 == Py_None) { _arg1 = NULL; }
7922 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
7924 return NULL;
7925 }
7926 }
cf694132 7927{
474c48f9 7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7929 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
cf694132 7930
474c48f9 7931 wxPyEndAllowThreads(__tstate);
4dfaa61e 7932 if (PyErr_Occurred()) return NULL;
cf694132 7933} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7934 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7935 return _resultobj;
7936}
7937
d5c9047a 7938#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 7939static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7940 PyObject * _resultobj;
d5c9047a 7941 wxTreeItemId * _result;
f6bcfd97 7942 wxPyTreeCtrl * _arg0;
d5c9047a 7943 wxTreeItemId * _arg1;
1d99702e
RD
7944 PyObject * _argo0 = 0;
7945 PyObject * _argo1 = 0;
efc5f224 7946 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7947 char _ptemp[128];
8ab979d7
RD
7948
7949 self = self;
efc5f224 7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7951 return NULL;
1d99702e
RD
7952 if (_argo0) {
7953 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7956 return NULL;
7957 }
7958 }
1d99702e
RD
7959 if (_argo1) {
7960 if (_argo1 == Py_None) { _arg1 = NULL; }
7961 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7962 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
7963 return NULL;
7964 }
7965 }
cf694132 7966{
474c48f9 7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7968 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
cf694132 7969
474c48f9 7970 wxPyEndAllowThreads(__tstate);
4dfaa61e 7971 if (PyErr_Occurred()) return NULL;
cf694132 7972} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7973 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7974 return _resultobj;
7975}
7976
d426c97e
RD
7977#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
7978static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7979 PyObject * _resultobj;
7980 wxTreeItemId * _result;
f6bcfd97 7981 wxPyTreeCtrl * _arg0;
d426c97e
RD
7982 wxTreeItemId * _arg1;
7983 PyObject * _argo0 = 0;
7984 PyObject * _argo1 = 0;
7985 char *_kwnames[] = { "self","item", NULL };
7986 char _ptemp[128];
7987
7988 self = self;
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
7990 return NULL;
7991 if (_argo0) {
7992 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7995 return NULL;
7996 }
7997 }
7998 if (_argo1) {
7999 if (_argo1 == Py_None) { _arg1 = NULL; }
8000 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8001 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8002 return NULL;
8003 }
8004 }
8005{
474c48f9 8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8007 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
d426c97e 8008
474c48f9 8009 wxPyEndAllowThreads(__tstate);
4dfaa61e 8010 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8011} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8012 _resultobj = Py_BuildValue("s",_ptemp);
8013 return _resultobj;
8014}
8015
d5c9047a 8016#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8017static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8018 PyObject * _resultobj;
d5c9047a 8019 wxTreeItemId * _result;
f6bcfd97 8020 wxPyTreeCtrl * _arg0;
d5c9047a 8021 wxString * _arg1;
1d99702e
RD
8022 int _arg2 = (int ) -1;
8023 int _arg3 = (int ) -1;
8024 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8025 PyObject * _argo0 = 0;
d5c9047a 8026 PyObject * _obj1 = 0;
1d99702e 8027 PyObject * _argo4 = 0;
efc5f224 8028 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8029 char _ptemp[128];
8ab979d7
RD
8030
8031 self = self;
efc5f224 8032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8033 return NULL;
1d99702e
RD
8034 if (_argo0) {
8035 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8038 return NULL;
8039 }
8040 }
d5c9047a 8041{
c8bc7bb8
RD
8042 _arg1 = wxString_in_helper(_obj1);
8043 if (_arg1 == NULL)
2cd2fac8 8044 return NULL;
d5c9047a 8045}
1d99702e
RD
8046 if (_argo4) {
8047 if (_argo4 == Py_None) { _arg4 = NULL; }
8048 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8049 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8050 return NULL;
8051 }
8052 }
cf694132 8053{
474c48f9 8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8055 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
cf694132 8056
474c48f9 8057 wxPyEndAllowThreads(__tstate);
4dfaa61e 8058 if (PyErr_Occurred()) return NULL;
cf694132 8059} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8060 _resultobj = Py_BuildValue("s",_ptemp);
8061{
8062 if (_obj1)
8063 delete _arg1;
8064}
8ab979d7
RD
8065 return _resultobj;
8066}
8067
d5c9047a 8068#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8069static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8070 PyObject * _resultobj;
d5c9047a 8071 wxTreeItemId * _result;
f6bcfd97 8072 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8073 wxTreeItemId * _arg1;
8074 wxString * _arg2;
1d99702e
RD
8075 int _arg3 = (int ) -1;
8076 int _arg4 = (int ) -1;
8077 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8078 PyObject * _argo0 = 0;
8079 PyObject * _argo1 = 0;
d5c9047a 8080 PyObject * _obj2 = 0;
1d99702e 8081 PyObject * _argo5 = 0;
efc5f224 8082 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8083 char _ptemp[128];
8ab979d7
RD
8084
8085 self = self;
efc5f224 8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8087 return NULL;
1d99702e
RD
8088 if (_argo0) {
8089 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8092 return NULL;
8093 }
8094 }
1d99702e
RD
8095 if (_argo1) {
8096 if (_argo1 == Py_None) { _arg1 = NULL; }
8097 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8098 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8099 return NULL;
8100 }
8101 }
8102{
c8bc7bb8
RD
8103 _arg2 = wxString_in_helper(_obj2);
8104 if (_arg2 == NULL)
2cd2fac8 8105 return NULL;
d5c9047a 8106}
1d99702e
RD
8107 if (_argo5) {
8108 if (_argo5 == Py_None) { _arg5 = NULL; }
8109 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8110 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8111 return NULL;
8112 }
8113 }
cf694132 8114{
474c48f9 8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8116 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8117
474c48f9 8118 wxPyEndAllowThreads(__tstate);
4dfaa61e 8119 if (PyErr_Occurred()) return NULL;
cf694132 8120} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8121 _resultobj = Py_BuildValue("s",_ptemp);
8122{
8123 if (_obj2)
8124 delete _arg2;
8125}
8ab979d7
RD
8126 return _resultobj;
8127}
8128
d5c9047a 8129#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8130static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8131 PyObject * _resultobj;
d5c9047a 8132 wxTreeItemId * _result;
f6bcfd97 8133 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8134 wxTreeItemId * _arg1;
8135 wxTreeItemId * _arg2;
8136 wxString * _arg3;
1d99702e
RD
8137 int _arg4 = (int ) -1;
8138 int _arg5 = (int ) -1;
8139 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8140 PyObject * _argo0 = 0;
8141 PyObject * _argo1 = 0;
8142 PyObject * _argo2 = 0;
d5c9047a 8143 PyObject * _obj3 = 0;
1d99702e 8144 PyObject * _argo6 = 0;
efc5f224 8145 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8146 char _ptemp[128];
8ab979d7
RD
8147
8148 self = self;
efc5f224 8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8150 return NULL;
1d99702e
RD
8151 if (_argo0) {
8152 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8155 return NULL;
8156 }
8157 }
1d99702e
RD
8158 if (_argo1) {
8159 if (_argo1 == Py_None) { _arg1 = NULL; }
8160 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8161 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8162 return NULL;
8163 }
8164 }
1d99702e
RD
8165 if (_argo2) {
8166 if (_argo2 == Py_None) { _arg2 = NULL; }
8167 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8168 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8169 return NULL;
8170 }
8171 }
8172{
c8bc7bb8
RD
8173 _arg3 = wxString_in_helper(_obj3);
8174 if (_arg3 == NULL)
2cd2fac8 8175 return NULL;
d5c9047a 8176}
1d99702e
RD
8177 if (_argo6) {
8178 if (_argo6 == Py_None) { _arg6 = NULL; }
8179 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8180 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8181 return NULL;
8182 }
8183 }
cf694132 8184{
474c48f9 8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8186 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
cf694132 8187
474c48f9 8188 wxPyEndAllowThreads(__tstate);
4dfaa61e 8189 if (PyErr_Occurred()) return NULL;
cf694132 8190} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8191 _resultobj = Py_BuildValue("s",_ptemp);
8192{
8193 if (_obj3)
8194 delete _arg3;
8195}
8ab979d7
RD
8196 return _resultobj;
8197}
8198
f6bcfd97
BP
8199#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8200static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8201 PyObject * _resultobj;
8202 wxTreeItemId * _result;
8203 wxPyTreeCtrl * _arg0;
8204 wxTreeItemId * _arg1;
8205 size_t _arg2;
8206 wxString * _arg3;
8207 int _arg4 = (int ) -1;
8208 int _arg5 = (int ) -1;
55d18651 8209 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
f6bcfd97
BP
8210 PyObject * _argo0 = 0;
8211 PyObject * _argo1 = 0;
8212 PyObject * _obj3 = 0;
8213 PyObject * _argo6 = 0;
8214 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8215 char _ptemp[128];
8216
8217 self = self;
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8219 return NULL;
8220 if (_argo0) {
8221 if (_argo0 == Py_None) { _arg0 = NULL; }
8222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8224 return NULL;
8225 }
8226 }
8227 if (_argo1) {
8228 if (_argo1 == Py_None) { _arg1 = NULL; }
8229 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8230 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8231 return NULL;
8232 }
8233 }
8234{
c8bc7bb8
RD
8235 _arg3 = wxString_in_helper(_obj3);
8236 if (_arg3 == NULL)
2cd2fac8 8237 return NULL;
f6bcfd97
BP
8238}
8239 if (_argo6) {
8240 if (_argo6 == Py_None) { _arg6 = NULL; }
55d18651
RD
8241 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
8242 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
f6bcfd97
BP
8243 return NULL;
8244 }
8245 }
8246{
474c48f9 8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8248 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
f6bcfd97 8249
474c48f9 8250 wxPyEndAllowThreads(__tstate);
4dfaa61e 8251 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8252} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8253 _resultobj = Py_BuildValue("s",_ptemp);
8254{
8255 if (_obj3)
8256 delete _arg3;
8257}
8258 return _resultobj;
8259}
8260
d5c9047a 8261#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8262static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8263 PyObject * _resultobj;
d5c9047a 8264 wxTreeItemId * _result;
f6bcfd97 8265 wxPyTreeCtrl * _arg0;
d5c9047a 8266 wxTreeItemId * _arg1;
8ab979d7 8267 wxString * _arg2;
1d99702e
RD
8268 int _arg3 = (int ) -1;
8269 int _arg4 = (int ) -1;
8270 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8271 PyObject * _argo0 = 0;
8272 PyObject * _argo1 = 0;
8ab979d7 8273 PyObject * _obj2 = 0;
1d99702e 8274 PyObject * _argo5 = 0;
efc5f224 8275 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8276 char _ptemp[128];
8ab979d7
RD
8277
8278 self = self;
efc5f224 8279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8280 return NULL;
1d99702e
RD
8281 if (_argo0) {
8282 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8285 return NULL;
8286 }
8287 }
1d99702e
RD
8288 if (_argo1) {
8289 if (_argo1 == Py_None) { _arg1 = NULL; }
8290 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8291 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8292 return NULL;
8293 }
8294 }
8295{
c8bc7bb8
RD
8296 _arg2 = wxString_in_helper(_obj2);
8297 if (_arg2 == NULL)
2cd2fac8 8298 return NULL;
8ab979d7 8299}
1d99702e
RD
8300 if (_argo5) {
8301 if (_argo5 == Py_None) { _arg5 = NULL; }
8302 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8303 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8304 return NULL;
8305 }
8306 }
cf694132 8307{
474c48f9 8308 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8309 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
cf694132 8310
474c48f9 8311 wxPyEndAllowThreads(__tstate);
4dfaa61e 8312 if (PyErr_Occurred()) return NULL;
cf694132 8313} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8314 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8315{
8316 if (_obj2)
8317 delete _arg2;
8318}
8319 return _resultobj;
8320}
8321
d5c9047a 8322#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8323static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8324 PyObject * _resultobj;
f6bcfd97 8325 wxPyTreeCtrl * _arg0;
d5c9047a 8326 wxTreeItemId * _arg1;
1d99702e
RD
8327 PyObject * _argo0 = 0;
8328 PyObject * _argo1 = 0;
efc5f224 8329 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8330
8331 self = self;
efc5f224 8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8333 return NULL;
1d99702e
RD
8334 if (_argo0) {
8335 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8338 return NULL;
8339 }
8340 }
1d99702e
RD
8341 if (_argo1) {
8342 if (_argo1 == Py_None) { _arg1 = NULL; }
8343 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8344 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8345 return NULL;
8346 }
8347 }
cf694132 8348{
474c48f9 8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8350 wxTreeCtrl_Delete(_arg0,*_arg1);
cf694132 8351
474c48f9 8352 wxPyEndAllowThreads(__tstate);
4dfaa61e 8353 if (PyErr_Occurred()) return NULL;
cf694132 8354} Py_INCREF(Py_None);
d5c9047a
RD
8355 _resultobj = Py_None;
8356 return _resultobj;
8357}
8358
08127323 8359#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8360static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8361 PyObject * _resultobj;
f6bcfd97 8362 wxPyTreeCtrl * _arg0;
08127323 8363 wxTreeItemId * _arg1;
1d99702e
RD
8364 PyObject * _argo0 = 0;
8365 PyObject * _argo1 = 0;
efc5f224 8366 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8367
8368 self = self;
efc5f224 8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8370 return NULL;
1d99702e
RD
8371 if (_argo0) {
8372 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8375 return NULL;
8376 }
8377 }
1d99702e
RD
8378 if (_argo1) {
8379 if (_argo1 == Py_None) { _arg1 = NULL; }
8380 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8381 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8382 return NULL;
8383 }
8384 }
cf694132 8385{
474c48f9 8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8387 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
cf694132 8388
474c48f9 8389 wxPyEndAllowThreads(__tstate);
4dfaa61e 8390 if (PyErr_Occurred()) return NULL;
cf694132 8391} Py_INCREF(Py_None);
08127323
RD
8392 _resultobj = Py_None;
8393 return _resultobj;
8394}
8395
d5c9047a 8396#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8397static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8398 PyObject * _resultobj;
f6bcfd97 8399 wxPyTreeCtrl * _arg0;
1d99702e 8400 PyObject * _argo0 = 0;
efc5f224 8401 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8402
8403 self = self;
efc5f224 8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8405 return NULL;
1d99702e
RD
8406 if (_argo0) {
8407 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8410 return NULL;
8411 }
8412 }
cf694132 8413{
474c48f9 8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8415 wxTreeCtrl_DeleteAllItems(_arg0);
cf694132 8416
474c48f9 8417 wxPyEndAllowThreads(__tstate);
4dfaa61e 8418 if (PyErr_Occurred()) return NULL;
cf694132 8419} Py_INCREF(Py_None);
d5c9047a
RD
8420 _resultobj = Py_None;
8421 return _resultobj;
8422}
8423
8424#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8425static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8426 PyObject * _resultobj;
f6bcfd97 8427 wxPyTreeCtrl * _arg0;
d5c9047a 8428 wxTreeItemId * _arg1;
1d99702e
RD
8429 PyObject * _argo0 = 0;
8430 PyObject * _argo1 = 0;
efc5f224 8431 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8432
8433 self = self;
efc5f224 8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8435 return NULL;
1d99702e
RD
8436 if (_argo0) {
8437 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8440 return NULL;
8441 }
8442 }
1d99702e
RD
8443 if (_argo1) {
8444 if (_argo1 == Py_None) { _arg1 = NULL; }
8445 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8446 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8447 return NULL;
8448 }
8449 }
cf694132 8450{
474c48f9 8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8452 wxTreeCtrl_Expand(_arg0,*_arg1);
cf694132 8453
474c48f9 8454 wxPyEndAllowThreads(__tstate);
4dfaa61e 8455 if (PyErr_Occurred()) return NULL;
cf694132 8456} Py_INCREF(Py_None);
d5c9047a
RD
8457 _resultobj = Py_None;
8458 return _resultobj;
8459}
8460
8461#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8462static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8463 PyObject * _resultobj;
f6bcfd97 8464 wxPyTreeCtrl * _arg0;
d5c9047a 8465 wxTreeItemId * _arg1;
1d99702e
RD
8466 PyObject * _argo0 = 0;
8467 PyObject * _argo1 = 0;
efc5f224 8468 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8469
8470 self = self;
efc5f224 8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8472 return NULL;
1d99702e
RD
8473 if (_argo0) {
8474 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8477 return NULL;
8478 }
8479 }
1d99702e
RD
8480 if (_argo1) {
8481 if (_argo1 == Py_None) { _arg1 = NULL; }
8482 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8483 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8484 return NULL;
8485 }
8486 }
cf694132 8487{
474c48f9 8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8489 wxTreeCtrl_Collapse(_arg0,*_arg1);
cf694132 8490
474c48f9 8491 wxPyEndAllowThreads(__tstate);
4dfaa61e 8492 if (PyErr_Occurred()) return NULL;
cf694132 8493} Py_INCREF(Py_None);
d5c9047a
RD
8494 _resultobj = Py_None;
8495 return _resultobj;
8496}
8497
8498#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8499static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8500 PyObject * _resultobj;
f6bcfd97 8501 wxPyTreeCtrl * _arg0;
d5c9047a 8502 wxTreeItemId * _arg1;
1d99702e
RD
8503 PyObject * _argo0 = 0;
8504 PyObject * _argo1 = 0;
efc5f224 8505 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8506
8507 self = self;
efc5f224 8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8509 return NULL;
1d99702e
RD
8510 if (_argo0) {
8511 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8514 return NULL;
8515 }
8516 }
1d99702e
RD
8517 if (_argo1) {
8518 if (_argo1 == Py_None) { _arg1 = NULL; }
8519 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8520 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8521 return NULL;
8522 }
8523 }
cf694132 8524{
474c48f9 8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8526 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
cf694132 8527
474c48f9 8528 wxPyEndAllowThreads(__tstate);
4dfaa61e 8529 if (PyErr_Occurred()) return NULL;
cf694132 8530} Py_INCREF(Py_None);
d5c9047a
RD
8531 _resultobj = Py_None;
8532 return _resultobj;
8533}
8534
8535#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8536static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8537 PyObject * _resultobj;
f6bcfd97 8538 wxPyTreeCtrl * _arg0;
d5c9047a 8539 wxTreeItemId * _arg1;
1d99702e
RD
8540 PyObject * _argo0 = 0;
8541 PyObject * _argo1 = 0;
efc5f224 8542 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8543
8544 self = self;
efc5f224 8545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8546 return NULL;
1d99702e
RD
8547 if (_argo0) {
8548 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8551 return NULL;
8552 }
8553 }
1d99702e
RD
8554 if (_argo1) {
8555 if (_argo1 == Py_None) { _arg1 = NULL; }
8556 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8557 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8558 return NULL;
8559 }
8560 }
cf694132 8561{
474c48f9 8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8563 wxTreeCtrl_Toggle(_arg0,*_arg1);
cf694132 8564
474c48f9 8565 wxPyEndAllowThreads(__tstate);
4dfaa61e 8566 if (PyErr_Occurred()) return NULL;
cf694132 8567} Py_INCREF(Py_None);
d5c9047a
RD
8568 _resultobj = Py_None;
8569 return _resultobj;
8570}
8571
8572#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8573static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8574 PyObject * _resultobj;
f6bcfd97 8575 wxPyTreeCtrl * _arg0;
1d99702e 8576 PyObject * _argo0 = 0;
efc5f224 8577 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8578
8579 self = self;
efc5f224 8580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8581 return NULL;
1d99702e
RD
8582 if (_argo0) {
8583 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8586 return NULL;
8587 }
8588 }
cf694132 8589{
474c48f9 8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8591 wxTreeCtrl_Unselect(_arg0);
cf694132 8592
474c48f9 8593 wxPyEndAllowThreads(__tstate);
4dfaa61e 8594 if (PyErr_Occurred()) return NULL;
cf694132 8595} Py_INCREF(Py_None);
d5c9047a
RD
8596 _resultobj = Py_None;
8597 return _resultobj;
8598}
8599
8bf5d46e 8600#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8601static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8602 PyObject * _resultobj;
f6bcfd97 8603 wxPyTreeCtrl * _arg0;
1d99702e 8604 PyObject * _argo0 = 0;
efc5f224 8605 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
8606
8607 self = self;
efc5f224 8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 8609 return NULL;
1d99702e
RD
8610 if (_argo0) {
8611 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
8614 return NULL;
8615 }
8616 }
8617{
474c48f9 8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8619 wxTreeCtrl_UnselectAll(_arg0);
8bf5d46e 8620
474c48f9 8621 wxPyEndAllowThreads(__tstate);
4dfaa61e 8622 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8623} Py_INCREF(Py_None);
8624 _resultobj = Py_None;
8625 return _resultobj;
8626}
8627
d5c9047a 8628#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 8629static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8630 PyObject * _resultobj;
f6bcfd97 8631 wxPyTreeCtrl * _arg0;
d5c9047a 8632 wxTreeItemId * _arg1;
1d99702e
RD
8633 PyObject * _argo0 = 0;
8634 PyObject * _argo1 = 0;
efc5f224 8635 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8636
8637 self = self;
efc5f224 8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 8639 return NULL;
1d99702e
RD
8640 if (_argo0) {
8641 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8644 return NULL;
8645 }
8646 }
1d99702e
RD
8647 if (_argo1) {
8648 if (_argo1 == Py_None) { _arg1 = NULL; }
8649 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8650 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8651 return NULL;
8652 }
8653 }
cf694132 8654{
474c48f9 8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8656 wxTreeCtrl_SelectItem(_arg0,*_arg1);
cf694132 8657
474c48f9 8658 wxPyEndAllowThreads(__tstate);
4dfaa61e 8659 if (PyErr_Occurred()) return NULL;
cf694132 8660} Py_INCREF(Py_None);
d5c9047a
RD
8661 _resultobj = Py_None;
8662 return _resultobj;
8663}
8664
8665#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 8666static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8667 PyObject * _resultobj;
f6bcfd97 8668 wxPyTreeCtrl * _arg0;
d5c9047a 8669 wxTreeItemId * _arg1;
1d99702e
RD
8670 PyObject * _argo0 = 0;
8671 PyObject * _argo1 = 0;
efc5f224 8672 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8673
8674 self = self;
efc5f224 8675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 8676 return NULL;
1d99702e
RD
8677 if (_argo0) {
8678 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8681 return NULL;
8682 }
8683 }
1d99702e
RD
8684 if (_argo1) {
8685 if (_argo1 == Py_None) { _arg1 = NULL; }
8686 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8687 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8688 return NULL;
8689 }
8690 }
cf694132 8691{
474c48f9 8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8693 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
cf694132 8694
474c48f9 8695 wxPyEndAllowThreads(__tstate);
4dfaa61e 8696 if (PyErr_Occurred()) return NULL;
cf694132 8697} Py_INCREF(Py_None);
d5c9047a
RD
8698 _resultobj = Py_None;
8699 return _resultobj;
8700}
8701
8702#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 8703static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8704 PyObject * _resultobj;
f6bcfd97 8705 wxPyTreeCtrl * _arg0;
d5c9047a 8706 wxTreeItemId * _arg1;
1d99702e
RD
8707 PyObject * _argo0 = 0;
8708 PyObject * _argo1 = 0;
efc5f224 8709 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8710
8711 self = self;
efc5f224 8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 8713 return NULL;
1d99702e
RD
8714 if (_argo0) {
8715 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8718 return NULL;
8719 }
8720 }
1d99702e
RD
8721 if (_argo1) {
8722 if (_argo1 == Py_None) { _arg1 = NULL; }
8723 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8724 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8725 return NULL;
8726 }
8727 }
cf694132 8728{
474c48f9 8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8730 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
cf694132 8731
474c48f9 8732 wxPyEndAllowThreads(__tstate);
4dfaa61e 8733 if (PyErr_Occurred()) return NULL;
cf694132 8734} Py_INCREF(Py_None);
d5c9047a
RD
8735 _resultobj = Py_None;
8736 return _resultobj;
8737}
8738
8739#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 8740static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8741 PyObject * _resultobj;
f6bcfd97 8742 wxPyTreeCtrl * _arg0;
d5c9047a 8743 wxTreeItemId * _arg1;
1d99702e
RD
8744 PyObject * _argo0 = 0;
8745 PyObject * _argo1 = 0;
efc5f224 8746 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8747
8748 self = self;
efc5f224 8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 8750 return NULL;
1d99702e
RD
8751 if (_argo0) {
8752 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8755 return NULL;
8756 }
8757 }
1d99702e
RD
8758 if (_argo1) {
8759 if (_argo1 == Py_None) { _arg1 = NULL; }
8760 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8761 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8762 return NULL;
8763 }
8764 }
cf694132 8765{
474c48f9 8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8767 wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132 8768
474c48f9 8769 wxPyEndAllowThreads(__tstate);
4dfaa61e 8770 if (PyErr_Occurred()) return NULL;
cf694132 8771} Py_INCREF(Py_None);
d5c9047a 8772 _resultobj = Py_None;
8ab979d7
RD
8773 return _resultobj;
8774}
8775
d426c97e
RD
8776#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8777static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8778 PyObject * _resultobj;
f6bcfd97 8779 wxPyTreeCtrl * _arg0;
d426c97e
RD
8780 wxTreeItemId * _arg1;
8781 PyObject * _argo0 = 0;
8782 PyObject * _argo1 = 0;
8783 char *_kwnames[] = { "self","item", NULL };
8784
8785 self = self;
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
8787 return NULL;
8788 if (_argo0) {
8789 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8792 return NULL;
8793 }
8794 }
8795 if (_argo1) {
8796 if (_argo1 == Py_None) { _arg1 = NULL; }
8797 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8798 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8799 return NULL;
8800 }
8801 }
8802{
474c48f9 8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8804 wxTreeCtrl_SortChildren(_arg0,*_arg1);
d426c97e 8805
474c48f9 8806 wxPyEndAllowThreads(__tstate);
4dfaa61e 8807 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8808} Py_INCREF(Py_None);
8809 _resultobj = Py_None;
8810 return _resultobj;
8811}
8812
b8b8dda7 8813#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 8814static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 8815 PyObject * _resultobj;
f6bcfd97 8816 wxPyTreeCtrl * _arg0;
b8b8dda7 8817 wxTreeItemId * _arg1;
b1462dfa 8818 int _arg2 = (int ) TRUE;
1d99702e
RD
8819 PyObject * _argo0 = 0;
8820 PyObject * _argo1 = 0;
efc5f224 8821 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
8822
8823 self = self;
b1462dfa 8824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 8825 return NULL;
1d99702e
RD
8826 if (_argo0) {
8827 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
8830 return NULL;
8831 }
8832 }
1d99702e
RD
8833 if (_argo1) {
8834 if (_argo1 == Py_None) { _arg1 = NULL; }
8835 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
8836 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
8837 return NULL;
8838 }
8839 }
cf694132 8840{
474c48f9 8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8842 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
cf694132 8843
474c48f9 8844 wxPyEndAllowThreads(__tstate);
4dfaa61e 8845 if (PyErr_Occurred()) return NULL;
cf694132 8846} Py_INCREF(Py_None);
b8b8dda7
RD
8847 _resultobj = Py_None;
8848 return _resultobj;
8849}
8850
8851#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 8852static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
8853 PyObject * _resultobj;
8854 bool _result;
f6bcfd97 8855 wxPyTreeCtrl * _arg0;
b8b8dda7 8856 wxTreeItemId * _arg1;
1d99702e
RD
8857 PyObject * _argo0 = 0;
8858 PyObject * _argo1 = 0;
efc5f224 8859 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
8860
8861 self = self;
efc5f224 8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 8863 return NULL;
1d99702e
RD
8864 if (_argo0) {
8865 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
8868 return NULL;
8869 }
8870 }
1d99702e
RD
8871 if (_argo1) {
8872 if (_argo1 == Py_None) { _arg1 = NULL; }
8873 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
8874 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
8875 return NULL;
8876 }
8877 }
cf694132 8878{
474c48f9 8879 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8880 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
cf694132 8881
474c48f9 8882 wxPyEndAllowThreads(__tstate);
4dfaa61e 8883 if (PyErr_Occurred()) return NULL;
cf694132 8884} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
8885 return _resultobj;
8886}
8887
164b735b 8888#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 8889static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
8890 PyObject * _resultobj;
8891 wxTreeItemId * _result;
f6bcfd97 8892 wxPyTreeCtrl * _arg0;
b8b8dda7 8893 wxPoint * _arg1;
164b735b
RD
8894 int * _arg2;
8895 int temp;
1d99702e 8896 PyObject * _argo0 = 0;
164b735b 8897 wxPoint temp0;
2f90df85 8898 PyObject * _obj1 = 0;
efc5f224 8899 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
8900 char _ptemp[128];
8901
8902 self = self;
164b735b
RD
8903{
8904 _arg2 = &temp;
8905}
2f90df85 8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 8907 return NULL;
1d99702e
RD
8908 if (_argo0) {
8909 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
8912 return NULL;
8913 }
8914 }
2f90df85 8915{
164b735b 8916 _arg1 = &temp0;
2f90df85 8917 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 8918 return NULL;
2f90df85 8919}
cf694132 8920{
474c48f9 8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8922 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132 8923
474c48f9 8924 wxPyEndAllowThreads(__tstate);
4dfaa61e 8925 if (PyErr_Occurred()) return NULL;
cf694132 8926} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 8927 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
8928{
8929 PyObject *o;
8930 o = PyInt_FromLong((long) (*_arg2));
8931 _resultobj = t_output_helper(_resultobj, o);
8932}
b8b8dda7
RD
8933 return _resultobj;
8934}
8935
b7e72427
RD
8936#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
8937static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8938 PyObject * _resultobj;
f6bcfd97 8939 wxPyTreeCtrl * _arg0;
b7e72427
RD
8940 wxTreeItemId * _arg1;
8941 wxColour * _arg2;
8942 PyObject * _argo0 = 0;
8943 PyObject * _argo1 = 0;
f6bcfd97
BP
8944 wxColour temp;
8945 PyObject * _obj2 = 0;
b7e72427
RD
8946 char *_kwnames[] = { "self","item","col", NULL };
8947
8948 self = self;
f6bcfd97 8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
8950 return NULL;
8951 if (_argo0) {
8952 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
8955 return NULL;
8956 }
8957 }
8958 if (_argo1) {
8959 if (_argo1 == Py_None) { _arg1 = NULL; }
8960 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8961 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
8962 return NULL;
8963 }
8964 }
f6bcfd97
BP
8965{
8966 _arg2 = &temp;
8967 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 8968 return NULL;
f6bcfd97 8969}
b7e72427 8970{
474c48f9 8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8972 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
b7e72427 8973
474c48f9 8974 wxPyEndAllowThreads(__tstate);
4dfaa61e 8975 if (PyErr_Occurred()) return NULL;
b7e72427
RD
8976} Py_INCREF(Py_None);
8977 _resultobj = Py_None;
8978 return _resultobj;
8979}
8980
8981#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
8982static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8983 PyObject * _resultobj;
f6bcfd97 8984 wxPyTreeCtrl * _arg0;
b7e72427
RD
8985 wxTreeItemId * _arg1;
8986 wxColour * _arg2;
8987 PyObject * _argo0 = 0;
8988 PyObject * _argo1 = 0;
f6bcfd97
BP
8989 wxColour temp;
8990 PyObject * _obj2 = 0;
b7e72427
RD
8991 char *_kwnames[] = { "self","item","col", NULL };
8992
8993 self = self;
f6bcfd97 8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
8995 return NULL;
8996 if (_argo0) {
8997 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9000 return NULL;
9001 }
9002 }
9003 if (_argo1) {
9004 if (_argo1 == Py_None) { _arg1 = NULL; }
9005 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9006 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9007 return NULL;
9008 }
9009 }
f6bcfd97
BP
9010{
9011 _arg2 = &temp;
9012 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9013 return NULL;
f6bcfd97 9014}
b7e72427 9015{
474c48f9 9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9017 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
b7e72427 9018
474c48f9 9019 wxPyEndAllowThreads(__tstate);
4dfaa61e 9020 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9021} Py_INCREF(Py_None);
9022 _resultobj = Py_None;
9023 return _resultobj;
9024}
9025
9026#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9027static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9028 PyObject * _resultobj;
f6bcfd97 9029 wxPyTreeCtrl * _arg0;
b7e72427
RD
9030 wxTreeItemId * _arg1;
9031 wxFont * _arg2;
9032 PyObject * _argo0 = 0;
9033 PyObject * _argo1 = 0;
9034 PyObject * _argo2 = 0;
9035 char *_kwnames[] = { "self","item","font", NULL };
9036
9037 self = self;
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9039 return NULL;
9040 if (_argo0) {
9041 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9044 return NULL;
9045 }
9046 }
9047 if (_argo1) {
9048 if (_argo1 == Py_None) { _arg1 = NULL; }
9049 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9050 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9051 return NULL;
9052 }
9053 }
9054 if (_argo2) {
9055 if (_argo2 == Py_None) { _arg2 = NULL; }
9056 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9057 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9058 return NULL;
9059 }
9060 }
9061{
474c48f9 9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9063 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
b7e72427 9064
474c48f9 9065 wxPyEndAllowThreads(__tstate);
4dfaa61e 9066 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9067} Py_INCREF(Py_None);
9068 _resultobj = Py_None;
9069 return _resultobj;
9070}
9071
74bcba0e
RD
9072static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
9073 wxRect rect;
9074 if (self->GetBoundingRect(item, rect, textOnly)) {
474c48f9 9075 wxPyBeginBlockThreads();
74bcba0e
RD
9076 wxRect* r = new wxRect(rect);
9077 PyObject* val = wxPyConstructObject((void*)r, "wxRect");
474c48f9 9078 wxPyEndBlockThreads();
74bcba0e
RD
9079 return val;
9080 }
9081 else {
9082 Py_INCREF(Py_None);
9083 return Py_None;
9084 }
9085 }
9086static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9087 PyObject * _resultobj;
9088 PyObject * _result;
9089 wxPyTreeCtrl * _arg0;
9090 wxTreeItemId * _arg1;
9091 int _arg2 = (int ) FALSE;
9092 PyObject * _argo0 = 0;
9093 PyObject * _argo1 = 0;
9094 char *_kwnames[] = { "self","item","textOnly", NULL };
9095
9096 self = self;
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9098 return NULL;
9099 if (_argo0) {
9100 if (_argo0 == Py_None) { _arg0 = NULL; }
9101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9103 return NULL;
9104 }
9105 }
9106 if (_argo1) {
9107 if (_argo1 == Py_None) { _arg1 = NULL; }
9108 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9109 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9110 return NULL;
9111 }
9112 }
9113{
474c48f9 9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9115 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
74bcba0e 9116
474c48f9 9117 wxPyEndAllowThreads(__tstate);
74bcba0e
RD
9118 if (PyErr_Occurred()) return NULL;
9119}{
9120 _resultobj = _result;
9121}
9122 return _resultobj;
9123}
9124
db34b2d4
RD
9125static void *SwigwxDirItemDataTowxObject(void *ptr) {
9126 wxDirItemData *src;
9127 wxObject *dest;
9128 src = (wxDirItemData *) ptr;
9129 dest = (wxObject *) src;
9130 return (void *) dest;
9131}
9132
9133#define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9134static PyObject *_wrap_new_wxDirItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
9135 PyObject * _resultobj;
9136 wxDirItemData * _result;
9137 wxString * _arg0;
9138 wxString * _arg1;
9139 bool _arg2;
9140 PyObject * _obj0 = 0;
9141 PyObject * _obj1 = 0;
9142 int tempbool2;
9143 char *_kwnames[] = { "path","name","isDir", NULL };
9144 char _ptemp[128];
9145
9146 self = self;
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:new_wxDirItemData",_kwnames,&_obj0,&_obj1,&tempbool2))
9148 return NULL;
9149{
c8bc7bb8
RD
9150 _arg0 = wxString_in_helper(_obj0);
9151 if (_arg0 == NULL)
db34b2d4 9152 return NULL;
db34b2d4
RD
9153}
9154{
c8bc7bb8
RD
9155 _arg1 = wxString_in_helper(_obj1);
9156 if (_arg1 == NULL)
db34b2d4 9157 return NULL;
db34b2d4
RD
9158}
9159 _arg2 = (bool ) tempbool2;
9160{
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9162 _result = (wxDirItemData *)new_wxDirItemData(*_arg0,*_arg1,_arg2);
db34b2d4
RD
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) return NULL;
9166} if (_result) {
9167 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirItemData_p");
9168 _resultobj = Py_BuildValue("s",_ptemp);
9169 } else {
9170 Py_INCREF(Py_None);
9171 _resultobj = Py_None;
9172 }
9173{
9174 if (_obj0)
9175 delete _arg0;
9176}
9177{
9178 if (_obj1)
9179 delete _arg1;
9180}
9181 return _resultobj;
9182}
9183
9184#define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9185static PyObject *_wrap_wxDirItemData_SetNewDirName(PyObject *self, PyObject *args, PyObject *kwargs) {
9186 PyObject * _resultobj;
9187 wxDirItemData * _arg0;
9188 wxString * _arg1;
9189 PyObject * _argo0 = 0;
9190 PyObject * _obj1 = 0;
9191 char *_kwnames[] = { "self","path", NULL };
9192
9193 self = self;
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_SetNewDirName",_kwnames,&_argo0,&_obj1))
9195 return NULL;
9196 if (_argo0) {
9197 if (_argo0 == Py_None) { _arg0 = NULL; }
9198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9200 return NULL;
9201 }
9202 }
9203{
c8bc7bb8
RD
9204 _arg1 = wxString_in_helper(_obj1);
9205 if (_arg1 == NULL)
db34b2d4 9206 return NULL;
db34b2d4
RD
9207}
9208{
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9210 wxDirItemData_SetNewDirName(_arg0,*_arg1);
db34b2d4
RD
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) return NULL;
9214} Py_INCREF(Py_None);
9215 _resultobj = Py_None;
9216{
9217 if (_obj1)
9218 delete _arg1;
9219}
9220 return _resultobj;
9221}
9222
9223#define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9224static PyObject *_wrap_wxDirItemData_m_path_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9225 PyObject * _resultobj;
9226 wxString * _result;
9227 wxDirItemData * _arg0;
9228 wxString * _arg1;
9229 PyObject * _argo0 = 0;
9230 PyObject * _obj1 = 0;
9231 char *_kwnames[] = { "self","m_path", NULL };
9232
9233 self = self;
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_path_set",_kwnames,&_argo0,&_obj1))
9235 return NULL;
9236 if (_argo0) {
9237 if (_argo0 == Py_None) { _arg0 = NULL; }
9238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9240 return NULL;
9241 }
9242 }
9243{
c8bc7bb8
RD
9244 _arg1 = wxString_in_helper(_obj1);
9245 if (_arg1 == NULL)
db34b2d4 9246 return NULL;
db34b2d4
RD
9247}
9248{
9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9250 _result = (wxString *)wxDirItemData_m_path_set(_arg0,_arg1);
db34b2d4
RD
9251
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) return NULL;
9254}{
c8bc7bb8
RD
9255#if wxUSE_UNICODE
9256 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9257#else
db34b2d4 9258 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9259#endif
db34b2d4
RD
9260}
9261{
9262 if (_obj1)
9263 delete _arg1;
9264}
9265 return _resultobj;
9266}
9267
9268#define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9269static PyObject *_wrap_wxDirItemData_m_path_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9270 PyObject * _resultobj;
9271 wxString * _result;
9272 wxDirItemData * _arg0;
9273 PyObject * _argo0 = 0;
9274 char *_kwnames[] = { "self", NULL };
9275
9276 self = self;
9277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_path_get",_kwnames,&_argo0))
9278 return NULL;
9279 if (_argo0) {
9280 if (_argo0 == Py_None) { _arg0 = NULL; }
9281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9283 return NULL;
9284 }
9285 }
9286{
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9288 _result = (wxString *)wxDirItemData_m_path_get(_arg0);
db34b2d4
RD
9289
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) return NULL;
9292}{
c8bc7bb8
RD
9293#if wxUSE_UNICODE
9294 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9295#else
db34b2d4 9296 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9297#endif
db34b2d4
RD
9298}
9299 return _resultobj;
9300}
9301
9302#define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9303static PyObject *_wrap_wxDirItemData_m_name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9304 PyObject * _resultobj;
9305 wxString * _result;
9306 wxDirItemData * _arg0;
9307 wxString * _arg1;
9308 PyObject * _argo0 = 0;
9309 PyObject * _obj1 = 0;
9310 char *_kwnames[] = { "self","m_name", NULL };
9311
9312 self = self;
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_name_set",_kwnames,&_argo0,&_obj1))
9314 return NULL;
9315 if (_argo0) {
9316 if (_argo0 == Py_None) { _arg0 = NULL; }
9317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9319 return NULL;
9320 }
9321 }
9322{
c8bc7bb8
RD
9323 _arg1 = wxString_in_helper(_obj1);
9324 if (_arg1 == NULL)
db34b2d4 9325 return NULL;
db34b2d4
RD
9326}
9327{
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9329 _result = (wxString *)wxDirItemData_m_name_set(_arg0,_arg1);
db34b2d4
RD
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) return NULL;
9333}{
c8bc7bb8
RD
9334#if wxUSE_UNICODE
9335 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9336#else
db34b2d4 9337 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9338#endif
db34b2d4
RD
9339}
9340{
9341 if (_obj1)
9342 delete _arg1;
9343}
9344 return _resultobj;
9345}
9346
9347#define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9348static PyObject *_wrap_wxDirItemData_m_name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject * _resultobj;
9350 wxString * _result;
9351 wxDirItemData * _arg0;
9352 PyObject * _argo0 = 0;
9353 char *_kwnames[] = { "self", NULL };
9354
9355 self = self;
9356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_name_get",_kwnames,&_argo0))
9357 return NULL;
9358 if (_argo0) {
9359 if (_argo0 == Py_None) { _arg0 = NULL; }
9360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9362 return NULL;
9363 }
9364 }
9365{
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9367 _result = (wxString *)wxDirItemData_m_name_get(_arg0);
db34b2d4
RD
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) return NULL;
9371}{
c8bc7bb8
RD
9372#if wxUSE_UNICODE
9373 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9374#else
db34b2d4 9375 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9376#endif
db34b2d4
RD
9377}
9378 return _resultobj;
9379}
9380
9381#define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9382static PyObject *_wrap_wxDirItemData_m_isHidden_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9383 PyObject * _resultobj;
9384 bool _result;
9385 wxDirItemData * _arg0;
9386 bool _arg1;
9387 PyObject * _argo0 = 0;
9388 int tempbool1;
9389 char *_kwnames[] = { "self","m_isHidden", NULL };
9390
9391 self = self;
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isHidden_set",_kwnames,&_argo0,&tempbool1))
9393 return NULL;
9394 if (_argo0) {
9395 if (_argo0 == Py_None) { _arg0 = NULL; }
9396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9398 return NULL;
9399 }
9400 }
9401 _arg1 = (bool ) tempbool1;
9402{
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9404 _result = (bool )wxDirItemData_m_isHidden_set(_arg0,_arg1);
db34b2d4
RD
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) return NULL;
9408} _resultobj = Py_BuildValue("i",_result);
9409 return _resultobj;
9410}
9411
9412#define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9413static PyObject *_wrap_wxDirItemData_m_isHidden_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject * _resultobj;
9415 bool _result;
9416 wxDirItemData * _arg0;
9417 PyObject * _argo0 = 0;
9418 char *_kwnames[] = { "self", NULL };
9419
9420 self = self;
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isHidden_get",_kwnames,&_argo0))
9422 return NULL;
9423 if (_argo0) {
9424 if (_argo0 == Py_None) { _arg0 = NULL; }
9425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9427 return NULL;
9428 }
9429 }
9430{
9431 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9432 _result = (bool )wxDirItemData_m_isHidden_get(_arg0);
db34b2d4
RD
9433
9434 wxPyEndAllowThreads(__tstate);
9435 if (PyErr_Occurred()) return NULL;
9436} _resultobj = Py_BuildValue("i",_result);
9437 return _resultobj;
9438}
9439
9440#define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9441static PyObject *_wrap_wxDirItemData_m_isExpanded_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9442 PyObject * _resultobj;
9443 bool _result;
9444 wxDirItemData * _arg0;
9445 bool _arg1;
9446 PyObject * _argo0 = 0;
9447 int tempbool1;
9448 char *_kwnames[] = { "self","m_isExpanded", NULL };
9449
9450 self = self;
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isExpanded_set",_kwnames,&_argo0,&tempbool1))
9452 return NULL;
9453 if (_argo0) {
9454 if (_argo0 == Py_None) { _arg0 = NULL; }
9455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9457 return NULL;
9458 }
9459 }
9460 _arg1 = (bool ) tempbool1;
9461{
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9463 _result = (bool )wxDirItemData_m_isExpanded_set(_arg0,_arg1);
db34b2d4
RD
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) return NULL;
9467} _resultobj = Py_BuildValue("i",_result);
9468 return _resultobj;
9469}
9470
9471#define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9472static PyObject *_wrap_wxDirItemData_m_isExpanded_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject * _resultobj;
9474 bool _result;
9475 wxDirItemData * _arg0;
9476 PyObject * _argo0 = 0;
9477 char *_kwnames[] = { "self", NULL };
9478
9479 self = self;
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isExpanded_get",_kwnames,&_argo0))
9481 return NULL;
9482 if (_argo0) {
9483 if (_argo0 == Py_None) { _arg0 = NULL; }
9484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9486 return NULL;
9487 }
9488 }
9489{
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9491 _result = (bool )wxDirItemData_m_isExpanded_get(_arg0);
db34b2d4
RD
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) return NULL;
9495} _resultobj = Py_BuildValue("i",_result);
9496 return _resultobj;
9497}
9498
9499#define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9500static PyObject *_wrap_wxDirItemData_m_isDir_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject * _resultobj;
9502 bool _result;
9503 wxDirItemData * _arg0;
9504 bool _arg1;
9505 PyObject * _argo0 = 0;
9506 int tempbool1;
9507 char *_kwnames[] = { "self","m_isDir", NULL };
9508
9509 self = self;
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isDir_set",_kwnames,&_argo0,&tempbool1))
9511 return NULL;
9512 if (_argo0) {
9513 if (_argo0 == Py_None) { _arg0 = NULL; }
9514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9516 return NULL;
9517 }
9518 }
9519 _arg1 = (bool ) tempbool1;
9520{
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9522 _result = (bool )wxDirItemData_m_isDir_set(_arg0,_arg1);
db34b2d4
RD
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) return NULL;
9526} _resultobj = Py_BuildValue("i",_result);
9527 return _resultobj;
9528}
9529
9530#define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9531static PyObject *_wrap_wxDirItemData_m_isDir_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject * _resultobj;
9533 bool _result;
9534 wxDirItemData * _arg0;
9535 PyObject * _argo0 = 0;
9536 char *_kwnames[] = { "self", NULL };
9537
9538 self = self;
9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isDir_get",_kwnames,&_argo0))
9540 return NULL;
9541 if (_argo0) {
9542 if (_argo0 == Py_None) { _arg0 = NULL; }
9543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9545 return NULL;
9546 }
9547 }
9548{
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9550 _result = (bool )wxDirItemData_m_isDir_get(_arg0);
db34b2d4
RD
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) return NULL;
9554} _resultobj = Py_BuildValue("i",_result);
9555 return _resultobj;
9556}
9557
9558static void *SwigwxGenericDirCtrlTowxControl(void *ptr) {
9559 wxGenericDirCtrl *src;
9560 wxControl *dest;
9561 src = (wxGenericDirCtrl *) ptr;
9562 dest = (wxControl *) src;
9563 return (void *) dest;
9564}
9565
9566static void *SwigwxGenericDirCtrlTowxWindow(void *ptr) {
9567 wxGenericDirCtrl *src;
9568 wxWindow *dest;
9569 src = (wxGenericDirCtrl *) ptr;
9570 dest = (wxWindow *) src;
9571 return (void *) dest;
9572}
9573
9574static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr) {
9575 wxGenericDirCtrl *src;
9576 wxEvtHandler *dest;
9577 src = (wxGenericDirCtrl *) ptr;
9578 dest = (wxEvtHandler *) src;
9579 return (void *) dest;
9580}
9581
9582static void *SwigwxGenericDirCtrlTowxObject(void *ptr) {
9583 wxGenericDirCtrl *src;
9584 wxObject *dest;
9585 src = (wxGenericDirCtrl *) ptr;
9586 dest = (wxObject *) src;
9587 return (void *) dest;
9588}
9589
9590#define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9591static PyObject *_wrap_new_wxGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9592 PyObject * _resultobj;
9593 wxGenericDirCtrl * _result;
9594 wxWindow * _arg0;
9595 wxWindowID _arg1 = (wxWindowID ) -1;
9a74fcaf 9596 wxString * _arg2 = (wxString *) &wxPyDirDialogDefaultFolderStr;
db34b2d4
RD
9597 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9598 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9599 long _arg5 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
9a74fcaf 9600 wxString * _arg6 = (wxString *) &wxPyEmptyString;
db34b2d4 9601 int _arg7 = (int ) 0;
9a74fcaf 9602 wxString * _arg8 = (wxString *) &wxPy_TreeCtrlNameStr;
db34b2d4 9603 PyObject * _argo0 = 0;
9a74fcaf 9604 PyObject * _obj2 = 0;
db34b2d4
RD
9605 wxPoint temp;
9606 PyObject * _obj3 = 0;
9607 wxSize temp0;
9608 PyObject * _obj4 = 0;
9a74fcaf
RD
9609 PyObject * _obj6 = 0;
9610 PyObject * _obj8 = 0;
db34b2d4
RD
9611 char *_kwnames[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9612 char _ptemp[128];
9613
9614 self = self;
9a74fcaf 9615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6,&_arg7,&_obj8))
db34b2d4
RD
9616 return NULL;
9617 if (_argo0) {
9618 if (_argo0 == Py_None) { _arg0 = NULL; }
9619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9621 return NULL;
9622 }
9623 }
9a74fcaf
RD
9624 if (_obj2)
9625{
9626 _arg2 = wxString_in_helper(_obj2);
9627 if (_arg2 == NULL)
9628 return NULL;
9629}
db34b2d4
RD
9630 if (_obj3)
9631{
9632 _arg3 = &temp;
9633 if (! wxPoint_helper(_obj3, &_arg3))
9634 return NULL;
9635}
9636 if (_obj4)
9637{
9638 _arg4 = &temp0;
9639 if (! wxSize_helper(_obj4, &_arg4))
9640 return NULL;
9a74fcaf
RD
9641}
9642 if (_obj6)
9643{
9644 _arg6 = wxString_in_helper(_obj6);
9645 if (_arg6 == NULL)
9646 return NULL;
9647}
9648 if (_obj8)
9649{
9650 _arg8 = wxString_in_helper(_obj8);
9651 if (_arg8 == NULL)
9652 return NULL;
db34b2d4
RD
9653}
9654{
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9656 _result = (wxGenericDirCtrl *)new_wxGenericDirCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7,*_arg8);
db34b2d4
RD
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) return NULL;
9660} if (_result) {
9661 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9662 _resultobj = Py_BuildValue("s",_ptemp);
9663 } else {
9664 Py_INCREF(Py_None);
9665 _resultobj = Py_None;
9666 }
9a74fcaf
RD
9667{
9668 if (_obj2)
9669 delete _arg2;
9670}
9671{
9672 if (_obj6)
9673 delete _arg6;
9674}
9675{
9676 if (_obj8)
9677 delete _arg8;
9678}
db34b2d4
RD
9679 return _resultobj;
9680}
9681
9682#define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9683static PyObject *_wrap_new_wxPreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9684 PyObject * _resultobj;
9685 wxGenericDirCtrl * _result;
9686 char *_kwnames[] = { NULL };
9687 char _ptemp[128];
9688
9689 self = self;
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGenericDirCtrl",_kwnames))
9691 return NULL;
9692{
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9694 _result = (wxGenericDirCtrl *)new_wxPreGenericDirCtrl();
db34b2d4
RD
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) return NULL;
9698} if (_result) {
9699 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9700 _resultobj = Py_BuildValue("s",_ptemp);
9701 } else {
9702 Py_INCREF(Py_None);
9703 _resultobj = Py_None;
9704 }
9705 return _resultobj;
9706}
9707
9708#define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9709static PyObject *_wrap_wxGenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject * _resultobj;
9711 bool _result;
9712 wxGenericDirCtrl * _arg0;
9713 wxWindow * _arg1;
9714 wxWindowID _arg2 = (wxWindowID ) -1;
9a74fcaf 9715 wxString * _arg3 = (wxString *) &wxPyDirDialogDefaultFolderStr;
db34b2d4
RD
9716 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9717 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9718 long _arg6 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
9a74fcaf 9719 wxString * _arg7 = (wxString *) &wxPyEmptyString;
db34b2d4 9720 int _arg8 = (int ) 0;
9a74fcaf 9721 wxString * _arg9 = (wxString *) &wxPy_TreeCtrlNameStr;
db34b2d4
RD
9722 PyObject * _argo0 = 0;
9723 PyObject * _argo1 = 0;
9a74fcaf 9724 PyObject * _obj3 = 0;
db34b2d4
RD
9725 wxPoint temp;
9726 PyObject * _obj4 = 0;
9727 wxSize temp0;
9728 PyObject * _obj5 = 0;
9a74fcaf
RD
9729 PyObject * _obj7 = 0;
9730 PyObject * _obj9 = 0;
db34b2d4
RD
9731 char *_kwnames[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9732
9733 self = self;
9a74fcaf 9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7,&_arg8,&_obj9))
db34b2d4
RD
9735 return NULL;
9736 if (_argo0) {
9737 if (_argo0 == Py_None) { _arg0 = NULL; }
9738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9740 return NULL;
9741 }
9742 }
9743 if (_argo1) {
9744 if (_argo1 == Py_None) { _arg1 = NULL; }
9745 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9746 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9747 return NULL;
9748 }
9749 }
9a74fcaf
RD
9750 if (_obj3)
9751{
9752 _arg3 = wxString_in_helper(_obj3);
9753 if (_arg3 == NULL)
9754 return NULL;
9755}
db34b2d4
RD
9756 if (_obj4)
9757{
9758 _arg4 = &temp;
9759 if (! wxPoint_helper(_obj4, &_arg4))
9760 return NULL;
9761}
9762 if (_obj5)
9763{
9764 _arg5 = &temp0;
9765 if (! wxSize_helper(_obj5, &_arg5))
9766 return NULL;
9a74fcaf
RD
9767}
9768 if (_obj7)
9769{
9770 _arg7 = wxString_in_helper(_obj7);
9771 if (_arg7 == NULL)
9772 return NULL;
9773}
9774 if (_obj9)
9775{
9776 _arg9 = wxString_in_helper(_obj9);
9777 if (_arg9 == NULL)
9778 return NULL;
db34b2d4
RD
9779}
9780{
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9782 _result = (bool )wxGenericDirCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8,*_arg9);
db34b2d4
RD
9783
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) return NULL;
9786} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
9787{
9788 if (_obj3)
9789 delete _arg3;
9790}
9791{
9792 if (_obj7)
9793 delete _arg7;
9794}
9795{
9796 if (_obj9)
9797 delete _arg9;
9798}
db34b2d4
RD
9799 return _resultobj;
9800}
9801
9802#define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
9803static PyObject *_wrap_wxGenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject * _resultobj;
9805 bool _result;
9806 wxGenericDirCtrl * _arg0;
9807 wxString * _arg1;
9808 PyObject * _argo0 = 0;
9809 PyObject * _obj1 = 0;
9810 char *_kwnames[] = { "self","path", NULL };
9811
9812 self = self;
9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_ExpandPath",_kwnames,&_argo0,&_obj1))
9814 return NULL;
9815 if (_argo0) {
9816 if (_argo0 == Py_None) { _arg0 = NULL; }
9817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
9819 return NULL;
9820 }
9821 }
9822{
c8bc7bb8
RD
9823 _arg1 = wxString_in_helper(_obj1);
9824 if (_arg1 == NULL)
db34b2d4 9825 return NULL;
db34b2d4
RD
9826}
9827{
9828 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9829 _result = (bool )wxGenericDirCtrl_ExpandPath(_arg0,*_arg1);
db34b2d4
RD
9830
9831 wxPyEndAllowThreads(__tstate);
9832 if (PyErr_Occurred()) return NULL;
9833} _resultobj = Py_BuildValue("i",_result);
9834{
9835 if (_obj1)
9836 delete _arg1;
9837}
9838 return _resultobj;
9839}
9840
9841#define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
9842static PyObject *_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject * _resultobj;
9844 wxString * _result;
9845 wxGenericDirCtrl * _arg0;
9846 PyObject * _argo0 = 0;
9847 char *_kwnames[] = { "self", NULL };
9848
9849 self = self;
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames,&_argo0))
9851 return NULL;
9852 if (_argo0) {
9853 if (_argo0 == Py_None) { _arg0 = NULL; }
9854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
9856 return NULL;
9857 }
9858 }
9859{
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9861 _result = new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0));
db34b2d4
RD
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) return NULL;
9865}{
c8bc7bb8
RD
9866#if wxUSE_UNICODE
9867 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9868#else
db34b2d4 9869 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9870#endif
db34b2d4
RD
9871}
9872{
9873 delete _result;
9874}
9875 return _resultobj;
9876}
9877
9878#define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
9879static PyObject *_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject * _resultobj;
9881 wxGenericDirCtrl * _arg0;
9882 wxString * _arg1;
9883 PyObject * _argo0 = 0;
9884 PyObject * _obj1 = 0;
9885 char *_kwnames[] = { "self","path", NULL };
9886
9887 self = self;
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames,&_argo0,&_obj1))
9889 return NULL;
9890 if (_argo0) {
9891 if (_argo0 == Py_None) { _arg0 = NULL; }
9892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
9894 return NULL;
9895 }
9896 }
9897{
c8bc7bb8
RD
9898 _arg1 = wxString_in_helper(_obj1);
9899 if (_arg1 == NULL)
db34b2d4 9900 return NULL;
db34b2d4
RD
9901}
9902{
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9904 wxGenericDirCtrl_SetDefaultPath(_arg0,*_arg1);
db34b2d4
RD
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) return NULL;
9908} Py_INCREF(Py_None);
9909 _resultobj = Py_None;
9910{
9911 if (_obj1)
9912 delete _arg1;
9913}
9914 return _resultobj;
9915}
9916
9917#define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
9918static PyObject *_wrap_wxGenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9919 PyObject * _resultobj;
9920 wxString * _result;
9921 wxGenericDirCtrl * _arg0;
9922 PyObject * _argo0 = 0;
9923 char *_kwnames[] = { "self", NULL };
9924
9925 self = self;
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetPath",_kwnames,&_argo0))
9927 return NULL;
9928 if (_argo0) {
9929 if (_argo0 == Py_None) { _arg0 = NULL; }
9930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
9932 return NULL;
9933 }
9934 }
9935{
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9937 _result = new wxString (wxGenericDirCtrl_GetPath(_arg0));
db34b2d4
RD
9938
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) return NULL;
9941}{
c8bc7bb8
RD
9942#if wxUSE_UNICODE
9943 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9944#else
db34b2d4 9945 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9946#endif
db34b2d4
RD
9947}
9948{
9949 delete _result;
9950}
9951 return _resultobj;
9952}
9953
9954#define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
9955static PyObject *_wrap_wxGenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
9956 PyObject * _resultobj;
9957 wxString * _result;
9958 wxGenericDirCtrl * _arg0;
9959 PyObject * _argo0 = 0;
9960 char *_kwnames[] = { "self", NULL };
9961
9962 self = self;
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilePath",_kwnames,&_argo0))
9964 return NULL;
9965 if (_argo0) {
9966 if (_argo0 == Py_None) { _arg0 = NULL; }
9967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
9969 return NULL;
9970 }
9971 }
9972{
9973 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9974 _result = new wxString (wxGenericDirCtrl_GetFilePath(_arg0));
db34b2d4
RD
9975
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) return NULL;
9978}{
c8bc7bb8
RD
9979#if wxUSE_UNICODE
9980 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9981#else
db34b2d4 9982 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9983#endif
db34b2d4
RD
9984}
9985{
9986 delete _result;
9987}
9988 return _resultobj;
9989}
9990
9991#define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
9992static PyObject *_wrap_wxGenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject * _resultobj;
9994 wxGenericDirCtrl * _arg0;
9995 wxString * _arg1;
9996 PyObject * _argo0 = 0;
9997 PyObject * _obj1 = 0;
9998 char *_kwnames[] = { "self","path", NULL };
9999
10000 self = self;
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetPath",_kwnames,&_argo0,&_obj1))
10002 return NULL;
10003 if (_argo0) {
10004 if (_argo0 == Py_None) { _arg0 = NULL; }
10005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10007 return NULL;
10008 }
10009 }
10010{
c8bc7bb8
RD
10011 _arg1 = wxString_in_helper(_obj1);
10012 if (_arg1 == NULL)
db34b2d4 10013 return NULL;
db34b2d4
RD
10014}
10015{
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10017 wxGenericDirCtrl_SetPath(_arg0,*_arg1);
db34b2d4
RD
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) return NULL;
10021} Py_INCREF(Py_None);
10022 _resultobj = Py_None;
10023{
10024 if (_obj1)
10025 delete _arg1;
10026}
10027 return _resultobj;
10028}
10029
10030#define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10031static PyObject *_wrap_wxGenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10032 PyObject * _resultobj;
10033 wxGenericDirCtrl * _arg0;
10034 bool _arg1;
10035 PyObject * _argo0 = 0;
10036 int tempbool1;
10037 char *_kwnames[] = { "self","show", NULL };
10038
10039 self = self;
10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames,&_argo0,&tempbool1))
10041 return NULL;
10042 if (_argo0) {
10043 if (_argo0 == Py_None) { _arg0 = NULL; }
10044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10046 return NULL;
10047 }
10048 }
10049 _arg1 = (bool ) tempbool1;
10050{
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10052 wxGenericDirCtrl_ShowHidden(_arg0,_arg1);
db34b2d4
RD
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) return NULL;
10056} Py_INCREF(Py_None);
10057 _resultobj = Py_None;
10058 return _resultobj;
10059}
10060
10061#define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10062static PyObject *_wrap_wxGenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10063 PyObject * _resultobj;
10064 bool _result;
10065 wxGenericDirCtrl * _arg0;
10066 PyObject * _argo0 = 0;
10067 char *_kwnames[] = { "self", NULL };
10068
10069 self = self;
10070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetShowHidden",_kwnames,&_argo0))
10071 return NULL;
10072 if (_argo0) {
10073 if (_argo0 == Py_None) { _arg0 = NULL; }
10074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10076 return NULL;
10077 }
10078 }
10079{
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10081 _result = (bool )wxGenericDirCtrl_GetShowHidden(_arg0);
db34b2d4
RD
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) return NULL;
10085} _resultobj = Py_BuildValue("i",_result);
10086 return _resultobj;
10087}
10088
10089#define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10090static PyObject *_wrap_wxGenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject * _resultobj;
10092 wxString * _result;
10093 wxGenericDirCtrl * _arg0;
10094 PyObject * _argo0 = 0;
10095 char *_kwnames[] = { "self", NULL };
10096
10097 self = self;
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilter",_kwnames,&_argo0))
10099 return NULL;
10100 if (_argo0) {
10101 if (_argo0 == Py_None) { _arg0 = NULL; }
10102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10104 return NULL;
10105 }
10106 }
10107{
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10109 _result = new wxString (wxGenericDirCtrl_GetFilter(_arg0));
db34b2d4
RD
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) return NULL;
10113}{
c8bc7bb8
RD
10114#if wxUSE_UNICODE
10115 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10116#else
db34b2d4 10117 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10118#endif
db34b2d4
RD
10119}
10120{
10121 delete _result;
10122}
10123 return _resultobj;
10124}
10125
10126#define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10127static PyObject *_wrap_wxGenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject * _resultobj;
10129 wxGenericDirCtrl * _arg0;
10130 wxString * _arg1;
10131 PyObject * _argo0 = 0;
10132 PyObject * _obj1 = 0;
10133 char *_kwnames[] = { "self","filter", NULL };
10134
10135 self = self;
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetFilter",_kwnames,&_argo0,&_obj1))
10137 return NULL;
10138 if (_argo0) {
10139 if (_argo0 == Py_None) { _arg0 = NULL; }
10140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10142 return NULL;
10143 }
10144 }
10145{
c8bc7bb8
RD
10146 _arg1 = wxString_in_helper(_obj1);
10147 if (_arg1 == NULL)
db34b2d4 10148 return NULL;
db34b2d4
RD
10149}
10150{
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10152 wxGenericDirCtrl_SetFilter(_arg0,*_arg1);
db34b2d4
RD
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) return NULL;
10156} Py_INCREF(Py_None);
10157 _resultobj = Py_None;
10158{
10159 if (_obj1)
10160 delete _arg1;
10161}
10162 return _resultobj;
10163}
10164
10165#define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10166static PyObject *_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10167 PyObject * _resultobj;
10168 int _result;
10169 wxGenericDirCtrl * _arg0;
10170 PyObject * _argo0 = 0;
10171 char *_kwnames[] = { "self", NULL };
10172
10173 self = self;
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames,&_argo0))
10175 return NULL;
10176 if (_argo0) {
10177 if (_argo0 == Py_None) { _arg0 = NULL; }
10178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10180 return NULL;
10181 }
10182 }
10183{
10184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10185 _result = (int )wxGenericDirCtrl_GetFilterIndex(_arg0);
db34b2d4
RD
10186
10187 wxPyEndAllowThreads(__tstate);
10188 if (PyErr_Occurred()) return NULL;
10189} _resultobj = Py_BuildValue("i",_result);
10190 return _resultobj;
10191}
10192
10193#define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10194static PyObject *_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10195 PyObject * _resultobj;
10196 wxGenericDirCtrl * _arg0;
10197 int _arg1;
10198 PyObject * _argo0 = 0;
10199 char *_kwnames[] = { "self","n", NULL };
10200
10201 self = self;
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames,&_argo0,&_arg1))
10203 return NULL;
10204 if (_argo0) {
10205 if (_argo0 == Py_None) { _arg0 = NULL; }
10206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10208 return NULL;
10209 }
10210 }
10211{
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10213 wxGenericDirCtrl_SetFilterIndex(_arg0,_arg1);
db34b2d4
RD
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) return NULL;
10217} Py_INCREF(Py_None);
10218 _resultobj = Py_None;
10219 return _resultobj;
10220}
10221
10222#define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10223static PyObject *_wrap_wxGenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
10224 PyObject * _resultobj;
10225 wxTreeItemId * _result;
10226 wxGenericDirCtrl * _arg0;
10227 PyObject * _argo0 = 0;
10228 char *_kwnames[] = { "self", NULL };
10229 char _ptemp[128];
10230
10231 self = self;
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetRootId",_kwnames,&_argo0))
10233 return NULL;
10234 if (_argo0) {
10235 if (_argo0 == Py_None) { _arg0 = NULL; }
10236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10238 return NULL;
10239 }
10240 }
10241{
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10243 _result = new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0));
db34b2d4
RD
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) return NULL;
10247} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
10248 _resultobj = Py_BuildValue("s",_ptemp);
10249 return _resultobj;
10250}
10251
10252#define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10253static PyObject *_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject * _resultobj;
10255 wxTreeCtrl * _result;
10256 wxGenericDirCtrl * _arg0;
10257 PyObject * _argo0 = 0;
10258 char *_kwnames[] = { "self", NULL };
db34b2d4
RD
10259
10260 self = self;
10261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames,&_argo0))
10262 return NULL;
10263 if (_argo0) {
10264 if (_argo0 == Py_None) { _arg0 = NULL; }
10265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10267 return NULL;
10268 }
10269 }
10270{
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10272 _result = (wxTreeCtrl *)wxGenericDirCtrl_GetTreeCtrl(_arg0);
db34b2d4
RD
10273
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) return NULL;
eb88b742 10276}{ _resultobj = wxPyMake_wxObject(_result); }
db34b2d4
RD
10277 return _resultobj;
10278}
10279
10280#define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10281static PyObject *_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10282 PyObject * _resultobj;
10283 wxDirFilterListCtrl * _result;
10284 wxGenericDirCtrl * _arg0;
10285 PyObject * _argo0 = 0;
10286 char *_kwnames[] = { "self", NULL };
10287 char _ptemp[128];
10288
10289 self = self;
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames,&_argo0))
10291 return NULL;
10292 if (_argo0) {
10293 if (_argo0 == Py_None) { _arg0 = NULL; }
10294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10296 return NULL;
10297 }
10298 }
10299{
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10301 _result = (wxDirFilterListCtrl *)wxGenericDirCtrl_GetFilterListCtrl(_arg0);
db34b2d4
RD
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) return NULL;
10305} if (_result) {
10306 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10307 _resultobj = Py_BuildValue("s",_ptemp);
10308 } else {
10309 Py_INCREF(Py_None);
10310 _resultobj = Py_None;
10311 }
10312 return _resultobj;
10313}
10314
10315static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr) {
10316 wxDirFilterListCtrl *src;
10317 wxChoice *dest;
10318 src = (wxDirFilterListCtrl *) ptr;
10319 dest = (wxChoice *) src;
10320 return (void *) dest;
10321}
10322
10323static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr) {
10324 wxDirFilterListCtrl *src;
10325 wxControlWithItems *dest;
10326 src = (wxDirFilterListCtrl *) ptr;
10327 dest = (wxControlWithItems *) src;
10328 return (void *) dest;
10329}
10330
10331static void *SwigwxDirFilterListCtrlTowxControl(void *ptr) {
10332 wxDirFilterListCtrl *src;
10333 wxControl *dest;
10334 src = (wxDirFilterListCtrl *) ptr;
10335 dest = (wxControl *) src;
10336 return (void *) dest;
10337}
10338
10339static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr) {
10340 wxDirFilterListCtrl *src;
10341 wxWindow *dest;
10342 src = (wxDirFilterListCtrl *) ptr;
10343 dest = (wxWindow *) src;
10344 return (void *) dest;
10345}
10346
10347static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr) {
10348 wxDirFilterListCtrl *src;
10349 wxEvtHandler *dest;
10350 src = (wxDirFilterListCtrl *) ptr;
10351 dest = (wxEvtHandler *) src;
10352 return (void *) dest;
10353}
10354
10355static void *SwigwxDirFilterListCtrlTowxObject(void *ptr) {
10356 wxDirFilterListCtrl *src;
10357 wxObject *dest;
10358 src = (wxDirFilterListCtrl *) ptr;
10359 dest = (wxObject *) src;
10360 return (void *) dest;
10361}
10362
10363#define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10364static PyObject *_wrap_new_wxDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10365 PyObject * _resultobj;
10366 wxDirFilterListCtrl * _result;
10367 wxGenericDirCtrl * _arg0;
10368 wxWindowID _arg1 = (wxWindowID ) -1;
10369 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
10370 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
10371 long _arg4 = (long ) 0;
10372 PyObject * _argo0 = 0;
10373 wxPoint temp;
10374 PyObject * _obj2 = 0;
10375 wxSize temp0;
10376 PyObject * _obj3 = 0;
10377 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
10378 char _ptemp[128];
10379
10380 self = self;
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxDirFilterListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
10382 return NULL;
10383 if (_argo0) {
10384 if (_argo0 == Py_None) { _arg0 = NULL; }
10385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10387 return NULL;
10388 }
10389 }
10390 if (_obj2)
10391{
10392 _arg2 = &temp;
10393 if (! wxPoint_helper(_obj2, &_arg2))
10394 return NULL;
10395}
10396 if (_obj3)
10397{
10398 _arg3 = &temp0;
10399 if (! wxSize_helper(_obj3, &_arg3))
10400 return NULL;
10401}
10402{
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10404 _result = (wxDirFilterListCtrl *)new_wxDirFilterListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
db34b2d4
RD
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) return NULL;
10408} if (_result) {
10409 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10410 _resultobj = Py_BuildValue("s",_ptemp);
10411 } else {
10412 Py_INCREF(Py_None);
10413 _resultobj = Py_None;
10414 }
10415 return _resultobj;
10416}
10417
10418#define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10419static PyObject *_wrap_new_wxPreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject * _resultobj;
10421 wxDirFilterListCtrl * _result;
10422 char *_kwnames[] = { NULL };
10423 char _ptemp[128];
10424
10425 self = self;
10426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDirFilterListCtrl",_kwnames))
10427 return NULL;
10428{
10429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10430 _result = (wxDirFilterListCtrl *)new_wxPreDirFilterListCtrl();
db34b2d4
RD
10431
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) return NULL;
10434} if (_result) {
10435 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10436 _resultobj = Py_BuildValue("s",_ptemp);
10437 } else {
10438 Py_INCREF(Py_None);
10439 _resultobj = Py_None;
10440 }
10441 return _resultobj;
10442}
10443
10444#define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10445static PyObject *_wrap_wxDirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject * _resultobj;
10447 bool _result;
10448 wxDirFilterListCtrl * _arg0;
10449 wxGenericDirCtrl * _arg1;
10450 wxWindowID _arg2 = (wxWindowID ) -1;
10451 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10452 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10453 long _arg5 = (long ) 0;
10454 PyObject * _argo0 = 0;
10455 PyObject * _argo1 = 0;
10456 wxPoint temp;
10457 PyObject * _obj3 = 0;
10458 wxSize temp0;
10459 PyObject * _obj4 = 0;
10460 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
10461
10462 self = self;
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
10464 return NULL;
10465 if (_argo0) {
10466 if (_argo0 == Py_None) { _arg0 = NULL; }
10467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10469 return NULL;
10470 }
10471 }
10472 if (_argo1) {
10473 if (_argo1 == Py_None) { _arg1 = NULL; }
10474 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGenericDirCtrl_p")) {
10475 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10476 return NULL;
10477 }
10478 }
10479 if (_obj3)
10480{
10481 _arg3 = &temp;
10482 if (! wxPoint_helper(_obj3, &_arg3))
10483 return NULL;
10484}
10485 if (_obj4)
10486{
10487 _arg4 = &temp0;
10488 if (! wxSize_helper(_obj4, &_arg4))
10489 return NULL;
10490}
10491{
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10493 _result = (bool )wxDirFilterListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
db34b2d4
RD
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) return NULL;
10497} _resultobj = Py_BuildValue("i",_result);
10498 return _resultobj;
10499}
10500
10501#define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10502static PyObject *_wrap_wxDirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
10503 PyObject * _resultobj;
10504 wxDirFilterListCtrl * _arg0;
10505 wxString * _arg1;
10506 int _arg2;
10507 PyObject * _argo0 = 0;
10508 PyObject * _obj1 = 0;
10509 char *_kwnames[] = { "self","filter","defaultFilter", NULL };
10510
10511 self = self;
10512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames,&_argo0,&_obj1,&_arg2))
10513 return NULL;
10514 if (_argo0) {
10515 if (_argo0 == Py_None) { _arg0 = NULL; }
10516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10518 return NULL;
10519 }
10520 }
10521{
c8bc7bb8
RD
10522 _arg1 = wxString_in_helper(_obj1);
10523 if (_arg1 == NULL)
db34b2d4 10524 return NULL;
db34b2d4
RD
10525}
10526{
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10528 wxDirFilterListCtrl_FillFilterList(_arg0,*_arg1,_arg2);
db34b2d4
RD
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) return NULL;
10532} Py_INCREF(Py_None);
10533 _resultobj = Py_None;
10534{
10535 if (_obj1)
10536 delete _arg1;
10537}
10538 return _resultobj;
10539}
10540
8ab979d7 10541static PyMethodDef controls2cMethods[] = {
db34b2d4
RD
10542 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_wxDirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
10543 { "wxDirFilterListCtrl_Create", (PyCFunction) _wrap_wxDirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10544 { "new_wxPreDirFilterListCtrl", (PyCFunction) _wrap_new_wxPreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10545 { "new_wxDirFilterListCtrl", (PyCFunction) _wrap_new_wxDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10546 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10547 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10548 { "wxGenericDirCtrl_GetRootId", (PyCFunction) _wrap_wxGenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
10549 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10550 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10551 { "wxGenericDirCtrl_SetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
10552 { "wxGenericDirCtrl_GetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
10553 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
10554 { "wxGenericDirCtrl_ShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
10555 { "wxGenericDirCtrl_SetPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
10556 { "wxGenericDirCtrl_GetFilePath", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
10557 { "wxGenericDirCtrl_GetPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
10558 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10559 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10560 { "wxGenericDirCtrl_ExpandPath", (PyCFunction) _wrap_wxGenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
10561 { "wxGenericDirCtrl_Create", (PyCFunction) _wrap_wxGenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10562 { "new_wxPreGenericDirCtrl", (PyCFunction) _wrap_new_wxPreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10563 { "new_wxGenericDirCtrl", (PyCFunction) _wrap_new_wxGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10564 { "wxDirItemData_m_isDir_get", (PyCFunction) _wrap_wxDirItemData_m_isDir_get, METH_VARARGS | METH_KEYWORDS },
10565 { "wxDirItemData_m_isDir_set", (PyCFunction) _wrap_wxDirItemData_m_isDir_set, METH_VARARGS | METH_KEYWORDS },
10566 { "wxDirItemData_m_isExpanded_get", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_get, METH_VARARGS | METH_KEYWORDS },
10567 { "wxDirItemData_m_isExpanded_set", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_set, METH_VARARGS | METH_KEYWORDS },
10568 { "wxDirItemData_m_isHidden_get", (PyCFunction) _wrap_wxDirItemData_m_isHidden_get, METH_VARARGS | METH_KEYWORDS },
10569 { "wxDirItemData_m_isHidden_set", (PyCFunction) _wrap_wxDirItemData_m_isHidden_set, METH_VARARGS | METH_KEYWORDS },
10570 { "wxDirItemData_m_name_get", (PyCFunction) _wrap_wxDirItemData_m_name_get, METH_VARARGS | METH_KEYWORDS },
10571 { "wxDirItemData_m_name_set", (PyCFunction) _wrap_wxDirItemData_m_name_set, METH_VARARGS | METH_KEYWORDS },
10572 { "wxDirItemData_m_path_get", (PyCFunction) _wrap_wxDirItemData_m_path_get, METH_VARARGS | METH_KEYWORDS },
10573 { "wxDirItemData_m_path_set", (PyCFunction) _wrap_wxDirItemData_m_path_set, METH_VARARGS | METH_KEYWORDS },
10574 { "wxDirItemData_SetNewDirName", (PyCFunction) _wrap_wxDirItemData_SetNewDirName, METH_VARARGS | METH_KEYWORDS },
10575 { "new_wxDirItemData", (PyCFunction) _wrap_new_wxDirItemData, METH_VARARGS | METH_KEYWORDS },
74bcba0e 10576 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b7e72427
RD
10577 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
10578 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10579 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10580 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
10581 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
10582 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 10583 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10584 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10585 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
10586 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10587 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
10588 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
10589 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
10590 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
10591 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
10592 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
10593 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
10594 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10595 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
10596 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
10597 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10598 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10599 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
10600 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
10601 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 10602 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10603 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
10604 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
10605 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
10606 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
10607 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
10608 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
10609 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10610 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 10611 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 10612 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10613 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10614 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
10615 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
10616 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
10617 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10618 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
10619 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
10620 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
10621 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10622 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10623 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10624 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10625 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10626 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10627 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10628 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
10629 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10630 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
10631 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10632 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
10633 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10634 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
10635 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10636 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
10637 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10638 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
10639 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
10640 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0220cbc1 10641 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10642 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10643 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10644 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10645 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10646 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
65191ae8 10647 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10648 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
10649 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
10650 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 10651 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10652 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
10653 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
10654 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
10655 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
10656 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10657 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10658 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
10659 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
10660 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10661 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
10662 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10663 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10664 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
10665 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10666 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
10667 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
10668 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10669 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10670 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
10671 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
10672 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
10673 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
10674 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
10675 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
10676 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
10677 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
10678 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
10679 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
10680 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
10681 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
dcd38683 10682 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
8381e4cd
RD
10683 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10684 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10685 { "wxListCtrl_GetItemTextColour", (PyCFunction) _wrap_wxListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
10686 { "wxListCtrl_SetItemTextColour", (PyCFunction) _wrap_wxListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224 10687 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
10688 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
10689 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
10690 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10691 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
10692 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
10693 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
10694 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 10695 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10696 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
10697 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
10698 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
10699 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10700 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
10701 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
10702 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
10703 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10704 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
10705 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
10706 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
10707 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
10708 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
10709 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
10710 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10711 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10712 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
10713 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
10714 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
10715 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
10716 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10717 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10718 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
10719 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
10720 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
10721 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
10722 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
10723 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
10724 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
10725 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10726 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10727 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10728 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
10729 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10730 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
10731 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
10732 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
10733 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
10734 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
10735 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
10736 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10737 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10738 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
10739 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
10740 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10741 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0220cbc1 10742 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10743 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10744 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 10745 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
10746 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
10747 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10748 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
10749 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
10750 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
10751 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
10752 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
10753 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10754 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10755 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10756 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
10757 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
efc5f224 10758 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 10759 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 10760 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 10761 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
6e8a778a 10762 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
efc5f224 10763 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
059a841c 10764 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10765 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
10766 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
10767 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
10768 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
10769 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
10770 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
10771 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
10772 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
10773 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
10774 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
10775 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
10776 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
10777 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
10778 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
10779 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
10780 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
10781 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
10782 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
10783 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
10784 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10785 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
10786 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10787 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10788 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
10789 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
10790 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
10791 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
10792 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
10793 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
10794 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
10795 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
10796 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
10797 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
10798 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
10799 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
10800 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10801 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10802 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
10803 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
10804 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
10805 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
10806 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
10807 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
10808 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
10809 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
10810 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
10811 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
10812 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
10813 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
10814 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
10815 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
10816 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
10817 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10818 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10819 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
10820 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10821 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
10822 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
10823 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10824 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10825 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
10826 { NULL, NULL }
10827};
1d99702e
RD
10828#ifdef __cplusplus
10829}
10830#endif
10831/*
10832 * This table is used by the pointer type-checker
10833 */
10834static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 10835 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 10836 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 10837 { "_signed_long","_long",0},
b1462dfa 10838 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
10839 { "_wxPrintQuality","_int",0},
10840 { "_wxPrintQuality","_signed_int",0},
10841 { "_wxPrintQuality","_unsigned_int",0},
10842 { "_wxPrintQuality","_wxWindowID",0},
10843 { "_wxPrintQuality","_uint",0},
10844 { "_wxPrintQuality","_EBool",0},
10845 { "_wxPrintQuality","_size_t",0},
c368d904 10846 { "_wxPrintQuality","_time_t",0},
1d99702e 10847 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 10848 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 10849 { "_byte","_unsigned_char",0},
db34b2d4 10850 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice},
1d99702e
RD
10851 { "_long","_unsigned_long",0},
10852 { "_long","_signed_long",0},
b1462dfa 10853 { "_size_t","_wxCoord",0},
1d99702e 10854 { "_size_t","_wxPrintQuality",0},
c368d904 10855 { "_size_t","_time_t",0},
1d99702e
RD
10856 { "_size_t","_unsigned_int",0},
10857 { "_size_t","_int",0},
10858 { "_size_t","_wxWindowID",0},
10859 { "_size_t","_uint",0},
b1462dfa 10860 { "_uint","_wxCoord",0},
1d99702e 10861 { "_uint","_wxPrintQuality",0},
c368d904 10862 { "_uint","_time_t",0},
1d99702e
RD
10863 { "_uint","_size_t",0},
10864 { "_uint","_unsigned_int",0},
10865 { "_uint","_int",0},
10866 { "_uint","_wxWindowID",0},
f6bcfd97 10867 { "_wxChar","_char",0},
1d99702e 10868 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 10869 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 10870 { "_char","_wxChar",0},
059a841c 10871 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 10872 { "_EBool","_wxCoord",0},
1d99702e
RD
10873 { "_EBool","_wxPrintQuality",0},
10874 { "_EBool","_signed_int",0},
10875 { "_EBool","_int",0},
10876 { "_EBool","_wxWindowID",0},
1d99702e 10877 { "_unsigned_long","_long",0},
059a841c 10878 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 10879 { "_signed_int","_wxCoord",0},
1d99702e
RD
10880 { "_signed_int","_wxPrintQuality",0},
10881 { "_signed_int","_EBool",0},
10882 { "_signed_int","_wxWindowID",0},
10883 { "_signed_int","_int",0},
1d99702e
RD
10884 { "_WXTYPE","_short",0},
10885 { "_WXTYPE","_signed_short",0},
10886 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
10887 { "_unsigned_short","_WXTYPE",0},
10888 { "_unsigned_short","_short",0},
db34b2d4
RD
10889 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject},
10890 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject},
10891 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject},
9df61a29 10892 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9df61a29 10893 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9df61a29 10894 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
059a841c 10895 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
cd096152 10896 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9df61a29 10897 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9df61a29 10898 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
10899 { "_signed_short","_WXTYPE",0},
10900 { "_signed_short","_short",0},
1d99702e 10901 { "_unsigned_char","_byte",0},
db34b2d4
RD
10902 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl},
10903 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl},
f6bcfd97 10904 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
059a841c 10905 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
cd096152 10906 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 10907 { "_unsigned_int","_wxCoord",0},
1d99702e 10908 { "_unsigned_int","_wxPrintQuality",0},
c368d904 10909 { "_unsigned_int","_time_t",0},
1d99702e
RD
10910 { "_unsigned_int","_size_t",0},
10911 { "_unsigned_int","_uint",0},
10912 { "_unsigned_int","_wxWindowID",0},
10913 { "_unsigned_int","_int",0},
1d99702e
RD
10914 { "_short","_WXTYPE",0},
10915 { "_short","_unsigned_short",0},
10916 { "_short","_signed_short",0},
db34b2d4 10917 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems},
b1462dfa 10918 { "_wxWindowID","_wxCoord",0},
1d99702e 10919 { "_wxWindowID","_wxPrintQuality",0},
c368d904 10920 { "_wxWindowID","_time_t",0},
1d99702e
RD
10921 { "_wxWindowID","_size_t",0},
10922 { "_wxWindowID","_EBool",0},
10923 { "_wxWindowID","_uint",0},
10924 { "_wxWindowID","_int",0},
10925 { "_wxWindowID","_signed_int",0},
10926 { "_wxWindowID","_unsigned_int",0},
b1462dfa 10927 { "_int","_wxCoord",0},
1d99702e 10928 { "_int","_wxPrintQuality",0},
c368d904 10929 { "_int","_time_t",0},
1d99702e
RD
10930 { "_int","_size_t",0},
10931 { "_int","_EBool",0},
10932 { "_int","_uint",0},
10933 { "_int","_wxWindowID",0},
10934 { "_int","_unsigned_int",0},
10935 { "_int","_signed_int",0},
c368d904
RD
10936 { "_time_t","_wxCoord",0},
10937 { "_time_t","_wxPrintQuality",0},
10938 { "_time_t","_unsigned_int",0},
10939 { "_time_t","_int",0},
10940 { "_time_t","_wxWindowID",0},
10941 { "_time_t","_uint",0},
10942 { "_time_t","_size_t",0},
b1462dfa
RD
10943 { "_wxCoord","_int",0},
10944 { "_wxCoord","_signed_int",0},
10945 { "_wxCoord","_unsigned_int",0},
10946 { "_wxCoord","_wxWindowID",0},
10947 { "_wxCoord","_uint",0},
10948 { "_wxCoord","_EBool",0},
10949 { "_wxCoord","_size_t",0},
c368d904 10950 { "_wxCoord","_time_t",0},
b1462dfa 10951 { "_wxCoord","_wxPrintQuality",0},
059a841c 10952 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
db34b2d4
RD
10953 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler},
10954 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler},
f6bcfd97 10955 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
059a841c 10956 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
cd096152 10957 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
db34b2d4
RD
10958 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow},
10959 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow},
f6bcfd97 10960 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
059a841c 10961 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
cd096152 10962 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
10963{0,0,0}};
10964
8ab979d7
RD
10965static PyObject *SWIG_globals;
10966#ifdef __cplusplus
10967extern "C"
10968#endif
1d99702e 10969SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
10970 PyObject *m, *d;
10971 SWIG_globals = SWIG_newvarlink();
10972 m = Py_InitModule("controls2c", controls2cMethods);
10973 d = PyModule_GetDict(m);
cd096152
RD
10974 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
10975 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
10976 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
10977 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
10978 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
10979 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
10980 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
10981 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
10982 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
10983 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
10984 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
10985 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
10986 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
10987 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
10988 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
10989 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
10990 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
059a841c
RD
10991 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
10992 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
10993 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
10994 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
262e41eb 10995 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED));
cd096152
RD
10996 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
10997 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
10998 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
10999 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
11000 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
11001 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
11002 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
11003 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
11004 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
11005 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
11006 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
11007 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
11008 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
11009 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
11010 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
11011 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
11012 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
11013 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
11014 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
059a841c 11015 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
cd096152 11016 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
11017 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
11018 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
11019 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
cd096152 11020 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
11021 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
11022 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
11023 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
11024 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
11025 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
11026 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
11027 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
11028 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
11029 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
11030 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
11031 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
11032 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
11033 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
11034 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
11035 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
11036 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
11037 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
11038 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
11039 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
11040 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
11041 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
11042 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
11043 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
11044 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
11045 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
11046 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
11047 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
11048 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
11049 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
11050 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
11051 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
11052 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
11053 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
11054 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
11055 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
11056 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
11057 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
11058 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
11059 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
aa2a5b86
RD
11060 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
11061 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
11062 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
11063 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
11064 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
1893b029 11065 PyDict_SetItemString(d,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS));
aa2a5b86
RD
11066 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
11067 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
11068 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
1893b029 11069 PyDict_SetItemString(d,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT));
aa2a5b86
RD
11070 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
11071 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
11072 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
11073 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
11074 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
11075 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
694759cf
RD
11076 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
11077 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
11078 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
11079 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
11080 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
11081 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
11082 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
11083 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
11084 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
11085 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
11086 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
11087 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
11088 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
11089 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
11090 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
11091 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
11092 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
11093 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
11094 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
9c4165ad
RD
11095 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
11096 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
11097 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
11098 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
11099 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
11100 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
11101 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
11102 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
11103 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
11104 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
11105 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
11106 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
11107 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
11108 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
11109 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
11110 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
11111 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
7a446686 11112 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
db34b2d4
RD
11113 PyDict_SetItemString(d,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY));
11114 PyDict_SetItemString(d,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST));
11115 PyDict_SetItemString(d,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS));
11116 PyDict_SetItemString(d,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL));
301dfd67 11117 PyDict_SetItemString(d,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS));
87439dd8
RD
11118 PyDict_SetItemString(d,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL));
11119 PyDict_SetItemString(d,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL));
9df61a29 11120
059a841c 11121 // Map renamed classes back to their common name for OOR
9df61a29
RD
11122 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11123 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
059a841c 11124 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
1d99702e
RD
11125{
11126 int i;
11127 for (i = 0; _swig_mapping[i].n1; i++)
11128 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11129}
8ab979d7 11130}