]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls2.cpp
Copied/merged from the 2.2 branch.
[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__)
c368d904 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
c368d904 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
2cd2fac8 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>
8ab979d7
RD
64
65static PyObject* l_output_helper(PyObject* target, PyObject* o) {
66 PyObject* o2;
2cd2fac8 67 if (!target) {
8ab979d7 68 target = o;
2cd2fac8 69 } else if (target == Py_None) {
8ab979d7
RD
70 Py_DECREF(Py_None);
71 target = o;
2cd2fac8 72 } else {
8ab979d7
RD
73 if (!PyList_Check(target)) {
74 o2 = target;
75 target = PyList_New(0);
76 PyList_Append(target, o2);
77 Py_XDECREF(o2);
78 }
79 PyList_Append(target,o);
80 Py_XDECREF(o);
81 }
82 return target;
83}
84
85static PyObject* t_output_helper(PyObject* target, PyObject* o) {
86 PyObject* o2;
87 PyObject* o3;
88
2cd2fac8 89 if (!target) {
8ab979d7 90 target = o;
2cd2fac8 91 } else if (target == Py_None) {
8ab979d7
RD
92 Py_DECREF(Py_None);
93 target = o;
2cd2fac8 94 } else {
8ab979d7
RD
95 if (!PyTuple_Check(target)) {
96 o2 = target;
97 target = PyTuple_New(1);
98 PyTuple_SetItem(target, 0, o2);
99 }
2cd2fac8
RD
100 o3 = PyTuple_New(1);
101 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
102
103 o2 = target;
2cd2fac8
RD
104 target = PySequence_Concat(o2, o3);
105 Py_DECREF(o2);
8ab979d7
RD
106 Py_DECREF(o3);
107 }
108 return target;
109}
110
8ab979d7
RD
111static char* wxStringErrorMsg = "string type is required for parameter";
112
f6bcfd97 113 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
dcd38683
RD
114 int retval = 0;
115 PyObject* func = (PyObject*)funcPtr;
116 bool doSave = wxPyRestoreThread();
117
118 PyObject* args = Py_BuildValue("(ii)", item1, item2);
119 PyObject* result = PyEval_CallObject(func, args);
120 Py_DECREF(args);
121 if (result) {
122 retval = PyInt_AsLong(result);
123 Py_DECREF(result);
124 }
125
126 wxPySaveThread(doSave);
127 return retval;
128 }
129
130
cf694132
RD
131class wxPyTreeItemData : public wxTreeItemData {
132public:
133 wxPyTreeItemData(PyObject* obj = NULL) {
c368d904 134 if (obj == NULL)
cf694132 135 obj = Py_None;
c368d904
RD
136 Py_INCREF(obj);
137 m_obj = obj;
cf694132
RD
138 }
139
140 ~wxPyTreeItemData() {
1afc06c2 141 bool doSave = wxPyRestoreThread();
c368d904 142 Py_DECREF(m_obj);
1afc06c2 143 wxPySaveThread(doSave);
cf694132
RD
144 }
145
146 PyObject* GetData() {
147 Py_INCREF(m_obj);
148 return m_obj;
149 }
150
151 void SetData(PyObject* obj) {
c368d904 152 bool doSave = wxPyRestoreThread();
cf694132 153 Py_DECREF(m_obj);
c368d904 154 wxPySaveThread(doSave);
cf694132
RD
155 m_obj = obj;
156 Py_INCREF(obj);
157 }
158
159 PyObject* m_obj;
160};
f6bcfd97
BP
161
162class wxPyTreeCtrl : public wxTreeCtrl {
163public:
164 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
165 const wxPoint& pos,
166 const wxSize& size,
167 long style,
168 const wxValidator& validator,
169 char* name) :
170 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
171
172
173 int OnCompareItems(const wxTreeItemId& item1,
174 const wxTreeItemId& item2) {
175 int rval = 0;
176 bool doSave = wxPyRestoreThread();
177 if (m_myInst.findCallback("OnCompareItems"))
178 rval = m_myInst.callCallback(Py_BuildValue(
179 "(OO)",
180 wxPyConstructObject((void*)&item1, "wxTreeItemId"),
181 wxPyConstructObject((void*)&item2, "wxTreeItemId")));
182 else
183 rval = wxTreeCtrl::OnCompareItems(item1, item2);
184 wxPySaveThread(doSave);
185 return rval;
186 }
187 PYPRIVATE;
188};
189
1d99702e
RD
190#ifdef __cplusplus
191extern "C" {
192#endif
f6bcfd97
BP
193#define new_wxListItemAttr() (new wxListItemAttr())
194static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
195 PyObject * _resultobj;
196 wxListItemAttr * _result;
197 char *_kwnames[] = { NULL };
198 char _ptemp[128];
199
200 self = self;
201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItemAttr",_kwnames))
202 return NULL;
203{
204 wxPy_BEGIN_ALLOW_THREADS;
205 _result = (wxListItemAttr *)new_wxListItemAttr();
206
207 wxPy_END_ALLOW_THREADS;
208} if (_result) {
209 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
210 _resultobj = Py_BuildValue("s",_ptemp);
211 } else {
212 Py_INCREF(Py_None);
213 _resultobj = Py_None;
214 }
215 return _resultobj;
216}
217
218#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
219static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
220 PyObject * _resultobj;
221 wxListItemAttr * _arg0;
222 wxColour * _arg1;
223 PyObject * _argo0 = 0;
224 wxColour temp;
225 PyObject * _obj1 = 0;
226 char *_kwnames[] = { "self","colText", NULL };
227
228 self = self;
229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
230 return NULL;
231 if (_argo0) {
232 if (_argo0 == Py_None) { _arg0 = NULL; }
233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
235 return NULL;
236 }
237 }
238{
239 _arg1 = &temp;
240 if (! wxColour_helper(_obj1, &_arg1))
241 return NULL;
242}
243{
244 wxPy_BEGIN_ALLOW_THREADS;
245 wxListItemAttr_SetTextColour(_arg0,*_arg1);
246
247 wxPy_END_ALLOW_THREADS;
248} Py_INCREF(Py_None);
249 _resultobj = Py_None;
250 return _resultobj;
251}
252
253#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
254static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
255 PyObject * _resultobj;
256 wxListItemAttr * _arg0;
257 wxColour * _arg1;
258 PyObject * _argo0 = 0;
259 wxColour temp;
260 PyObject * _obj1 = 0;
261 char *_kwnames[] = { "self","colBack", NULL };
262
263 self = self;
264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
265 return NULL;
266 if (_argo0) {
267 if (_argo0 == Py_None) { _arg0 = NULL; }
268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
270 return NULL;
271 }
272 }
273{
274 _arg1 = &temp;
275 if (! wxColour_helper(_obj1, &_arg1))
276 return NULL;
277}
278{
279 wxPy_BEGIN_ALLOW_THREADS;
280 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
281
282 wxPy_END_ALLOW_THREADS;
283} Py_INCREF(Py_None);
284 _resultobj = Py_None;
285 return _resultobj;
286}
287
288#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
289static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
290 PyObject * _resultobj;
291 wxListItemAttr * _arg0;
292 wxFont * _arg1;
293 PyObject * _argo0 = 0;
294 PyObject * _argo1 = 0;
295 char *_kwnames[] = { "self","font", NULL };
296
297 self = self;
298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
299 return NULL;
300 if (_argo0) {
301 if (_argo0 == Py_None) { _arg0 = NULL; }
302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
304 return NULL;
305 }
306 }
307 if (_argo1) {
308 if (_argo1 == Py_None) { _arg1 = NULL; }
309 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
310 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
311 return NULL;
312 }
313 }
314{
315 wxPy_BEGIN_ALLOW_THREADS;
316 wxListItemAttr_SetFont(_arg0,*_arg1);
317
318 wxPy_END_ALLOW_THREADS;
319} Py_INCREF(Py_None);
320 _resultobj = Py_None;
321 return _resultobj;
322}
323
324#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
325static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
326 PyObject * _resultobj;
327 bool _result;
328 wxListItemAttr * _arg0;
329 PyObject * _argo0 = 0;
330 char *_kwnames[] = { "self", NULL };
331
332 self = self;
333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
334 return NULL;
335 if (_argo0) {
336 if (_argo0 == Py_None) { _arg0 = NULL; }
337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
339 return NULL;
340 }
341 }
342{
343 wxPy_BEGIN_ALLOW_THREADS;
344 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
345
346 wxPy_END_ALLOW_THREADS;
347} _resultobj = Py_BuildValue("i",_result);
348 return _resultobj;
349}
350
351#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
352static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
353 PyObject * _resultobj;
354 bool _result;
355 wxListItemAttr * _arg0;
356 PyObject * _argo0 = 0;
357 char *_kwnames[] = { "self", NULL };
358
359 self = self;
360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
361 return NULL;
362 if (_argo0) {
363 if (_argo0 == Py_None) { _arg0 = NULL; }
364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
366 return NULL;
367 }
368 }
369{
370 wxPy_BEGIN_ALLOW_THREADS;
371 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
372
373 wxPy_END_ALLOW_THREADS;
374} _resultobj = Py_BuildValue("i",_result);
375 return _resultobj;
376}
377
378#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
379static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
380 PyObject * _resultobj;
381 bool _result;
382 wxListItemAttr * _arg0;
383 PyObject * _argo0 = 0;
384 char *_kwnames[] = { "self", NULL };
385
386 self = self;
387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
388 return NULL;
389 if (_argo0) {
390 if (_argo0 == Py_None) { _arg0 = NULL; }
391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
393 return NULL;
394 }
395 }
396{
397 wxPy_BEGIN_ALLOW_THREADS;
398 _result = (bool )wxListItemAttr_HasFont(_arg0);
399
400 wxPy_END_ALLOW_THREADS;
401} _resultobj = Py_BuildValue("i",_result);
402 return _resultobj;
403}
404
405#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
406static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
407 PyObject * _resultobj;
408 wxColour * _result;
409 wxListItemAttr * _arg0;
410 PyObject * _argo0 = 0;
411 char *_kwnames[] = { "self", NULL };
412 char _ptemp[128];
413
414 self = self;
415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
416 return NULL;
417 if (_argo0) {
418 if (_argo0 == Py_None) { _arg0 = NULL; }
419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
421 return NULL;
422 }
423 }
424{
425 wxPy_BEGIN_ALLOW_THREADS;
426 const wxColour & _result_ref = wxListItemAttr_GetTextColour(_arg0);
427 _result = (wxColour *) &_result_ref;
428
429 wxPy_END_ALLOW_THREADS;
430} if (_result) {
431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
432 _resultobj = Py_BuildValue("s",_ptemp);
433 } else {
434 Py_INCREF(Py_None);
435 _resultobj = Py_None;
436 }
437 return _resultobj;
438}
439
440#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
441static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
442 PyObject * _resultobj;
443 wxColour * _result;
444 wxListItemAttr * _arg0;
445 PyObject * _argo0 = 0;
446 char *_kwnames[] = { "self", NULL };
447 char _ptemp[128];
448
449 self = self;
450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
451 return NULL;
452 if (_argo0) {
453 if (_argo0 == Py_None) { _arg0 = NULL; }
454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
456 return NULL;
457 }
458 }
459{
460 wxPy_BEGIN_ALLOW_THREADS;
461 const wxColour & _result_ref = wxListItemAttr_GetBackgroundColour(_arg0);
462 _result = (wxColour *) &_result_ref;
463
464 wxPy_END_ALLOW_THREADS;
465} if (_result) {
466 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
467 _resultobj = Py_BuildValue("s",_ptemp);
468 } else {
469 Py_INCREF(Py_None);
470 _resultobj = Py_None;
471 }
472 return _resultobj;
473}
474
475#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
476static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
477 PyObject * _resultobj;
478 wxFont * _result;
479 wxListItemAttr * _arg0;
480 PyObject * _argo0 = 0;
481 char *_kwnames[] = { "self", NULL };
482 char _ptemp[128];
483
484 self = self;
485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
486 return NULL;
487 if (_argo0) {
488 if (_argo0 == Py_None) { _arg0 = NULL; }
489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
491 return NULL;
492 }
493 }
494{
495 wxPy_BEGIN_ALLOW_THREADS;
496 const wxFont & _result_ref = wxListItemAttr_GetFont(_arg0);
497 _result = (wxFont *) &_result_ref;
498
499 wxPy_END_ALLOW_THREADS;
500} if (_result) {
501 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
502 _resultobj = Py_BuildValue("s",_ptemp);
503 } else {
504 Py_INCREF(Py_None);
505 _resultobj = Py_None;
506 }
507 return _resultobj;
508}
509
510#define new_wxListItem() (new wxListItem())
511static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
512 PyObject * _resultobj;
513 wxListItem * _result;
514 char *_kwnames[] = { NULL };
515 char _ptemp[128];
516
517 self = self;
518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
519 return NULL;
520{
521 wxPy_BEGIN_ALLOW_THREADS;
522 _result = (wxListItem *)new_wxListItem();
523
524 wxPy_END_ALLOW_THREADS;
525} if (_result) {
526 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
527 _resultobj = Py_BuildValue("s",_ptemp);
528 } else {
529 Py_INCREF(Py_None);
530 _resultobj = Py_None;
531 }
532 return _resultobj;
533}
534
535#define delete_wxListItem(_swigobj) (delete _swigobj)
536static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
537 PyObject * _resultobj;
538 wxListItem * _arg0;
539 PyObject * _argo0 = 0;
540 char *_kwnames[] = { "self", NULL };
541
542 self = self;
543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
544 return NULL;
545 if (_argo0) {
546 if (_argo0 == Py_None) { _arg0 = NULL; }
547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
549 return NULL;
550 }
551 }
552{
553 wxPy_BEGIN_ALLOW_THREADS;
554 delete_wxListItem(_arg0);
555
556 wxPy_END_ALLOW_THREADS;
557} Py_INCREF(Py_None);
558 _resultobj = Py_None;
559 return _resultobj;
560}
561
562#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
563static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
564 PyObject * _resultobj;
565 wxListItem * _arg0;
566 PyObject * _argo0 = 0;
567 char *_kwnames[] = { "self", NULL };
568
569 self = self;
570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
571 return NULL;
572 if (_argo0) {
573 if (_argo0 == Py_None) { _arg0 = NULL; }
574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
576 return NULL;
577 }
578 }
579{
580 wxPy_BEGIN_ALLOW_THREADS;
581 wxListItem_Clear(_arg0);
582
583 wxPy_END_ALLOW_THREADS;
584} Py_INCREF(Py_None);
585 _resultobj = Py_None;
586 return _resultobj;
587}
588
589#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
590static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
591 PyObject * _resultobj;
592 wxListItem * _arg0;
593 PyObject * _argo0 = 0;
594 char *_kwnames[] = { "self", NULL };
595
596 self = self;
597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
598 return NULL;
599 if (_argo0) {
600 if (_argo0 == Py_None) { _arg0 = NULL; }
601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
603 return NULL;
604 }
605 }
606{
607 wxPy_BEGIN_ALLOW_THREADS;
608 wxListItem_ClearAttributes(_arg0);
609
610 wxPy_END_ALLOW_THREADS;
611} Py_INCREF(Py_None);
612 _resultobj = Py_None;
613 return _resultobj;
614}
615
616#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
617static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
618 PyObject * _resultobj;
619 wxListItem * _arg0;
620 long _arg1;
621 PyObject * _argo0 = 0;
622 char *_kwnames[] = { "self","mask", NULL };
623
624 self = self;
625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
626 return NULL;
627 if (_argo0) {
628 if (_argo0 == Py_None) { _arg0 = NULL; }
629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
631 return NULL;
632 }
633 }
634{
635 wxPy_BEGIN_ALLOW_THREADS;
636 wxListItem_SetMask(_arg0,_arg1);
637
638 wxPy_END_ALLOW_THREADS;
639} Py_INCREF(Py_None);
640 _resultobj = Py_None;
641 return _resultobj;
642}
643
644#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
645static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
646 PyObject * _resultobj;
647 wxListItem * _arg0;
648 long _arg1;
649 PyObject * _argo0 = 0;
650 char *_kwnames[] = { "self","id", NULL };
651
652 self = self;
653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
654 return NULL;
655 if (_argo0) {
656 if (_argo0 == Py_None) { _arg0 = NULL; }
657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
659 return NULL;
660 }
661 }
662{
663 wxPy_BEGIN_ALLOW_THREADS;
664 wxListItem_SetId(_arg0,_arg1);
665
666 wxPy_END_ALLOW_THREADS;
667} Py_INCREF(Py_None);
668 _resultobj = Py_None;
669 return _resultobj;
670}
671
672#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
673static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
674 PyObject * _resultobj;
675 wxListItem * _arg0;
676 int _arg1;
677 PyObject * _argo0 = 0;
678 char *_kwnames[] = { "self","col", NULL };
679
680 self = self;
681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
682 return NULL;
683 if (_argo0) {
684 if (_argo0 == Py_None) { _arg0 = NULL; }
685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
687 return NULL;
688 }
689 }
690{
691 wxPy_BEGIN_ALLOW_THREADS;
692 wxListItem_SetColumn(_arg0,_arg1);
693
694 wxPy_END_ALLOW_THREADS;
695} Py_INCREF(Py_None);
696 _resultobj = Py_None;
697 return _resultobj;
698}
699
700#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
701static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
702 PyObject * _resultobj;
703 wxListItem * _arg0;
704 long _arg1;
705 PyObject * _argo0 = 0;
706 char *_kwnames[] = { "self","state", NULL };
707
708 self = self;
709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
710 return NULL;
711 if (_argo0) {
712 if (_argo0 == Py_None) { _arg0 = NULL; }
713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
715 return NULL;
716 }
717 }
718{
719 wxPy_BEGIN_ALLOW_THREADS;
720 wxListItem_SetState(_arg0,_arg1);
721
722 wxPy_END_ALLOW_THREADS;
723} Py_INCREF(Py_None);
724 _resultobj = Py_None;
725 return _resultobj;
726}
727
728#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
729static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
730 PyObject * _resultobj;
731 wxListItem * _arg0;
732 long _arg1;
733 PyObject * _argo0 = 0;
734 char *_kwnames[] = { "self","stateMask", NULL };
735
736 self = self;
737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
738 return NULL;
739 if (_argo0) {
740 if (_argo0 == Py_None) { _arg0 = NULL; }
741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
743 return NULL;
744 }
745 }
746{
747 wxPy_BEGIN_ALLOW_THREADS;
748 wxListItem_SetStateMask(_arg0,_arg1);
749
750 wxPy_END_ALLOW_THREADS;
751} Py_INCREF(Py_None);
752 _resultobj = Py_None;
753 return _resultobj;
754}
755
756#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
757static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
758 PyObject * _resultobj;
759 wxListItem * _arg0;
760 wxString * _arg1;
761 PyObject * _argo0 = 0;
762 PyObject * _obj1 = 0;
763 char *_kwnames[] = { "self","text", NULL };
764
765 self = self;
766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
767 return NULL;
768 if (_argo0) {
769 if (_argo0 == Py_None) { _arg0 = NULL; }
770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
772 return NULL;
773 }
774 }
775{
2cd2fac8
RD
776#if PYTHON_API_VERSION >= 1009
777 char* tmpPtr; int tmpSize;
778 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
779 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
780 return NULL;
781 }
782 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
783 return NULL;
784 _arg1 = new wxString(tmpPtr, tmpSize);
785#else
f6bcfd97
BP
786 if (!PyString_Check(_obj1)) {
787 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
788 return NULL;
789 }
2cd2fac8
RD
790 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
791#endif
f6bcfd97
BP
792}
793{
794 wxPy_BEGIN_ALLOW_THREADS;
795 wxListItem_SetText(_arg0,*_arg1);
796
797 wxPy_END_ALLOW_THREADS;
798} Py_INCREF(Py_None);
799 _resultobj = Py_None;
800{
801 if (_obj1)
802 delete _arg1;
803}
804 return _resultobj;
805}
806
807#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
808static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
809 PyObject * _resultobj;
810 wxListItem * _arg0;
811 int _arg1;
812 PyObject * _argo0 = 0;
813 char *_kwnames[] = { "self","image", NULL };
814
815 self = self;
816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
817 return NULL;
818 if (_argo0) {
819 if (_argo0 == Py_None) { _arg0 = NULL; }
820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
822 return NULL;
823 }
824 }
825{
826 wxPy_BEGIN_ALLOW_THREADS;
827 wxListItem_SetImage(_arg0,_arg1);
828
829 wxPy_END_ALLOW_THREADS;
830} Py_INCREF(Py_None);
831 _resultobj = Py_None;
832 return _resultobj;
833}
834
835#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
836static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject * _resultobj;
838 wxListItem * _arg0;
839 long _arg1;
840 PyObject * _argo0 = 0;
841 char *_kwnames[] = { "self","data", NULL };
842
843 self = self;
844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
845 return NULL;
846 if (_argo0) {
847 if (_argo0 == Py_None) { _arg0 = NULL; }
848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
850 return NULL;
851 }
852 }
853{
854 wxPy_BEGIN_ALLOW_THREADS;
855 wxListItem_SetData(_arg0,_arg1);
856
857 wxPy_END_ALLOW_THREADS;
858} Py_INCREF(Py_None);
859 _resultobj = Py_None;
860 return _resultobj;
861}
862
863#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
864static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
865 PyObject * _resultobj;
866 wxListItem * _arg0;
867 int _arg1;
868 PyObject * _argo0 = 0;
869 char *_kwnames[] = { "self","width", NULL };
870
871 self = self;
872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
873 return NULL;
874 if (_argo0) {
875 if (_argo0 == Py_None) { _arg0 = NULL; }
876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
878 return NULL;
879 }
880 }
881{
882 wxPy_BEGIN_ALLOW_THREADS;
883 wxListItem_SetWidth(_arg0,_arg1);
884
885 wxPy_END_ALLOW_THREADS;
886} Py_INCREF(Py_None);
887 _resultobj = Py_None;
888 return _resultobj;
889}
890
891#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
892static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
893 PyObject * _resultobj;
894 wxListItem * _arg0;
895 wxListColumnFormat _arg1;
896 PyObject * _argo0 = 0;
897 char *_kwnames[] = { "self","align", NULL };
898
899 self = self;
900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
901 return NULL;
902 if (_argo0) {
903 if (_argo0 == Py_None) { _arg0 = NULL; }
904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
906 return NULL;
907 }
908 }
909{
910 wxPy_BEGIN_ALLOW_THREADS;
911 wxListItem_SetAlign(_arg0,_arg1);
912
913 wxPy_END_ALLOW_THREADS;
914} Py_INCREF(Py_None);
915 _resultobj = Py_None;
916 return _resultobj;
917}
918
919#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
920static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
921 PyObject * _resultobj;
922 wxListItem * _arg0;
923 wxColour * _arg1;
924 PyObject * _argo0 = 0;
925 wxColour temp;
926 PyObject * _obj1 = 0;
927 char *_kwnames[] = { "self","colText", NULL };
928
929 self = self;
930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
931 return NULL;
932 if (_argo0) {
933 if (_argo0 == Py_None) { _arg0 = NULL; }
934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
936 return NULL;
937 }
938 }
939{
940 _arg1 = &temp;
941 if (! wxColour_helper(_obj1, &_arg1))
942 return NULL;
943}
944{
945 wxPy_BEGIN_ALLOW_THREADS;
946 wxListItem_SetTextColour(_arg0,*_arg1);
947
948 wxPy_END_ALLOW_THREADS;
949} Py_INCREF(Py_None);
950 _resultobj = Py_None;
951 return _resultobj;
952}
953
954#define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
955static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
956 PyObject * _resultobj;
957 wxListItem * _arg0;
958 wxColour * _arg1;
959 PyObject * _argo0 = 0;
960 wxColour temp;
961 PyObject * _obj1 = 0;
962 char *_kwnames[] = { "self","colBack", NULL };
963
964 self = self;
965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
966 return NULL;
967 if (_argo0) {
968 if (_argo0 == Py_None) { _arg0 = NULL; }
969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
971 return NULL;
972 }
973 }
974{
975 _arg1 = &temp;
976 if (! wxColour_helper(_obj1, &_arg1))
977 return NULL;
978}
979{
980 wxPy_BEGIN_ALLOW_THREADS;
981 wxListItem_SetBackgroundColour(_arg0,*_arg1);
982
983 wxPy_END_ALLOW_THREADS;
984} Py_INCREF(Py_None);
985 _resultobj = Py_None;
986 return _resultobj;
987}
988
989#define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
990static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
991 PyObject * _resultobj;
992 wxListItem * _arg0;
993 wxFont * _arg1;
994 PyObject * _argo0 = 0;
995 PyObject * _argo1 = 0;
996 char *_kwnames[] = { "self","font", NULL };
997
998 self = self;
999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1000 return NULL;
1001 if (_argo0) {
1002 if (_argo0 == Py_None) { _arg0 = NULL; }
1003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1005 return NULL;
1006 }
1007 }
1008 if (_argo1) {
1009 if (_argo1 == Py_None) { _arg1 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1012 return NULL;
1013 }
1014 }
1015{
1016 wxPy_BEGIN_ALLOW_THREADS;
1017 wxListItem_SetFont(_arg0,*_arg1);
1018
1019 wxPy_END_ALLOW_THREADS;
1020} Py_INCREF(Py_None);
1021 _resultobj = Py_None;
1022 return _resultobj;
1023}
1024
1025#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1026static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1027 PyObject * _resultobj;
1028 long _result;
1029 wxListItem * _arg0;
1030 PyObject * _argo0 = 0;
1031 char *_kwnames[] = { "self", NULL };
1032
1033 self = self;
1034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1035 return NULL;
1036 if (_argo0) {
1037 if (_argo0 == Py_None) { _arg0 = NULL; }
1038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1040 return NULL;
1041 }
1042 }
1043{
1044 wxPy_BEGIN_ALLOW_THREADS;
1045 _result = (long )wxListItem_GetMask(_arg0);
1046
1047 wxPy_END_ALLOW_THREADS;
1048} _resultobj = Py_BuildValue("l",_result);
1049 return _resultobj;
1050}
1051
1052#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1053static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1054 PyObject * _resultobj;
1055 long _result;
1056 wxListItem * _arg0;
1057 PyObject * _argo0 = 0;
1058 char *_kwnames[] = { "self", NULL };
1059
1060 self = self;
1061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1062 return NULL;
1063 if (_argo0) {
1064 if (_argo0 == Py_None) { _arg0 = NULL; }
1065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1067 return NULL;
1068 }
1069 }
1070{
1071 wxPy_BEGIN_ALLOW_THREADS;
1072 _result = (long )wxListItem_GetId(_arg0);
1073
1074 wxPy_END_ALLOW_THREADS;
1075} _resultobj = Py_BuildValue("l",_result);
1076 return _resultobj;
1077}
1078
1079#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1080static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1081 PyObject * _resultobj;
1082 int _result;
1083 wxListItem * _arg0;
1084 PyObject * _argo0 = 0;
1085 char *_kwnames[] = { "self", NULL };
1086
1087 self = self;
1088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1089 return NULL;
1090 if (_argo0) {
1091 if (_argo0 == Py_None) { _arg0 = NULL; }
1092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1094 return NULL;
1095 }
1096 }
1097{
1098 wxPy_BEGIN_ALLOW_THREADS;
1099 _result = (int )wxListItem_GetColumn(_arg0);
1100
1101 wxPy_END_ALLOW_THREADS;
1102} _resultobj = Py_BuildValue("i",_result);
1103 return _resultobj;
1104}
1105
1106#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1107static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1108 PyObject * _resultobj;
1109 long _result;
1110 wxListItem * _arg0;
1111 PyObject * _argo0 = 0;
1112 char *_kwnames[] = { "self", NULL };
1113
1114 self = self;
1115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1116 return NULL;
1117 if (_argo0) {
1118 if (_argo0 == Py_None) { _arg0 = NULL; }
1119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1121 return NULL;
1122 }
1123 }
1124{
1125 wxPy_BEGIN_ALLOW_THREADS;
1126 _result = (long )wxListItem_GetState(_arg0);
1127
1128 wxPy_END_ALLOW_THREADS;
1129} _resultobj = Py_BuildValue("l",_result);
1130 return _resultobj;
1131}
1132
1133#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1134static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1135 PyObject * _resultobj;
1136 wxString * _result;
1137 wxListItem * _arg0;
1138 PyObject * _argo0 = 0;
1139 char *_kwnames[] = { "self", NULL };
1140
1141 self = self;
1142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1143 return NULL;
1144 if (_argo0) {
1145 if (_argo0 == Py_None) { _arg0 = NULL; }
1146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1148 return NULL;
1149 }
1150 }
1151{
1152 wxPy_BEGIN_ALLOW_THREADS;
1153 const wxString & _result_ref = wxListItem_GetText(_arg0);
1154 _result = (wxString *) &_result_ref;
1155
1156 wxPy_END_ALLOW_THREADS;
1157}{
1158 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1159}
1160 return _resultobj;
1161}
1162
1163#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1164static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1165 PyObject * _resultobj;
1166 int _result;
1167 wxListItem * _arg0;
1168 PyObject * _argo0 = 0;
1169 char *_kwnames[] = { "self", NULL };
1170
1171 self = self;
1172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1173 return NULL;
1174 if (_argo0) {
1175 if (_argo0 == Py_None) { _arg0 = NULL; }
1176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1178 return NULL;
1179 }
1180 }
1181{
1182 wxPy_BEGIN_ALLOW_THREADS;
1183 _result = (int )wxListItem_GetImage(_arg0);
1184
1185 wxPy_END_ALLOW_THREADS;
1186} _resultobj = Py_BuildValue("i",_result);
1187 return _resultobj;
1188}
1189
1190#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1191static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1192 PyObject * _resultobj;
1193 long _result;
1194 wxListItem * _arg0;
1195 PyObject * _argo0 = 0;
1196 char *_kwnames[] = { "self", NULL };
1197
1198 self = self;
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1200 return NULL;
1201 if (_argo0) {
1202 if (_argo0 == Py_None) { _arg0 = NULL; }
1203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1205 return NULL;
1206 }
1207 }
1208{
1209 wxPy_BEGIN_ALLOW_THREADS;
1210 _result = (long )wxListItem_GetData(_arg0);
1211
1212 wxPy_END_ALLOW_THREADS;
1213} _resultobj = Py_BuildValue("l",_result);
1214 return _resultobj;
1215}
1216
1217#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1218static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1219 PyObject * _resultobj;
1220 int _result;
1221 wxListItem * _arg0;
1222 PyObject * _argo0 = 0;
1223 char *_kwnames[] = { "self", NULL };
1224
1225 self = self;
1226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1227 return NULL;
1228 if (_argo0) {
1229 if (_argo0 == Py_None) { _arg0 = NULL; }
1230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1232 return NULL;
1233 }
1234 }
1235{
1236 wxPy_BEGIN_ALLOW_THREADS;
1237 _result = (int )wxListItem_GetWidth(_arg0);
1238
1239 wxPy_END_ALLOW_THREADS;
1240} _resultobj = Py_BuildValue("i",_result);
1241 return _resultobj;
1242}
1243
1244#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1245static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1246 PyObject * _resultobj;
1247 wxListColumnFormat _result;
1248 wxListItem * _arg0;
1249 PyObject * _argo0 = 0;
1250 char *_kwnames[] = { "self", NULL };
1251
1252 self = self;
1253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1254 return NULL;
1255 if (_argo0) {
1256 if (_argo0 == Py_None) { _arg0 = NULL; }
1257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1259 return NULL;
1260 }
1261 }
1262{
1263 wxPy_BEGIN_ALLOW_THREADS;
1264 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
1265
1266 wxPy_END_ALLOW_THREADS;
1267} _resultobj = Py_BuildValue("i",_result);
1268 return _resultobj;
1269}
1270
1271#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1272static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1273 PyObject * _resultobj;
1274 wxListItemAttr * _result;
1275 wxListItem * _arg0;
1276 PyObject * _argo0 = 0;
1277 char *_kwnames[] = { "self", NULL };
1278 char _ptemp[128];
1279
1280 self = self;
1281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1282 return NULL;
1283 if (_argo0) {
1284 if (_argo0 == Py_None) { _arg0 = NULL; }
1285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1287 return NULL;
1288 }
1289 }
1290{
1291 wxPy_BEGIN_ALLOW_THREADS;
1292 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
1293
1294 wxPy_END_ALLOW_THREADS;
1295} if (_result) {
1296 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1297 _resultobj = Py_BuildValue("s",_ptemp);
1298 } else {
1299 Py_INCREF(Py_None);
1300 _resultobj = Py_None;
1301 }
1302 return _resultobj;
1303}
1304
1305#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1306static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1307 PyObject * _resultobj;
1308 bool _result;
1309 wxListItem * _arg0;
1310 PyObject * _argo0 = 0;
1311 char *_kwnames[] = { "self", NULL };
1312
1313 self = self;
1314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1315 return NULL;
1316 if (_argo0) {
1317 if (_argo0 == Py_None) { _arg0 = NULL; }
1318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1320 return NULL;
1321 }
1322 }
1323{
1324 wxPy_BEGIN_ALLOW_THREADS;
1325 _result = (bool )wxListItem_HasAttributes(_arg0);
1326
1327 wxPy_END_ALLOW_THREADS;
1328} _resultobj = Py_BuildValue("i",_result);
1329 return _resultobj;
1330}
1331
1332#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1333static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1334 PyObject * _resultobj;
1335 wxColour * _result;
1336 wxListItem * _arg0;
1337 PyObject * _argo0 = 0;
1338 char *_kwnames[] = { "self", NULL };
1339 char _ptemp[128];
1340
1341 self = self;
1342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1343 return NULL;
1344 if (_argo0) {
1345 if (_argo0 == Py_None) { _arg0 = NULL; }
1346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1348 return NULL;
1349 }
1350 }
1351{
1352 wxPy_BEGIN_ALLOW_THREADS;
1353 _result = new wxColour (wxListItem_GetTextColour(_arg0));
1354
1355 wxPy_END_ALLOW_THREADS;
1356} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1357 _resultobj = Py_BuildValue("s",_ptemp);
1358 return _resultobj;
1359}
1360
1361#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1362static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1363 PyObject * _resultobj;
1364 wxColour * _result;
1365 wxListItem * _arg0;
1366 PyObject * _argo0 = 0;
1367 char *_kwnames[] = { "self", NULL };
1368 char _ptemp[128];
1369
1370 self = self;
1371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1372 return NULL;
1373 if (_argo0) {
1374 if (_argo0 == Py_None) { _arg0 = NULL; }
1375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1377 return NULL;
1378 }
1379 }
1380{
1381 wxPy_BEGIN_ALLOW_THREADS;
1382 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
1383
1384 wxPy_END_ALLOW_THREADS;
1385} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1386 _resultobj = Py_BuildValue("s",_ptemp);
1387 return _resultobj;
1388}
1389
1390#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1391static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1392 PyObject * _resultobj;
1393 wxFont * _result;
1394 wxListItem * _arg0;
1395 PyObject * _argo0 = 0;
1396 char *_kwnames[] = { "self", NULL };
1397 char _ptemp[128];
1398
1399 self = self;
1400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1401 return NULL;
1402 if (_argo0) {
1403 if (_argo0 == Py_None) { _arg0 = NULL; }
1404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1406 return NULL;
1407 }
1408 }
1409{
1410 wxPy_BEGIN_ALLOW_THREADS;
1411 _result = new wxFont (wxListItem_GetFont(_arg0));
1412
1413 wxPy_END_ALLOW_THREADS;
1414} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1415 _resultobj = Py_BuildValue("s",_ptemp);
1416 return _resultobj;
1417}
1418
1419#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1420static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1421 PyObject * _resultobj;
1422 long _result;
1423 wxListItem * _arg0;
1424 long _arg1;
1425 PyObject * _argo0 = 0;
1426 char *_kwnames[] = { "self","m_mask", NULL };
1427
1428 self = self;
1429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1430 return NULL;
1431 if (_argo0) {
1432 if (_argo0 == Py_None) { _arg0 = NULL; }
1433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1435 return NULL;
1436 }
1437 }
1438{
1439 wxPy_BEGIN_ALLOW_THREADS;
1440 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
1441
1442 wxPy_END_ALLOW_THREADS;
1443} _resultobj = Py_BuildValue("l",_result);
1444 return _resultobj;
1445}
1446
1447#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1448static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject * _resultobj;
1450 long _result;
1451 wxListItem * _arg0;
1452 PyObject * _argo0 = 0;
1453 char *_kwnames[] = { "self", NULL };
1454
1455 self = self;
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0))
1457 return NULL;
1458 if (_argo0) {
1459 if (_argo0 == Py_None) { _arg0 = NULL; }
1460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1462 return NULL;
1463 }
1464 }
1465{
1466 wxPy_BEGIN_ALLOW_THREADS;
1467 _result = (long )wxListItem_m_mask_get(_arg0);
1468
1469 wxPy_END_ALLOW_THREADS;
1470} _resultobj = Py_BuildValue("l",_result);
1471 return _resultobj;
1472}
1473
1474#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1475static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
1476 PyObject * _resultobj;
1477 long _result;
1478 wxListItem * _arg0;
1479 long _arg1;
1d99702e 1480 PyObject * _argo0 = 0;
f6bcfd97 1481 char *_kwnames[] = { "self","m_itemId", NULL };
af309447
RD
1482
1483 self = self;
f6bcfd97 1484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
af309447 1485 return NULL;
1d99702e
RD
1486 if (_argo0) {
1487 if (_argo0 == Py_None) { _arg0 = NULL; }
1488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
af309447
RD
1490 return NULL;
1491 }
1492 }
cf694132
RD
1493{
1494 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97
BP
1495 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
1496
1497 wxPy_END_ALLOW_THREADS;
1498} _resultobj = Py_BuildValue("l",_result);
1499 return _resultobj;
1500}
1501
1502#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1503static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1504 PyObject * _resultobj;
1505 long _result;
1506 wxListItem * _arg0;
1507 PyObject * _argo0 = 0;
1508 char *_kwnames[] = { "self", NULL };
1509
1510 self = self;
1511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1512 return NULL;
1513 if (_argo0) {
1514 if (_argo0 == Py_None) { _arg0 = NULL; }
1515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1517 return NULL;
1518 }
1519 }
1520{
1521 wxPy_BEGIN_ALLOW_THREADS;
1522 _result = (long )wxListItem_m_itemId_get(_arg0);
1523
1524 wxPy_END_ALLOW_THREADS;
1525} _resultobj = Py_BuildValue("l",_result);
1526 return _resultobj;
1527}
1528
1529#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1530static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject * _resultobj;
1532 int _result;
1533 wxListItem * _arg0;
1534 int _arg1;
1535 PyObject * _argo0 = 0;
1536 char *_kwnames[] = { "self","m_col", NULL };
1537
1538 self = self;
1539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1540 return NULL;
1541 if (_argo0) {
1542 if (_argo0 == Py_None) { _arg0 = NULL; }
1543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1545 return NULL;
1546 }
1547 }
1548{
1549 wxPy_BEGIN_ALLOW_THREADS;
1550 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
1551
1552 wxPy_END_ALLOW_THREADS;
1553} _resultobj = Py_BuildValue("i",_result);
1554 return _resultobj;
1555}
1556
1557#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1558static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject * _resultobj;
1560 int _result;
1561 wxListItem * _arg0;
1562 PyObject * _argo0 = 0;
1563 char *_kwnames[] = { "self", NULL };
1564
1565 self = self;
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1567 return NULL;
1568 if (_argo0) {
1569 if (_argo0 == Py_None) { _arg0 = NULL; }
1570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1572 return NULL;
1573 }
1574 }
1575{
1576 wxPy_BEGIN_ALLOW_THREADS;
1577 _result = (int )wxListItem_m_col_get(_arg0);
1578
1579 wxPy_END_ALLOW_THREADS;
1580} _resultobj = Py_BuildValue("i",_result);
1581 return _resultobj;
1582}
1583
1584#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1585static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject * _resultobj;
1587 long _result;
1588 wxListItem * _arg0;
1589 long _arg1;
1590 PyObject * _argo0 = 0;
1591 char *_kwnames[] = { "self","m_state", NULL };
1592
1593 self = self;
1594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1595 return NULL;
1596 if (_argo0) {
1597 if (_argo0 == Py_None) { _arg0 = NULL; }
1598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1600 return NULL;
1601 }
1602 }
1603{
1604 wxPy_BEGIN_ALLOW_THREADS;
1605 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
1606
1607 wxPy_END_ALLOW_THREADS;
1608} _resultobj = Py_BuildValue("l",_result);
1609 return _resultobj;
1610}
1611
1612#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1613static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1614 PyObject * _resultobj;
1615 long _result;
1616 wxListItem * _arg0;
1617 PyObject * _argo0 = 0;
1618 char *_kwnames[] = { "self", NULL };
1619
1620 self = self;
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1622 return NULL;
1623 if (_argo0) {
1624 if (_argo0 == Py_None) { _arg0 = NULL; }
1625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1627 return NULL;
1628 }
1629 }
1630{
1631 wxPy_BEGIN_ALLOW_THREADS;
1632 _result = (long )wxListItem_m_state_get(_arg0);
1633
1634 wxPy_END_ALLOW_THREADS;
1635} _resultobj = Py_BuildValue("l",_result);
1636 return _resultobj;
1637}
1638
1639#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1640static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1641 PyObject * _resultobj;
1642 long _result;
1643 wxListItem * _arg0;
1644 long _arg1;
1645 PyObject * _argo0 = 0;
1646 char *_kwnames[] = { "self","m_stateMask", NULL };
1647
1648 self = self;
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1650 return NULL;
1651 if (_argo0) {
1652 if (_argo0 == Py_None) { _arg0 = NULL; }
1653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1655 return NULL;
1656 }
1657 }
1658{
1659 wxPy_BEGIN_ALLOW_THREADS;
1660 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
1661
1662 wxPy_END_ALLOW_THREADS;
1663} _resultobj = Py_BuildValue("l",_result);
1664 return _resultobj;
1665}
1666
1667#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1668static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1669 PyObject * _resultobj;
1670 long _result;
1671 wxListItem * _arg0;
1672 PyObject * _argo0 = 0;
1673 char *_kwnames[] = { "self", NULL };
1674
1675 self = self;
1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1677 return NULL;
1678 if (_argo0) {
1679 if (_argo0 == Py_None) { _arg0 = NULL; }
1680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1682 return NULL;
1683 }
1684 }
1685{
1686 wxPy_BEGIN_ALLOW_THREADS;
1687 _result = (long )wxListItem_m_stateMask_get(_arg0);
cf694132
RD
1688
1689 wxPy_END_ALLOW_THREADS;
1690} _resultobj = Py_BuildValue("l",_result);
af309447
RD
1691 return _resultobj;
1692}
1693
f6bcfd97
BP
1694#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1695static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1696 PyObject * _resultobj;
1697 wxString * _result;
1698 wxListItem * _arg0;
1699 wxString * _arg1;
1700 PyObject * _argo0 = 0;
1701 PyObject * _obj1 = 0;
1702 char *_kwnames[] = { "self","m_text", NULL };
1703
1704 self = self;
1705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1706 return NULL;
1707 if (_argo0) {
1708 if (_argo0 == Py_None) { _arg0 = NULL; }
1709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1711 return NULL;
1712 }
1713 }
1714{
2cd2fac8
RD
1715#if PYTHON_API_VERSION >= 1009
1716 char* tmpPtr; int tmpSize;
1717 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1718 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1719 return NULL;
1720 }
1721 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1722 return NULL;
1723 _arg1 = new wxString(tmpPtr, tmpSize);
1724#else
f6bcfd97
BP
1725 if (!PyString_Check(_obj1)) {
1726 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1727 return NULL;
1728 }
2cd2fac8
RD
1729 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1730#endif
f6bcfd97
BP
1731}
1732{
1733 wxPy_BEGIN_ALLOW_THREADS;
1734 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
1735
1736 wxPy_END_ALLOW_THREADS;
1737}{
1738 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1739}
1740{
1741 if (_obj1)
1742 delete _arg1;
1743}
1744 return _resultobj;
1745}
1746
1747#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1748static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1749 PyObject * _resultobj;
f6bcfd97 1750 wxString * _result;
8ab979d7 1751 wxListItem * _arg0;
1d99702e 1752 PyObject * _argo0 = 0;
efc5f224 1753 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1754
1755 self = self;
f6bcfd97 1756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
8ab979d7 1757 return NULL;
1d99702e
RD
1758 if (_argo0) {
1759 if (_argo0 == Py_None) { _arg0 = NULL; }
1760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
8ab979d7
RD
1762 return NULL;
1763 }
1764 }
cf694132
RD
1765{
1766 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1767 _result = (wxString *)wxListItem_m_text_get(_arg0);
cf694132
RD
1768
1769 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
1770}{
1771 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1772}
8ab979d7
RD
1773 return _resultobj;
1774}
1775
f6bcfd97
BP
1776#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1777static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1778 PyObject * _resultobj;
f6bcfd97 1779 int _result;
af309447 1780 wxListItem * _arg0;
f6bcfd97 1781 int _arg1;
1d99702e 1782 PyObject * _argo0 = 0;
f6bcfd97 1783 char *_kwnames[] = { "self","m_image", NULL };
af309447
RD
1784
1785 self = self;
f6bcfd97 1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
af309447 1787 return NULL;
1d99702e
RD
1788 if (_argo0) {
1789 if (_argo0 == Py_None) { _arg0 = NULL; }
1790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
af309447
RD
1792 return NULL;
1793 }
1794 }
cf694132
RD
1795{
1796 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1797 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
cf694132
RD
1798
1799 wxPy_END_ALLOW_THREADS;
f6bcfd97 1800} _resultobj = Py_BuildValue("i",_result);
af309447
RD
1801 return _resultobj;
1802}
1803
f6bcfd97
BP
1804#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1805static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1806 PyObject * _resultobj;
f6bcfd97 1807 int _result;
8ab979d7 1808 wxListItem * _arg0;
1d99702e 1809 PyObject * _argo0 = 0;
efc5f224 1810 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1811
1812 self = self;
f6bcfd97 1813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
8ab979d7 1814 return NULL;
1d99702e
RD
1815 if (_argo0) {
1816 if (_argo0 == Py_None) { _arg0 = NULL; }
1817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
8ab979d7
RD
1819 return NULL;
1820 }
1821 }
cf694132
RD
1822{
1823 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1824 _result = (int )wxListItem_m_image_get(_arg0);
cf694132
RD
1825
1826 wxPy_END_ALLOW_THREADS;
f6bcfd97 1827} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1828 return _resultobj;
1829}
1830
f6bcfd97
BP
1831#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1832static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1833 PyObject * _resultobj;
f6bcfd97 1834 long _result;
af309447 1835 wxListItem * _arg0;
f6bcfd97 1836 long _arg1;
1d99702e 1837 PyObject * _argo0 = 0;
f6bcfd97 1838 char *_kwnames[] = { "self","m_data", NULL };
af309447
RD
1839
1840 self = self;
f6bcfd97 1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
af309447 1842 return NULL;
1d99702e
RD
1843 if (_argo0) {
1844 if (_argo0 == Py_None) { _arg0 = NULL; }
1845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
af309447
RD
1847 return NULL;
1848 }
1849 }
cf694132
RD
1850{
1851 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1852 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
cf694132
RD
1853
1854 wxPy_END_ALLOW_THREADS;
f6bcfd97 1855} _resultobj = Py_BuildValue("l",_result);
af309447
RD
1856 return _resultobj;
1857}
1858
f6bcfd97
BP
1859#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1860static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1861 PyObject * _resultobj;
f6bcfd97 1862 long _result;
8ab979d7 1863 wxListItem * _arg0;
1d99702e 1864 PyObject * _argo0 = 0;
efc5f224 1865 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1866
1867 self = self;
f6bcfd97 1868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
8ab979d7 1869 return NULL;
1d99702e
RD
1870 if (_argo0) {
1871 if (_argo0 == Py_None) { _arg0 = NULL; }
1872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
8ab979d7
RD
1874 return NULL;
1875 }
1876 }
cf694132
RD
1877{
1878 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1879 _result = (long )wxListItem_m_data_get(_arg0);
cf694132
RD
1880
1881 wxPy_END_ALLOW_THREADS;
f6bcfd97 1882} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1883 return _resultobj;
1884}
1885
f6bcfd97
BP
1886#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1887static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1888 PyObject * _resultobj;
f6bcfd97 1889 int _result;
af309447 1890 wxListItem * _arg0;
f6bcfd97 1891 int _arg1;
1d99702e 1892 PyObject * _argo0 = 0;
f6bcfd97 1893 char *_kwnames[] = { "self","m_format", NULL };
af309447
RD
1894
1895 self = self;
f6bcfd97 1896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
af309447 1897 return NULL;
1d99702e
RD
1898 if (_argo0) {
1899 if (_argo0 == Py_None) { _arg0 = NULL; }
1900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
af309447
RD
1902 return NULL;
1903 }
1904 }
cf694132
RD
1905{
1906 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1907 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
cf694132
RD
1908
1909 wxPy_END_ALLOW_THREADS;
f6bcfd97 1910} _resultobj = Py_BuildValue("i",_result);
af309447
RD
1911 return _resultobj;
1912}
1913
f6bcfd97
BP
1914#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1915static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1916 PyObject * _resultobj;
f6bcfd97 1917 int _result;
8ab979d7 1918 wxListItem * _arg0;
1d99702e 1919 PyObject * _argo0 = 0;
efc5f224 1920 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1921
1922 self = self;
f6bcfd97 1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
8ab979d7 1924 return NULL;
1d99702e
RD
1925 if (_argo0) {
1926 if (_argo0 == Py_None) { _arg0 = NULL; }
1927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
8ab979d7
RD
1929 return NULL;
1930 }
1931 }
cf694132
RD
1932{
1933 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1934 _result = (int )wxListItem_m_format_get(_arg0);
cf694132
RD
1935
1936 wxPy_END_ALLOW_THREADS;
f6bcfd97 1937} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1938 return _resultobj;
1939}
1940
f6bcfd97
BP
1941#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1942static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 1943 PyObject * _resultobj;
f6bcfd97 1944 int _result;
af309447 1945 wxListItem * _arg0;
f6bcfd97 1946 int _arg1;
1d99702e 1947 PyObject * _argo0 = 0;
f6bcfd97 1948 char *_kwnames[] = { "self","m_width", NULL };
af309447
RD
1949
1950 self = self;
f6bcfd97 1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
af309447 1952 return NULL;
1d99702e
RD
1953 if (_argo0) {
1954 if (_argo0 == Py_None) { _arg0 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
af309447
RD
1957 return NULL;
1958 }
1959 }
cf694132
RD
1960{
1961 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1962 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
cf694132
RD
1963
1964 wxPy_END_ALLOW_THREADS;
f6bcfd97 1965} _resultobj = Py_BuildValue("i",_result);
af309447
RD
1966 return _resultobj;
1967}
1968
f6bcfd97
BP
1969#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1970static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1971 PyObject * _resultobj;
f6bcfd97 1972 int _result;
8ab979d7 1973 wxListItem * _arg0;
1d99702e 1974 PyObject * _argo0 = 0;
efc5f224 1975 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1976
1977 self = self;
f6bcfd97 1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
8ab979d7 1979 return NULL;
1d99702e
RD
1980 if (_argo0) {
1981 if (_argo0 == Py_None) { _arg0 = NULL; }
1982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
f6bcfd97 1983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
8ab979d7
RD
1984 return NULL;
1985 }
1986 }
cf694132
RD
1987{
1988 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1989 _result = (int )wxListItem_m_width_get(_arg0);
cf694132
RD
1990
1991 wxPy_END_ALLOW_THREADS;
f6bcfd97 1992} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1993 return _resultobj;
1994}
1995
c368d904
RD
1996static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
1997 wxListEvent *src;
1998 wxNotifyEvent *dest;
1999 src = (wxListEvent *) ptr;
2000 dest = (wxNotifyEvent *) src;
2001 return (void *) dest;
2002}
2003
f6bcfd97
BP
2004static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2005 wxListEvent *src;
2006 wxCommandEvent *dest;
2007 src = (wxListEvent *) ptr;
2008 dest = (wxCommandEvent *) src;
2009 return (void *) dest;
2010}
2011
2012static void *SwigwxListEventTowxEvent(void *ptr) {
2013 wxListEvent *src;
2014 wxEvent *dest;
2015 src = (wxListEvent *) ptr;
2016 dest = (wxEvent *) src;
2017 return (void *) dest;
2018}
2019
2020#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2021static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2022 PyObject * _resultobj;
f6bcfd97
BP
2023 int _result;
2024 wxListEvent * _arg0;
2025 int _arg1;
1d99702e 2026 PyObject * _argo0 = 0;
f6bcfd97 2027 char *_kwnames[] = { "self","m_code", NULL };
af309447
RD
2028
2029 self = self;
f6bcfd97 2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
af309447 2031 return NULL;
1d99702e
RD
2032 if (_argo0) {
2033 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
af309447
RD
2036 return NULL;
2037 }
2038 }
af309447 2039{
cf694132 2040 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2041 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
cf694132
RD
2042
2043 wxPy_END_ALLOW_THREADS;
f6bcfd97 2044} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2045 return _resultobj;
2046}
2047
f6bcfd97
BP
2048#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2049static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2050 PyObject * _resultobj;
f6bcfd97
BP
2051 int _result;
2052 wxListEvent * _arg0;
1d99702e 2053 PyObject * _argo0 = 0;
efc5f224 2054 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2055
2056 self = self;
f6bcfd97 2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
8ab979d7 2058 return NULL;
1d99702e
RD
2059 if (_argo0) {
2060 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
8ab979d7
RD
2063 return NULL;
2064 }
2065 }
8ab979d7 2066{
cf694132 2067 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2068 _result = (int )wxListEvent_m_code_get(_arg0);
cf694132
RD
2069
2070 wxPy_END_ALLOW_THREADS;
f6bcfd97 2071} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2072 return _resultobj;
2073}
2074
f6bcfd97
BP
2075#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2076static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2077 PyObject * _resultobj;
f6bcfd97
BP
2078 long _result;
2079 wxListEvent * _arg0;
2080 long _arg1;
1d99702e 2081 PyObject * _argo0 = 0;
f6bcfd97 2082 char *_kwnames[] = { "self","m_itemIndex", NULL };
af309447
RD
2083
2084 self = self;
f6bcfd97 2085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
af309447 2086 return NULL;
1d99702e
RD
2087 if (_argo0) {
2088 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
af309447
RD
2091 return NULL;
2092 }
2093 }
cf694132
RD
2094{
2095 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2096 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
cf694132
RD
2097
2098 wxPy_END_ALLOW_THREADS;
f6bcfd97 2099} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2100 return _resultobj;
2101}
2102
f6bcfd97
BP
2103#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2104static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2105 PyObject * _resultobj;
f6bcfd97
BP
2106 long _result;
2107 wxListEvent * _arg0;
1d99702e 2108 PyObject * _argo0 = 0;
efc5f224 2109 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2110
2111 self = self;
f6bcfd97 2112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
8ab979d7 2113 return NULL;
1d99702e
RD
2114 if (_argo0) {
2115 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
8ab979d7
RD
2118 return NULL;
2119 }
2120 }
cf694132
RD
2121{
2122 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2123 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
cf694132
RD
2124
2125 wxPy_END_ALLOW_THREADS;
f6bcfd97 2126} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2127 return _resultobj;
2128}
2129
f6bcfd97
BP
2130#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2131static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2132 PyObject * _resultobj;
2133 long _result;
f6bcfd97 2134 wxListEvent * _arg0;
af309447 2135 long _arg1;
1d99702e 2136 PyObject * _argo0 = 0;
f6bcfd97 2137 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
af309447
RD
2138
2139 self = self;
f6bcfd97 2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
af309447 2141 return NULL;
1d99702e
RD
2142 if (_argo0) {
2143 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
af309447
RD
2146 return NULL;
2147 }
2148 }
cf694132
RD
2149{
2150 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2151 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
cf694132
RD
2152
2153 wxPy_END_ALLOW_THREADS;
2154} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2155 return _resultobj;
2156}
2157
f6bcfd97
BP
2158#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2159static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2160 PyObject * _resultobj;
2161 long _result;
f6bcfd97 2162 wxListEvent * _arg0;
1d99702e 2163 PyObject * _argo0 = 0;
efc5f224 2164 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2165
2166 self = self;
f6bcfd97 2167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
8ab979d7 2168 return NULL;
1d99702e
RD
2169 if (_argo0) {
2170 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
8ab979d7
RD
2173 return NULL;
2174 }
2175 }
cf694132
RD
2176{
2177 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2178 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
cf694132
RD
2179
2180 wxPy_END_ALLOW_THREADS;
2181} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2182 return _resultobj;
2183}
2184
f6bcfd97
BP
2185#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2186static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2187 PyObject * _resultobj;
2188 int _result;
f6bcfd97 2189 wxListEvent * _arg0;
af309447 2190 int _arg1;
1d99702e 2191 PyObject * _argo0 = 0;
f6bcfd97 2192 char *_kwnames[] = { "self","m_col", NULL };
af309447
RD
2193
2194 self = self;
f6bcfd97 2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
af309447 2196 return NULL;
1d99702e
RD
2197 if (_argo0) {
2198 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
af309447
RD
2201 return NULL;
2202 }
2203 }
cf694132
RD
2204{
2205 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2206 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
cf694132
RD
2207
2208 wxPy_END_ALLOW_THREADS;
2209} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2210 return _resultobj;
2211}
2212
f6bcfd97
BP
2213#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2214static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2215 PyObject * _resultobj;
2216 int _result;
f6bcfd97 2217 wxListEvent * _arg0;
1d99702e 2218 PyObject * _argo0 = 0;
efc5f224 2219 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2220
2221 self = self;
f6bcfd97 2222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
8ab979d7 2223 return NULL;
1d99702e
RD
2224 if (_argo0) {
2225 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
8ab979d7
RD
2228 return NULL;
2229 }
2230 }
cf694132
RD
2231{
2232 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2233 _result = (int )wxListEvent_m_col_get(_arg0);
cf694132
RD
2234
2235 wxPy_END_ALLOW_THREADS;
2236} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2237 return _resultobj;
2238}
2239
f6bcfd97
BP
2240#define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2241static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2242 PyObject * _resultobj;
f6bcfd97
BP
2243 bool _result;
2244 wxListEvent * _arg0;
2245 bool _arg1;
1d99702e 2246 PyObject * _argo0 = 0;
f6bcfd97
BP
2247 int tempbool1;
2248 char *_kwnames[] = { "self","m_cancelled", NULL };
af309447
RD
2249
2250 self = self;
f6bcfd97 2251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1))
af309447 2252 return NULL;
1d99702e
RD
2253 if (_argo0) {
2254 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
af309447
RD
2257 return NULL;
2258 }
2259 }
f6bcfd97 2260 _arg1 = (bool ) tempbool1;
cf694132
RD
2261{
2262 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2263 _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1);
cf694132
RD
2264
2265 wxPy_END_ALLOW_THREADS;
2266} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2267 return _resultobj;
2268}
2269
f6bcfd97
BP
2270#define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2271static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2272 PyObject * _resultobj;
f6bcfd97
BP
2273 bool _result;
2274 wxListEvent * _arg0;
1d99702e 2275 PyObject * _argo0 = 0;
efc5f224 2276 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2277
2278 self = self;
f6bcfd97 2279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0))
8ab979d7 2280 return NULL;
1d99702e
RD
2281 if (_argo0) {
2282 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
8ab979d7
RD
2285 return NULL;
2286 }
2287 }
cf694132
RD
2288{
2289 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2290 _result = (bool )wxListEvent_m_cancelled_get(_arg0);
cf694132
RD
2291
2292 wxPy_END_ALLOW_THREADS;
2293} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2294 return _resultobj;
2295}
2296
f6bcfd97
BP
2297#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2298static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2299 PyObject * _resultobj;
f6bcfd97
BP
2300 wxPoint * _result;
2301 wxListEvent * _arg0;
2302 wxPoint * _arg1;
2303 PyObject * _argo0 = 0;
2304 wxPoint temp;
2305 PyObject * _obj1 = 0;
2306 char *_kwnames[] = { "self","m_pointDrag", NULL };
8ab979d7
RD
2307 char _ptemp[128];
2308
2309 self = self;
f6bcfd97
BP
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
2311 return NULL;
2312 if (_argo0) {
2313 if (_argo0 == Py_None) { _arg0 = NULL; }
2314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2316 return NULL;
2317 }
2318 }
2319{
2320 _arg1 = &temp;
2321 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 2322 return NULL;
f6bcfd97 2323}
cf694132
RD
2324{
2325 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2326 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
cf694132
RD
2327
2328 wxPy_END_ALLOW_THREADS;
1d99702e 2329} if (_result) {
f6bcfd97 2330 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1d99702e
RD
2331 _resultobj = Py_BuildValue("s",_ptemp);
2332 } else {
2333 Py_INCREF(Py_None);
2334 _resultobj = Py_None;
2335 }
8ab979d7
RD
2336 return _resultobj;
2337}
2338
f6bcfd97
BP
2339#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2340static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2341 PyObject * _resultobj;
f6bcfd97
BP
2342 wxPoint * _result;
2343 wxListEvent * _arg0;
1d99702e 2344 PyObject * _argo0 = 0;
efc5f224 2345 char *_kwnames[] = { "self", NULL };
f6bcfd97 2346 char _ptemp[128];
8ab979d7
RD
2347
2348 self = self;
f6bcfd97 2349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
8ab979d7 2350 return NULL;
1d99702e
RD
2351 if (_argo0) {
2352 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
2353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
8ab979d7
RD
2355 return NULL;
2356 }
2357 }
cf694132
RD
2358{
2359 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2360 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
cf694132
RD
2361
2362 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
2363} if (_result) {
2364 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2365 _resultobj = Py_BuildValue("s",_ptemp);
2366 } else {
2367 Py_INCREF(Py_None);
2368 _resultobj = Py_None;
2369 }
8ab979d7
RD
2370 return _resultobj;
2371}
2372
f6bcfd97
BP
2373#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2374static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject * _resultobj;
2376 wxListItem * _result;
2377 wxListEvent * _arg0;
2378 wxListItem * _arg1;
2379 PyObject * _argo0 = 0;
2380 PyObject * _argo1 = 0;
2381 char *_kwnames[] = { "self","m_item", NULL };
2382 char _ptemp[128];
8ab979d7 2383
f6bcfd97
BP
2384 self = self;
2385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
2386 return NULL;
2387 if (_argo0) {
2388 if (_argo0 == Py_None) { _arg0 = NULL; }
2389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2391 return NULL;
2392 }
2393 }
2394 if (_argo1) {
2395 if (_argo1 == Py_None) { _arg1 = NULL; }
2396 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2398 return NULL;
2399 }
2400 }
2401{
2402 wxPy_BEGIN_ALLOW_THREADS;
2403 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
2404
2405 wxPy_END_ALLOW_THREADS;
2406} if (_result) {
2407 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
2408 _resultobj = Py_BuildValue("s",_ptemp);
2409 } else {
2410 Py_INCREF(Py_None);
2411 _resultobj = Py_None;
2412 }
2413 return _resultobj;
8ab979d7
RD
2414}
2415
f6bcfd97
BP
2416#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2417static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2418 PyObject * _resultobj;
f6bcfd97 2419 wxListItem * _result;
af309447 2420 wxListEvent * _arg0;
1d99702e 2421 PyObject * _argo0 = 0;
f6bcfd97
BP
2422 char *_kwnames[] = { "self", NULL };
2423 char _ptemp[128];
af309447
RD
2424
2425 self = self;
f6bcfd97 2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
af309447 2427 return NULL;
1d99702e
RD
2428 if (_argo0) {
2429 if (_argo0 == Py_None) { _arg0 = NULL; }
2430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
af309447
RD
2432 return NULL;
2433 }
2434 }
cf694132
RD
2435{
2436 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2437 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
cf694132
RD
2438
2439 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
2440} if (_result) {
2441 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
2442 _resultobj = Py_BuildValue("s",_ptemp);
2443 } else {
2444 Py_INCREF(Py_None);
2445 _resultobj = Py_None;
2446 }
af309447
RD
2447 return _resultobj;
2448}
2449
f6bcfd97
BP
2450#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2451static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2452 PyObject * _resultobj;
2453 int _result;
2454 wxListEvent * _arg0;
1d99702e 2455 PyObject * _argo0 = 0;
efc5f224 2456 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2457
2458 self = self;
f6bcfd97 2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
8ab979d7 2460 return NULL;
1d99702e
RD
2461 if (_argo0) {
2462 if (_argo0 == Py_None) { _arg0 = NULL; }
2463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
8ab979d7
RD
2465 return NULL;
2466 }
2467 }
cf694132
RD
2468{
2469 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2470 _result = (int )wxListEvent_GetCode(_arg0);
cf694132
RD
2471
2472 wxPy_END_ALLOW_THREADS;
2473} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2474 return _resultobj;
2475}
2476
f6bcfd97
BP
2477#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2478static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2479 PyObject * _resultobj;
2480 long _result;
2481 wxListEvent * _arg0;
1d99702e 2482 PyObject * _argo0 = 0;
f6bcfd97 2483 char *_kwnames[] = { "self", NULL };
af309447
RD
2484
2485 self = self;
f6bcfd97 2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
af309447 2487 return NULL;
1d99702e
RD
2488 if (_argo0) {
2489 if (_argo0 == Py_None) { _arg0 = NULL; }
2490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
af309447
RD
2492 return NULL;
2493 }
2494 }
cf694132
RD
2495{
2496 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2497 _result = (long )wxListEvent_GetIndex(_arg0);
cf694132
RD
2498
2499 wxPy_END_ALLOW_THREADS;
2500} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2501 return _resultobj;
2502}
2503
f6bcfd97
BP
2504#define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2505static PyObject *_wrap_wxListEvent_GetOldIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2506 PyObject * _resultobj;
2507 long _result;
2508 wxListEvent * _arg0;
1d99702e 2509 PyObject * _argo0 = 0;
efc5f224 2510 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2511
2512 self = self;
f6bcfd97 2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldIndex",_kwnames,&_argo0))
8ab979d7 2514 return NULL;
1d99702e
RD
2515 if (_argo0) {
2516 if (_argo0 == Py_None) { _arg0 = NULL; }
2517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
8ab979d7
RD
2519 return NULL;
2520 }
2521 }
cf694132
RD
2522{
2523 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2524 _result = (long )wxListEvent_GetOldIndex(_arg0);
cf694132
RD
2525
2526 wxPy_END_ALLOW_THREADS;
2527} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2528 return _resultobj;
2529}
2530
f6bcfd97
BP
2531#define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2532static PyObject *_wrap_wxListEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
2533 PyObject * _resultobj;
2534 long _result;
2535 wxListEvent * _arg0;
1d99702e 2536 PyObject * _argo0 = 0;
f6bcfd97 2537 char *_kwnames[] = { "self", NULL };
af309447
RD
2538
2539 self = self;
f6bcfd97 2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldItem",_kwnames,&_argo0))
af309447 2541 return NULL;
1d99702e
RD
2542 if (_argo0) {
2543 if (_argo0 == Py_None) { _arg0 = NULL; }
2544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
af309447
RD
2546 return NULL;
2547 }
2548 }
cf694132
RD
2549{
2550 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2551 _result = (long )wxListEvent_GetOldItem(_arg0);
cf694132
RD
2552
2553 wxPy_END_ALLOW_THREADS;
2554} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2555 return _resultobj;
2556}
2557
f6bcfd97
BP
2558#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2559static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2560 PyObject * _resultobj;
f6bcfd97 2561 int _result;
8ab979d7 2562 wxListEvent * _arg0;
1d99702e 2563 PyObject * _argo0 = 0;
efc5f224 2564 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2565
2566 self = self;
f6bcfd97 2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
8ab979d7 2568 return NULL;
1d99702e
RD
2569 if (_argo0) {
2570 if (_argo0 == Py_None) { _arg0 = NULL; }
2571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
8ab979d7
RD
2573 return NULL;
2574 }
2575 }
cf694132
RD
2576{
2577 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2578 _result = (int )wxListEvent_GetColumn(_arg0);
cf694132
RD
2579
2580 wxPy_END_ALLOW_THREADS;
f6bcfd97 2581} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2582 return _resultobj;
2583}
2584
f6bcfd97
BP
2585#define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2586static PyObject *_wrap_wxListEvent_Cancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2587 PyObject * _resultobj;
f6bcfd97 2588 bool _result;
af309447 2589 wxListEvent * _arg0;
1d99702e 2590 PyObject * _argo0 = 0;
f6bcfd97 2591 char *_kwnames[] = { "self", NULL };
af309447
RD
2592
2593 self = self;
f6bcfd97 2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_Cancelled",_kwnames,&_argo0))
af309447 2595 return NULL;
1d99702e
RD
2596 if (_argo0) {
2597 if (_argo0 == Py_None) { _arg0 = NULL; }
2598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
af309447
RD
2600 return NULL;
2601 }
2602 }
cf694132
RD
2603{
2604 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2605 _result = (bool )wxListEvent_Cancelled(_arg0);
cf694132
RD
2606
2607 wxPy_END_ALLOW_THREADS;
2608} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2609 return _resultobj;
2610}
2611
f6bcfd97
BP
2612#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2613static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2614 PyObject * _resultobj;
f6bcfd97 2615 wxPoint * _result;
8ab979d7 2616 wxListEvent * _arg0;
1d99702e 2617 PyObject * _argo0 = 0;
efc5f224 2618 char *_kwnames[] = { "self", NULL };
f6bcfd97 2619 char _ptemp[128];
8ab979d7
RD
2620
2621 self = self;
f6bcfd97 2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 2623 return NULL;
1d99702e
RD
2624 if (_argo0) {
2625 if (_argo0 == Py_None) { _arg0 = NULL; }
2626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
8ab979d7
RD
2628 return NULL;
2629 }
2630 }
cf694132
RD
2631{
2632 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2633 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
cf694132
RD
2634
2635 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
2636} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2637 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
2638 return _resultobj;
2639}
2640
f6bcfd97
BP
2641#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2642static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2643 PyObject * _resultobj;
f6bcfd97 2644 wxString * _result;
af309447 2645 wxListEvent * _arg0;
1d99702e 2646 PyObject * _argo0 = 0;
f6bcfd97 2647 char *_kwnames[] = { "self", NULL };
af309447
RD
2648
2649 self = self;
f6bcfd97 2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
af309447 2651 return NULL;
1d99702e
RD
2652 if (_argo0) {
2653 if (_argo0 == Py_None) { _arg0 = NULL; }
2654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
af309447
RD
2656 return NULL;
2657 }
2658 }
cf694132
RD
2659{
2660 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97
BP
2661 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
2662 _result = (wxString *) &_result_ref;
cf694132
RD
2663
2664 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
2665}{
2666 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2667}
af309447
RD
2668 return _resultobj;
2669}
2670
f6bcfd97
BP
2671#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2672static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2673 PyObject * _resultobj;
f6bcfd97 2674 wxString * _result;
8ab979d7 2675 wxListEvent * _arg0;
1d99702e 2676 PyObject * _argo0 = 0;
efc5f224 2677 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2678
2679 self = self;
f6bcfd97 2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
8ab979d7 2681 return NULL;
1d99702e
RD
2682 if (_argo0) {
2683 if (_argo0 == Py_None) { _arg0 = NULL; }
2684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
8ab979d7
RD
2686 return NULL;
2687 }
2688 }
cf694132
RD
2689{
2690 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97
BP
2691 const wxString & _result_ref = wxListEvent_GetText(_arg0);
2692 _result = (wxString *) &_result_ref;
cf694132
RD
2693
2694 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
2695}{
2696 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2697}
8ab979d7
RD
2698 return _resultobj;
2699}
2700
f6bcfd97
BP
2701#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2702static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2703 PyObject * _resultobj;
f6bcfd97 2704 int _result;
af309447 2705 wxListEvent * _arg0;
1d99702e 2706 PyObject * _argo0 = 0;
f6bcfd97 2707 char *_kwnames[] = { "self", NULL };
af309447
RD
2708
2709 self = self;
f6bcfd97 2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
af309447 2711 return NULL;
1d99702e
RD
2712 if (_argo0) {
2713 if (_argo0 == Py_None) { _arg0 = NULL; }
2714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
af309447
RD
2716 return NULL;
2717 }
2718 }
cf694132
RD
2719{
2720 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2721 _result = (int )wxListEvent_GetImage(_arg0);
cf694132
RD
2722
2723 wxPy_END_ALLOW_THREADS;
f6bcfd97 2724} _resultobj = Py_BuildValue("i",_result);
af309447
RD
2725 return _resultobj;
2726}
2727
f6bcfd97
BP
2728#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2729static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2730 PyObject * _resultobj;
f6bcfd97 2731 long _result;
8ab979d7 2732 wxListEvent * _arg0;
1d99702e 2733 PyObject * _argo0 = 0;
efc5f224 2734 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2735
2736 self = self;
f6bcfd97 2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
8ab979d7 2738 return NULL;
1d99702e
RD
2739 if (_argo0) {
2740 if (_argo0 == Py_None) { _arg0 = NULL; }
2741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
8ab979d7
RD
2743 return NULL;
2744 }
2745 }
cf694132
RD
2746{
2747 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2748 _result = (long )wxListEvent_GetData(_arg0);
cf694132
RD
2749
2750 wxPy_END_ALLOW_THREADS;
f6bcfd97 2751} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2752 return _resultobj;
2753}
2754
f6bcfd97
BP
2755#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2756static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 2757 PyObject * _resultobj;
f6bcfd97 2758 long _result;
af309447 2759 wxListEvent * _arg0;
1d99702e 2760 PyObject * _argo0 = 0;
f6bcfd97 2761 char *_kwnames[] = { "self", NULL };
af309447
RD
2762
2763 self = self;
f6bcfd97 2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
af309447 2765 return NULL;
1d99702e
RD
2766 if (_argo0) {
2767 if (_argo0 == Py_None) { _arg0 = NULL; }
2768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
af309447
RD
2770 return NULL;
2771 }
2772 }
cf694132
RD
2773{
2774 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 2775 _result = (long )wxListEvent_GetMask(_arg0);
cf694132
RD
2776
2777 wxPy_END_ALLOW_THREADS;
f6bcfd97 2778} _resultobj = Py_BuildValue("l",_result);
af309447
RD
2779 return _resultobj;
2780}
2781
f6bcfd97
BP
2782#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2783static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2784 PyObject * _resultobj;
2785 wxListItem * _result;
2786 wxListEvent * _arg0;
1d99702e 2787 PyObject * _argo0 = 0;
efc5f224 2788 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2789 char _ptemp[128];
2790
2791 self = self;
f6bcfd97 2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
8ab979d7 2793 return NULL;
1d99702e
RD
2794 if (_argo0) {
2795 if (_argo0 == Py_None) { _arg0 = NULL; }
2796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
f6bcfd97 2797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
8ab979d7
RD
2798 return NULL;
2799 }
2800 }
cf694132
RD
2801{
2802 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97
BP
2803 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
2804 _result = (wxListItem *) &_result_ref;
cf694132
RD
2805
2806 wxPy_END_ALLOW_THREADS;
1d99702e
RD
2807} if (_result) {
2808 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
2809 _resultobj = Py_BuildValue("s",_ptemp);
2810 } else {
2811 Py_INCREF(Py_None);
2812 _resultobj = Py_None;
2813 }
8ab979d7
RD
2814 return _resultobj;
2815}
2816
2817static void *SwigwxListCtrlTowxControl(void *ptr) {
2818 wxListCtrl *src;
2819 wxControl *dest;
2820 src = (wxListCtrl *) ptr;
2821 dest = (wxControl *) src;
2822 return (void *) dest;
2823}
2824
2825static void *SwigwxListCtrlTowxWindow(void *ptr) {
2826 wxListCtrl *src;
2827 wxWindow *dest;
2828 src = (wxListCtrl *) ptr;
2829 dest = (wxWindow *) src;
2830 return (void *) dest;
2831}
2832
2833static void *SwigwxListCtrlTowxEvtHandler(void *ptr) {
2834 wxListCtrl *src;
2835 wxEvtHandler *dest;
2836 src = (wxListCtrl *) ptr;
2837 dest = (wxEvtHandler *) src;
2838 return (void *) dest;
2839}
2840
2841#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 2842static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2843 PyObject * _resultobj;
2844 wxListCtrl * _result;
2845 wxWindow * _arg0;
2846 wxWindowID _arg1;
b68dc582
RD
2847 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2848 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 2849 long _arg4 = (long ) wxLC_ICON;
b68dc582 2850 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
2851 char * _arg6 = (char *) "listCtrl";
2852 PyObject * _argo0 = 0;
2f90df85
RD
2853 wxPoint temp;
2854 PyObject * _obj2 = 0;
2855 wxSize temp0;
2856 PyObject * _obj3 = 0;
1d99702e 2857 PyObject * _argo5 = 0;
efc5f224 2858 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
2859 char _ptemp[128];
2860
2861 self = self;
2f90df85 2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 2863 return NULL;
1d99702e
RD
2864 if (_argo0) {
2865 if (_argo0 == Py_None) { _arg0 = NULL; }
2866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2868 return NULL;
2869 }
2870 }
2f90df85
RD
2871 if (_obj2)
2872{
2873 _arg2 = &temp;
2874 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2875 return NULL;
2f90df85
RD
2876}
2877 if (_obj3)
2878{
2879 _arg3 = &temp0;
2880 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2881 return NULL;
2f90df85 2882}
1d99702e
RD
2883 if (_argo5) {
2884 if (_argo5 == Py_None) { _arg5 = NULL; }
2885 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
2886 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2887 return NULL;
2888 }
2889 }
cf694132
RD
2890{
2891 wxPy_BEGIN_ALLOW_THREADS;
2892 _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
2893
2894 wxPy_END_ALLOW_THREADS;
1d99702e
RD
2895} if (_result) {
2896 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p");
2897 _resultobj = Py_BuildValue("s",_ptemp);
2898 } else {
2899 Py_INCREF(Py_None);
2900 _resultobj = Py_None;
2901 }
8ab979d7
RD
2902 return _resultobj;
2903}
2904
2905#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
efc5f224 2906static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2907 PyObject * _resultobj;
2908 bool _result;
2909 wxListCtrl * _arg0;
1d99702e
RD
2910 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
2911 PyObject * _argo0 = 0;
efc5f224 2912 char *_kwnames[] = { "self","flag", NULL };
8ab979d7
RD
2913
2914 self = self;
efc5f224 2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
8ab979d7 2916 return NULL;
1d99702e
RD
2917 if (_argo0) {
2918 if (_argo0 == Py_None) { _arg0 = NULL; }
2919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2921 return NULL;
2922 }
2923 }
cf694132
RD
2924{
2925 wxPy_BEGIN_ALLOW_THREADS;
2926 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
2927
2928 wxPy_END_ALLOW_THREADS;
2929} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2930 return _resultobj;
2931}
2932
2933#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
efc5f224 2934static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2935 PyObject * _resultobj;
2936 bool _result;
2937 wxListCtrl * _arg0;
2938 long _arg1;
1d99702e 2939 PyObject * _argo0 = 0;
efc5f224 2940 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
2941
2942 self = self;
efc5f224 2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
8ab979d7 2944 return NULL;
1d99702e
RD
2945 if (_argo0) {
2946 if (_argo0 == Py_None) { _arg0 = NULL; }
2947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2949 return NULL;
2950 }
2951 }
cf694132
RD
2952{
2953 wxPy_BEGIN_ALLOW_THREADS;
2954 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
2955
2956 wxPy_END_ALLOW_THREADS;
2957} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2958 return _resultobj;
2959}
2960
2961#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 2962static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2963 PyObject * _resultobj;
2964 bool _result;
2965 wxListCtrl * _arg0;
1d99702e 2966 PyObject * _argo0 = 0;
efc5f224 2967 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2968
2969 self = self;
efc5f224 2970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
8ab979d7 2971 return NULL;
1d99702e
RD
2972 if (_argo0) {
2973 if (_argo0 == Py_None) { _arg0 = NULL; }
2974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
2975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
2976 return NULL;
2977 }
2978 }
cf694132
RD
2979{
2980 wxPy_BEGIN_ALLOW_THREADS;
2981 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
2982
2983 wxPy_END_ALLOW_THREADS;
2984} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2985 return _resultobj;
2986}
2987
2988#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
efc5f224 2989static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2990 PyObject * _resultobj;
2991 bool _result;
2992 wxListCtrl * _arg0;
2993 int _arg1;
1d99702e 2994 PyObject * _argo0 = 0;
efc5f224 2995 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
2996
2997 self = self;
efc5f224 2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
8ab979d7 2999 return NULL;
1d99702e
RD
3000 if (_argo0) {
3001 if (_argo0 == Py_None) { _arg0 = NULL; }
3002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
3004 return NULL;
3005 }
3006 }
cf694132
RD
3007{
3008 wxPy_BEGIN_ALLOW_THREADS;
3009 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
3010
3011 wxPy_END_ALLOW_THREADS;
3012} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3013 return _resultobj;
3014}
3015
3016#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
efc5f224 3017static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3018 PyObject * _resultobj;
3019 bool _result;
3020 wxListCtrl * _arg0;
1d99702e 3021 PyObject * _argo0 = 0;
efc5f224 3022 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3023
3024 self = self;
efc5f224 3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
8ab979d7 3026 return NULL;
1d99702e
RD
3027 if (_argo0) {
3028 if (_argo0 == Py_None) { _arg0 = NULL; }
3029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3031 return NULL;
3032 }
3033 }
cf694132
RD
3034{
3035 wxPy_BEGIN_ALLOW_THREADS;
3036 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
3037
3038 wxPy_END_ALLOW_THREADS;
3039} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3040 return _resultobj;
3041}
3042
3043#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
efc5f224 3044static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3045 PyObject * _resultobj;
3046 wxListCtrl * _arg0;
1d99702e 3047 PyObject * _argo0 = 0;
efc5f224 3048 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3049
3050 self = self;
efc5f224 3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
8ab979d7 3052 return NULL;
1d99702e
RD
3053 if (_argo0) {
3054 if (_argo0 == Py_None) { _arg0 = NULL; }
3055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3057 return NULL;
3058 }
3059 }
cf694132
RD
3060{
3061 wxPy_BEGIN_ALLOW_THREADS;
3062 wxListCtrl_ClearAll(_arg0);
3063
3064 wxPy_END_ALLOW_THREADS;
3065} Py_INCREF(Py_None);
8ab979d7
RD
3066 _resultobj = Py_None;
3067 return _resultobj;
3068}
3069
3070#define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 3071static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3072 PyObject * _resultobj;
8ab979d7
RD
3073 wxListCtrl * _arg0;
3074 long _arg1;
1d99702e 3075 PyObject * _argo0 = 0;
efc5f224 3076 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3077
3078 self = self;
efc5f224 3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
8ab979d7 3080 return NULL;
1d99702e
RD
3081 if (_argo0) {
3082 if (_argo0 == Py_None) { _arg0 = NULL; }
3083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3085 return NULL;
3086 }
3087 }
cf694132
RD
3088{
3089 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 3090 wxListCtrl_EditLabel(_arg0,_arg1);
cf694132
RD
3091
3092 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
3093} Py_INCREF(Py_None);
3094 _resultobj = Py_None;
be4d9c1f
RD
3095 return _resultobj;
3096}
3097
8ab979d7 3098#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 3099static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3100 PyObject * _resultobj;
3101 bool _result;
3102 wxListCtrl * _arg0;
3103 long _arg1;
1d99702e 3104 PyObject * _argo0 = 0;
efc5f224 3105 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3106
3107 self = self;
efc5f224 3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
8ab979d7 3109 return NULL;
1d99702e
RD
3110 if (_argo0) {
3111 if (_argo0 == Py_None) { _arg0 = NULL; }
3112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3114 return NULL;
3115 }
3116 }
cf694132
RD
3117{
3118 wxPy_BEGIN_ALLOW_THREADS;
3119 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
3120
3121 wxPy_END_ALLOW_THREADS;
3122} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3123 return _resultobj;
3124}
3125
3126#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3127static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3128 PyObject * _resultobj;
3129 long _result;
3130 wxListCtrl * _arg0;
3131 long _arg1;
3132 wxString * _arg2;
1d99702e
RD
3133 bool _arg3 = (bool ) FALSE;
3134 PyObject * _argo0 = 0;
8ab979d7 3135 PyObject * _obj2 = 0;
1d99702e 3136 int tempbool3 = (int) FALSE;
efc5f224 3137 char *_kwnames[] = { "self","start","str","partial", NULL };
8ab979d7
RD
3138
3139 self = self;
efc5f224 3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
8ab979d7 3141 return NULL;
1d99702e
RD
3142 if (_argo0) {
3143 if (_argo0 == Py_None) { _arg0 = NULL; }
3144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3146 return NULL;
3147 }
3148 }
3149{
2cd2fac8
RD
3150#if PYTHON_API_VERSION >= 1009
3151 char* tmpPtr; int tmpSize;
3152 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3153 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3154 return NULL;
3155 }
3156 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3157 return NULL;
3158 _arg2 = new wxString(tmpPtr, tmpSize);
3159#else
8ab979d7
RD
3160 if (!PyString_Check(_obj2)) {
3161 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3162 return NULL;
3163 }
2cd2fac8
RD
3164 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3165#endif
8ab979d7
RD
3166}
3167 _arg3 = (bool ) tempbool3;
cf694132
RD
3168{
3169 wxPy_BEGIN_ALLOW_THREADS;
3170 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
3171
3172 wxPy_END_ALLOW_THREADS;
3173} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3174{
3175 if (_obj2)
3176 delete _arg2;
3177}
3178 return _resultobj;
3179}
3180
3181#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
efc5f224 3182static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3183 PyObject * _resultobj;
3184 long _result;
3185 wxListCtrl * _arg0;
3186 long _arg1;
3187 long _arg2;
1d99702e 3188 PyObject * _argo0 = 0;
efc5f224 3189 char *_kwnames[] = { "self","start","data", NULL };
8ab979d7
RD
3190
3191 self = self;
efc5f224 3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3193 return NULL;
1d99702e
RD
3194 if (_argo0) {
3195 if (_argo0 == Py_None) { _arg0 = NULL; }
3196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3198 return NULL;
3199 }
3200 }
cf694132
RD
3201{
3202 wxPy_BEGIN_ALLOW_THREADS;
3203 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
3204
3205 wxPy_END_ALLOW_THREADS;
3206} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3207 return _resultobj;
3208}
3209
3210#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3211static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3212 PyObject * _resultobj;
3213 long _result;
3214 wxListCtrl * _arg0;
3215 long _arg1;
3216 wxPoint * _arg2;
3217 int _arg3;
1d99702e 3218 PyObject * _argo0 = 0;
2f90df85
RD
3219 wxPoint temp;
3220 PyObject * _obj2 = 0;
efc5f224 3221 char *_kwnames[] = { "self","start","pt","direction", NULL };
8ab979d7
RD
3222
3223 self = self;
2f90df85 3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 3225 return NULL;
1d99702e
RD
3226 if (_argo0) {
3227 if (_argo0 == Py_None) { _arg0 = NULL; }
3228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3230 return NULL;
3231 }
3232 }
2f90df85
RD
3233{
3234 _arg2 = &temp;
3235 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 3236 return NULL;
2f90df85 3237}
cf694132
RD
3238{
3239 wxPy_BEGIN_ALLOW_THREADS;
3240 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
3241
3242 wxPy_END_ALLOW_THREADS;
3243} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3244 return _resultobj;
3245}
3246
3247#define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
efc5f224 3248static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3249 PyObject * _resultobj;
3250 bool _result;
3251 wxListCtrl * _arg0;
3252 int _arg1;
3253 wxListItem * _arg2;
1d99702e
RD
3254 PyObject * _argo0 = 0;
3255 PyObject * _argo2 = 0;
efc5f224 3256 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
3257
3258 self = self;
efc5f224 3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3260 return NULL;
1d99702e
RD
3261 if (_argo0) {
3262 if (_argo0 == Py_None) { _arg0 = NULL; }
3263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3265 return NULL;
3266 }
3267 }
1d99702e
RD
3268 if (_argo2) {
3269 if (_argo2 == Py_None) { _arg2 = NULL; }
3270 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
8ab979d7
RD
3271 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3272 return NULL;
3273 }
3274 }
cf694132
RD
3275{
3276 wxPy_BEGIN_ALLOW_THREADS;
3277 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
3278
3279 wxPy_END_ALLOW_THREADS;
3280} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3281 return _resultobj;
3282}
3283
3284#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
efc5f224 3285static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3286 PyObject * _resultobj;
3287 int _result;
3288 wxListCtrl * _arg0;
3289 int _arg1;
1d99702e 3290 PyObject * _argo0 = 0;
efc5f224 3291 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
3292
3293 self = self;
efc5f224 3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3295 return NULL;
1d99702e
RD
3296 if (_argo0) {
3297 if (_argo0 == Py_None) { _arg0 = NULL; }
3298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3300 return NULL;
3301 }
3302 }
cf694132
RD
3303{
3304 wxPy_BEGIN_ALLOW_THREADS;
3305 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
3306
3307 wxPy_END_ALLOW_THREADS;
3308} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3309 return _resultobj;
3310}
3311
3312#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
efc5f224 3313static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3314 PyObject * _resultobj;
3315 int _result;
3316 wxListCtrl * _arg0;
1d99702e 3317 PyObject * _argo0 = 0;
efc5f224 3318 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3319
3320 self = self;
efc5f224 3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
8ab979d7 3322 return NULL;
1d99702e
RD
3323 if (_argo0) {
3324 if (_argo0 == Py_None) { _arg0 = NULL; }
3325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3327 return NULL;
3328 }
3329 }
cf694132
RD
3330{
3331 wxPy_BEGIN_ALLOW_THREADS;
3332 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
3333
3334 wxPy_END_ALLOW_THREADS;
3335} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3336 return _resultobj;
3337}
3338
3339#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
efc5f224 3340static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3341 PyObject * _resultobj;
3342 wxImageList * _result;
3343 wxListCtrl * _arg0;
3344 int _arg1;
1d99702e 3345 PyObject * _argo0 = 0;
efc5f224 3346 char *_kwnames[] = { "self","which", NULL };
8ab979d7
RD
3347 char _ptemp[128];
3348
3349 self = self;
efc5f224 3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
8ab979d7 3351 return NULL;
1d99702e
RD
3352 if (_argo0) {
3353 if (_argo0 == Py_None) { _arg0 = NULL; }
3354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3356 return NULL;
3357 }
3358 }
cf694132
RD
3359{
3360 wxPy_BEGIN_ALLOW_THREADS;
3361 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
3362
3363 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3364} if (_result) {
3365 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3366 _resultobj = Py_BuildValue("s",_ptemp);
3367 } else {
3368 Py_INCREF(Py_None);
3369 _resultobj = Py_None;
3370 }
8ab979d7
RD
3371 return _resultobj;
3372}
3373
3374#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
efc5f224 3375static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3376 PyObject * _resultobj;
3377 long _result;
3378 wxListCtrl * _arg0;
3379 long _arg1;
1d99702e 3380 PyObject * _argo0 = 0;
efc5f224 3381 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3382
3383 self = self;
efc5f224 3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
8ab979d7 3385 return NULL;
1d99702e
RD
3386 if (_argo0) {
3387 if (_argo0 == Py_None) { _arg0 = NULL; }
3388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3390 return NULL;
3391 }
3392 }
cf694132
RD
3393{
3394 wxPy_BEGIN_ALLOW_THREADS;
3395 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
3396
3397 wxPy_END_ALLOW_THREADS;
3398} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3399 return _resultobj;
3400}
3401
e166644c 3402static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId,int col) {
8ab979d7 3403 wxListItem* info = new wxListItem;
0699c864 3404 info->m_itemId = itemId;
e166644c 3405 info->m_col = col;
f17fee68 3406 info->m_mask = 0xFFFF;
8ab979d7
RD
3407 self->GetItem(*info);
3408 return info;
3409 }
efc5f224 3410static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3411 PyObject * _resultobj;
3412 wxListItem * _result;
3413 wxListCtrl * _arg0;
0699c864 3414 long _arg1;
e166644c 3415 int _arg2 = (int ) 0;
1d99702e 3416 PyObject * _argo0 = 0;
e166644c 3417 char *_kwnames[] = { "self","itemId","col", NULL };
8ab979d7
RD
3418 char _ptemp[128];
3419
3420 self = self;
e166644c 3421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3422 return NULL;
1d99702e
RD
3423 if (_argo0) {
3424 if (_argo0 == Py_None) { _arg0 = NULL; }
3425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3427 return NULL;
3428 }
3429 }
cf694132
RD
3430{
3431 wxPy_BEGIN_ALLOW_THREADS;
e166644c 3432 _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1,_arg2);
cf694132
RD
3433
3434 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3435} if (_result) {
3436 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
3437 _resultobj = Py_BuildValue("s",_ptemp);
3438 } else {
3439 Py_INCREF(Py_None);
3440 _resultobj = Py_None;
3441 }
8ab979d7
RD
3442 return _resultobj;
3443}
3444
3445static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
3446 wxPoint* pos = new wxPoint;
3447 self->GetItemPosition(item, *pos);
3448 return pos;
3449 }
efc5f224 3450static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3451 PyObject * _resultobj;
3452 wxPoint * _result;
3453 wxListCtrl * _arg0;
3454 long _arg1;
1d99702e 3455 PyObject * _argo0 = 0;
efc5f224 3456 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3457 char _ptemp[128];
3458
3459 self = self;
efc5f224 3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 3461 return NULL;
1d99702e
RD
3462 if (_argo0) {
3463 if (_argo0 == Py_None) { _arg0 = NULL; }
3464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3466 return NULL;
3467 }
3468 }
cf694132
RD
3469{
3470 wxPy_BEGIN_ALLOW_THREADS;
3471 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
3472
3473 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3474} if (_result) {
3475 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3476 _resultobj = Py_BuildValue("s",_ptemp);
3477 } else {
3478 Py_INCREF(Py_None);
3479 _resultobj = Py_None;
3480 }
8ab979d7
RD
3481 return _resultobj;
3482}
3483
3484static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
3485 wxRect* rect= new wxRect;
3486 self->GetItemRect(item, *rect, code);
3487 return rect;
3488 }
efc5f224 3489static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3490 PyObject * _resultobj;
3491 wxRect * _result;
3492 wxListCtrl * _arg0;
3493 long _arg1;
1d99702e
RD
3494 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3495 PyObject * _argo0 = 0;
efc5f224 3496 char *_kwnames[] = { "self","item","code", NULL };
8ab979d7
RD
3497 char _ptemp[128];
3498
3499 self = self;
efc5f224 3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3501 return NULL;
1d99702e
RD
3502 if (_argo0) {
3503 if (_argo0 == Py_None) { _arg0 = NULL; }
3504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3506 return NULL;
3507 }
3508 }
cf694132
RD
3509{
3510 wxPy_BEGIN_ALLOW_THREADS;
3511 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
3512
3513 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3514} if (_result) {
3515 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3516 _resultobj = Py_BuildValue("s",_ptemp);
3517 } else {
3518 Py_INCREF(Py_None);
3519 _resultobj = Py_None;
3520 }
8ab979d7
RD
3521 return _resultobj;
3522}
3523
3524#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
efc5f224 3525static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3526 PyObject * _resultobj;
3527 int _result;
3528 wxListCtrl * _arg0;
3529 long _arg1;
3530 long _arg2;
1d99702e 3531 PyObject * _argo0 = 0;
efc5f224 3532 char *_kwnames[] = { "self","item","stateMask", NULL };
8ab979d7
RD
3533
3534 self = self;
efc5f224 3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3536 return NULL;
1d99702e
RD
3537 if (_argo0) {
3538 if (_argo0 == Py_None) { _arg0 = NULL; }
3539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3541 return NULL;
3542 }
3543 }
cf694132
RD
3544{
3545 wxPy_BEGIN_ALLOW_THREADS;
3546 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
3547
3548 wxPy_END_ALLOW_THREADS;
3549} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3550 return _resultobj;
3551}
3552
3553#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
efc5f224 3554static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3555 PyObject * _resultobj;
3556 int _result;
3557 wxListCtrl * _arg0;
1d99702e 3558 PyObject * _argo0 = 0;
efc5f224 3559 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3560
3561 self = self;
efc5f224 3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
8ab979d7 3563 return NULL;
1d99702e
RD
3564 if (_argo0) {
3565 if (_argo0 == Py_None) { _arg0 = NULL; }
3566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3568 return NULL;
3569 }
3570 }
cf694132
RD
3571{
3572 wxPy_BEGIN_ALLOW_THREADS;
3573 _result = (int )wxListCtrl_GetItemCount(_arg0);
3574
3575 wxPy_END_ALLOW_THREADS;
3576} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3577 return _resultobj;
3578}
3579
3580#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
efc5f224 3581static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3582 PyObject * _resultobj;
3583 int _result;
3584 wxListCtrl * _arg0;
3585 bool _arg1;
1d99702e 3586 PyObject * _argo0 = 0;
8ab979d7 3587 int tempbool1;
efc5f224 3588 char *_kwnames[] = { "self","isSmall", NULL };
8ab979d7
RD
3589
3590 self = self;
efc5f224 3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
8ab979d7 3592 return NULL;
1d99702e
RD
3593 if (_argo0) {
3594 if (_argo0 == Py_None) { _arg0 = NULL; }
3595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3597 return NULL;
3598 }
3599 }
3600 _arg1 = (bool ) tempbool1;
cf694132
RD
3601{
3602 wxPy_BEGIN_ALLOW_THREADS;
3603 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
3604
3605 wxPy_END_ALLOW_THREADS;
3606} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3607 return _resultobj;
3608}
3609
3610#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 3611static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3612 PyObject * _resultobj;
3613 wxString * _result;
3614 wxListCtrl * _arg0;
3615 long _arg1;
1d99702e 3616 PyObject * _argo0 = 0;
efc5f224 3617 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
3618
3619 self = self;
efc5f224 3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
8ab979d7 3621 return NULL;
1d99702e
RD
3622 if (_argo0) {
3623 if (_argo0 == Py_None) { _arg0 = NULL; }
3624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3626 return NULL;
3627 }
3628 }
8ab979d7 3629{
cf694132
RD
3630 wxPy_BEGIN_ALLOW_THREADS;
3631 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
3632
3633 wxPy_END_ALLOW_THREADS;
3634}{
eec92d76 3635 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
3636}
3637{
3638 delete _result;
3639}
3640 return _resultobj;
3641}
3642
3643#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3644static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3645 PyObject * _resultobj;
3646 long _result;
3647 wxListCtrl * _arg0;
3648 long _arg1;
1d99702e
RD
3649 int _arg2 = (int ) (wxLIST_NEXT_ALL);
3650 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
3651 PyObject * _argo0 = 0;
efc5f224 3652 char *_kwnames[] = { "self","item","geometry","state", NULL };
8ab979d7
RD
3653
3654 self = self;
efc5f224 3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 3656 return NULL;
1d99702e
RD
3657 if (_argo0) {
3658 if (_argo0 == Py_None) { _arg0 = NULL; }
3659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3661 return NULL;
3662 }
3663 }
cf694132
RD
3664{
3665 wxPy_BEGIN_ALLOW_THREADS;
3666 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
3667
3668 wxPy_END_ALLOW_THREADS;
3669} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3670 return _resultobj;
3671}
3672
3673#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
efc5f224 3674static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3675 PyObject * _resultobj;
3676 int _result;
3677 wxListCtrl * _arg0;
1d99702e 3678 PyObject * _argo0 = 0;
efc5f224 3679 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3680
3681 self = self;
efc5f224 3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
8ab979d7 3683 return NULL;
1d99702e
RD
3684 if (_argo0) {
3685 if (_argo0 == Py_None) { _arg0 = NULL; }
3686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3688 return NULL;
3689 }
3690 }
cf694132
RD
3691{
3692 wxPy_BEGIN_ALLOW_THREADS;
3693 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
3694
3695 wxPy_END_ALLOW_THREADS;
3696} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3697 return _resultobj;
3698}
3699
8ab979d7 3700#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
efc5f224 3701static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3702 PyObject * _resultobj;
3703 long _result;
3704 wxListCtrl * _arg0;
1d99702e 3705 PyObject * _argo0 = 0;
efc5f224 3706 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3707
3708 self = self;
efc5f224 3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
8ab979d7 3710 return NULL;
1d99702e
RD
3711 if (_argo0) {
3712 if (_argo0 == Py_None) { _arg0 = NULL; }
3713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3715 return NULL;
3716 }
3717 }
cf694132
RD
3718{
3719 wxPy_BEGIN_ALLOW_THREADS;
3720 _result = (long )wxListCtrl_GetTopItem(_arg0);
3721
3722 wxPy_END_ALLOW_THREADS;
3723} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3724 return _resultobj;
3725}
3726
3727#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 3728static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3729 PyObject * _resultobj;
3730 long _result;
3731 wxListCtrl * _arg0;
3732 wxPoint * _arg1;
3733 int * _arg2;
3734 int temp;
1d99702e 3735 PyObject * _argo0 = 0;
2f90df85
RD
3736 wxPoint temp0;
3737 PyObject * _obj1 = 0;
efc5f224 3738 char *_kwnames[] = { "self","point", NULL };
8ab979d7
RD
3739
3740 self = self;
3741{
3742 _arg2 = &temp;
3743}
2f90df85 3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
8ab979d7 3745 return NULL;
1d99702e
RD
3746 if (_argo0) {
3747 if (_argo0 == Py_None) { _arg0 = NULL; }
3748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3750 return NULL;
3751 }
3752 }
2f90df85
RD
3753{
3754 _arg1 = &temp0;
3755 if (! wxPoint_helper(_obj1, &_arg1))
8ab979d7 3756 return NULL;
2f90df85 3757}
cf694132
RD
3758{
3759 wxPy_BEGIN_ALLOW_THREADS;
3760 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
3761
3762 wxPy_END_ALLOW_THREADS;
3763} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3764{
3765 PyObject *o;
3766 o = PyInt_FromLong((long) (*_arg2));
3767 _resultobj = t_output_helper(_resultobj, o);
3768}
3769 return _resultobj;
3770}
3771
c368d904
RD
3772#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3773static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3774 PyObject * _resultobj;
3775 long _result;
3776 wxListCtrl * _arg0;
3777 long _arg1;
3778 wxListItem * _arg2;
1d99702e
RD
3779 PyObject * _argo0 = 0;
3780 PyObject * _argo2 = 0;
efc5f224 3781 char *_kwnames[] = { "self","col","info", NULL };
8ab979d7
RD
3782
3783 self = self;
c368d904 3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 3785 return NULL;
1d99702e
RD
3786 if (_argo0) {
3787 if (_argo0 == Py_None) { _arg0 = NULL; }
3788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
c368d904 3789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
8ab979d7
RD
3790 return NULL;
3791 }
3792 }
1d99702e
RD
3793 if (_argo2) {
3794 if (_argo2 == Py_None) { _arg2 = NULL; }
3795 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
c368d904 3796 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
8ab979d7
RD
3797 return NULL;
3798 }
3799 }
cf694132
RD
3800{
3801 wxPy_BEGIN_ALLOW_THREADS;
c368d904 3802 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
cf694132
RD
3803
3804 wxPy_END_ALLOW_THREADS;
3805} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3806 return _resultobj;
3807}
3808
3809#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 3810static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3811 PyObject * _resultobj;
3812 long _result;
3813 wxListCtrl * _arg0;
3814 long _arg1;
3815 wxString * _arg2;
1d99702e
RD
3816 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
3817 int _arg4 = (int ) -1;
3818 PyObject * _argo0 = 0;
8ab979d7 3819 PyObject * _obj2 = 0;
efc5f224 3820 char *_kwnames[] = { "self","col","heading","format","width", NULL };
8ab979d7
RD
3821
3822 self = self;
efc5f224 3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
8ab979d7 3824 return NULL;
1d99702e
RD
3825 if (_argo0) {
3826 if (_argo0 == Py_None) { _arg0 = NULL; }
3827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
3829 return NULL;
3830 }
3831 }
3832{
2cd2fac8
RD
3833#if PYTHON_API_VERSION >= 1009
3834 char* tmpPtr; int tmpSize;
3835 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3836 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3837 return NULL;
3838 }
3839 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3840 return NULL;
3841 _arg2 = new wxString(tmpPtr, tmpSize);
3842#else
8ab979d7
RD
3843 if (!PyString_Check(_obj2)) {
3844 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3845 return NULL;
3846 }
2cd2fac8
RD
3847 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3848#endif
8ab979d7 3849}
cf694132
RD
3850{
3851 wxPy_BEGIN_ALLOW_THREADS;
3852 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
3853
3854 wxPy_END_ALLOW_THREADS;
3855} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3856{
3857 if (_obj2)
3858 delete _arg2;
3859}
3860 return _resultobj;
3861}
3862
3863#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
efc5f224 3864static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3865 PyObject * _resultobj;
3866 long _result;
3867 wxListCtrl * _arg0;
3868 wxListItem * _arg1;
1d99702e
RD
3869 PyObject * _argo0 = 0;
3870 PyObject * _argo1 = 0;
efc5f224 3871 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
3872
3873 self = self;
efc5f224 3874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
8ab979d7 3875 return NULL;
1d99702e
RD
3876 if (_argo0) {
3877 if (_argo0 == Py_None) { _arg0 = NULL; }
3878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
3880 return NULL;
3881 }
3882 }
1d99702e
RD
3883 if (_argo1) {
3884 if (_argo1 == Py_None) { _arg1 = NULL; }
3885 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
8ab979d7
RD
3886 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
3887 return NULL;
3888 }
3889 }
cf694132
RD
3890{
3891 wxPy_BEGIN_ALLOW_THREADS;
3892 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
3893
3894 wxPy_END_ALLOW_THREADS;
3895} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3896 return _resultobj;
3897}
3898
3899#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
efc5f224 3900static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3901 PyObject * _resultobj;
3902 long _result;
3903 wxListCtrl * _arg0;
3904 long _arg1;
3905 wxString * _arg2;
1d99702e 3906 PyObject * _argo0 = 0;
8ab979d7 3907 PyObject * _obj2 = 0;
efc5f224 3908 char *_kwnames[] = { "self","index","label", NULL };
8ab979d7
RD
3909
3910 self = self;
efc5f224 3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3912 return NULL;
1d99702e
RD
3913 if (_argo0) {
3914 if (_argo0 == Py_None) { _arg0 = NULL; }
3915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
3917 return NULL;
3918 }
3919 }
3920{
2cd2fac8
RD
3921#if PYTHON_API_VERSION >= 1009
3922 char* tmpPtr; int tmpSize;
3923 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3924 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3925 return NULL;
3926 }
3927 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3928 return NULL;
3929 _arg2 = new wxString(tmpPtr, tmpSize);
3930#else
8ab979d7
RD
3931 if (!PyString_Check(_obj2)) {
3932 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3933 return NULL;
3934 }
2cd2fac8
RD
3935 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3936#endif
8ab979d7 3937}
cf694132
RD
3938{
3939 wxPy_BEGIN_ALLOW_THREADS;
3940 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
3941
3942 wxPy_END_ALLOW_THREADS;
3943} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3944{
3945 if (_obj2)
3946 delete _arg2;
3947}
3948 return _resultobj;
3949}
3950
3951#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
efc5f224 3952static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3953 PyObject * _resultobj;
3954 long _result;
3955 wxListCtrl * _arg0;
3956 long _arg1;
3957 int _arg2;
1d99702e 3958 PyObject * _argo0 = 0;
efc5f224 3959 char *_kwnames[] = { "self","index","imageIndex", NULL };
8ab979d7
RD
3960
3961 self = self;
efc5f224 3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3963 return NULL;
1d99702e
RD
3964 if (_argo0) {
3965 if (_argo0 == Py_None) { _arg0 = NULL; }
3966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
3968 return NULL;
3969 }
3970 }
cf694132
RD
3971{
3972 wxPy_BEGIN_ALLOW_THREADS;
3973 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
3974
3975 wxPy_END_ALLOW_THREADS;
3976} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3977 return _resultobj;
3978}
3979
3980#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3981static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3982 PyObject * _resultobj;
3983 long _result;
3984 wxListCtrl * _arg0;
3985 long _arg1;
3986 wxString * _arg2;
3987 int _arg3;
1d99702e 3988 PyObject * _argo0 = 0;
8ab979d7 3989 PyObject * _obj2 = 0;
efc5f224 3990 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
8ab979d7
RD
3991
3992 self = self;
efc5f224 3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
8ab979d7 3994 return NULL;
1d99702e
RD
3995 if (_argo0) {
3996 if (_argo0 == Py_None) { _arg0 = NULL; }
3997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
3998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
3999 return NULL;
4000 }
4001 }
4002{
2cd2fac8
RD
4003#if PYTHON_API_VERSION >= 1009
4004 char* tmpPtr; int tmpSize;
4005 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4006 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4007 return NULL;
4008 }
4009 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4010 return NULL;
4011 _arg2 = new wxString(tmpPtr, tmpSize);
4012#else
8ab979d7
RD
4013 if (!PyString_Check(_obj2)) {
4014 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4015 return NULL;
4016 }
2cd2fac8
RD
4017 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4018#endif
8ab979d7 4019}
cf694132
RD
4020{
4021 wxPy_BEGIN_ALLOW_THREADS;
4022 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
4023
4024 wxPy_END_ALLOW_THREADS;
4025} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4026{
4027 if (_obj2)
4028 delete _arg2;
4029}
4030 return _resultobj;
4031}
4032
4033#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
efc5f224 4034static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4035 PyObject * _resultobj;
4036 bool _result;
4037 wxListCtrl * _arg0;
4038 int _arg1;
4039 int _arg2;
1d99702e 4040 PyObject * _argo0 = 0;
efc5f224 4041 char *_kwnames[] = { "self","dx","dy", NULL };
8ab979d7
RD
4042
4043 self = self;
efc5f224 4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4045 return NULL;
1d99702e
RD
4046 if (_argo0) {
4047 if (_argo0 == Py_None) { _arg0 = NULL; }
4048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4050 return NULL;
4051 }
4052 }
cf694132
RD
4053{
4054 wxPy_BEGIN_ALLOW_THREADS;
4055 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
4056
4057 wxPy_END_ALLOW_THREADS;
4058} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4059 return _resultobj;
4060}
4061
4062#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
efc5f224 4063static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4064 PyObject * _resultobj;
4065 wxListCtrl * _arg0;
4066 wxColour * _arg1;
1d99702e 4067 PyObject * _argo0 = 0;
f6bcfd97
BP
4068 wxColour temp;
4069 PyObject * _obj1 = 0;
efc5f224 4070 char *_kwnames[] = { "self","col", NULL };
8ab979d7
RD
4071
4072 self = self;
f6bcfd97 4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4074 return NULL;
1d99702e
RD
4075 if (_argo0) {
4076 if (_argo0 == Py_None) { _arg0 = NULL; }
4077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4079 return NULL;
4080 }
4081 }
f6bcfd97
BP
4082{
4083 _arg1 = &temp;
4084 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4085 return NULL;
f6bcfd97 4086}
cf694132
RD
4087{
4088 wxPy_BEGIN_ALLOW_THREADS;
4089 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
4090
4091 wxPy_END_ALLOW_THREADS;
4092} Py_INCREF(Py_None);
8ab979d7
RD
4093 _resultobj = Py_None;
4094 return _resultobj;
4095}
4096
4097#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
efc5f224 4098static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4099 PyObject * _resultobj;
4100 bool _result;
4101 wxListCtrl * _arg0;
4102 int _arg1;
4103 wxListItem * _arg2;
1d99702e
RD
4104 PyObject * _argo0 = 0;
4105 PyObject * _argo2 = 0;
efc5f224 4106 char *_kwnames[] = { "self","col","item", NULL };
8ab979d7
RD
4107
4108 self = self;
efc5f224 4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
8ab979d7 4110 return NULL;
1d99702e
RD
4111 if (_argo0) {
4112 if (_argo0 == Py_None) { _arg0 = NULL; }
4113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4115 return NULL;
4116 }
4117 }
1d99702e
RD
4118 if (_argo2) {
4119 if (_argo2 == Py_None) { _arg2 = NULL; }
4120 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
8ab979d7
RD
4121 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4122 return NULL;
4123 }
4124 }
cf694132
RD
4125{
4126 wxPy_BEGIN_ALLOW_THREADS;
4127 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
4128
4129 wxPy_END_ALLOW_THREADS;
4130} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4131 return _resultobj;
4132}
4133
4134#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
efc5f224 4135static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4136 PyObject * _resultobj;
4137 bool _result;
4138 wxListCtrl * _arg0;
4139 int _arg1;
4140 int _arg2;
1d99702e 4141 PyObject * _argo0 = 0;
efc5f224 4142 char *_kwnames[] = { "self","col","width", NULL };
8ab979d7
RD
4143
4144 self = self;
efc5f224 4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4146 return NULL;
1d99702e
RD
4147 if (_argo0) {
4148 if (_argo0 == Py_None) { _arg0 = NULL; }
4149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4151 return NULL;
4152 }
4153 }
cf694132
RD
4154{
4155 wxPy_BEGIN_ALLOW_THREADS;
4156 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
4157
4158 wxPy_END_ALLOW_THREADS;
4159} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4160 return _resultobj;
4161}
4162
4163#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
efc5f224 4164static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4165 PyObject * _resultobj;
4166 wxListCtrl * _arg0;
4167 wxImageList * _arg1;
4168 int _arg2;
1d99702e
RD
4169 PyObject * _argo0 = 0;
4170 PyObject * _argo1 = 0;
efc5f224 4171 char *_kwnames[] = { "self","imageList","which", NULL };
8ab979d7
RD
4172
4173 self = self;
efc5f224 4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 4175 return NULL;
1d99702e
RD
4176 if (_argo0) {
4177 if (_argo0 == Py_None) { _arg0 = NULL; }
4178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4180 return NULL;
4181 }
4182 }
1d99702e
RD
4183 if (_argo1) {
4184 if (_argo1 == Py_None) { _arg1 = NULL; }
4185 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
8ab979d7
RD
4186 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4187 return NULL;
4188 }
4189 }
cf694132
RD
4190{
4191 wxPy_BEGIN_ALLOW_THREADS;
4192 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
4193
4194 wxPy_END_ALLOW_THREADS;
4195} Py_INCREF(Py_None);
8ab979d7
RD
4196 _resultobj = Py_None;
4197 return _resultobj;
4198}
4199
4200#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
efc5f224 4201static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4202 PyObject * _resultobj;
4203 bool _result;
4204 wxListCtrl * _arg0;
4205 wxListItem * _arg1;
1d99702e
RD
4206 PyObject * _argo0 = 0;
4207 PyObject * _argo1 = 0;
efc5f224 4208 char *_kwnames[] = { "self","info", NULL };
8ab979d7
RD
4209
4210 self = self;
efc5f224 4211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
8ab979d7 4212 return NULL;
1d99702e
RD
4213 if (_argo0) {
4214 if (_argo0 == Py_None) { _arg0 = NULL; }
4215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4217 return NULL;
4218 }
4219 }
1d99702e
RD
4220 if (_argo1) {
4221 if (_argo1 == Py_None) { _arg1 = NULL; }
4222 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
8ab979d7
RD
4223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4224 return NULL;
4225 }
4226 }
cf694132
RD
4227{
4228 wxPy_BEGIN_ALLOW_THREADS;
4229 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
4230
4231 wxPy_END_ALLOW_THREADS;
4232} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4233 return _resultobj;
4234}
4235
af309447 4236#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 4237static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4238 PyObject * _resultobj;
4239 long _result;
4240 wxListCtrl * _arg0;
4241 long _arg1;
4242 int _arg2;
4243 wxString * _arg3;
1d99702e
RD
4244 int _arg4 = (int ) -1;
4245 PyObject * _argo0 = 0;
8ab979d7 4246 PyObject * _obj3 = 0;
efc5f224 4247 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
8ab979d7
RD
4248
4249 self = self;
efc5f224 4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
8ab979d7 4251 return NULL;
1d99702e
RD
4252 if (_argo0) {
4253 if (_argo0 == Py_None) { _arg0 = NULL; }
4254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
af309447 4255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
8ab979d7
RD
4256 return NULL;
4257 }
4258 }
4259{
2cd2fac8
RD
4260#if PYTHON_API_VERSION >= 1009
4261 char* tmpPtr; int tmpSize;
4262 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4263 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4264 return NULL;
4265 }
4266 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4267 return NULL;
4268 _arg3 = new wxString(tmpPtr, tmpSize);
4269#else
8ab979d7
RD
4270 if (!PyString_Check(_obj3)) {
4271 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4272 return NULL;
4273 }
2cd2fac8
RD
4274 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4275#endif
8ab979d7 4276}
cf694132
RD
4277{
4278 wxPy_BEGIN_ALLOW_THREADS;
4279 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
4280
4281 wxPy_END_ALLOW_THREADS;
4282} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4283{
4284 if (_obj3)
4285 delete _arg3;
4286}
4287 return _resultobj;
4288}
4289
4290#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
efc5f224 4291static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4292 PyObject * _resultobj;
4293 bool _result;
4294 wxListCtrl * _arg0;
4295 long _arg1;
4296 long _arg2;
1d99702e 4297 PyObject * _argo0 = 0;
efc5f224 4298 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
4299
4300 self = self;
efc5f224 4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4302 return NULL;
1d99702e
RD
4303 if (_argo0) {
4304 if (_argo0 == Py_None) { _arg0 = NULL; }
4305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4307 return NULL;
4308 }
4309 }
cf694132
RD
4310{
4311 wxPy_BEGIN_ALLOW_THREADS;
4312 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
4313
4314 wxPy_END_ALLOW_THREADS;
4315} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4316 return _resultobj;
4317}
4318
4319#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 4320static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4321 PyObject * _resultobj;
4322 bool _result;
4323 wxListCtrl * _arg0;
4324 long _arg1;
4325 int _arg2;
4326 int _arg3;
1d99702e 4327 PyObject * _argo0 = 0;
efc5f224 4328 char *_kwnames[] = { "self","item","image","selImage", NULL };
8ab979d7
RD
4329
4330 self = self;
efc5f224 4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 4332 return NULL;
1d99702e
RD
4333 if (_argo0) {
4334 if (_argo0 == Py_None) { _arg0 = NULL; }
4335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4337 return NULL;
4338 }
4339 }
cf694132
RD
4340{
4341 wxPy_BEGIN_ALLOW_THREADS;
4342 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
4343
4344 wxPy_END_ALLOW_THREADS;
4345} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4346 return _resultobj;
4347}
4348
4349#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
efc5f224 4350static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4351 PyObject * _resultobj;
4352 bool _result;
4353 wxListCtrl * _arg0;
4354 long _arg1;
4355 wxPoint * _arg2;
1d99702e 4356 PyObject * _argo0 = 0;
2f90df85
RD
4357 wxPoint temp;
4358 PyObject * _obj2 = 0;
efc5f224 4359 char *_kwnames[] = { "self","item","pos", NULL };
8ab979d7
RD
4360
4361 self = self;
2f90df85 4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 4363 return NULL;
1d99702e
RD
4364 if (_argo0) {
4365 if (_argo0 == Py_None) { _arg0 = NULL; }
4366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4368 return NULL;
4369 }
4370 }
2f90df85
RD
4371{
4372 _arg2 = &temp;
4373 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 4374 return NULL;
2f90df85 4375}
cf694132
RD
4376{
4377 wxPy_BEGIN_ALLOW_THREADS;
4378 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
4379
4380 wxPy_END_ALLOW_THREADS;
4381} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4382 return _resultobj;
4383}
4384
4385#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
efc5f224 4386static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4387 PyObject * _resultobj;
4388 bool _result;
4389 wxListCtrl * _arg0;
4390 long _arg1;
4391 long _arg2;
4392 long _arg3;
1d99702e 4393 PyObject * _argo0 = 0;
efc5f224 4394 char *_kwnames[] = { "self","item","state","stateMask", NULL };
8ab979d7
RD
4395
4396 self = self;
efc5f224 4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 4398 return NULL;
1d99702e
RD
4399 if (_argo0) {
4400 if (_argo0 == Py_None) { _arg0 = NULL; }
4401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4403 return NULL;
4404 }
4405 }
cf694132
RD
4406{
4407 wxPy_BEGIN_ALLOW_THREADS;
4408 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
4409
4410 wxPy_END_ALLOW_THREADS;
4411} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4412 return _resultobj;
4413}
4414
4415#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 4416static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4417 PyObject * _resultobj;
4418 wxListCtrl * _arg0;
4419 long _arg1;
4420 wxString * _arg2;
1d99702e 4421 PyObject * _argo0 = 0;
8ab979d7 4422 PyObject * _obj2 = 0;
efc5f224 4423 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
4424
4425 self = self;
efc5f224 4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 4427 return NULL;
1d99702e
RD
4428 if (_argo0) {
4429 if (_argo0 == Py_None) { _arg0 = NULL; }
4430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4432 return NULL;
4433 }
4434 }
4435{
2cd2fac8
RD
4436#if PYTHON_API_VERSION >= 1009
4437 char* tmpPtr; int tmpSize;
4438 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4439 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4440 return NULL;
4441 }
4442 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4443 return NULL;
4444 _arg2 = new wxString(tmpPtr, tmpSize);
4445#else
8ab979d7
RD
4446 if (!PyString_Check(_obj2)) {
4447 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4448 return NULL;
4449 }
2cd2fac8
RD
4450 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4451#endif
8ab979d7 4452}
cf694132
RD
4453{
4454 wxPy_BEGIN_ALLOW_THREADS;
4455 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
4456
4457 wxPy_END_ALLOW_THREADS;
4458} Py_INCREF(Py_None);
8ab979d7
RD
4459 _resultobj = Py_None;
4460{
4461 if (_obj2)
4462 delete _arg2;
4463}
4464 return _resultobj;
4465}
4466
4467#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
efc5f224 4468static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4469 PyObject * _resultobj;
4470 wxListCtrl * _arg0;
4471 long _arg1;
1d99702e
RD
4472 bool _arg2 = (bool ) TRUE;
4473 PyObject * _argo0 = 0;
4474 int tempbool2 = (int) TRUE;
efc5f224 4475 char *_kwnames[] = { "self","style","add", NULL };
8ab979d7
RD
4476
4477 self = self;
efc5f224 4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 4479 return NULL;
1d99702e
RD
4480 if (_argo0) {
4481 if (_argo0 == Py_None) { _arg0 = NULL; }
4482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4484 return NULL;
4485 }
4486 }
4487 _arg2 = (bool ) tempbool2;
cf694132
RD
4488{
4489 wxPy_BEGIN_ALLOW_THREADS;
4490 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
4491
4492 wxPy_END_ALLOW_THREADS;
4493} Py_INCREF(Py_None);
8ab979d7
RD
4494 _resultobj = Py_None;
4495 return _resultobj;
4496}
4497
8ab979d7 4498#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
efc5f224 4499static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4500 PyObject * _resultobj;
4501 wxListCtrl * _arg0;
4502 long _arg1;
1d99702e 4503 PyObject * _argo0 = 0;
efc5f224 4504 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
4505
4506 self = self;
efc5f224 4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
8ab979d7 4508 return NULL;
1d99702e
RD
4509 if (_argo0) {
4510 if (_argo0 == Py_None) { _arg0 = NULL; }
4511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
8ab979d7
RD
4512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4513 return NULL;
4514 }
4515 }
cf694132
RD
4516{
4517 wxPy_BEGIN_ALLOW_THREADS;
4518 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
4519
4520 wxPy_END_ALLOW_THREADS;
4521} Py_INCREF(Py_None);
8ab979d7
RD
4522 _resultobj = Py_None;
4523 return _resultobj;
4524}
4525
dcd38683
RD
4526static bool wxListCtrl_SortItems(wxListCtrl *self,PyObject * func) {
4527 if (!PyCallable_Check(func))
4528 return FALSE;
4529
f6bcfd97 4530 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
dcd38683
RD
4531 }
4532static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4533 PyObject * _resultobj;
4534 bool _result;
4535 wxListCtrl * _arg0;
4536 PyObject * _arg1;
4537 PyObject * _argo0 = 0;
4538 PyObject * _obj1 = 0;
4539 char *_kwnames[] = { "self","func", NULL };
4540
4541 self = self;
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
4543 return NULL;
4544 if (_argo0) {
4545 if (_argo0 == Py_None) { _arg0 = NULL; }
4546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
4547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4548 return NULL;
4549 }
4550 }
4551{
4552 _arg1 = _obj1;
4553}
4554{
4555 wxPy_BEGIN_ALLOW_THREADS;
4556 _result = (bool )wxListCtrl_SortItems(_arg0,_arg1);
4557
4558 wxPy_END_ALLOW_THREADS;
4559} _resultobj = Py_BuildValue("i",_result);
4560 return _resultobj;
4561}
4562
d5c9047a 4563#define new_wxTreeItemId() (new wxTreeItemId())
efc5f224 4564static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4565 PyObject * _resultobj;
d5c9047a 4566 wxTreeItemId * _result;
efc5f224 4567 char *_kwnames[] = { NULL };
d5c9047a 4568 char _ptemp[128];
8ab979d7
RD
4569
4570 self = self;
efc5f224 4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
8ab979d7 4572 return NULL;
cf694132
RD
4573{
4574 wxPy_BEGIN_ALLOW_THREADS;
4575 _result = (wxTreeItemId *)new_wxTreeItemId();
4576
4577 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4578} if (_result) {
4579 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
4580 _resultobj = Py_BuildValue("s",_ptemp);
4581 } else {
4582 Py_INCREF(Py_None);
4583 _resultobj = Py_None;
4584 }
8ab979d7
RD
4585 return _resultobj;
4586}
4587
d5c9047a 4588#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
efc5f224 4589static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4590 PyObject * _resultobj;
d5c9047a 4591 wxTreeItemId * _arg0;
1d99702e 4592 PyObject * _argo0 = 0;
efc5f224 4593 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4594
4595 self = self;
efc5f224 4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
8ab979d7 4597 return NULL;
1d99702e
RD
4598 if (_argo0) {
4599 if (_argo0 == Py_None) { _arg0 = NULL; }
4600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 4601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
8ab979d7
RD
4602 return NULL;
4603 }
4604 }
cf694132
RD
4605{
4606 wxPy_BEGIN_ALLOW_THREADS;
4607 delete_wxTreeItemId(_arg0);
4608
4609 wxPy_END_ALLOW_THREADS;
4610} Py_INCREF(Py_None);
d5c9047a 4611 _resultobj = Py_None;
8ab979d7
RD
4612 return _resultobj;
4613}
4614
d5c9047a 4615#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
efc5f224 4616static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4617 PyObject * _resultobj;
d5c9047a
RD
4618 bool _result;
4619 wxTreeItemId * _arg0;
1d99702e 4620 PyObject * _argo0 = 0;
efc5f224 4621 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4622
4623 self = self;
efc5f224 4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
8ab979d7 4625 return NULL;
1d99702e
RD
4626 if (_argo0) {
4627 if (_argo0 == Py_None) { _arg0 = NULL; }
4628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
d5c9047a 4629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
8ab979d7
RD
4630 return NULL;
4631 }
4632 }
cf694132
RD
4633{
4634 wxPy_BEGIN_ALLOW_THREADS;
4635 _result = (bool )wxTreeItemId_IsOk(_arg0);
4636
4637 wxPy_END_ALLOW_THREADS;
4638} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4639 return _resultobj;
4640}
4641
f6bcfd97 4642static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
c368d904 4643 if (! other) return -1;
f6bcfd97
BP
4644 return *self != *other;
4645 }
4646static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
4647 PyObject * _resultobj;
4648 int _result;
4649 wxTreeItemId * _arg0;
4650 wxTreeItemId * _arg1;
4651 PyObject * _argo0 = 0;
4652 PyObject * _argo1 = 0;
4653 char *_kwnames[] = { "self","other", NULL };
4654
4655 self = self;
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
4657 return NULL;
4658 if (_argo0) {
4659 if (_argo0 == Py_None) { _arg0 = NULL; }
4660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
4661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4662 return NULL;
4663 }
4664 }
4665 if (_argo1) {
4666 if (_argo1 == Py_None) { _arg1 = NULL; }
4667 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
4668 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4669 return NULL;
4670 }
4671 }
4672{
4673 wxPy_BEGIN_ALLOW_THREADS;
4674 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
4675
4676 wxPy_END_ALLOW_THREADS;
4677} _resultobj = Py_BuildValue("i",_result);
4678 return _resultobj;
4679}
4680
cf694132 4681#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
efc5f224 4682static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4683 PyObject * _resultobj;
cf694132 4684 wxPyTreeItemData * _result;
1d99702e 4685 PyObject * _arg0 = (PyObject *) NULL;
cf694132 4686 PyObject * _obj0 = 0;
efc5f224 4687 char *_kwnames[] = { "obj", NULL };
d5c9047a 4688 char _ptemp[128];
8ab979d7
RD
4689
4690 self = self;
efc5f224 4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
8ab979d7 4692 return NULL;
cf694132
RD
4693 if (_obj0)
4694{
4695 _arg0 = _obj0;
4696}
4697{
4698 wxPy_BEGIN_ALLOW_THREADS;
4699 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
4700
4701 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4702} if (_result) {
4703 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
4704 _resultobj = Py_BuildValue("s",_ptemp);
4705 } else {
4706 Py_INCREF(Py_None);
4707 _resultobj = Py_None;
4708 }
8ab979d7
RD
4709 return _resultobj;
4710}
4711
cf694132 4712#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
efc5f224 4713static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
4714 PyObject * _resultobj;
4715 PyObject * _result;
4716 wxPyTreeItemData * _arg0;
1d99702e 4717 PyObject * _argo0 = 0;
efc5f224 4718 char *_kwnames[] = { "self", NULL };
cf694132
RD
4719
4720 self = self;
efc5f224 4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
cf694132 4722 return NULL;
1d99702e
RD
4723 if (_argo0) {
4724 if (_argo0 == Py_None) { _arg0 = NULL; }
4725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132
RD
4726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4727 return NULL;
4728 }
4729 }
4730{
4731 wxPy_BEGIN_ALLOW_THREADS;
4732 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
4733
4734 wxPy_END_ALLOW_THREADS;
4735}{
4736 _resultobj = _result;
4737}
4738 return _resultobj;
4739}
4740
4741#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
efc5f224 4742static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4743 PyObject * _resultobj;
cf694132
RD
4744 wxPyTreeItemData * _arg0;
4745 PyObject * _arg1;
1d99702e 4746 PyObject * _argo0 = 0;
cf694132 4747 PyObject * _obj1 = 0;
efc5f224 4748 char *_kwnames[] = { "self","obj", NULL };
8ab979d7
RD
4749
4750 self = self;
efc5f224 4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
8ab979d7 4752 return NULL;
1d99702e
RD
4753 if (_argo0) {
4754 if (_argo0 == Py_None) { _arg0 = NULL; }
4755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 4756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
4757 return NULL;
4758 }
4759 }
cf694132
RD
4760{
4761 _arg1 = _obj1;
4762}
4763{
4764 wxPy_BEGIN_ALLOW_THREADS;
4765 wxTreeItemData_SetData(_arg0,_arg1);
4766
4767 wxPy_END_ALLOW_THREADS;
4768} Py_INCREF(Py_None);
d5c9047a 4769 _resultobj = Py_None;
8ab979d7
RD
4770 return _resultobj;
4771}
4772
630d84f2 4773#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
efc5f224 4774static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4775 PyObject * _resultobj;
d5c9047a 4776 wxTreeItemId * _result;
cf694132 4777 wxPyTreeItemData * _arg0;
1d99702e 4778 PyObject * _argo0 = 0;
efc5f224 4779 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4780 char _ptemp[128];
4781
4782 self = self;
efc5f224 4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
8ab979d7 4784 return NULL;
1d99702e
RD
4785 if (_argo0) {
4786 if (_argo0 == Py_None) { _arg0 = NULL; }
4787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 4788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
4789 return NULL;
4790 }
4791 }
cf694132
RD
4792{
4793 wxPy_BEGIN_ALLOW_THREADS;
4794 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
d5c9047a 4795 _result = (wxTreeItemId *) &_result_ref;
cf694132
RD
4796
4797 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4798} if (_result) {
4799 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
4800 _resultobj = Py_BuildValue("s",_ptemp);
4801 } else {
4802 Py_INCREF(Py_None);
4803 _resultobj = Py_None;
4804 }
8ab979d7
RD
4805 return _resultobj;
4806}
4807
630d84f2 4808#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
efc5f224 4809static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
630d84f2 4810 PyObject * _resultobj;
cf694132 4811 wxPyTreeItemData * _arg0;
630d84f2 4812 wxTreeItemId * _arg1;
1d99702e
RD
4813 PyObject * _argo0 = 0;
4814 PyObject * _argo1 = 0;
efc5f224 4815 char *_kwnames[] = { "self","id", NULL };
630d84f2
RD
4816
4817 self = self;
efc5f224 4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
630d84f2 4819 return NULL;
1d99702e
RD
4820 if (_argo0) {
4821 if (_argo0 == Py_None) { _arg0 = NULL; }
4822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
cf694132 4823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
630d84f2
RD
4824 return NULL;
4825 }
4826 }
1d99702e
RD
4827 if (_argo1) {
4828 if (_argo1 == Py_None) { _arg1 = NULL; }
4829 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
630d84f2
RD
4830 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
4831 return NULL;
4832 }
4833 }
cf694132
RD
4834{
4835 wxPy_BEGIN_ALLOW_THREADS;
4836 wxTreeItemData_SetId(_arg0,*_arg1);
4837
4838 wxPy_END_ALLOW_THREADS;
4839} Py_INCREF(Py_None);
630d84f2
RD
4840 _resultobj = Py_None;
4841 return _resultobj;
4842}
4843
8bf5d46e
RD
4844static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
4845 wxTreeEvent *src;
4846 wxNotifyEvent *dest;
4847 src = (wxTreeEvent *) ptr;
4848 dest = (wxNotifyEvent *) src;
4849 return (void *) dest;
4850}
4851
8ab979d7
RD
4852static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
4853 wxTreeEvent *src;
4854 wxCommandEvent *dest;
4855 src = (wxTreeEvent *) ptr;
4856 dest = (wxCommandEvent *) src;
4857 return (void *) dest;
4858}
4859
4860static void *SwigwxTreeEventTowxEvent(void *ptr) {
4861 wxTreeEvent *src;
4862 wxEvent *dest;
4863 src = (wxTreeEvent *) ptr;
4864 dest = (wxEvent *) src;
4865 return (void *) dest;
4866}
4867
d5c9047a 4868#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
efc5f224 4869static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4870 PyObject * _resultobj;
d5c9047a 4871 wxTreeItemId * _result;
8ab979d7 4872 wxTreeEvent * _arg0;
1d99702e 4873 PyObject * _argo0 = 0;
efc5f224 4874 char *_kwnames[] = { "self", NULL };
d5c9047a 4875 char _ptemp[128];
8ab979d7
RD
4876
4877 self = self;
efc5f224 4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
8ab979d7 4879 return NULL;
1d99702e
RD
4880 if (_argo0) {
4881 if (_argo0 == Py_None) { _arg0 = NULL; }
4882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 4883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
4884 return NULL;
4885 }
4886 }
cf694132
RD
4887{
4888 wxPy_BEGIN_ALLOW_THREADS;
4889 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
4890
4891 wxPy_END_ALLOW_THREADS;
4892} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 4893 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4894 return _resultobj;
4895}
4896
d5c9047a 4897#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
efc5f224 4898static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4899 PyObject * _resultobj;
d5c9047a 4900 wxTreeItemId * _result;
8ab979d7 4901 wxTreeEvent * _arg0;
1d99702e 4902 PyObject * _argo0 = 0;
efc5f224 4903 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4904 char _ptemp[128];
4905
4906 self = self;
efc5f224 4907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
8ab979d7 4908 return NULL;
1d99702e
RD
4909 if (_argo0) {
4910 if (_argo0 == Py_None) { _arg0 = NULL; }
4911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 4912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
8ab979d7
RD
4913 return NULL;
4914 }
4915 }
cf694132
RD
4916{
4917 wxPy_BEGIN_ALLOW_THREADS;
4918 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
4919
4920 wxPy_END_ALLOW_THREADS;
4921} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8ab979d7
RD
4922 _resultobj = Py_BuildValue("s",_ptemp);
4923 return _resultobj;
4924}
4925
d5c9047a 4926#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
efc5f224 4927static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4928 PyObject * _resultobj;
d5c9047a 4929 wxPoint * _result;
8ab979d7 4930 wxTreeEvent * _arg0;
1d99702e 4931 PyObject * _argo0 = 0;
efc5f224 4932 char *_kwnames[] = { "self", NULL };
d5c9047a 4933 char _ptemp[128];
8ab979d7
RD
4934
4935 self = self;
efc5f224 4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
8ab979d7 4937 return NULL;
1d99702e
RD
4938 if (_argo0) {
4939 if (_argo0 == Py_None) { _arg0 = NULL; }
4940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 4941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
8ab979d7
RD
4942 return NULL;
4943 }
4944 }
cf694132
RD
4945{
4946 wxPy_BEGIN_ALLOW_THREADS;
4947 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
4948
4949 wxPy_END_ALLOW_THREADS;
4950} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
d5c9047a 4951 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4952 return _resultobj;
4953}
4954
d5c9047a 4955#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
efc5f224 4956static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4957 PyObject * _resultobj;
d5c9047a 4958 int _result;
8ab979d7 4959 wxTreeEvent * _arg0;
1d99702e 4960 PyObject * _argo0 = 0;
efc5f224 4961 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4962
4963 self = self;
efc5f224 4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
8ab979d7 4965 return NULL;
1d99702e
RD
4966 if (_argo0) {
4967 if (_argo0 == Py_None) { _arg0 = NULL; }
4968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
d5c9047a 4969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
8ab979d7
RD
4970 return NULL;
4971 }
4972 }
cf694132
RD
4973{
4974 wxPy_BEGIN_ALLOW_THREADS;
4975 _result = (int )wxTreeEvent_GetCode(_arg0);
4976
4977 wxPy_END_ALLOW_THREADS;
4978} _resultobj = Py_BuildValue("i",_result);
d5c9047a
RD
4979 return _resultobj;
4980}
4981
8bf5d46e 4982#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 4983static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 4984 PyObject * _resultobj;
8bf5d46e 4985 wxString * _result;
d5c9047a 4986 wxTreeEvent * _arg0;
1d99702e 4987 PyObject * _argo0 = 0;
efc5f224 4988 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
4989
4990 self = self;
efc5f224 4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
d5c9047a 4992 return NULL;
1d99702e
RD
4993 if (_argo0) {
4994 if (_argo0 == Py_None) { _arg0 = NULL; }
4995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
8bf5d46e 4996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
d5c9047a
RD
4997 return NULL;
4998 }
4999 }
cf694132
RD
5000{
5001 wxPy_BEGIN_ALLOW_THREADS;
8bf5d46e
RD
5002 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
5003 _result = (wxString *) &_result_ref;
cf694132
RD
5004
5005 wxPy_END_ALLOW_THREADS;
8bf5d46e 5006}{
eec92d76 5007 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8bf5d46e 5008}
8ab979d7
RD
5009 return _resultobj;
5010}
5011
f6bcfd97
BP
5012static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
5013 wxPyTreeCtrl *src;
8ab979d7 5014 wxControl *dest;
f6bcfd97 5015 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
5016 dest = (wxControl *) src;
5017 return (void *) dest;
5018}
5019
f6bcfd97
BP
5020static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
5021 wxPyTreeCtrl *src;
8ab979d7 5022 wxWindow *dest;
f6bcfd97 5023 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
5024 dest = (wxWindow *) src;
5025 return (void *) dest;
5026}
5027
f6bcfd97
BP
5028static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
5029 wxPyTreeCtrl *src;
8ab979d7 5030 wxEvtHandler *dest;
f6bcfd97 5031 src = (wxPyTreeCtrl *) ptr;
8ab979d7
RD
5032 dest = (wxEvtHandler *) src;
5033 return (void *) dest;
5034}
5035
f6bcfd97 5036#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 5037static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5038 PyObject * _resultobj;
f6bcfd97 5039 wxPyTreeCtrl * _result;
8ab979d7 5040 wxWindow * _arg0;
1d99702e 5041 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
5042 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5043 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 5044 long _arg4 = (long ) wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT;
b68dc582 5045 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
5046 char * _arg6 = (char *) "wxTreeCtrl";
5047 PyObject * _argo0 = 0;
2f90df85
RD
5048 wxPoint temp;
5049 PyObject * _obj2 = 0;
5050 wxSize temp0;
5051 PyObject * _obj3 = 0;
1d99702e 5052 PyObject * _argo5 = 0;
efc5f224 5053 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
5054 char _ptemp[128];
5055
5056 self = self;
2f90df85 5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 5058 return NULL;
1d99702e
RD
5059 if (_argo0) {
5060 if (_argo0 == Py_None) { _arg0 = NULL; }
5061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
5062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5063 return NULL;
5064 }
5065 }
2f90df85
RD
5066 if (_obj2)
5067{
5068 _arg2 = &temp;
5069 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 5070 return NULL;
2f90df85
RD
5071}
5072 if (_obj3)
5073{
5074 _arg3 = &temp0;
5075 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 5076 return NULL;
2f90df85 5077}
1d99702e
RD
5078 if (_argo5) {
5079 if (_argo5 == Py_None) { _arg5 = NULL; }
5080 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
5081 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5082 return NULL;
5083 }
5084 }
cf694132
RD
5085{
5086 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5087 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
cf694132
RD
5088
5089 wxPy_END_ALLOW_THREADS;
1d99702e 5090} if (_result) {
f6bcfd97 5091 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
1d99702e
RD
5092 _resultobj = Py_BuildValue("s",_ptemp);
5093 } else {
5094 Py_INCREF(Py_None);
5095 _resultobj = Py_None;
5096 }
8ab979d7
RD
5097 return _resultobj;
5098}
5099
f6bcfd97
BP
5100#define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5101static PyObject *_wrap_wxTreeCtrl__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5102 PyObject * _resultobj;
5103 wxPyTreeCtrl * _arg0;
5104 PyObject * _arg1;
5105 PyObject * _arg2;
5106 PyObject * _argo0 = 0;
5107 PyObject * _obj1 = 0;
5108 PyObject * _obj2 = 0;
5109 char *_kwnames[] = { "self","self","_class", NULL };
5110
5111 self = self;
5112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5113 return NULL;
5114 if (_argo0) {
5115 if (_argo0 == Py_None) { _arg0 = NULL; }
5116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5118 return NULL;
5119 }
5120 }
5121{
5122 _arg1 = _obj1;
5123}
5124{
5125 _arg2 = _obj2;
5126}
5127{
5128 wxPy_BEGIN_ALLOW_THREADS;
5129 wxTreeCtrl__setSelf(_arg0,_arg1,_arg2);
5130
5131 wxPy_END_ALLOW_THREADS;
5132} Py_INCREF(Py_None);
5133 _resultobj = Py_None;
5134 return _resultobj;
5135}
5136
d5c9047a 5137#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
efc5f224 5138static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5139 PyObject * _resultobj;
c127177f 5140 size_t _result;
f6bcfd97 5141 wxPyTreeCtrl * _arg0;
1d99702e 5142 PyObject * _argo0 = 0;
efc5f224 5143 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5144
5145 self = self;
efc5f224 5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
8ab979d7 5147 return NULL;
1d99702e
RD
5148 if (_argo0) {
5149 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5152 return NULL;
5153 }
5154 }
cf694132
RD
5155{
5156 wxPy_BEGIN_ALLOW_THREADS;
c127177f 5157 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
cf694132
RD
5158
5159 wxPy_END_ALLOW_THREADS;
c127177f 5160} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5161 return _resultobj;
5162}
5163
d5c9047a 5164#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
efc5f224 5165static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5166 PyObject * _resultobj;
d5c9047a 5167 unsigned int _result;
f6bcfd97 5168 wxPyTreeCtrl * _arg0;
1d99702e 5169 PyObject * _argo0 = 0;
efc5f224 5170 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5171
5172 self = self;
efc5f224 5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
8ab979d7 5174 return NULL;
1d99702e
RD
5175 if (_argo0) {
5176 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5179 return NULL;
5180 }
5181 }
cf694132
RD
5182{
5183 wxPy_BEGIN_ALLOW_THREADS;
5184 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
5185
5186 wxPy_END_ALLOW_THREADS;
5187} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5188 return _resultobj;
5189}
5190
d5c9047a 5191#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
efc5f224 5192static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5193 PyObject * _resultobj;
f6bcfd97 5194 wxPyTreeCtrl * _arg0;
d5c9047a 5195 unsigned int _arg1;
1d99702e 5196 PyObject * _argo0 = 0;
efc5f224 5197 char *_kwnames[] = { "self","indent", NULL };
8ab979d7
RD
5198
5199 self = self;
efc5f224 5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
8ab979d7 5201 return NULL;
1d99702e
RD
5202 if (_argo0) {
5203 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5206 return NULL;
5207 }
5208 }
cf694132
RD
5209{
5210 wxPy_BEGIN_ALLOW_THREADS;
5211 wxTreeCtrl_SetIndent(_arg0,_arg1);
5212
5213 wxPy_END_ALLOW_THREADS;
5214} Py_INCREF(Py_None);
d5c9047a 5215 _resultobj = Py_None;
8ab979d7
RD
5216 return _resultobj;
5217}
5218
d5c9047a 5219#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
efc5f224 5220static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5221 PyObject * _resultobj;
d5c9047a 5222 wxImageList * _result;
f6bcfd97 5223 wxPyTreeCtrl * _arg0;
1d99702e 5224 PyObject * _argo0 = 0;
efc5f224 5225 char *_kwnames[] = { "self", NULL };
d5c9047a 5226 char _ptemp[128];
8ab979d7
RD
5227
5228 self = self;
efc5f224 5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
8ab979d7 5230 return NULL;
1d99702e
RD
5231 if (_argo0) {
5232 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5235 return NULL;
5236 }
5237 }
cf694132
RD
5238{
5239 wxPy_BEGIN_ALLOW_THREADS;
5240 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
5241
5242 wxPy_END_ALLOW_THREADS;
1d99702e
RD
5243} if (_result) {
5244 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
5245 _resultobj = Py_BuildValue("s",_ptemp);
5246 } else {
5247 Py_INCREF(Py_None);
5248 _resultobj = Py_None;
5249 }
8ab979d7
RD
5250 return _resultobj;
5251}
5252
d5c9047a 5253#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
efc5f224 5254static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5255 PyObject * _resultobj;
d5c9047a 5256 wxImageList * _result;
f6bcfd97 5257 wxPyTreeCtrl * _arg0;
1d99702e 5258 PyObject * _argo0 = 0;
efc5f224 5259 char *_kwnames[] = { "self", NULL };
d5c9047a 5260 char _ptemp[128];
8ab979d7
RD
5261
5262 self = self;
efc5f224 5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
8ab979d7 5264 return NULL;
1d99702e
RD
5265 if (_argo0) {
5266 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5269 return NULL;
5270 }
5271 }
cf694132
RD
5272{
5273 wxPy_BEGIN_ALLOW_THREADS;
5274 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
5275
5276 wxPy_END_ALLOW_THREADS;
1d99702e
RD
5277} if (_result) {
5278 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
5279 _resultobj = Py_BuildValue("s",_ptemp);
5280 } else {
5281 Py_INCREF(Py_None);
5282 _resultobj = Py_None;
5283 }
8ab979d7
RD
5284 return _resultobj;
5285}
5286
d5c9047a 5287#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
efc5f224 5288static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5289 PyObject * _resultobj;
f6bcfd97 5290 wxPyTreeCtrl * _arg0;
d5c9047a 5291 wxImageList * _arg1;
1d99702e
RD
5292 PyObject * _argo0 = 0;
5293 PyObject * _argo1 = 0;
efc5f224 5294 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
5295
5296 self = self;
efc5f224 5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 5298 return NULL;
1d99702e
RD
5299 if (_argo0) {
5300 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5303 return NULL;
5304 }
5305 }
1d99702e
RD
5306 if (_argo1) {
5307 if (_argo1 == Py_None) { _arg1 = NULL; }
5308 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
5309 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5310 return NULL;
5311 }
5312 }
cf694132
RD
5313{
5314 wxPy_BEGIN_ALLOW_THREADS;
5315 wxTreeCtrl_SetImageList(_arg0,_arg1);
5316
5317 wxPy_END_ALLOW_THREADS;
5318} Py_INCREF(Py_None);
d5c9047a 5319 _resultobj = Py_None;
8ab979d7
RD
5320 return _resultobj;
5321}
5322
d5c9047a 5323#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
efc5f224 5324static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5325 PyObject * _resultobj;
f6bcfd97 5326 wxPyTreeCtrl * _arg0;
d5c9047a 5327 wxImageList * _arg1;
1d99702e
RD
5328 PyObject * _argo0 = 0;
5329 PyObject * _argo1 = 0;
efc5f224 5330 char *_kwnames[] = { "self","imageList", NULL };
8ab979d7
RD
5331
5332 self = self;
efc5f224 5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
8ab979d7 5334 return NULL;
1d99702e
RD
5335 if (_argo0) {
5336 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5339 return NULL;
5340 }
5341 }
1d99702e
RD
5342 if (_argo1) {
5343 if (_argo1 == Py_None) { _arg1 = NULL; }
5344 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
d5c9047a
RD
5345 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5346 return NULL;
5347 }
5348 }
cf694132
RD
5349{
5350 wxPy_BEGIN_ALLOW_THREADS;
5351 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
5352
5353 wxPy_END_ALLOW_THREADS;
5354} Py_INCREF(Py_None);
d5c9047a 5355 _resultobj = Py_None;
8ab979d7
RD
5356 return _resultobj;
5357}
5358
b1462dfa
RD
5359#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5360static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject * _resultobj;
5362 unsigned int _result;
f6bcfd97 5363 wxPyTreeCtrl * _arg0;
b1462dfa
RD
5364 PyObject * _argo0 = 0;
5365 char *_kwnames[] = { "self", NULL };
5366
5367 self = self;
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
5369 return NULL;
5370 if (_argo0) {
5371 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
5374 return NULL;
5375 }
5376 }
5377{
5378 wxPy_BEGIN_ALLOW_THREADS;
5379 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
5380
5381 wxPy_END_ALLOW_THREADS;
5382} _resultobj = Py_BuildValue("i",_result);
5383 return _resultobj;
5384}
5385
5386#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5387static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
5388 PyObject * _resultobj;
f6bcfd97 5389 wxPyTreeCtrl * _arg0;
b1462dfa
RD
5390 unsigned int _arg1;
5391 PyObject * _argo0 = 0;
5392 char *_kwnames[] = { "self","spacing", NULL };
5393
5394 self = self;
5395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
5396 return NULL;
5397 if (_argo0) {
5398 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
b1462dfa
RD
5401 return NULL;
5402 }
5403 }
5404{
5405 wxPy_BEGIN_ALLOW_THREADS;
5406 wxTreeCtrl_SetSpacing(_arg0,_arg1);
5407
5408 wxPy_END_ALLOW_THREADS;
5409} Py_INCREF(Py_None);
5410 _resultobj = Py_None;
5411 return _resultobj;
5412}
5413
d5c9047a 5414#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
efc5f224 5415static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5416 PyObject * _resultobj;
d5c9047a 5417 wxString * _result;
f6bcfd97 5418 wxPyTreeCtrl * _arg0;
d5c9047a 5419 wxTreeItemId * _arg1;
1d99702e
RD
5420 PyObject * _argo0 = 0;
5421 PyObject * _argo1 = 0;
efc5f224 5422 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
5423
5424 self = self;
efc5f224 5425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
8ab979d7 5426 return NULL;
1d99702e
RD
5427 if (_argo0) {
5428 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5431 return NULL;
5432 }
5433 }
1d99702e
RD
5434 if (_argo1) {
5435 if (_argo1 == Py_None) { _arg1 = NULL; }
5436 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5437 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5438 return NULL;
5439 }
5440 }
d5c9047a 5441{
cf694132
RD
5442 wxPy_BEGIN_ALLOW_THREADS;
5443 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
5444
5445 wxPy_END_ALLOW_THREADS;
5446}{
eec92d76 5447 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
d5c9047a
RD
5448}
5449{
5450 delete _result;
5451}
8ab979d7
RD
5452 return _resultobj;
5453}
5454
694759cf 5455#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
efc5f224 5456static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5457 PyObject * _resultobj;
d5c9047a 5458 int _result;
f6bcfd97 5459 wxPyTreeCtrl * _arg0;
d5c9047a 5460 wxTreeItemId * _arg1;
694759cf 5461 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
5462 PyObject * _argo0 = 0;
5463 PyObject * _argo1 = 0;
694759cf 5464 char *_kwnames[] = { "self","item","which", NULL };
8ab979d7
RD
5465
5466 self = self;
694759cf 5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 5468 return NULL;
1d99702e
RD
5469 if (_argo0) {
5470 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5473 return NULL;
5474 }
5475 }
1d99702e
RD
5476 if (_argo1) {
5477 if (_argo1 == Py_None) { _arg1 = NULL; }
5478 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5479 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5480 return NULL;
5481 }
5482 }
cf694132
RD
5483{
5484 wxPy_BEGIN_ALLOW_THREADS;
694759cf 5485 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
cf694132
RD
5486
5487 wxPy_END_ALLOW_THREADS;
5488} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5489 return _resultobj;
5490}
5491
d5c9047a 5492#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
efc5f224 5493static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5494 PyObject * _resultobj;
d5c9047a 5495 int _result;
f6bcfd97 5496 wxPyTreeCtrl * _arg0;
d5c9047a 5497 wxTreeItemId * _arg1;
1d99702e
RD
5498 PyObject * _argo0 = 0;
5499 PyObject * _argo1 = 0;
efc5f224 5500 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
5501
5502 self = self;
efc5f224 5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
8ab979d7 5504 return NULL;
1d99702e
RD
5505 if (_argo0) {
5506 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5509 return NULL;
5510 }
5511 }
1d99702e
RD
5512 if (_argo1) {
5513 if (_argo1 == Py_None) { _arg1 = NULL; }
5514 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5515 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5516 return NULL;
5517 }
5518 }
cf694132
RD
5519{
5520 wxPy_BEGIN_ALLOW_THREADS;
5521 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
8ab979d7 5522
cf694132
RD
5523 wxPy_END_ALLOW_THREADS;
5524} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5525 return _resultobj;
5526}
5527
d5c9047a 5528#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
efc5f224 5529static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5530 PyObject * _resultobj;
f6bcfd97 5531 wxPyTreeCtrl * _arg0;
d5c9047a
RD
5532 wxTreeItemId * _arg1;
5533 wxString * _arg2;
1d99702e
RD
5534 PyObject * _argo0 = 0;
5535 PyObject * _argo1 = 0;
d5c9047a 5536 PyObject * _obj2 = 0;
efc5f224 5537 char *_kwnames[] = { "self","item","text", NULL };
8ab979d7
RD
5538
5539 self = self;
efc5f224 5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 5541 return NULL;
1d99702e
RD
5542 if (_argo0) {
5543 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5546 return NULL;
5547 }
5548 }
1d99702e
RD
5549 if (_argo1) {
5550 if (_argo1 == Py_None) { _arg1 = NULL; }
5551 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5552 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5553 return NULL;
5554 }
5555 }
5556{
2cd2fac8
RD
5557#if PYTHON_API_VERSION >= 1009
5558 char* tmpPtr; int tmpSize;
5559 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5560 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5561 return NULL;
5562 }
5563 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5564 return NULL;
5565 _arg2 = new wxString(tmpPtr, tmpSize);
5566#else
d5c9047a
RD
5567 if (!PyString_Check(_obj2)) {
5568 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5569 return NULL;
5570 }
2cd2fac8
RD
5571 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5572#endif
d5c9047a 5573}
cf694132
RD
5574{
5575 wxPy_BEGIN_ALLOW_THREADS;
5576 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
5577
5578 wxPy_END_ALLOW_THREADS;
5579} Py_INCREF(Py_None);
d5c9047a
RD
5580 _resultobj = Py_None;
5581{
5582 if (_obj2)
5583 delete _arg2;
5584}
8ab979d7
RD
5585 return _resultobj;
5586}
5587
694759cf 5588#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
efc5f224 5589static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5590 PyObject * _resultobj;
f6bcfd97 5591 wxPyTreeCtrl * _arg0;
d5c9047a
RD
5592 wxTreeItemId * _arg1;
5593 int _arg2;
694759cf 5594 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
1d99702e
RD
5595 PyObject * _argo0 = 0;
5596 PyObject * _argo1 = 0;
694759cf 5597 char *_kwnames[] = { "self","item","image","which", NULL };
8ab979d7
RD
5598
5599 self = self;
694759cf 5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 5601 return NULL;
1d99702e
RD
5602 if (_argo0) {
5603 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5606 return NULL;
5607 }
5608 }
1d99702e
RD
5609 if (_argo1) {
5610 if (_argo1 == Py_None) { _arg1 = NULL; }
5611 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5612 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5613 return NULL;
5614 }
5615 }
cf694132
RD
5616{
5617 wxPy_BEGIN_ALLOW_THREADS;
694759cf 5618 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
cf694132
RD
5619
5620 wxPy_END_ALLOW_THREADS;
5621} Py_INCREF(Py_None);
d5c9047a 5622 _resultobj = Py_None;
8ab979d7
RD
5623 return _resultobj;
5624}
5625
d5c9047a 5626#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
efc5f224 5627static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5628 PyObject * _resultobj;
f6bcfd97 5629 wxPyTreeCtrl * _arg0;
d5c9047a
RD
5630 wxTreeItemId * _arg1;
5631 int _arg2;
1d99702e
RD
5632 PyObject * _argo0 = 0;
5633 PyObject * _argo1 = 0;
efc5f224 5634 char *_kwnames[] = { "self","item","image", NULL };
8ab979d7
RD
5635
5636 self = self;
efc5f224 5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
8ab979d7 5638 return NULL;
1d99702e
RD
5639 if (_argo0) {
5640 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5643 return NULL;
5644 }
5645 }
1d99702e
RD
5646 if (_argo1) {
5647 if (_argo1 == Py_None) { _arg1 = NULL; }
5648 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5649 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5650 return NULL;
5651 }
5652 }
cf694132
RD
5653{
5654 wxPy_BEGIN_ALLOW_THREADS;
5655 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
5656
5657 wxPy_END_ALLOW_THREADS;
5658} Py_INCREF(Py_None);
5659 _resultobj = Py_None;
5660 return _resultobj;
5661}
5662
5663#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
efc5f224 5664static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 5665 PyObject * _resultobj;
f6bcfd97 5666 wxPyTreeCtrl * _arg0;
cf694132 5667 wxTreeItemId * _arg1;
1d99702e
RD
5668 bool _arg2 = (bool ) TRUE;
5669 PyObject * _argo0 = 0;
5670 PyObject * _argo1 = 0;
5671 int tempbool2 = (int) TRUE;
efc5f224 5672 char *_kwnames[] = { "self","item","hasChildren", NULL };
cf694132
RD
5673
5674 self = self;
efc5f224 5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
cf694132 5676 return NULL;
1d99702e
RD
5677 if (_argo0) {
5678 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
cf694132
RD
5681 return NULL;
5682 }
5683 }
1d99702e
RD
5684 if (_argo1) {
5685 if (_argo1 == Py_None) { _arg1 = NULL; }
5686 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
5687 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5688 return NULL;
5689 }
5690 }
5691 _arg2 = (bool ) tempbool2;
5692{
5693 wxPy_BEGIN_ALLOW_THREADS;
5694 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
5695
5696 wxPy_END_ALLOW_THREADS;
5697} Py_INCREF(Py_None);
d5c9047a 5698 _resultobj = Py_None;
8ab979d7
RD
5699 return _resultobj;
5700}
5701
f6bcfd97 5702static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
5703 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
5704 if (data == NULL) {
5705 data = new wxPyTreeItemData();
f6bcfd97 5706 data->SetId(item); // set the id
cf694132
RD
5707 self->SetItemData(item, data);
5708 }
5709 return data;
5710 }
efc5f224 5711static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
5712 PyObject * _resultobj;
5713 wxPyTreeItemData * _result;
f6bcfd97 5714 wxPyTreeCtrl * _arg0;
cf694132 5715 wxTreeItemId * _arg1;
1d99702e
RD
5716 PyObject * _argo0 = 0;
5717 PyObject * _argo1 = 0;
efc5f224 5718 char *_kwnames[] = { "self","item", NULL };
cf694132
RD
5719 char _ptemp[128];
5720
5721 self = self;
efc5f224 5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
cf694132 5723 return NULL;
1d99702e
RD
5724 if (_argo0) {
5725 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
5728 return NULL;
5729 }
5730 }
1d99702e
RD
5731 if (_argo1) {
5732 if (_argo1 == Py_None) { _arg1 = NULL; }
5733 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
5734 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5735 return NULL;
5736 }
5737 }
5738{
5739 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5740 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
cf694132
RD
5741
5742 wxPy_END_ALLOW_THREADS;
1d99702e
RD
5743} if (_result) {
5744 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
5745 _resultobj = Py_BuildValue("s",_ptemp);
5746 } else {
5747 Py_INCREF(Py_None);
5748 _resultobj = Py_None;
5749 }
cf694132
RD
5750 return _resultobj;
5751}
5752
f6bcfd97
BP
5753static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
5754 data->SetId(item); // set the id
5755 self->SetItemData(item, data);
c368d904 5756 }
efc5f224 5757static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5758 PyObject * _resultobj;
f6bcfd97 5759 wxPyTreeCtrl * _arg0;
d5c9047a 5760 wxTreeItemId * _arg1;
cf694132 5761 wxPyTreeItemData * _arg2;
1d99702e
RD
5762 PyObject * _argo0 = 0;
5763 PyObject * _argo1 = 0;
5764 PyObject * _argo2 = 0;
efc5f224 5765 char *_kwnames[] = { "self","item","data", NULL };
8ab979d7
RD
5766
5767 self = self;
efc5f224 5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
8ab979d7 5769 return NULL;
1d99702e
RD
5770 if (_argo0) {
5771 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5774 return NULL;
5775 }
5776 }
1d99702e
RD
5777 if (_argo1) {
5778 if (_argo1 == Py_None) { _arg1 = NULL; }
5779 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5780 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5781 return NULL;
5782 }
5783 }
1d99702e
RD
5784 if (_argo2) {
5785 if (_argo2 == Py_None) { _arg2 = NULL; }
5786 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
cf694132 5787 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
5788 return NULL;
5789 }
5790 }
cf694132
RD
5791{
5792 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5793 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
cf694132
RD
5794
5795 wxPy_END_ALLOW_THREADS;
5796} Py_INCREF(Py_None);
d5c9047a 5797 _resultobj = Py_None;
8ab979d7
RD
5798 return _resultobj;
5799}
5800
f6bcfd97 5801static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
cf694132
RD
5802 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
5803 if (data == NULL) {
5804 data = new wxPyTreeItemData();
f6bcfd97 5805 data->SetId(item); // set the id
cf694132
RD
5806 self->SetItemData(item, data);
5807 }
5808 return data->GetData();
c368d904 5809 }
efc5f224 5810static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 5811 PyObject * _resultobj;
cf694132 5812 PyObject * _result;
f6bcfd97 5813 wxPyTreeCtrl * _arg0;
08127323 5814 wxTreeItemId * _arg1;
1d99702e
RD
5815 PyObject * _argo0 = 0;
5816 PyObject * _argo1 = 0;
efc5f224 5817 char *_kwnames[] = { "self","item", NULL };
08127323
RD
5818
5819 self = self;
efc5f224 5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
08127323 5821 return NULL;
1d99702e
RD
5822 if (_argo0) {
5823 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
08127323
RD
5826 return NULL;
5827 }
5828 }
1d99702e
RD
5829 if (_argo1) {
5830 if (_argo1 == Py_None) { _arg1 = NULL; }
5831 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132 5832 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
08127323
RD
5833 return NULL;
5834 }
5835 }
cf694132
RD
5836{
5837 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5838 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
cf694132
RD
5839
5840 wxPy_END_ALLOW_THREADS;
5841}{
5842 _resultobj = _result;
5843}
5844 return _resultobj;
5845}
5846
f6bcfd97 5847static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
cf694132
RD
5848 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
5849 if (data == NULL) {
5850 data = new wxPyTreeItemData(obj);
f6bcfd97 5851 data->SetId(item); // set the id
cf694132
RD
5852 self->SetItemData(item, data);
5853 } else
5854 data->SetData(obj);
c368d904 5855 }
efc5f224 5856static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 5857 PyObject * _resultobj;
f6bcfd97 5858 wxPyTreeCtrl * _arg0;
cf694132
RD
5859 wxTreeItemId * _arg1;
5860 PyObject * _arg2;
1d99702e
RD
5861 PyObject * _argo0 = 0;
5862 PyObject * _argo1 = 0;
cf694132 5863 PyObject * _obj2 = 0;
efc5f224 5864 char *_kwnames[] = { "self","item","obj", NULL };
cf694132
RD
5865
5866 self = self;
efc5f224 5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
cf694132 5868 return NULL;
1d99702e
RD
5869 if (_argo0) {
5870 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
cf694132
RD
5873 return NULL;
5874 }
5875 }
1d99702e
RD
5876 if (_argo1) {
5877 if (_argo1 == Py_None) { _arg1 = NULL; }
5878 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
cf694132
RD
5879 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
5880 return NULL;
5881 }
5882 }
5883{
5884 _arg2 = _obj2;
5885}
5886{
5887 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5888 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
cf694132
RD
5889
5890 wxPy_END_ALLOW_THREADS;
5891} Py_INCREF(Py_None);
08127323
RD
5892 _resultobj = Py_None;
5893 return _resultobj;
5894}
5895
d5c9047a 5896#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
efc5f224 5897static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5898 PyObject * _resultobj;
d5c9047a 5899 bool _result;
f6bcfd97 5900 wxPyTreeCtrl * _arg0;
d5c9047a 5901 wxTreeItemId * _arg1;
1d99702e
RD
5902 PyObject * _argo0 = 0;
5903 PyObject * _argo1 = 0;
efc5f224 5904 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
5905
5906 self = self;
efc5f224 5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 5908 return NULL;
1d99702e
RD
5909 if (_argo0) {
5910 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5913 return NULL;
5914 }
5915 }
1d99702e
RD
5916 if (_argo1) {
5917 if (_argo1 == Py_None) { _arg1 = NULL; }
5918 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5919 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
5920 return NULL;
5921 }
5922 }
cf694132
RD
5923{
5924 wxPy_BEGIN_ALLOW_THREADS;
5925 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
5926
5927 wxPy_END_ALLOW_THREADS;
5928} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5929 return _resultobj;
5930}
5931
d5c9047a 5932#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
efc5f224 5933static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5934 PyObject * _resultobj;
d5c9047a 5935 bool _result;
f6bcfd97 5936 wxPyTreeCtrl * _arg0;
d5c9047a 5937 wxTreeItemId * _arg1;
1d99702e
RD
5938 PyObject * _argo0 = 0;
5939 PyObject * _argo1 = 0;
efc5f224 5940 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
5941
5942 self = self;
efc5f224 5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
8ab979d7 5944 return NULL;
1d99702e
RD
5945 if (_argo0) {
5946 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5949 return NULL;
5950 }
5951 }
1d99702e
RD
5952 if (_argo1) {
5953 if (_argo1 == Py_None) { _arg1 = NULL; }
5954 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5955 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
5956 return NULL;
5957 }
5958 }
cf694132
RD
5959{
5960 wxPy_BEGIN_ALLOW_THREADS;
5961 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
5962
5963 wxPy_END_ALLOW_THREADS;
5964} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5965 return _resultobj;
5966}
5967
d5c9047a 5968#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
efc5f224 5969static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5970 PyObject * _resultobj;
d5c9047a 5971 bool _result;
f6bcfd97 5972 wxPyTreeCtrl * _arg0;
d5c9047a 5973 wxTreeItemId * _arg1;
1d99702e
RD
5974 PyObject * _argo0 = 0;
5975 PyObject * _argo1 = 0;
efc5f224 5976 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
5977
5978 self = self;
efc5f224 5979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
8ab979d7 5980 return NULL;
1d99702e
RD
5981 if (_argo0) {
5982 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
5984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
5985 return NULL;
5986 }
5987 }
1d99702e
RD
5988 if (_argo1) {
5989 if (_argo1 == Py_None) { _arg1 = NULL; }
5990 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
5991 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
5992 return NULL;
5993 }
5994 }
cf694132
RD
5995{
5996 wxPy_BEGIN_ALLOW_THREADS;
5997 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
5998
5999 wxPy_END_ALLOW_THREADS;
6000} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6001 return _resultobj;
6002}
6003
d5c9047a 6004#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
efc5f224 6005static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6006 PyObject * _resultobj;
d5c9047a 6007 bool _result;
f6bcfd97 6008 wxPyTreeCtrl * _arg0;
d5c9047a 6009 wxTreeItemId * _arg1;
1d99702e
RD
6010 PyObject * _argo0 = 0;
6011 PyObject * _argo1 = 0;
efc5f224 6012 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
6013
6014 self = self;
efc5f224 6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 6016 return NULL;
1d99702e
RD
6017 if (_argo0) {
6018 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6021 return NULL;
6022 }
6023 }
1d99702e
RD
6024 if (_argo1) {
6025 if (_argo1 == Py_None) { _arg1 = NULL; }
6026 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6027 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6028 return NULL;
6029 }
6030 }
cf694132
RD
6031{
6032 wxPy_BEGIN_ALLOW_THREADS;
6033 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
6034
6035 wxPy_END_ALLOW_THREADS;
6036} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6037 return _resultobj;
6038}
6039
6040#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
efc5f224 6041static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6042 PyObject * _resultobj;
d5c9047a 6043 wxTreeItemId * _result;
f6bcfd97 6044 wxPyTreeCtrl * _arg0;
1d99702e 6045 PyObject * _argo0 = 0;
efc5f224 6046 char *_kwnames[] = { "self", NULL };
d5c9047a 6047 char _ptemp[128];
8ab979d7
RD
6048
6049 self = self;
efc5f224 6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
8ab979d7 6051 return NULL;
1d99702e
RD
6052 if (_argo0) {
6053 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6056 return NULL;
6057 }
6058 }
cf694132
RD
6059{
6060 wxPy_BEGIN_ALLOW_THREADS;
6061 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
6062
6063 wxPy_END_ALLOW_THREADS;
6064} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6065 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6066 return _resultobj;
6067}
6068
6069#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
efc5f224 6070static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6071 PyObject * _resultobj;
d5c9047a 6072 wxTreeItemId * _result;
f6bcfd97 6073 wxPyTreeCtrl * _arg0;
1d99702e 6074 PyObject * _argo0 = 0;
efc5f224 6075 char *_kwnames[] = { "self", NULL };
d5c9047a 6076 char _ptemp[128];
8ab979d7
RD
6077
6078 self = self;
efc5f224 6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 6080 return NULL;
1d99702e
RD
6081 if (_argo0) {
6082 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6085 return NULL;
6086 }
6087 }
cf694132
RD
6088{
6089 wxPy_BEGIN_ALLOW_THREADS;
6090 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
6091
6092 wxPy_END_ALLOW_THREADS;
6093} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6094 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6095 return _resultobj;
6096}
6097
eb715945
RD
6098#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6099static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6100 PyObject * _resultobj;
d5c9047a 6101 wxTreeItemId * _result;
f6bcfd97 6102 wxPyTreeCtrl * _arg0;
d5c9047a 6103 wxTreeItemId * _arg1;
1d99702e
RD
6104 PyObject * _argo0 = 0;
6105 PyObject * _argo1 = 0;
efc5f224 6106 char *_kwnames[] = { "self","item", NULL };
d5c9047a 6107 char _ptemp[128];
8ab979d7
RD
6108
6109 self = self;
eb715945 6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
8ab979d7 6111 return NULL;
1d99702e
RD
6112 if (_argo0) {
6113 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6116 return NULL;
6117 }
6118 }
1d99702e
RD
6119 if (_argo1) {
6120 if (_argo1 == Py_None) { _arg1 = NULL; }
6121 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
eb715945 6122 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
8ab979d7
RD
6123 return NULL;
6124 }
6125 }
cf694132
RD
6126{
6127 wxPy_BEGIN_ALLOW_THREADS;
eb715945 6128 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
cf694132
RD
6129
6130 wxPy_END_ALLOW_THREADS;
6131} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6132 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6133 return _resultobj;
6134}
6135
f6bcfd97 6136static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
26b9cf27 6137 bool doSave = wxPyRestoreThread();
d426c97e
RD
6138 PyObject* rval = PyList_New(0);
6139 wxArrayTreeItemIds array;
6140 size_t num, x;
6141 num = self->GetSelections(array);
6142 for (x=0; x < num; x++) {
c368d904
RD
6143 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
6144 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
d426c97e
RD
6145 PyList_Append(rval, item);
6146 }
26b9cf27 6147 wxPySaveThread(doSave);
d426c97e
RD
6148 return rval;
6149 }
6150static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6151 PyObject * _resultobj;
6152 PyObject * _result;
f6bcfd97 6153 wxPyTreeCtrl * _arg0;
d426c97e
RD
6154 PyObject * _argo0 = 0;
6155 char *_kwnames[] = { "self", NULL };
6156
6157 self = self;
6158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
6159 return NULL;
6160 if (_argo0) {
6161 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
6164 return NULL;
6165 }
6166 }
6167{
6168 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 6169 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
d426c97e
RD
6170
6171 wxPy_END_ALLOW_THREADS;
6172}{
6173 _resultobj = _result;
6174}
6175 return _resultobj;
6176}
6177
bb0054cd 6178#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
efc5f224 6179static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
6180 PyObject * _resultobj;
6181 size_t _result;
f6bcfd97 6182 wxPyTreeCtrl * _arg0;
bb0054cd 6183 wxTreeItemId * _arg1;
1d99702e
RD
6184 bool _arg2 = (bool ) TRUE;
6185 PyObject * _argo0 = 0;
6186 PyObject * _argo1 = 0;
6187 int tempbool2 = (int) TRUE;
efc5f224 6188 char *_kwnames[] = { "self","item","recursively", NULL };
bb0054cd
RD
6189
6190 self = self;
efc5f224 6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
bb0054cd 6192 return NULL;
1d99702e
RD
6193 if (_argo0) {
6194 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
bb0054cd
RD
6197 return NULL;
6198 }
6199 }
1d99702e
RD
6200 if (_argo1) {
6201 if (_argo1 == Py_None) { _arg1 = NULL; }
6202 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
bb0054cd
RD
6203 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6204 return NULL;
6205 }
6206 }
6207 _arg2 = (bool ) tempbool2;
6208{
6209 wxPy_BEGIN_ALLOW_THREADS;
6210 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
6211
6212 wxPy_END_ALLOW_THREADS;
6213} _resultobj = Py_BuildValue("i",_result);
6214 return _resultobj;
6215}
6216
d5c9047a 6217#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
efc5f224 6218static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6219 PyObject * _resultobj;
d5c9047a 6220 wxTreeItemId * _result;
f6bcfd97 6221 wxPyTreeCtrl * _arg0;
d5c9047a
RD
6222 wxTreeItemId * _arg1;
6223 long * _arg2;
1d99702e
RD
6224 PyObject * _argo0 = 0;
6225 PyObject * _argo1 = 0;
d5c9047a
RD
6226 long temp;
6227 PyObject * _obj2 = 0;
efc5f224 6228 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 6229 char _ptemp[128];
8ab979d7
RD
6230
6231 self = self;
efc5f224 6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 6233 return NULL;
1d99702e
RD
6234 if (_argo0) {
6235 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6238 return NULL;
6239 }
6240 }
1d99702e
RD
6241 if (_argo1) {
6242 if (_argo1 == Py_None) { _arg1 = NULL; }
6243 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 6244 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8ab979d7
RD
6245 return NULL;
6246 }
6247 }
d5c9047a
RD
6248{
6249 temp = (long) PyInt_AsLong(_obj2);
6250 _arg2 = &temp;
6251}
cf694132
RD
6252{
6253 wxPy_BEGIN_ALLOW_THREADS;
6254 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
6255
6256 wxPy_END_ALLOW_THREADS;
6257} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
6258 _resultobj = Py_BuildValue("s",_ptemp);
6259{
6260 PyObject *o;
6261 o = PyInt_FromLong((long) (*_arg2));
6262 _resultobj = t_output_helper(_resultobj, o);
6263}
8ab979d7
RD
6264 return _resultobj;
6265}
6266
d5c9047a 6267#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
efc5f224 6268static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6269 PyObject * _resultobj;
d5c9047a 6270 wxTreeItemId * _result;
f6bcfd97 6271 wxPyTreeCtrl * _arg0;
d5c9047a
RD
6272 wxTreeItemId * _arg1;
6273 long * _arg2;
1d99702e
RD
6274 PyObject * _argo0 = 0;
6275 PyObject * _argo1 = 0;
d5c9047a 6276 long temp;
8ab979d7 6277 PyObject * _obj2 = 0;
efc5f224 6278 char *_kwnames[] = { "self","item","INOUT", NULL };
d5c9047a 6279 char _ptemp[128];
8ab979d7
RD
6280
6281 self = self;
efc5f224 6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 6283 return NULL;
1d99702e
RD
6284 if (_argo0) {
6285 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6288 return NULL;
6289 }
6290 }
1d99702e
RD
6291 if (_argo1) {
6292 if (_argo1 == Py_None) { _arg1 = NULL; }
6293 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 6294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8ab979d7 6295 return NULL;
d5c9047a 6296 }
8ab979d7 6297 }
d5c9047a
RD
6298{
6299 temp = (long) PyInt_AsLong(_obj2);
6300 _arg2 = &temp;
8ab979d7 6301}
cf694132
RD
6302{
6303 wxPy_BEGIN_ALLOW_THREADS;
6304 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
6305
6306 wxPy_END_ALLOW_THREADS;
6307} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6308 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7 6309{
d5c9047a
RD
6310 PyObject *o;
6311 o = PyInt_FromLong((long) (*_arg2));
6312 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
6313}
6314 return _resultobj;
6315}
6316
d5c9047a 6317#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
efc5f224 6318static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6319 PyObject * _resultobj;
d5c9047a 6320 wxTreeItemId * _result;
f6bcfd97 6321 wxPyTreeCtrl * _arg0;
d5c9047a 6322 wxTreeItemId * _arg1;
1d99702e
RD
6323 PyObject * _argo0 = 0;
6324 PyObject * _argo1 = 0;
efc5f224 6325 char *_kwnames[] = { "self","item", NULL };
d5c9047a 6326 char _ptemp[128];
8ab979d7
RD
6327
6328 self = self;
efc5f224 6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 6330 return NULL;
1d99702e
RD
6331 if (_argo0) {
6332 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6335 return NULL;
6336 }
6337 }
1d99702e
RD
6338 if (_argo1) {
6339 if (_argo1 == Py_None) { _arg1 = NULL; }
6340 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6342 return NULL;
6343 }
6344 }
cf694132
RD
6345{
6346 wxPy_BEGIN_ALLOW_THREADS;
6347 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
6348
6349 wxPy_END_ALLOW_THREADS;
6350} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6351 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6352 return _resultobj;
6353}
6354
d5c9047a 6355#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
efc5f224 6356static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6357 PyObject * _resultobj;
d5c9047a 6358 wxTreeItemId * _result;
f6bcfd97 6359 wxPyTreeCtrl * _arg0;
d5c9047a 6360 wxTreeItemId * _arg1;
1d99702e
RD
6361 PyObject * _argo0 = 0;
6362 PyObject * _argo1 = 0;
efc5f224 6363 char *_kwnames[] = { "self","item", NULL };
d5c9047a 6364 char _ptemp[128];
8ab979d7
RD
6365
6366 self = self;
efc5f224 6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8ab979d7 6368 return NULL;
1d99702e
RD
6369 if (_argo0) {
6370 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6373 return NULL;
6374 }
6375 }
1d99702e
RD
6376 if (_argo1) {
6377 if (_argo1 == Py_None) { _arg1 = NULL; }
6378 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6379 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6380 return NULL;
6381 }
6382 }
cf694132
RD
6383{
6384 wxPy_BEGIN_ALLOW_THREADS;
6385 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
6386
6387 wxPy_END_ALLOW_THREADS;
6388} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6389 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6390 return _resultobj;
6391}
6392
d5c9047a 6393#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
efc5f224 6394static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6395 PyObject * _resultobj;
d5c9047a 6396 wxTreeItemId * _result;
f6bcfd97 6397 wxPyTreeCtrl * _arg0;
1d99702e 6398 PyObject * _argo0 = 0;
efc5f224 6399 char *_kwnames[] = { "self", NULL };
d5c9047a 6400 char _ptemp[128];
8ab979d7
RD
6401
6402 self = self;
efc5f224 6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8ab979d7 6404 return NULL;
1d99702e
RD
6405 if (_argo0) {
6406 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6409 return NULL;
6410 }
6411 }
cf694132
RD
6412{
6413 wxPy_BEGIN_ALLOW_THREADS;
6414 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
6415
6416 wxPy_END_ALLOW_THREADS;
6417} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6418 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6419 return _resultobj;
6420}
6421
d5c9047a 6422#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
efc5f224 6423static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6424 PyObject * _resultobj;
d5c9047a 6425 wxTreeItemId * _result;
f6bcfd97 6426 wxPyTreeCtrl * _arg0;
d5c9047a 6427 wxTreeItemId * _arg1;
1d99702e
RD
6428 PyObject * _argo0 = 0;
6429 PyObject * _argo1 = 0;
efc5f224 6430 char *_kwnames[] = { "self","item", NULL };
d5c9047a 6431 char _ptemp[128];
8ab979d7
RD
6432
6433 self = self;
efc5f224 6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 6435 return NULL;
1d99702e
RD
6436 if (_argo0) {
6437 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6440 return NULL;
6441 }
6442 }
1d99702e
RD
6443 if (_argo1) {
6444 if (_argo1 == Py_None) { _arg1 = NULL; }
6445 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6446 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6447 return NULL;
6448 }
6449 }
cf694132
RD
6450{
6451 wxPy_BEGIN_ALLOW_THREADS;
6452 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
6453
6454 wxPy_END_ALLOW_THREADS;
6455} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6456 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6457 return _resultobj;
6458}
6459
d5c9047a 6460#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
efc5f224 6461static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6462 PyObject * _resultobj;
d5c9047a 6463 wxTreeItemId * _result;
f6bcfd97 6464 wxPyTreeCtrl * _arg0;
d5c9047a 6465 wxTreeItemId * _arg1;
1d99702e
RD
6466 PyObject * _argo0 = 0;
6467 PyObject * _argo1 = 0;
efc5f224 6468 char *_kwnames[] = { "self","item", NULL };
d5c9047a 6469 char _ptemp[128];
8ab979d7
RD
6470
6471 self = self;
efc5f224 6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8ab979d7 6473 return NULL;
1d99702e
RD
6474 if (_argo0) {
6475 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6478 return NULL;
6479 }
6480 }
1d99702e
RD
6481 if (_argo1) {
6482 if (_argo1 == Py_None) { _arg1 = NULL; }
6483 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 6484 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8ab979d7
RD
6485 return NULL;
6486 }
6487 }
cf694132
RD
6488{
6489 wxPy_BEGIN_ALLOW_THREADS;
6490 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
6491
6492 wxPy_END_ALLOW_THREADS;
6493} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6494 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6495 return _resultobj;
6496}
6497
d426c97e
RD
6498#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6499static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject * _resultobj;
6501 wxTreeItemId * _result;
f6bcfd97 6502 wxPyTreeCtrl * _arg0;
d426c97e
RD
6503 wxTreeItemId * _arg1;
6504 PyObject * _argo0 = 0;
6505 PyObject * _argo1 = 0;
6506 char *_kwnames[] = { "self","item", NULL };
6507 char _ptemp[128];
6508
6509 self = self;
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
6511 return NULL;
6512 if (_argo0) {
6513 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
6516 return NULL;
6517 }
6518 }
6519 if (_argo1) {
6520 if (_argo1 == Py_None) { _arg1 = NULL; }
6521 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6522 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6523 return NULL;
6524 }
6525 }
6526{
6527 wxPy_BEGIN_ALLOW_THREADS;
6528 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
6529
6530 wxPy_END_ALLOW_THREADS;
6531} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6532 _resultobj = Py_BuildValue("s",_ptemp);
6533 return _resultobj;
6534}
6535
d5c9047a 6536#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 6537static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6538 PyObject * _resultobj;
d5c9047a 6539 wxTreeItemId * _result;
f6bcfd97 6540 wxPyTreeCtrl * _arg0;
d5c9047a 6541 wxString * _arg1;
1d99702e
RD
6542 int _arg2 = (int ) -1;
6543 int _arg3 = (int ) -1;
6544 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
6545 PyObject * _argo0 = 0;
d5c9047a 6546 PyObject * _obj1 = 0;
1d99702e 6547 PyObject * _argo4 = 0;
efc5f224 6548 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
d5c9047a 6549 char _ptemp[128];
8ab979d7
RD
6550
6551 self = self;
efc5f224 6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8ab979d7 6553 return NULL;
1d99702e
RD
6554 if (_argo0) {
6555 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6558 return NULL;
6559 }
6560 }
d5c9047a 6561{
2cd2fac8
RD
6562#if PYTHON_API_VERSION >= 1009
6563 char* tmpPtr; int tmpSize;
6564 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6565 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6566 return NULL;
6567 }
6568 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6569 return NULL;
6570 _arg1 = new wxString(tmpPtr, tmpSize);
6571#else
d5c9047a
RD
6572 if (!PyString_Check(_obj1)) {
6573 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6574 return NULL;
6575 }
2cd2fac8
RD
6576 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6577#endif
d5c9047a 6578}
1d99702e
RD
6579 if (_argo4) {
6580 if (_argo4 == Py_None) { _arg4 = NULL; }
6581 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
cf694132 6582 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8ab979d7
RD
6583 return NULL;
6584 }
6585 }
cf694132
RD
6586{
6587 wxPy_BEGIN_ALLOW_THREADS;
6588 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
6589
6590 wxPy_END_ALLOW_THREADS;
6591} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
6592 _resultobj = Py_BuildValue("s",_ptemp);
6593{
6594 if (_obj1)
6595 delete _arg1;
6596}
8ab979d7
RD
6597 return _resultobj;
6598}
6599
d5c9047a 6600#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 6601static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6602 PyObject * _resultobj;
d5c9047a 6603 wxTreeItemId * _result;
f6bcfd97 6604 wxPyTreeCtrl * _arg0;
d5c9047a
RD
6605 wxTreeItemId * _arg1;
6606 wxString * _arg2;
1d99702e
RD
6607 int _arg3 = (int ) -1;
6608 int _arg4 = (int ) -1;
6609 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
6610 PyObject * _argo0 = 0;
6611 PyObject * _argo1 = 0;
d5c9047a 6612 PyObject * _obj2 = 0;
1d99702e 6613 PyObject * _argo5 = 0;
efc5f224 6614 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 6615 char _ptemp[128];
8ab979d7
RD
6616
6617 self = self;
efc5f224 6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 6619 return NULL;
1d99702e
RD
6620 if (_argo0) {
6621 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6624 return NULL;
6625 }
6626 }
1d99702e
RD
6627 if (_argo1) {
6628 if (_argo1 == Py_None) { _arg1 = NULL; }
6629 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6630 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6631 return NULL;
6632 }
6633 }
6634{
2cd2fac8
RD
6635#if PYTHON_API_VERSION >= 1009
6636 char* tmpPtr; int tmpSize;
6637 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6638 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6639 return NULL;
6640 }
6641 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6642 return NULL;
6643 _arg2 = new wxString(tmpPtr, tmpSize);
6644#else
d5c9047a
RD
6645 if (!PyString_Check(_obj2)) {
6646 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6647 return NULL;
6648 }
2cd2fac8
RD
6649 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6650#endif
d5c9047a 6651}
1d99702e
RD
6652 if (_argo5) {
6653 if (_argo5 == Py_None) { _arg5 = NULL; }
6654 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 6655 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
6656 return NULL;
6657 }
6658 }
cf694132
RD
6659{
6660 wxPy_BEGIN_ALLOW_THREADS;
6661 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
6662
6663 wxPy_END_ALLOW_THREADS;
6664} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
6665 _resultobj = Py_BuildValue("s",_ptemp);
6666{
6667 if (_obj2)
6668 delete _arg2;
6669}
8ab979d7
RD
6670 return _resultobj;
6671}
6672
d5c9047a 6673#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 6674static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6675 PyObject * _resultobj;
d5c9047a 6676 wxTreeItemId * _result;
f6bcfd97 6677 wxPyTreeCtrl * _arg0;
d5c9047a
RD
6678 wxTreeItemId * _arg1;
6679 wxTreeItemId * _arg2;
6680 wxString * _arg3;
1d99702e
RD
6681 int _arg4 = (int ) -1;
6682 int _arg5 = (int ) -1;
6683 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
6684 PyObject * _argo0 = 0;
6685 PyObject * _argo1 = 0;
6686 PyObject * _argo2 = 0;
d5c9047a 6687 PyObject * _obj3 = 0;
1d99702e 6688 PyObject * _argo6 = 0;
efc5f224 6689 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
d5c9047a 6690 char _ptemp[128];
8ab979d7
RD
6691
6692 self = self;
efc5f224 6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8ab979d7 6694 return NULL;
1d99702e
RD
6695 if (_argo0) {
6696 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6699 return NULL;
6700 }
6701 }
1d99702e
RD
6702 if (_argo1) {
6703 if (_argo1 == Py_None) { _arg1 = NULL; }
6704 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6705 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6706 return NULL;
6707 }
6708 }
1d99702e
RD
6709 if (_argo2) {
6710 if (_argo2 == Py_None) { _arg2 = NULL; }
6711 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
d5c9047a
RD
6712 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6713 return NULL;
6714 }
6715 }
6716{
2cd2fac8
RD
6717#if PYTHON_API_VERSION >= 1009
6718 char* tmpPtr; int tmpSize;
6719 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
6720 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6721 return NULL;
6722 }
6723 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6724 return NULL;
6725 _arg3 = new wxString(tmpPtr, tmpSize);
6726#else
d5c9047a
RD
6727 if (!PyString_Check(_obj3)) {
6728 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6729 return NULL;
6730 }
2cd2fac8
RD
6731 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6732#endif
d5c9047a 6733}
1d99702e
RD
6734 if (_argo6) {
6735 if (_argo6 == Py_None) { _arg6 = NULL; }
6736 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
cf694132 6737 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
6738 return NULL;
6739 }
6740 }
cf694132
RD
6741{
6742 wxPy_BEGIN_ALLOW_THREADS;
6743 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
6744
6745 wxPy_END_ALLOW_THREADS;
6746} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a
RD
6747 _resultobj = Py_BuildValue("s",_ptemp);
6748{
6749 if (_obj3)
6750 delete _arg3;
6751}
8ab979d7
RD
6752 return _resultobj;
6753}
6754
f6bcfd97
BP
6755#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6756static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
6757 PyObject * _resultobj;
6758 wxTreeItemId * _result;
6759 wxPyTreeCtrl * _arg0;
6760 wxTreeItemId * _arg1;
6761 size_t _arg2;
6762 wxString * _arg3;
6763 int _arg4 = (int ) -1;
6764 int _arg5 = (int ) -1;
6765 wxTreeItemData * _arg6 = (wxTreeItemData *) NULL;
6766 PyObject * _argo0 = 0;
6767 PyObject * _argo1 = 0;
6768 PyObject * _obj3 = 0;
6769 PyObject * _argo6 = 0;
6770 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
6771 char _ptemp[128];
6772
6773 self = self;
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
6775 return NULL;
6776 if (_argo0) {
6777 if (_argo0 == Py_None) { _arg0 = NULL; }
6778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6780 return NULL;
6781 }
6782 }
6783 if (_argo1) {
6784 if (_argo1 == Py_None) { _arg1 = NULL; }
6785 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6786 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
6787 return NULL;
6788 }
6789 }
6790{
2cd2fac8
RD
6791#if PYTHON_API_VERSION >= 1009
6792 char* tmpPtr; int tmpSize;
6793 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
6794 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6795 return NULL;
6796 }
6797 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6798 return NULL;
6799 _arg3 = new wxString(tmpPtr, tmpSize);
6800#else
f6bcfd97
BP
6801 if (!PyString_Check(_obj3)) {
6802 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6803 return NULL;
6804 }
2cd2fac8
RD
6805 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6806#endif
f6bcfd97
BP
6807}
6808 if (_argo6) {
6809 if (_argo6 == Py_None) { _arg6 = NULL; }
6810 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxTreeItemData_p")) {
6811 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
6812 return NULL;
6813 }
6814 }
6815{
6816 wxPy_BEGIN_ALLOW_THREADS;
6817 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
6818
6819 wxPy_END_ALLOW_THREADS;
6820} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6821 _resultobj = Py_BuildValue("s",_ptemp);
6822{
6823 if (_obj3)
6824 delete _arg3;
6825}
6826 return _resultobj;
6827}
6828
d5c9047a 6829#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 6830static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6831 PyObject * _resultobj;
d5c9047a 6832 wxTreeItemId * _result;
f6bcfd97 6833 wxPyTreeCtrl * _arg0;
d5c9047a 6834 wxTreeItemId * _arg1;
8ab979d7 6835 wxString * _arg2;
1d99702e
RD
6836 int _arg3 = (int ) -1;
6837 int _arg4 = (int ) -1;
6838 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
6839 PyObject * _argo0 = 0;
6840 PyObject * _argo1 = 0;
8ab979d7 6841 PyObject * _obj2 = 0;
1d99702e 6842 PyObject * _argo5 = 0;
efc5f224 6843 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
d5c9047a 6844 char _ptemp[128];
8ab979d7
RD
6845
6846 self = self;
efc5f224 6847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8ab979d7 6848 return NULL;
1d99702e
RD
6849 if (_argo0) {
6850 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
6853 return NULL;
6854 }
6855 }
1d99702e
RD
6856 if (_argo1) {
6857 if (_argo1 == Py_None) { _arg1 = NULL; }
6858 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a 6859 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8ab979d7
RD
6860 return NULL;
6861 }
6862 }
6863{
2cd2fac8
RD
6864#if PYTHON_API_VERSION >= 1009
6865 char* tmpPtr; int tmpSize;
6866 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6867 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6868 return NULL;
6869 }
6870 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6871 return NULL;
6872 _arg2 = new wxString(tmpPtr, tmpSize);
6873#else
8ab979d7
RD
6874 if (!PyString_Check(_obj2)) {
6875 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6876 return NULL;
6877 }
2cd2fac8
RD
6878 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6879#endif
8ab979d7 6880}
1d99702e
RD
6881 if (_argo5) {
6882 if (_argo5 == Py_None) { _arg5 = NULL; }
6883 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
cf694132 6884 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
d5c9047a
RD
6885 return NULL;
6886 }
6887 }
cf694132
RD
6888{
6889 wxPy_BEGIN_ALLOW_THREADS;
6890 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
6891
6892 wxPy_END_ALLOW_THREADS;
6893} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
d5c9047a 6894 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6895{
6896 if (_obj2)
6897 delete _arg2;
6898}
6899 return _resultobj;
6900}
6901
d5c9047a 6902#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
efc5f224 6903static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6904 PyObject * _resultobj;
f6bcfd97 6905 wxPyTreeCtrl * _arg0;
d5c9047a 6906 wxTreeItemId * _arg1;
1d99702e
RD
6907 PyObject * _argo0 = 0;
6908 PyObject * _argo1 = 0;
efc5f224 6909 char *_kwnames[] = { "self","item", NULL };
8ab979d7
RD
6910
6911 self = self;
efc5f224 6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8ab979d7 6913 return NULL;
1d99702e
RD
6914 if (_argo0) {
6915 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8ab979d7
RD
6918 return NULL;
6919 }
6920 }
1d99702e
RD
6921 if (_argo1) {
6922 if (_argo1 == Py_None) { _arg1 = NULL; }
6923 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
6924 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
6925 return NULL;
6926 }
6927 }
cf694132
RD
6928{
6929 wxPy_BEGIN_ALLOW_THREADS;
6930 wxTreeCtrl_Delete(_arg0,*_arg1);
6931
6932 wxPy_END_ALLOW_THREADS;
6933} Py_INCREF(Py_None);
d5c9047a
RD
6934 _resultobj = Py_None;
6935 return _resultobj;
6936}
6937
08127323 6938#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
efc5f224 6939static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
08127323 6940 PyObject * _resultobj;
f6bcfd97 6941 wxPyTreeCtrl * _arg0;
08127323 6942 wxTreeItemId * _arg1;
1d99702e
RD
6943 PyObject * _argo0 = 0;
6944 PyObject * _argo1 = 0;
efc5f224 6945 char *_kwnames[] = { "self","item", NULL };
08127323
RD
6946
6947 self = self;
efc5f224 6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
08127323 6949 return NULL;
1d99702e
RD
6950 if (_argo0) {
6951 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
08127323
RD
6954 return NULL;
6955 }
6956 }
1d99702e
RD
6957 if (_argo1) {
6958 if (_argo1 == Py_None) { _arg1 = NULL; }
6959 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
08127323
RD
6960 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
6961 return NULL;
6962 }
6963 }
cf694132
RD
6964{
6965 wxPy_BEGIN_ALLOW_THREADS;
6966 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
6967
6968 wxPy_END_ALLOW_THREADS;
6969} Py_INCREF(Py_None);
08127323
RD
6970 _resultobj = Py_None;
6971 return _resultobj;
6972}
6973
d5c9047a 6974#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
efc5f224 6975static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 6976 PyObject * _resultobj;
f6bcfd97 6977 wxPyTreeCtrl * _arg0;
1d99702e 6978 PyObject * _argo0 = 0;
efc5f224 6979 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
6980
6981 self = self;
efc5f224 6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
d5c9047a 6983 return NULL;
1d99702e
RD
6984 if (_argo0) {
6985 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
6986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
6988 return NULL;
6989 }
6990 }
cf694132
RD
6991{
6992 wxPy_BEGIN_ALLOW_THREADS;
6993 wxTreeCtrl_DeleteAllItems(_arg0);
6994
6995 wxPy_END_ALLOW_THREADS;
6996} Py_INCREF(Py_None);
d5c9047a
RD
6997 _resultobj = Py_None;
6998 return _resultobj;
6999}
7000
7001#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
efc5f224 7002static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 7003 PyObject * _resultobj;
f6bcfd97 7004 wxPyTreeCtrl * _arg0;
d5c9047a 7005 wxTreeItemId * _arg1;
1d99702e
RD
7006 PyObject * _argo0 = 0;
7007 PyObject * _argo1 = 0;
efc5f224 7008 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
7009
7010 self = self;
efc5f224 7011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
d5c9047a 7012 return NULL;
1d99702e
RD
7013 if (_argo0) {
7014 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
7017 return NULL;
7018 }
7019 }
1d99702e
RD
7020 if (_argo1) {
7021 if (_argo1 == Py_None) { _arg1 = NULL; }
7022 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7023 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7024 return NULL;
7025 }
7026 }
cf694132
RD
7027{
7028 wxPy_BEGIN_ALLOW_THREADS;
7029 wxTreeCtrl_Expand(_arg0,*_arg1);
7030
7031 wxPy_END_ALLOW_THREADS;
7032} Py_INCREF(Py_None);
d5c9047a
RD
7033 _resultobj = Py_None;
7034 return _resultobj;
7035}
7036
7037#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
efc5f224 7038static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 7039 PyObject * _resultobj;
f6bcfd97 7040 wxPyTreeCtrl * _arg0;
d5c9047a 7041 wxTreeItemId * _arg1;
1d99702e
RD
7042 PyObject * _argo0 = 0;
7043 PyObject * _argo1 = 0;
efc5f224 7044 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
7045
7046 self = self;
efc5f224 7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
d5c9047a 7048 return NULL;
1d99702e
RD
7049 if (_argo0) {
7050 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
7053 return NULL;
7054 }
7055 }
1d99702e
RD
7056 if (_argo1) {
7057 if (_argo1 == Py_None) { _arg1 = NULL; }
7058 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7059 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7060 return NULL;
7061 }
7062 }
cf694132
RD
7063{
7064 wxPy_BEGIN_ALLOW_THREADS;
7065 wxTreeCtrl_Collapse(_arg0,*_arg1);
7066
7067 wxPy_END_ALLOW_THREADS;
7068} Py_INCREF(Py_None);
d5c9047a
RD
7069 _resultobj = Py_None;
7070 return _resultobj;
7071}
7072
7073#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
efc5f224 7074static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 7075 PyObject * _resultobj;
f6bcfd97 7076 wxPyTreeCtrl * _arg0;
d5c9047a 7077 wxTreeItemId * _arg1;
1d99702e
RD
7078 PyObject * _argo0 = 0;
7079 PyObject * _argo1 = 0;
efc5f224 7080 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
7081
7082 self = self;
efc5f224 7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
d5c9047a 7084 return NULL;
1d99702e
RD
7085 if (_argo0) {
7086 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
7089 return NULL;
7090 }
7091 }
1d99702e
RD
7092 if (_argo1) {
7093 if (_argo1 == Py_None) { _arg1 = NULL; }
7094 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7095 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7096 return NULL;
7097 }
7098 }
cf694132
RD
7099{
7100 wxPy_BEGIN_ALLOW_THREADS;
7101 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
7102
7103 wxPy_END_ALLOW_THREADS;
7104} Py_INCREF(Py_None);
d5c9047a
RD
7105 _resultobj = Py_None;
7106 return _resultobj;
7107}
7108
7109#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
efc5f224 7110static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 7111 PyObject * _resultobj;
f6bcfd97 7112 wxPyTreeCtrl * _arg0;
d5c9047a 7113 wxTreeItemId * _arg1;
1d99702e
RD
7114 PyObject * _argo0 = 0;
7115 PyObject * _argo1 = 0;
efc5f224 7116 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
7117
7118 self = self;
efc5f224 7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
d5c9047a 7120 return NULL;
1d99702e
RD
7121 if (_argo0) {
7122 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
7125 return NULL;
7126 }
7127 }
1d99702e
RD
7128 if (_argo1) {
7129 if (_argo1 == Py_None) { _arg1 = NULL; }
7130 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7131 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7132 return NULL;
7133 }
7134 }
cf694132
RD
7135{
7136 wxPy_BEGIN_ALLOW_THREADS;
7137 wxTreeCtrl_Toggle(_arg0,*_arg1);
7138
7139 wxPy_END_ALLOW_THREADS;
7140} Py_INCREF(Py_None);
d5c9047a
RD
7141 _resultobj = Py_None;
7142 return _resultobj;
7143}
7144
7145#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
efc5f224 7146static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 7147 PyObject * _resultobj;
f6bcfd97 7148 wxPyTreeCtrl * _arg0;
1d99702e 7149 PyObject * _argo0 = 0;
efc5f224 7150 char *_kwnames[] = { "self", NULL };
d5c9047a
RD
7151
7152 self = self;
efc5f224 7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
d5c9047a 7154 return NULL;
1d99702e
RD
7155 if (_argo0) {
7156 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
7159 return NULL;
7160 }
7161 }
cf694132
RD
7162{
7163 wxPy_BEGIN_ALLOW_THREADS;
7164 wxTreeCtrl_Unselect(_arg0);
7165
7166 wxPy_END_ALLOW_THREADS;
7167} Py_INCREF(Py_None);
d5c9047a
RD
7168 _resultobj = Py_None;
7169 return _resultobj;
7170}
7171
8bf5d46e 7172#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
efc5f224 7173static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 7174 PyObject * _resultobj;
f6bcfd97 7175 wxPyTreeCtrl * _arg0;
1d99702e 7176 PyObject * _argo0 = 0;
efc5f224 7177 char *_kwnames[] = { "self", NULL };
8bf5d46e
RD
7178
7179 self = self;
efc5f224 7180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
8bf5d46e 7181 return NULL;
1d99702e
RD
7182 if (_argo0) {
7183 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8bf5d46e
RD
7186 return NULL;
7187 }
7188 }
7189{
7190 wxPy_BEGIN_ALLOW_THREADS;
7191 wxTreeCtrl_UnselectAll(_arg0);
7192
7193 wxPy_END_ALLOW_THREADS;
7194} Py_INCREF(Py_None);
7195 _resultobj = Py_None;
7196 return _resultobj;
7197}
7198
d5c9047a 7199#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
efc5f224 7200static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 7201 PyObject * _resultobj;
f6bcfd97 7202 wxPyTreeCtrl * _arg0;
d5c9047a 7203 wxTreeItemId * _arg1;
1d99702e
RD
7204 PyObject * _argo0 = 0;
7205 PyObject * _argo1 = 0;
efc5f224 7206 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
7207
7208 self = self;
efc5f224 7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
d5c9047a 7210 return NULL;
1d99702e
RD
7211 if (_argo0) {
7212 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
7215 return NULL;
7216 }
7217 }
1d99702e
RD
7218 if (_argo1) {
7219 if (_argo1 == Py_None) { _arg1 = NULL; }
7220 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7221 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7222 return NULL;
7223 }
7224 }
cf694132
RD
7225{
7226 wxPy_BEGIN_ALLOW_THREADS;
7227 wxTreeCtrl_SelectItem(_arg0,*_arg1);
7228
7229 wxPy_END_ALLOW_THREADS;
7230} Py_INCREF(Py_None);
d5c9047a
RD
7231 _resultobj = Py_None;
7232 return _resultobj;
7233}
7234
7235#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
efc5f224 7236static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 7237 PyObject * _resultobj;
f6bcfd97 7238 wxPyTreeCtrl * _arg0;
d5c9047a 7239 wxTreeItemId * _arg1;
1d99702e
RD
7240 PyObject * _argo0 = 0;
7241 PyObject * _argo1 = 0;
efc5f224 7242 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
7243
7244 self = self;
efc5f224 7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
d5c9047a 7246 return NULL;
1d99702e
RD
7247 if (_argo0) {
7248 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
7251 return NULL;
7252 }
7253 }
1d99702e
RD
7254 if (_argo1) {
7255 if (_argo1 == Py_None) { _arg1 = NULL; }
7256 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7257 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7258 return NULL;
7259 }
7260 }
cf694132
RD
7261{
7262 wxPy_BEGIN_ALLOW_THREADS;
7263 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
7264
7265 wxPy_END_ALLOW_THREADS;
7266} Py_INCREF(Py_None);
d5c9047a
RD
7267 _resultobj = Py_None;
7268 return _resultobj;
7269}
7270
7271#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
efc5f224 7272static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 7273 PyObject * _resultobj;
f6bcfd97 7274 wxPyTreeCtrl * _arg0;
d5c9047a 7275 wxTreeItemId * _arg1;
1d99702e
RD
7276 PyObject * _argo0 = 0;
7277 PyObject * _argo1 = 0;
efc5f224 7278 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
7279
7280 self = self;
efc5f224 7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
d5c9047a 7282 return NULL;
1d99702e
RD
7283 if (_argo0) {
7284 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
7287 return NULL;
7288 }
7289 }
1d99702e
RD
7290 if (_argo1) {
7291 if (_argo1 == Py_None) { _arg1 = NULL; }
7292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7294 return NULL;
7295 }
7296 }
cf694132
RD
7297{
7298 wxPy_BEGIN_ALLOW_THREADS;
7299 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
7300
7301 wxPy_END_ALLOW_THREADS;
7302} Py_INCREF(Py_None);
d5c9047a
RD
7303 _resultobj = Py_None;
7304 return _resultobj;
7305}
7306
7307#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
efc5f224 7308static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d5c9047a 7309 PyObject * _resultobj;
f6bcfd97 7310 wxPyTreeCtrl * _arg0;
d5c9047a 7311 wxTreeItemId * _arg1;
1d99702e
RD
7312 PyObject * _argo0 = 0;
7313 PyObject * _argo1 = 0;
efc5f224 7314 char *_kwnames[] = { "self","item", NULL };
d5c9047a
RD
7315
7316 self = self;
efc5f224 7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
d5c9047a 7318 return NULL;
1d99702e
RD
7319 if (_argo0) {
7320 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
d5c9047a
RD
7323 return NULL;
7324 }
7325 }
1d99702e
RD
7326 if (_argo1) {
7327 if (_argo1 == Py_None) { _arg1 = NULL; }
7328 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
d5c9047a
RD
7329 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7330 return NULL;
7331 }
7332 }
cf694132
RD
7333{
7334 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 7335 wxTreeCtrl_EditLabel(_arg0,*_arg1);
cf694132
RD
7336
7337 wxPy_END_ALLOW_THREADS;
7338} Py_INCREF(Py_None);
d5c9047a 7339 _resultobj = Py_None;
8ab979d7
RD
7340 return _resultobj;
7341}
7342
d426c97e
RD
7343#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7344static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
7345 PyObject * _resultobj;
f6bcfd97 7346 wxPyTreeCtrl * _arg0;
d426c97e
RD
7347 wxTreeItemId * _arg1;
7348 PyObject * _argo0 = 0;
7349 PyObject * _argo1 = 0;
7350 char *_kwnames[] = { "self","item", NULL };
7351
7352 self = self;
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
7354 return NULL;
7355 if (_argo0) {
7356 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
d426c97e
RD
7359 return NULL;
7360 }
7361 }
7362 if (_argo1) {
7363 if (_argo1 == Py_None) { _arg1 = NULL; }
7364 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7365 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7366 return NULL;
7367 }
7368 }
7369{
7370 wxPy_BEGIN_ALLOW_THREADS;
7371 wxTreeCtrl_SortChildren(_arg0,*_arg1);
7372
7373 wxPy_END_ALLOW_THREADS;
7374} Py_INCREF(Py_None);
7375 _resultobj = Py_None;
7376 return _resultobj;
7377}
7378
b8b8dda7 7379#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
efc5f224 7380static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7 7381 PyObject * _resultobj;
f6bcfd97 7382 wxPyTreeCtrl * _arg0;
b8b8dda7 7383 wxTreeItemId * _arg1;
b1462dfa 7384 int _arg2 = (int ) TRUE;
1d99702e
RD
7385 PyObject * _argo0 = 0;
7386 PyObject * _argo1 = 0;
efc5f224 7387 char *_kwnames[] = { "self","item","bold", NULL };
b8b8dda7
RD
7388
7389 self = self;
b1462dfa 7390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
b8b8dda7 7391 return NULL;
1d99702e
RD
7392 if (_argo0) {
7393 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
7396 return NULL;
7397 }
7398 }
1d99702e
RD
7399 if (_argo1) {
7400 if (_argo1 == Py_None) { _arg1 = NULL; }
7401 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
7402 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7403 return NULL;
7404 }
7405 }
cf694132
RD
7406{
7407 wxPy_BEGIN_ALLOW_THREADS;
7408 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
7409
7410 wxPy_END_ALLOW_THREADS;
7411} Py_INCREF(Py_None);
b8b8dda7
RD
7412 _resultobj = Py_None;
7413 return _resultobj;
7414}
7415
7416#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
efc5f224 7417static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
7418 PyObject * _resultobj;
7419 bool _result;
f6bcfd97 7420 wxPyTreeCtrl * _arg0;
b8b8dda7 7421 wxTreeItemId * _arg1;
1d99702e
RD
7422 PyObject * _argo0 = 0;
7423 PyObject * _argo1 = 0;
efc5f224 7424 char *_kwnames[] = { "self","item", NULL };
b8b8dda7
RD
7425
7426 self = self;
efc5f224 7427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
b8b8dda7 7428 return NULL;
1d99702e
RD
7429 if (_argo0) {
7430 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
7433 return NULL;
7434 }
7435 }
1d99702e
RD
7436 if (_argo1) {
7437 if (_argo1 == Py_None) { _arg1 = NULL; }
7438 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
b8b8dda7
RD
7439 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7440 return NULL;
7441 }
7442 }
cf694132
RD
7443{
7444 wxPy_BEGIN_ALLOW_THREADS;
7445 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
7446
7447 wxPy_END_ALLOW_THREADS;
7448} _resultobj = Py_BuildValue("i",_result);
b8b8dda7
RD
7449 return _resultobj;
7450}
7451
164b735b 7452#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
efc5f224 7453static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
b8b8dda7
RD
7454 PyObject * _resultobj;
7455 wxTreeItemId * _result;
f6bcfd97 7456 wxPyTreeCtrl * _arg0;
b8b8dda7 7457 wxPoint * _arg1;
164b735b
RD
7458 int * _arg2;
7459 int temp;
1d99702e 7460 PyObject * _argo0 = 0;
164b735b 7461 wxPoint temp0;
2f90df85 7462 PyObject * _obj1 = 0;
efc5f224 7463 char *_kwnames[] = { "self","point", NULL };
b8b8dda7
RD
7464 char _ptemp[128];
7465
7466 self = self;
164b735b
RD
7467{
7468 _arg2 = &temp;
7469}
2f90df85 7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
b8b8dda7 7471 return NULL;
1d99702e
RD
7472 if (_argo0) {
7473 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
b8b8dda7
RD
7476 return NULL;
7477 }
7478 }
2f90df85 7479{
164b735b 7480 _arg1 = &temp0;
2f90df85 7481 if (! wxPoint_helper(_obj1, &_arg1))
b8b8dda7 7482 return NULL;
2f90df85 7483}
cf694132
RD
7484{
7485 wxPy_BEGIN_ALLOW_THREADS;
164b735b 7486 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
cf694132
RD
7487
7488 wxPy_END_ALLOW_THREADS;
7489} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
b8b8dda7 7490 _resultobj = Py_BuildValue("s",_ptemp);
164b735b
RD
7491{
7492 PyObject *o;
7493 o = PyInt_FromLong((long) (*_arg2));
7494 _resultobj = t_output_helper(_resultobj, o);
7495}
b8b8dda7
RD
7496 return _resultobj;
7497}
7498
b7e72427
RD
7499#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7500static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject * _resultobj;
f6bcfd97 7502 wxPyTreeCtrl * _arg0;
b7e72427
RD
7503 wxTreeItemId * _arg1;
7504 wxColour * _arg2;
7505 PyObject * _argo0 = 0;
7506 PyObject * _argo1 = 0;
f6bcfd97
BP
7507 wxColour temp;
7508 PyObject * _obj2 = 0;
b7e72427
RD
7509 char *_kwnames[] = { "self","item","col", NULL };
7510
7511 self = self;
f6bcfd97 7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
7513 return NULL;
7514 if (_argo0) {
7515 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
7518 return NULL;
7519 }
7520 }
7521 if (_argo1) {
7522 if (_argo1 == Py_None) { _arg1 = NULL; }
7523 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7524 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7525 return NULL;
7526 }
7527 }
f6bcfd97
BP
7528{
7529 _arg2 = &temp;
7530 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 7531 return NULL;
f6bcfd97 7532}
b7e72427
RD
7533{
7534 wxPy_BEGIN_ALLOW_THREADS;
7535 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
7536
7537 wxPy_END_ALLOW_THREADS;
7538} Py_INCREF(Py_None);
7539 _resultobj = Py_None;
7540 return _resultobj;
7541}
7542
7543#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7544static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7545 PyObject * _resultobj;
f6bcfd97 7546 wxPyTreeCtrl * _arg0;
b7e72427
RD
7547 wxTreeItemId * _arg1;
7548 wxColour * _arg2;
7549 PyObject * _argo0 = 0;
7550 PyObject * _argo1 = 0;
f6bcfd97
BP
7551 wxColour temp;
7552 PyObject * _obj2 = 0;
b7e72427
RD
7553 char *_kwnames[] = { "self","item","col", NULL };
7554
7555 self = self;
f6bcfd97 7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
b7e72427
RD
7557 return NULL;
7558 if (_argo0) {
7559 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
7562 return NULL;
7563 }
7564 }
7565 if (_argo1) {
7566 if (_argo1 == Py_None) { _arg1 = NULL; }
7567 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7568 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7569 return NULL;
7570 }
7571 }
f6bcfd97
BP
7572{
7573 _arg2 = &temp;
7574 if (! wxColour_helper(_obj2, &_arg2))
b7e72427 7575 return NULL;
f6bcfd97 7576}
b7e72427
RD
7577{
7578 wxPy_BEGIN_ALLOW_THREADS;
7579 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
7580
7581 wxPy_END_ALLOW_THREADS;
7582} Py_INCREF(Py_None);
7583 _resultobj = Py_None;
7584 return _resultobj;
7585}
7586
7587#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7588static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject * _resultobj;
f6bcfd97 7590 wxPyTreeCtrl * _arg0;
b7e72427
RD
7591 wxTreeItemId * _arg1;
7592 wxFont * _arg2;
7593 PyObject * _argo0 = 0;
7594 PyObject * _argo1 = 0;
7595 PyObject * _argo2 = 0;
7596 char *_kwnames[] = { "self","item","font", NULL };
7597
7598 self = self;
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
7600 return NULL;
7601 if (_argo0) {
7602 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
7603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
b7e72427
RD
7605 return NULL;
7606 }
7607 }
7608 if (_argo1) {
7609 if (_argo1 == Py_None) { _arg1 = NULL; }
7610 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7611 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7612 return NULL;
7613 }
7614 }
7615 if (_argo2) {
7616 if (_argo2 == Py_None) { _arg2 = NULL; }
7617 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
7618 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7619 return NULL;
7620 }
7621 }
7622{
7623 wxPy_BEGIN_ALLOW_THREADS;
7624 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
7625
7626 wxPy_END_ALLOW_THREADS;
7627} Py_INCREF(Py_None);
7628 _resultobj = Py_None;
7629 return _resultobj;
7630}
7631
8ab979d7 7632static PyMethodDef controls2cMethods[] = {
b7e72427
RD
7633 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
7634 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7635 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7636 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
7637 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
7638 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
d426c97e 7639 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7640 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
7641 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
7642 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
7643 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
7644 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
7645 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
7646 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
7647 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
7648 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
7649 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
7650 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
7651 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
7652 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
7653 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 7654 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7655 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
7656 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
7657 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
d426c97e 7658 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7659 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
7660 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
7661 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
7662 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
7663 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
7664 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
7665 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
7666 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
d426c97e 7667 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
eb715945 7668 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7669 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
7670 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
7671 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
7672 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
7673 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
7674 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
7675 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
7676 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
7677 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
7678 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
7679 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
7680 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
7681 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
7682 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
7683 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
7684 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
7685 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
7686 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
7687 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7688 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
7689 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
7690 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
7691 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
7692 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
7693 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
7694 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 7695 { "wxTreeCtrl__setSelf", (PyCFunction) _wrap_wxTreeCtrl__setSelf, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7696 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
7697 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
7698 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
7699 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
7700 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
7701 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
7702 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
7703 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
7704 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
7705 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
7706 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 7707 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7708 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
7709 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
7710 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
dcd38683 7711 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7712 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
7713 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
7714 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
7715 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
7716 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
7717 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
7718 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
7719 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
7720 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
7721 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
7722 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
7723 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
7724 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7725 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
7726 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
7727 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
7728 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
7729 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
7730 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
c368d904 7731 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7732 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
7733 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7734 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
7735 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
7736 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
7737 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
7738 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
7739 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
7740 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
7741 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
7742 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
7743 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
7744 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
7745 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
7746 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
7747 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
7748 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
7749 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
7750 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
7751 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7752 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
7753 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
7754 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
7755 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
7756 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
7757 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
7758 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
7759 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
7760 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
7761 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
7762 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
7763 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
7764 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
7765 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
7766 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
7767 { "wxListEvent_Cancelled", (PyCFunction) _wrap_wxListEvent_Cancelled, METH_VARARGS | METH_KEYWORDS },
7768 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
7769 { "wxListEvent_GetOldItem", (PyCFunction) _wrap_wxListEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
7770 { "wxListEvent_GetOldIndex", (PyCFunction) _wrap_wxListEvent_GetOldIndex, METH_VARARGS | METH_KEYWORDS },
7771 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
7772 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7773 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
7774 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
7775 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
7776 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
7777 { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS },
7778 { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS },
7779 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
7780 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
7781 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
7782 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
7783 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
7784 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
7785 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
7786 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
7787 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
7788 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
7789 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
7790 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
7791 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
7792 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
7793 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
7794 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
7795 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
7796 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
7797 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
7798 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
7799 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
7800 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
7801 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
7802 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
7803 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
7804 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
7805 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
7806 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
7807 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
7808 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7809 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
7810 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
7811 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
7812 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
7813 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
7814 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
7815 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
7816 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
7817 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
7818 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
7819 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
7820 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
7821 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
7822 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7823 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
7824 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
7825 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
7826 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
7827 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
7828 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
7829 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
7830 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
7831 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
7832 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
7833 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
7834 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
7835 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
7836 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
7837 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
7838 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
7839 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7840 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
7841 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
7842 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7843 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
7844 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
7845 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
7846 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
7847 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
7848 { NULL, NULL }
7849};
1d99702e
RD
7850#ifdef __cplusplus
7851}
7852#endif
7853/*
7854 * This table is used by the pointer type-checker
7855 */
7856static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
7857 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7858 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
7859 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
7860 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
7861 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
7862 { "_wxEvent","_class_wxEvent",0},
7863 { "_class_wxActivateEvent","_wxActivateEvent",0},
7864 { "_signed_long","_long",0},
7865 { "_wxMenuEvent","_class_wxMenuEvent",0},
65dd82cb 7866 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
b1462dfa 7867 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2f90df85 7868 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
b1462dfa 7869 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
7870 { "_wxPrintQuality","_int",0},
7871 { "_wxPrintQuality","_signed_int",0},
7872 { "_wxPrintQuality","_unsigned_int",0},
7873 { "_wxPrintQuality","_wxWindowID",0},
7874 { "_wxPrintQuality","_uint",0},
7875 { "_wxPrintQuality","_EBool",0},
7876 { "_wxPrintQuality","_size_t",0},
c368d904 7877 { "_wxPrintQuality","_time_t",0},
b1462dfa 7878 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
f6bcfd97 7879 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1d99702e 7880 { "_class_wxRegionIterator","_wxRegionIterator",0},
b1462dfa 7881 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1d99702e
RD
7882 { "_class_wxMenuBar","_wxMenuBar",0},
7883 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
f6bcfd97
BP
7884 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
7885 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
1d99702e
RD
7886 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
7887 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
7888 { "_class_wxEvtHandler","_wxEvtHandler",0},
7889 { "_wxPaintEvent","_class_wxPaintEvent",0},
7890 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7891 { "_wxCursor","_class_wxCursor",0},
7892 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
7893 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904
RD
7894 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent},
7895 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 7896 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
f6bcfd97 7897 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
1d99702e
RD
7898 { "_wxMask","_class_wxMask",0},
7899 { "_wxPen","_class_wxPen",0},
7900 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7901 { "_byte","_unsigned_char",0},
b1462dfa 7902 { "_wxDataObject","_class_wxDataObject",0},
1d99702e 7903 { "_wxStaticBox","_class_wxStaticBox",0},
65dd82cb
RD
7904 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
7905 { "_wxPyDropSource","_class_wxPyDropSource",0},
1d99702e
RD
7906 { "_wxChoice","_class_wxChoice",0},
7907 { "_wxSlider","_class_wxSlider",0},
1d99702e
RD
7908 { "_long","_unsigned_long",0},
7909 { "_long","_signed_long",0},
7910 { "_wxImageList","_class_wxImageList",0},
b1462dfa 7911 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1d99702e
RD
7912 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7913 { "_wxBitmapButton","_class_wxBitmapButton",0},
7914 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
b1462dfa 7915 { "_class_wxClipboard","_wxClipboard",0},
1d99702e
RD
7916 { "_class_wxGauge","_wxGauge",0},
7917 { "_wxDC","_class_wxDC",0},
b1462dfa 7918 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1d99702e
RD
7919 { "_wxListEvent","_class_wxListEvent",0},
7920 { "_wxSpinEvent","_class_wxSpinEvent",0},
b1462dfa 7921 { "_size_t","_wxCoord",0},
1d99702e 7922 { "_size_t","_wxPrintQuality",0},
c368d904 7923 { "_size_t","_time_t",0},
1d99702e
RD
7924 { "_size_t","_unsigned_int",0},
7925 { "_size_t","_int",0},
7926 { "_size_t","_wxWindowID",0},
7927 { "_size_t","_uint",0},
7928 { "_class_wxRealPoint","_wxRealPoint",0},
48115f4a 7929 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
48115f4a 7930 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1d99702e
RD
7931 { "_class_wxMenuItem","_wxMenuItem",0},
7932 { "_class_wxPaintEvent","_wxPaintEvent",0},
7933 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
f6bcfd97 7934 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1d99702e
RD
7935 { "_wxPanel","_class_wxPanel",0},
7936 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
7937 { "_wxCheckBox","_class_wxCheckBox",0},
f6bcfd97 7938 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
1d99702e
RD
7939 { "_wxPyEvent","_class_wxPyEvent",0},
7940 { "_wxTextCtrl","_class_wxTextCtrl",0},
7941 { "_class_wxMask","_wxMask",0},
b1462dfa 7942 { "_wxTextDataObject","_class_wxTextDataObject",0},
1d99702e
RD
7943 { "_class_wxKeyEvent","_wxKeyEvent",0},
7944 { "_wxColour","_class_wxColour",0},
7945 { "_class_wxDialog","_wxDialog",0},
b1462dfa 7946 { "_class_wxFileDataObject","_wxFileDataObject",0},
1d99702e
RD
7947 { "_wxIdleEvent","_class_wxIdleEvent",0},
7948 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
b1462dfa 7949 { "_class_wxDataObject","_wxDataObject",0},
1d99702e
RD
7950 { "_wxStaticLine","_class_wxStaticLine",0},
7951 { "_wxBrush","_class_wxBrush",0},
b1462dfa
RD
7952 { "_wxDataFormat","_class_wxDataFormat",0},
7953 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1d99702e 7954 { "_wxShowEvent","_class_wxShowEvent",0},
b1462dfa 7955 { "_uint","_wxCoord",0},
1d99702e 7956 { "_uint","_wxPrintQuality",0},
c368d904 7957 { "_uint","_time_t",0},
1d99702e
RD
7958 { "_uint","_size_t",0},
7959 { "_uint","_unsigned_int",0},
7960 { "_uint","_int",0},
7961 { "_uint","_wxWindowID",0},
f6bcfd97 7962 { "_wxChar","_char",0},
2f90df85 7963 { "_wxPyValidator","_class_wxPyValidator",0},
1d99702e
RD
7964 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent},
7965 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
7966 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent},
7967 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
7968 { "_class_wxEvent","_wxEvent",0},
7969 { "_wxCheckListBox","_class_wxCheckListBox",0},
7970 { "_wxRect","_class_wxRect",0},
7971 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
7972 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
7973 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
7974 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
7975 { "_wxCommandEvent","_class_wxCommandEvent",0},
7976 { "_wxSizeEvent","_class_wxSizeEvent",0},
7977 { "_wxPoint","_class_wxPoint",0},
7978 { "_class_wxButton","_wxButton",0},
7979 { "_wxRadioBox","_class_wxRadioBox",0},
f6bcfd97
BP
7980 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
7981 { "_char","_wxChar",0},
1d99702e 7982 { "_wxBitmap","_class_wxBitmap",0},
1d99702e 7983 { "_wxWindowDC","_class_wxWindowDC",0},
f6bcfd97 7984 { "_wxTimerEvent","_class_wxTimerEvent",0},
1d99702e
RD
7985 { "_wxScrollBar","_class_wxScrollBar",0},
7986 { "_wxSpinButton","_class_wxSpinButton",0},
7987 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7988 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
7989 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
c368d904
RD
7990 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent},
7991 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
1d99702e 7992 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2f90df85 7993 { "_class_wxValidator","_wxValidator",0},
1d99702e
RD
7994 { "_class_wxPyEvent","_wxPyEvent",0},
7995 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
7996 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
7997 { "_wxListItem","_class_wxListItem",0},
b1462dfa 7998 { "_wxDropTarget","_class_wxDropTarget",0},
1d99702e
RD
7999 { "_class_wxStaticLine","_wxStaticLine",0},
8000 { "_wxScrollEvent","_class_wxScrollEvent",0},
b1462dfa 8001 { "_EBool","_wxCoord",0},
1d99702e
RD
8002 { "_EBool","_wxPrintQuality",0},
8003 { "_EBool","_signed_int",0},
8004 { "_EBool","_int",0},
8005 { "_EBool","_wxWindowID",0},
8006 { "_class_wxRegion","_wxRegion",0},
b1462dfa 8007 { "_class_wxDataFormat","_wxDataFormat",0},
1d99702e 8008 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
48115f4a 8009 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1d99702e
RD
8010 { "_wxStaticText","_class_wxStaticText",0},
8011 { "_wxFont","_class_wxFont",0},
b1462dfa 8012 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1d99702e 8013 { "_wxCloseEvent","_class_wxCloseEvent",0},
1d99702e
RD
8014 { "_unsigned_long","_long",0},
8015 { "_class_wxRect","_wxRect",0},
8016 { "_class_wxDC","_wxDC",0},
d426c97e 8017 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
48115f4a
RD
8018 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8019 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1d99702e 8020 { "_class_wxTreeEvent","_wxTreeEvent",0},
1d99702e
RD
8021 { "_wxFocusEvent","_class_wxFocusEvent",0},
8022 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
f6bcfd97 8023 { "_class_wxTimerEvent","_wxTimerEvent",0},
1d99702e
RD
8024 { "_class_wxSpinButton","_wxSpinButton",0},
8025 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8026 { "_class_wxPanel","_wxPanel",0},
8027 { "_class_wxCheckBox","_wxCheckBox",0},
8028 { "_wxComboBox","_class_wxComboBox",0},
8029 { "_wxRadioButton","_class_wxRadioButton",0},
b1462dfa 8030 { "_signed_int","_wxCoord",0},
1d99702e
RD
8031 { "_signed_int","_wxPrintQuality",0},
8032 { "_signed_int","_EBool",0},
8033 { "_signed_int","_wxWindowID",0},
8034 { "_signed_int","_int",0},
8035 { "_class_wxTextCtrl","_wxTextCtrl",0},
f6bcfd97 8036 { "_class_wxListItemAttr","_wxListItemAttr",0},
1d99702e 8037 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
b1462dfa 8038 { "_class_wxTextDataObject","_wxTextDataObject",0},
1d99702e
RD
8039 { "_wxMenu","_class_wxMenu",0},
8040 { "_class_wxMoveEvent","_wxMoveEvent",0},
8041 { "_wxListBox","_class_wxListBox",0},
8042 { "_wxScreenDC","_class_wxScreenDC",0},
8043 { "_WXTYPE","_short",0},
8044 { "_WXTYPE","_signed_short",0},
8045 { "_WXTYPE","_unsigned_short",0},
b1462dfa 8046 { "_class_wxDropTarget","_wxDropTarget",0},
1d99702e
RD
8047 { "_class_wxBrush","_wxBrush",0},
8048 { "_unsigned_short","_WXTYPE",0},
8049 { "_unsigned_short","_short",0},
f6bcfd97
BP
8050 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8051 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
1d99702e
RD
8052 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
8053 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
8054 { "_class_wxWindow","_wxWindow",0},
8055 { "_class_wxStaticText","_wxStaticText",0},
8056 { "_class_wxFont","_wxFont",0},
b1462dfa 8057 { "_wxClipboard","_class_wxClipboard",0},
2f90df85 8058 { "_class_wxPyValidator","_wxPyValidator",0},
1d99702e 8059 { "_class_wxCloseEvent","_wxCloseEvent",0},
2abc0a0f 8060 { "_wxBusyInfo","_class_wxBusyInfo",0},
1d99702e 8061 { "_class_wxMenuEvent","_wxMenuEvent",0},
48115f4a 8062 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
65dd82cb 8063 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1d99702e
RD
8064 { "_wxClientDC","_class_wxClientDC",0},
8065 { "_wxMouseEvent","_class_wxMouseEvent",0},
8066 { "_wxListCtrl","_class_wxListCtrl",0},
8067 { "_class_wxPoint","_wxPoint",0},
8068 { "_wxRealPoint","_class_wxRealPoint",0},
8069 { "_class_wxRadioBox","_wxRadioBox",0},
8070 { "_signed_short","_WXTYPE",0},
8071 { "_signed_short","_short",0},
8072 { "_wxMemoryDC","_class_wxMemoryDC",0},
65dd82cb 8073 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1d99702e
RD
8074 { "_wxPaintDC","_class_wxPaintDC",0},
8075 { "_class_wxWindowDC","_wxWindowDC",0},
8076 { "_class_wxFocusEvent","_wxFocusEvent",0},
8077 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8078 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8079 { "_class_wxCursor","_wxCursor",0},
f6bcfd97 8080 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
b1462dfa 8081 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1d99702e
RD
8082 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8083 { "_wxTreeItemId","_class_wxTreeItemId",0},
8084 { "_unsigned_char","_byte",0},
1d99702e 8085 { "_class_wxMenu","_wxMenu",0},
f6bcfd97
BP
8086 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8087 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
1d99702e
RD
8088 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
8089 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
8090 { "_wxControl","_class_wxControl",0},
8091 { "_class_wxListBox","_wxListBox",0},
b1462dfa 8092 { "_unsigned_int","_wxCoord",0},
1d99702e 8093 { "_unsigned_int","_wxPrintQuality",0},
c368d904 8094 { "_unsigned_int","_time_t",0},
1d99702e
RD
8095 { "_unsigned_int","_size_t",0},
8096 { "_unsigned_int","_uint",0},
8097 { "_unsigned_int","_wxWindowID",0},
8098 { "_unsigned_int","_int",0},
8099 { "_wxIcon","_class_wxIcon",0},
8100 { "_wxDialog","_class_wxDialog",0},
8101 { "_class_wxListItem","_wxListItem",0},
8102 { "_class_wxPen","_wxPen",0},
8103 { "_short","_WXTYPE",0},
8104 { "_short","_unsigned_short",0},
8105 { "_short","_signed_short",0},
8106 { "_class_wxStaticBox","_wxStaticBox",0},
65dd82cb
RD
8107 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8108 { "_class_wxPyDropSource","_wxPyDropSource",0},
1d99702e
RD
8109 { "_class_wxScrollEvent","_wxScrollEvent",0},
8110 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8111 { "_class_wxChoice","_wxChoice",0},
8112 { "_class_wxSlider","_wxSlider",0},
8113 { "_class_wxImageList","_wxImageList",0},
8114 { "_class_wxBitmapButton","_wxBitmapButton",0},
48115f4a 8115 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
b1462dfa 8116 { "_wxWindowID","_wxCoord",0},
1d99702e 8117 { "_wxWindowID","_wxPrintQuality",0},
c368d904 8118 { "_wxWindowID","_time_t",0},
1d99702e
RD
8119 { "_wxWindowID","_size_t",0},
8120 { "_wxWindowID","_EBool",0},
8121 { "_wxWindowID","_uint",0},
8122 { "_wxWindowID","_int",0},
8123 { "_wxWindowID","_signed_int",0},
8124 { "_wxWindowID","_unsigned_int",0},
d426c97e 8125 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
b1462dfa 8126 { "_int","_wxCoord",0},
1d99702e 8127 { "_int","_wxPrintQuality",0},
c368d904 8128 { "_int","_time_t",0},
1d99702e
RD
8129 { "_int","_size_t",0},
8130 { "_int","_EBool",0},
8131 { "_int","_uint",0},
8132 { "_int","_wxWindowID",0},
8133 { "_int","_unsigned_int",0},
8134 { "_int","_signed_int",0},
8135 { "_class_wxMouseEvent","_wxMouseEvent",0},
2f90df85 8136 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1d99702e
RD
8137 { "_class_wxListEvent","_wxListEvent",0},
8138 { "_class_wxSpinEvent","_wxSpinEvent",0},
48115f4a 8139 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
8140 { "_time_t","_wxCoord",0},
8141 { "_time_t","_wxPrintQuality",0},
8142 { "_time_t","_unsigned_int",0},
8143 { "_time_t","_int",0},
8144 { "_time_t","_wxWindowID",0},
8145 { "_time_t","_uint",0},
8146 { "_time_t","_size_t",0},
48115f4a 8147 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1d99702e
RD
8148 { "_wxButton","_class_wxButton",0},
8149 { "_wxSize","_class_wxSize",0},
8150 { "_wxRegionIterator","_class_wxRegionIterator",0},
65dd82cb 8151 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1d99702e
RD
8152 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8153 { "_class_wxPaintDC","_wxPaintDC",0},
8154 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
b1462dfa 8155 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1d99702e
RD
8156 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8157 { "_class_wxComboBox","_wxComboBox",0},
8158 { "_class_wxRadioButton","_wxRadioButton",0},
2f90df85 8159 { "_wxValidator","_class_wxValidator",0},
1d99702e 8160 { "_class_wxTreeItemId","_wxTreeItemId",0},
1d99702e
RD
8161 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8162 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
f6bcfd97
BP
8163 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
8164 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
1d99702e
RD
8165 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl},
8166 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl},
8167 { "_class_wxControl","_wxControl",0},
8168 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8169 { "_class_wxIcon","_wxIcon",0},
8170 { "_class_wxColour","_wxColour",0},
8171 { "_class_wxScreenDC","_wxScreenDC",0},
8172 { "_wxPalette","_class_wxPalette",0},
8173 { "_class_wxIdleEvent","_wxIdleEvent",0},
b1462dfa
RD
8174 { "_wxCoord","_int",0},
8175 { "_wxCoord","_signed_int",0},
8176 { "_wxCoord","_unsigned_int",0},
8177 { "_wxCoord","_wxWindowID",0},
8178 { "_wxCoord","_uint",0},
8179 { "_wxCoord","_EBool",0},
8180 { "_wxCoord","_size_t",0},
c368d904 8181 { "_wxCoord","_time_t",0},
b1462dfa 8182 { "_wxCoord","_wxPrintQuality",0},
1d99702e 8183 { "_wxEraseEvent","_class_wxEraseEvent",0},
b1462dfa 8184 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1d99702e
RD
8185 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8186 { "_wxRegion","_class_wxRegion",0},
8187 { "_class_wxShowEvent","_wxShowEvent",0},
b1462dfa 8188 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1d99702e
RD
8189 { "_wxActivateEvent","_class_wxActivateEvent",0},
8190 { "_wxGauge","_class_wxGauge",0},
8191 { "_class_wxCheckListBox","_wxCheckListBox",0},
2abc0a0f 8192 { "_class_wxBusyInfo","_wxBusyInfo",0},
1d99702e
RD
8193 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
8194 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
8195 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent},
8196 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
8197 { "_class_wxCommandEvent","_wxCommandEvent",0},
8198 { "_class_wxClientDC","_wxClientDC",0},
8199 { "_class_wxSizeEvent","_wxSizeEvent",0},
8200 { "_class_wxListCtrl","_wxListCtrl",0},
b1462dfa 8201 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1d99702e
RD
8202 { "_class_wxSize","_wxSize",0},
8203 { "_class_wxBitmap","_wxBitmap",0},
8204 { "_class_wxMemoryDC","_wxMemoryDC",0},
b1462dfa 8205 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1d99702e
RD
8206 { "_wxMenuBar","_class_wxMenuBar",0},
8207 { "_wxTreeEvent","_class_wxTreeEvent",0},
f6bcfd97
BP
8208 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
8209 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
1d99702e
RD
8210 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
8211 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler},
8212 { "_wxEvtHandler","_class_wxEvtHandler",0},
8213 { "_wxMenuItem","_class_wxMenuItem",0},
8214 { "_class_wxScrollBar","_wxScrollBar",0},
1d99702e 8215 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
f6bcfd97 8216 { "_wxListItemAttr","_class_wxListItemAttr",0},
1d99702e
RD
8217 { "_wxKeyEvent","_class_wxKeyEvent",0},
8218 { "_wxMoveEvent","_class_wxMoveEvent",0},
8219 { "_class_wxPalette","_wxPalette",0},
b1462dfa 8220 { "_wxFileDataObject","_class_wxFileDataObject",0},
1d99702e 8221 { "_class_wxEraseEvent","_wxEraseEvent",0},
b1462dfa 8222 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
f6bcfd97
BP
8223 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
8224 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
1d99702e
RD
8225 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow},
8226 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow},
8227 { "_wxWindow","_class_wxWindow",0},
48115f4a 8228 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
1d99702e
RD
8229{0,0,0}};
8230
8ab979d7
RD
8231static PyObject *SWIG_globals;
8232#ifdef __cplusplus
8233extern "C"
8234#endif
1d99702e 8235SWIGEXPORT(void) initcontrols2c() {
8ab979d7
RD
8236 PyObject *m, *d;
8237 SWIG_globals = SWIG_newvarlink();
8238 m = Py_InitModule("controls2c", controls2cMethods);
8239 d = PyModule_GetDict(m);
af309447
RD
8240 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
8241 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
8242 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
8243 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
8244 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
bb0054cd 8245 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
af309447
RD
8246 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
8247 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
8248 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
8249 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
8250 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
8251 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
8252 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
8253 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
8254 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
8255 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
8256 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
8257 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
8258 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
8259 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
8260 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
8261 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
8262 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
8263 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
8264 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
8265 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
8266 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
8267 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
8268 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
8269 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
af309447
RD
8270 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
8271 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
8272 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
8273 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
8274 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
8275 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
8276 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
8277 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
8278 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
f6bcfd97
BP
8279 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
8280 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
8281 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
8282 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
694759cf
RD
8283 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
8284 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
8285 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
8286 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
8287 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
164b735b
RD
8288 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
8289 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
8290 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
8291 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
8292 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
8293 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
8294 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
8295 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
8296 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
8297 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
8298 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
8299 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
8300 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
8301 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
1d99702e
RD
8302{
8303 int i;
8304 for (i = 0; _swig_mapping[i].n1; i++)
8305 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
8306}
8ab979d7 8307}