]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls2.cpp
htmlhelp.h no longer needed -> removed test in configure
[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}
93
7a446686
RD
94#if PYTHON_API_VERSION >= 1009
95 static char* wxStringErrorMsg = "String or Unicode type required";
96#else
0220cbc1 97 static char* wxStringErrorMsg = "String type required";
7a446686 98#endif
aa2a5b86 99 // C++ Version of a Python aware class
cd096152
RD
100class wxPyListCtrl : public wxListCtrl {
101 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
102public:
aa2a5b86 103 wxPyListCtrl() : wxListCtrl() {}
cd096152
RD
104 wxPyListCtrl(wxWindow* parent, wxWindowID id,
105 const wxPoint& pos,
106 const wxSize& size,
107 long style,
108 const wxValidator& validator,
109 char* name) :
110 wxListCtrl(parent, id, pos, size, style, validator, name) {}
111
aa2a5b86
RD
112 bool Create(wxWindow* parent, wxWindowID id,
113 const wxPoint& pos,
114 const wxSize& size,
115 long style,
116 const wxValidator& validator,
117 char* name) {
118 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
119 }
120
cd096152
RD
121 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
122 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
123 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
124
125 PYPRIVATE;
126};
127
128IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
129
130IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
131IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
132IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
059a841c 133 // Python aware sorting function for wxPyListCtrl
f6bcfd97 134 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
dcd38683
RD
135 int retval = 0;
136 PyObject* func = (PyObject*)funcPtr;
474c48f9 137 wxPyBeginBlockThreads();
dcd38683
RD
138
139 PyObject* args = Py_BuildValue("(ii)", item1, item2);
140 PyObject* result = PyEval_CallObject(func, args);
141 Py_DECREF(args);
142 if (result) {
143 retval = PyInt_AsLong(result);
144 Py_DECREF(result);
145 }
146
474c48f9 147 wxPyEndBlockThreads();
dcd38683
RD
148 return retval;
149 }
150
151
cf694132
RD
152class wxPyTreeItemData : public wxTreeItemData {
153public:
154 wxPyTreeItemData(PyObject* obj = NULL) {
c368d904 155 if (obj == NULL)
cf694132 156 obj = Py_None;
c368d904
RD
157 Py_INCREF(obj);
158 m_obj = obj;
cf694132
RD
159 }
160
161 ~wxPyTreeItemData() {
474c48f9 162 wxPyBeginBlockThreads();
c368d904 163 Py_DECREF(m_obj);
474c48f9 164 wxPyEndBlockThreads();
cf694132
RD
165 }
166
167 PyObject* GetData() {
168 Py_INCREF(m_obj);
169 return m_obj;
170 }
171
172 void SetData(PyObject* obj) {
474c48f9 173 wxPyBeginBlockThreads();
cf694132 174 Py_DECREF(m_obj);
474c48f9 175 wxPyEndBlockThreads();
cf694132
RD
176 m_obj = obj;
177 Py_INCREF(obj);
178 }
179
180 PyObject* m_obj;
181};
aa2a5b86 182 // C++ version of Python aware wxTreeCtrl
f6bcfd97 183class wxPyTreeCtrl : public wxTreeCtrl {
9df61a29 184 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
f6bcfd97 185public:
aa2a5b86 186 wxPyTreeCtrl() : wxTreeCtrl() {}
f6bcfd97
BP
187 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
188 const wxPoint& pos,
189 const wxSize& size,
190 long style,
191 const wxValidator& validator,
192 char* name) :
193 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
194
aa2a5b86
RD
195 bool Create(wxWindow *parent, wxWindowID id,
196 const wxPoint& pos,
197 const wxSize& size,
198 long style,
199 const wxValidator& validator,
200 char* name) {
201 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
202 }
203
204
f6bcfd97
BP
205 int OnCompareItems(const wxTreeItemId& item1,
206 const wxTreeItemId& item2) {
207 int rval = 0;
059a841c 208 bool found;
474c48f9 209 wxPyBeginBlockThreads();
059a841c 210 if ((found = m_myInst.findCallback("OnCompareItems")))
f6bcfd97
BP
211 rval = m_myInst.callCallback(Py_BuildValue(
212 "(OO)",
213 wxPyConstructObject((void*)&item1, "wxTreeItemId"),
214 wxPyConstructObject((void*)&item2, "wxTreeItemId")));
474c48f9 215 wxPyEndBlockThreads();
059a841c 216 if (! found)
f6bcfd97 217 rval = wxTreeCtrl::OnCompareItems(item1, item2);
f6bcfd97
BP
218 return rval;
219 }
220 PYPRIVATE;
221};
222
9df61a29
RD
223IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
224
1d99702e
RD
225#ifdef __cplusplus
226extern "C" {
227#endif
cd096152 228#define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
f6bcfd97
BP
229static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
230 PyObject * _resultobj;
231 wxListItemAttr * _result;
cd096152
RD
232 wxColour * _arg0 = (wxColour *) &wxNullColour;
233 wxColour * _arg1 = (wxColour *) &wxNullColour;
234 wxFont * _arg2 = (wxFont *) &wxNullFont;
235 wxColour temp;
236 PyObject * _obj0 = 0;
237 wxColour temp0;
238 PyObject * _obj1 = 0;
239 PyObject * _argo2 = 0;
240 char *_kwnames[] = { "colText","colBack","font", NULL };
f6bcfd97
BP
241 char _ptemp[128];
242
243 self = self;
cd096152
RD
244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxListItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
245 return NULL;
246 if (_obj0)
247{
248 _arg0 = &temp;
249 if (! wxColour_helper(_obj0, &_arg0))
250 return NULL;
251}
252 if (_obj1)
253{
254 _arg1 = &temp0;
255 if (! wxColour_helper(_obj1, &_arg1))
256 return NULL;
257}
258 if (_argo2) {
259 if (_argo2 == Py_None) { _arg2 = NULL; }
260 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
261 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
f6bcfd97 262 return NULL;
cd096152
RD
263 }
264 }
f6bcfd97 265{
474c48f9 266 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 267 _result = (wxListItemAttr *)new_wxListItemAttr(*_arg0,*_arg1,*_arg2);
f6bcfd97 268
474c48f9 269 wxPyEndAllowThreads(__tstate);
4dfaa61e 270 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
271} if (_result) {
272 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
273 _resultobj = Py_BuildValue("s",_ptemp);
274 } else {
275 Py_INCREF(Py_None);
276 _resultobj = Py_None;
277 }
278 return _resultobj;
279}
280
281#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
282static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
283 PyObject * _resultobj;
284 wxListItemAttr * _arg0;
285 wxColour * _arg1;
286 PyObject * _argo0 = 0;
287 wxColour temp;
288 PyObject * _obj1 = 0;
289 char *_kwnames[] = { "self","colText", NULL };
290
291 self = self;
292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
293 return NULL;
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
298 return NULL;
299 }
300 }
301{
302 _arg1 = &temp;
303 if (! wxColour_helper(_obj1, &_arg1))
304 return NULL;
305}
306{
474c48f9 307 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
308 wxListItemAttr_SetTextColour(_arg0,*_arg1);
309
474c48f9 310 wxPyEndAllowThreads(__tstate);
4dfaa61e 311 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
312} Py_INCREF(Py_None);
313 _resultobj = Py_None;
314 return _resultobj;
315}
316
317#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
318static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
319 PyObject * _resultobj;
320 wxListItemAttr * _arg0;
321 wxColour * _arg1;
322 PyObject * _argo0 = 0;
323 wxColour temp;
324 PyObject * _obj1 = 0;
325 char *_kwnames[] = { "self","colBack", NULL };
326
327 self = self;
328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
329 return NULL;
330 if (_argo0) {
331 if (_argo0 == Py_None) { _arg0 = NULL; }
332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
334 return NULL;
335 }
336 }
337{
338 _arg1 = &temp;
339 if (! wxColour_helper(_obj1, &_arg1))
340 return NULL;
341}
342{
474c48f9 343 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
344 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
345
474c48f9 346 wxPyEndAllowThreads(__tstate);
4dfaa61e 347 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
348} Py_INCREF(Py_None);
349 _resultobj = Py_None;
350 return _resultobj;
351}
352
353#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
354static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
355 PyObject * _resultobj;
356 wxListItemAttr * _arg0;
357 wxFont * _arg1;
358 PyObject * _argo0 = 0;
359 PyObject * _argo1 = 0;
360 char *_kwnames[] = { "self","font", NULL };
361
362 self = self;
363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
364 return NULL;
365 if (_argo0) {
366 if (_argo0 == Py_None) { _arg0 = NULL; }
367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
369 return NULL;
370 }
371 }
372 if (_argo1) {
373 if (_argo1 == Py_None) { _arg1 = NULL; }
374 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
375 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
376 return NULL;
377 }
378 }
379{
474c48f9 380 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
381 wxListItemAttr_SetFont(_arg0,*_arg1);
382
474c48f9 383 wxPyEndAllowThreads(__tstate);
4dfaa61e 384 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
385} Py_INCREF(Py_None);
386 _resultobj = Py_None;
387 return _resultobj;
388}
389
390#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
391static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
392 PyObject * _resultobj;
393 bool _result;
394 wxListItemAttr * _arg0;
395 PyObject * _argo0 = 0;
396 char *_kwnames[] = { "self", NULL };
397
398 self = self;
399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
400 return NULL;
401 if (_argo0) {
402 if (_argo0 == Py_None) { _arg0 = NULL; }
403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
405 return NULL;
406 }
407 }
408{
474c48f9 409 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
410 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
411
474c48f9 412 wxPyEndAllowThreads(__tstate);
4dfaa61e 413 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
414} _resultobj = Py_BuildValue("i",_result);
415 return _resultobj;
416}
417
418#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
419static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
420 PyObject * _resultobj;
421 bool _result;
422 wxListItemAttr * _arg0;
423 PyObject * _argo0 = 0;
424 char *_kwnames[] = { "self", NULL };
425
426 self = self;
427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
428 return NULL;
429 if (_argo0) {
430 if (_argo0 == Py_None) { _arg0 = NULL; }
431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
433 return NULL;
434 }
435 }
436{
474c48f9 437 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
438 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
439
474c48f9 440 wxPyEndAllowThreads(__tstate);
4dfaa61e 441 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
442} _resultobj = Py_BuildValue("i",_result);
443 return _resultobj;
444}
445
446#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
447static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
448 PyObject * _resultobj;
449 bool _result;
450 wxListItemAttr * _arg0;
451 PyObject * _argo0 = 0;
452 char *_kwnames[] = { "self", NULL };
453
454 self = self;
455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
456 return NULL;
457 if (_argo0) {
458 if (_argo0 == Py_None) { _arg0 = NULL; }
459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
461 return NULL;
462 }
463 }
464{
474c48f9 465 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
466 _result = (bool )wxListItemAttr_HasFont(_arg0);
467
474c48f9 468 wxPyEndAllowThreads(__tstate);
4dfaa61e 469 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
470} _resultobj = Py_BuildValue("i",_result);
471 return _resultobj;
472}
473
474#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
475static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
476 PyObject * _resultobj;
477 wxColour * _result;
478 wxListItemAttr * _arg0;
479 PyObject * _argo0 = 0;
480 char *_kwnames[] = { "self", NULL };
481 char _ptemp[128];
482
483 self = self;
484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
485 return NULL;
486 if (_argo0) {
487 if (_argo0 == Py_None) { _arg0 = NULL; }
488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
490 return NULL;
491 }
492 }
493{
474c48f9 494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3e212503 495 _result = new wxColour (wxListItemAttr_GetTextColour(_arg0));
f6bcfd97 496
474c48f9 497 wxPyEndAllowThreads(__tstate);
4dfaa61e 498 if (PyErr_Occurred()) return NULL;
3e212503
RD
499} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
500 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
501 return _resultobj;
502}
503
504#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
505static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
506 PyObject * _resultobj;
507 wxColour * _result;
508 wxListItemAttr * _arg0;
509 PyObject * _argo0 = 0;
510 char *_kwnames[] = { "self", NULL };
511 char _ptemp[128];
512
513 self = self;
514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
515 return NULL;
516 if (_argo0) {
517 if (_argo0 == Py_None) { _arg0 = NULL; }
518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
520 return NULL;
521 }
522 }
523{
474c48f9 524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3e212503 525 _result = new wxColour (wxListItemAttr_GetBackgroundColour(_arg0));
f6bcfd97 526
474c48f9 527 wxPyEndAllowThreads(__tstate);
4dfaa61e 528 if (PyErr_Occurred()) return NULL;
3e212503
RD
529} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
530 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
531 return _resultobj;
532}
533
534#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
535static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
536 PyObject * _resultobj;
537 wxFont * _result;
538 wxListItemAttr * _arg0;
539 PyObject * _argo0 = 0;
540 char *_kwnames[] = { "self", NULL };
541 char _ptemp[128];
542
543 self = self;
544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
545 return NULL;
546 if (_argo0) {
547 if (_argo0 == Py_None) { _arg0 = NULL; }
548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
550 return NULL;
551 }
552 }
553{
474c48f9 554 PyThreadState* __tstate = wxPyBeginAllowThreads();
3e212503 555 _result = new wxFont (wxListItemAttr_GetFont(_arg0));
f6bcfd97 556
474c48f9 557 wxPyEndAllowThreads(__tstate);
4dfaa61e 558 if (PyErr_Occurred()) return NULL;
3e212503
RD
559} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
560 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
561 return _resultobj;
562}
563
9df61a29
RD
564static void *SwigwxListItemTowxObject(void *ptr) {
565 wxListItem *src;
566 wxObject *dest;
567 src = (wxListItem *) ptr;
568 dest = (wxObject *) src;
569 return (void *) dest;
570}
571
f6bcfd97
BP
572#define new_wxListItem() (new wxListItem())
573static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
574 PyObject * _resultobj;
575 wxListItem * _result;
576 char *_kwnames[] = { NULL };
577 char _ptemp[128];
578
579 self = self;
580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
581 return NULL;
582{
474c48f9 583 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
584 _result = (wxListItem *)new_wxListItem();
585
474c48f9 586 wxPyEndAllowThreads(__tstate);
4dfaa61e 587 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
588} if (_result) {
589 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
590 _resultobj = Py_BuildValue("s",_ptemp);
591 } else {
592 Py_INCREF(Py_None);
593 _resultobj = Py_None;
594 }
595 return _resultobj;
596}
597
598#define delete_wxListItem(_swigobj) (delete _swigobj)
599static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
600 PyObject * _resultobj;
601 wxListItem * _arg0;
602 PyObject * _argo0 = 0;
603 char *_kwnames[] = { "self", NULL };
604
605 self = self;
606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
607 return NULL;
608 if (_argo0) {
609 if (_argo0 == Py_None) { _arg0 = NULL; }
610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
612 return NULL;
613 }
614 }
615{
474c48f9 616 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
617 delete_wxListItem(_arg0);
618
474c48f9 619 wxPyEndAllowThreads(__tstate);
4dfaa61e 620 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
621} Py_INCREF(Py_None);
622 _resultobj = Py_None;
623 return _resultobj;
624}
625
626#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
627static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
628 PyObject * _resultobj;
629 wxListItem * _arg0;
630 PyObject * _argo0 = 0;
631 char *_kwnames[] = { "self", NULL };
632
633 self = self;
634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
635 return NULL;
636 if (_argo0) {
637 if (_argo0 == Py_None) { _arg0 = NULL; }
638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
640 return NULL;
641 }
642 }
643{
474c48f9 644 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
645 wxListItem_Clear(_arg0);
646
474c48f9 647 wxPyEndAllowThreads(__tstate);
4dfaa61e 648 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
649} Py_INCREF(Py_None);
650 _resultobj = Py_None;
651 return _resultobj;
652}
653
654#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
655static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
656 PyObject * _resultobj;
657 wxListItem * _arg0;
658 PyObject * _argo0 = 0;
659 char *_kwnames[] = { "self", NULL };
660
661 self = self;
662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
663 return NULL;
664 if (_argo0) {
665 if (_argo0 == Py_None) { _arg0 = NULL; }
666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
668 return NULL;
669 }
670 }
671{
474c48f9 672 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
673 wxListItem_ClearAttributes(_arg0);
674
474c48f9 675 wxPyEndAllowThreads(__tstate);
4dfaa61e 676 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
677} Py_INCREF(Py_None);
678 _resultobj = Py_None;
679 return _resultobj;
680}
681
682#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
683static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
684 PyObject * _resultobj;
685 wxListItem * _arg0;
686 long _arg1;
687 PyObject * _argo0 = 0;
688 char *_kwnames[] = { "self","mask", NULL };
689
690 self = self;
691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
692 return NULL;
693 if (_argo0) {
694 if (_argo0 == Py_None) { _arg0 = NULL; }
695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
697 return NULL;
698 }
699 }
700{
474c48f9 701 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
702 wxListItem_SetMask(_arg0,_arg1);
703
474c48f9 704 wxPyEndAllowThreads(__tstate);
4dfaa61e 705 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
706} Py_INCREF(Py_None);
707 _resultobj = Py_None;
708 return _resultobj;
709}
710
711#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
712static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
713 PyObject * _resultobj;
714 wxListItem * _arg0;
715 long _arg1;
716 PyObject * _argo0 = 0;
717 char *_kwnames[] = { "self","id", NULL };
718
719 self = self;
720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
721 return NULL;
722 if (_argo0) {
723 if (_argo0 == Py_None) { _arg0 = NULL; }
724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
726 return NULL;
727 }
728 }
729{
474c48f9 730 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
731 wxListItem_SetId(_arg0,_arg1);
732
474c48f9 733 wxPyEndAllowThreads(__tstate);
4dfaa61e 734 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
735} Py_INCREF(Py_None);
736 _resultobj = Py_None;
737 return _resultobj;
738}
739
740#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
741static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
742 PyObject * _resultobj;
743 wxListItem * _arg0;
744 int _arg1;
745 PyObject * _argo0 = 0;
746 char *_kwnames[] = { "self","col", NULL };
747
748 self = self;
749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
750 return NULL;
751 if (_argo0) {
752 if (_argo0 == Py_None) { _arg0 = NULL; }
753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
755 return NULL;
756 }
757 }
758{
474c48f9 759 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
760 wxListItem_SetColumn(_arg0,_arg1);
761
474c48f9 762 wxPyEndAllowThreads(__tstate);
4dfaa61e 763 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
764} Py_INCREF(Py_None);
765 _resultobj = Py_None;
766 return _resultobj;
767}
768
769#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
770static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
771 PyObject * _resultobj;
772 wxListItem * _arg0;
773 long _arg1;
774 PyObject * _argo0 = 0;
775 char *_kwnames[] = { "self","state", NULL };
776
777 self = self;
778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
779 return NULL;
780 if (_argo0) {
781 if (_argo0 == Py_None) { _arg0 = NULL; }
782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
784 return NULL;
785 }
786 }
787{
474c48f9 788 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
789 wxListItem_SetState(_arg0,_arg1);
790
474c48f9 791 wxPyEndAllowThreads(__tstate);
4dfaa61e 792 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
793} Py_INCREF(Py_None);
794 _resultobj = Py_None;
795 return _resultobj;
796}
797
798#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
799static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
800 PyObject * _resultobj;
801 wxListItem * _arg0;
802 long _arg1;
803 PyObject * _argo0 = 0;
804 char *_kwnames[] = { "self","stateMask", NULL };
805
806 self = self;
807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
808 return NULL;
809 if (_argo0) {
810 if (_argo0 == Py_None) { _arg0 = NULL; }
811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
813 return NULL;
814 }
815 }
816{
474c48f9 817 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
818 wxListItem_SetStateMask(_arg0,_arg1);
819
474c48f9 820 wxPyEndAllowThreads(__tstate);
4dfaa61e 821 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
822} Py_INCREF(Py_None);
823 _resultobj = Py_None;
824 return _resultobj;
825}
826
827#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
828static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
829 PyObject * _resultobj;
830 wxListItem * _arg0;
831 wxString * _arg1;
832 PyObject * _argo0 = 0;
833 PyObject * _obj1 = 0;
834 char *_kwnames[] = { "self","text", NULL };
835
836 self = self;
837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
838 return NULL;
839 if (_argo0) {
840 if (_argo0 == Py_None) { _arg0 = NULL; }
841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
843 return NULL;
844 }
845 }
846{
2cd2fac8
RD
847#if PYTHON_API_VERSION >= 1009
848 char* tmpPtr; int tmpSize;
849 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 850 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
851 return NULL;
852 }
853 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
854 return NULL;
855 _arg1 = new wxString(tmpPtr, tmpSize);
856#else
f6bcfd97
BP
857 if (!PyString_Check(_obj1)) {
858 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
859 return NULL;
860 }
2cd2fac8
RD
861 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
862#endif
f6bcfd97
BP
863}
864{
474c48f9 865 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
866 wxListItem_SetText(_arg0,*_arg1);
867
474c48f9 868 wxPyEndAllowThreads(__tstate);
4dfaa61e 869 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
870} Py_INCREF(Py_None);
871 _resultobj = Py_None;
872{
873 if (_obj1)
874 delete _arg1;
875}
876 return _resultobj;
877}
878
879#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
880static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
881 PyObject * _resultobj;
882 wxListItem * _arg0;
883 int _arg1;
884 PyObject * _argo0 = 0;
885 char *_kwnames[] = { "self","image", NULL };
886
887 self = self;
888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
889 return NULL;
890 if (_argo0) {
891 if (_argo0 == Py_None) { _arg0 = NULL; }
892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
894 return NULL;
895 }
896 }
897{
474c48f9 898 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
899 wxListItem_SetImage(_arg0,_arg1);
900
474c48f9 901 wxPyEndAllowThreads(__tstate);
4dfaa61e 902 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
903} Py_INCREF(Py_None);
904 _resultobj = Py_None;
905 return _resultobj;
906}
907
908#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
909static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
910 PyObject * _resultobj;
911 wxListItem * _arg0;
912 long _arg1;
913 PyObject * _argo0 = 0;
914 char *_kwnames[] = { "self","data", NULL };
915
916 self = self;
917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
918 return NULL;
919 if (_argo0) {
920 if (_argo0 == Py_None) { _arg0 = NULL; }
921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
923 return NULL;
924 }
925 }
926{
474c48f9 927 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
928 wxListItem_SetData(_arg0,_arg1);
929
474c48f9 930 wxPyEndAllowThreads(__tstate);
4dfaa61e 931 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
932} Py_INCREF(Py_None);
933 _resultobj = Py_None;
934 return _resultobj;
935}
936
937#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
938static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
939 PyObject * _resultobj;
940 wxListItem * _arg0;
941 int _arg1;
942 PyObject * _argo0 = 0;
943 char *_kwnames[] = { "self","width", NULL };
944
945 self = self;
946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
947 return NULL;
948 if (_argo0) {
949 if (_argo0 == Py_None) { _arg0 = NULL; }
950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
952 return NULL;
953 }
954 }
955{
474c48f9 956 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
957 wxListItem_SetWidth(_arg0,_arg1);
958
474c48f9 959 wxPyEndAllowThreads(__tstate);
4dfaa61e 960 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
961} Py_INCREF(Py_None);
962 _resultobj = Py_None;
963 return _resultobj;
964}
965
966#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
967static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
968 PyObject * _resultobj;
969 wxListItem * _arg0;
970 wxListColumnFormat _arg1;
971 PyObject * _argo0 = 0;
972 char *_kwnames[] = { "self","align", NULL };
973
974 self = self;
975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
976 return NULL;
977 if (_argo0) {
978 if (_argo0 == Py_None) { _arg0 = NULL; }
979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
981 return NULL;
982 }
983 }
984{
474c48f9 985 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
986 wxListItem_SetAlign(_arg0,_arg1);
987
474c48f9 988 wxPyEndAllowThreads(__tstate);
4dfaa61e 989 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
990} Py_INCREF(Py_None);
991 _resultobj = Py_None;
992 return _resultobj;
993}
994
995#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
996static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
997 PyObject * _resultobj;
998 wxListItem * _arg0;
999 wxColour * _arg1;
1000 PyObject * _argo0 = 0;
1001 wxColour temp;
1002 PyObject * _obj1 = 0;
1003 char *_kwnames[] = { "self","colText", NULL };
1004
1005 self = self;
1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
1007 return NULL;
1008 if (_argo0) {
1009 if (_argo0 == Py_None) { _arg0 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1012 return NULL;
1013 }
1014 }
1015{
1016 _arg1 = &temp;
1017 if (! wxColour_helper(_obj1, &_arg1))
1018 return NULL;
1019}
1020{
474c48f9 1021 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1022 wxListItem_SetTextColour(_arg0,*_arg1);
1023
474c48f9 1024 wxPyEndAllowThreads(__tstate);
4dfaa61e 1025 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1026} Py_INCREF(Py_None);
1027 _resultobj = Py_None;
1028 return _resultobj;
1029}
1030
1031#define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1032static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1033 PyObject * _resultobj;
1034 wxListItem * _arg0;
1035 wxColour * _arg1;
1036 PyObject * _argo0 = 0;
1037 wxColour temp;
1038 PyObject * _obj1 = 0;
1039 char *_kwnames[] = { "self","colBack", NULL };
1040
1041 self = self;
1042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1043 return NULL;
1044 if (_argo0) {
1045 if (_argo0 == Py_None) { _arg0 = NULL; }
1046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1048 return NULL;
1049 }
1050 }
1051{
1052 _arg1 = &temp;
1053 if (! wxColour_helper(_obj1, &_arg1))
1054 return NULL;
1055}
1056{
474c48f9 1057 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1058 wxListItem_SetBackgroundColour(_arg0,*_arg1);
1059
474c48f9 1060 wxPyEndAllowThreads(__tstate);
4dfaa61e 1061 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1062} Py_INCREF(Py_None);
1063 _resultobj = Py_None;
1064 return _resultobj;
1065}
1066
1067#define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1068static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1069 PyObject * _resultobj;
1070 wxListItem * _arg0;
1071 wxFont * _arg1;
1072 PyObject * _argo0 = 0;
1073 PyObject * _argo1 = 0;
1074 char *_kwnames[] = { "self","font", NULL };
1075
1076 self = self;
1077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1078 return NULL;
1079 if (_argo0) {
1080 if (_argo0 == Py_None) { _arg0 = NULL; }
1081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1083 return NULL;
1084 }
1085 }
1086 if (_argo1) {
1087 if (_argo1 == Py_None) { _arg1 = NULL; }
1088 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1089 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1090 return NULL;
1091 }
1092 }
1093{
474c48f9 1094 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1095 wxListItem_SetFont(_arg0,*_arg1);
1096
474c48f9 1097 wxPyEndAllowThreads(__tstate);
4dfaa61e 1098 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1099} Py_INCREF(Py_None);
1100 _resultobj = Py_None;
1101 return _resultobj;
1102}
1103
1104#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1105static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1106 PyObject * _resultobj;
1107 long _result;
1108 wxListItem * _arg0;
1109 PyObject * _argo0 = 0;
1110 char *_kwnames[] = { "self", NULL };
1111
1112 self = self;
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1114 return NULL;
1115 if (_argo0) {
1116 if (_argo0 == Py_None) { _arg0 = NULL; }
1117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1119 return NULL;
1120 }
1121 }
1122{
474c48f9 1123 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1124 _result = (long )wxListItem_GetMask(_arg0);
1125
474c48f9 1126 wxPyEndAllowThreads(__tstate);
4dfaa61e 1127 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1128} _resultobj = Py_BuildValue("l",_result);
1129 return _resultobj;
1130}
1131
1132#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1133static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject * _resultobj;
1135 long _result;
1136 wxListItem * _arg0;
1137 PyObject * _argo0 = 0;
1138 char *_kwnames[] = { "self", NULL };
1139
1140 self = self;
1141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1142 return NULL;
1143 if (_argo0) {
1144 if (_argo0 == Py_None) { _arg0 = NULL; }
1145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1147 return NULL;
1148 }
1149 }
1150{
474c48f9 1151 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1152 _result = (long )wxListItem_GetId(_arg0);
1153
474c48f9 1154 wxPyEndAllowThreads(__tstate);
4dfaa61e 1155 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1156} _resultobj = Py_BuildValue("l",_result);
1157 return _resultobj;
1158}
1159
1160#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1161static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1162 PyObject * _resultobj;
1163 int _result;
1164 wxListItem * _arg0;
1165 PyObject * _argo0 = 0;
1166 char *_kwnames[] = { "self", NULL };
1167
1168 self = self;
1169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1170 return NULL;
1171 if (_argo0) {
1172 if (_argo0 == Py_None) { _arg0 = NULL; }
1173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1175 return NULL;
1176 }
1177 }
1178{
474c48f9 1179 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1180 _result = (int )wxListItem_GetColumn(_arg0);
1181
474c48f9 1182 wxPyEndAllowThreads(__tstate);
4dfaa61e 1183 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1184} _resultobj = Py_BuildValue("i",_result);
1185 return _resultobj;
1186}
1187
1188#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1189static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1190 PyObject * _resultobj;
1191 long _result;
1192 wxListItem * _arg0;
1193 PyObject * _argo0 = 0;
1194 char *_kwnames[] = { "self", NULL };
1195
1196 self = self;
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1198 return NULL;
1199 if (_argo0) {
1200 if (_argo0 == Py_None) { _arg0 = NULL; }
1201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1203 return NULL;
1204 }
1205 }
1206{
474c48f9 1207 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1208 _result = (long )wxListItem_GetState(_arg0);
1209
474c48f9 1210 wxPyEndAllowThreads(__tstate);
4dfaa61e 1211 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1212} _resultobj = Py_BuildValue("l",_result);
1213 return _resultobj;
1214}
1215
1216#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1217static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1218 PyObject * _resultobj;
1219 wxString * _result;
1220 wxListItem * _arg0;
1221 PyObject * _argo0 = 0;
1222 char *_kwnames[] = { "self", NULL };
1223
1224 self = self;
1225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1226 return NULL;
1227 if (_argo0) {
1228 if (_argo0 == Py_None) { _arg0 = NULL; }
1229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1231 return NULL;
1232 }
1233 }
1234{
474c48f9 1235 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1236 const wxString & _result_ref = wxListItem_GetText(_arg0);
1237 _result = (wxString *) &_result_ref;
1238
474c48f9 1239 wxPyEndAllowThreads(__tstate);
4dfaa61e 1240 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1241}{
1242 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1243}
1244 return _resultobj;
1245}
1246
1247#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1248static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1249 PyObject * _resultobj;
1250 int _result;
1251 wxListItem * _arg0;
1252 PyObject * _argo0 = 0;
1253 char *_kwnames[] = { "self", NULL };
1254
1255 self = self;
1256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1257 return NULL;
1258 if (_argo0) {
1259 if (_argo0 == Py_None) { _arg0 = NULL; }
1260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1262 return NULL;
1263 }
1264 }
1265{
474c48f9 1266 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1267 _result = (int )wxListItem_GetImage(_arg0);
1268
474c48f9 1269 wxPyEndAllowThreads(__tstate);
4dfaa61e 1270 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1271} _resultobj = Py_BuildValue("i",_result);
1272 return _resultobj;
1273}
1274
1275#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1276static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1277 PyObject * _resultobj;
1278 long _result;
1279 wxListItem * _arg0;
1280 PyObject * _argo0 = 0;
1281 char *_kwnames[] = { "self", NULL };
1282
1283 self = self;
1284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1285 return NULL;
1286 if (_argo0) {
1287 if (_argo0 == Py_None) { _arg0 = NULL; }
1288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1290 return NULL;
1291 }
1292 }
1293{
474c48f9 1294 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1295 _result = (long )wxListItem_GetData(_arg0);
1296
474c48f9 1297 wxPyEndAllowThreads(__tstate);
4dfaa61e 1298 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1299} _resultobj = Py_BuildValue("l",_result);
1300 return _resultobj;
1301}
1302
1303#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1304static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject * _resultobj;
1306 int _result;
1307 wxListItem * _arg0;
1308 PyObject * _argo0 = 0;
1309 char *_kwnames[] = { "self", NULL };
1310
1311 self = self;
1312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1313 return NULL;
1314 if (_argo0) {
1315 if (_argo0 == Py_None) { _arg0 = NULL; }
1316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1318 return NULL;
1319 }
1320 }
1321{
474c48f9 1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1323 _result = (int )wxListItem_GetWidth(_arg0);
1324
474c48f9 1325 wxPyEndAllowThreads(__tstate);
4dfaa61e 1326 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1327} _resultobj = Py_BuildValue("i",_result);
1328 return _resultobj;
1329}
1330
1331#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1332static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject * _resultobj;
1334 wxListColumnFormat _result;
1335 wxListItem * _arg0;
1336 PyObject * _argo0 = 0;
1337 char *_kwnames[] = { "self", NULL };
1338
1339 self = self;
1340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1341 return NULL;
1342 if (_argo0) {
1343 if (_argo0 == Py_None) { _arg0 = NULL; }
1344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1346 return NULL;
1347 }
1348 }
1349{
474c48f9 1350 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1351 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
1352
474c48f9 1353 wxPyEndAllowThreads(__tstate);
4dfaa61e 1354 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1355} _resultobj = Py_BuildValue("i",_result);
1356 return _resultobj;
1357}
1358
1359#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1360static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1361 PyObject * _resultobj;
1362 wxListItemAttr * _result;
1363 wxListItem * _arg0;
1364 PyObject * _argo0 = 0;
1365 char *_kwnames[] = { "self", NULL };
1366 char _ptemp[128];
1367
1368 self = self;
1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1370 return NULL;
1371 if (_argo0) {
1372 if (_argo0 == Py_None) { _arg0 = NULL; }
1373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1375 return NULL;
1376 }
1377 }
1378{
474c48f9 1379 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1380 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
1381
474c48f9 1382 wxPyEndAllowThreads(__tstate);
4dfaa61e 1383 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1384} if (_result) {
1385 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1386 _resultobj = Py_BuildValue("s",_ptemp);
1387 } else {
1388 Py_INCREF(Py_None);
1389 _resultobj = Py_None;
1390 }
1391 return _resultobj;
1392}
1393
1394#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1395static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1396 PyObject * _resultobj;
1397 bool _result;
1398 wxListItem * _arg0;
1399 PyObject * _argo0 = 0;
1400 char *_kwnames[] = { "self", NULL };
1401
1402 self = self;
1403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1404 return NULL;
1405 if (_argo0) {
1406 if (_argo0 == Py_None) { _arg0 = NULL; }
1407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1409 return NULL;
1410 }
1411 }
1412{
474c48f9 1413 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1414 _result = (bool )wxListItem_HasAttributes(_arg0);
1415
474c48f9 1416 wxPyEndAllowThreads(__tstate);
4dfaa61e 1417 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1418} _resultobj = Py_BuildValue("i",_result);
1419 return _resultobj;
1420}
1421
1422#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1423static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1424 PyObject * _resultobj;
1425 wxColour * _result;
1426 wxListItem * _arg0;
1427 PyObject * _argo0 = 0;
1428 char *_kwnames[] = { "self", NULL };
1429 char _ptemp[128];
1430
1431 self = self;
1432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1433 return NULL;
1434 if (_argo0) {
1435 if (_argo0 == Py_None) { _arg0 = NULL; }
1436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1438 return NULL;
1439 }
1440 }
1441{
474c48f9 1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1443 _result = new wxColour (wxListItem_GetTextColour(_arg0));
1444
474c48f9 1445 wxPyEndAllowThreads(__tstate);
4dfaa61e 1446 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1447} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1448 _resultobj = Py_BuildValue("s",_ptemp);
1449 return _resultobj;
1450}
1451
1452#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1453static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject * _resultobj;
1455 wxColour * _result;
1456 wxListItem * _arg0;
1457 PyObject * _argo0 = 0;
1458 char *_kwnames[] = { "self", NULL };
1459 char _ptemp[128];
1460
1461 self = self;
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1463 return NULL;
1464 if (_argo0) {
1465 if (_argo0 == Py_None) { _arg0 = NULL; }
1466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1468 return NULL;
1469 }
1470 }
1471{
474c48f9 1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1473 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
1474
474c48f9 1475 wxPyEndAllowThreads(__tstate);
4dfaa61e 1476 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1477} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1478 _resultobj = Py_BuildValue("s",_ptemp);
1479 return _resultobj;
1480}
1481
1482#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1483static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1484 PyObject * _resultobj;
1485 wxFont * _result;
1486 wxListItem * _arg0;
1487 PyObject * _argo0 = 0;
1488 char *_kwnames[] = { "self", NULL };
1489 char _ptemp[128];
1490
1491 self = self;
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1493 return NULL;
1494 if (_argo0) {
1495 if (_argo0 == Py_None) { _arg0 = NULL; }
1496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1498 return NULL;
1499 }
1500 }
1501{
474c48f9 1502 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1503 _result = new wxFont (wxListItem_GetFont(_arg0));
1504
474c48f9 1505 wxPyEndAllowThreads(__tstate);
4dfaa61e 1506 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1507} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1508 _resultobj = Py_BuildValue("s",_ptemp);
1509 return _resultobj;
1510}
1511
1512#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1513static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1514 PyObject * _resultobj;
1515 long _result;
1516 wxListItem * _arg0;
1517 long _arg1;
1518 PyObject * _argo0 = 0;
1519 char *_kwnames[] = { "self","m_mask", NULL };
1520
1521 self = self;
1522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1523 return NULL;
1524 if (_argo0) {
1525 if (_argo0 == Py_None) { _arg0 = NULL; }
1526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1528 return NULL;
1529 }
1530 }
1531{
474c48f9 1532 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1533 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
1534
474c48f9 1535 wxPyEndAllowThreads(__tstate);
4dfaa61e 1536 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1537} _resultobj = Py_BuildValue("l",_result);
1538 return _resultobj;
1539}
1540
1541#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1542static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1543 PyObject * _resultobj;
1544 long _result;
1545 wxListItem * _arg0;
1546 PyObject * _argo0 = 0;
1547 char *_kwnames[] = { "self", NULL };
1548
1549 self = self;
1550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1551 return NULL;
1552 if (_argo0) {
1553 if (_argo0 == Py_None) { _arg0 = NULL; }
1554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1556 return NULL;
1557 }
1558 }
1559{
474c48f9 1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1561 _result = (long )wxListItem_m_mask_get(_arg0);
1562
474c48f9 1563 wxPyEndAllowThreads(__tstate);
4dfaa61e 1564 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1565} _resultobj = Py_BuildValue("l",_result);
1566 return _resultobj;
1567}
1568
1569#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1570static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1571 PyObject * _resultobj;
1572 long _result;
1573 wxListItem * _arg0;
1574 long _arg1;
1d99702e 1575 PyObject * _argo0 = 0;
f6bcfd97 1576 char *_kwnames[] = { "self","m_itemId", NULL };
af309447
RD
1577
1578 self = self;
f6bcfd97 1579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
af309447 1580 return NULL;
1d99702e
RD
1581 if (_argo0) {
1582 if (_argo0 == Py_None) { _arg0 = NULL; }
1583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
af309447
RD
1585 return NULL;
1586 }
1587 }
cf694132 1588{
474c48f9 1589 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1590 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
1591
474c48f9 1592 wxPyEndAllowThreads(__tstate);
4dfaa61e 1593 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1594} _resultobj = Py_BuildValue("l",_result);
1595 return _resultobj;
1596}
1597
1598#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1599static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1600 PyObject * _resultobj;
1601 long _result;
1602 wxListItem * _arg0;
1603 PyObject * _argo0 = 0;
1604 char *_kwnames[] = { "self", NULL };
1605
1606 self = self;
1607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1608 return NULL;
1609 if (_argo0) {
1610 if (_argo0 == Py_None) { _arg0 = NULL; }
1611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1613 return NULL;
1614 }
1615 }
1616{
474c48f9 1617 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1618 _result = (long )wxListItem_m_itemId_get(_arg0);
1619
474c48f9 1620 wxPyEndAllowThreads(__tstate);
4dfaa61e 1621 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1622} _resultobj = Py_BuildValue("l",_result);
1623 return _resultobj;
1624}
1625
1626#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1627static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1628 PyObject * _resultobj;
1629 int _result;
1630 wxListItem * _arg0;
1631 int _arg1;
1632 PyObject * _argo0 = 0;
1633 char *_kwnames[] = { "self","m_col", NULL };
1634
1635 self = self;
1636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1637 return NULL;
1638 if (_argo0) {
1639 if (_argo0 == Py_None) { _arg0 = NULL; }
1640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1642 return NULL;
1643 }
1644 }
1645{
474c48f9 1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1647 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
1648
474c48f9 1649 wxPyEndAllowThreads(__tstate);
4dfaa61e 1650 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1651} _resultobj = Py_BuildValue("i",_result);
1652 return _resultobj;
1653}
1654
1655#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1656static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1657 PyObject * _resultobj;
1658 int _result;
1659 wxListItem * _arg0;
1660 PyObject * _argo0 = 0;
1661 char *_kwnames[] = { "self", NULL };
1662
1663 self = self;
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1665 return NULL;
1666 if (_argo0) {
1667 if (_argo0 == Py_None) { _arg0 = NULL; }
1668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1670 return NULL;
1671 }
1672 }
1673{
474c48f9 1674 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1675 _result = (int )wxListItem_m_col_get(_arg0);
1676
474c48f9 1677 wxPyEndAllowThreads(__tstate);
4dfaa61e 1678 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1679} _resultobj = Py_BuildValue("i",_result);
1680 return _resultobj;
1681}
1682
1683#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1684static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject * _resultobj;
1686 long _result;
1687 wxListItem * _arg0;
1688 long _arg1;
1689 PyObject * _argo0 = 0;
1690 char *_kwnames[] = { "self","m_state", NULL };
1691
1692 self = self;
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1694 return NULL;
1695 if (_argo0) {
1696 if (_argo0 == Py_None) { _arg0 = NULL; }
1697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1699 return NULL;
1700 }
1701 }
1702{
474c48f9 1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1704 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
1705
474c48f9 1706 wxPyEndAllowThreads(__tstate);
4dfaa61e 1707 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1708} _resultobj = Py_BuildValue("l",_result);
1709 return _resultobj;
1710}
1711
1712#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1713static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject * _resultobj;
1715 long _result;
1716 wxListItem * _arg0;
1717 PyObject * _argo0 = 0;
1718 char *_kwnames[] = { "self", NULL };
1719
1720 self = self;
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1722 return NULL;
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
1725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1727 return NULL;
1728 }
1729 }
1730{
474c48f9 1731 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1732 _result = (long )wxListItem_m_state_get(_arg0);
1733
474c48f9 1734 wxPyEndAllowThreads(__tstate);
4dfaa61e 1735 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1736} _resultobj = Py_BuildValue("l",_result);
1737 return _resultobj;
1738}
1739
1740#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1741static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1742 PyObject * _resultobj;
1743 long _result;
1744 wxListItem * _arg0;
1745 long _arg1;
1746 PyObject * _argo0 = 0;
1747 char *_kwnames[] = { "self","m_stateMask", NULL };
1748
1749 self = self;
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1751 return NULL;
1752 if (_argo0) {
1753 if (_argo0 == Py_None) { _arg0 = NULL; }
1754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1756 return NULL;
1757 }
1758 }
1759{
474c48f9 1760 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1761 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
1762
474c48f9 1763 wxPyEndAllowThreads(__tstate);
4dfaa61e 1764 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1765} _resultobj = Py_BuildValue("l",_result);
1766 return _resultobj;
1767}
1768
1769#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1770static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1771 PyObject * _resultobj;
1772 long _result;
1773 wxListItem * _arg0;
1774 PyObject * _argo0 = 0;
1775 char *_kwnames[] = { "self", NULL };
1776
1777 self = self;
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1779 return NULL;
1780 if (_argo0) {
1781 if (_argo0 == Py_None) { _arg0 = NULL; }
1782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1784 return NULL;
1785 }
1786 }
1787{
474c48f9 1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 1789 _result = (long )wxListItem_m_stateMask_get(_arg0);
cf694132 1790
474c48f9 1791 wxPyEndAllowThreads(__tstate);
4dfaa61e 1792 if (PyErr_Occurred()) return NULL;
cf694132 1793} _resultobj = Py_BuildValue("l",_result);
af309447
RD
1794 return _resultobj;
1795}
1796
f6bcfd97
BP
1797#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1798static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1799 PyObject * _resultobj;
1800 wxString * _result;
1801 wxListItem * _arg0;
1802 wxString * _arg1;
1803 PyObject * _argo0 = 0;
1804 PyObject * _obj1 = 0;
1805 char *_kwnames[] = { "self","m_text", NULL };
1806
1807 self = self;
1808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1809 return NULL;
1810 if (_argo0) {
1811 if (_argo0 == Py_None) { _arg0 = NULL; }
1812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1814 return NULL;
1815 }
1816 }
1817{
2cd2fac8
RD
1818#if PYTHON_API_VERSION >= 1009
1819 char* tmpPtr; int tmpSize;
1820 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1821 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1822 return NULL;
1823 }
1824 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1825 return NULL;
1826 _arg1 = new wxString(tmpPtr, tmpSize);
1827#else
f6bcfd97
BP
1828 if (!PyString_Check(_obj1)) {
1829 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1830 return NULL;
1831 }
2cd2fac8
RD
1832 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1833#endif
f6bcfd97
BP
1834}
1835{
474c48f9 1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1837 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
1838
474c48f9 1839 wxPyEndAllowThreads(__tstate);
4dfaa61e 1840 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1841}{
1842 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1843}
1844{
1845 if (_obj1)
1846 delete _arg1;
1847}
1848 return _resultobj;
1849}
1850
1851#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1852static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1853 PyObject * _resultobj;
f6bcfd97 1854 wxString * _result;
8ab979d7 1855 wxListItem * _arg0;
1d99702e 1856 PyObject * _argo0 = 0;
efc5f224 1857 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1858
1859 self = self;
f6bcfd97 1860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
8ab979d7 1861 return NULL;
1d99702e
RD
1862 if (_argo0) {
1863 if (_argo0 == Py_None) { _arg0 = NULL; }
1864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
8ab979d7
RD
1866 return NULL;
1867 }
1868 }
cf694132 1869{
474c48f9 1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 1871 _result = (wxString *)wxListItem_m_text_get(_arg0);
cf694132 1872
474c48f9 1873 wxPyEndAllowThreads(__tstate);
4dfaa61e 1874 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1875}{
1876 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1877}
8ab979d7
RD
1878 return _resultobj;
1879}
1880
f6bcfd97
BP
1881#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1882static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1883 PyObject * _resultobj;
f6bcfd97 1884 int _result;
af309447 1885 wxListItem * _arg0;
f6bcfd97 1886 int _arg1;
1d99702e 1887 PyObject * _argo0 = 0;
f6bcfd97 1888 char *_kwnames[] = { "self","m_image", NULL };
af309447
RD
1889
1890 self = self;
f6bcfd97 1891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
af309447 1892 return NULL;
1d99702e
RD
1893 if (_argo0) {
1894 if (_argo0 == Py_None) { _arg0 = NULL; }
1895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
af309447
RD
1897 return NULL;
1898 }
1899 }
cf694132 1900{
474c48f9 1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 1902 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
cf694132 1903
474c48f9 1904 wxPyEndAllowThreads(__tstate);
4dfaa61e 1905 if (PyErr_Occurred()) return NULL;
f6bcfd97 1906} _resultobj = Py_BuildValue("i",_result);
af309447
RD
1907 return _resultobj;
1908}
1909
f6bcfd97
BP
1910#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1911static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1912 PyObject * _resultobj;
f6bcfd97 1913 int _result;
8ab979d7 1914 wxListItem * _arg0;
1d99702e 1915 PyObject * _argo0 = 0;
efc5f224 1916 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1917
1918 self = self;
f6bcfd97 1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
8ab979d7 1920 return NULL;
1d99702e
RD
1921 if (_argo0) {
1922 if (_argo0 == Py_None) { _arg0 = NULL; }
1923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
8ab979d7
RD
1925 return NULL;
1926 }
1927 }
cf694132 1928{
474c48f9 1929 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 1930 _result = (int )wxListItem_m_image_get(_arg0);
cf694132 1931
474c48f9 1932 wxPyEndAllowThreads(__tstate);
4dfaa61e 1933 if (PyErr_Occurred()) return NULL;
f6bcfd97 1934} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1935 return _resultobj;
1936}
1937
f6bcfd97
BP
1938#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1939static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1940 PyObject * _resultobj;
f6bcfd97 1941 long _result;
af309447 1942 wxListItem * _arg0;
f6bcfd97 1943 long _arg1;
1d99702e 1944 PyObject * _argo0 = 0;
f6bcfd97 1945 char *_kwnames[] = { "self","m_data", NULL };
af309447
RD
1946
1947 self = self;
f6bcfd97 1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
af309447 1949 return NULL;
1d99702e
RD
1950 if (_argo0) {
1951 if (_argo0 == Py_None) { _arg0 = NULL; }
1952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
af309447
RD
1954 return NULL;
1955 }
1956 }
cf694132 1957{
474c48f9 1958 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 1959 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
cf694132 1960
474c48f9 1961 wxPyEndAllowThreads(__tstate);
4dfaa61e 1962 if (PyErr_Occurred()) return NULL;
f6bcfd97 1963} _resultobj = Py_BuildValue("l",_result);
af309447
RD
1964 return _resultobj;
1965}
1966
f6bcfd97
BP
1967#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1968static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1969 PyObject * _resultobj;
f6bcfd97 1970 long _result;
8ab979d7 1971 wxListItem * _arg0;
1d99702e 1972 PyObject * _argo0 = 0;
efc5f224 1973 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1974
1975 self = self;
f6bcfd97 1976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
8ab979d7 1977 return NULL;
1d99702e
RD
1978 if (_argo0) {
1979 if (_argo0 == Py_None) { _arg0 = NULL; }
1980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
8ab979d7
RD
1982 return NULL;
1983 }
1984 }
cf694132 1985{
474c48f9 1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 1987 _result = (long )wxListItem_m_data_get(_arg0);
cf694132 1988
474c48f9 1989 wxPyEndAllowThreads(__tstate);
4dfaa61e 1990 if (PyErr_Occurred()) return NULL;
f6bcfd97 1991} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1992 return _resultobj;
1993}
1994
f6bcfd97
BP
1995#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1996static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1997 PyObject * _resultobj;
f6bcfd97 1998 int _result;
af309447 1999 wxListItem * _arg0;
f6bcfd97 2000 int _arg1;
1d99702e 2001 PyObject * _argo0 = 0;
f6bcfd97 2002 char *_kwnames[] = { "self","m_format", NULL };
af309447
RD
2003
2004 self = self;
f6bcfd97 2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
af309447 2006 return NULL;
1d99702e
RD
2007 if (_argo0) {
2008 if (_argo0 == Py_None) { _arg0 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
af309447
RD
2011 return NULL;
2012 }
2013 }
cf694132 2014{
474c48f9 2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2016 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
cf694132 2017
474c48f9 2018 wxPyEndAllowThreads(__tstate);
4dfaa61e 2019 if (PyErr_Occurred()) return NULL;
f6bcfd97 2020} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2021 return _resultobj;
2022}
2023
f6bcfd97
BP
2024#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2025static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2026 PyObject * _resultobj;
f6bcfd97 2027 int _result;
8ab979d7 2028 wxListItem * _arg0;
1d99702e 2029 PyObject * _argo0 = 0;
efc5f224 2030 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2031
2032 self = self;
f6bcfd97 2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
8ab979d7 2034 return NULL;
1d99702e
RD
2035 if (_argo0) {
2036 if (_argo0 == Py_None) { _arg0 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
8ab979d7
RD
2039 return NULL;
2040 }
2041 }
cf694132 2042{
474c48f9 2043 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2044 _result = (int )wxListItem_m_format_get(_arg0);
cf694132 2045
474c48f9 2046 wxPyEndAllowThreads(__tstate);
4dfaa61e 2047 if (PyErr_Occurred()) return NULL;
f6bcfd97 2048} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2049 return _resultobj;
2050}
2051
f6bcfd97
BP
2052#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2053static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2054 PyObject * _resultobj;
f6bcfd97 2055 int _result;
af309447 2056 wxListItem * _arg0;
f6bcfd97 2057 int _arg1;
1d99702e 2058 PyObject * _argo0 = 0;
f6bcfd97 2059 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
2060
2061 self = self;
f6bcfd97 2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 2063 return NULL;
1d99702e
RD
2064 if (_argo0) {
2065 if (_argo0 == Py_None) { _arg0 = NULL; }
2066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
af309447
RD
2068 return NULL;
2069 }
2070 }
cf694132 2071{
474c48f9 2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2073 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
cf694132 2074
474c48f9 2075 wxPyEndAllowThreads(__tstate);
4dfaa61e 2076 if (PyErr_Occurred()) return NULL;
f6bcfd97 2077} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2078 return _resultobj;
2079}
2080
f6bcfd97
BP
2081#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2082static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2083 PyObject * _resultobj;
f6bcfd97 2084 int _result;
8ab979d7 2085 wxListItem * _arg0;
1d99702e 2086 PyObject * _argo0 = 0;
efc5f224 2087 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2088
2089 self = self;
f6bcfd97 2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 2091 return NULL;
1d99702e
RD
2092 if (_argo0) {
2093 if (_argo0 == Py_None) { _arg0 = NULL; }
2094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 2095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
8ab979d7
RD
2096 return NULL;
2097 }
2098 }
cf694132 2099{
474c48f9 2100 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2101 _result = (int )wxListItem_m_width_get(_arg0);
cf694132 2102
474c48f9 2103 wxPyEndAllowThreads(__tstate);
4dfaa61e 2104 if (PyErr_Occurred()) return NULL;
f6bcfd97 2105} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2106 return _resultobj;
2107}
2108
c368d904
RD
2109static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
2110 wxListEvent *src;
2111 wxNotifyEvent *dest;
2112 src = (wxListEvent *) ptr;
2113 dest = (wxNotifyEvent *) src;
2114 return (void *) dest;
2115}
2116
f6bcfd97
BP
2117static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2118 wxListEvent *src;
2119 wxCommandEvent *dest;
2120 src = (wxListEvent *) ptr;
2121 dest = (wxCommandEvent *) src;
2122 return (void *) dest;
2123}
2124
2125static void *SwigwxListEventTowxEvent(void *ptr) {
2126 wxListEvent *src;
2127 wxEvent *dest;
2128 src = (wxListEvent *) ptr;
2129 dest = (wxEvent *) src;
2130 return (void *) dest;
2131}
2132
9df61a29
RD
2133static void *SwigwxListEventTowxObject(void *ptr) {
2134 wxListEvent *src;
2135 wxObject *dest;
2136 src = (wxListEvent *) ptr;
2137 dest = (wxObject *) src;
2138 return (void *) dest;
2139}
2140
059a841c
RD
2141#define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2142static PyObject *_wrap_new_wxListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2143 PyObject * _resultobj;
2144 wxListEvent * _result;
2145 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2146 int _arg1 = (int ) 0;
2147 char *_kwnames[] = { "commandType","id", NULL };
2148 char _ptemp[128];
2149
2150 self = self;
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxListEvent",_kwnames,&_arg0,&_arg1))
2152 return NULL;
2153{
474c48f9 2154 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
2155 _result = (wxListEvent *)new_wxListEvent(_arg0,_arg1);
2156
474c48f9 2157 wxPyEndAllowThreads(__tstate);
059a841c
RD
2158 if (PyErr_Occurred()) return NULL;
2159} if (_result) {
2160 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListEvent_p");
2161 _resultobj = Py_BuildValue("s",_ptemp);
2162 } else {
2163 Py_INCREF(Py_None);
2164 _resultobj = Py_None;
2165 }
2166 return _resultobj;
2167}
2168
f6bcfd97
BP
2169#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2170static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2171 PyObject * _resultobj;
f6bcfd97
BP
2172 int _result;
2173 wxListEvent * _arg0;
2174 int _arg1;
1d99702e 2175 PyObject * _argo0 = 0;
f6bcfd97 2176 char *_kwnames[] = { "self","m_code", NULL };
af309447
RD
2177
2178 self = self;
f6bcfd97 2179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
af309447 2180 return NULL;
1d99702e
RD
2181 if (_argo0) {
2182 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
af309447
RD
2185 return NULL;
2186 }
2187 }
af309447 2188{
474c48f9 2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2190 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
cf694132 2191
474c48f9 2192 wxPyEndAllowThreads(__tstate);
4dfaa61e 2193 if (PyErr_Occurred()) return NULL;
f6bcfd97 2194} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2195 return _resultobj;
2196}
2197
f6bcfd97
BP
2198#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2199static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2200 PyObject * _resultobj;
f6bcfd97
BP
2201 int _result;
2202 wxListEvent * _arg0;
1d99702e 2203 PyObject * _argo0 = 0;
efc5f224 2204 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2205
2206 self = self;
f6bcfd97 2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
8ab979d7 2208 return NULL;
1d99702e
RD
2209 if (_argo0) {
2210 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
8ab979d7
RD
2213 return NULL;
2214 }
2215 }
8ab979d7 2216{
474c48f9 2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2218 _result = (int )wxListEvent_m_code_get(_arg0);
cf694132 2219
474c48f9 2220 wxPyEndAllowThreads(__tstate);
4dfaa61e 2221 if (PyErr_Occurred()) return NULL;
f6bcfd97 2222} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2223 return _resultobj;
2224}
2225
6e8a778a
RD
2226#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2227static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2228 PyObject * _resultobj;
f6bcfd97
BP
2229 long _result;
2230 wxListEvent * _arg0;
2231 long _arg1;
1d99702e 2232 PyObject * _argo0 = 0;
6e8a778a 2233 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
af309447
RD
2234
2235 self = self;
6e8a778a 2236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
af309447 2237 return NULL;
1d99702e
RD
2238 if (_argo0) {
2239 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
af309447
RD
2242 return NULL;
2243 }
2244 }
cf694132 2245{
474c48f9 2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e8a778a 2247 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
cf694132 2248
474c48f9 2249 wxPyEndAllowThreads(__tstate);
4dfaa61e 2250 if (PyErr_Occurred()) return NULL;
f6bcfd97 2251} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2252 return _resultobj;
2253}
2254
6e8a778a
RD
2255#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2256static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2257 PyObject * _resultobj;
f6bcfd97
BP
2258 long _result;
2259 wxListEvent * _arg0;
1d99702e 2260 PyObject * _argo0 = 0;
efc5f224 2261 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2262
2263 self = self;
6e8a778a 2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
8ab979d7 2265 return NULL;
1d99702e
RD
2266 if (_argo0) {
2267 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
8ab979d7
RD
2270 return NULL;
2271 }
2272 }
cf694132 2273{
474c48f9 2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e8a778a 2275 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
cf694132 2276
474c48f9 2277 wxPyEndAllowThreads(__tstate);
4dfaa61e 2278 if (PyErr_Occurred()) return NULL;
f6bcfd97 2279} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2280 return _resultobj;
2281}
2282
6e8a778a
RD
2283#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2284static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2285 PyObject * _resultobj;
6e8a778a 2286 long _result;
f6bcfd97 2287 wxListEvent * _arg0;
6e8a778a 2288 long _arg1;
1d99702e 2289 PyObject * _argo0 = 0;
6e8a778a 2290 char *_kwnames[] = { "self","m_itemIndex", NULL };
af309447
RD
2291
2292 self = self;
6e8a778a 2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
af309447 2294 return NULL;
1d99702e
RD
2295 if (_argo0) {
2296 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
af309447
RD
2299 return NULL;
2300 }
2301 }
cf694132 2302{
474c48f9 2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e8a778a 2304 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
cf694132 2305
474c48f9 2306 wxPyEndAllowThreads(__tstate);
4dfaa61e 2307 if (PyErr_Occurred()) return NULL;
6e8a778a 2308} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2309 return _resultobj;
2310}
2311
6e8a778a
RD
2312#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2313static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2314 PyObject * _resultobj;
6e8a778a 2315 long _result;
f6bcfd97 2316 wxListEvent * _arg0;
1d99702e 2317 PyObject * _argo0 = 0;
efc5f224 2318 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2319
2320 self = self;
6e8a778a 2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
8ab979d7 2322 return NULL;
1d99702e
RD
2323 if (_argo0) {
2324 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
8ab979d7
RD
2327 return NULL;
2328 }
2329 }
cf694132 2330{
474c48f9 2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e8a778a 2332 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132 2333
474c48f9 2334 wxPyEndAllowThreads(__tstate);
4dfaa61e 2335 if (PyErr_Occurred()) return NULL;
6e8a778a 2336} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2337 return _resultobj;
2338}
2339
6e8a778a
RD
2340#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2341static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2342 PyObject * _resultobj;
6e8a778a 2343 int _result;
f6bcfd97 2344 wxListEvent * _arg0;
6e8a778a 2345 int _arg1;
1d99702e 2346 PyObject * _argo0 = 0;
6e8a778a 2347 char *_kwnames[] = { "self","m_col", NULL };
af309447
RD
2348
2349 self = self;
6e8a778a 2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
af309447 2351 return NULL;
1d99702e
RD
2352 if (_argo0) {
2353 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
af309447
RD
2356 return NULL;
2357 }
2358 }
cf694132 2359{
474c48f9 2360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e8a778a 2361 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
cf694132 2362
474c48f9 2363 wxPyEndAllowThreads(__tstate);
4dfaa61e 2364 if (PyErr_Occurred()) return NULL;
cf694132 2365} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2366 return _resultobj;
2367}
2368
6e8a778a
RD
2369#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2370static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2371 PyObject * _resultobj;
6e8a778a 2372 int _result;
f6bcfd97 2373 wxListEvent * _arg0;
1d99702e 2374 PyObject * _argo0 = 0;
efc5f224 2375 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2376
2377 self = self;
6e8a778a 2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
8ab979d7 2379 return NULL;
1d99702e
RD
2380 if (_argo0) {
2381 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97 2382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
6e8a778a 2383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
8ab979d7
RD
2384 return NULL;
2385 }
2386 }
cf694132 2387{
474c48f9 2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e8a778a 2389 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132 2390
474c48f9 2391 wxPyEndAllowThreads(__tstate);
4dfaa61e 2392 if (PyErr_Occurred()) return NULL;
cf694132 2393} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2394 return _resultobj;
2395}
2396
f6bcfd97
BP
2397#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2398static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2399 PyObject * _resultobj;
f6bcfd97
BP
2400 wxPoint * _result;
2401 wxListEvent * _arg0;
2402 wxPoint * _arg1;
2403 PyObject * _argo0 = 0;
2404 wxPoint temp;
2405 PyObject * _obj1 = 0;
2406 char *_kwnames[] = { "self","m_pointDrag", NULL };
8ab979d7
RD
2407 char _ptemp[128];
2408
2409 self = self;
f6bcfd97
BP
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
2411 return NULL;
2412 if (_argo0) {
2413 if (_argo0 == Py_None) { _arg0 = NULL; }
2414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2416 return NULL;
2417 }
2418 }
2419{
2420 _arg1 = &temp;
2421 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 2422 return NULL;
f6bcfd97 2423}
cf694132 2424{
474c48f9 2425 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2426 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
cf694132 2427
474c48f9 2428 wxPyEndAllowThreads(__tstate);
4dfaa61e 2429 if (PyErr_Occurred()) return NULL;
1d99702e 2430} if (_result) {
f6bcfd97 2431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2432 _resultobj = Py_BuildValue("s",_ptemp);
2433 } else {
2434 Py_INCREF(Py_None);
2435 _resultobj = Py_None;
2436 }
8ab979d7
RD
2437 return _resultobj;
2438}
2439
f6bcfd97
BP
2440#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2441static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2442 PyObject * _resultobj;
f6bcfd97
BP
2443 wxPoint * _result;
2444 wxListEvent * _arg0;
1d99702e 2445 PyObject * _argo0 = 0;
efc5f224 2446 char *_kwnames[] = { "self", NULL };
f6bcfd97 2447 char _ptemp[128];
8ab979d7
RD
2448
2449 self = self;
f6bcfd97 2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
8ab979d7 2451 return NULL;
1d99702e
RD
2452 if (_argo0) {
2453 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7
RD
2456 return NULL;
2457 }
2458 }
cf694132 2459{
474c48f9 2460 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2461 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132 2462
474c48f9 2463 wxPyEndAllowThreads(__tstate);
4dfaa61e 2464 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2465} if (_result) {
2466 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2467 _resultobj = Py_BuildValue("s",_ptemp);
2468 } else {
2469 Py_INCREF(Py_None);
2470 _resultobj = Py_None;
2471 }
8ab979d7
RD
2472 return _resultobj;
2473}
2474
f6bcfd97
BP
2475#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2476static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2477 PyObject * _resultobj;
2478 wxListItem * _result;
2479 wxListEvent * _arg0;
2480 wxListItem * _arg1;
2481 PyObject * _argo0 = 0;
2482 PyObject * _argo1 = 0;
2483 char *_kwnames[] = { "self","m_item", NULL };
8ab979d7 2484
f6bcfd97
BP
2485 self = self;
2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
2487 return NULL;
2488 if (_argo0) {
2489 if (_argo0 == Py_None) { _arg0 = NULL; }
2490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2492 return NULL;
2493 }
2494 }
2495 if (_argo1) {
2496 if (_argo1 == Py_None) { _arg1 = NULL; }
2497 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2498 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2499 return NULL;
2500 }
2501 }
2502{
474c48f9 2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2504 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
2505
474c48f9 2506 wxPyEndAllowThreads(__tstate);
4dfaa61e 2507 if (PyErr_Occurred()) return NULL;
9df61a29 2508}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97 2509 return _resultobj;
8ab979d7
RD
2510}
2511
f6bcfd97
BP
2512#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2513static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2514 PyObject * _resultobj;
f6bcfd97 2515 wxListItem * _result;
af309447 2516 wxListEvent * _arg0;
1d99702e 2517 PyObject * _argo0 = 0;
f6bcfd97 2518 char *_kwnames[] = { "self", NULL };
af309447
RD
2519
2520 self = self;
f6bcfd97 2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2522 return NULL;
1d99702e
RD
2523 if (_argo0) {
2524 if (_argo0 == Py_None) { _arg0 = NULL; }
2525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2527 return NULL;
2528 }
2529 }
cf694132 2530{
474c48f9 2531 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2532 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132 2533
474c48f9 2534 wxPyEndAllowThreads(__tstate);
4dfaa61e 2535 if (PyErr_Occurred()) return NULL;
9df61a29 2536}{ _resultobj = wxPyMake_wxObject(_result); }
af309447
RD
2537 return _resultobj;
2538}
2539
f6bcfd97
BP
2540#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2541static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2542 PyObject * _resultobj;
2543 int _result;
2544 wxListEvent * _arg0;
1d99702e 2545 PyObject * _argo0 = 0;
efc5f224 2546 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2547
2548 self = self;
f6bcfd97 2549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
8ab979d7 2550 return NULL;
1d99702e
RD
2551 if (_argo0) {
2552 if (_argo0 == Py_None) { _arg0 = NULL; }
2553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
8ab979d7
RD
2555 return NULL;
2556 }
2557 }
cf694132 2558{
474c48f9 2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2560 _result = (int )wxListEvent_GetCode(_arg0);
cf694132 2561
474c48f9 2562 wxPyEndAllowThreads(__tstate);
4dfaa61e 2563 if (PyErr_Occurred()) return NULL;
cf694132 2564} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2565 return _resultobj;
2566}
2567
f6bcfd97
BP
2568#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2569static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2570 PyObject * _resultobj;
2571 long _result;
2572 wxListEvent * _arg0;
1d99702e 2573 PyObject * _argo0 = 0;
f6bcfd97 2574 char *_kwnames[] = { "self", NULL };
af309447
RD
2575
2576 self = self;
f6bcfd97 2577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2578 return NULL;
1d99702e
RD
2579 if (_argo0) {
2580 if (_argo0 == Py_None) { _arg0 = NULL; }
2581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2583 return NULL;
2584 }
2585 }
cf694132 2586{
474c48f9 2587 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2588 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132 2589
474c48f9 2590 wxPyEndAllowThreads(__tstate);
4dfaa61e 2591 if (PyErr_Occurred()) return NULL;
cf694132 2592} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2593 return _resultobj;
2594}
2595
f6bcfd97
BP
2596#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2597static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2598 PyObject * _resultobj;
f6bcfd97 2599 int _result;
8ab979d7 2600 wxListEvent * _arg0;
1d99702e 2601 PyObject * _argo0 = 0;
efc5f224 2602 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2603
2604 self = self;
f6bcfd97 2605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2606 return NULL;
1d99702e
RD
2607 if (_argo0) {
2608 if (_argo0 == Py_None) { _arg0 = NULL; }
2609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2611 return NULL;
2612 }
2613 }
cf694132 2614{
474c48f9 2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2616 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132 2617
474c48f9 2618 wxPyEndAllowThreads(__tstate);
4dfaa61e 2619 if (PyErr_Occurred()) return NULL;
f6bcfd97 2620} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2621 return _resultobj;
2622}
2623
f6bcfd97
BP
2624#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2625static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2626 PyObject * _resultobj;
f6bcfd97 2627 wxPoint * _result;
8ab979d7 2628 wxListEvent * _arg0;
1d99702e 2629 PyObject * _argo0 = 0;
efc5f224 2630 char *_kwnames[] = { "self", NULL };
f6bcfd97 2631 char _ptemp[128];
8ab979d7
RD
2632
2633 self = self;
f6bcfd97 2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2635 return NULL;
1d99702e
RD
2636 if (_argo0) {
2637 if (_argo0 == Py_None) { _arg0 = NULL; }
2638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2640 return NULL;
2641 }
2642 }
cf694132 2643{
474c48f9 2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2645 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132 2646
474c48f9 2647 wxPyEndAllowThreads(__tstate);
4dfaa61e 2648 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2649} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2650 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2651 return _resultobj;
2652}
2653
f6bcfd97
BP
2654#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2655static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2656 PyObject * _resultobj;
f6bcfd97 2657 wxString * _result;
af309447 2658 wxListEvent * _arg0;
1d99702e 2659 PyObject * _argo0 = 0;
f6bcfd97 2660 char *_kwnames[] = { "self", NULL };
af309447
RD
2661
2662 self = self;
f6bcfd97 2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2664 return NULL;
1d99702e
RD
2665 if (_argo0) {
2666 if (_argo0 == Py_None) { _arg0 = NULL; }
2667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2669 return NULL;
2670 }
2671 }
cf694132 2672{
474c48f9 2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2674 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
2675 _result = (wxString *) &_result_ref;
cf694132 2676
474c48f9 2677 wxPyEndAllowThreads(__tstate);
4dfaa61e 2678 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2679}{
2680 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2681}
af309447
RD
2682 return _resultobj;
2683}
2684
f6bcfd97
BP
2685#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2686static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2687 PyObject * _resultobj;
f6bcfd97 2688 wxString * _result;
8ab979d7 2689 wxListEvent * _arg0;
1d99702e 2690 PyObject * _argo0 = 0;
efc5f224 2691 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2692
2693 self = self;
f6bcfd97 2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2695 return NULL;
1d99702e
RD
2696 if (_argo0) {
2697 if (_argo0 == Py_None) { _arg0 = NULL; }
2698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2700 return NULL;
2701 }
2702 }
cf694132 2703{
474c48f9 2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2705 const wxString & _result_ref = wxListEvent_GetText(_arg0);
2706 _result = (wxString *) &_result_ref;
cf694132 2707
474c48f9 2708 wxPyEndAllowThreads(__tstate);
4dfaa61e 2709 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2710}{
2711 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2712}
8ab979d7
RD
2713 return _resultobj;
2714}
2715
f6bcfd97
BP
2716#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2717static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2718 PyObject * _resultobj;
f6bcfd97 2719 int _result;
af309447 2720 wxListEvent * _arg0;
1d99702e 2721 PyObject * _argo0 = 0;
f6bcfd97 2722 char *_kwnames[] = { "self", NULL };
af309447
RD
2723
2724 self = self;
f6bcfd97 2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2726 return NULL;
1d99702e
RD
2727 if (_argo0) {
2728 if (_argo0 == Py_None) { _arg0 = NULL; }
2729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2731 return NULL;
2732 }
2733 }
cf694132 2734{
474c48f9 2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2736 _result = (int )wxListEvent_GetImage(_arg0);
cf694132 2737
474c48f9 2738 wxPyEndAllowThreads(__tstate);
4dfaa61e 2739 if (PyErr_Occurred()) return NULL;
f6bcfd97 2740} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2741 return _resultobj;
2742}
2743
f6bcfd97
BP
2744#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2745static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2746 PyObject * _resultobj;
f6bcfd97 2747 long _result;
8ab979d7 2748 wxListEvent * _arg0;
1d99702e 2749 PyObject * _argo0 = 0;
efc5f224 2750 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2751
2752 self = self;
f6bcfd97 2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2754 return NULL;
1d99702e
RD
2755 if (_argo0) {
2756 if (_argo0 == Py_None) { _arg0 = NULL; }
2757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2759 return NULL;
2760 }
2761 }
cf694132 2762{
474c48f9 2763 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2764 _result = (long )wxListEvent_GetData(_arg0);
cf694132 2765
474c48f9 2766 wxPyEndAllowThreads(__tstate);
4dfaa61e 2767 if (PyErr_Occurred()) return NULL;
f6bcfd97 2768} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2769 return _resultobj;
2770}
2771
f6bcfd97
BP
2772#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2773static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2774 PyObject * _resultobj;
f6bcfd97 2775 long _result;
af309447 2776 wxListEvent * _arg0;
1d99702e 2777 PyObject * _argo0 = 0;
f6bcfd97 2778 char *_kwnames[] = { "self", NULL };
af309447
RD
2779
2780 self = self;
f6bcfd97 2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2782 return NULL;
1d99702e
RD
2783 if (_argo0) {
2784 if (_argo0 == Py_None) { _arg0 = NULL; }
2785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2787 return NULL;
2788 }
2789 }
cf694132 2790{
474c48f9 2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 2792 _result = (long )wxListEvent_GetMask(_arg0);
cf694132 2793
474c48f9 2794 wxPyEndAllowThreads(__tstate);
4dfaa61e 2795 if (PyErr_Occurred()) return NULL;
f6bcfd97 2796} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2797 return _resultobj;
2798}
2799
f6bcfd97
BP
2800#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2801static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2802 PyObject * _resultobj;
2803 wxListItem * _result;
2804 wxListEvent * _arg0;
1d99702e 2805 PyObject * _argo0 = 0;
efc5f224 2806 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2807
2808 self = self;
f6bcfd97 2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2810 return NULL;
1d99702e
RD
2811 if (_argo0) {
2812 if (_argo0 == Py_None) { _arg0 = NULL; }
2813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2815 return NULL;
2816 }
2817 }
cf694132 2818{
474c48f9 2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
2820 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
2821 _result = (wxListItem *) &_result_ref;
cf694132 2822
474c48f9 2823 wxPyEndAllowThreads(__tstate);
4dfaa61e 2824 if (PyErr_Occurred()) return NULL;
9df61a29 2825}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
2826 return _resultobj;
2827}
2828
059a841c
RD
2829#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2830static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2831 PyObject * _resultobj;
2832 long _result;
2833 wxListEvent * _arg0;
2834 PyObject * _argo0 = 0;
2835 char *_kwnames[] = { "self", NULL };
2836
2837 self = self;
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2839 return NULL;
2840 if (_argo0) {
2841 if (_argo0 == Py_None) { _arg0 = NULL; }
2842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2844 return NULL;
2845 }
2846 }
2847{
474c48f9 2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
2849 _result = (long )wxListEvent_GetCacheFrom(_arg0);
2850
474c48f9 2851 wxPyEndAllowThreads(__tstate);
059a841c
RD
2852 if (PyErr_Occurred()) return NULL;
2853} _resultobj = Py_BuildValue("l",_result);
2854 return _resultobj;
2855}
2856
2857#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2858static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2859 PyObject * _resultobj;
2860 long _result;
2861 wxListEvent * _arg0;
2862 PyObject * _argo0 = 0;
2863 char *_kwnames[] = { "self", NULL };
2864
2865 self = self;
2866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
2867 return NULL;
2868 if (_argo0) {
2869 if (_argo0 == Py_None) { _arg0 = NULL; }
2870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2872 return NULL;
2873 }
2874 }
2875{
474c48f9 2876 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
2877 _result = (long )wxListEvent_GetCacheTo(_arg0);
2878
474c48f9 2879 wxPyEndAllowThreads(__tstate);
059a841c
RD
2880 if (PyErr_Occurred()) return NULL;
2881} _resultobj = Py_BuildValue("l",_result);
2882 return _resultobj;
2883}
2884
cd096152
RD
2885static void *SwigwxPyListCtrlTowxControl(void *ptr) {
2886 wxPyListCtrl *src;
8ab979d7 2887 wxControl *dest;
cd096152 2888 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2889 dest = (wxControl *) src;
2890 return (void *) dest;
2891}
2892
cd096152
RD
2893static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
2894 wxPyListCtrl *src;
8ab979d7 2895 wxWindow *dest;
cd096152 2896 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2897 dest = (wxWindow *) src;
2898 return (void *) dest;
2899}
2900
cd096152
RD
2901static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
2902 wxPyListCtrl *src;
8ab979d7 2903 wxEvtHandler *dest;
cd096152 2904 src = (wxPyListCtrl *) ptr;
8ab979d7
RD
2905 dest = (wxEvtHandler *) src;
2906 return (void *) dest;
2907}
2908
cd096152
RD
2909static void *SwigwxPyListCtrlTowxObject(void *ptr) {
2910 wxPyListCtrl *src;
9df61a29 2911 wxObject *dest;
cd096152 2912 src = (wxPyListCtrl *) ptr;
9df61a29
RD
2913 dest = (wxObject *) src;
2914 return (void *) dest;
2915}
2916
cd096152 2917#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2918static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2919 PyObject * _resultobj;
cd096152 2920 wxPyListCtrl * _result;
8ab979d7 2921 wxWindow * _arg0;
cd096152 2922 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
2923 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2924 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2c8a649d 2925 long _arg4 = (long ) (wxLC_ICON);
b68dc582 2926 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
2927 char * _arg6 = (char *) "listCtrl";
2928 PyObject * _argo0 = 0;
2f90df85
RD
2929 wxPoint temp;
2930 PyObject * _obj2 = 0;
2931 wxSize temp0;
2932 PyObject * _obj3 = 0;
1d99702e 2933 PyObject * _argo5 = 0;
efc5f224 2934 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2935 char _ptemp[128];
2936
2937 self = self;
cd096152 2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 2939 return NULL;
1d99702e
RD
2940 if (_argo0) {
2941 if (_argo0 == Py_None) { _arg0 = NULL; }
2942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2944 return NULL;
2945 }
2946 }
2f90df85
RD
2947 if (_obj2)
2948{
2949 _arg2 = &temp;
2950 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2951 return NULL;
2f90df85
RD
2952}
2953 if (_obj3)
2954{
2955 _arg3 = &temp0;
2956 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2957 return NULL;
2f90df85 2958}
1d99702e
RD
2959 if (_argo5) {
2960 if (_argo5 == Py_None) { _arg5 = NULL; }
2961 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
2962 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2963 return NULL;
2964 }
2965 }
cf694132 2966{
474c48f9 2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 2968 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
cf694132 2969
474c48f9 2970 wxPyEndAllowThreads(__tstate);
4dfaa61e 2971 if (PyErr_Occurred()) return NULL;
1d99702e 2972} if (_result) {
cd096152 2973 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
1d99702e
RD
2974 _resultobj = Py_BuildValue("s",_ptemp);
2975 } else {
2976 Py_INCREF(Py_None);
2977 _resultobj = Py_None;
2978 }
8ab979d7
RD
2979 return _resultobj;
2980}
2981
aa2a5b86
RD
2982#define new_wxPreListCtrl() (new wxPyListCtrl())
2983static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
2984 PyObject * _resultobj;
2985 wxPyListCtrl * _result;
2986 char *_kwnames[] = { NULL };
2987 char _ptemp[128];
2988
2989 self = self;
2990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
2991 return NULL;
2992{
474c48f9 2993 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
2994 _result = (wxPyListCtrl *)new_wxPreListCtrl();
2995
474c48f9 2996 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2997 if (PyErr_Occurred()) return NULL;
2998} if (_result) {
2999 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
3000 _resultobj = Py_BuildValue("s",_ptemp);
3001 } else {
3002 Py_INCREF(Py_None);
3003 _resultobj = Py_None;
3004 }
3005 return _resultobj;
3006}
3007
3008#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3009static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3010 PyObject * _resultobj;
3011 bool _result;
3012 wxPyListCtrl * _arg0;
3013 wxWindow * _arg1;
3014 wxWindowID _arg2 = (wxWindowID ) -1;
3015 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3016 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3017 long _arg5 = (long ) (wxLC_ICON);
3018 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
3019 char * _arg7 = (char *) "listCtrl";
3020 PyObject * _argo0 = 0;
3021 PyObject * _argo1 = 0;
3022 wxPoint temp;
3023 PyObject * _obj3 = 0;
3024 wxSize temp0;
3025 PyObject * _obj4 = 0;
3026 PyObject * _argo6 = 0;
3027 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
3028
3029 self = self;
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
3031 return NULL;
3032 if (_argo0) {
3033 if (_argo0 == Py_None) { _arg0 = NULL; }
3034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3036 return NULL;
3037 }
3038 }
3039 if (_argo1) {
3040 if (_argo1 == Py_None) { _arg1 = NULL; }
3041 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3042 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3043 return NULL;
3044 }
3045 }
3046 if (_obj3)
3047{
3048 _arg3 = &temp;
3049 if (! wxPoint_helper(_obj3, &_arg3))
3050 return NULL;
3051}
3052 if (_obj4)
3053{
3054 _arg4 = &temp0;
3055 if (! wxSize_helper(_obj4, &_arg4))
3056 return NULL;
3057}
3058 if (_argo6) {
3059 if (_argo6 == Py_None) { _arg6 = NULL; }
3060 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3062 return NULL;
3063 }
3064 }
3065{
474c48f9 3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
3067 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3068
474c48f9 3069 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3070 if (PyErr_Occurred()) return NULL;
3071} _resultobj = Py_BuildValue("i",_result);
3072 return _resultobj;
3073}
3074
0220cbc1
RD
3075#define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3076static PyObject *_wrap_wxListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3077 PyObject * _resultobj;
cd096152
RD
3078 wxPyListCtrl * _arg0;
3079 PyObject * _arg1;
3080 PyObject * _arg2;
1d99702e 3081 PyObject * _argo0 = 0;
cd096152
RD
3082 PyObject * _obj1 = 0;
3083 PyObject * _obj2 = 0;
3084 char *_kwnames[] = { "self","self","_class", NULL };
8ab979d7
RD
3085
3086 self = self;
0220cbc1 3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
8ab979d7 3088 return NULL;
1d99702e
RD
3089 if (_argo0) {
3090 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152 3091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
0220cbc1 3092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3093 return NULL;
3094 }
3095 }
cd096152
RD
3096{
3097 _arg1 = _obj1;
3098}
3099{
3100 _arg2 = _obj2;
3101}
cf694132 3102{
474c48f9 3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1 3104 wxListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
cf694132 3105
474c48f9 3106 wxPyEndAllowThreads(__tstate);
4dfaa61e 3107 if (PyErr_Occurred()) return NULL;
cd096152
RD
3108} Py_INCREF(Py_None);
3109 _resultobj = Py_None;
8ab979d7
RD
3110 return _resultobj;
3111}
3112
cd096152
RD
3113#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3114static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9c4165ad 3115 PyObject * _resultobj;
cd096152
RD
3116 bool _result;
3117 wxPyListCtrl * _arg0;
3118 wxColour * _arg1;
9c4165ad 3119 PyObject * _argo0 = 0;
cd096152
RD
3120 wxColour temp;
3121 PyObject * _obj1 = 0;
3122 char *_kwnames[] = { "self","col", NULL };
9c4165ad
RD
3123
3124 self = self;
cd096152 3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
9c4165ad
RD
3126 return NULL;
3127 if (_argo0) {
3128 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
9c4165ad
RD
3131 return NULL;
3132 }
3133 }
cd096152
RD
3134{
3135 _arg1 = &temp;
3136 if (! wxColour_helper(_obj1, &_arg1))
3137 return NULL;
3138}
3139{
474c48f9 3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
3141 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
3142
474c48f9 3143 wxPyEndAllowThreads(__tstate);
cd096152
RD
3144 if (PyErr_Occurred()) return NULL;
3145} _resultobj = Py_BuildValue("i",_result);
3146 return _resultobj;
3147}
3148
3149#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3150static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3151 PyObject * _resultobj;
3152 bool _result;
3153 wxPyListCtrl * _arg0;
3154 wxColour * _arg1;
3155 PyObject * _argo0 = 0;
3156 wxColour temp;
3157 PyObject * _obj1 = 0;
3158 char *_kwnames[] = { "self","col", NULL };
3159
3160 self = self;
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3162 return NULL;
3163 if (_argo0) {
3164 if (_argo0 == Py_None) { _arg0 = NULL; }
3165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
9c4165ad
RD
3167 return NULL;
3168 }
3169 }
cd096152
RD
3170{
3171 _arg1 = &temp;
3172 if (! wxColour_helper(_obj1, &_arg1))
3173 return NULL;
3174}
9c4165ad 3175{
474c48f9 3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3177 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
9c4165ad 3178
474c48f9 3179 wxPyEndAllowThreads(__tstate);
4dfaa61e 3180 if (PyErr_Occurred()) return NULL;
cd096152 3181} _resultobj = Py_BuildValue("i",_result);
9c4165ad
RD
3182 return _resultobj;
3183}
3184
94082a71
RD
3185static wxListItem * wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col) {
3186 wxListItem item;
3187 if (self->GetColumn(col, item))
3188 return new wxListItem(item);
3189 else
3190 return NULL;
3191 }
cd096152 3192static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3193 PyObject * _resultobj;
94082a71 3194 wxListItem * _result;
cd096152
RD
3195 wxPyListCtrl * _arg0;
3196 int _arg1;
1d99702e 3197 PyObject * _argo0 = 0;
94082a71 3198 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3199
3200 self = self;
94082a71 3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 3202 return NULL;
1d99702e
RD
3203 if (_argo0) {
3204 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3207 return NULL;
3208 }
3209 }
cf694132 3210{
474c48f9 3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
94082a71 3212 _result = (wxListItem *)wxPyListCtrl_GetColumn(_arg0,_arg1);
cf694132 3213
474c48f9 3214 wxPyEndAllowThreads(__tstate);
4dfaa61e 3215 if (PyErr_Occurred()) return NULL;
94082a71 3216}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
3217 return _resultobj;
3218}
3219
cd096152
RD
3220#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3221static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3222 PyObject * _resultobj;
3223 bool _result;
cd096152
RD
3224 wxPyListCtrl * _arg0;
3225 int _arg1;
3226 wxListItem * _arg2;
1d99702e 3227 PyObject * _argo0 = 0;
cd096152
RD
3228 PyObject * _argo2 = 0;
3229 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3230
3231 self = self;
cd096152 3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3233 return NULL;
1d99702e
RD
3234 if (_argo0) {
3235 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3238 return NULL;
3239 }
3240 }
3241 if (_argo2) {
3242 if (_argo2 == Py_None) { _arg2 = NULL; }
3243 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3244 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
8ab979d7
RD
3245 return NULL;
3246 }
3247 }
cf694132 3248{
474c48f9 3249 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3250 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
cf694132 3251
474c48f9 3252 wxPyEndAllowThreads(__tstate);
4dfaa61e 3253 if (PyErr_Occurred()) return NULL;
cf694132 3254} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3255 return _resultobj;
3256}
3257
cd096152
RD
3258#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3259static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3260 PyObject * _resultobj;
cd096152
RD
3261 int _result;
3262 wxPyListCtrl * _arg0;
8ab979d7 3263 int _arg1;
1d99702e 3264 PyObject * _argo0 = 0;
efc5f224 3265 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3266
3267 self = self;
cd096152 3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3269 return NULL;
1d99702e
RD
3270 if (_argo0) {
3271 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3274 return NULL;
3275 }
3276 }
cf694132 3277{
474c48f9 3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3279 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
cf694132 3280
474c48f9 3281 wxPyEndAllowThreads(__tstate);
4dfaa61e 3282 if (PyErr_Occurred()) return NULL;
cf694132 3283} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3284 return _resultobj;
3285}
3286
cd096152
RD
3287#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3288static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3289 PyObject * _resultobj;
3290 bool _result;
cd096152
RD
3291 wxPyListCtrl * _arg0;
3292 int _arg1;
3293 int _arg2;
1d99702e 3294 PyObject * _argo0 = 0;
cd096152 3295 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
3296
3297 self = self;
cd096152 3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3299 return NULL;
1d99702e
RD
3300 if (_argo0) {
3301 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3304 return NULL;
3305 }
3306 }
cf694132 3307{
474c48f9 3308 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3309 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
cf694132 3310
474c48f9 3311 wxPyEndAllowThreads(__tstate);
4dfaa61e 3312 if (PyErr_Occurred()) return NULL;
cf694132 3313} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3314 return _resultobj;
3315}
3316
cd096152
RD
3317#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3318static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3319 PyObject * _resultobj;
cd096152
RD
3320 int _result;
3321 wxPyListCtrl * _arg0;
1d99702e 3322 PyObject * _argo0 = 0;
efc5f224 3323 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3324
3325 self = self;
cd096152 3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3327 return NULL;
1d99702e
RD
3328 if (_argo0) {
3329 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3332 return NULL;
3333 }
3334 }
cf694132 3335{
474c48f9 3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3337 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
cf694132 3338
474c48f9 3339 wxPyEndAllowThreads(__tstate);
4dfaa61e 3340 if (PyErr_Occurred()) return NULL;
cd096152 3341} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3342 return _resultobj;
3343}
3344
cd096152
RD
3345static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3346 wxListItem* info = new wxListItem;
3347 info->m_itemId = itemId;
3348 info->m_col = col;
3349 info->m_mask = 0xFFFF;
3350 self->GetItem(*info);
3351 return info;
3352 }
3353static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3354 PyObject * _resultobj;
cd096152
RD
3355 wxListItem * _result;
3356 wxPyListCtrl * _arg0;
8ab979d7 3357 long _arg1;
cd096152 3358 int _arg2 = (int ) 0;
1d99702e 3359 PyObject * _argo0 = 0;
cd096152 3360 char *_kwnames[] = { "self","itemId","col", NULL };
8ab979d7
RD
3361
3362 self = self;
cd096152 3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3364 return NULL;
1d99702e
RD
3365 if (_argo0) {
3366 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3369 return NULL;
3370 }
3371 }
cf694132 3372{
474c48f9 3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3374 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132 3375
474c48f9 3376 wxPyEndAllowThreads(__tstate);
4dfaa61e 3377 if (PyErr_Occurred()) return NULL;
cd096152 3378}{ _resultobj = wxPyMake_wxObject(_result); }
be4d9c1f
RD
3379 return _resultobj;
3380}
3381
cd096152
RD
3382#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3383static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3384 PyObject * _resultobj;
3385 bool _result;
cd096152
RD
3386 wxPyListCtrl * _arg0;
3387 wxListItem * _arg1;
1d99702e 3388 PyObject * _argo0 = 0;
cd096152
RD
3389 PyObject * _argo1 = 0;
3390 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3391
3392 self = self;
cd096152 3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3394 return NULL;
1d99702e
RD
3395 if (_argo0) {
3396 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3399 return NULL;
3400 }
3401 }
3402 if (_argo1) {
3403 if (_argo1 == Py_None) { _arg1 = NULL; }
3404 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3405 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
8ab979d7
RD
3406 return NULL;
3407 }
3408 }
cf694132 3409{
474c48f9 3410 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3411 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
cf694132 3412
474c48f9 3413 wxPyEndAllowThreads(__tstate);
4dfaa61e 3414 if (PyErr_Occurred()) return NULL;
cf694132 3415} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3416 return _resultobj;
3417}
3418
cd096152
RD
3419#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3420static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3421 PyObject * _resultobj;
3422 long _result;
cd096152 3423 wxPyListCtrl * _arg0;
8ab979d7 3424 long _arg1;
cd096152
RD
3425 int _arg2;
3426 wxString * _arg3;
3427 int _arg4 = (int ) -1;
1d99702e 3428 PyObject * _argo0 = 0;
cd096152
RD
3429 PyObject * _obj3 = 0;
3430 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
3431
3432 self = self;
cd096152 3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 3434 return NULL;
1d99702e
RD
3435 if (_argo0) {
3436 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3439 return NULL;
3440 }
3441 }
3442{
2cd2fac8
RD
3443#if PYTHON_API_VERSION >= 1009
3444 char* tmpPtr; int tmpSize;
cd096152 3445 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 3446 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
3447 return NULL;
3448 }
cd096152 3449 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
2cd2fac8 3450 return NULL;
cd096152 3451 _arg3 = new wxString(tmpPtr, tmpSize);
2cd2fac8 3452#else
cd096152 3453 if (!PyString_Check(_obj3)) {
8ab979d7
RD
3454 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3455 return NULL;
3456 }
cd096152 3457 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
2cd2fac8 3458#endif
8ab979d7 3459}
cf694132 3460{
474c48f9 3461 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3462 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 3463
474c48f9 3464 wxPyEndAllowThreads(__tstate);
4dfaa61e 3465 if (PyErr_Occurred()) return NULL;
cf694132 3466} _resultobj = Py_BuildValue("l",_result);
8ab979d7 3467{
cd096152
RD
3468 if (_obj3)
3469 delete _arg3;
8ab979d7
RD
3470}
3471 return _resultobj;
3472}
3473
cd096152
RD
3474#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3475static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3476 PyObject * _resultobj;
cd096152
RD
3477 int _result;
3478 wxPyListCtrl * _arg0;
8ab979d7
RD
3479 long _arg1;
3480 long _arg2;
1d99702e 3481 PyObject * _argo0 = 0;
cd096152 3482 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3483
3484 self = self;
cd096152 3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3486 return NULL;
1d99702e
RD
3487 if (_argo0) {
3488 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3491 return NULL;
3492 }
3493 }
cf694132 3494{
474c48f9 3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3496 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
cf694132 3497
474c48f9 3498 wxPyEndAllowThreads(__tstate);
4dfaa61e 3499 if (PyErr_Occurred()) return NULL;
cd096152 3500} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3501 return _resultobj;
3502}
3503
cd096152
RD
3504#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3505static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3506 PyObject * _resultobj;
cd096152
RD
3507 bool _result;
3508 wxPyListCtrl * _arg0;
8ab979d7 3509 long _arg1;
cd096152
RD
3510 long _arg2;
3511 long _arg3;
1d99702e 3512 PyObject * _argo0 = 0;
cd096152 3513 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
3514
3515 self = self;
cd096152 3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3517 return NULL;
1d99702e
RD
3518 if (_argo0) {
3519 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3522 return NULL;
3523 }
3524 }
cf694132 3525{
474c48f9 3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3527 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
cf694132 3528
474c48f9 3529 wxPyEndAllowThreads(__tstate);
4dfaa61e 3530 if (PyErr_Occurred()) return NULL;
cd096152 3531} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3532 return _resultobj;
3533}
3534
cd096152
RD
3535#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3536static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3537 PyObject * _resultobj;
3538 bool _result;
cd096152
RD
3539 wxPyListCtrl * _arg0;
3540 long _arg1;
3541 int _arg2;
3542 int _arg3;
1d99702e 3543 PyObject * _argo0 = 0;
cd096152 3544 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
3545
3546 self = self;
cd096152 3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3548 return NULL;
1d99702e
RD
3549 if (_argo0) {
3550 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3553 return NULL;
3554 }
3555 }
cf694132 3556{
474c48f9 3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3558 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
cf694132 3559
474c48f9 3560 wxPyEndAllowThreads(__tstate);
4dfaa61e 3561 if (PyErr_Occurred()) return NULL;
cf694132 3562} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3563 return _resultobj;
3564}
3565
cd096152
RD
3566#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3567static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3568 PyObject * _resultobj;
cd096152
RD
3569 wxString * _result;
3570 wxPyListCtrl * _arg0;
3571 long _arg1;
1d99702e 3572 PyObject * _argo0 = 0;
cd096152 3573 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3574
3575 self = self;
cd096152 3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3577 return NULL;
1d99702e
RD
3578 if (_argo0) {
3579 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3582 return NULL;
3583 }
3584 }
cf694132 3585{
474c48f9 3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3587 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
cf694132 3588
474c48f9 3589 wxPyEndAllowThreads(__tstate);
4dfaa61e 3590 if (PyErr_Occurred()) return NULL;
cd096152
RD
3591}{
3592 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3593}
3594{
3595 delete _result;
3596}
8ab979d7
RD
3597 return _resultobj;
3598}
3599
cd096152
RD
3600#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3601static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3602 PyObject * _resultobj;
cd096152
RD
3603 wxPyListCtrl * _arg0;
3604 long _arg1;
3605 wxString * _arg2;
1d99702e 3606 PyObject * _argo0 = 0;
cd096152
RD
3607 PyObject * _obj2 = 0;
3608 char *_kwnames[] = { "self","item","str", NULL };
8ab979d7
RD
3609
3610 self = self;
cd096152 3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3612 return NULL;
1d99702e
RD
3613 if (_argo0) {
3614 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3617 return NULL;
3618 }
3619 }
cf694132 3620{
cd096152
RD
3621#if PYTHON_API_VERSION >= 1009
3622 char* tmpPtr; int tmpSize;
3623 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3624 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 3625 return NULL;
cd096152
RD
3626 }
3627 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3628 return NULL;
3629 _arg2 = new wxString(tmpPtr, tmpSize);
3630#else
3631 if (!PyString_Check(_obj2)) {
3632 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 3633 return NULL;
8ab979d7 3634 }
cd096152
RD
3635 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3636#endif
3637}
cf694132 3638{
474c48f9 3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3640 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
cf694132 3641
474c48f9 3642 wxPyEndAllowThreads(__tstate);
4dfaa61e 3643 if (PyErr_Occurred()) return NULL;
cd096152
RD
3644} Py_INCREF(Py_None);
3645 _resultobj = Py_None;
3646{
3647 if (_obj2)
3648 delete _arg2;
3649}
8ab979d7
RD
3650 return _resultobj;
3651}
3652
3653#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3654static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3655 PyObject * _resultobj;
3656 long _result;
cd096152 3657 wxPyListCtrl * _arg0;
8ab979d7 3658 long _arg1;
1d99702e 3659 PyObject * _argo0 = 0;
efc5f224 3660 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3661
3662 self = self;
efc5f224 3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3664 return NULL;
1d99702e
RD
3665 if (_argo0) {
3666 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3669 return NULL;
3670 }
3671 }
cf694132 3672{
474c48f9 3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3674 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
3675
474c48f9 3676 wxPyEndAllowThreads(__tstate);
4dfaa61e 3677 if (PyErr_Occurred()) return NULL;
cf694132 3678} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3679 return _resultobj;
3680}
3681
cd096152
RD
3682#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3683static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3684 PyObject * _resultobj;
cd096152
RD
3685 bool _result;
3686 wxPyListCtrl * _arg0;
0699c864 3687 long _arg1;
cd096152 3688 long _arg2;
1d99702e 3689 PyObject * _argo0 = 0;
cd096152 3690 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
3691
3692 self = self;
cd096152 3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3694 return NULL;
1d99702e
RD
3695 if (_argo0) {
3696 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3699 return NULL;
3700 }
3701 }
cf694132 3702{
474c48f9 3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3704 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
cf694132 3705
474c48f9 3706 wxPyEndAllowThreads(__tstate);
4dfaa61e 3707 if (PyErr_Occurred()) return NULL;
cd096152 3708} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3709 return _resultobj;
3710}
3711
cd096152 3712static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
8ab979d7
RD
3713 wxPoint* pos = new wxPoint;
3714 self->GetItemPosition(item, *pos);
3715 return pos;
3716 }
efc5f224 3717static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3718 PyObject * _resultobj;
3719 wxPoint * _result;
cd096152 3720 wxPyListCtrl * _arg0;
8ab979d7 3721 long _arg1;
1d99702e 3722 PyObject * _argo0 = 0;
efc5f224 3723 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3724 char _ptemp[128];
3725
3726 self = self;
efc5f224 3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3728 return NULL;
1d99702e
RD
3729 if (_argo0) {
3730 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3733 return NULL;
3734 }
3735 }
cf694132 3736{
474c48f9 3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3738 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
cf694132 3739
474c48f9 3740 wxPyEndAllowThreads(__tstate);
4dfaa61e 3741 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3742} if (_result) {
3743 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3744 _resultobj = Py_BuildValue("s",_ptemp);
3745 } else {
3746 Py_INCREF(Py_None);
3747 _resultobj = Py_None;
3748 }
8ab979d7
RD
3749 return _resultobj;
3750}
3751
cd096152 3752static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
8ab979d7
RD
3753 wxRect* rect= new wxRect;
3754 self->GetItemRect(item, *rect, code);
3755 return rect;
3756 }
efc5f224 3757static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3758 PyObject * _resultobj;
3759 wxRect * _result;
cd096152 3760 wxPyListCtrl * _arg0;
8ab979d7 3761 long _arg1;
1d99702e
RD
3762 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3763 PyObject * _argo0 = 0;
efc5f224 3764 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3765 char _ptemp[128];
3766
3767 self = self;
efc5f224 3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3769 return NULL;
1d99702e
RD
3770 if (_argo0) {
3771 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3774 return NULL;
3775 }
3776 }
cf694132 3777{
474c48f9 3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3779 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
cf694132 3780
474c48f9 3781 wxPyEndAllowThreads(__tstate);
4dfaa61e 3782 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3783} if (_result) {
3784 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3785 _resultobj = Py_BuildValue("s",_ptemp);
3786 } else {
3787 Py_INCREF(Py_None);
3788 _resultobj = Py_None;
3789 }
8ab979d7
RD
3790 return _resultobj;
3791}
3792
cd096152
RD
3793#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3794static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3795 PyObject * _resultobj;
cd096152
RD
3796 bool _result;
3797 wxPyListCtrl * _arg0;
8ab979d7 3798 long _arg1;
cd096152 3799 wxPoint * _arg2;
1d99702e 3800 PyObject * _argo0 = 0;
cd096152
RD
3801 wxPoint temp;
3802 PyObject * _obj2 = 0;
3803 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
3804
3805 self = self;
cd096152 3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3807 return NULL;
1d99702e
RD
3808 if (_argo0) {
3809 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3812 return NULL;
3813 }
3814 }
cd096152
RD
3815{
3816 _arg2 = &temp;
3817 if (! wxPoint_helper(_obj2, &_arg2))
3818 return NULL;
3819}
cf694132 3820{
474c48f9 3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3822 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
cf694132 3823
474c48f9 3824 wxPyEndAllowThreads(__tstate);
4dfaa61e 3825 if (PyErr_Occurred()) return NULL;
cf694132 3826} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3827 return _resultobj;
3828}
3829
3830#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3831static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3832 PyObject * _resultobj;
3833 int _result;
cd096152 3834 wxPyListCtrl * _arg0;
1d99702e 3835 PyObject * _argo0 = 0;
efc5f224 3836 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3837
3838 self = self;
efc5f224 3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3840 return NULL;
1d99702e
RD
3841 if (_argo0) {
3842 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3845 return NULL;
3846 }
3847 }
cf694132 3848{
474c48f9 3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3850 _result = (int )wxListCtrl_GetItemCount(_arg0);
3851
474c48f9 3852 wxPyEndAllowThreads(__tstate);
4dfaa61e 3853 if (PyErr_Occurred()) return NULL;
cf694132 3854} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3855 return _resultobj;
3856}
3857
cd096152
RD
3858#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3859static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3860 PyObject * _resultobj;
3861 int _result;
3862 wxPyListCtrl * _arg0;
3863 PyObject * _argo0 = 0;
3864 char *_kwnames[] = { "self", NULL };
3865
3866 self = self;
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
3868 return NULL;
3869 if (_argo0) {
3870 if (_argo0 == Py_None) { _arg0 = NULL; }
3871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3873 return NULL;
3874 }
3875 }
3876{
474c48f9 3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
3878 _result = (int )wxListCtrl_GetColumnCount(_arg0);
3879
474c48f9 3880 wxPyEndAllowThreads(__tstate);
cd096152
RD
3881 if (PyErr_Occurred()) return NULL;
3882} _resultobj = Py_BuildValue("i",_result);
3883 return _resultobj;
3884}
3885
8ab979d7 3886#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
efc5f224 3887static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3888 PyObject * _resultobj;
3889 int _result;
cd096152 3890 wxPyListCtrl * _arg0;
8ab979d7 3891 bool _arg1;
1d99702e 3892 PyObject * _argo0 = 0;
8ab979d7 3893 int tempbool1;
efc5f224 3894 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3895
3896 self = self;
efc5f224 3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3898 return NULL;
1d99702e
RD
3899 if (_argo0) {
3900 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3903 return NULL;
3904 }
3905 }
3906 _arg1 = (bool ) tempbool1;
cf694132 3907{
474c48f9 3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3909 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
3910
474c48f9 3911 wxPyEndAllowThreads(__tstate);
4dfaa61e 3912 if (PyErr_Occurred()) return NULL;
cf694132 3913} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3914 return _resultobj;
3915}
3916
cd096152
RD
3917#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3918static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3919 PyObject * _resultobj;
cd096152
RD
3920 int _result;
3921 wxPyListCtrl * _arg0;
1d99702e 3922 PyObject * _argo0 = 0;
cd096152 3923 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3924
3925 self = self;
cd096152 3926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3927 return NULL;
1d99702e
RD
3928 if (_argo0) {
3929 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3932 return NULL;
3933 }
3934 }
8ab979d7 3935{
474c48f9 3936 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3937 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
cf694132 3938
474c48f9 3939 wxPyEndAllowThreads(__tstate);
4dfaa61e 3940 if (PyErr_Occurred()) return NULL;
cd096152 3941} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3942 return _resultobj;
3943}
3944
cd096152
RD
3945#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3946static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3947 PyObject * _resultobj;
cd096152
RD
3948 wxColour * _result;
3949 wxPyListCtrl * _arg0;
1d99702e 3950 PyObject * _argo0 = 0;
cd096152
RD
3951 char *_kwnames[] = { "self", NULL };
3952 char _ptemp[128];
8ab979d7
RD
3953
3954 self = self;
cd096152 3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
8ab979d7 3956 return NULL;
1d99702e
RD
3957 if (_argo0) {
3958 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3961 return NULL;
3962 }
3963 }
cf694132 3964{
474c48f9 3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 3966 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
cf694132 3967
474c48f9 3968 wxPyEndAllowThreads(__tstate);
4dfaa61e 3969 if (PyErr_Occurred()) return NULL;
cd096152
RD
3970} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3971 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
3972 return _resultobj;
3973}
3974
cd096152
RD
3975#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3976static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3977 PyObject * _resultobj;
cd096152
RD
3978 wxPyListCtrl * _arg0;
3979 wxColour * _arg1;
1d99702e 3980 PyObject * _argo0 = 0;
cd096152
RD
3981 wxColour temp;
3982 PyObject * _obj1 = 0;
3983 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3984
3985 self = self;
cd096152 3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 3987 return NULL;
1d99702e
RD
3988 if (_argo0) {
3989 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
3990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
8ab979d7
RD
3992 return NULL;
3993 }
3994 }
cd096152
RD
3995{
3996 _arg1 = &temp;
3997 if (! wxColour_helper(_obj1, &_arg1))
3998 return NULL;
3999}
cf694132 4000{
474c48f9 4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4002 wxListCtrl_SetTextColour(_arg0,*_arg1);
cf694132 4003
474c48f9 4004 wxPyEndAllowThreads(__tstate);
4dfaa61e 4005 if (PyErr_Occurred()) return NULL;
cd096152
RD
4006} Py_INCREF(Py_None);
4007 _resultobj = Py_None;
8ab979d7
RD
4008 return _resultobj;
4009}
4010
8ab979d7 4011#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 4012static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4013 PyObject * _resultobj;
4014 long _result;
cd096152 4015 wxPyListCtrl * _arg0;
1d99702e 4016 PyObject * _argo0 = 0;
efc5f224 4017 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4018
4019 self = self;
efc5f224 4020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 4021 return NULL;
1d99702e
RD
4022 if (_argo0) {
4023 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4026 return NULL;
4027 }
4028 }
cf694132 4029{
474c48f9 4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4031 _result = (long )wxListCtrl_GetTopItem(_arg0);
4032
474c48f9 4033 wxPyEndAllowThreads(__tstate);
4dfaa61e 4034 if (PyErr_Occurred()) return NULL;
cf694132 4035} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4036 return _resultobj;
4037}
4038
cd096152
RD
4039#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4040static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject * _resultobj;
4042 wxPyListCtrl * _arg0;
4043 long _arg1;
4044 bool _arg2 = (bool ) TRUE;
1d99702e 4045 PyObject * _argo0 = 0;
cd096152
RD
4046 int tempbool2 = (int) TRUE;
4047 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
4048
4049 self = self;
cd096152
RD
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
4051 return NULL;
4052 if (_argo0) {
4053 if (_argo0 == Py_None) { _arg0 = NULL; }
4054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4056 return NULL;
4057 }
4058 }
4059 _arg2 = (bool ) tempbool2;
8ab979d7 4060{
474c48f9 4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4062 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
4063
474c48f9 4064 wxPyEndAllowThreads(__tstate);
cd096152
RD
4065 if (PyErr_Occurred()) return NULL;
4066} Py_INCREF(Py_None);
4067 _resultobj = Py_None;
4068 return _resultobj;
8ab979d7 4069}
cd096152
RD
4070
4071#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4072static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
4073 PyObject * _resultobj;
4074 wxPyListCtrl * _arg0;
4075 long _arg1;
4076 PyObject * _argo0 = 0;
4077 char *_kwnames[] = { "self","style", NULL };
4078
4079 self = self;
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 4081 return NULL;
1d99702e
RD
4082 if (_argo0) {
4083 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4086 return NULL;
4087 }
4088 }
2f90df85 4089{
474c48f9 4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4091 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
4092
474c48f9 4093 wxPyEndAllowThreads(__tstate);
cd096152
RD
4094 if (PyErr_Occurred()) return NULL;
4095} Py_INCREF(Py_None);
4096 _resultobj = Py_None;
4097 return _resultobj;
2f90df85 4098}
cd096152
RD
4099
4100#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4101static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject * _resultobj;
4103 long _result;
4104 wxPyListCtrl * _arg0;
4105 long _arg1;
4106 int _arg2 = (int ) (wxLIST_NEXT_ALL);
4107 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
4108 PyObject * _argo0 = 0;
4109 char *_kwnames[] = { "self","item","geometry","state", NULL };
4110
4111 self = self;
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4113 return NULL;
4114 if (_argo0) {
4115 if (_argo0 == Py_None) { _arg0 = NULL; }
4116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4118 return NULL;
4119 }
4120 }
cf694132 4121{
474c48f9 4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4123 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
cf694132 4124
474c48f9 4125 wxPyEndAllowThreads(__tstate);
4dfaa61e 4126 if (PyErr_Occurred()) return NULL;
cf694132 4127} _resultobj = Py_BuildValue("l",_result);
cd096152 4128 return _resultobj;
8ab979d7 4129}
cd096152
RD
4130
4131#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4132static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject * _resultobj;
4134 wxImageList * _result;
4135 wxPyListCtrl * _arg0;
4136 int _arg1;
4137 PyObject * _argo0 = 0;
4138 char *_kwnames[] = { "self","which", NULL };
4139
4140 self = self;
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
4142 return NULL;
4143 if (_argo0) {
4144 if (_argo0 == Py_None) { _arg0 = NULL; }
4145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4147 return NULL;
4148 }
4149 }
4150{
474c48f9 4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4152 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
4153
474c48f9 4154 wxPyEndAllowThreads(__tstate);
cd096152
RD
4155 if (PyErr_Occurred()) return NULL;
4156}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
4157 return _resultobj;
4158}
4159
cd096152
RD
4160#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4161static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4162 PyObject * _resultobj;
cd096152
RD
4163 wxPyListCtrl * _arg0;
4164 wxImageList * _arg1;
4165 int _arg2;
1d99702e 4166 PyObject * _argo0 = 0;
cd096152
RD
4167 PyObject * _argo1 = 0;
4168 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4169
4170 self = self;
cd096152 4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4172 return NULL;
1d99702e
RD
4173 if (_argo0) {
4174 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4177 return NULL;
4178 }
4179 }
cd096152
RD
4180 if (_argo1) {
4181 if (_argo1 == Py_None) { _arg1 = NULL; }
4182 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4183 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
8ab979d7
RD
4184 return NULL;
4185 }
4186 }
cf694132 4187{
474c48f9 4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4189 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
cf694132 4190
474c48f9 4191 wxPyEndAllowThreads(__tstate);
4dfaa61e 4192 if (PyErr_Occurred()) return NULL;
cd096152
RD
4193} Py_INCREF(Py_None);
4194 _resultobj = Py_None;
8ab979d7
RD
4195 return _resultobj;
4196}
4197
cd096152
RD
4198#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4199static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4200 PyObject * _resultobj;
cd096152
RD
4201 wxPyListCtrl * _arg0;
4202 wxImageList * _arg1;
4203 int _arg2;
1d99702e 4204 PyObject * _argo0 = 0;
cd096152
RD
4205 PyObject * _argo1 = 0;
4206 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4207
4208 self = self;
cd096152 4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4210 return NULL;
1d99702e
RD
4211 if (_argo0) {
4212 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4215 return NULL;
4216 }
4217 }
cd096152
RD
4218 if (_argo1) {
4219 if (_argo1 == Py_None) { _arg1 = NULL; }
4220 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4221 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2cd2fac8 4222 return NULL;
cd096152 4223 }
2cd2fac8 4224 }
cd096152 4225{
474c48f9 4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4227 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
4228
474c48f9 4229 wxPyEndAllowThreads(__tstate);
cd096152
RD
4230 if (PyErr_Occurred()) return NULL;
4231} Py_INCREF(Py_None);
4232 _resultobj = Py_None;
4233 return _resultobj;
4234}
4235
4236#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4237static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject * _resultobj;
4239 bool _result;
4240 wxPyListCtrl * _arg0;
4241 PyObject * _argo0 = 0;
4242 char *_kwnames[] = { "self", NULL };
4243
4244 self = self;
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
2cd2fac8 4246 return NULL;
cd096152
RD
4247 if (_argo0) {
4248 if (_argo0 == Py_None) { _arg0 = NULL; }
4249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
8ab979d7 4251 return NULL;
cd096152 4252 }
8ab979d7 4253 }
cf694132 4254{
474c48f9 4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4256 _result = (bool )wxListCtrl_IsVirtual(_arg0);
cf694132 4257
474c48f9 4258 wxPyEndAllowThreads(__tstate);
4dfaa61e 4259 if (PyErr_Occurred()) return NULL;
cd096152
RD
4260} _resultobj = Py_BuildValue("i",_result);
4261 return _resultobj;
8ab979d7 4262}
cd096152
RD
4263
4264#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4265static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4266 PyObject * _resultobj;
4267 wxPyListCtrl * _arg0;
4268 long _arg1;
4269 PyObject * _argo0 = 0;
4270 char *_kwnames[] = { "self","item", NULL };
4271
4272 self = self;
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
4274 return NULL;
4275 if (_argo0) {
4276 if (_argo0 == Py_None) { _arg0 = NULL; }
4277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4279 return NULL;
4280 }
4281 }
4282{
474c48f9 4283 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4284 wxListCtrl_RefreshItem(_arg0,_arg1);
4285
474c48f9 4286 wxPyEndAllowThreads(__tstate);
cd096152
RD
4287 if (PyErr_Occurred()) return NULL;
4288} Py_INCREF(Py_None);
4289 _resultobj = Py_None;
8ab979d7
RD
4290 return _resultobj;
4291}
4292
cd096152
RD
4293#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4294static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4295 PyObject * _resultobj;
cd096152
RD
4296 wxPyListCtrl * _arg0;
4297 long _arg1;
4298 long _arg2;
1d99702e 4299 PyObject * _argo0 = 0;
cd096152 4300 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
8ab979d7
RD
4301
4302 self = self;
cd096152 4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4304 return NULL;
1d99702e
RD
4305 if (_argo0) {
4306 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4309 return NULL;
4310 }
4311 }
cd096152 4312{
474c48f9 4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4314 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
4315
474c48f9 4316 wxPyEndAllowThreads(__tstate);
cd096152
RD
4317 if (PyErr_Occurred()) return NULL;
4318} Py_INCREF(Py_None);
4319 _resultobj = Py_None;
4320 return _resultobj;
4321}
4322
4323#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4324static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
4325 PyObject * _resultobj;
4326 bool _result;
4327 wxPyListCtrl * _arg0;
4328 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
4329 PyObject * _argo0 = 0;
4330 char *_kwnames[] = { "self","flag", NULL };
4331
4332 self = self;
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
4334 return NULL;
4335 if (_argo0) {
4336 if (_argo0 == Py_None) { _arg0 = NULL; }
4337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4339 return NULL;
4340 }
4341 }
cf694132 4342{
474c48f9 4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4344 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
cf694132 4345
474c48f9 4346 wxPyEndAllowThreads(__tstate);
4dfaa61e 4347 if (PyErr_Occurred()) return NULL;
cd096152 4348} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4349 return _resultobj;
4350}
4351
cd096152
RD
4352#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4353static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4354 PyObject * _resultobj;
cd096152
RD
4355 bool _result;
4356 wxPyListCtrl * _arg0;
8ab979d7 4357 long _arg1;
1d99702e 4358 PyObject * _argo0 = 0;
cd096152 4359 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4360
4361 self = self;
cd096152 4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4363 return NULL;
1d99702e
RD
4364 if (_argo0) {
4365 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4368 return NULL;
4369 }
4370 }
4371{
474c48f9 4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4373 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
4374
474c48f9 4375 wxPyEndAllowThreads(__tstate);
cd096152
RD
4376 if (PyErr_Occurred()) return NULL;
4377} _resultobj = Py_BuildValue("i",_result);
4378 return _resultobj;
4379}
4380
4381#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4382static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4383 PyObject * _resultobj;
4384 bool _result;
4385 wxPyListCtrl * _arg0;
4386 PyObject * _argo0 = 0;
4387 char *_kwnames[] = { "self", NULL };
4388
4389 self = self;
4390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4391 return NULL;
4392 if (_argo0) {
4393 if (_argo0 == Py_None) { _arg0 = NULL; }
4394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
2cd2fac8 4396 return NULL;
cd096152 4397 }
2cd2fac8 4398 }
cd096152 4399{
474c48f9 4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4401 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
4402
474c48f9 4403 wxPyEndAllowThreads(__tstate);
cd096152
RD
4404 if (PyErr_Occurred()) return NULL;
4405} _resultobj = Py_BuildValue("i",_result);
4406 return _resultobj;
4407}
4408
4409#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4410static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4411 PyObject * _resultobj;
4412 bool _result;
4413 wxPyListCtrl * _arg0;
4414 int _arg1;
4415 PyObject * _argo0 = 0;
4416 char *_kwnames[] = { "self","col", NULL };
4417
4418 self = self;
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
2cd2fac8 4420 return NULL;
cd096152
RD
4421 if (_argo0) {
4422 if (_argo0 == Py_None) { _arg0 = NULL; }
4423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4425 return NULL;
4426 }
4427 }
4428{
474c48f9 4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4430 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
4431
474c48f9 4432 wxPyEndAllowThreads(__tstate);
cd096152
RD
4433 if (PyErr_Occurred()) return NULL;
4434} _resultobj = Py_BuildValue("i",_result);
4435 return _resultobj;
4436}
4437
4438#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4439static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject * _resultobj;
4441 bool _result;
4442 wxPyListCtrl * _arg0;
4443 PyObject * _argo0 = 0;
4444 char *_kwnames[] = { "self", NULL };
4445
4446 self = self;
4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
4448 return NULL;
4449 if (_argo0) {
4450 if (_argo0 == Py_None) { _arg0 = NULL; }
4451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4453 return NULL;
4454 }
4455 }
4456{
474c48f9 4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152
RD
4458 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
4459
474c48f9 4460 wxPyEndAllowThreads(__tstate);
cd096152
RD
4461 if (PyErr_Occurred()) return NULL;
4462} _resultobj = Py_BuildValue("i",_result);
4463 return _resultobj;
4464}
4465
4466#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4467static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4468 PyObject * _resultobj;
4469 wxPyListCtrl * _arg0;
4470 PyObject * _argo0 = 0;
4471 char *_kwnames[] = { "self", NULL };
4472
4473 self = self;
4474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
8ab979d7 4475 return NULL;
cd096152
RD
4476 if (_argo0) {
4477 if (_argo0 == Py_None) { _arg0 = NULL; }
4478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4480 return NULL;
4481 }
8ab979d7 4482 }
cf694132 4483{
474c48f9 4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4485 wxListCtrl_ClearAll(_arg0);
cf694132 4486
474c48f9 4487 wxPyEndAllowThreads(__tstate);
4dfaa61e 4488 if (PyErr_Occurred()) return NULL;
cd096152
RD
4489} Py_INCREF(Py_None);
4490 _resultobj = Py_None;
8ab979d7
RD
4491 return _resultobj;
4492}
4493
cd096152
RD
4494#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4495static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4496 PyObject * _resultobj;
cd096152
RD
4497 bool _result;
4498 wxPyListCtrl * _arg0;
8ab979d7 4499 long _arg1;
1d99702e 4500 PyObject * _argo0 = 0;
cd096152 4501 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
4502
4503 self = self;
cd096152 4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
8ab979d7 4505 return NULL;
1d99702e
RD
4506 if (_argo0) {
4507 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4510 return NULL;
4511 }
4512 }
cf694132 4513{
474c48f9 4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4515 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
cf694132 4516
474c48f9 4517 wxPyEndAllowThreads(__tstate);
4dfaa61e 4518 if (PyErr_Occurred()) return NULL;
cd096152 4519} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4520 return _resultobj;
4521}
4522
cd096152
RD
4523#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4524static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4525 PyObject * _resultobj;
4526 long _result;
cd096152 4527 wxPyListCtrl * _arg0;
8ab979d7
RD
4528 long _arg1;
4529 wxString * _arg2;
cd096152 4530 bool _arg3 = (bool ) FALSE;
1d99702e 4531 PyObject * _argo0 = 0;
8ab979d7 4532 PyObject * _obj2 = 0;
cd096152
RD
4533 int tempbool3 = (int) FALSE;
4534 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
4535
4536 self = self;
cd096152 4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 4538 return NULL;
1d99702e
RD
4539 if (_argo0) {
4540 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4543 return NULL;
4544 }
4545 }
4546{
2cd2fac8
RD
4547#if PYTHON_API_VERSION >= 1009
4548 char* tmpPtr; int tmpSize;
4549 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 4550 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4551 return NULL;
4552 }
4553 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4554 return NULL;
4555 _arg2 = new wxString(tmpPtr, tmpSize);
4556#else
8ab979d7
RD
4557 if (!PyString_Check(_obj2)) {
4558 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4559 return NULL;
4560 }
2cd2fac8
RD
4561 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4562#endif
8ab979d7 4563}
cd096152 4564 _arg3 = (bool ) tempbool3;
cf694132 4565{
474c48f9 4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4567 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4568
474c48f9 4569 wxPyEndAllowThreads(__tstate);
4dfaa61e 4570 if (PyErr_Occurred()) return NULL;
cf694132 4571} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4572{
4573 if (_obj2)
4574 delete _arg2;
4575}
4576 return _resultobj;
4577}
4578
cd096152
RD
4579#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4580static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4581 PyObject * _resultobj;
cd096152
RD
4582 long _result;
4583 wxPyListCtrl * _arg0;
4584 long _arg1;
4585 long _arg2;
1d99702e 4586 PyObject * _argo0 = 0;
cd096152 4587 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
4588
4589 self = self;
cd096152 4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4591 return NULL;
1d99702e
RD
4592 if (_argo0) {
4593 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4596 return NULL;
4597 }
4598 }
cf694132 4599{
474c48f9 4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4601 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
cf694132 4602
474c48f9 4603 wxPyEndAllowThreads(__tstate);
4dfaa61e 4604 if (PyErr_Occurred()) return NULL;
cd096152 4605} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4606 return _resultobj;
4607}
4608
cd096152
RD
4609#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4610static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4611 PyObject * _resultobj;
cd096152
RD
4612 long _result;
4613 wxPyListCtrl * _arg0;
4614 long _arg1;
4615 wxPoint * _arg2;
4616 int _arg3;
1d99702e 4617 PyObject * _argo0 = 0;
cd096152
RD
4618 wxPoint temp;
4619 PyObject * _obj2 = 0;
4620 char *_kwnames[] = { "self","start","pt","direction", NULL };
8ab979d7
RD
4621
4622 self = self;
cd096152 4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4624 return NULL;
1d99702e
RD
4625 if (_argo0) {
4626 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4629 return NULL;
4630 }
4631 }
f6bcfd97 4632{
cd096152
RD
4633 _arg2 = &temp;
4634 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 4635 return NULL;
f6bcfd97 4636}
cf694132 4637{
474c48f9 4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4639 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
cf694132 4640
474c48f9 4641 wxPyEndAllowThreads(__tstate);
4dfaa61e 4642 if (PyErr_Occurred()) return NULL;
cd096152 4643} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4644 return _resultobj;
4645}
4646
cd096152
RD
4647#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4648static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4649 PyObject * _resultobj;
cd096152
RD
4650 long _result;
4651 wxPyListCtrl * _arg0;
4652 wxPoint * _arg1;
4653 int * _arg2;
4654 int temp;
1d99702e 4655 PyObject * _argo0 = 0;
cd096152
RD
4656 wxPoint temp0;
4657 PyObject * _obj1 = 0;
4658 char *_kwnames[] = { "self","point", NULL };
8ab979d7
RD
4659
4660 self = self;
cf694132 4661{
cd096152 4662 _arg2 = &temp;
8ab979d7 4663}
cd096152 4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
8ab979d7 4665 return NULL;
1d99702e
RD
4666 if (_argo0) {
4667 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4670 return NULL;
4671 }
4672 }
cf694132 4673{
cd096152
RD
4674 _arg1 = &temp0;
4675 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 4676 return NULL;
cd096152 4677}
cf694132 4678{
474c48f9 4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4680 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
cf694132 4681
474c48f9 4682 wxPyEndAllowThreads(__tstate);
4dfaa61e 4683 if (PyErr_Occurred()) return NULL;
cd096152
RD
4684} _resultobj = Py_BuildValue("l",_result);
4685{
4686 PyObject *o;
4687 o = PyInt_FromLong((long) (*_arg2));
4688 _resultobj = t_output_helper(_resultobj, o);
4689}
8ab979d7
RD
4690 return _resultobj;
4691}
4692
cd096152
RD
4693#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4694static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4695 PyObject * _resultobj;
cd096152
RD
4696 long _result;
4697 wxPyListCtrl * _arg0;
8ab979d7 4698 wxListItem * _arg1;
1d99702e
RD
4699 PyObject * _argo0 = 0;
4700 PyObject * _argo1 = 0;
efc5f224 4701 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
4702
4703 self = self;
cd096152 4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
8ab979d7 4705 return NULL;
1d99702e
RD
4706 if (_argo0) {
4707 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4710 return NULL;
4711 }
4712 }
1d99702e
RD
4713 if (_argo1) {
4714 if (_argo1 == Py_None) { _arg1 = NULL; }
4715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
cd096152 4716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
8ab979d7
RD
4717 return NULL;
4718 }
4719 }
cf694132 4720{
474c48f9 4721 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4722 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
cf694132 4723
474c48f9 4724 wxPyEndAllowThreads(__tstate);
4dfaa61e 4725 if (PyErr_Occurred()) return NULL;
cd096152 4726} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4727 return _resultobj;
4728}
4729
cd096152
RD
4730#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4731static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4732 PyObject * _resultobj;
4733 long _result;
cd096152 4734 wxPyListCtrl * _arg0;
8ab979d7 4735 long _arg1;
cd096152 4736 wxString * _arg2;
1d99702e 4737 PyObject * _argo0 = 0;
cd096152
RD
4738 PyObject * _obj2 = 0;
4739 char *_kwnames[] = { "self","index","label", NULL };
8ab979d7
RD
4740
4741 self = self;
cd096152 4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 4743 return NULL;
1d99702e
RD
4744 if (_argo0) {
4745 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4748 return NULL;
4749 }
4750 }
4751{
2cd2fac8
RD
4752#if PYTHON_API_VERSION >= 1009
4753 char* tmpPtr; int tmpSize;
cd096152 4754 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 4755 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4756 return NULL;
4757 }
cd096152 4758 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2cd2fac8 4759 return NULL;
cd096152 4760 _arg2 = new wxString(tmpPtr, tmpSize);
2cd2fac8 4761#else
cd096152 4762 if (!PyString_Check(_obj2)) {
8ab979d7
RD
4763 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4764 return NULL;
4765 }
cd096152 4766 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2cd2fac8 4767#endif
8ab979d7 4768}
cf694132 4769{
474c48f9 4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4771 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
cf694132 4772
474c48f9 4773 wxPyEndAllowThreads(__tstate);
4dfaa61e 4774 if (PyErr_Occurred()) return NULL;
cf694132 4775} _resultobj = Py_BuildValue("l",_result);
8ab979d7 4776{
cd096152
RD
4777 if (_obj2)
4778 delete _arg2;
4779}
8ab979d7
RD
4780 return _resultobj;
4781}
4782
cd096152
RD
4783#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4784static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4785 PyObject * _resultobj;
cd096152
RD
4786 long _result;
4787 wxPyListCtrl * _arg0;
8ab979d7
RD
4788 long _arg1;
4789 int _arg2;
1d99702e 4790 PyObject * _argo0 = 0;
cd096152 4791 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
4792
4793 self = self;
cd096152 4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4795 return NULL;
1d99702e
RD
4796 if (_argo0) {
4797 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4800 return NULL;
4801 }
4802 }
cf694132 4803{
474c48f9 4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4805 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
cf694132 4806
474c48f9 4807 wxPyEndAllowThreads(__tstate);
4dfaa61e 4808 if (PyErr_Occurred()) return NULL;
cd096152 4809} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4810 return _resultobj;
4811}
4812
cd096152
RD
4813#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4814static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4815 PyObject * _resultobj;
cd096152
RD
4816 long _result;
4817 wxPyListCtrl * _arg0;
8ab979d7 4818 long _arg1;
cd096152
RD
4819 wxString * _arg2;
4820 int _arg3;
1d99702e 4821 PyObject * _argo0 = 0;
2f90df85 4822 PyObject * _obj2 = 0;
cd096152 4823 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
4824
4825 self = self;
cd096152 4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 4827 return NULL;
1d99702e
RD
4828 if (_argo0) {
4829 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4832 return NULL;
4833 }
4834 }
2f90df85 4835{
cd096152
RD
4836#if PYTHON_API_VERSION >= 1009
4837 char* tmpPtr; int tmpSize;
4838 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4839 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4840 return NULL;
4841 }
4842 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4843 return NULL;
4844 _arg2 = new wxString(tmpPtr, tmpSize);
4845#else
4846 if (!PyString_Check(_obj2)) {
4847 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 4848 return NULL;
cd096152
RD
4849 }
4850 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4851#endif
2f90df85 4852}
cf694132 4853{
474c48f9 4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4855 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
cf694132 4856
474c48f9 4857 wxPyEndAllowThreads(__tstate);
4dfaa61e 4858 if (PyErr_Occurred()) return NULL;
cd096152
RD
4859} _resultobj = Py_BuildValue("l",_result);
4860{
4861 if (_obj2)
4862 delete _arg2;
4863}
8ab979d7
RD
4864 return _resultobj;
4865}
4866
cd096152
RD
4867#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4868static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4869 PyObject * _resultobj;
cd096152
RD
4870 long _result;
4871 wxPyListCtrl * _arg0;
8ab979d7 4872 long _arg1;
cd096152 4873 wxListItem * _arg2;
1d99702e 4874 PyObject * _argo0 = 0;
cd096152
RD
4875 PyObject * _argo2 = 0;
4876 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
4877
4878 self = self;
cd096152 4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4880 return NULL;
1d99702e
RD
4881 if (_argo0) {
4882 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4885 return NULL;
4886 }
4887 }
4888 if (_argo2) {
4889 if (_argo2 == Py_None) { _arg2 = NULL; }
4890 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
4891 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
4892 return NULL;
4893 }
4894 }
cf694132 4895{
474c48f9 4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4897 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132 4898
474c48f9 4899 wxPyEndAllowThreads(__tstate);
4dfaa61e 4900 if (PyErr_Occurred()) return NULL;
cd096152 4901} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4902 return _resultobj;
4903}
4904
cd096152
RD
4905#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4906static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4907 PyObject * _resultobj;
cd096152
RD
4908 long _result;
4909 wxPyListCtrl * _arg0;
8ab979d7
RD
4910 long _arg1;
4911 wxString * _arg2;
cd096152
RD
4912 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
4913 int _arg4 = (int ) -1;
1d99702e 4914 PyObject * _argo0 = 0;
8ab979d7 4915 PyObject * _obj2 = 0;
cd096152 4916 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
4917
4918 self = self;
cd096152 4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 4920 return NULL;
1d99702e
RD
4921 if (_argo0) {
4922 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4925 return NULL;
4926 }
4927 }
4928{
2cd2fac8
RD
4929#if PYTHON_API_VERSION >= 1009
4930 char* tmpPtr; int tmpSize;
4931 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 4932 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4933 return NULL;
4934 }
4935 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4936 return NULL;
4937 _arg2 = new wxString(tmpPtr, tmpSize);
4938#else
8ab979d7
RD
4939 if (!PyString_Check(_obj2)) {
4940 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4941 return NULL;
4942 }
2cd2fac8
RD
4943 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4944#endif
8ab979d7 4945}
cf694132 4946{
474c48f9 4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4948 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
cf694132 4949
474c48f9 4950 wxPyEndAllowThreads(__tstate);
4dfaa61e 4951 if (PyErr_Occurred()) return NULL;
cd096152 4952} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4953{
4954 if (_obj2)
4955 delete _arg2;
4956}
4957 return _resultobj;
4958}
4959
cd096152
RD
4960#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4961static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4962 PyObject * _resultobj;
cd096152 4963 wxPyListCtrl * _arg0;
8ab979d7 4964 long _arg1;
1d99702e 4965 PyObject * _argo0 = 0;
cd096152 4966 char *_kwnames[] = { "self","count", NULL };
8ab979d7
RD
4967
4968 self = self;
cd096152 4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
8ab979d7 4970 return NULL;
1d99702e
RD
4971 if (_argo0) {
4972 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
4973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
8ab979d7
RD
4975 return NULL;
4976 }
4977 }
cf694132 4978{
474c48f9 4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 4980 wxListCtrl_SetItemCount(_arg0,_arg1);
cf694132 4981
474c48f9 4982 wxPyEndAllowThreads(__tstate);
4dfaa61e 4983 if (PyErr_Occurred()) return NULL;
cf694132 4984} Py_INCREF(Py_None);
8ab979d7
RD
4985 _resultobj = Py_None;
4986 return _resultobj;
4987}
4988
cd096152
RD
4989#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4990static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4991 PyObject * _resultobj;
cd096152
RD
4992 bool _result;
4993 wxPyListCtrl * _arg0;
4994 int _arg1;
4995 int _arg2;
1d99702e 4996 PyObject * _argo0 = 0;
cd096152 4997 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
4998
4999 self = self;
cd096152 5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5001 return NULL;
1d99702e
RD
5002 if (_argo0) {
5003 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
5004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
8ab979d7
RD
5006 return NULL;
5007 }
5008 }
cf694132 5009{
474c48f9 5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 5011 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
cf694132 5012
474c48f9 5013 wxPyEndAllowThreads(__tstate);
4dfaa61e 5014 if (PyErr_Occurred()) return NULL;
cd096152 5015} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5016 return _resultobj;
5017}
5018
cd096152 5019static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
dcd38683
RD
5020 if (!PyCallable_Check(func))
5021 return FALSE;
f6bcfd97 5022 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
5023 }
5024static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5025 PyObject * _resultobj;
5026 bool _result;
cd096152 5027 wxPyListCtrl * _arg0;
dcd38683
RD
5028 PyObject * _arg1;
5029 PyObject * _argo0 = 0;
5030 PyObject * _obj1 = 0;
5031 char *_kwnames[] = { "self","func", NULL };
5032
5033 self = self;
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
5035 return NULL;
5036 if (_argo0) {
5037 if (_argo0 == Py_None) { _arg0 = NULL; }
cd096152
RD
5038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
dcd38683
RD
5040 return NULL;
5041 }
5042 }
5043{
5044 _arg1 = _obj1;
5045}
5046{
474c48f9 5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
cd096152 5048 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
dcd38683 5049
474c48f9 5050 wxPyEndAllowThreads(__tstate);
4dfaa61e 5051 if (PyErr_Occurred()) return NULL;
dcd38683
RD
5052} _resultobj = Py_BuildValue("i",_result);
5053 return _resultobj;
5054}
5055
059a841c
RD
5056static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5057 wxListView *src;
5058 wxPyListCtrl *dest;
5059 src = (wxListView *) ptr;
5060 dest = (wxPyListCtrl *) src;
5061 return (void *) dest;
5062}
5063
5064static void *SwigwxListViewTowxControl(void *ptr) {
5065 wxListView *src;
5066 wxControl *dest;
5067 src = (wxListView *) ptr;
5068 dest = (wxControl *) src;
5069 return (void *) dest;
5070}
5071
5072static void *SwigwxListViewTowxWindow(void *ptr) {
5073 wxListView *src;
5074 wxWindow *dest;
5075 src = (wxListView *) ptr;
5076 dest = (wxWindow *) src;
5077 return (void *) dest;
5078}
5079
5080static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5081 wxListView *src;
5082 wxEvtHandler *dest;
5083 src = (wxListView *) ptr;
5084 dest = (wxEvtHandler *) src;
5085 return (void *) dest;
5086}
5087
5088static void *SwigwxListViewTowxObject(void *ptr) {
5089 wxListView *src;
5090 wxObject *dest;
5091 src = (wxListView *) ptr;
5092 dest = (wxObject *) src;
5093 return (void *) dest;
5094}
5095
5096#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5097static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5098 PyObject * _resultobj;
5099 wxListView * _result;
5100 wxWindow * _arg0;
5101 wxWindowID _arg1 = (wxWindowID ) -1;
5102 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5103 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5104 long _arg4 = (long ) (wxLC_REPORT);
5105 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
5106 wxString * _arg6 = (wxString *) &"listctrl";
5107 PyObject * _argo0 = 0;
5108 wxPoint temp;
5109 PyObject * _obj2 = 0;
5110 wxSize temp0;
5111 PyObject * _obj3 = 0;
5112 PyObject * _argo5 = 0;
5113 PyObject * _obj6 = 0;
5114 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5115 char _ptemp[128];
5116
5117 self = self;
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5119 return NULL;
5120 if (_argo0) {
5121 if (_argo0 == Py_None) { _arg0 = NULL; }
5122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5124 return NULL;
5125 }
5126 }
5127 if (_obj2)
5128{
5129 _arg2 = &temp;
5130 if (! wxPoint_helper(_obj2, &_arg2))
5131 return NULL;
5132}
5133 if (_obj3)
5134{
5135 _arg3 = &temp0;
5136 if (! wxSize_helper(_obj3, &_arg3))
5137 return NULL;
5138}
5139 if (_argo5) {
5140 if (_argo5 == Py_None) { _arg5 = NULL; }
5141 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5142 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5143 return NULL;
5144 }
5145 }
5146 if (_obj6)
5147{
5148#if PYTHON_API_VERSION >= 1009
5149 char* tmpPtr; int tmpSize;
5150 if (!PyString_Check(_obj6) && !PyUnicode_Check(_obj6)) {
5151 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5152 return NULL;
5153 }
5154 if (PyString_AsStringAndSize(_obj6, &tmpPtr, &tmpSize) == -1)
5155 return NULL;
5156 _arg6 = new wxString(tmpPtr, tmpSize);
5157#else
5158 if (!PyString_Check(_obj6)) {
5159 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5160 return NULL;
5161 }
5162 _arg6 = new wxString(PyString_AS_STRING(_obj6), PyString_GET_SIZE(_obj6));
5163#endif
5164}
5165{
474c48f9 5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5167 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
5168
474c48f9 5169 wxPyEndAllowThreads(__tstate);
059a841c
RD
5170 if (PyErr_Occurred()) return NULL;
5171} if (_result) {
5172 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5173 _resultobj = Py_BuildValue("s",_ptemp);
5174 } else {
5175 Py_INCREF(Py_None);
5176 _resultobj = Py_None;
5177 }
5178{
5179 if (_obj6)
5180 delete _arg6;
5181}
5182 return _resultobj;
5183}
5184
5185#define new_wxPreListView() (new wxListView())
5186static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5187 PyObject * _resultobj;
5188 wxListView * _result;
5189 char *_kwnames[] = { NULL };
5190 char _ptemp[128];
5191
5192 self = self;
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5194 return NULL;
5195{
474c48f9 5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5197 _result = (wxListView *)new_wxPreListView();
5198
474c48f9 5199 wxPyEndAllowThreads(__tstate);
059a841c
RD
5200 if (PyErr_Occurred()) return NULL;
5201} if (_result) {
5202 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5203 _resultobj = Py_BuildValue("s",_ptemp);
5204 } else {
5205 Py_INCREF(Py_None);
5206 _resultobj = Py_None;
5207 }
5208 return _resultobj;
5209}
5210
5211#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5212static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject * _resultobj;
5214 bool _result;
5215 wxListView * _arg0;
5216 wxWindow * _arg1;
5217 wxWindowID _arg2 = (wxWindowID ) -1;
5218 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5219 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5220 long _arg5 = (long ) (wxLC_REPORT);
5221 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
5222 wxString * _arg7 = (wxString *) &"listctrl";
5223 PyObject * _argo0 = 0;
5224 PyObject * _argo1 = 0;
5225 wxPoint temp;
5226 PyObject * _obj3 = 0;
5227 wxSize temp0;
5228 PyObject * _obj4 = 0;
5229 PyObject * _argo6 = 0;
5230 PyObject * _obj7 = 0;
5231 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5232
5233 self = self;
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5235 return NULL;
5236 if (_argo0) {
5237 if (_argo0 == Py_None) { _arg0 = NULL; }
5238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5240 return NULL;
5241 }
5242 }
5243 if (_argo1) {
5244 if (_argo1 == Py_None) { _arg1 = NULL; }
5245 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5246 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5247 return NULL;
5248 }
5249 }
5250 if (_obj3)
5251{
5252 _arg3 = &temp;
5253 if (! wxPoint_helper(_obj3, &_arg3))
5254 return NULL;
5255}
5256 if (_obj4)
5257{
5258 _arg4 = &temp0;
5259 if (! wxSize_helper(_obj4, &_arg4))
5260 return NULL;
5261}
5262 if (_argo6) {
5263 if (_argo6 == Py_None) { _arg6 = NULL; }
5264 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5265 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5266 return NULL;
5267 }
5268 }
5269 if (_obj7)
5270{
5271#if PYTHON_API_VERSION >= 1009
5272 char* tmpPtr; int tmpSize;
5273 if (!PyString_Check(_obj7) && !PyUnicode_Check(_obj7)) {
5274 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5275 return NULL;
5276 }
5277 if (PyString_AsStringAndSize(_obj7, &tmpPtr, &tmpSize) == -1)
5278 return NULL;
5279 _arg7 = new wxString(tmpPtr, tmpSize);
5280#else
5281 if (!PyString_Check(_obj7)) {
5282 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5283 return NULL;
5284 }
5285 _arg7 = new wxString(PyString_AS_STRING(_obj7), PyString_GET_SIZE(_obj7));
5286#endif
5287}
5288{
474c48f9 5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5290 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
5291
474c48f9 5292 wxPyEndAllowThreads(__tstate);
059a841c
RD
5293 if (PyErr_Occurred()) return NULL;
5294} _resultobj = Py_BuildValue("i",_result);
5295{
5296 if (_obj7)
5297 delete _arg7;
5298}
5299 return _resultobj;
5300}
5301
5302#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5303static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5304 PyObject * _resultobj;
5305 wxListView * _arg0;
5306 long _arg1;
5307 bool _arg2 = (bool ) TRUE;
5308 PyObject * _argo0 = 0;
5309 int tempbool2 = (int) TRUE;
5310 char *_kwnames[] = { "self","n","on", NULL };
5311
5312 self = self;
5313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5314 return NULL;
5315 if (_argo0) {
5316 if (_argo0 == Py_None) { _arg0 = NULL; }
5317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5319 return NULL;
5320 }
5321 }
5322 _arg2 = (bool ) tempbool2;
5323{
474c48f9 5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5325 wxListView_Select(_arg0,_arg1,_arg2);
5326
474c48f9 5327 wxPyEndAllowThreads(__tstate);
059a841c
RD
5328 if (PyErr_Occurred()) return NULL;
5329} Py_INCREF(Py_None);
5330 _resultobj = Py_None;
5331 return _resultobj;
5332}
5333
5334#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5335static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject * _resultobj;
5337 wxListView * _arg0;
5338 long _arg1;
5339 PyObject * _argo0 = 0;
5340 char *_kwnames[] = { "self","index", NULL };
5341
5342 self = self;
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5344 return NULL;
5345 if (_argo0) {
5346 if (_argo0 == Py_None) { _arg0 = NULL; }
5347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5349 return NULL;
5350 }
5351 }
5352{
474c48f9 5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5354 wxListView_Focus(_arg0,_arg1);
5355
474c48f9 5356 wxPyEndAllowThreads(__tstate);
059a841c
RD
5357 if (PyErr_Occurred()) return NULL;
5358} Py_INCREF(Py_None);
5359 _resultobj = Py_None;
5360 return _resultobj;
5361}
5362
5363#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5364static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject * _resultobj;
5366 long _result;
5367 wxListView * _arg0;
5368 PyObject * _argo0 = 0;
5369 char *_kwnames[] = { "self", NULL };
5370
5371 self = self;
5372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5373 return NULL;
5374 if (_argo0) {
5375 if (_argo0 == Py_None) { _arg0 = NULL; }
5376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5378 return NULL;
5379 }
5380 }
5381{
474c48f9 5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5383 _result = (long )wxListView_GetFocusedItem(_arg0);
5384
474c48f9 5385 wxPyEndAllowThreads(__tstate);
059a841c
RD
5386 if (PyErr_Occurred()) return NULL;
5387} _resultobj = Py_BuildValue("l",_result);
5388 return _resultobj;
5389}
5390
5391#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5392static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5393 PyObject * _resultobj;
5394 long _result;
5395 wxListView * _arg0;
5396 long _arg1;
5397 PyObject * _argo0 = 0;
5398 char *_kwnames[] = { "self","item", NULL };
5399
5400 self = self;
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5402 return NULL;
5403 if (_argo0) {
5404 if (_argo0 == Py_None) { _arg0 = NULL; }
5405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5407 return NULL;
5408 }
5409 }
5410{
474c48f9 5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5412 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
5413
474c48f9 5414 wxPyEndAllowThreads(__tstate);
059a841c
RD
5415 if (PyErr_Occurred()) return NULL;
5416} _resultobj = Py_BuildValue("l",_result);
5417 return _resultobj;
5418}
5419
5420#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5421static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject * _resultobj;
5423 long _result;
5424 wxListView * _arg0;
5425 PyObject * _argo0 = 0;
5426 char *_kwnames[] = { "self", NULL };
5427
5428 self = self;
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5430 return NULL;
5431 if (_argo0) {
5432 if (_argo0 == Py_None) { _arg0 = NULL; }
5433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5435 return NULL;
5436 }
5437 }
5438{
474c48f9 5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5440 _result = (long )wxListView_GetFirstSelected(_arg0);
5441
474c48f9 5442 wxPyEndAllowThreads(__tstate);
059a841c
RD
5443 if (PyErr_Occurred()) return NULL;
5444} _resultobj = Py_BuildValue("l",_result);
5445 return _resultobj;
5446}
5447
5448#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5449static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject * _resultobj;
5451 bool _result;
5452 wxListView * _arg0;
5453 long _arg1;
5454 PyObject * _argo0 = 0;
5455 char *_kwnames[] = { "self","index", NULL };
5456
5457 self = self;
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5459 return NULL;
5460 if (_argo0) {
5461 if (_argo0 == Py_None) { _arg0 = NULL; }
5462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5464 return NULL;
5465 }
5466 }
5467{
474c48f9 5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5469 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
5470
474c48f9 5471 wxPyEndAllowThreads(__tstate);
059a841c
RD
5472 if (PyErr_Occurred()) return NULL;
5473} _resultobj = Py_BuildValue("i",_result);
5474 return _resultobj;
5475}
5476
5477#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5478static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5479 PyObject * _resultobj;
5480 wxListView * _arg0;
5481 int _arg1;
5482 int _arg2;
5483 PyObject * _argo0 = 0;
5484 char *_kwnames[] = { "self","col","image", NULL };
5485
5486 self = self;
5487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5488 return NULL;
5489 if (_argo0) {
5490 if (_argo0 == Py_None) { _arg0 = NULL; }
5491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5493 return NULL;
5494 }
5495 }
5496{
474c48f9 5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5498 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
5499
474c48f9 5500 wxPyEndAllowThreads(__tstate);
059a841c
RD
5501 if (PyErr_Occurred()) return NULL;
5502} Py_INCREF(Py_None);
5503 _resultobj = Py_None;
5504 return _resultobj;
5505}
5506
5507#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5508static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject * _resultobj;
5510 wxListView * _arg0;
5511 int _arg1;
5512 PyObject * _argo0 = 0;
5513 char *_kwnames[] = { "self","col", NULL };
5514
5515 self = self;
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5517 return NULL;
5518 if (_argo0) {
5519 if (_argo0 == Py_None) { _arg0 = NULL; }
5520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5522 return NULL;
5523 }
5524 }
5525{
474c48f9 5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
059a841c
RD
5527 wxListView_ClearColumnImage(_arg0,_arg1);
5528
474c48f9 5529 wxPyEndAllowThreads(__tstate);
059a841c
RD
5530 if (PyErr_Occurred()) return NULL;
5531} Py_INCREF(Py_None);
5532 _resultobj = Py_None;
5533 return _resultobj;
5534}
5535
aa2a5b86
RD
5536#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5537static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5538 PyObject * _resultobj;
aa2a5b86
RD
5539 wxTreeItemAttr * _result;
5540 wxColour * _arg0 = (wxColour *) &wxNullColour;
5541 wxColour * _arg1 = (wxColour *) &wxNullColour;
5542 wxFont * _arg2 = (wxFont *) &wxNullFont;
5543 wxColour temp;
5544 PyObject * _obj0 = 0;
5545 wxColour temp0;
5546 PyObject * _obj1 = 0;
5547 PyObject * _argo2 = 0;
5548 char *_kwnames[] = { "colText","colBack","font", NULL };
d5c9047a 5549 char _ptemp[128];
8ab979d7
RD
5550
5551 self = self;
aa2a5b86
RD
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5553 return NULL;
5554 if (_obj0)
5555{
5556 _arg0 = &temp;
5557 if (! wxColour_helper(_obj0, &_arg0))
5558 return NULL;
5559}
5560 if (_obj1)
5561{
5562 _arg1 = &temp0;
5563 if (! wxColour_helper(_obj1, &_arg1))
5564 return NULL;
5565}
5566 if (_argo2) {
5567 if (_argo2 == Py_None) { _arg2 = NULL; }
5568 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5569 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
8ab979d7 5570 return NULL;
aa2a5b86
RD
5571 }
5572 }
cf694132 5573{
474c48f9 5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86 5575 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
cf694132 5576
474c48f9 5577 wxPyEndAllowThreads(__tstate);
4dfaa61e 5578 if (PyErr_Occurred()) return NULL;
1d99702e 5579} if (_result) {
aa2a5b86 5580 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
1d99702e
RD
5581 _resultobj = Py_BuildValue("s",_ptemp);
5582 } else {
5583 Py_INCREF(Py_None);
5584 _resultobj = Py_None;
5585 }
8ab979d7
RD
5586 return _resultobj;
5587}
5588
aa2a5b86
RD
5589#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5590static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5591 PyObject * _resultobj;
aa2a5b86
RD
5592 wxTreeItemAttr * _arg0;
5593 wxColour * _arg1;
1d99702e 5594 PyObject * _argo0 = 0;
aa2a5b86
RD
5595 wxColour temp;
5596 PyObject * _obj1 = 0;
5597 char *_kwnames[] = { "self","colText", NULL };
8ab979d7
RD
5598
5599 self = self;
aa2a5b86 5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5601 return NULL;
1d99702e
RD
5602 if (_argo0) {
5603 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5606 return NULL;
5607 }
5608 }
aa2a5b86
RD
5609{
5610 _arg1 = &temp;
5611 if (! wxColour_helper(_obj1, &_arg1))
5612 return NULL;
5613}
cf694132 5614{
474c48f9 5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86 5616 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
cf694132 5617
474c48f9 5618 wxPyEndAllowThreads(__tstate);
4dfaa61e 5619 if (PyErr_Occurred()) return NULL;
cf694132 5620} Py_INCREF(Py_None);
d5c9047a 5621 _resultobj = Py_None;
8ab979d7
RD
5622 return _resultobj;
5623}
5624
aa2a5b86
RD
5625#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5626static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5627 PyObject * _resultobj;
aa2a5b86
RD
5628 wxTreeItemAttr * _arg0;
5629 wxColour * _arg1;
1d99702e 5630 PyObject * _argo0 = 0;
aa2a5b86
RD
5631 wxColour temp;
5632 PyObject * _obj1 = 0;
5633 char *_kwnames[] = { "self","colBack", NULL };
8ab979d7
RD
5634
5635 self = self;
aa2a5b86 5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5637 return NULL;
1d99702e
RD
5638 if (_argo0) {
5639 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5642 return NULL;
5643 }
5644 }
aa2a5b86
RD
5645{
5646 _arg1 = &temp;
5647 if (! wxColour_helper(_obj1, &_arg1))
5648 return NULL;
5649}
cf694132 5650{
474c48f9 5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86 5652 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
cf694132 5653
474c48f9 5654 wxPyEndAllowThreads(__tstate);
4dfaa61e 5655 if (PyErr_Occurred()) return NULL;
aa2a5b86
RD
5656} Py_INCREF(Py_None);
5657 _resultobj = Py_None;
8ab979d7
RD
5658 return _resultobj;
5659}
5660
aa2a5b86
RD
5661#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5662static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5663 PyObject * _resultobj;
aa2a5b86
RD
5664 wxTreeItemAttr * _arg0;
5665 wxFont * _arg1;
f6bcfd97
BP
5666 PyObject * _argo0 = 0;
5667 PyObject * _argo1 = 0;
aa2a5b86 5668 char *_kwnames[] = { "self","font", NULL };
f6bcfd97
BP
5669
5670 self = self;
aa2a5b86 5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
f6bcfd97
BP
5672 return NULL;
5673 if (_argo0) {
5674 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
f6bcfd97
BP
5677 return NULL;
5678 }
5679 }
5680 if (_argo1) {
5681 if (_argo1 == Py_None) { _arg1 = NULL; }
aa2a5b86
RD
5682 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5683 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
f6bcfd97
BP
5684 return NULL;
5685 }
5686 }
5687{
474c48f9 5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86 5689 wxTreeItemAttr_SetFont(_arg0,*_arg1);
f6bcfd97 5690
474c48f9 5691 wxPyEndAllowThreads(__tstate);
4dfaa61e 5692 if (PyErr_Occurred()) return NULL;
aa2a5b86
RD
5693} Py_INCREF(Py_None);
5694 _resultobj = Py_None;
f6bcfd97
BP
5695 return _resultobj;
5696}
5697
aa2a5b86
RD
5698#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5699static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5700 PyObject * _resultobj;
aa2a5b86
RD
5701 bool _result;
5702 wxTreeItemAttr * _arg0;
5703 PyObject * _argo0 = 0;
5704 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5705
5706 self = self;
aa2a5b86 5707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
8ab979d7 5708 return NULL;
aa2a5b86
RD
5709 if (_argo0) {
5710 if (_argo0 == Py_None) { _arg0 = NULL; }
5711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5713 return NULL;
5714 }
5715 }
cf694132 5716{
474c48f9 5717 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86 5718 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
cf694132 5719
474c48f9 5720 wxPyEndAllowThreads(__tstate);
4dfaa61e 5721 if (PyErr_Occurred()) return NULL;
aa2a5b86 5722} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5723 return _resultobj;
5724}
5725
aa2a5b86
RD
5726#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5727static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 5728 PyObject * _resultobj;
aa2a5b86
RD
5729 bool _result;
5730 wxTreeItemAttr * _arg0;
1d99702e 5731 PyObject * _argo0 = 0;
efc5f224 5732 char *_kwnames[] = { "self", NULL };
cf694132
RD
5733
5734 self = self;
aa2a5b86 5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
cf694132 5736 return NULL;
1d99702e
RD
5737 if (_argo0) {
5738 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
cf694132
RD
5741 return NULL;
5742 }
5743 }
5744{
474c48f9 5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86 5746 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
cf694132 5747
474c48f9 5748 wxPyEndAllowThreads(__tstate);
4dfaa61e 5749 if (PyErr_Occurred()) return NULL;
aa2a5b86 5750} _resultobj = Py_BuildValue("i",_result);
cf694132
RD
5751 return _resultobj;
5752}
5753
aa2a5b86
RD
5754#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5755static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5756 PyObject * _resultobj;
aa2a5b86
RD
5757 bool _result;
5758 wxTreeItemAttr * _arg0;
1d99702e 5759 PyObject * _argo0 = 0;
aa2a5b86 5760 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5761
5762 self = self;
aa2a5b86 5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
8ab979d7 5764 return NULL;
1d99702e
RD
5765 if (_argo0) {
5766 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5769 return NULL;
5770 }
5771 }
cf694132 5772{
474c48f9 5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86 5774 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
cf694132 5775
474c48f9 5776 wxPyEndAllowThreads(__tstate);
4dfaa61e 5777 if (PyErr_Occurred()) return NULL;
aa2a5b86 5778} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5779 return _resultobj;
5780}
5781
aa2a5b86
RD
5782#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5783static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5784 PyObject * _resultobj;
aa2a5b86
RD
5785 wxColour * _result;
5786 wxTreeItemAttr * _arg0;
1d99702e 5787 PyObject * _argo0 = 0;
efc5f224 5788 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5789 char _ptemp[128];
5790
5791 self = self;
aa2a5b86 5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
8ab979d7 5793 return NULL;
1d99702e
RD
5794 if (_argo0) {
5795 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
8ab979d7
RD
5798 return NULL;
5799 }
5800 }
cf694132 5801{
474c48f9 5802 PyThreadState* __tstate = wxPyBeginAllowThreads();
3e212503 5803 _result = new wxColour (wxTreeItemAttr_GetTextColour(_arg0));
cf694132 5804
474c48f9 5805 wxPyEndAllowThreads(__tstate);
4dfaa61e 5806 if (PyErr_Occurred()) return NULL;
3e212503
RD
5807} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5808 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
5809 return _resultobj;
5810}
5811
aa2a5b86
RD
5812#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5813static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 5814 PyObject * _resultobj;
aa2a5b86
RD
5815 wxColour * _result;
5816 wxTreeItemAttr * _arg0;
1d99702e 5817 PyObject * _argo0 = 0;
aa2a5b86
RD
5818 char *_kwnames[] = { "self", NULL };
5819 char _ptemp[128];
5820
5821 self = self;
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
5823 return NULL;
5824 if (_argo0) {
5825 if (_argo0 == Py_None) { _arg0 = NULL; }
5826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5828 return NULL;
5829 }
5830 }
5831{
474c48f9 5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3e212503 5833 _result = new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0));
aa2a5b86 5834
474c48f9 5835 wxPyEndAllowThreads(__tstate);
aa2a5b86 5836 if (PyErr_Occurred()) return NULL;
3e212503
RD
5837} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5838 _resultobj = Py_BuildValue("s",_ptemp);
aa2a5b86
RD
5839 return _resultobj;
5840}
5841
5842#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5843static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5844 PyObject * _resultobj;
5845 wxFont * _result;
5846 wxTreeItemAttr * _arg0;
5847 PyObject * _argo0 = 0;
5848 char *_kwnames[] = { "self", NULL };
5849 char _ptemp[128];
5850
5851 self = self;
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
5853 return NULL;
5854 if (_argo0) {
5855 if (_argo0 == Py_None) { _arg0 = NULL; }
5856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5858 return NULL;
5859 }
5860 }
5861{
474c48f9 5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3e212503 5863 _result = new wxFont (wxTreeItemAttr_GetFont(_arg0));
aa2a5b86 5864
474c48f9 5865 wxPyEndAllowThreads(__tstate);
aa2a5b86 5866 if (PyErr_Occurred()) return NULL;
3e212503
RD
5867} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5868 _resultobj = Py_BuildValue("s",_ptemp);
aa2a5b86
RD
5869 return _resultobj;
5870}
5871
5872#define new_wxTreeItemId() (new wxTreeItemId())
5873static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject * _resultobj;
5875 wxTreeItemId * _result;
5876 char *_kwnames[] = { NULL };
5877 char _ptemp[128];
5878
5879 self = self;
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
5881 return NULL;
5882{
474c48f9 5883 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
5884 _result = (wxTreeItemId *)new_wxTreeItemId();
5885
474c48f9 5886 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5887 if (PyErr_Occurred()) return NULL;
5888} if (_result) {
5889 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
5890 _resultobj = Py_BuildValue("s",_ptemp);
5891 } else {
5892 Py_INCREF(Py_None);
5893 _resultobj = Py_None;
5894 }
5895 return _resultobj;
5896}
5897
5898#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5899static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject * _resultobj;
5901 wxTreeItemId * _arg0;
5902 PyObject * _argo0 = 0;
5903 char *_kwnames[] = { "self", NULL };
5904
5905 self = self;
5906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
5907 return NULL;
5908 if (_argo0) {
5909 if (_argo0 == Py_None) { _arg0 = NULL; }
5910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5912 return NULL;
5913 }
5914 }
5915{
474c48f9 5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
5917 delete_wxTreeItemId(_arg0);
5918
474c48f9 5919 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5920 if (PyErr_Occurred()) return NULL;
5921} Py_INCREF(Py_None);
5922 _resultobj = Py_None;
5923 return _resultobj;
5924}
5925
5926#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5927static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
5928 PyObject * _resultobj;
5929 bool _result;
5930 wxTreeItemId * _arg0;
5931 PyObject * _argo0 = 0;
5932 char *_kwnames[] = { "self", NULL };
5933
5934 self = self;
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
5936 return NULL;
5937 if (_argo0) {
5938 if (_argo0 == Py_None) { _arg0 = NULL; }
5939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5941 return NULL;
5942 }
5943 }
5944{
474c48f9 5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
5946 _result = (bool )wxTreeItemId_IsOk(_arg0);
5947
474c48f9 5948 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5949 if (PyErr_Occurred()) return NULL;
5950} _resultobj = Py_BuildValue("i",_result);
5951 return _resultobj;
5952}
5953
5954static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
5955 if (! other) return -1;
5956 return *self != *other;
5957 }
5958static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
5959 PyObject * _resultobj;
5960 int _result;
5961 wxTreeItemId * _arg0;
5962 wxTreeItemId * _arg1;
5963 PyObject * _argo0 = 0;
5964 PyObject * _argo1 = 0;
5965 char *_kwnames[] = { "self","other", NULL };
5966
5967 self = self;
5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
5969 return NULL;
5970 if (_argo0) {
5971 if (_argo0 == Py_None) { _arg0 = NULL; }
5972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
5973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5974 return NULL;
5975 }
5976 }
5977 if (_argo1) {
5978 if (_argo1 == Py_None) { _arg1 = NULL; }
5979 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
5980 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5981 return NULL;
5982 }
5983 }
5984{
474c48f9 5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
5986 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
5987
474c48f9 5988 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5989 if (PyErr_Occurred()) return NULL;
5990} _resultobj = Py_BuildValue("i",_result);
5991 return _resultobj;
5992}
5993
5994static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
5995 wxPyTreeItemData *src;
5996 wxObject *dest;
5997 src = (wxPyTreeItemData *) ptr;
5998 dest = (wxObject *) src;
5999 return (void *) dest;
6000}
6001
6002#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6003static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject * _resultobj;
6005 wxPyTreeItemData * _result;
6006 PyObject * _arg0 = (PyObject *) NULL;
6007 PyObject * _obj0 = 0;
6008 char *_kwnames[] = { "obj", NULL };
6009 char _ptemp[128];
6010
6011 self = self;
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
6013 return NULL;
6014 if (_obj0)
6015{
6016 _arg0 = _obj0;
6017}
6018{
474c48f9 6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
6020 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
6021
474c48f9 6022 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6023 if (PyErr_Occurred()) return NULL;
6024} if (_result) {
6025 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
6026 _resultobj = Py_BuildValue("s",_ptemp);
6027 } else {
6028 Py_INCREF(Py_None);
6029 _resultobj = Py_None;
6030 }
6031 return _resultobj;
6032}
6033
6034#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6035static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject * _resultobj;
6037 PyObject * _result;
6038 wxPyTreeItemData * _arg0;
6039 PyObject * _argo0 = 0;
6040 char *_kwnames[] = { "self", NULL };
6041
6042 self = self;
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
6044 return NULL;
6045 if (_argo0) {
6046 if (_argo0 == Py_None) { _arg0 = NULL; }
6047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6049 return NULL;
6050 }
6051 }
6052{
474c48f9 6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
6054 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
6055
474c48f9 6056 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6057 if (PyErr_Occurred()) return NULL;
6058}{
6059 _resultobj = _result;
6060}
6061 return _resultobj;
6062}
6063
6064#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6065static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject * _resultobj;
6067 wxPyTreeItemData * _arg0;
6068 PyObject * _arg1;
6069 PyObject * _argo0 = 0;
6070 PyObject * _obj1 = 0;
6071 char *_kwnames[] = { "self","obj", NULL };
6072
6073 self = self;
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
6075 return NULL;
6076 if (_argo0) {
6077 if (_argo0 == Py_None) { _arg0 = NULL; }
6078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6080 return NULL;
6081 }
6082 }
6083{
6084 _arg1 = _obj1;
6085}
6086{
474c48f9 6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
6088 wxTreeItemData_SetData(_arg0,_arg1);
6089
474c48f9 6090 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6091 if (PyErr_Occurred()) return NULL;
6092} Py_INCREF(Py_None);
6093 _resultobj = Py_None;
6094 return _resultobj;
6095}
6096
6097#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6098static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject * _resultobj;
6100 wxTreeItemId * _result;
6101 wxPyTreeItemData * _arg0;
6102 PyObject * _argo0 = 0;
6103 char *_kwnames[] = { "self", NULL };
6104 char _ptemp[128];
6105
6106 self = self;
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
6108 return NULL;
6109 if (_argo0) {
6110 if (_argo0 == Py_None) { _arg0 = NULL; }
6111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6113 return NULL;
6114 }
6115 }
6116{
474c48f9 6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
6118 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
6119 _result = (wxTreeItemId *) &_result_ref;
6120
474c48f9 6121 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6122 if (PyErr_Occurred()) return NULL;
6123} if (_result) {
6124 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6125 _resultobj = Py_BuildValue("s",_ptemp);
6126 } else {
6127 Py_INCREF(Py_None);
6128 _resultobj = Py_None;
6129 }
6130 return _resultobj;
6131}
6132
6133#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6134static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject * _resultobj;
6136 wxPyTreeItemData * _arg0;
6137 wxTreeItemId * _arg1;
6138 PyObject * _argo0 = 0;
6139 PyObject * _argo1 = 0;
6140 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
6141
6142 self = self;
efc5f224 6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 6144 return NULL;
1d99702e
RD
6145 if (_argo0) {
6146 if (_argo0 == Py_None) { _arg0 = NULL; }
6147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 6148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
6149 return NULL;
6150 }
6151 }
1d99702e
RD
6152 if (_argo1) {
6153 if (_argo1 == Py_None) { _arg1 = NULL; }
6154 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
6155 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6156 return NULL;
6157 }
6158 }
cf694132 6159{
474c48f9 6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6161 wxTreeItemData_SetId(_arg0,*_arg1);
6162
474c48f9 6163 wxPyEndAllowThreads(__tstate);
4dfaa61e 6164 if (PyErr_Occurred()) return NULL;
cf694132 6165} Py_INCREF(Py_None);
630d84f2
RD
6166 _resultobj = Py_None;
6167 return _resultobj;
6168}
6169
8bf5d46e
RD
6170static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6171 wxTreeEvent *src;
6172 wxNotifyEvent *dest;
6173 src = (wxTreeEvent *) ptr;
6174 dest = (wxNotifyEvent *) src;
6175 return (void *) dest;
6176}
6177
8ab979d7
RD
6178static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6179 wxTreeEvent *src;
6180 wxCommandEvent *dest;
6181 src = (wxTreeEvent *) ptr;
6182 dest = (wxCommandEvent *) src;
6183 return (void *) dest;
6184}
6185
6186static void *SwigwxTreeEventTowxEvent(void *ptr) {
6187 wxTreeEvent *src;
6188 wxEvent *dest;
6189 src = (wxTreeEvent *) ptr;
6190 dest = (wxEvent *) src;
6191 return (void *) dest;
6192}
6193
9df61a29
RD
6194static void *SwigwxTreeEventTowxObject(void *ptr) {
6195 wxTreeEvent *src;
6196 wxObject *dest;
6197 src = (wxTreeEvent *) ptr;
6198 dest = (wxObject *) src;
6199 return (void *) dest;
6200}
6201
aa2a5b86
RD
6202#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6203static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6204 PyObject * _resultobj;
6205 wxTreeEvent * _result;
6206 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6207 int _arg1 = (int ) 0;
6208 char *_kwnames[] = { "commandType","id", NULL };
6209 char _ptemp[128];
6210
6211 self = self;
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6213 return NULL;
6214{
474c48f9 6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
6216 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
6217
474c48f9 6218 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6219 if (PyErr_Occurred()) return NULL;
6220} if (_result) {
6221 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6222 _resultobj = Py_BuildValue("s",_ptemp);
6223 } else {
6224 Py_INCREF(Py_None);
6225 _resultobj = Py_None;
6226 }
6227 return _resultobj;
6228}
6229
d5c9047a 6230#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 6231static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6232 PyObject * _resultobj;
d5c9047a 6233 wxTreeItemId * _result;
8ab979d7 6234 wxTreeEvent * _arg0;
1d99702e 6235 PyObject * _argo0 = 0;
efc5f224 6236 char *_kwnames[] = { "self", NULL };
d5c9047a 6237 char _ptemp[128];
8ab979d7
RD
6238
6239 self = self;
efc5f224 6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 6241 return NULL;
1d99702e
RD
6242 if (_argo0) {
6243 if (_argo0 == Py_None) { _arg0 = NULL; }
6244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6246 return NULL;
6247 }
6248 }
cf694132 6249{
474c48f9 6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6251 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
6252
474c48f9 6253 wxPyEndAllowThreads(__tstate);
4dfaa61e 6254 if (PyErr_Occurred()) return NULL;
cf694132 6255} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6256 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6257 return _resultobj;
6258}
6259
d5c9047a 6260#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 6261static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6262 PyObject * _resultobj;
d5c9047a 6263 wxTreeItemId * _result;
8ab979d7 6264 wxTreeEvent * _arg0;
1d99702e 6265 PyObject * _argo0 = 0;
efc5f224 6266 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6267 char _ptemp[128];
6268
6269 self = self;
efc5f224 6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 6271 return NULL;
1d99702e
RD
6272 if (_argo0) {
6273 if (_argo0 == Py_None) { _arg0 = NULL; }
6274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
6276 return NULL;
6277 }
6278 }
cf694132 6279{
474c48f9 6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6281 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
6282
474c48f9 6283 wxPyEndAllowThreads(__tstate);
4dfaa61e 6284 if (PyErr_Occurred()) return NULL;
cf694132 6285} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
6286 _resultobj = Py_BuildValue("s",_ptemp);
6287 return _resultobj;
6288}
6289
d5c9047a 6290#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 6291static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6292 PyObject * _resultobj;
d5c9047a 6293 wxPoint * _result;
8ab979d7 6294 wxTreeEvent * _arg0;
1d99702e 6295 PyObject * _argo0 = 0;
efc5f224 6296 char *_kwnames[] = { "self", NULL };
d5c9047a 6297 char _ptemp[128];
8ab979d7
RD
6298
6299 self = self;
efc5f224 6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 6301 return NULL;
1d99702e
RD
6302 if (_argo0) {
6303 if (_argo0 == Py_None) { _arg0 = NULL; }
6304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
6306 return NULL;
6307 }
6308 }
cf694132 6309{
474c48f9 6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6311 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
6312
474c48f9 6313 wxPyEndAllowThreads(__tstate);
4dfaa61e 6314 if (PyErr_Occurred()) return NULL;
cf694132 6315} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 6316 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6317 return _resultobj;
6318}
6319
65191ae8
RD
6320#define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6321static PyObject *_wrap_wxTreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject * _resultobj;
6323 wxKeyEvent * _result;
6324 wxTreeEvent * _arg0;
6325 PyObject * _argo0 = 0;
6326 char *_kwnames[] = { "self", NULL };
6327 char _ptemp[128];
6328
6329 self = self;
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetKeyEvent",_kwnames,&_argo0))
6331 return NULL;
6332 if (_argo0) {
6333 if (_argo0 == Py_None) { _arg0 = NULL; }
6334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6336 return NULL;
6337 }
6338 }
6339{
474c48f9 6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
65191ae8
RD
6341 const wxKeyEvent & _result_ref = wxTreeEvent_GetKeyEvent(_arg0);
6342 _result = (wxKeyEvent *) &_result_ref;
6343
474c48f9 6344 wxPyEndAllowThreads(__tstate);
65191ae8
RD
6345 if (PyErr_Occurred()) return NULL;
6346} if (_result) {
6347 SWIG_MakePtr(_ptemp, (char *) _result,"_wxKeyEvent_p");
6348 _resultobj = Py_BuildValue("s",_ptemp);
6349 } else {
6350 Py_INCREF(Py_None);
6351 _resultobj = Py_None;
6352 }
6353 return _resultobj;
6354}
6355
d5c9047a 6356#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 6357static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6358 PyObject * _resultobj;
d5c9047a 6359 int _result;
8ab979d7 6360 wxTreeEvent * _arg0;
1d99702e 6361 PyObject * _argo0 = 0;
efc5f224 6362 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6363
6364 self = self;
efc5f224 6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 6366 return NULL;
1d99702e
RD
6367 if (_argo0) {
6368 if (_argo0 == Py_None) { _arg0 = NULL; }
6369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 6370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
6371 return NULL;
6372 }
6373 }
cf694132 6374{
474c48f9 6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6376 _result = (int )wxTreeEvent_GetCode(_arg0);
6377
474c48f9 6378 wxPyEndAllowThreads(__tstate);
4dfaa61e 6379 if (PyErr_Occurred()) return NULL;
cf694132 6380} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
6381 return _resultobj;
6382}
6383
8bf5d46e 6384#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 6385static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6386 PyObject * _resultobj;
8bf5d46e 6387 wxString * _result;
d5c9047a 6388 wxTreeEvent * _arg0;
1d99702e 6389 PyObject * _argo0 = 0;
efc5f224 6390 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6391
6392 self = self;
efc5f224 6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 6394 return NULL;
1d99702e
RD
6395 if (_argo0) {
6396 if (_argo0 == Py_None) { _arg0 = NULL; }
6397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 6398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
6399 return NULL;
6400 }
6401 }
cf694132 6402{
474c48f9 6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8bf5d46e
RD
6404 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
6405 _result = (wxString *) &_result_ref;
cf694132 6406
474c48f9 6407 wxPyEndAllowThreads(__tstate);
4dfaa61e 6408 if (PyErr_Occurred()) return NULL;
8bf5d46e 6409}{
eec92d76 6410 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8bf5d46e 6411}
8ab979d7
RD
6412 return _resultobj;
6413}
6414
f6bcfd97
BP
6415static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6416 wxPyTreeCtrl *src;
8ab979d7 6417 wxControl *dest;
f6bcfd97 6418 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6419 dest = (wxControl *) src;
6420 return (void *) dest;
6421}
6422
f6bcfd97
BP
6423static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6424 wxPyTreeCtrl *src;
8ab979d7 6425 wxWindow *dest;
f6bcfd97 6426 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6427 dest = (wxWindow *) src;
6428 return (void *) dest;
6429}
6430
f6bcfd97
BP
6431static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6432 wxPyTreeCtrl *src;
8ab979d7 6433 wxEvtHandler *dest;
f6bcfd97 6434 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
6435 dest = (wxEvtHandler *) src;
6436 return (void *) dest;
6437}
6438
9df61a29
RD
6439static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6440 wxPyTreeCtrl *src;
6441 wxObject *dest;
6442 src = (wxPyTreeCtrl *) ptr;
6443 dest = (wxObject *) src;
6444 return (void *) dest;
6445}
6446
f6bcfd97 6447#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 6448static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6449 PyObject * _resultobj;
f6bcfd97 6450 wxPyTreeCtrl * _result;
8ab979d7 6451 wxWindow * _arg0;
1d99702e 6452 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
6453 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6454 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
aa2a5b86 6455 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
b68dc582 6456 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
6457 char * _arg6 = (char *) "wxTreeCtrl";
6458 PyObject * _argo0 = 0;
2f90df85
RD
6459 wxPoint temp;
6460 PyObject * _obj2 = 0;
6461 wxSize temp0;
6462 PyObject * _obj3 = 0;
1d99702e 6463 PyObject * _argo5 = 0;
efc5f224 6464 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
6465 char _ptemp[128];
6466
6467 self = self;
2f90df85 6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 6469 return NULL;
1d99702e
RD
6470 if (_argo0) {
6471 if (_argo0 == Py_None) { _arg0 = NULL; }
6472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6474 return NULL;
6475 }
6476 }
2f90df85
RD
6477 if (_obj2)
6478{
6479 _arg2 = &temp;
6480 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 6481 return NULL;
2f90df85
RD
6482}
6483 if (_obj3)
6484{
6485 _arg3 = &temp0;
6486 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 6487 return NULL;
2f90df85 6488}
1d99702e
RD
6489 if (_argo5) {
6490 if (_argo5 == Py_None) { _arg5 = NULL; }
6491 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
6492 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6493 return NULL;
6494 }
6495 }
cf694132 6496{
474c48f9 6497 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 6498 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
cf694132 6499
474c48f9 6500 wxPyEndAllowThreads(__tstate);
4dfaa61e 6501 if (PyErr_Occurred()) return NULL;
1d99702e 6502} if (_result) {
f6bcfd97 6503 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
6504 _resultobj = Py_BuildValue("s",_ptemp);
6505 } else {
6506 Py_INCREF(Py_None);
6507 _resultobj = Py_None;
6508 }
8ab979d7
RD
6509 return _resultobj;
6510}
6511
aa2a5b86
RD
6512#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6513static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 6514 PyObject * _resultobj;
aa2a5b86
RD
6515 wxPyTreeCtrl * _result;
6516 char *_kwnames[] = { NULL };
6517 char _ptemp[128];
6518
6519 self = self;
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6521 return NULL;
6522{
474c48f9 6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
6524 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
6525
474c48f9 6526 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6527 if (PyErr_Occurred()) return NULL;
6528} if (_result) {
6529 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6530 _resultobj = Py_BuildValue("s",_ptemp);
6531 } else {
6532 Py_INCREF(Py_None);
6533 _resultobj = Py_None;
6534 }
6535 return _resultobj;
6536}
6537
6538#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6539static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject * _resultobj;
6541 bool _result;
f6bcfd97 6542 wxPyTreeCtrl * _arg0;
aa2a5b86
RD
6543 wxWindow * _arg1;
6544 wxWindowID _arg2 = (wxWindowID ) -1;
6545 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6546 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6547 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6548 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
6549 char * _arg7 = (char *) "wxTreeCtrl";
f6bcfd97 6550 PyObject * _argo0 = 0;
aa2a5b86
RD
6551 PyObject * _argo1 = 0;
6552 wxPoint temp;
6553 PyObject * _obj3 = 0;
6554 wxSize temp0;
6555 PyObject * _obj4 = 0;
6556 PyObject * _argo6 = 0;
6557 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
f6bcfd97
BP
6558
6559 self = self;
aa2a5b86 6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
f6bcfd97
BP
6561 return NULL;
6562 if (_argo0) {
6563 if (_argo0 == Py_None) { _arg0 = NULL; }
6564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
aa2a5b86
RD
6565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6566 return NULL;
6567 }
6568 }
6569 if (_argo1) {
6570 if (_argo1 == Py_None) { _arg1 = NULL; }
6571 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6572 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
f6bcfd97
BP
6573 return NULL;
6574 }
6575 }
aa2a5b86 6576 if (_obj3)
f6bcfd97 6577{
aa2a5b86
RD
6578 _arg3 = &temp;
6579 if (! wxPoint_helper(_obj3, &_arg3))
6580 return NULL;
f6bcfd97 6581}
aa2a5b86 6582 if (_obj4)
f6bcfd97 6583{
aa2a5b86
RD
6584 _arg4 = &temp0;
6585 if (! wxSize_helper(_obj4, &_arg4))
6586 return NULL;
f6bcfd97 6587}
aa2a5b86
RD
6588 if (_argo6) {
6589 if (_argo6 == Py_None) { _arg6 = NULL; }
6590 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6591 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6592 return NULL;
6593 }
6594 }
f6bcfd97 6595{
474c48f9 6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86 6597 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
f6bcfd97 6598
474c48f9 6599 wxPyEndAllowThreads(__tstate);
4dfaa61e 6600 if (PyErr_Occurred()) return NULL;
aa2a5b86 6601} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
6602 return _resultobj;
6603}
6604
0220cbc1
RD
6605#define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6606static PyObject *_wrap_wxTreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9c4165ad
RD
6607 PyObject * _resultobj;
6608 wxPyTreeCtrl * _arg0;
aa2a5b86
RD
6609 PyObject * _arg1;
6610 PyObject * _arg2;
9c4165ad 6611 PyObject * _argo0 = 0;
aa2a5b86
RD
6612 PyObject * _obj1 = 0;
6613 PyObject * _obj2 = 0;
6614 char *_kwnames[] = { "self","self","_class", NULL };
9c4165ad
RD
6615
6616 self = self;
0220cbc1 6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
9c4165ad
RD
6618 return NULL;
6619 if (_argo0) {
6620 if (_argo0 == Py_None) { _arg0 = NULL; }
6621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
0220cbc1 6622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
9c4165ad
RD
6623 return NULL;
6624 }
6625 }
aa2a5b86
RD
6626{
6627 _arg1 = _obj1;
6628}
6629{
6630 _arg2 = _obj2;
6631}
9c4165ad 6632{
474c48f9 6633 PyThreadState* __tstate = wxPyBeginAllowThreads();
0220cbc1 6634 wxTreeCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
9c4165ad 6635
474c48f9 6636 wxPyEndAllowThreads(__tstate);
4dfaa61e 6637 if (PyErr_Occurred()) return NULL;
9c4165ad
RD
6638} Py_INCREF(Py_None);
6639 _resultobj = Py_None;
6640 return _resultobj;
6641}
6642
d5c9047a 6643#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 6644static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6645 PyObject * _resultobj;
c127177f 6646 size_t _result;
f6bcfd97 6647 wxPyTreeCtrl * _arg0;
1d99702e 6648 PyObject * _argo0 = 0;
efc5f224 6649 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6650
6651 self = self;
efc5f224 6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 6653 return NULL;
1d99702e
RD
6654 if (_argo0) {
6655 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6658 return NULL;
6659 }
6660 }
cf694132 6661{
474c48f9 6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
c127177f 6663 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132 6664
474c48f9 6665 wxPyEndAllowThreads(__tstate);
4dfaa61e 6666 if (PyErr_Occurred()) return NULL;
c127177f 6667} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6668 return _resultobj;
6669}
6670
d5c9047a 6671#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 6672static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6673 PyObject * _resultobj;
d5c9047a 6674 unsigned int _result;
f6bcfd97 6675 wxPyTreeCtrl * _arg0;
1d99702e 6676 PyObject * _argo0 = 0;
efc5f224 6677 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6678
6679 self = self;
efc5f224 6680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
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_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6686 return NULL;
6687 }
6688 }
cf694132 6689{
474c48f9 6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6691 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
6692
474c48f9 6693 wxPyEndAllowThreads(__tstate);
4dfaa61e 6694 if (PyErr_Occurred()) return NULL;
cf694132 6695} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6696 return _resultobj;
6697}
6698
d5c9047a 6699#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 6700static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6701 PyObject * _resultobj;
f6bcfd97 6702 wxPyTreeCtrl * _arg0;
d5c9047a 6703 unsigned int _arg1;
1d99702e 6704 PyObject * _argo0 = 0;
efc5f224 6705 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
6706
6707 self = self;
efc5f224 6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 6709 return NULL;
1d99702e
RD
6710 if (_argo0) {
6711 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6714 return NULL;
6715 }
6716 }
cf694132 6717{
474c48f9 6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6719 wxTreeCtrl_SetIndent(_arg0,_arg1);
6720
474c48f9 6721 wxPyEndAllowThreads(__tstate);
4dfaa61e 6722 if (PyErr_Occurred()) return NULL;
cf694132 6723} Py_INCREF(Py_None);
d5c9047a 6724 _resultobj = Py_None;
8ab979d7
RD
6725 return _resultobj;
6726}
6727
d5c9047a 6728#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 6729static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6730 PyObject * _resultobj;
d5c9047a 6731 wxImageList * _result;
f6bcfd97 6732 wxPyTreeCtrl * _arg0;
1d99702e 6733 PyObject * _argo0 = 0;
efc5f224 6734 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6735
6736 self = self;
efc5f224 6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 6738 return NULL;
1d99702e
RD
6739 if (_argo0) {
6740 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6743 return NULL;
6744 }
6745 }
cf694132 6746{
474c48f9 6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6748 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
6749
474c48f9 6750 wxPyEndAllowThreads(__tstate);
4dfaa61e 6751 if (PyErr_Occurred()) return NULL;
9df61a29 6752}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6753 return _resultobj;
6754}
6755
d5c9047a 6756#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 6757static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6758 PyObject * _resultobj;
d5c9047a 6759 wxImageList * _result;
f6bcfd97 6760 wxPyTreeCtrl * _arg0;
1d99702e 6761 PyObject * _argo0 = 0;
efc5f224 6762 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6763
6764 self = self;
efc5f224 6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 6766 return NULL;
1d99702e
RD
6767 if (_argo0) {
6768 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6771 return NULL;
6772 }
6773 }
cf694132 6774{
474c48f9 6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6776 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
6777
474c48f9 6778 wxPyEndAllowThreads(__tstate);
4dfaa61e 6779 if (PyErr_Occurred()) return NULL;
9df61a29 6780}{ _resultobj = wxPyMake_wxObject(_result); }
8ab979d7
RD
6781 return _resultobj;
6782}
6783
d5c9047a 6784#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 6785static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6786 PyObject * _resultobj;
f6bcfd97 6787 wxPyTreeCtrl * _arg0;
d5c9047a 6788 wxImageList * _arg1;
1d99702e
RD
6789 PyObject * _argo0 = 0;
6790 PyObject * _argo1 = 0;
efc5f224 6791 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6792
6793 self = self;
efc5f224 6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6795 return NULL;
1d99702e
RD
6796 if (_argo0) {
6797 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6800 return NULL;
6801 }
6802 }
1d99702e
RD
6803 if (_argo1) {
6804 if (_argo1 == Py_None) { _arg1 = NULL; }
6805 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6806 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6807 return NULL;
6808 }
6809 }
cf694132 6810{
474c48f9 6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6812 wxTreeCtrl_SetImageList(_arg0,_arg1);
6813
474c48f9 6814 wxPyEndAllowThreads(__tstate);
4dfaa61e 6815 if (PyErr_Occurred()) return NULL;
cf694132 6816} Py_INCREF(Py_None);
d5c9047a 6817 _resultobj = Py_None;
8ab979d7
RD
6818 return _resultobj;
6819}
6820
d5c9047a 6821#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 6822static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6823 PyObject * _resultobj;
f6bcfd97 6824 wxPyTreeCtrl * _arg0;
d5c9047a 6825 wxImageList * _arg1;
1d99702e
RD
6826 PyObject * _argo0 = 0;
6827 PyObject * _argo1 = 0;
efc5f224 6828 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
6829
6830 self = self;
efc5f224 6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 6832 return NULL;
1d99702e
RD
6833 if (_argo0) {
6834 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6837 return NULL;
6838 }
6839 }
1d99702e
RD
6840 if (_argo1) {
6841 if (_argo1 == Py_None) { _arg1 = NULL; }
6842 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
6843 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6844 return NULL;
6845 }
6846 }
cf694132 6847{
474c48f9 6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6849 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
6850
474c48f9 6851 wxPyEndAllowThreads(__tstate);
4dfaa61e 6852 if (PyErr_Occurred()) return NULL;
cf694132 6853} Py_INCREF(Py_None);
d5c9047a 6854 _resultobj = Py_None;
8ab979d7
RD
6855 return _resultobj;
6856}
6857
aa2a5b86
RD
6858#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6859static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject * _resultobj;
6861 wxPyTreeCtrl * _arg0;
6862 wxImageList * _arg1;
6863 PyObject * _argo0 = 0;
6864 PyObject * _argo1 = 0;
6865 char *_kwnames[] = { "self","imageList", NULL };
6866
6867 self = self;
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
6869 return NULL;
6870 if (_argo0) {
6871 if (_argo0 == Py_None) { _arg0 = NULL; }
6872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6874 return NULL;
6875 }
6876 }
6877 if (_argo1) {
6878 if (_argo1 == Py_None) { _arg1 = NULL; }
6879 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6880 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6881 return NULL;
6882 }
6883 }
6884{
474c48f9 6885 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
6886 wxTreeCtrl_AssignImageList(_arg0,_arg1);
6887
474c48f9 6888 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6889 if (PyErr_Occurred()) return NULL;
6890} Py_INCREF(Py_None);
6891 _resultobj = Py_None;
6892 return _resultobj;
6893}
6894
6895#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6896static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6897 PyObject * _resultobj;
6898 wxPyTreeCtrl * _arg0;
6899 wxImageList * _arg1;
6900 PyObject * _argo0 = 0;
6901 PyObject * _argo1 = 0;
6902 char *_kwnames[] = { "self","imageList", NULL };
6903
6904 self = self;
6905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
6906 return NULL;
6907 if (_argo0) {
6908 if (_argo0 == Py_None) { _arg0 = NULL; }
6909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6911 return NULL;
6912 }
6913 }
6914 if (_argo1) {
6915 if (_argo1 == Py_None) { _arg1 = NULL; }
6916 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
6917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6918 return NULL;
6919 }
6920 }
6921{
474c48f9 6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
aa2a5b86
RD
6923 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
6924
474c48f9 6925 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
6926 if (PyErr_Occurred()) return NULL;
6927} Py_INCREF(Py_None);
6928 _resultobj = Py_None;
6929 return _resultobj;
6930}
6931
b1462dfa
RD
6932#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6933static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject * _resultobj;
6935 unsigned int _result;
f6bcfd97 6936 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6937 PyObject * _argo0 = 0;
6938 char *_kwnames[] = { "self", NULL };
6939
6940 self = self;
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
6942 return NULL;
6943 if (_argo0) {
6944 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6947 return NULL;
6948 }
6949 }
6950{
474c48f9 6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1462dfa
RD
6952 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
6953
474c48f9 6954 wxPyEndAllowThreads(__tstate);
4dfaa61e 6955 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6956} _resultobj = Py_BuildValue("i",_result);
6957 return _resultobj;
6958}
6959
6960#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6961static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6962 PyObject * _resultobj;
f6bcfd97 6963 wxPyTreeCtrl * _arg0;
b1462dfa
RD
6964 unsigned int _arg1;
6965 PyObject * _argo0 = 0;
6966 char *_kwnames[] = { "self","spacing", NULL };
6967
6968 self = self;
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
6970 return NULL;
6971 if (_argo0) {
6972 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
6975 return NULL;
6976 }
6977 }
6978{
474c48f9 6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1462dfa
RD
6980 wxTreeCtrl_SetSpacing(_arg0,_arg1);
6981
474c48f9 6982 wxPyEndAllowThreads(__tstate);
4dfaa61e 6983 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
6984} Py_INCREF(Py_None);
6985 _resultobj = Py_None;
6986 return _resultobj;
6987}
6988
d5c9047a 6989#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 6990static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6991 PyObject * _resultobj;
d5c9047a 6992 wxString * _result;
f6bcfd97 6993 wxPyTreeCtrl * _arg0;
d5c9047a 6994 wxTreeItemId * _arg1;
1d99702e
RD
6995 PyObject * _argo0 = 0;
6996 PyObject * _argo1 = 0;
efc5f224 6997 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
6998
6999 self = self;
efc5f224 7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 7001 return NULL;
1d99702e
RD
7002 if (_argo0) {
7003 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7006 return NULL;
7007 }
7008 }
1d99702e
RD
7009 if (_argo1) {
7010 if (_argo1 == Py_None) { _arg1 = NULL; }
7011 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7012 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7013 return NULL;
7014 }
7015 }
d5c9047a 7016{
474c48f9 7017 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7018 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
7019
474c48f9 7020 wxPyEndAllowThreads(__tstate);
4dfaa61e 7021 if (PyErr_Occurred()) return NULL;
cf694132 7022}{
eec92d76 7023 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
d5c9047a
RD
7024}
7025{
7026 delete _result;
7027}
8ab979d7
RD
7028 return _resultobj;
7029}
7030
694759cf 7031#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 7032static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7033 PyObject * _resultobj;
d5c9047a 7034 int _result;
f6bcfd97 7035 wxPyTreeCtrl * _arg0;
d5c9047a 7036 wxTreeItemId * _arg1;
694759cf 7037 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7038 PyObject * _argo0 = 0;
7039 PyObject * _argo1 = 0;
694759cf 7040 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
7041
7042 self = self;
694759cf 7043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7044 return NULL;
1d99702e
RD
7045 if (_argo0) {
7046 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7049 return NULL;
7050 }
7051 }
1d99702e
RD
7052 if (_argo1) {
7053 if (_argo1 == Py_None) { _arg1 = NULL; }
7054 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7056 return NULL;
7057 }
7058 }
cf694132 7059{
474c48f9 7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
694759cf 7061 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132 7062
474c48f9 7063 wxPyEndAllowThreads(__tstate);
4dfaa61e 7064 if (PyErr_Occurred()) return NULL;
cf694132 7065} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7066 return _resultobj;
7067}
7068
d5c9047a 7069#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 7070static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7071 PyObject * _resultobj;
d5c9047a 7072 int _result;
f6bcfd97 7073 wxPyTreeCtrl * _arg0;
d5c9047a 7074 wxTreeItemId * _arg1;
1d99702e
RD
7075 PyObject * _argo0 = 0;
7076 PyObject * _argo1 = 0;
efc5f224 7077 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7078
7079 self = self;
efc5f224 7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 7081 return NULL;
1d99702e
RD
7082 if (_argo0) {
7083 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7086 return NULL;
7087 }
7088 }
1d99702e
RD
7089 if (_argo1) {
7090 if (_argo1 == Py_None) { _arg1 = NULL; }
7091 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7092 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7093 return NULL;
7094 }
7095 }
cf694132 7096{
474c48f9 7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132 7098 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 7099
474c48f9 7100 wxPyEndAllowThreads(__tstate);
4dfaa61e 7101 if (PyErr_Occurred()) return NULL;
cf694132 7102} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7103 return _resultobj;
7104}
7105
d5c9047a 7106#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 7107static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7108 PyObject * _resultobj;
f6bcfd97 7109 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7110 wxTreeItemId * _arg1;
7111 wxString * _arg2;
1d99702e
RD
7112 PyObject * _argo0 = 0;
7113 PyObject * _argo1 = 0;
d5c9047a 7114 PyObject * _obj2 = 0;
efc5f224 7115 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
7116
7117 self = self;
efc5f224 7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7119 return NULL;
1d99702e
RD
7120 if (_argo0) {
7121 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7124 return NULL;
7125 }
7126 }
1d99702e
RD
7127 if (_argo1) {
7128 if (_argo1 == Py_None) { _arg1 = NULL; }
7129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7131 return NULL;
7132 }
7133 }
7134{
2cd2fac8
RD
7135#if PYTHON_API_VERSION >= 1009
7136 char* tmpPtr; int tmpSize;
7137 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 7138 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7139 return NULL;
7140 }
7141 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7142 return NULL;
7143 _arg2 = new wxString(tmpPtr, tmpSize);
7144#else
d5c9047a
RD
7145 if (!PyString_Check(_obj2)) {
7146 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7147 return NULL;
7148 }
2cd2fac8
RD
7149 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7150#endif
d5c9047a 7151}
cf694132 7152{
474c48f9 7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7154 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
7155
474c48f9 7156 wxPyEndAllowThreads(__tstate);
4dfaa61e 7157 if (PyErr_Occurred()) return NULL;
cf694132 7158} Py_INCREF(Py_None);
d5c9047a
RD
7159 _resultobj = Py_None;
7160{
7161 if (_obj2)
7162 delete _arg2;
7163}
8ab979d7
RD
7164 return _resultobj;
7165}
7166
694759cf 7167#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 7168static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7169 PyObject * _resultobj;
f6bcfd97 7170 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7171 wxTreeItemId * _arg1;
7172 int _arg2;
694759cf 7173 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
7174 PyObject * _argo0 = 0;
7175 PyObject * _argo1 = 0;
694759cf 7176 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
7177
7178 self = self;
694759cf 7179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7180 return NULL;
1d99702e
RD
7181 if (_argo0) {
7182 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7185 return NULL;
7186 }
7187 }
1d99702e
RD
7188 if (_argo1) {
7189 if (_argo1 == Py_None) { _arg1 = NULL; }
7190 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7191 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7192 return NULL;
7193 }
7194 }
cf694132 7195{
474c48f9 7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
694759cf 7197 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132 7198
474c48f9 7199 wxPyEndAllowThreads(__tstate);
4dfaa61e 7200 if (PyErr_Occurred()) return NULL;
cf694132 7201} Py_INCREF(Py_None);
d5c9047a 7202 _resultobj = Py_None;
8ab979d7
RD
7203 return _resultobj;
7204}
7205
d5c9047a 7206#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 7207static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7208 PyObject * _resultobj;
f6bcfd97 7209 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7210 wxTreeItemId * _arg1;
7211 int _arg2;
1d99702e
RD
7212 PyObject * _argo0 = 0;
7213 PyObject * _argo1 = 0;
efc5f224 7214 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
7215
7216 self = self;
efc5f224 7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 7218 return NULL;
1d99702e
RD
7219 if (_argo0) {
7220 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7223 return NULL;
7224 }
7225 }
1d99702e
RD
7226 if (_argo1) {
7227 if (_argo1 == Py_None) { _arg1 = NULL; }
7228 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7229 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7230 return NULL;
7231 }
7232 }
cf694132 7233{
474c48f9 7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7235 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
7236
474c48f9 7237 wxPyEndAllowThreads(__tstate);
4dfaa61e 7238 if (PyErr_Occurred()) return NULL;
cf694132
RD
7239} Py_INCREF(Py_None);
7240 _resultobj = Py_None;
7241 return _resultobj;
7242}
7243
7244#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 7245static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7246 PyObject * _resultobj;
f6bcfd97 7247 wxPyTreeCtrl * _arg0;
cf694132 7248 wxTreeItemId * _arg1;
1d99702e
RD
7249 bool _arg2 = (bool ) TRUE;
7250 PyObject * _argo0 = 0;
7251 PyObject * _argo1 = 0;
7252 int tempbool2 = (int) TRUE;
efc5f224 7253 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
7254
7255 self = self;
efc5f224 7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 7257 return NULL;
1d99702e
RD
7258 if (_argo0) {
7259 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7262 return NULL;
7263 }
7264 }
1d99702e
RD
7265 if (_argo1) {
7266 if (_argo1 == Py_None) { _arg1 = NULL; }
7267 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7268 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7269 return NULL;
7270 }
7271 }
7272 _arg2 = (bool ) tempbool2;
7273{
474c48f9 7274 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7275 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
7276
474c48f9 7277 wxPyEndAllowThreads(__tstate);
4dfaa61e 7278 if (PyErr_Occurred()) return NULL;
cf694132 7279} Py_INCREF(Py_None);
d5c9047a 7280 _resultobj = Py_None;
8ab979d7
RD
7281 return _resultobj;
7282}
7283
f6bcfd97 7284static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7285 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7286 if (data == NULL) {
7287 data = new wxPyTreeItemData();
f6bcfd97 7288 data->SetId(item); // set the id
cf694132
RD
7289 self->SetItemData(item, data);
7290 }
7291 return data;
7292 }
efc5f224 7293static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7294 PyObject * _resultobj;
7295 wxPyTreeItemData * _result;
f6bcfd97 7296 wxPyTreeCtrl * _arg0;
cf694132 7297 wxTreeItemId * _arg1;
1d99702e
RD
7298 PyObject * _argo0 = 0;
7299 PyObject * _argo1 = 0;
efc5f224 7300 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
7301 char _ptemp[128];
7302
7303 self = self;
efc5f224 7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 7305 return NULL;
1d99702e
RD
7306 if (_argo0) {
7307 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7310 return NULL;
7311 }
7312 }
1d99702e
RD
7313 if (_argo1) {
7314 if (_argo1 == Py_None) { _arg1 = NULL; }
7315 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7316 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7317 return NULL;
7318 }
7319 }
7320{
474c48f9 7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7322 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132 7323
474c48f9 7324 wxPyEndAllowThreads(__tstate);
4dfaa61e 7325 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7326} if (_result) {
7327 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7328 _resultobj = Py_BuildValue("s",_ptemp);
7329 } else {
7330 Py_INCREF(Py_None);
7331 _resultobj = Py_None;
7332 }
cf694132
RD
7333 return _resultobj;
7334}
7335
f6bcfd97
BP
7336static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7337 data->SetId(item); // set the id
7338 self->SetItemData(item, data);
c368d904 7339 }
efc5f224 7340static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7341 PyObject * _resultobj;
f6bcfd97 7342 wxPyTreeCtrl * _arg0;
d5c9047a 7343 wxTreeItemId * _arg1;
cf694132 7344 wxPyTreeItemData * _arg2;
1d99702e
RD
7345 PyObject * _argo0 = 0;
7346 PyObject * _argo1 = 0;
7347 PyObject * _argo2 = 0;
efc5f224 7348 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
7349
7350 self = self;
efc5f224 7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 7352 return NULL;
1d99702e
RD
7353 if (_argo0) {
7354 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7357 return NULL;
7358 }
7359 }
1d99702e
RD
7360 if (_argo1) {
7361 if (_argo1 == Py_None) { _arg1 = NULL; }
7362 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7363 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7364 return NULL;
7365 }
7366 }
1d99702e
RD
7367 if (_argo2) {
7368 if (_argo2 == Py_None) { _arg2 = NULL; }
7369 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 7370 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
7371 return NULL;
7372 }
7373 }
cf694132 7374{
474c48f9 7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7376 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132 7377
474c48f9 7378 wxPyEndAllowThreads(__tstate);
4dfaa61e 7379 if (PyErr_Occurred()) return NULL;
cf694132 7380} Py_INCREF(Py_None);
d5c9047a 7381 _resultobj = Py_None;
8ab979d7
RD
7382 return _resultobj;
7383}
7384
f6bcfd97 7385static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
7386 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7387 if (data == NULL) {
7388 data = new wxPyTreeItemData();
f6bcfd97 7389 data->SetId(item); // set the id
cf694132
RD
7390 self->SetItemData(item, data);
7391 }
7392 return data->GetData();
c368d904 7393 }
efc5f224 7394static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 7395 PyObject * _resultobj;
cf694132 7396 PyObject * _result;
f6bcfd97 7397 wxPyTreeCtrl * _arg0;
08127323 7398 wxTreeItemId * _arg1;
1d99702e
RD
7399 PyObject * _argo0 = 0;
7400 PyObject * _argo1 = 0;
efc5f224 7401 char *_kwnames[] = { "self","item", NULL };
08127323
RD
7402
7403 self = self;
efc5f224 7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 7405 return NULL;
1d99702e
RD
7406 if (_argo0) {
7407 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
7410 return NULL;
7411 }
7412 }
1d99702e
RD
7413 if (_argo1) {
7414 if (_argo1 == Py_None) { _arg1 = NULL; }
7415 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 7416 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
7417 return NULL;
7418 }
7419 }
cf694132 7420{
474c48f9 7421 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7422 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132 7423
474c48f9 7424 wxPyEndAllowThreads(__tstate);
4dfaa61e 7425 if (PyErr_Occurred()) return NULL;
cf694132
RD
7426}{
7427 _resultobj = _result;
7428}
7429 return _resultobj;
7430}
7431
f6bcfd97 7432static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
7433 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7434 if (data == NULL) {
7435 data = new wxPyTreeItemData(obj);
f6bcfd97 7436 data->SetId(item); // set the id
cf694132
RD
7437 self->SetItemData(item, data);
7438 } else
7439 data->SetData(obj);
c368d904 7440 }
efc5f224 7441static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 7442 PyObject * _resultobj;
f6bcfd97 7443 wxPyTreeCtrl * _arg0;
cf694132
RD
7444 wxTreeItemId * _arg1;
7445 PyObject * _arg2;
1d99702e
RD
7446 PyObject * _argo0 = 0;
7447 PyObject * _argo1 = 0;
cf694132 7448 PyObject * _obj2 = 0;
efc5f224 7449 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
7450
7451 self = self;
efc5f224 7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 7453 return NULL;
1d99702e
RD
7454 if (_argo0) {
7455 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
7458 return NULL;
7459 }
7460 }
1d99702e
RD
7461 if (_argo1) {
7462 if (_argo1 == Py_None) { _arg1 = NULL; }
7463 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
7464 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7465 return NULL;
7466 }
7467 }
7468{
7469 _arg2 = _obj2;
7470}
7471{
474c48f9 7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7473 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132 7474
474c48f9 7475 wxPyEndAllowThreads(__tstate);
4dfaa61e 7476 if (PyErr_Occurred()) return NULL;
cf694132 7477} Py_INCREF(Py_None);
08127323
RD
7478 _resultobj = Py_None;
7479 return _resultobj;
7480}
7481
d5c9047a 7482#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 7483static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7484 PyObject * _resultobj;
d5c9047a 7485 bool _result;
f6bcfd97 7486 wxPyTreeCtrl * _arg0;
d5c9047a 7487 wxTreeItemId * _arg1;
1d99702e
RD
7488 PyObject * _argo0 = 0;
7489 PyObject * _argo1 = 0;
efc5f224 7490 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7491
7492 self = self;
efc5f224 7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 7494 return NULL;
1d99702e
RD
7495 if (_argo0) {
7496 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7499 return NULL;
7500 }
7501 }
1d99702e
RD
7502 if (_argo1) {
7503 if (_argo1 == Py_None) { _arg1 = NULL; }
7504 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7505 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7506 return NULL;
7507 }
7508 }
cf694132 7509{
474c48f9 7510 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7511 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
7512
474c48f9 7513 wxPyEndAllowThreads(__tstate);
4dfaa61e 7514 if (PyErr_Occurred()) return NULL;
cf694132 7515} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7516 return _resultobj;
7517}
7518
d5c9047a 7519#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 7520static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7521 PyObject * _resultobj;
d5c9047a 7522 bool _result;
f6bcfd97 7523 wxPyTreeCtrl * _arg0;
d5c9047a 7524 wxTreeItemId * _arg1;
1d99702e
RD
7525 PyObject * _argo0 = 0;
7526 PyObject * _argo1 = 0;
efc5f224 7527 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7528
7529 self = self;
efc5f224 7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 7531 return NULL;
1d99702e
RD
7532 if (_argo0) {
7533 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7536 return NULL;
7537 }
7538 }
1d99702e
RD
7539 if (_argo1) {
7540 if (_argo1 == Py_None) { _arg1 = NULL; }
7541 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7542 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7543 return NULL;
7544 }
7545 }
cf694132 7546{
474c48f9 7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7548 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
7549
474c48f9 7550 wxPyEndAllowThreads(__tstate);
4dfaa61e 7551 if (PyErr_Occurred()) return NULL;
cf694132 7552} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7553 return _resultobj;
7554}
7555
d5c9047a 7556#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 7557static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7558 PyObject * _resultobj;
d5c9047a 7559 bool _result;
f6bcfd97 7560 wxPyTreeCtrl * _arg0;
d5c9047a 7561 wxTreeItemId * _arg1;
1d99702e
RD
7562 PyObject * _argo0 = 0;
7563 PyObject * _argo1 = 0;
efc5f224 7564 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7565
7566 self = self;
efc5f224 7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 7568 return NULL;
1d99702e
RD
7569 if (_argo0) {
7570 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7573 return NULL;
7574 }
7575 }
1d99702e
RD
7576 if (_argo1) {
7577 if (_argo1 == Py_None) { _arg1 = NULL; }
7578 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7579 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7580 return NULL;
7581 }
7582 }
cf694132 7583{
474c48f9 7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7585 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
7586
474c48f9 7587 wxPyEndAllowThreads(__tstate);
4dfaa61e 7588 if (PyErr_Occurred()) return NULL;
cf694132 7589} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7590 return _resultobj;
7591}
7592
d5c9047a 7593#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 7594static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7595 PyObject * _resultobj;
d5c9047a 7596 bool _result;
f6bcfd97 7597 wxPyTreeCtrl * _arg0;
d5c9047a 7598 wxTreeItemId * _arg1;
1d99702e
RD
7599 PyObject * _argo0 = 0;
7600 PyObject * _argo1 = 0;
efc5f224 7601 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
7602
7603 self = self;
efc5f224 7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 7605 return NULL;
1d99702e
RD
7606 if (_argo0) {
7607 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7610 return NULL;
7611 }
7612 }
1d99702e
RD
7613 if (_argo1) {
7614 if (_argo1 == Py_None) { _arg1 = NULL; }
7615 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7616 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7617 return NULL;
7618 }
7619 }
cf694132 7620{
474c48f9 7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7622 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
7623
474c48f9 7624 wxPyEndAllowThreads(__tstate);
4dfaa61e 7625 if (PyErr_Occurred()) return NULL;
cf694132 7626} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7627 return _resultobj;
7628}
7629
7630#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 7631static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7632 PyObject * _resultobj;
d5c9047a 7633 wxTreeItemId * _result;
f6bcfd97 7634 wxPyTreeCtrl * _arg0;
1d99702e 7635 PyObject * _argo0 = 0;
efc5f224 7636 char *_kwnames[] = { "self", NULL };
d5c9047a 7637 char _ptemp[128];
8ab979d7
RD
7638
7639 self = self;
efc5f224 7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 7641 return NULL;
1d99702e
RD
7642 if (_argo0) {
7643 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7646 return NULL;
7647 }
7648 }
cf694132 7649{
474c48f9 7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7651 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
7652
474c48f9 7653 wxPyEndAllowThreads(__tstate);
4dfaa61e 7654 if (PyErr_Occurred()) return NULL;
cf694132 7655} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7656 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7657 return _resultobj;
7658}
7659
7660#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 7661static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7662 PyObject * _resultobj;
d5c9047a 7663 wxTreeItemId * _result;
f6bcfd97 7664 wxPyTreeCtrl * _arg0;
1d99702e 7665 PyObject * _argo0 = 0;
efc5f224 7666 char *_kwnames[] = { "self", NULL };
d5c9047a 7667 char _ptemp[128];
8ab979d7
RD
7668
7669 self = self;
efc5f224 7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7671 return NULL;
1d99702e
RD
7672 if (_argo0) {
7673 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7676 return NULL;
7677 }
7678 }
cf694132 7679{
474c48f9 7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7681 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
7682
474c48f9 7683 wxPyEndAllowThreads(__tstate);
4dfaa61e 7684 if (PyErr_Occurred()) return NULL;
cf694132 7685} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7686 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7687 return _resultobj;
7688}
7689
eb715945
RD
7690#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7691static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7692 PyObject * _resultobj;
d5c9047a 7693 wxTreeItemId * _result;
f6bcfd97 7694 wxPyTreeCtrl * _arg0;
d5c9047a 7695 wxTreeItemId * _arg1;
1d99702e
RD
7696 PyObject * _argo0 = 0;
7697 PyObject * _argo1 = 0;
efc5f224 7698 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7699 char _ptemp[128];
8ab979d7
RD
7700
7701 self = self;
eb715945 7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 7703 return NULL;
1d99702e
RD
7704 if (_argo0) {
7705 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7708 return NULL;
7709 }
7710 }
1d99702e
RD
7711 if (_argo1) {
7712 if (_argo1 == Py_None) { _arg1 = NULL; }
7713 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 7714 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
7715 return NULL;
7716 }
7717 }
cf694132 7718{
474c48f9 7719 PyThreadState* __tstate = wxPyBeginAllowThreads();
eb715945 7720 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132 7721
474c48f9 7722 wxPyEndAllowThreads(__tstate);
4dfaa61e 7723 if (PyErr_Occurred()) return NULL;
cf694132 7724} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7725 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7726 return _resultobj;
7727}
7728
f6bcfd97 7729static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
474c48f9 7730 wxPyBeginBlockThreads();
d426c97e
RD
7731 PyObject* rval = PyList_New(0);
7732 wxArrayTreeItemIds array;
7733 size_t num, x;
7734 num = self->GetSelections(array);
7735 for (x=0; x < num; x++) {
c368d904
RD
7736 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7737 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
7738 PyList_Append(rval, item);
7739 }
474c48f9 7740 wxPyEndBlockThreads();
d426c97e
RD
7741 return rval;
7742 }
7743static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject * _resultobj;
7745 PyObject * _result;
f6bcfd97 7746 wxPyTreeCtrl * _arg0;
d426c97e
RD
7747 PyObject * _argo0 = 0;
7748 char *_kwnames[] = { "self", NULL };
7749
7750 self = self;
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7752 return NULL;
7753 if (_argo0) {
7754 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7757 return NULL;
7758 }
7759 }
7760{
474c48f9 7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 7762 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e 7763
474c48f9 7764 wxPyEndAllowThreads(__tstate);
4dfaa61e 7765 if (PyErr_Occurred()) return NULL;
d426c97e
RD
7766}{
7767 _resultobj = _result;
7768}
7769 return _resultobj;
7770}
7771
bb0054cd 7772#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 7773static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7774 PyObject * _resultobj;
7775 size_t _result;
f6bcfd97 7776 wxPyTreeCtrl * _arg0;
bb0054cd 7777 wxTreeItemId * _arg1;
1d99702e
RD
7778 bool _arg2 = (bool ) TRUE;
7779 PyObject * _argo0 = 0;
7780 PyObject * _argo1 = 0;
7781 int tempbool2 = (int) TRUE;
efc5f224 7782 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
7783
7784 self = self;
efc5f224 7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 7786 return NULL;
1d99702e
RD
7787 if (_argo0) {
7788 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
7791 return NULL;
7792 }
7793 }
1d99702e
RD
7794 if (_argo1) {
7795 if (_argo1 == Py_None) { _arg1 = NULL; }
7796 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
7797 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7798 return NULL;
7799 }
7800 }
7801 _arg2 = (bool ) tempbool2;
7802{
474c48f9 7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
bb0054cd
RD
7804 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
7805
474c48f9 7806 wxPyEndAllowThreads(__tstate);
4dfaa61e 7807 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7808} _resultobj = Py_BuildValue("i",_result);
7809 return _resultobj;
7810}
7811
d5c9047a 7812#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 7813static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7814 PyObject * _resultobj;
d5c9047a 7815 wxTreeItemId * _result;
f6bcfd97 7816 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7817 wxTreeItemId * _arg1;
7818 long * _arg2;
1d99702e
RD
7819 PyObject * _argo0 = 0;
7820 PyObject * _argo1 = 0;
d5c9047a
RD
7821 long temp;
7822 PyObject * _obj2 = 0;
efc5f224 7823 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7824 char _ptemp[128];
8ab979d7
RD
7825
7826 self = self;
efc5f224 7827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7828 return NULL;
1d99702e
RD
7829 if (_argo0) {
7830 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7833 return NULL;
7834 }
7835 }
1d99702e
RD
7836 if (_argo1) {
7837 if (_argo1 == Py_None) { _arg1 = NULL; }
7838 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7839 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
7840 return NULL;
7841 }
7842 }
d5c9047a
RD
7843{
7844 temp = (long) PyInt_AsLong(_obj2);
7845 _arg2 = &temp;
7846}
cf694132 7847{
474c48f9 7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7849 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
7850
474c48f9 7851 wxPyEndAllowThreads(__tstate);
4dfaa61e 7852 if (PyErr_Occurred()) return NULL;
cf694132 7853} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
7854 _resultobj = Py_BuildValue("s",_ptemp);
7855{
7856 PyObject *o;
7857 o = PyInt_FromLong((long) (*_arg2));
7858 _resultobj = t_output_helper(_resultobj, o);
7859}
8ab979d7
RD
7860 return _resultobj;
7861}
7862
d5c9047a 7863#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 7864static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7865 PyObject * _resultobj;
d5c9047a 7866 wxTreeItemId * _result;
f6bcfd97 7867 wxPyTreeCtrl * _arg0;
d5c9047a
RD
7868 wxTreeItemId * _arg1;
7869 long * _arg2;
1d99702e
RD
7870 PyObject * _argo0 = 0;
7871 PyObject * _argo1 = 0;
d5c9047a 7872 long temp;
8ab979d7 7873 PyObject * _obj2 = 0;
efc5f224 7874 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 7875 char _ptemp[128];
8ab979d7
RD
7876
7877 self = self;
efc5f224 7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 7879 return NULL;
1d99702e
RD
7880 if (_argo0) {
7881 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7884 return NULL;
7885 }
7886 }
1d99702e
RD
7887 if (_argo1) {
7888 if (_argo1 == Py_None) { _arg1 = NULL; }
7889 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 7890 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 7891 return NULL;
d5c9047a 7892 }
8ab979d7 7893 }
d5c9047a
RD
7894{
7895 temp = (long) PyInt_AsLong(_obj2);
7896 _arg2 = &temp;
8ab979d7 7897}
cf694132 7898{
474c48f9 7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7900 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
7901
474c48f9 7902 wxPyEndAllowThreads(__tstate);
4dfaa61e 7903 if (PyErr_Occurred()) return NULL;
cf694132 7904} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7905 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 7906{
d5c9047a
RD
7907 PyObject *o;
7908 o = PyInt_FromLong((long) (*_arg2));
7909 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7910}
7911 return _resultobj;
7912}
7913
d5c9047a 7914#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 7915static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7916 PyObject * _resultobj;
d5c9047a 7917 wxTreeItemId * _result;
f6bcfd97 7918 wxPyTreeCtrl * _arg0;
d5c9047a 7919 wxTreeItemId * _arg1;
1d99702e
RD
7920 PyObject * _argo0 = 0;
7921 PyObject * _argo1 = 0;
efc5f224 7922 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7923 char _ptemp[128];
8ab979d7
RD
7924
7925 self = self;
efc5f224 7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7927 return NULL;
1d99702e
RD
7928 if (_argo0) {
7929 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7932 return NULL;
7933 }
7934 }
1d99702e
RD
7935 if (_argo1) {
7936 if (_argo1 == Py_None) { _arg1 = NULL; }
7937 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7938 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7939 return NULL;
7940 }
7941 }
cf694132 7942{
474c48f9 7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7944 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
7945
474c48f9 7946 wxPyEndAllowThreads(__tstate);
4dfaa61e 7947 if (PyErr_Occurred()) return NULL;
cf694132 7948} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7949 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7950 return _resultobj;
7951}
7952
d5c9047a 7953#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 7954static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7955 PyObject * _resultobj;
d5c9047a 7956 wxTreeItemId * _result;
f6bcfd97 7957 wxPyTreeCtrl * _arg0;
d5c9047a 7958 wxTreeItemId * _arg1;
1d99702e
RD
7959 PyObject * _argo0 = 0;
7960 PyObject * _argo1 = 0;
efc5f224 7961 char *_kwnames[] = { "self","item", NULL };
d5c9047a 7962 char _ptemp[128];
8ab979d7
RD
7963
7964 self = self;
efc5f224 7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 7966 return NULL;
1d99702e
RD
7967 if (_argo0) {
7968 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
7971 return NULL;
7972 }
7973 }
1d99702e
RD
7974 if (_argo1) {
7975 if (_argo1 == Py_None) { _arg1 = NULL; }
7976 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7977 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7978 return NULL;
7979 }
7980 }
cf694132 7981{
474c48f9 7982 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7983 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
7984
474c48f9 7985 wxPyEndAllowThreads(__tstate);
4dfaa61e 7986 if (PyErr_Occurred()) return NULL;
cf694132 7987} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 7988 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7989 return _resultobj;
7990}
7991
d5c9047a 7992#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 7993static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7994 PyObject * _resultobj;
d5c9047a 7995 wxTreeItemId * _result;
f6bcfd97 7996 wxPyTreeCtrl * _arg0;
1d99702e 7997 PyObject * _argo0 = 0;
efc5f224 7998 char *_kwnames[] = { "self", NULL };
d5c9047a 7999 char _ptemp[128];
8ab979d7
RD
8000
8001 self = self;
efc5f224 8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 8003 return NULL;
1d99702e
RD
8004 if (_argo0) {
8005 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8008 return NULL;
8009 }
8010 }
cf694132 8011{
474c48f9 8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8013 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
8014
474c48f9 8015 wxPyEndAllowThreads(__tstate);
4dfaa61e 8016 if (PyErr_Occurred()) return NULL;
cf694132 8017} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8018 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8019 return _resultobj;
8020}
8021
d5c9047a 8022#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 8023static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8024 PyObject * _resultobj;
d5c9047a 8025 wxTreeItemId * _result;
f6bcfd97 8026 wxPyTreeCtrl * _arg0;
d5c9047a 8027 wxTreeItemId * _arg1;
1d99702e
RD
8028 PyObject * _argo0 = 0;
8029 PyObject * _argo1 = 0;
efc5f224 8030 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8031 char _ptemp[128];
8ab979d7
RD
8032
8033 self = self;
efc5f224 8034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8035 return NULL;
1d99702e
RD
8036 if (_argo0) {
8037 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8040 return NULL;
8041 }
8042 }
1d99702e
RD
8043 if (_argo1) {
8044 if (_argo1 == Py_None) { _arg1 = NULL; }
8045 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8046 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8047 return NULL;
8048 }
8049 }
cf694132 8050{
474c48f9 8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8052 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
8053
474c48f9 8054 wxPyEndAllowThreads(__tstate);
4dfaa61e 8055 if (PyErr_Occurred()) return NULL;
cf694132 8056} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8057 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8058 return _resultobj;
8059}
8060
d5c9047a 8061#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 8062static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8063 PyObject * _resultobj;
d5c9047a 8064 wxTreeItemId * _result;
f6bcfd97 8065 wxPyTreeCtrl * _arg0;
d5c9047a 8066 wxTreeItemId * _arg1;
1d99702e
RD
8067 PyObject * _argo0 = 0;
8068 PyObject * _argo1 = 0;
efc5f224 8069 char *_kwnames[] = { "self","item", NULL };
d5c9047a 8070 char _ptemp[128];
8ab979d7
RD
8071
8072 self = self;
efc5f224 8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 8074 return NULL;
1d99702e
RD
8075 if (_argo0) {
8076 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8079 return NULL;
8080 }
8081 }
1d99702e
RD
8082 if (_argo1) {
8083 if (_argo1 == Py_None) { _arg1 = NULL; }
8084 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8085 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
8086 return NULL;
8087 }
8088 }
cf694132 8089{
474c48f9 8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8091 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
8092
474c48f9 8093 wxPyEndAllowThreads(__tstate);
4dfaa61e 8094 if (PyErr_Occurred()) return NULL;
cf694132 8095} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8096 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8097 return _resultobj;
8098}
8099
d426c97e
RD
8100#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8101static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8102 PyObject * _resultobj;
8103 wxTreeItemId * _result;
f6bcfd97 8104 wxPyTreeCtrl * _arg0;
d426c97e
RD
8105 wxTreeItemId * _arg1;
8106 PyObject * _argo0 = 0;
8107 PyObject * _argo1 = 0;
8108 char *_kwnames[] = { "self","item", NULL };
8109 char _ptemp[128];
8110
8111 self = self;
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8113 return NULL;
8114 if (_argo0) {
8115 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8118 return NULL;
8119 }
8120 }
8121 if (_argo1) {
8122 if (_argo1 == Py_None) { _arg1 = NULL; }
8123 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8124 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8125 return NULL;
8126 }
8127 }
8128{
474c48f9 8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
d426c97e
RD
8130 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
8131
474c48f9 8132 wxPyEndAllowThreads(__tstate);
4dfaa61e 8133 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8134} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8135 _resultobj = Py_BuildValue("s",_ptemp);
8136 return _resultobj;
8137}
8138
d5c9047a 8139#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 8140static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8141 PyObject * _resultobj;
d5c9047a 8142 wxTreeItemId * _result;
f6bcfd97 8143 wxPyTreeCtrl * _arg0;
d5c9047a 8144 wxString * _arg1;
1d99702e
RD
8145 int _arg2 = (int ) -1;
8146 int _arg3 = (int ) -1;
8147 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8148 PyObject * _argo0 = 0;
d5c9047a 8149 PyObject * _obj1 = 0;
1d99702e 8150 PyObject * _argo4 = 0;
efc5f224 8151 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 8152 char _ptemp[128];
8ab979d7
RD
8153
8154 self = self;
efc5f224 8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 8156 return NULL;
1d99702e
RD
8157 if (_argo0) {
8158 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8161 return NULL;
8162 }
8163 }
d5c9047a 8164{
2cd2fac8
RD
8165#if PYTHON_API_VERSION >= 1009
8166 char* tmpPtr; int tmpSize;
8167 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 8168 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8169 return NULL;
8170 }
8171 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8172 return NULL;
8173 _arg1 = new wxString(tmpPtr, tmpSize);
8174#else
d5c9047a
RD
8175 if (!PyString_Check(_obj1)) {
8176 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8177 return NULL;
8178 }
2cd2fac8
RD
8179 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8180#endif
d5c9047a 8181}
1d99702e
RD
8182 if (_argo4) {
8183 if (_argo4 == Py_None) { _arg4 = NULL; }
8184 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 8185 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
8186 return NULL;
8187 }
8188 }
cf694132 8189{
474c48f9 8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8191 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
8192
474c48f9 8193 wxPyEndAllowThreads(__tstate);
4dfaa61e 8194 if (PyErr_Occurred()) return NULL;
cf694132 8195} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8196 _resultobj = Py_BuildValue("s",_ptemp);
8197{
8198 if (_obj1)
8199 delete _arg1;
8200}
8ab979d7
RD
8201 return _resultobj;
8202}
8203
d5c9047a 8204#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8205static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8206 PyObject * _resultobj;
d5c9047a 8207 wxTreeItemId * _result;
f6bcfd97 8208 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8209 wxTreeItemId * _arg1;
8210 wxString * _arg2;
1d99702e
RD
8211 int _arg3 = (int ) -1;
8212 int _arg4 = (int ) -1;
8213 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8214 PyObject * _argo0 = 0;
8215 PyObject * _argo1 = 0;
d5c9047a 8216 PyObject * _obj2 = 0;
1d99702e 8217 PyObject * _argo5 = 0;
efc5f224 8218 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8219 char _ptemp[128];
8ab979d7
RD
8220
8221 self = self;
efc5f224 8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8223 return NULL;
1d99702e
RD
8224 if (_argo0) {
8225 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8228 return NULL;
8229 }
8230 }
1d99702e
RD
8231 if (_argo1) {
8232 if (_argo1 == Py_None) { _arg1 = NULL; }
8233 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8234 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8235 return NULL;
8236 }
8237 }
8238{
2cd2fac8
RD
8239#if PYTHON_API_VERSION >= 1009
8240 char* tmpPtr; int tmpSize;
8241 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 8242 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8243 return NULL;
8244 }
8245 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8246 return NULL;
8247 _arg2 = new wxString(tmpPtr, tmpSize);
8248#else
d5c9047a
RD
8249 if (!PyString_Check(_obj2)) {
8250 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8251 return NULL;
8252 }
2cd2fac8
RD
8253 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8254#endif
d5c9047a 8255}
1d99702e
RD
8256 if (_argo5) {
8257 if (_argo5 == Py_None) { _arg5 = NULL; }
8258 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8259 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8260 return NULL;
8261 }
8262 }
cf694132 8263{
474c48f9 8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8265 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
8266
474c48f9 8267 wxPyEndAllowThreads(__tstate);
4dfaa61e 8268 if (PyErr_Occurred()) return NULL;
cf694132 8269} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8270 _resultobj = Py_BuildValue("s",_ptemp);
8271{
8272 if (_obj2)
8273 delete _arg2;
8274}
8ab979d7
RD
8275 return _resultobj;
8276}
8277
d5c9047a 8278#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8279static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8280 PyObject * _resultobj;
d5c9047a 8281 wxTreeItemId * _result;
f6bcfd97 8282 wxPyTreeCtrl * _arg0;
d5c9047a
RD
8283 wxTreeItemId * _arg1;
8284 wxTreeItemId * _arg2;
8285 wxString * _arg3;
1d99702e
RD
8286 int _arg4 = (int ) -1;
8287 int _arg5 = (int ) -1;
8288 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8289 PyObject * _argo0 = 0;
8290 PyObject * _argo1 = 0;
8291 PyObject * _argo2 = 0;
d5c9047a 8292 PyObject * _obj3 = 0;
1d99702e 8293 PyObject * _argo6 = 0;
efc5f224 8294 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 8295 char _ptemp[128];
8ab979d7
RD
8296
8297 self = self;
efc5f224 8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 8299 return NULL;
1d99702e
RD
8300 if (_argo0) {
8301 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8304 return NULL;
8305 }
8306 }
1d99702e
RD
8307 if (_argo1) {
8308 if (_argo1 == Py_None) { _arg1 = NULL; }
8309 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8310 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8311 return NULL;
8312 }
8313 }
1d99702e
RD
8314 if (_argo2) {
8315 if (_argo2 == Py_None) { _arg2 = NULL; }
8316 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
8317 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8318 return NULL;
8319 }
8320 }
8321{
2cd2fac8
RD
8322#if PYTHON_API_VERSION >= 1009
8323 char* tmpPtr; int tmpSize;
8324 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 8325 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8326 return NULL;
8327 }
8328 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8329 return NULL;
8330 _arg3 = new wxString(tmpPtr, tmpSize);
8331#else
d5c9047a
RD
8332 if (!PyString_Check(_obj3)) {
8333 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8334 return NULL;
8335 }
2cd2fac8
RD
8336 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8337#endif
d5c9047a 8338}
1d99702e
RD
8339 if (_argo6) {
8340 if (_argo6 == Py_None) { _arg6 = NULL; }
8341 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 8342 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8343 return NULL;
8344 }
8345 }
cf694132 8346{
474c48f9 8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8348 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
8349
474c48f9 8350 wxPyEndAllowThreads(__tstate);
4dfaa61e 8351 if (PyErr_Occurred()) return NULL;
cf694132 8352} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
8353 _resultobj = Py_BuildValue("s",_ptemp);
8354{
8355 if (_obj3)
8356 delete _arg3;
8357}
8ab979d7
RD
8358 return _resultobj;
8359}
8360
f6bcfd97
BP
8361#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8362static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8363 PyObject * _resultobj;
8364 wxTreeItemId * _result;
8365 wxPyTreeCtrl * _arg0;
8366 wxTreeItemId * _arg1;
8367 size_t _arg2;
8368 wxString * _arg3;
8369 int _arg4 = (int ) -1;
8370 int _arg5 = (int ) -1;
55d18651 8371 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
f6bcfd97
BP
8372 PyObject * _argo0 = 0;
8373 PyObject * _argo1 = 0;
8374 PyObject * _obj3 = 0;
8375 PyObject * _argo6 = 0;
8376 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8377 char _ptemp[128];
8378
8379 self = self;
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8381 return NULL;
8382 if (_argo0) {
8383 if (_argo0 == Py_None) { _arg0 = NULL; }
8384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8386 return NULL;
8387 }
8388 }
8389 if (_argo1) {
8390 if (_argo1 == Py_None) { _arg1 = NULL; }
8391 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8392 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8393 return NULL;
8394 }
8395 }
8396{
2cd2fac8
RD
8397#if PYTHON_API_VERSION >= 1009
8398 char* tmpPtr; int tmpSize;
8399 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 8400 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8401 return NULL;
8402 }
8403 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8404 return NULL;
8405 _arg3 = new wxString(tmpPtr, tmpSize);
8406#else
f6bcfd97
BP
8407 if (!PyString_Check(_obj3)) {
8408 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8409 return NULL;
8410 }
2cd2fac8
RD
8411 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8412#endif
f6bcfd97
BP
8413}
8414 if (_argo6) {
8415 if (_argo6 == Py_None) { _arg6 = NULL; }
55d18651
RD
8416 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
8417 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
f6bcfd97
BP
8418 return NULL;
8419 }
8420 }
8421{
474c48f9 8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
8423 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
8424
474c48f9 8425 wxPyEndAllowThreads(__tstate);
4dfaa61e 8426 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8427} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8428 _resultobj = Py_BuildValue("s",_ptemp);
8429{
8430 if (_obj3)
8431 delete _arg3;
8432}
8433 return _resultobj;
8434}
8435
d5c9047a 8436#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8437static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8438 PyObject * _resultobj;
d5c9047a 8439 wxTreeItemId * _result;
f6bcfd97 8440 wxPyTreeCtrl * _arg0;
d5c9047a 8441 wxTreeItemId * _arg1;
8ab979d7 8442 wxString * _arg2;
1d99702e
RD
8443 int _arg3 = (int ) -1;
8444 int _arg4 = (int ) -1;
8445 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8446 PyObject * _argo0 = 0;
8447 PyObject * _argo1 = 0;
8ab979d7 8448 PyObject * _obj2 = 0;
1d99702e 8449 PyObject * _argo5 = 0;
efc5f224 8450 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 8451 char _ptemp[128];
8ab979d7
RD
8452
8453 self = self;
efc5f224 8454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 8455 return NULL;
1d99702e
RD
8456 if (_argo0) {
8457 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8460 return NULL;
8461 }
8462 }
1d99702e
RD
8463 if (_argo1) {
8464 if (_argo1 == Py_None) { _arg1 = NULL; }
8465 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 8466 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
8467 return NULL;
8468 }
8469 }
8470{
2cd2fac8
RD
8471#if PYTHON_API_VERSION >= 1009
8472 char* tmpPtr; int tmpSize;
8473 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 8474 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8475 return NULL;
8476 }
8477 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8478 return NULL;
8479 _arg2 = new wxString(tmpPtr, tmpSize);
8480#else
8ab979d7
RD
8481 if (!PyString_Check(_obj2)) {
8482 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8483 return NULL;
8484 }
2cd2fac8
RD
8485 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8486#endif
8ab979d7 8487}
1d99702e
RD
8488 if (_argo5) {
8489 if (_argo5 == Py_None) { _arg5 = NULL; }
8490 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 8491 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
8492 return NULL;
8493 }
8494 }
cf694132 8495{
474c48f9 8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8497 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
8498
474c48f9 8499 wxPyEndAllowThreads(__tstate);
4dfaa61e 8500 if (PyErr_Occurred()) return NULL;
cf694132 8501} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 8502 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8503{
8504 if (_obj2)
8505 delete _arg2;
8506}
8507 return _resultobj;
8508}
8509
d5c9047a 8510#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 8511static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 8512 PyObject * _resultobj;
f6bcfd97 8513 wxPyTreeCtrl * _arg0;
d5c9047a 8514 wxTreeItemId * _arg1;
1d99702e
RD
8515 PyObject * _argo0 = 0;
8516 PyObject * _argo1 = 0;
efc5f224 8517 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
8518
8519 self = self;
efc5f224 8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 8521 return NULL;
1d99702e
RD
8522 if (_argo0) {
8523 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
8526 return NULL;
8527 }
8528 }
1d99702e
RD
8529 if (_argo1) {
8530 if (_argo1 == Py_None) { _arg1 = NULL; }
8531 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8532 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8533 return NULL;
8534 }
8535 }
cf694132 8536{
474c48f9 8537 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8538 wxTreeCtrl_Delete(_arg0,*_arg1);
8539
474c48f9 8540 wxPyEndAllowThreads(__tstate);
4dfaa61e 8541 if (PyErr_Occurred()) return NULL;
cf694132 8542} Py_INCREF(Py_None);
d5c9047a
RD
8543 _resultobj = Py_None;
8544 return _resultobj;
8545}
8546
08127323 8547#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 8548static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 8549 PyObject * _resultobj;
f6bcfd97 8550 wxPyTreeCtrl * _arg0;
08127323 8551 wxTreeItemId * _arg1;
1d99702e
RD
8552 PyObject * _argo0 = 0;
8553 PyObject * _argo1 = 0;
efc5f224 8554 char *_kwnames[] = { "self","item", NULL };
08127323
RD
8555
8556 self = self;
efc5f224 8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 8558 return NULL;
1d99702e
RD
8559 if (_argo0) {
8560 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
8563 return NULL;
8564 }
8565 }
1d99702e
RD
8566 if (_argo1) {
8567 if (_argo1 == Py_None) { _arg1 = NULL; }
8568 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
8569 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8570 return NULL;
8571 }
8572 }
cf694132 8573{
474c48f9 8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8575 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
8576
474c48f9 8577 wxPyEndAllowThreads(__tstate);
4dfaa61e 8578 if (PyErr_Occurred()) return NULL;
cf694132 8579} Py_INCREF(Py_None);
08127323
RD
8580 _resultobj = Py_None;
8581 return _resultobj;
8582}
8583
d5c9047a 8584#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 8585static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8586 PyObject * _resultobj;
f6bcfd97 8587 wxPyTreeCtrl * _arg0;
1d99702e 8588 PyObject * _argo0 = 0;
efc5f224 8589 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8590
8591 self = self;
efc5f224 8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 8593 return NULL;
1d99702e
RD
8594 if (_argo0) {
8595 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8598 return NULL;
8599 }
8600 }
cf694132 8601{
474c48f9 8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8603 wxTreeCtrl_DeleteAllItems(_arg0);
8604
474c48f9 8605 wxPyEndAllowThreads(__tstate);
4dfaa61e 8606 if (PyErr_Occurred()) return NULL;
cf694132 8607} Py_INCREF(Py_None);
d5c9047a
RD
8608 _resultobj = Py_None;
8609 return _resultobj;
8610}
8611
8612#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 8613static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8614 PyObject * _resultobj;
f6bcfd97 8615 wxPyTreeCtrl * _arg0;
d5c9047a 8616 wxTreeItemId * _arg1;
1d99702e
RD
8617 PyObject * _argo0 = 0;
8618 PyObject * _argo1 = 0;
efc5f224 8619 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8620
8621 self = self;
efc5f224 8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 8623 return NULL;
1d99702e
RD
8624 if (_argo0) {
8625 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8628 return NULL;
8629 }
8630 }
1d99702e
RD
8631 if (_argo1) {
8632 if (_argo1 == Py_None) { _arg1 = NULL; }
8633 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8634 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8635 return NULL;
8636 }
8637 }
cf694132 8638{
474c48f9 8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8640 wxTreeCtrl_Expand(_arg0,*_arg1);
8641
474c48f9 8642 wxPyEndAllowThreads(__tstate);
4dfaa61e 8643 if (PyErr_Occurred()) return NULL;
cf694132 8644} Py_INCREF(Py_None);
d5c9047a
RD
8645 _resultobj = Py_None;
8646 return _resultobj;
8647}
8648
8649#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 8650static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8651 PyObject * _resultobj;
f6bcfd97 8652 wxPyTreeCtrl * _arg0;
d5c9047a 8653 wxTreeItemId * _arg1;
1d99702e
RD
8654 PyObject * _argo0 = 0;
8655 PyObject * _argo1 = 0;
efc5f224 8656 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8657
8658 self = self;
efc5f224 8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 8660 return NULL;
1d99702e
RD
8661 if (_argo0) {
8662 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8665 return NULL;
8666 }
8667 }
1d99702e
RD
8668 if (_argo1) {
8669 if (_argo1 == Py_None) { _arg1 = NULL; }
8670 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8671 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8672 return NULL;
8673 }
8674 }
cf694132 8675{
474c48f9 8676 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8677 wxTreeCtrl_Collapse(_arg0,*_arg1);
8678
474c48f9 8679 wxPyEndAllowThreads(__tstate);
4dfaa61e 8680 if (PyErr_Occurred()) return NULL;
cf694132 8681} Py_INCREF(Py_None);
d5c9047a
RD
8682 _resultobj = Py_None;
8683 return _resultobj;
8684}
8685
8686#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 8687static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8688 PyObject * _resultobj;
f6bcfd97 8689 wxPyTreeCtrl * _arg0;
d5c9047a 8690 wxTreeItemId * _arg1;
1d99702e
RD
8691 PyObject * _argo0 = 0;
8692 PyObject * _argo1 = 0;
efc5f224 8693 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8694
8695 self = self;
efc5f224 8696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 8697 return NULL;
1d99702e
RD
8698 if (_argo0) {
8699 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8702 return NULL;
8703 }
8704 }
1d99702e
RD
8705 if (_argo1) {
8706 if (_argo1 == Py_None) { _arg1 = NULL; }
8707 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8708 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8709 return NULL;
8710 }
8711 }
cf694132 8712{
474c48f9 8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8714 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
8715
474c48f9 8716 wxPyEndAllowThreads(__tstate);
4dfaa61e 8717 if (PyErr_Occurred()) return NULL;
cf694132 8718} Py_INCREF(Py_None);
d5c9047a
RD
8719 _resultobj = Py_None;
8720 return _resultobj;
8721}
8722
8723#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 8724static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8725 PyObject * _resultobj;
f6bcfd97 8726 wxPyTreeCtrl * _arg0;
d5c9047a 8727 wxTreeItemId * _arg1;
1d99702e
RD
8728 PyObject * _argo0 = 0;
8729 PyObject * _argo1 = 0;
efc5f224 8730 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8731
8732 self = self;
efc5f224 8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 8734 return NULL;
1d99702e
RD
8735 if (_argo0) {
8736 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8739 return NULL;
8740 }
8741 }
1d99702e
RD
8742 if (_argo1) {
8743 if (_argo1 == Py_None) { _arg1 = NULL; }
8744 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8745 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8746 return NULL;
8747 }
8748 }
cf694132 8749{
474c48f9 8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8751 wxTreeCtrl_Toggle(_arg0,*_arg1);
8752
474c48f9 8753 wxPyEndAllowThreads(__tstate);
4dfaa61e 8754 if (PyErr_Occurred()) return NULL;
cf694132 8755} Py_INCREF(Py_None);
d5c9047a
RD
8756 _resultobj = Py_None;
8757 return _resultobj;
8758}
8759
8760#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 8761static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8762 PyObject * _resultobj;
f6bcfd97 8763 wxPyTreeCtrl * _arg0;
1d99702e 8764 PyObject * _argo0 = 0;
efc5f224 8765 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
8766
8767 self = self;
efc5f224 8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 8769 return NULL;
1d99702e
RD
8770 if (_argo0) {
8771 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8774 return NULL;
8775 }
8776 }
cf694132 8777{
474c48f9 8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8779 wxTreeCtrl_Unselect(_arg0);
8780
474c48f9 8781 wxPyEndAllowThreads(__tstate);
4dfaa61e 8782 if (PyErr_Occurred()) return NULL;
cf694132 8783} Py_INCREF(Py_None);
d5c9047a
RD
8784 _resultobj = Py_None;
8785 return _resultobj;
8786}
8787
8bf5d46e 8788#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 8789static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 8790 PyObject * _resultobj;
f6bcfd97 8791 wxPyTreeCtrl * _arg0;
1d99702e 8792 PyObject * _argo0 = 0;
efc5f224 8793 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
8794
8795 self = self;
efc5f224 8796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 8797 return NULL;
1d99702e
RD
8798 if (_argo0) {
8799 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
8802 return NULL;
8803 }
8804 }
8805{
474c48f9 8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8bf5d46e
RD
8807 wxTreeCtrl_UnselectAll(_arg0);
8808
474c48f9 8809 wxPyEndAllowThreads(__tstate);
4dfaa61e 8810 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8811} Py_INCREF(Py_None);
8812 _resultobj = Py_None;
8813 return _resultobj;
8814}
8815
d5c9047a 8816#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 8817static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8818 PyObject * _resultobj;
f6bcfd97 8819 wxPyTreeCtrl * _arg0;
d5c9047a 8820 wxTreeItemId * _arg1;
1d99702e
RD
8821 PyObject * _argo0 = 0;
8822 PyObject * _argo1 = 0;
efc5f224 8823 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8824
8825 self = self;
efc5f224 8826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 8827 return NULL;
1d99702e
RD
8828 if (_argo0) {
8829 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8832 return NULL;
8833 }
8834 }
1d99702e
RD
8835 if (_argo1) {
8836 if (_argo1 == Py_None) { _arg1 = NULL; }
8837 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8838 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8839 return NULL;
8840 }
8841 }
cf694132 8842{
474c48f9 8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8844 wxTreeCtrl_SelectItem(_arg0,*_arg1);
8845
474c48f9 8846 wxPyEndAllowThreads(__tstate);
4dfaa61e 8847 if (PyErr_Occurred()) return NULL;
cf694132 8848} Py_INCREF(Py_None);
d5c9047a
RD
8849 _resultobj = Py_None;
8850 return _resultobj;
8851}
8852
8853#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 8854static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8855 PyObject * _resultobj;
f6bcfd97 8856 wxPyTreeCtrl * _arg0;
d5c9047a 8857 wxTreeItemId * _arg1;
1d99702e
RD
8858 PyObject * _argo0 = 0;
8859 PyObject * _argo1 = 0;
efc5f224 8860 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8861
8862 self = self;
efc5f224 8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 8864 return NULL;
1d99702e
RD
8865 if (_argo0) {
8866 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8869 return NULL;
8870 }
8871 }
1d99702e
RD
8872 if (_argo1) {
8873 if (_argo1 == Py_None) { _arg1 = NULL; }
8874 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8875 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8876 return NULL;
8877 }
8878 }
cf694132 8879{
474c48f9 8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8881 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
8882
474c48f9 8883 wxPyEndAllowThreads(__tstate);
4dfaa61e 8884 if (PyErr_Occurred()) return NULL;
cf694132 8885} Py_INCREF(Py_None);
d5c9047a
RD
8886 _resultobj = Py_None;
8887 return _resultobj;
8888}
8889
8890#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 8891static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8892 PyObject * _resultobj;
f6bcfd97 8893 wxPyTreeCtrl * _arg0;
d5c9047a 8894 wxTreeItemId * _arg1;
1d99702e
RD
8895 PyObject * _argo0 = 0;
8896 PyObject * _argo1 = 0;
efc5f224 8897 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8898
8899 self = self;
efc5f224 8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 8901 return NULL;
1d99702e
RD
8902 if (_argo0) {
8903 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8906 return NULL;
8907 }
8908 }
1d99702e
RD
8909 if (_argo1) {
8910 if (_argo1 == Py_None) { _arg1 = NULL; }
8911 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8912 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8913 return NULL;
8914 }
8915 }
cf694132 8916{
474c48f9 8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8918 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
8919
474c48f9 8920 wxPyEndAllowThreads(__tstate);
4dfaa61e 8921 if (PyErr_Occurred()) return NULL;
cf694132 8922} Py_INCREF(Py_None);
d5c9047a
RD
8923 _resultobj = Py_None;
8924 return _resultobj;
8925}
8926
8927#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 8928static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 8929 PyObject * _resultobj;
f6bcfd97 8930 wxPyTreeCtrl * _arg0;
d5c9047a 8931 wxTreeItemId * _arg1;
1d99702e
RD
8932 PyObject * _argo0 = 0;
8933 PyObject * _argo1 = 0;
efc5f224 8934 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
8935
8936 self = self;
efc5f224 8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 8938 return NULL;
1d99702e
RD
8939 if (_argo0) {
8940 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
8943 return NULL;
8944 }
8945 }
1d99702e
RD
8946 if (_argo1) {
8947 if (_argo1 == Py_None) { _arg1 = NULL; }
8948 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
8949 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8950 return NULL;
8951 }
8952 }
cf694132 8953{
474c48f9 8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97 8955 wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132 8956
474c48f9 8957 wxPyEndAllowThreads(__tstate);
4dfaa61e 8958 if (PyErr_Occurred()) return NULL;
cf694132 8959} Py_INCREF(Py_None);
d5c9047a 8960 _resultobj = Py_None;
8ab979d7
RD
8961 return _resultobj;
8962}
8963
d426c97e
RD
8964#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8965static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8966 PyObject * _resultobj;
f6bcfd97 8967 wxPyTreeCtrl * _arg0;
d426c97e
RD
8968 wxTreeItemId * _arg1;
8969 PyObject * _argo0 = 0;
8970 PyObject * _argo1 = 0;
8971 char *_kwnames[] = { "self","item", NULL };
8972
8973 self = self;
8974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
8975 return NULL;
8976 if (_argo0) {
8977 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
8978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
8980 return NULL;
8981 }
8982 }
8983 if (_argo1) {
8984 if (_argo1 == Py_None) { _arg1 = NULL; }
8985 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8986 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8987 return NULL;
8988 }
8989 }
8990{
474c48f9 8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
d426c97e
RD
8992 wxTreeCtrl_SortChildren(_arg0,*_arg1);
8993
474c48f9 8994 wxPyEndAllowThreads(__tstate);
4dfaa61e 8995 if (PyErr_Occurred()) return NULL;
d426c97e
RD
8996} Py_INCREF(Py_None);
8997 _resultobj = Py_None;
8998 return _resultobj;
8999}
9000
b8b8dda7 9001#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 9002static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 9003 PyObject * _resultobj;
f6bcfd97 9004 wxPyTreeCtrl * _arg0;
b8b8dda7 9005 wxTreeItemId * _arg1;
b1462dfa 9006 int _arg2 = (int ) TRUE;
1d99702e
RD
9007 PyObject * _argo0 = 0;
9008 PyObject * _argo1 = 0;
efc5f224 9009 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
9010
9011 self = self;
b1462dfa 9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 9013 return NULL;
1d99702e
RD
9014 if (_argo0) {
9015 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9018 return NULL;
9019 }
9020 }
1d99702e
RD
9021 if (_argo1) {
9022 if (_argo1 == Py_None) { _arg1 = NULL; }
9023 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9024 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9025 return NULL;
9026 }
9027 }
cf694132 9028{
474c48f9 9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9030 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
9031
474c48f9 9032 wxPyEndAllowThreads(__tstate);
4dfaa61e 9033 if (PyErr_Occurred()) return NULL;
cf694132 9034} Py_INCREF(Py_None);
b8b8dda7
RD
9035 _resultobj = Py_None;
9036 return _resultobj;
9037}
9038
9039#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 9040static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9041 PyObject * _resultobj;
9042 bool _result;
f6bcfd97 9043 wxPyTreeCtrl * _arg0;
b8b8dda7 9044 wxTreeItemId * _arg1;
1d99702e
RD
9045 PyObject * _argo0 = 0;
9046 PyObject * _argo1 = 0;
efc5f224 9047 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
9048
9049 self = self;
efc5f224 9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 9051 return NULL;
1d99702e
RD
9052 if (_argo0) {
9053 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9056 return NULL;
9057 }
9058 }
1d99702e
RD
9059 if (_argo1) {
9060 if (_argo1 == Py_None) { _arg1 = NULL; }
9061 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
9062 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9063 return NULL;
9064 }
9065 }
cf694132 9066{
474c48f9 9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9068 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
9069
474c48f9 9070 wxPyEndAllowThreads(__tstate);
4dfaa61e 9071 if (PyErr_Occurred()) return NULL;
cf694132 9072} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
9073 return _resultobj;
9074}
9075
164b735b 9076#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 9077static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
9078 PyObject * _resultobj;
9079 wxTreeItemId * _result;
f6bcfd97 9080 wxPyTreeCtrl * _arg0;
b8b8dda7 9081 wxPoint * _arg1;
164b735b
RD
9082 int * _arg2;
9083 int temp;
1d99702e 9084 PyObject * _argo0 = 0;
164b735b 9085 wxPoint temp0;
2f90df85 9086 PyObject * _obj1 = 0;
efc5f224 9087 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
9088 char _ptemp[128];
9089
9090 self = self;
164b735b
RD
9091{
9092 _arg2 = &temp;
9093}
2f90df85 9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 9095 return NULL;
1d99702e
RD
9096 if (_argo0) {
9097 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
9100 return NULL;
9101 }
9102 }
2f90df85 9103{
164b735b 9104 _arg1 = &temp0;
2f90df85 9105 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 9106 return NULL;
2f90df85 9107}
cf694132 9108{
474c48f9 9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
164b735b 9110 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132 9111
474c48f9 9112 wxPyEndAllowThreads(__tstate);
4dfaa61e 9113 if (PyErr_Occurred()) return NULL;
cf694132 9114} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 9115 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
9116{
9117 PyObject *o;
9118 o = PyInt_FromLong((long) (*_arg2));
9119 _resultobj = t_output_helper(_resultobj, o);
9120}
b8b8dda7
RD
9121 return _resultobj;
9122}
9123
b7e72427
RD
9124#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9125static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject * _resultobj;
f6bcfd97 9127 wxPyTreeCtrl * _arg0;
b7e72427
RD
9128 wxTreeItemId * _arg1;
9129 wxColour * _arg2;
9130 PyObject * _argo0 = 0;
9131 PyObject * _argo1 = 0;
f6bcfd97
BP
9132 wxColour temp;
9133 PyObject * _obj2 = 0;
b7e72427
RD
9134 char *_kwnames[] = { "self","item","col", NULL };
9135
9136 self = self;
f6bcfd97 9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9138 return NULL;
9139 if (_argo0) {
9140 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9143 return NULL;
9144 }
9145 }
9146 if (_argo1) {
9147 if (_argo1 == Py_None) { _arg1 = NULL; }
9148 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9149 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9150 return NULL;
9151 }
9152 }
f6bcfd97
BP
9153{
9154 _arg2 = &temp;
9155 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9156 return NULL;
f6bcfd97 9157}
b7e72427 9158{
474c48f9 9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
b7e72427
RD
9160 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
9161
474c48f9 9162 wxPyEndAllowThreads(__tstate);
4dfaa61e 9163 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9164} Py_INCREF(Py_None);
9165 _resultobj = Py_None;
9166 return _resultobj;
9167}
9168
9169#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9170static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject * _resultobj;
f6bcfd97 9172 wxPyTreeCtrl * _arg0;
b7e72427
RD
9173 wxTreeItemId * _arg1;
9174 wxColour * _arg2;
9175 PyObject * _argo0 = 0;
9176 PyObject * _argo1 = 0;
f6bcfd97
BP
9177 wxColour temp;
9178 PyObject * _obj2 = 0;
b7e72427
RD
9179 char *_kwnames[] = { "self","item","col", NULL };
9180
9181 self = self;
f6bcfd97 9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
9183 return NULL;
9184 if (_argo0) {
9185 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9188 return NULL;
9189 }
9190 }
9191 if (_argo1) {
9192 if (_argo1 == Py_None) { _arg1 = NULL; }
9193 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9194 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9195 return NULL;
9196 }
9197 }
f6bcfd97
BP
9198{
9199 _arg2 = &temp;
9200 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 9201 return NULL;
f6bcfd97 9202}
b7e72427 9203{
474c48f9 9204 PyThreadState* __tstate = wxPyBeginAllowThreads();
b7e72427
RD
9205 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
9206
474c48f9 9207 wxPyEndAllowThreads(__tstate);
4dfaa61e 9208 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9209} Py_INCREF(Py_None);
9210 _resultobj = Py_None;
9211 return _resultobj;
9212}
9213
9214#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9215static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject * _resultobj;
f6bcfd97 9217 wxPyTreeCtrl * _arg0;
b7e72427
RD
9218 wxTreeItemId * _arg1;
9219 wxFont * _arg2;
9220 PyObject * _argo0 = 0;
9221 PyObject * _argo1 = 0;
9222 PyObject * _argo2 = 0;
9223 char *_kwnames[] = { "self","item","font", NULL };
9224
9225 self = self;
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9227 return NULL;
9228 if (_argo0) {
9229 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
9230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
9232 return NULL;
9233 }
9234 }
9235 if (_argo1) {
9236 if (_argo1 == Py_None) { _arg1 = NULL; }
9237 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9238 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9239 return NULL;
9240 }
9241 }
9242 if (_argo2) {
9243 if (_argo2 == Py_None) { _arg2 = NULL; }
9244 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9245 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9246 return NULL;
9247 }
9248 }
9249{
474c48f9 9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
b7e72427
RD
9251 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
9252
474c48f9 9253 wxPyEndAllowThreads(__tstate);
4dfaa61e 9254 if (PyErr_Occurred()) return NULL;
b7e72427
RD
9255} Py_INCREF(Py_None);
9256 _resultobj = Py_None;
9257 return _resultobj;
9258}
9259
74bcba0e
RD
9260static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
9261 wxRect rect;
9262 if (self->GetBoundingRect(item, rect, textOnly)) {
474c48f9 9263 wxPyBeginBlockThreads();
74bcba0e
RD
9264 wxRect* r = new wxRect(rect);
9265 PyObject* val = wxPyConstructObject((void*)r, "wxRect");
474c48f9 9266 wxPyEndBlockThreads();
74bcba0e
RD
9267 return val;
9268 }
9269 else {
9270 Py_INCREF(Py_None);
9271 return Py_None;
9272 }
9273 }
9274static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9275 PyObject * _resultobj;
9276 PyObject * _result;
9277 wxPyTreeCtrl * _arg0;
9278 wxTreeItemId * _arg1;
9279 int _arg2 = (int ) FALSE;
9280 PyObject * _argo0 = 0;
9281 PyObject * _argo1 = 0;
9282 char *_kwnames[] = { "self","item","textOnly", NULL };
9283
9284 self = self;
9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9286 return NULL;
9287 if (_argo0) {
9288 if (_argo0 == Py_None) { _arg0 = NULL; }
9289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9291 return NULL;
9292 }
9293 }
9294 if (_argo1) {
9295 if (_argo1 == Py_None) { _arg1 = NULL; }
9296 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9297 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9298 return NULL;
9299 }
9300 }
9301{
474c48f9 9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
74bcba0e
RD
9303 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
9304
474c48f9 9305 wxPyEndAllowThreads(__tstate);
74bcba0e
RD
9306 if (PyErr_Occurred()) return NULL;
9307}{
9308 _resultobj = _result;
9309}
9310 return _resultobj;
9311}
9312
db34b2d4
RD
9313static void *SwigwxDirItemDataTowxObject(void *ptr) {
9314 wxDirItemData *src;
9315 wxObject *dest;
9316 src = (wxDirItemData *) ptr;
9317 dest = (wxObject *) src;
9318 return (void *) dest;
9319}
9320
9321#define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9322static PyObject *_wrap_new_wxDirItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
9323 PyObject * _resultobj;
9324 wxDirItemData * _result;
9325 wxString * _arg0;
9326 wxString * _arg1;
9327 bool _arg2;
9328 PyObject * _obj0 = 0;
9329 PyObject * _obj1 = 0;
9330 int tempbool2;
9331 char *_kwnames[] = { "path","name","isDir", NULL };
9332 char _ptemp[128];
9333
9334 self = self;
9335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:new_wxDirItemData",_kwnames,&_obj0,&_obj1,&tempbool2))
9336 return NULL;
9337{
9338#if PYTHON_API_VERSION >= 1009
9339 char* tmpPtr; int tmpSize;
9340 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
9341 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9342 return NULL;
9343 }
9344 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
9345 return NULL;
9346 _arg0 = new wxString(tmpPtr, tmpSize);
9347#else
9348 if (!PyString_Check(_obj0)) {
9349 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9350 return NULL;
9351 }
9352 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
9353#endif
9354}
9355{
9356#if PYTHON_API_VERSION >= 1009
9357 char* tmpPtr; int tmpSize;
9358 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9359 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9360 return NULL;
9361 }
9362 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9363 return NULL;
9364 _arg1 = new wxString(tmpPtr, tmpSize);
9365#else
9366 if (!PyString_Check(_obj1)) {
9367 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9368 return NULL;
9369 }
9370 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9371#endif
9372}
9373 _arg2 = (bool ) tempbool2;
9374{
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 _result = (wxDirItemData *)new_wxDirItemData(*_arg0,*_arg1,_arg2);
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) return NULL;
9380} if (_result) {
9381 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirItemData_p");
9382 _resultobj = Py_BuildValue("s",_ptemp);
9383 } else {
9384 Py_INCREF(Py_None);
9385 _resultobj = Py_None;
9386 }
9387{
9388 if (_obj0)
9389 delete _arg0;
9390}
9391{
9392 if (_obj1)
9393 delete _arg1;
9394}
9395 return _resultobj;
9396}
9397
9398#define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9399static PyObject *_wrap_wxDirItemData_SetNewDirName(PyObject *self, PyObject *args, PyObject *kwargs) {
9400 PyObject * _resultobj;
9401 wxDirItemData * _arg0;
9402 wxString * _arg1;
9403 PyObject * _argo0 = 0;
9404 PyObject * _obj1 = 0;
9405 char *_kwnames[] = { "self","path", NULL };
9406
9407 self = self;
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_SetNewDirName",_kwnames,&_argo0,&_obj1))
9409 return NULL;
9410 if (_argo0) {
9411 if (_argo0 == Py_None) { _arg0 = NULL; }
9412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9414 return NULL;
9415 }
9416 }
9417{
9418#if PYTHON_API_VERSION >= 1009
9419 char* tmpPtr; int tmpSize;
9420 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9421 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9422 return NULL;
9423 }
9424 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9425 return NULL;
9426 _arg1 = new wxString(tmpPtr, tmpSize);
9427#else
9428 if (!PyString_Check(_obj1)) {
9429 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9430 return NULL;
9431 }
9432 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9433#endif
9434}
9435{
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 wxDirItemData_SetNewDirName(_arg0,*_arg1);
9438
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) return NULL;
9441} Py_INCREF(Py_None);
9442 _resultobj = Py_None;
9443{
9444 if (_obj1)
9445 delete _arg1;
9446}
9447 return _resultobj;
9448}
9449
9450#define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9451static PyObject *_wrap_wxDirItemData_m_path_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9452 PyObject * _resultobj;
9453 wxString * _result;
9454 wxDirItemData * _arg0;
9455 wxString * _arg1;
9456 PyObject * _argo0 = 0;
9457 PyObject * _obj1 = 0;
9458 char *_kwnames[] = { "self","m_path", NULL };
9459
9460 self = self;
9461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_path_set",_kwnames,&_argo0,&_obj1))
9462 return NULL;
9463 if (_argo0) {
9464 if (_argo0 == Py_None) { _arg0 = NULL; }
9465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9467 return NULL;
9468 }
9469 }
9470{
9471#if PYTHON_API_VERSION >= 1009
9472 char* tmpPtr; int tmpSize;
9473 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9474 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9475 return NULL;
9476 }
9477 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9478 return NULL;
9479 _arg1 = new wxString(tmpPtr, tmpSize);
9480#else
9481 if (!PyString_Check(_obj1)) {
9482 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9483 return NULL;
9484 }
9485 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9486#endif
9487}
9488{
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 _result = (wxString *)wxDirItemData_m_path_set(_arg0,_arg1);
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) return NULL;
9494}{
9495 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9496}
9497{
9498 if (_obj1)
9499 delete _arg1;
9500}
9501 return _resultobj;
9502}
9503
9504#define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9505static PyObject *_wrap_wxDirItemData_m_path_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9506 PyObject * _resultobj;
9507 wxString * _result;
9508 wxDirItemData * _arg0;
9509 PyObject * _argo0 = 0;
9510 char *_kwnames[] = { "self", NULL };
9511
9512 self = self;
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_path_get",_kwnames,&_argo0))
9514 return NULL;
9515 if (_argo0) {
9516 if (_argo0 == Py_None) { _arg0 = NULL; }
9517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9519 return NULL;
9520 }
9521 }
9522{
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 _result = (wxString *)wxDirItemData_m_path_get(_arg0);
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) return NULL;
9528}{
9529 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9530}
9531 return _resultobj;
9532}
9533
9534#define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9535static PyObject *_wrap_wxDirItemData_m_name_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject * _resultobj;
9537 wxString * _result;
9538 wxDirItemData * _arg0;
9539 wxString * _arg1;
9540 PyObject * _argo0 = 0;
9541 PyObject * _obj1 = 0;
9542 char *_kwnames[] = { "self","m_name", NULL };
9543
9544 self = self;
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDirItemData_m_name_set",_kwnames,&_argo0,&_obj1))
9546 return NULL;
9547 if (_argo0) {
9548 if (_argo0 == Py_None) { _arg0 = NULL; }
9549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9551 return NULL;
9552 }
9553 }
9554{
9555#if PYTHON_API_VERSION >= 1009
9556 char* tmpPtr; int tmpSize;
9557 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9558 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9559 return NULL;
9560 }
9561 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9562 return NULL;
9563 _arg1 = new wxString(tmpPtr, tmpSize);
9564#else
9565 if (!PyString_Check(_obj1)) {
9566 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9567 return NULL;
9568 }
9569 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9570#endif
9571}
9572{
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 _result = (wxString *)wxDirItemData_m_name_set(_arg0,_arg1);
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) return NULL;
9578}{
9579 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9580}
9581{
9582 if (_obj1)
9583 delete _arg1;
9584}
9585 return _resultobj;
9586}
9587
9588#define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9589static PyObject *_wrap_wxDirItemData_m_name_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9590 PyObject * _resultobj;
9591 wxString * _result;
9592 wxDirItemData * _arg0;
9593 PyObject * _argo0 = 0;
9594 char *_kwnames[] = { "self", NULL };
9595
9596 self = self;
9597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_name_get",_kwnames,&_argo0))
9598 return NULL;
9599 if (_argo0) {
9600 if (_argo0 == Py_None) { _arg0 = NULL; }
9601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9603 return NULL;
9604 }
9605 }
9606{
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 _result = (wxString *)wxDirItemData_m_name_get(_arg0);
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) return NULL;
9612}{
9613 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9614}
9615 return _resultobj;
9616}
9617
9618#define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9619static PyObject *_wrap_wxDirItemData_m_isHidden_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9620 PyObject * _resultobj;
9621 bool _result;
9622 wxDirItemData * _arg0;
9623 bool _arg1;
9624 PyObject * _argo0 = 0;
9625 int tempbool1;
9626 char *_kwnames[] = { "self","m_isHidden", NULL };
9627
9628 self = self;
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isHidden_set",_kwnames,&_argo0,&tempbool1))
9630 return NULL;
9631 if (_argo0) {
9632 if (_argo0 == Py_None) { _arg0 = NULL; }
9633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9635 return NULL;
9636 }
9637 }
9638 _arg1 = (bool ) tempbool1;
9639{
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 _result = (bool )wxDirItemData_m_isHidden_set(_arg0,_arg1);
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) return NULL;
9645} _resultobj = Py_BuildValue("i",_result);
9646 return _resultobj;
9647}
9648
9649#define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9650static PyObject *_wrap_wxDirItemData_m_isHidden_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject * _resultobj;
9652 bool _result;
9653 wxDirItemData * _arg0;
9654 PyObject * _argo0 = 0;
9655 char *_kwnames[] = { "self", NULL };
9656
9657 self = self;
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isHidden_get",_kwnames,&_argo0))
9659 return NULL;
9660 if (_argo0) {
9661 if (_argo0 == Py_None) { _arg0 = NULL; }
9662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9664 return NULL;
9665 }
9666 }
9667{
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 _result = (bool )wxDirItemData_m_isHidden_get(_arg0);
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) return NULL;
9673} _resultobj = Py_BuildValue("i",_result);
9674 return _resultobj;
9675}
9676
9677#define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9678static PyObject *_wrap_wxDirItemData_m_isExpanded_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject * _resultobj;
9680 bool _result;
9681 wxDirItemData * _arg0;
9682 bool _arg1;
9683 PyObject * _argo0 = 0;
9684 int tempbool1;
9685 char *_kwnames[] = { "self","m_isExpanded", NULL };
9686
9687 self = self;
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isExpanded_set",_kwnames,&_argo0,&tempbool1))
9689 return NULL;
9690 if (_argo0) {
9691 if (_argo0 == Py_None) { _arg0 = NULL; }
9692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9694 return NULL;
9695 }
9696 }
9697 _arg1 = (bool ) tempbool1;
9698{
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 _result = (bool )wxDirItemData_m_isExpanded_set(_arg0,_arg1);
9701
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) return NULL;
9704} _resultobj = Py_BuildValue("i",_result);
9705 return _resultobj;
9706}
9707
9708#define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9709static PyObject *_wrap_wxDirItemData_m_isExpanded_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject * _resultobj;
9711 bool _result;
9712 wxDirItemData * _arg0;
9713 PyObject * _argo0 = 0;
9714 char *_kwnames[] = { "self", NULL };
9715
9716 self = self;
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isExpanded_get",_kwnames,&_argo0))
9718 return NULL;
9719 if (_argo0) {
9720 if (_argo0 == Py_None) { _arg0 = NULL; }
9721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9723 return NULL;
9724 }
9725 }
9726{
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 _result = (bool )wxDirItemData_m_isExpanded_get(_arg0);
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) return NULL;
9732} _resultobj = Py_BuildValue("i",_result);
9733 return _resultobj;
9734}
9735
9736#define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9737static PyObject *_wrap_wxDirItemData_m_isDir_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9738 PyObject * _resultobj;
9739 bool _result;
9740 wxDirItemData * _arg0;
9741 bool _arg1;
9742 PyObject * _argo0 = 0;
9743 int tempbool1;
9744 char *_kwnames[] = { "self","m_isDir", NULL };
9745
9746 self = self;
9747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDirItemData_m_isDir_set",_kwnames,&_argo0,&tempbool1))
9748 return NULL;
9749 if (_argo0) {
9750 if (_argo0 == Py_None) { _arg0 = NULL; }
9751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9753 return NULL;
9754 }
9755 }
9756 _arg1 = (bool ) tempbool1;
9757{
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 _result = (bool )wxDirItemData_m_isDir_set(_arg0,_arg1);
9760
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) return NULL;
9763} _resultobj = Py_BuildValue("i",_result);
9764 return _resultobj;
9765}
9766
9767#define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9768static PyObject *_wrap_wxDirItemData_m_isDir_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9769 PyObject * _resultobj;
9770 bool _result;
9771 wxDirItemData * _arg0;
9772 PyObject * _argo0 = 0;
9773 char *_kwnames[] = { "self", NULL };
9774
9775 self = self;
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDirItemData_m_isDir_get",_kwnames,&_argo0))
9777 return NULL;
9778 if (_argo0) {
9779 if (_argo0 == Py_None) { _arg0 = NULL; }
9780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirItemData_p")) {
9781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9782 return NULL;
9783 }
9784 }
9785{
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 _result = (bool )wxDirItemData_m_isDir_get(_arg0);
9788
9789 wxPyEndAllowThreads(__tstate);
9790 if (PyErr_Occurred()) return NULL;
9791} _resultobj = Py_BuildValue("i",_result);
9792 return _resultobj;
9793}
9794
9795static void *SwigwxGenericDirCtrlTowxControl(void *ptr) {
9796 wxGenericDirCtrl *src;
9797 wxControl *dest;
9798 src = (wxGenericDirCtrl *) ptr;
9799 dest = (wxControl *) src;
9800 return (void *) dest;
9801}
9802
9803static void *SwigwxGenericDirCtrlTowxWindow(void *ptr) {
9804 wxGenericDirCtrl *src;
9805 wxWindow *dest;
9806 src = (wxGenericDirCtrl *) ptr;
9807 dest = (wxWindow *) src;
9808 return (void *) dest;
9809}
9810
9811static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr) {
9812 wxGenericDirCtrl *src;
9813 wxEvtHandler *dest;
9814 src = (wxGenericDirCtrl *) ptr;
9815 dest = (wxEvtHandler *) src;
9816 return (void *) dest;
9817}
9818
9819static void *SwigwxGenericDirCtrlTowxObject(void *ptr) {
9820 wxGenericDirCtrl *src;
9821 wxObject *dest;
9822 src = (wxGenericDirCtrl *) ptr;
9823 dest = (wxObject *) src;
9824 return (void *) dest;
9825}
9826
9827#define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9828static PyObject *_wrap_new_wxGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject * _resultobj;
9830 wxGenericDirCtrl * _result;
9831 wxWindow * _arg0;
9832 wxWindowID _arg1 = (wxWindowID ) -1;
85247b36 9833 char * _arg2 = (char *) wxDirDialogDefaultFolderStr;
db34b2d4
RD
9834 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9835 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9836 long _arg5 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
85247b36 9837 char * _arg6 = (char *) wxEmptyString;
db34b2d4 9838 int _arg7 = (int ) 0;
85247b36 9839 char * _arg8 = (char *) "dirCtrl";
db34b2d4 9840 PyObject * _argo0 = 0;
db34b2d4
RD
9841 wxPoint temp;
9842 PyObject * _obj3 = 0;
9843 wxSize temp0;
9844 PyObject * _obj4 = 0;
db34b2d4
RD
9845 char *_kwnames[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9846 char _ptemp[128];
9847
9848 self = self;
85247b36 9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOlsis:new_wxGenericDirCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8))
db34b2d4
RD
9850 return NULL;
9851 if (_argo0) {
9852 if (_argo0 == Py_None) { _arg0 = NULL; }
9853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9855 return NULL;
9856 }
9857 }
db34b2d4
RD
9858 if (_obj3)
9859{
9860 _arg3 = &temp;
9861 if (! wxPoint_helper(_obj3, &_arg3))
9862 return NULL;
9863}
9864 if (_obj4)
9865{
9866 _arg4 = &temp0;
9867 if (! wxSize_helper(_obj4, &_arg4))
9868 return NULL;
db34b2d4
RD
9869}
9870{
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
85247b36 9872 _result = (wxGenericDirCtrl *)new_wxGenericDirCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8);
db34b2d4
RD
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) return NULL;
9876} if (_result) {
9877 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9878 _resultobj = Py_BuildValue("s",_ptemp);
9879 } else {
9880 Py_INCREF(Py_None);
9881 _resultobj = Py_None;
9882 }
db34b2d4
RD
9883 return _resultobj;
9884}
9885
9886#define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9887static PyObject *_wrap_new_wxPreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9888 PyObject * _resultobj;
9889 wxGenericDirCtrl * _result;
9890 char *_kwnames[] = { NULL };
9891 char _ptemp[128];
9892
9893 self = self;
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGenericDirCtrl",_kwnames))
9895 return NULL;
9896{
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 _result = (wxGenericDirCtrl *)new_wxPreGenericDirCtrl();
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) return NULL;
9902} if (_result) {
9903 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDirCtrl_p");
9904 _resultobj = Py_BuildValue("s",_ptemp);
9905 } else {
9906 Py_INCREF(Py_None);
9907 _resultobj = Py_None;
9908 }
9909 return _resultobj;
9910}
9911
9912#define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9913static PyObject *_wrap_wxGenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9914 PyObject * _resultobj;
9915 bool _result;
9916 wxGenericDirCtrl * _arg0;
9917 wxWindow * _arg1;
9918 wxWindowID _arg2 = (wxWindowID ) -1;
85247b36 9919 char * _arg3 = (char *) wxDirDialogDefaultFolderStr;
db34b2d4
RD
9920 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9921 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9922 long _arg6 = (long ) (wxDIRCTRL_3D_INTERNAL)|wxSUNKEN_BORDER;
85247b36 9923 char * _arg7 = (char *) wxEmptyString;
db34b2d4 9924 int _arg8 = (int ) 0;
85247b36 9925 char * _arg9 = (char *) "dirCtrl";
db34b2d4
RD
9926 PyObject * _argo0 = 0;
9927 PyObject * _argo1 = 0;
db34b2d4
RD
9928 wxPoint temp;
9929 PyObject * _obj4 = 0;
9930 wxSize temp0;
9931 PyObject * _obj5 = 0;
db34b2d4
RD
9932 char *_kwnames[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL };
9933
9934 self = self;
85247b36 9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|isOOlsis:wxGenericDirCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9))
db34b2d4
RD
9936 return NULL;
9937 if (_argo0) {
9938 if (_argo0 == Py_None) { _arg0 = NULL; }
9939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9941 return NULL;
9942 }
9943 }
9944 if (_argo1) {
9945 if (_argo1 == Py_None) { _arg1 = NULL; }
9946 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9947 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9948 return NULL;
9949 }
9950 }
db34b2d4
RD
9951 if (_obj4)
9952{
9953 _arg4 = &temp;
9954 if (! wxPoint_helper(_obj4, &_arg4))
9955 return NULL;
9956}
9957 if (_obj5)
9958{
9959 _arg5 = &temp0;
9960 if (! wxSize_helper(_obj5, &_arg5))
9961 return NULL;
db34b2d4
RD
9962}
9963{
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
85247b36 9965 _result = (bool )wxGenericDirCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9);
db34b2d4
RD
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) return NULL;
9969} _resultobj = Py_BuildValue("i",_result);
db34b2d4
RD
9970 return _resultobj;
9971}
9972
9973#define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
9974static PyObject *_wrap_wxGenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject * _resultobj;
9976 bool _result;
9977 wxGenericDirCtrl * _arg0;
9978 wxString * _arg1;
9979 PyObject * _argo0 = 0;
9980 PyObject * _obj1 = 0;
9981 char *_kwnames[] = { "self","path", NULL };
9982
9983 self = self;
9984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_ExpandPath",_kwnames,&_argo0,&_obj1))
9985 return NULL;
9986 if (_argo0) {
9987 if (_argo0 == Py_None) { _arg0 = NULL; }
9988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
9989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
9990 return NULL;
9991 }
9992 }
9993{
9994#if PYTHON_API_VERSION >= 1009
9995 char* tmpPtr; int tmpSize;
9996 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9997 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9998 return NULL;
9999 }
10000 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10001 return NULL;
10002 _arg1 = new wxString(tmpPtr, tmpSize);
10003#else
10004 if (!PyString_Check(_obj1)) {
10005 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10006 return NULL;
10007 }
10008 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10009#endif
10010}
10011{
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 _result = (bool )wxGenericDirCtrl_ExpandPath(_arg0,*_arg1);
10014
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) return NULL;
10017} _resultobj = Py_BuildValue("i",_result);
10018{
10019 if (_obj1)
10020 delete _arg1;
10021}
10022 return _resultobj;
10023}
10024
10025#define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10026static PyObject *_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10027 PyObject * _resultobj;
10028 wxString * _result;
10029 wxGenericDirCtrl * _arg0;
10030 PyObject * _argo0 = 0;
10031 char *_kwnames[] = { "self", NULL };
10032
10033 self = self;
10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames,&_argo0))
10035 return NULL;
10036 if (_argo0) {
10037 if (_argo0 == Py_None) { _arg0 = NULL; }
10038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10040 return NULL;
10041 }
10042 }
10043{
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 _result = new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0));
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) return NULL;
10049}{
10050 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10051}
10052{
10053 delete _result;
10054}
10055 return _resultobj;
10056}
10057
10058#define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10059static PyObject *_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10060 PyObject * _resultobj;
10061 wxGenericDirCtrl * _arg0;
10062 wxString * _arg1;
10063 PyObject * _argo0 = 0;
10064 PyObject * _obj1 = 0;
10065 char *_kwnames[] = { "self","path", NULL };
10066
10067 self = self;
10068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames,&_argo0,&_obj1))
10069 return NULL;
10070 if (_argo0) {
10071 if (_argo0 == Py_None) { _arg0 = NULL; }
10072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10074 return NULL;
10075 }
10076 }
10077{
10078#if PYTHON_API_VERSION >= 1009
10079 char* tmpPtr; int tmpSize;
10080 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10081 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10082 return NULL;
10083 }
10084 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10085 return NULL;
10086 _arg1 = new wxString(tmpPtr, tmpSize);
10087#else
10088 if (!PyString_Check(_obj1)) {
10089 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10090 return NULL;
10091 }
10092 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10093#endif
10094}
10095{
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 wxGenericDirCtrl_SetDefaultPath(_arg0,*_arg1);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) return NULL;
10101} Py_INCREF(Py_None);
10102 _resultobj = Py_None;
10103{
10104 if (_obj1)
10105 delete _arg1;
10106}
10107 return _resultobj;
10108}
10109
10110#define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10111static PyObject *_wrap_wxGenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10112 PyObject * _resultobj;
10113 wxString * _result;
10114 wxGenericDirCtrl * _arg0;
10115 PyObject * _argo0 = 0;
10116 char *_kwnames[] = { "self", NULL };
10117
10118 self = self;
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetPath",_kwnames,&_argo0))
10120 return NULL;
10121 if (_argo0) {
10122 if (_argo0 == Py_None) { _arg0 = NULL; }
10123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10125 return NULL;
10126 }
10127 }
10128{
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 _result = new wxString (wxGenericDirCtrl_GetPath(_arg0));
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) return NULL;
10134}{
10135 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10136}
10137{
10138 delete _result;
10139}
10140 return _resultobj;
10141}
10142
10143#define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10144static PyObject *_wrap_wxGenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
10145 PyObject * _resultobj;
10146 wxString * _result;
10147 wxGenericDirCtrl * _arg0;
10148 PyObject * _argo0 = 0;
10149 char *_kwnames[] = { "self", NULL };
10150
10151 self = self;
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilePath",_kwnames,&_argo0))
10153 return NULL;
10154 if (_argo0) {
10155 if (_argo0 == Py_None) { _arg0 = NULL; }
10156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10158 return NULL;
10159 }
10160 }
10161{
10162 PyThreadState* __tstate = wxPyBeginAllowThreads();
10163 _result = new wxString (wxGenericDirCtrl_GetFilePath(_arg0));
10164
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) return NULL;
10167}{
10168 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10169}
10170{
10171 delete _result;
10172}
10173 return _resultobj;
10174}
10175
10176#define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10177static PyObject *_wrap_wxGenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10178 PyObject * _resultobj;
10179 wxGenericDirCtrl * _arg0;
10180 wxString * _arg1;
10181 PyObject * _argo0 = 0;
10182 PyObject * _obj1 = 0;
10183 char *_kwnames[] = { "self","path", NULL };
10184
10185 self = self;
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetPath",_kwnames,&_argo0,&_obj1))
10187 return NULL;
10188 if (_argo0) {
10189 if (_argo0 == Py_None) { _arg0 = NULL; }
10190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10192 return NULL;
10193 }
10194 }
10195{
10196#if PYTHON_API_VERSION >= 1009
10197 char* tmpPtr; int tmpSize;
10198 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10199 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10200 return NULL;
10201 }
10202 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10203 return NULL;
10204 _arg1 = new wxString(tmpPtr, tmpSize);
10205#else
10206 if (!PyString_Check(_obj1)) {
10207 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10208 return NULL;
10209 }
10210 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10211#endif
10212}
10213{
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 wxGenericDirCtrl_SetPath(_arg0,*_arg1);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) return NULL;
10219} Py_INCREF(Py_None);
10220 _resultobj = Py_None;
10221{
10222 if (_obj1)
10223 delete _arg1;
10224}
10225 return _resultobj;
10226}
10227
10228#define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10229static PyObject *_wrap_wxGenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10230 PyObject * _resultobj;
10231 wxGenericDirCtrl * _arg0;
10232 bool _arg1;
10233 PyObject * _argo0 = 0;
10234 int tempbool1;
10235 char *_kwnames[] = { "self","show", NULL };
10236
10237 self = self;
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames,&_argo0,&tempbool1))
10239 return NULL;
10240 if (_argo0) {
10241 if (_argo0 == Py_None) { _arg0 = NULL; }
10242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10244 return NULL;
10245 }
10246 }
10247 _arg1 = (bool ) tempbool1;
10248{
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 wxGenericDirCtrl_ShowHidden(_arg0,_arg1);
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) return NULL;
10254} Py_INCREF(Py_None);
10255 _resultobj = Py_None;
10256 return _resultobj;
10257}
10258
10259#define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10260static PyObject *_wrap_wxGenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
10261 PyObject * _resultobj;
10262 bool _result;
10263 wxGenericDirCtrl * _arg0;
10264 PyObject * _argo0 = 0;
10265 char *_kwnames[] = { "self", NULL };
10266
10267 self = self;
10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetShowHidden",_kwnames,&_argo0))
10269 return NULL;
10270 if (_argo0) {
10271 if (_argo0 == Py_None) { _arg0 = NULL; }
10272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10274 return NULL;
10275 }
10276 }
10277{
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
10279 _result = (bool )wxGenericDirCtrl_GetShowHidden(_arg0);
10280
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) return NULL;
10283} _resultobj = Py_BuildValue("i",_result);
10284 return _resultobj;
10285}
10286
10287#define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10288static PyObject *_wrap_wxGenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10289 PyObject * _resultobj;
10290 wxString * _result;
10291 wxGenericDirCtrl * _arg0;
10292 PyObject * _argo0 = 0;
10293 char *_kwnames[] = { "self", NULL };
10294
10295 self = self;
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilter",_kwnames,&_argo0))
10297 return NULL;
10298 if (_argo0) {
10299 if (_argo0 == Py_None) { _arg0 = NULL; }
10300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10302 return NULL;
10303 }
10304 }
10305{
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 _result = new wxString (wxGenericDirCtrl_GetFilter(_arg0));
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) return NULL;
10311}{
10312 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10313}
10314{
10315 delete _result;
10316}
10317 return _resultobj;
10318}
10319
10320#define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10321static PyObject *_wrap_wxGenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject * _resultobj;
10323 wxGenericDirCtrl * _arg0;
10324 wxString * _arg1;
10325 PyObject * _argo0 = 0;
10326 PyObject * _obj1 = 0;
10327 char *_kwnames[] = { "self","filter", NULL };
10328
10329 self = self;
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGenericDirCtrl_SetFilter",_kwnames,&_argo0,&_obj1))
10331 return NULL;
10332 if (_argo0) {
10333 if (_argo0 == Py_None) { _arg0 = NULL; }
10334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10336 return NULL;
10337 }
10338 }
10339{
10340#if PYTHON_API_VERSION >= 1009
10341 char* tmpPtr; int tmpSize;
10342 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10343 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10344 return NULL;
10345 }
10346 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10347 return NULL;
10348 _arg1 = new wxString(tmpPtr, tmpSize);
10349#else
10350 if (!PyString_Check(_obj1)) {
10351 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10352 return NULL;
10353 }
10354 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10355#endif
10356}
10357{
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 wxGenericDirCtrl_SetFilter(_arg0,*_arg1);
10360
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) return NULL;
10363} Py_INCREF(Py_None);
10364 _resultobj = Py_None;
10365{
10366 if (_obj1)
10367 delete _arg1;
10368}
10369 return _resultobj;
10370}
10371
10372#define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10373static PyObject *_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10374 PyObject * _resultobj;
10375 int _result;
10376 wxGenericDirCtrl * _arg0;
10377 PyObject * _argo0 = 0;
10378 char *_kwnames[] = { "self", NULL };
10379
10380 self = self;
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames,&_argo0))
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 wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10387 return NULL;
10388 }
10389 }
10390{
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 _result = (int )wxGenericDirCtrl_GetFilterIndex(_arg0);
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) return NULL;
10396} _resultobj = Py_BuildValue("i",_result);
10397 return _resultobj;
10398}
10399
10400#define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10401static PyObject *_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject * _resultobj;
10403 wxGenericDirCtrl * _arg0;
10404 int _arg1;
10405 PyObject * _argo0 = 0;
10406 char *_kwnames[] = { "self","n", NULL };
10407
10408 self = self;
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames,&_argo0,&_arg1))
10410 return NULL;
10411 if (_argo0) {
10412 if (_argo0 == Py_None) { _arg0 = NULL; }
10413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10415 return NULL;
10416 }
10417 }
10418{
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 wxGenericDirCtrl_SetFilterIndex(_arg0,_arg1);
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) return NULL;
10424} Py_INCREF(Py_None);
10425 _resultobj = Py_None;
10426 return _resultobj;
10427}
10428
10429#define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10430static PyObject *_wrap_wxGenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
10431 PyObject * _resultobj;
10432 wxTreeItemId * _result;
10433 wxGenericDirCtrl * _arg0;
10434 PyObject * _argo0 = 0;
10435 char *_kwnames[] = { "self", NULL };
10436 char _ptemp[128];
10437
10438 self = self;
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetRootId",_kwnames,&_argo0))
10440 return NULL;
10441 if (_argo0) {
10442 if (_argo0 == Py_None) { _arg0 = NULL; }
10443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10445 return NULL;
10446 }
10447 }
10448{
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 _result = new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0));
10451
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) return NULL;
10454} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
10455 _resultobj = Py_BuildValue("s",_ptemp);
10456 return _resultobj;
10457}
10458
10459#define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10460static PyObject *_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10461 PyObject * _resultobj;
10462 wxTreeCtrl * _result;
10463 wxGenericDirCtrl * _arg0;
10464 PyObject * _argo0 = 0;
10465 char *_kwnames[] = { "self", NULL };
10466 char _ptemp[128];
10467
10468 self = self;
10469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames,&_argo0))
10470 return NULL;
10471 if (_argo0) {
10472 if (_argo0 == Py_None) { _arg0 = NULL; }
10473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10475 return NULL;
10476 }
10477 }
10478{
10479 PyThreadState* __tstate = wxPyBeginAllowThreads();
10480 _result = (wxTreeCtrl *)wxGenericDirCtrl_GetTreeCtrl(_arg0);
10481
10482 wxPyEndAllowThreads(__tstate);
10483 if (PyErr_Occurred()) return NULL;
10484} if (_result) {
10485 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
10486 _resultobj = Py_BuildValue("s",_ptemp);
10487 } else {
10488 Py_INCREF(Py_None);
10489 _resultobj = Py_None;
10490 }
10491 return _resultobj;
10492}
10493
10494#define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10495static PyObject *_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10496 PyObject * _resultobj;
10497 wxDirFilterListCtrl * _result;
10498 wxGenericDirCtrl * _arg0;
10499 PyObject * _argo0 = 0;
10500 char *_kwnames[] = { "self", NULL };
10501 char _ptemp[128];
10502
10503 self = self;
10504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames,&_argo0))
10505 return NULL;
10506 if (_argo0) {
10507 if (_argo0 == Py_None) { _arg0 = NULL; }
10508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10510 return NULL;
10511 }
10512 }
10513{
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 _result = (wxDirFilterListCtrl *)wxGenericDirCtrl_GetFilterListCtrl(_arg0);
10516
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) return NULL;
10519} if (_result) {
10520 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10521 _resultobj = Py_BuildValue("s",_ptemp);
10522 } else {
10523 Py_INCREF(Py_None);
10524 _resultobj = Py_None;
10525 }
10526 return _resultobj;
10527}
10528
10529static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr) {
10530 wxDirFilterListCtrl *src;
10531 wxChoice *dest;
10532 src = (wxDirFilterListCtrl *) ptr;
10533 dest = (wxChoice *) src;
10534 return (void *) dest;
10535}
10536
10537static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr) {
10538 wxDirFilterListCtrl *src;
10539 wxControlWithItems *dest;
10540 src = (wxDirFilterListCtrl *) ptr;
10541 dest = (wxControlWithItems *) src;
10542 return (void *) dest;
10543}
10544
10545static void *SwigwxDirFilterListCtrlTowxControl(void *ptr) {
10546 wxDirFilterListCtrl *src;
10547 wxControl *dest;
10548 src = (wxDirFilterListCtrl *) ptr;
10549 dest = (wxControl *) src;
10550 return (void *) dest;
10551}
10552
10553static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr) {
10554 wxDirFilterListCtrl *src;
10555 wxWindow *dest;
10556 src = (wxDirFilterListCtrl *) ptr;
10557 dest = (wxWindow *) src;
10558 return (void *) dest;
10559}
10560
10561static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr) {
10562 wxDirFilterListCtrl *src;
10563 wxEvtHandler *dest;
10564 src = (wxDirFilterListCtrl *) ptr;
10565 dest = (wxEvtHandler *) src;
10566 return (void *) dest;
10567}
10568
10569static void *SwigwxDirFilterListCtrlTowxObject(void *ptr) {
10570 wxDirFilterListCtrl *src;
10571 wxObject *dest;
10572 src = (wxDirFilterListCtrl *) ptr;
10573 dest = (wxObject *) src;
10574 return (void *) dest;
10575}
10576
10577#define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10578static PyObject *_wrap_new_wxDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10579 PyObject * _resultobj;
10580 wxDirFilterListCtrl * _result;
10581 wxGenericDirCtrl * _arg0;
10582 wxWindowID _arg1 = (wxWindowID ) -1;
10583 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
10584 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
10585 long _arg4 = (long ) 0;
10586 PyObject * _argo0 = 0;
10587 wxPoint temp;
10588 PyObject * _obj2 = 0;
10589 wxSize temp0;
10590 PyObject * _obj3 = 0;
10591 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
10592 char _ptemp[128];
10593
10594 self = self;
10595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxDirFilterListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
10596 return NULL;
10597 if (_argo0) {
10598 if (_argo0 == Py_None) { _arg0 = NULL; }
10599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDirCtrl_p")) {
10600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10601 return NULL;
10602 }
10603 }
10604 if (_obj2)
10605{
10606 _arg2 = &temp;
10607 if (! wxPoint_helper(_obj2, &_arg2))
10608 return NULL;
10609}
10610 if (_obj3)
10611{
10612 _arg3 = &temp0;
10613 if (! wxSize_helper(_obj3, &_arg3))
10614 return NULL;
10615}
10616{
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 _result = (wxDirFilterListCtrl *)new_wxDirFilterListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
10619
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) return NULL;
10622} if (_result) {
10623 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10624 _resultobj = Py_BuildValue("s",_ptemp);
10625 } else {
10626 Py_INCREF(Py_None);
10627 _resultobj = Py_None;
10628 }
10629 return _resultobj;
10630}
10631
10632#define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10633static PyObject *_wrap_new_wxPreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10634 PyObject * _resultobj;
10635 wxDirFilterListCtrl * _result;
10636 char *_kwnames[] = { NULL };
10637 char _ptemp[128];
10638
10639 self = self;
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDirFilterListCtrl",_kwnames))
10641 return NULL;
10642{
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 _result = (wxDirFilterListCtrl *)new_wxPreDirFilterListCtrl();
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) return NULL;
10648} if (_result) {
10649 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDirFilterListCtrl_p");
10650 _resultobj = Py_BuildValue("s",_ptemp);
10651 } else {
10652 Py_INCREF(Py_None);
10653 _resultobj = Py_None;
10654 }
10655 return _resultobj;
10656}
10657
10658#define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10659static PyObject *_wrap_wxDirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10660 PyObject * _resultobj;
10661 bool _result;
10662 wxDirFilterListCtrl * _arg0;
10663 wxGenericDirCtrl * _arg1;
10664 wxWindowID _arg2 = (wxWindowID ) -1;
10665 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10666 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10667 long _arg5 = (long ) 0;
10668 PyObject * _argo0 = 0;
10669 PyObject * _argo1 = 0;
10670 wxPoint temp;
10671 PyObject * _obj3 = 0;
10672 wxSize temp0;
10673 PyObject * _obj4 = 0;
10674 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
10675
10676 self = self;
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
10678 return NULL;
10679 if (_argo0) {
10680 if (_argo0 == Py_None) { _arg0 = NULL; }
10681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10683 return NULL;
10684 }
10685 }
10686 if (_argo1) {
10687 if (_argo1 == Py_None) { _arg1 = NULL; }
10688 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGenericDirCtrl_p")) {
10689 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10690 return NULL;
10691 }
10692 }
10693 if (_obj3)
10694{
10695 _arg3 = &temp;
10696 if (! wxPoint_helper(_obj3, &_arg3))
10697 return NULL;
10698}
10699 if (_obj4)
10700{
10701 _arg4 = &temp0;
10702 if (! wxSize_helper(_obj4, &_arg4))
10703 return NULL;
10704}
10705{
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 _result = (bool )wxDirFilterListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) return NULL;
10711} _resultobj = Py_BuildValue("i",_result);
10712 return _resultobj;
10713}
10714
10715#define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10716static PyObject *_wrap_wxDirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
10717 PyObject * _resultobj;
10718 wxDirFilterListCtrl * _arg0;
10719 wxString * _arg1;
10720 int _arg2;
10721 PyObject * _argo0 = 0;
10722 PyObject * _obj1 = 0;
10723 char *_kwnames[] = { "self","filter","defaultFilter", NULL };
10724
10725 self = self;
10726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames,&_argo0,&_obj1,&_arg2))
10727 return NULL;
10728 if (_argo0) {
10729 if (_argo0 == Py_None) { _arg0 = NULL; }
10730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDirFilterListCtrl_p")) {
10731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10732 return NULL;
10733 }
10734 }
10735{
10736#if PYTHON_API_VERSION >= 1009
10737 char* tmpPtr; int tmpSize;
10738 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10739 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10740 return NULL;
10741 }
10742 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10743 return NULL;
10744 _arg1 = new wxString(tmpPtr, tmpSize);
10745#else
10746 if (!PyString_Check(_obj1)) {
10747 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10748 return NULL;
10749 }
10750 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10751#endif
10752}
10753{
10754 PyThreadState* __tstate = wxPyBeginAllowThreads();
10755 wxDirFilterListCtrl_FillFilterList(_arg0,*_arg1,_arg2);
10756
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) return NULL;
10759} Py_INCREF(Py_None);
10760 _resultobj = Py_None;
10761{
10762 if (_obj1)
10763 delete _arg1;
10764}
10765 return _resultobj;
10766}
10767
8ab979d7 10768static PyMethodDef controls2cMethods[] = {
db34b2d4
RD
10769 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_wxDirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
10770 { "wxDirFilterListCtrl_Create", (PyCFunction) _wrap_wxDirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10771 { "new_wxPreDirFilterListCtrl", (PyCFunction) _wrap_new_wxPreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10772 { "new_wxDirFilterListCtrl", (PyCFunction) _wrap_new_wxDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10773 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
10774 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_wxGenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10775 { "wxGenericDirCtrl_GetRootId", (PyCFunction) _wrap_wxGenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
10776 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10777 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
10778 { "wxGenericDirCtrl_SetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
10779 { "wxGenericDirCtrl_GetFilter", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
10780 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
10781 { "wxGenericDirCtrl_ShowHidden", (PyCFunction) _wrap_wxGenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
10782 { "wxGenericDirCtrl_SetPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
10783 { "wxGenericDirCtrl_GetFilePath", (PyCFunction) _wrap_wxGenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
10784 { "wxGenericDirCtrl_GetPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
10785 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10786 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_wxGenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
10787 { "wxGenericDirCtrl_ExpandPath", (PyCFunction) _wrap_wxGenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
10788 { "wxGenericDirCtrl_Create", (PyCFunction) _wrap_wxGenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10789 { "new_wxPreGenericDirCtrl", (PyCFunction) _wrap_new_wxPreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10790 { "new_wxGenericDirCtrl", (PyCFunction) _wrap_new_wxGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
10791 { "wxDirItemData_m_isDir_get", (PyCFunction) _wrap_wxDirItemData_m_isDir_get, METH_VARARGS | METH_KEYWORDS },
10792 { "wxDirItemData_m_isDir_set", (PyCFunction) _wrap_wxDirItemData_m_isDir_set, METH_VARARGS | METH_KEYWORDS },
10793 { "wxDirItemData_m_isExpanded_get", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_get, METH_VARARGS | METH_KEYWORDS },
10794 { "wxDirItemData_m_isExpanded_set", (PyCFunction) _wrap_wxDirItemData_m_isExpanded_set, METH_VARARGS | METH_KEYWORDS },
10795 { "wxDirItemData_m_isHidden_get", (PyCFunction) _wrap_wxDirItemData_m_isHidden_get, METH_VARARGS | METH_KEYWORDS },
10796 { "wxDirItemData_m_isHidden_set", (PyCFunction) _wrap_wxDirItemData_m_isHidden_set, METH_VARARGS | METH_KEYWORDS },
10797 { "wxDirItemData_m_name_get", (PyCFunction) _wrap_wxDirItemData_m_name_get, METH_VARARGS | METH_KEYWORDS },
10798 { "wxDirItemData_m_name_set", (PyCFunction) _wrap_wxDirItemData_m_name_set, METH_VARARGS | METH_KEYWORDS },
10799 { "wxDirItemData_m_path_get", (PyCFunction) _wrap_wxDirItemData_m_path_get, METH_VARARGS | METH_KEYWORDS },
10800 { "wxDirItemData_m_path_set", (PyCFunction) _wrap_wxDirItemData_m_path_set, METH_VARARGS | METH_KEYWORDS },
10801 { "wxDirItemData_SetNewDirName", (PyCFunction) _wrap_wxDirItemData_SetNewDirName, METH_VARARGS | METH_KEYWORDS },
10802 { "new_wxDirItemData", (PyCFunction) _wrap_new_wxDirItemData, METH_VARARGS | METH_KEYWORDS },
74bcba0e 10803 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
b7e72427
RD
10804 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
10805 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10806 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10807 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
10808 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
10809 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 10810 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10811 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
10812 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
10813 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10814 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
10815 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
10816 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
10817 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
10818 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
10819 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
10820 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
10821 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10822 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
10823 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
10824 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10825 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10826 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
10827 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
10828 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 10829 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10830 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
10831 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
10832 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
10833 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
10834 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
10835 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
10836 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10837 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 10838 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 10839 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10840 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10841 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
10842 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
10843 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
10844 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10845 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
10846 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
10847 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
10848 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10849 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10850 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
10851 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10852 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10853 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10854 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
10855 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
10856 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
10857 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
10858 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10859 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
10860 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10861 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
10862 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10863 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
10864 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10865 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
10866 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
10867 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
0220cbc1 10868 { "wxTreeCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10869 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10870 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10871 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
10872 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10873 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
65191ae8 10874 { "wxTreeEvent_GetKeyEvent", (PyCFunction) _wrap_wxTreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10875 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
10876 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
10877 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 10878 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10879 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
10880 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
10881 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
10882 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
10883 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10884 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10885 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
10886 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
10887 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10888 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
10889 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10890 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10891 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
10892 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10893 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
10894 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
10895 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10896 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10897 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
10898 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
10899 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
10900 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
10901 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
10902 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
10903 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
10904 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
10905 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
10906 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
10907 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
10908 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
dcd38683 10909 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
efc5f224 10910 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
10911 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
10912 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
10913 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10914 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
10915 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
10916 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
10917 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
efc5f224 10918 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10919 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
10920 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
10921 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
10922 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10923 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
10924 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
10925 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
10926 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
10927 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
10928 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
cd096152
RD
10929 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
10930 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
10931 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
10932 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
10933 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
10934 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
10935 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
10936 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
10937 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
10938 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
10939 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
10940 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
10941 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
10942 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
10943 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
10944 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
10945 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
10946 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
10947 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
10948 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
10949 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
10950 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
10951 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
10952 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
10953 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
10954 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
10955 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
10956 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
10957 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
10958 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
10959 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10960 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
10961 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
10962 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
10963 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10964 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
0220cbc1 10965 { "wxListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10966 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10967 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 10968 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
10969 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
10970 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10971 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
10972 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
10973 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
10974 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
10975 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
10976 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
10977 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10978 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10979 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
10980 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10981 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
10982 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
10983 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
10984 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10985 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
10986 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10987 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
10988 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
6e8a778a
RD
10989 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
10990 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10991 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
10992 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
059a841c 10993 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
10994 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
10995 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
10996 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
10997 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
10998 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
10999 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
11000 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
11001 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
11002 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
11003 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
11004 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
11005 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
11006 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
11007 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
11008 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
11009 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
11010 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
11011 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
11012 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
11013 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11014 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
11015 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11016 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11017 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
11018 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
11019 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
11020 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
11021 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
11022 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
11023 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
11024 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
11025 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
11026 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
11027 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
11028 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
11029 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11030 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11031 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
11032 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
11033 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
11034 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
11035 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
11036 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
11037 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
11038 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
11039 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
11040 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
11041 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
11042 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
11043 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
11044 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
11045 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11046 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11047 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11048 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11049 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11050 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11051 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11052 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11053 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11054 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11055 { NULL, NULL }
11056};
1d99702e
RD
11057#ifdef __cplusplus
11058}
11059#endif
11060/*
11061 * This table is used by the pointer type-checker
11062 */
11063static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11064 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
1d99702e 11065 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
1d99702e 11066 { "_signed_long","_long",0},
b1462dfa 11067 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11068 { "_wxPrintQuality","_int",0},
11069 { "_wxPrintQuality","_signed_int",0},
11070 { "_wxPrintQuality","_unsigned_int",0},
11071 { "_wxPrintQuality","_wxWindowID",0},
11072 { "_wxPrintQuality","_uint",0},
11073 { "_wxPrintQuality","_EBool",0},
11074 { "_wxPrintQuality","_size_t",0},
c368d904 11075 { "_wxPrintQuality","_time_t",0},
1d99702e 11076 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904 11077 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 11078 { "_byte","_unsigned_char",0},
db34b2d4 11079 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice},
1d99702e
RD
11080 { "_long","_unsigned_long",0},
11081 { "_long","_signed_long",0},
b1462dfa 11082 { "_size_t","_wxCoord",0},
1d99702e 11083 { "_size_t","_wxPrintQuality",0},
c368d904 11084 { "_size_t","_time_t",0},
1d99702e
RD
11085 { "_size_t","_unsigned_int",0},
11086 { "_size_t","_int",0},
11087 { "_size_t","_wxWindowID",0},
11088 { "_size_t","_uint",0},
b1462dfa 11089 { "_uint","_wxCoord",0},
1d99702e 11090 { "_uint","_wxPrintQuality",0},
c368d904 11091 { "_uint","_time_t",0},
1d99702e
RD
11092 { "_uint","_size_t",0},
11093 { "_uint","_unsigned_int",0},
11094 { "_uint","_int",0},
11095 { "_uint","_wxWindowID",0},
f6bcfd97 11096 { "_wxChar","_char",0},
1d99702e 11097 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
1d99702e 11098 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
f6bcfd97 11099 { "_char","_wxChar",0},
059a841c 11100 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11101 { "_EBool","_wxCoord",0},
1d99702e
RD
11102 { "_EBool","_wxPrintQuality",0},
11103 { "_EBool","_signed_int",0},
11104 { "_EBool","_int",0},
11105 { "_EBool","_wxWindowID",0},
1d99702e 11106 { "_unsigned_long","_long",0},
059a841c 11107 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11108 { "_signed_int","_wxCoord",0},
1d99702e
RD
11109 { "_signed_int","_wxPrintQuality",0},
11110 { "_signed_int","_EBool",0},
11111 { "_signed_int","_wxWindowID",0},
11112 { "_signed_int","_int",0},
1d99702e
RD
11113 { "_WXTYPE","_short",0},
11114 { "_WXTYPE","_signed_short",0},
11115 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11116 { "_unsigned_short","_WXTYPE",0},
11117 { "_unsigned_short","_short",0},
db34b2d4
RD
11118 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject},
11119 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject},
11120 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject},
9df61a29 11121 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9df61a29 11122 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9df61a29 11123 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
059a841c 11124 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
cd096152 11125 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9df61a29 11126 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9df61a29 11127 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
1d99702e
RD
11128 { "_signed_short","_WXTYPE",0},
11129 { "_signed_short","_short",0},
1d99702e 11130 { "_unsigned_char","_byte",0},
db34b2d4
RD
11131 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl},
11132 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl},
f6bcfd97 11133 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
059a841c 11134 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
cd096152 11135 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
b1462dfa 11136 { "_unsigned_int","_wxCoord",0},
1d99702e 11137 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11138 { "_unsigned_int","_time_t",0},
1d99702e
RD
11139 { "_unsigned_int","_size_t",0},
11140 { "_unsigned_int","_uint",0},
11141 { "_unsigned_int","_wxWindowID",0},
11142 { "_unsigned_int","_int",0},
1d99702e
RD
11143 { "_short","_WXTYPE",0},
11144 { "_short","_unsigned_short",0},
11145 { "_short","_signed_short",0},
db34b2d4 11146 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems},
b1462dfa 11147 { "_wxWindowID","_wxCoord",0},
1d99702e 11148 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11149 { "_wxWindowID","_time_t",0},
1d99702e
RD
11150 { "_wxWindowID","_size_t",0},
11151 { "_wxWindowID","_EBool",0},
11152 { "_wxWindowID","_uint",0},
11153 { "_wxWindowID","_int",0},
11154 { "_wxWindowID","_signed_int",0},
11155 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11156 { "_int","_wxCoord",0},
1d99702e 11157 { "_int","_wxPrintQuality",0},
c368d904 11158 { "_int","_time_t",0},
1d99702e
RD
11159 { "_int","_size_t",0},
11160 { "_int","_EBool",0},
11161 { "_int","_uint",0},
11162 { "_int","_wxWindowID",0},
11163 { "_int","_unsigned_int",0},
11164 { "_int","_signed_int",0},
c368d904
RD
11165 { "_time_t","_wxCoord",0},
11166 { "_time_t","_wxPrintQuality",0},
11167 { "_time_t","_unsigned_int",0},
11168 { "_time_t","_int",0},
11169 { "_time_t","_wxWindowID",0},
11170 { "_time_t","_uint",0},
11171 { "_time_t","_size_t",0},
b1462dfa
RD
11172 { "_wxCoord","_int",0},
11173 { "_wxCoord","_signed_int",0},
11174 { "_wxCoord","_unsigned_int",0},
11175 { "_wxCoord","_wxWindowID",0},
11176 { "_wxCoord","_uint",0},
11177 { "_wxCoord","_EBool",0},
11178 { "_wxCoord","_size_t",0},
c368d904 11179 { "_wxCoord","_time_t",0},
b1462dfa 11180 { "_wxCoord","_wxPrintQuality",0},
059a841c 11181 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
db34b2d4
RD
11182 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler},
11183 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler},
f6bcfd97 11184 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
059a841c 11185 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
cd096152 11186 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
db34b2d4
RD
11187 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow},
11188 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow},
f6bcfd97 11189 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
059a841c 11190 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
cd096152 11191 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
1d99702e
RD
11192{0,0,0}};
11193
8ab979d7
RD
11194static PyObject *SWIG_globals;
11195#ifdef __cplusplus
11196extern "C"
11197#endif
1d99702e 11198SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
11199 PyObject *m, *d;
11200 SWIG_globals = SWIG_newvarlink();
11201 m = Py_InitModule("controls2c", controls2cMethods);
11202 d = PyModule_GetDict(m);
cd096152
RD
11203 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
11204 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
11205 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
11206 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
11207 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
11208 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
11209 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
11210 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
11211 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
11212 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
11213 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
11214 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
11215 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
11216 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
11217 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
11218 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
11219 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
059a841c
RD
11220 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
11221 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
11222 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
11223 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
262e41eb 11224 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED));
cd096152
RD
11225 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
11226 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
11227 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
11228 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
11229 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
11230 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
11231 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
11232 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
11233 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
11234 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
11235 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
11236 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
11237 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
11238 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
11239 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
11240 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
11241 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
11242 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
11243 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
059a841c 11244 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
cd096152 11245 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
11246 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
11247 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
11248 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
cd096152 11249 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
af309447
RD
11250 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
11251 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
11252 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
11253 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
11254 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
11255 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
11256 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
11257 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
11258 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
11259 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
11260 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
11261 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
11262 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
11263 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
11264 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
11265 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
11266 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
11267 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
11268 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
11269 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
11270 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
11271 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
11272 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
11273 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
11274 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
11275 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
11276 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
11277 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
11278 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
11279 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
11280 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
11281 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
11282 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
11283 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
11284 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
11285 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
11286 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
11287 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
11288 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
aa2a5b86
RD
11289 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
11290 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
11291 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
11292 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
11293 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
1893b029 11294 PyDict_SetItemString(d,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS));
aa2a5b86
RD
11295 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
11296 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
11297 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
1893b029 11298 PyDict_SetItemString(d,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT));
aa2a5b86
RD
11299 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
11300 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
11301 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
11302 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
11303 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
11304 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
694759cf
RD
11305 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
11306 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
11307 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
11308 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
11309 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
11310 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
11311 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
11312 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
11313 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
11314 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
11315 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
11316 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
11317 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
11318 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
11319 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
11320 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
11321 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
11322 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
11323 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
9c4165ad
RD
11324 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
11325 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
11326 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
11327 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
11328 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
11329 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
11330 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
11331 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
11332 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
11333 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
11334 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
11335 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
11336 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
11337 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
11338 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
11339 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
11340 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
7a446686 11341 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
db34b2d4
RD
11342 PyDict_SetItemString(d,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY));
11343 PyDict_SetItemString(d,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST));
11344 PyDict_SetItemString(d,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS));
11345 PyDict_SetItemString(d,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL));
9df61a29 11346
059a841c 11347 // Map renamed classes back to their common name for OOR
9df61a29
RD
11348 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11349 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
059a841c 11350 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
1d99702e
RD
11351{
11352 int i;
11353 for (i = 0; _swig_mapping[i].n1; i++)
11354 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11355}
8ab979d7 11356}