]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/controls2.cpp
Fixed an OOR related bug that happened when a class has been renamed.
[wxWidgets.git] / wxPython / src / msw / controls2.cpp
... / ...
CommitLineData
1/*
2 * FILE : src/msw/controls2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
30# define SWIGEXPORT(a) a _export
31# else
32# define SWIGEXPORT(a) a
33# endif
34# endif
35#else
36# define SWIGEXPORT(a) a
37#endif
38
39#include "Python.h"
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initcontrols2c
55
56#define SWIG_name "controls2c"
57
58#include "helpers.h"
59#ifdef __WXMSW__
60#include <windows.h>
61#endif
62#include <wx/listctrl.h>
63#include <wx/treectrl.h>
64#include <wx/imaglist.h>
65
66
67static PyObject* t_output_helper(PyObject* target, PyObject* o) {
68 PyObject* o2;
69 PyObject* o3;
70
71 if (!target) {
72 target = o;
73 } else if (target == Py_None) {
74 Py_DECREF(Py_None);
75 target = o;
76 } else {
77 if (!PyTuple_Check(target)) {
78 o2 = target;
79 target = PyTuple_New(1);
80 PyTuple_SetItem(target, 0, o2);
81 }
82 o3 = PyTuple_New(1);
83 PyTuple_SetItem(o3, 0, o);
84
85 o2 = target;
86 target = PySequence_Concat(o2, o3);
87 Py_DECREF(o2);
88 Py_DECREF(o3);
89 }
90 return target;
91}
92
93#if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg = "String or Unicode type required";
95#else
96 static char* wxStringErrorMsg = "string type is required for parameter";
97#endif
98 // C++ Version of a Python aware class
99class wxPyListCtrl : public wxListCtrl {
100 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
101public:
102 wxPyListCtrl() : wxListCtrl() {}
103 wxPyListCtrl(wxWindow* parent, wxWindowID id,
104 const wxPoint& pos,
105 const wxSize& size,
106 long style,
107 const wxValidator& validator,
108 char* name) :
109 wxListCtrl(parent, id, pos, size, style, validator, name) {}
110
111 bool Create(wxWindow* parent, wxWindowID id,
112 const wxPoint& pos,
113 const wxSize& size,
114 long style,
115 const wxValidator& validator,
116 char* name) {
117 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
118 }
119
120 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
121 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
122 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
123
124 PYPRIVATE;
125};
126
127IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
128
129IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
130IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
131IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
132 // Python aware sorting function for wxPyListCtrl
133 int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
134 int retval = 0;
135 PyObject* func = (PyObject*)funcPtr;
136 bool doSave = wxPyRestoreThread();
137
138 PyObject* args = Py_BuildValue("(ii)", item1, item2);
139 PyObject* result = PyEval_CallObject(func, args);
140 Py_DECREF(args);
141 if (result) {
142 retval = PyInt_AsLong(result);
143 Py_DECREF(result);
144 }
145
146 wxPySaveThread(doSave);
147 return retval;
148 }
149
150
151class wxPyTreeItemData : public wxTreeItemData {
152public:
153 wxPyTreeItemData(PyObject* obj = NULL) {
154 if (obj == NULL)
155 obj = Py_None;
156 Py_INCREF(obj);
157 m_obj = obj;
158 }
159
160 ~wxPyTreeItemData() {
161 bool doSave = wxPyRestoreThread();
162 Py_DECREF(m_obj);
163 wxPySaveThread(doSave);
164 }
165
166 PyObject* GetData() {
167 Py_INCREF(m_obj);
168 return m_obj;
169 }
170
171 void SetData(PyObject* obj) {
172 bool doSave = wxPyRestoreThread();
173 Py_DECREF(m_obj);
174 wxPySaveThread(doSave);
175 m_obj = obj;
176 Py_INCREF(obj);
177 }
178
179 PyObject* m_obj;
180};
181 // C++ version of Python aware wxTreeCtrl
182class wxPyTreeCtrl : public wxTreeCtrl {
183 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
184public:
185 wxPyTreeCtrl() : wxTreeCtrl() {}
186 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
187 const wxPoint& pos,
188 const wxSize& size,
189 long style,
190 const wxValidator& validator,
191 char* name) :
192 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
193
194 bool Create(wxWindow *parent, wxWindowID id,
195 const wxPoint& pos,
196 const wxSize& size,
197 long style,
198 const wxValidator& validator,
199 char* name) {
200 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
201 }
202
203
204 int OnCompareItems(const wxTreeItemId& item1,
205 const wxTreeItemId& item2) {
206 int rval = 0;
207 bool doSave = wxPyRestoreThread();
208 if (m_myInst.findCallback("OnCompareItems"))
209 rval = m_myInst.callCallback(Py_BuildValue(
210 "(OO)",
211 wxPyConstructObject((void*)&item1, "wxTreeItemId"),
212 wxPyConstructObject((void*)&item2, "wxTreeItemId")));
213 else
214 rval = wxTreeCtrl::OnCompareItems(item1, item2);
215 wxPySaveThread(doSave);
216 return rval;
217 }
218 PYPRIVATE;
219};
220
221IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
222
223#ifdef __cplusplus
224extern "C" {
225#endif
226#define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
227static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
228 PyObject * _resultobj;
229 wxListItemAttr * _result;
230 wxColour * _arg0 = (wxColour *) &wxNullColour;
231 wxColour * _arg1 = (wxColour *) &wxNullColour;
232 wxFont * _arg2 = (wxFont *) &wxNullFont;
233 wxColour temp;
234 PyObject * _obj0 = 0;
235 wxColour temp0;
236 PyObject * _obj1 = 0;
237 PyObject * _argo2 = 0;
238 char *_kwnames[] = { "colText","colBack","font", NULL };
239 char _ptemp[128];
240
241 self = self;
242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxListItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
243 return NULL;
244 if (_obj0)
245{
246 _arg0 = &temp;
247 if (! wxColour_helper(_obj0, &_arg0))
248 return NULL;
249}
250 if (_obj1)
251{
252 _arg1 = &temp0;
253 if (! wxColour_helper(_obj1, &_arg1))
254 return NULL;
255}
256 if (_argo2) {
257 if (_argo2 == Py_None) { _arg2 = NULL; }
258 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
259 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
260 return NULL;
261 }
262 }
263{
264 wxPy_BEGIN_ALLOW_THREADS;
265 _result = (wxListItemAttr *)new_wxListItemAttr(*_arg0,*_arg1,*_arg2);
266
267 wxPy_END_ALLOW_THREADS;
268 if (PyErr_Occurred()) return NULL;
269} if (_result) {
270 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
271 _resultobj = Py_BuildValue("s",_ptemp);
272 } else {
273 Py_INCREF(Py_None);
274 _resultobj = Py_None;
275 }
276 return _resultobj;
277}
278
279#define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
280static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
281 PyObject * _resultobj;
282 wxListItemAttr * _arg0;
283 wxColour * _arg1;
284 PyObject * _argo0 = 0;
285 wxColour temp;
286 PyObject * _obj1 = 0;
287 char *_kwnames[] = { "self","colText", NULL };
288
289 self = self;
290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
291 return NULL;
292 if (_argo0) {
293 if (_argo0 == Py_None) { _arg0 = NULL; }
294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
296 return NULL;
297 }
298 }
299{
300 _arg1 = &temp;
301 if (! wxColour_helper(_obj1, &_arg1))
302 return NULL;
303}
304{
305 wxPy_BEGIN_ALLOW_THREADS;
306 wxListItemAttr_SetTextColour(_arg0,*_arg1);
307
308 wxPy_END_ALLOW_THREADS;
309 if (PyErr_Occurred()) return NULL;
310} Py_INCREF(Py_None);
311 _resultobj = Py_None;
312 return _resultobj;
313}
314
315#define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
316static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
317 PyObject * _resultobj;
318 wxListItemAttr * _arg0;
319 wxColour * _arg1;
320 PyObject * _argo0 = 0;
321 wxColour temp;
322 PyObject * _obj1 = 0;
323 char *_kwnames[] = { "self","colBack", NULL };
324
325 self = self;
326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
327 return NULL;
328 if (_argo0) {
329 if (_argo0 == Py_None) { _arg0 = NULL; }
330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
332 return NULL;
333 }
334 }
335{
336 _arg1 = &temp;
337 if (! wxColour_helper(_obj1, &_arg1))
338 return NULL;
339}
340{
341 wxPy_BEGIN_ALLOW_THREADS;
342 wxListItemAttr_SetBackgroundColour(_arg0,*_arg1);
343
344 wxPy_END_ALLOW_THREADS;
345 if (PyErr_Occurred()) return NULL;
346} Py_INCREF(Py_None);
347 _resultobj = Py_None;
348 return _resultobj;
349}
350
351#define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
352static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
353 PyObject * _resultobj;
354 wxListItemAttr * _arg0;
355 wxFont * _arg1;
356 PyObject * _argo0 = 0;
357 PyObject * _argo1 = 0;
358 char *_kwnames[] = { "self","font", NULL };
359
360 self = self;
361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
362 return NULL;
363 if (_argo0) {
364 if (_argo0 == Py_None) { _arg0 = NULL; }
365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
367 return NULL;
368 }
369 }
370 if (_argo1) {
371 if (_argo1 == Py_None) { _arg1 = NULL; }
372 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
373 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
374 return NULL;
375 }
376 }
377{
378 wxPy_BEGIN_ALLOW_THREADS;
379 wxListItemAttr_SetFont(_arg0,*_arg1);
380
381 wxPy_END_ALLOW_THREADS;
382 if (PyErr_Occurred()) return NULL;
383} Py_INCREF(Py_None);
384 _resultobj = Py_None;
385 return _resultobj;
386}
387
388#define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
389static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
390 PyObject * _resultobj;
391 bool _result;
392 wxListItemAttr * _arg0;
393 PyObject * _argo0 = 0;
394 char *_kwnames[] = { "self", NULL };
395
396 self = self;
397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0))
398 return NULL;
399 if (_argo0) {
400 if (_argo0 == Py_None) { _arg0 = NULL; }
401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
403 return NULL;
404 }
405 }
406{
407 wxPy_BEGIN_ALLOW_THREADS;
408 _result = (bool )wxListItemAttr_HasTextColour(_arg0);
409
410 wxPy_END_ALLOW_THREADS;
411 if (PyErr_Occurred()) return NULL;
412} _resultobj = Py_BuildValue("i",_result);
413 return _resultobj;
414}
415
416#define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
417static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
418 PyObject * _resultobj;
419 bool _result;
420 wxListItemAttr * _arg0;
421 PyObject * _argo0 = 0;
422 char *_kwnames[] = { "self", NULL };
423
424 self = self;
425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0))
426 return NULL;
427 if (_argo0) {
428 if (_argo0 == Py_None) { _arg0 = NULL; }
429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
431 return NULL;
432 }
433 }
434{
435 wxPy_BEGIN_ALLOW_THREADS;
436 _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0);
437
438 wxPy_END_ALLOW_THREADS;
439 if (PyErr_Occurred()) return NULL;
440} _resultobj = Py_BuildValue("i",_result);
441 return _resultobj;
442}
443
444#define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
445static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
446 PyObject * _resultobj;
447 bool _result;
448 wxListItemAttr * _arg0;
449 PyObject * _argo0 = 0;
450 char *_kwnames[] = { "self", NULL };
451
452 self = self;
453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0))
454 return NULL;
455 if (_argo0) {
456 if (_argo0 == Py_None) { _arg0 = NULL; }
457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
459 return NULL;
460 }
461 }
462{
463 wxPy_BEGIN_ALLOW_THREADS;
464 _result = (bool )wxListItemAttr_HasFont(_arg0);
465
466 wxPy_END_ALLOW_THREADS;
467 if (PyErr_Occurred()) return NULL;
468} _resultobj = Py_BuildValue("i",_result);
469 return _resultobj;
470}
471
472#define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
473static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
474 PyObject * _resultobj;
475 wxColour * _result;
476 wxListItemAttr * _arg0;
477 PyObject * _argo0 = 0;
478 char *_kwnames[] = { "self", NULL };
479 char _ptemp[128];
480
481 self = self;
482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0))
483 return NULL;
484 if (_argo0) {
485 if (_argo0 == Py_None) { _arg0 = NULL; }
486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
488 return NULL;
489 }
490 }
491{
492 wxPy_BEGIN_ALLOW_THREADS;
493 const wxColour & _result_ref = wxListItemAttr_GetTextColour(_arg0);
494 _result = (wxColour *) &_result_ref;
495
496 wxPy_END_ALLOW_THREADS;
497 if (PyErr_Occurred()) return NULL;
498} if (_result) {
499 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
500 _resultobj = Py_BuildValue("s",_ptemp);
501 } else {
502 Py_INCREF(Py_None);
503 _resultobj = Py_None;
504 }
505 return _resultobj;
506}
507
508#define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
509static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
510 PyObject * _resultobj;
511 wxColour * _result;
512 wxListItemAttr * _arg0;
513 PyObject * _argo0 = 0;
514 char *_kwnames[] = { "self", NULL };
515 char _ptemp[128];
516
517 self = self;
518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0))
519 return NULL;
520 if (_argo0) {
521 if (_argo0 == Py_None) { _arg0 = NULL; }
522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
524 return NULL;
525 }
526 }
527{
528 wxPy_BEGIN_ALLOW_THREADS;
529 const wxColour & _result_ref = wxListItemAttr_GetBackgroundColour(_arg0);
530 _result = (wxColour *) &_result_ref;
531
532 wxPy_END_ALLOW_THREADS;
533 if (PyErr_Occurred()) return NULL;
534} if (_result) {
535 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
536 _resultobj = Py_BuildValue("s",_ptemp);
537 } else {
538 Py_INCREF(Py_None);
539 _resultobj = Py_None;
540 }
541 return _resultobj;
542}
543
544#define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
545static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
546 PyObject * _resultobj;
547 wxFont * _result;
548 wxListItemAttr * _arg0;
549 PyObject * _argo0 = 0;
550 char *_kwnames[] = { "self", NULL };
551 char _ptemp[128];
552
553 self = self;
554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0))
555 return NULL;
556 if (_argo0) {
557 if (_argo0 == Py_None) { _arg0 = NULL; }
558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) {
559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
560 return NULL;
561 }
562 }
563{
564 wxPy_BEGIN_ALLOW_THREADS;
565 const wxFont & _result_ref = wxListItemAttr_GetFont(_arg0);
566 _result = (wxFont *) &_result_ref;
567
568 wxPy_END_ALLOW_THREADS;
569 if (PyErr_Occurred()) return NULL;
570} if (_result) {
571 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
572 _resultobj = Py_BuildValue("s",_ptemp);
573 } else {
574 Py_INCREF(Py_None);
575 _resultobj = Py_None;
576 }
577 return _resultobj;
578}
579
580static void *SwigwxListItemTowxObject(void *ptr) {
581 wxListItem *src;
582 wxObject *dest;
583 src = (wxListItem *) ptr;
584 dest = (wxObject *) src;
585 return (void *) dest;
586}
587
588#define new_wxListItem() (new wxListItem())
589static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
590 PyObject * _resultobj;
591 wxListItem * _result;
592 char *_kwnames[] = { NULL };
593 char _ptemp[128];
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames))
597 return NULL;
598{
599 wxPy_BEGIN_ALLOW_THREADS;
600 _result = (wxListItem *)new_wxListItem();
601
602 wxPy_END_ALLOW_THREADS;
603 if (PyErr_Occurred()) return NULL;
604} if (_result) {
605 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
606 _resultobj = Py_BuildValue("s",_ptemp);
607 } else {
608 Py_INCREF(Py_None);
609 _resultobj = Py_None;
610 }
611 return _resultobj;
612}
613
614#define delete_wxListItem(_swigobj) (delete _swigobj)
615static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
616 PyObject * _resultobj;
617 wxListItem * _arg0;
618 PyObject * _argo0 = 0;
619 char *_kwnames[] = { "self", NULL };
620
621 self = self;
622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0))
623 return NULL;
624 if (_argo0) {
625 if (_argo0 == Py_None) { _arg0 = NULL; }
626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
628 return NULL;
629 }
630 }
631{
632 wxPy_BEGIN_ALLOW_THREADS;
633 delete_wxListItem(_arg0);
634
635 wxPy_END_ALLOW_THREADS;
636 if (PyErr_Occurred()) return NULL;
637} Py_INCREF(Py_None);
638 _resultobj = Py_None;
639 return _resultobj;
640}
641
642#define wxListItem_Clear(_swigobj) (_swigobj->Clear())
643static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
644 PyObject * _resultobj;
645 wxListItem * _arg0;
646 PyObject * _argo0 = 0;
647 char *_kwnames[] = { "self", NULL };
648
649 self = self;
650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0))
651 return NULL;
652 if (_argo0) {
653 if (_argo0 == Py_None) { _arg0 = NULL; }
654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
656 return NULL;
657 }
658 }
659{
660 wxPy_BEGIN_ALLOW_THREADS;
661 wxListItem_Clear(_arg0);
662
663 wxPy_END_ALLOW_THREADS;
664 if (PyErr_Occurred()) return NULL;
665} Py_INCREF(Py_None);
666 _resultobj = Py_None;
667 return _resultobj;
668}
669
670#define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
671static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
672 PyObject * _resultobj;
673 wxListItem * _arg0;
674 PyObject * _argo0 = 0;
675 char *_kwnames[] = { "self", NULL };
676
677 self = self;
678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0))
679 return NULL;
680 if (_argo0) {
681 if (_argo0 == Py_None) { _arg0 = NULL; }
682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
684 return NULL;
685 }
686 }
687{
688 wxPy_BEGIN_ALLOW_THREADS;
689 wxListItem_ClearAttributes(_arg0);
690
691 wxPy_END_ALLOW_THREADS;
692 if (PyErr_Occurred()) return NULL;
693} Py_INCREF(Py_None);
694 _resultobj = Py_None;
695 return _resultobj;
696}
697
698#define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
699static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
700 PyObject * _resultobj;
701 wxListItem * _arg0;
702 long _arg1;
703 PyObject * _argo0 = 0;
704 char *_kwnames[] = { "self","mask", NULL };
705
706 self = self;
707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1))
708 return NULL;
709 if (_argo0) {
710 if (_argo0 == Py_None) { _arg0 = NULL; }
711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
713 return NULL;
714 }
715 }
716{
717 wxPy_BEGIN_ALLOW_THREADS;
718 wxListItem_SetMask(_arg0,_arg1);
719
720 wxPy_END_ALLOW_THREADS;
721 if (PyErr_Occurred()) return NULL;
722} Py_INCREF(Py_None);
723 _resultobj = Py_None;
724 return _resultobj;
725}
726
727#define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
728static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
729 PyObject * _resultobj;
730 wxListItem * _arg0;
731 long _arg1;
732 PyObject * _argo0 = 0;
733 char *_kwnames[] = { "self","id", NULL };
734
735 self = self;
736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1))
737 return NULL;
738 if (_argo0) {
739 if (_argo0 == Py_None) { _arg0 = NULL; }
740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
742 return NULL;
743 }
744 }
745{
746 wxPy_BEGIN_ALLOW_THREADS;
747 wxListItem_SetId(_arg0,_arg1);
748
749 wxPy_END_ALLOW_THREADS;
750 if (PyErr_Occurred()) return NULL;
751} Py_INCREF(Py_None);
752 _resultobj = Py_None;
753 return _resultobj;
754}
755
756#define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
757static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
758 PyObject * _resultobj;
759 wxListItem * _arg0;
760 int _arg1;
761 PyObject * _argo0 = 0;
762 char *_kwnames[] = { "self","col", NULL };
763
764 self = self;
765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1))
766 return NULL;
767 if (_argo0) {
768 if (_argo0 == Py_None) { _arg0 = NULL; }
769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
771 return NULL;
772 }
773 }
774{
775 wxPy_BEGIN_ALLOW_THREADS;
776 wxListItem_SetColumn(_arg0,_arg1);
777
778 wxPy_END_ALLOW_THREADS;
779 if (PyErr_Occurred()) return NULL;
780} Py_INCREF(Py_None);
781 _resultobj = Py_None;
782 return _resultobj;
783}
784
785#define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
786static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
787 PyObject * _resultobj;
788 wxListItem * _arg0;
789 long _arg1;
790 PyObject * _argo0 = 0;
791 char *_kwnames[] = { "self","state", NULL };
792
793 self = self;
794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1))
795 return NULL;
796 if (_argo0) {
797 if (_argo0 == Py_None) { _arg0 = NULL; }
798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
800 return NULL;
801 }
802 }
803{
804 wxPy_BEGIN_ALLOW_THREADS;
805 wxListItem_SetState(_arg0,_arg1);
806
807 wxPy_END_ALLOW_THREADS;
808 if (PyErr_Occurred()) return NULL;
809} Py_INCREF(Py_None);
810 _resultobj = Py_None;
811 return _resultobj;
812}
813
814#define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
815static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
816 PyObject * _resultobj;
817 wxListItem * _arg0;
818 long _arg1;
819 PyObject * _argo0 = 0;
820 char *_kwnames[] = { "self","stateMask", NULL };
821
822 self = self;
823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1))
824 return NULL;
825 if (_argo0) {
826 if (_argo0 == Py_None) { _arg0 = NULL; }
827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
829 return NULL;
830 }
831 }
832{
833 wxPy_BEGIN_ALLOW_THREADS;
834 wxListItem_SetStateMask(_arg0,_arg1);
835
836 wxPy_END_ALLOW_THREADS;
837 if (PyErr_Occurred()) return NULL;
838} Py_INCREF(Py_None);
839 _resultobj = Py_None;
840 return _resultobj;
841}
842
843#define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
844static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
845 PyObject * _resultobj;
846 wxListItem * _arg0;
847 wxString * _arg1;
848 PyObject * _argo0 = 0;
849 PyObject * _obj1 = 0;
850 char *_kwnames[] = { "self","text", NULL };
851
852 self = self;
853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1))
854 return NULL;
855 if (_argo0) {
856 if (_argo0 == Py_None) { _arg0 = NULL; }
857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
859 return NULL;
860 }
861 }
862{
863#if PYTHON_API_VERSION >= 1009
864 char* tmpPtr; int tmpSize;
865 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
866 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
867 return NULL;
868 }
869 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
870 return NULL;
871 _arg1 = new wxString(tmpPtr, tmpSize);
872#else
873 if (!PyString_Check(_obj1)) {
874 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
875 return NULL;
876 }
877 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
878#endif
879}
880{
881 wxPy_BEGIN_ALLOW_THREADS;
882 wxListItem_SetText(_arg0,*_arg1);
883
884 wxPy_END_ALLOW_THREADS;
885 if (PyErr_Occurred()) return NULL;
886} Py_INCREF(Py_None);
887 _resultobj = Py_None;
888{
889 if (_obj1)
890 delete _arg1;
891}
892 return _resultobj;
893}
894
895#define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
896static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
897 PyObject * _resultobj;
898 wxListItem * _arg0;
899 int _arg1;
900 PyObject * _argo0 = 0;
901 char *_kwnames[] = { "self","image", NULL };
902
903 self = self;
904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1))
905 return NULL;
906 if (_argo0) {
907 if (_argo0 == Py_None) { _arg0 = NULL; }
908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
910 return NULL;
911 }
912 }
913{
914 wxPy_BEGIN_ALLOW_THREADS;
915 wxListItem_SetImage(_arg0,_arg1);
916
917 wxPy_END_ALLOW_THREADS;
918 if (PyErr_Occurred()) return NULL;
919} Py_INCREF(Py_None);
920 _resultobj = Py_None;
921 return _resultobj;
922}
923
924#define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
925static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
926 PyObject * _resultobj;
927 wxListItem * _arg0;
928 long _arg1;
929 PyObject * _argo0 = 0;
930 char *_kwnames[] = { "self","data", NULL };
931
932 self = self;
933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1))
934 return NULL;
935 if (_argo0) {
936 if (_argo0 == Py_None) { _arg0 = NULL; }
937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
939 return NULL;
940 }
941 }
942{
943 wxPy_BEGIN_ALLOW_THREADS;
944 wxListItem_SetData(_arg0,_arg1);
945
946 wxPy_END_ALLOW_THREADS;
947 if (PyErr_Occurred()) return NULL;
948} Py_INCREF(Py_None);
949 _resultobj = Py_None;
950 return _resultobj;
951}
952
953#define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
954static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
955 PyObject * _resultobj;
956 wxListItem * _arg0;
957 int _arg1;
958 PyObject * _argo0 = 0;
959 char *_kwnames[] = { "self","width", NULL };
960
961 self = self;
962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1))
963 return NULL;
964 if (_argo0) {
965 if (_argo0 == Py_None) { _arg0 = NULL; }
966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
968 return NULL;
969 }
970 }
971{
972 wxPy_BEGIN_ALLOW_THREADS;
973 wxListItem_SetWidth(_arg0,_arg1);
974
975 wxPy_END_ALLOW_THREADS;
976 if (PyErr_Occurred()) return NULL;
977} Py_INCREF(Py_None);
978 _resultobj = Py_None;
979 return _resultobj;
980}
981
982#define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
983static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
984 PyObject * _resultobj;
985 wxListItem * _arg0;
986 wxListColumnFormat _arg1;
987 PyObject * _argo0 = 0;
988 char *_kwnames[] = { "self","align", NULL };
989
990 self = self;
991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1))
992 return NULL;
993 if (_argo0) {
994 if (_argo0 == Py_None) { _arg0 = NULL; }
995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
997 return NULL;
998 }
999 }
1000{
1001 wxPy_BEGIN_ALLOW_THREADS;
1002 wxListItem_SetAlign(_arg0,_arg1);
1003
1004 wxPy_END_ALLOW_THREADS;
1005 if (PyErr_Occurred()) return NULL;
1006} Py_INCREF(Py_None);
1007 _resultobj = Py_None;
1008 return _resultobj;
1009}
1010
1011#define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1012static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1013 PyObject * _resultobj;
1014 wxListItem * _arg0;
1015 wxColour * _arg1;
1016 PyObject * _argo0 = 0;
1017 wxColour temp;
1018 PyObject * _obj1 = 0;
1019 char *_kwnames[] = { "self","colText", NULL };
1020
1021 self = self;
1022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1))
1023 return NULL;
1024 if (_argo0) {
1025 if (_argo0 == Py_None) { _arg0 = NULL; }
1026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1028 return NULL;
1029 }
1030 }
1031{
1032 _arg1 = &temp;
1033 if (! wxColour_helper(_obj1, &_arg1))
1034 return NULL;
1035}
1036{
1037 wxPy_BEGIN_ALLOW_THREADS;
1038 wxListItem_SetTextColour(_arg0,*_arg1);
1039
1040 wxPy_END_ALLOW_THREADS;
1041 if (PyErr_Occurred()) return NULL;
1042} Py_INCREF(Py_None);
1043 _resultobj = Py_None;
1044 return _resultobj;
1045}
1046
1047#define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1048static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1049 PyObject * _resultobj;
1050 wxListItem * _arg0;
1051 wxColour * _arg1;
1052 PyObject * _argo0 = 0;
1053 wxColour temp;
1054 PyObject * _obj1 = 0;
1055 char *_kwnames[] = { "self","colBack", NULL };
1056
1057 self = self;
1058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1059 return NULL;
1060 if (_argo0) {
1061 if (_argo0 == Py_None) { _arg0 = NULL; }
1062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1064 return NULL;
1065 }
1066 }
1067{
1068 _arg1 = &temp;
1069 if (! wxColour_helper(_obj1, &_arg1))
1070 return NULL;
1071}
1072{
1073 wxPy_BEGIN_ALLOW_THREADS;
1074 wxListItem_SetBackgroundColour(_arg0,*_arg1);
1075
1076 wxPy_END_ALLOW_THREADS;
1077 if (PyErr_Occurred()) return NULL;
1078} Py_INCREF(Py_None);
1079 _resultobj = Py_None;
1080 return _resultobj;
1081}
1082
1083#define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1084static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1085 PyObject * _resultobj;
1086 wxListItem * _arg0;
1087 wxFont * _arg1;
1088 PyObject * _argo0 = 0;
1089 PyObject * _argo1 = 0;
1090 char *_kwnames[] = { "self","font", NULL };
1091
1092 self = self;
1093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1))
1094 return NULL;
1095 if (_argo0) {
1096 if (_argo0 == Py_None) { _arg0 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1099 return NULL;
1100 }
1101 }
1102 if (_argo1) {
1103 if (_argo1 == Py_None) { _arg1 = NULL; }
1104 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1105 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1106 return NULL;
1107 }
1108 }
1109{
1110 wxPy_BEGIN_ALLOW_THREADS;
1111 wxListItem_SetFont(_arg0,*_arg1);
1112
1113 wxPy_END_ALLOW_THREADS;
1114 if (PyErr_Occurred()) return NULL;
1115} Py_INCREF(Py_None);
1116 _resultobj = Py_None;
1117 return _resultobj;
1118}
1119
1120#define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1121static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1122 PyObject * _resultobj;
1123 long _result;
1124 wxListItem * _arg0;
1125 PyObject * _argo0 = 0;
1126 char *_kwnames[] = { "self", NULL };
1127
1128 self = self;
1129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0))
1130 return NULL;
1131 if (_argo0) {
1132 if (_argo0 == Py_None) { _arg0 = NULL; }
1133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1135 return NULL;
1136 }
1137 }
1138{
1139 wxPy_BEGIN_ALLOW_THREADS;
1140 _result = (long )wxListItem_GetMask(_arg0);
1141
1142 wxPy_END_ALLOW_THREADS;
1143 if (PyErr_Occurred()) return NULL;
1144} _resultobj = Py_BuildValue("l",_result);
1145 return _resultobj;
1146}
1147
1148#define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1149static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
1150 PyObject * _resultobj;
1151 long _result;
1152 wxListItem * _arg0;
1153 PyObject * _argo0 = 0;
1154 char *_kwnames[] = { "self", NULL };
1155
1156 self = self;
1157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0))
1158 return NULL;
1159 if (_argo0) {
1160 if (_argo0 == Py_None) { _arg0 = NULL; }
1161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1163 return NULL;
1164 }
1165 }
1166{
1167 wxPy_BEGIN_ALLOW_THREADS;
1168 _result = (long )wxListItem_GetId(_arg0);
1169
1170 wxPy_END_ALLOW_THREADS;
1171 if (PyErr_Occurred()) return NULL;
1172} _resultobj = Py_BuildValue("l",_result);
1173 return _resultobj;
1174}
1175
1176#define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1177static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1178 PyObject * _resultobj;
1179 int _result;
1180 wxListItem * _arg0;
1181 PyObject * _argo0 = 0;
1182 char *_kwnames[] = { "self", NULL };
1183
1184 self = self;
1185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0))
1186 return NULL;
1187 if (_argo0) {
1188 if (_argo0 == Py_None) { _arg0 = NULL; }
1189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1191 return NULL;
1192 }
1193 }
1194{
1195 wxPy_BEGIN_ALLOW_THREADS;
1196 _result = (int )wxListItem_GetColumn(_arg0);
1197
1198 wxPy_END_ALLOW_THREADS;
1199 if (PyErr_Occurred()) return NULL;
1200} _resultobj = Py_BuildValue("i",_result);
1201 return _resultobj;
1202}
1203
1204#define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1205static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
1206 PyObject * _resultobj;
1207 long _result;
1208 wxListItem * _arg0;
1209 PyObject * _argo0 = 0;
1210 char *_kwnames[] = { "self", NULL };
1211
1212 self = self;
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0))
1214 return NULL;
1215 if (_argo0) {
1216 if (_argo0 == Py_None) { _arg0 = NULL; }
1217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1219 return NULL;
1220 }
1221 }
1222{
1223 wxPy_BEGIN_ALLOW_THREADS;
1224 _result = (long )wxListItem_GetState(_arg0);
1225
1226 wxPy_END_ALLOW_THREADS;
1227 if (PyErr_Occurred()) return NULL;
1228} _resultobj = Py_BuildValue("l",_result);
1229 return _resultobj;
1230}
1231
1232#define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1233static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1234 PyObject * _resultobj;
1235 wxString * _result;
1236 wxListItem * _arg0;
1237 PyObject * _argo0 = 0;
1238 char *_kwnames[] = { "self", NULL };
1239
1240 self = self;
1241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0))
1242 return NULL;
1243 if (_argo0) {
1244 if (_argo0 == Py_None) { _arg0 = NULL; }
1245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1247 return NULL;
1248 }
1249 }
1250{
1251 wxPy_BEGIN_ALLOW_THREADS;
1252 const wxString & _result_ref = wxListItem_GetText(_arg0);
1253 _result = (wxString *) &_result_ref;
1254
1255 wxPy_END_ALLOW_THREADS;
1256 if (PyErr_Occurred()) return NULL;
1257}{
1258 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1259}
1260 return _resultobj;
1261}
1262
1263#define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1264static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
1265 PyObject * _resultobj;
1266 int _result;
1267 wxListItem * _arg0;
1268 PyObject * _argo0 = 0;
1269 char *_kwnames[] = { "self", NULL };
1270
1271 self = self;
1272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0))
1273 return NULL;
1274 if (_argo0) {
1275 if (_argo0 == Py_None) { _arg0 = NULL; }
1276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1278 return NULL;
1279 }
1280 }
1281{
1282 wxPy_BEGIN_ALLOW_THREADS;
1283 _result = (int )wxListItem_GetImage(_arg0);
1284
1285 wxPy_END_ALLOW_THREADS;
1286 if (PyErr_Occurred()) return NULL;
1287} _resultobj = Py_BuildValue("i",_result);
1288 return _resultobj;
1289}
1290
1291#define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1292static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
1293 PyObject * _resultobj;
1294 long _result;
1295 wxListItem * _arg0;
1296 PyObject * _argo0 = 0;
1297 char *_kwnames[] = { "self", NULL };
1298
1299 self = self;
1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0))
1301 return NULL;
1302 if (_argo0) {
1303 if (_argo0 == Py_None) { _arg0 = NULL; }
1304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1306 return NULL;
1307 }
1308 }
1309{
1310 wxPy_BEGIN_ALLOW_THREADS;
1311 _result = (long )wxListItem_GetData(_arg0);
1312
1313 wxPy_END_ALLOW_THREADS;
1314 if (PyErr_Occurred()) return NULL;
1315} _resultobj = Py_BuildValue("l",_result);
1316 return _resultobj;
1317}
1318
1319#define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1320static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject * _resultobj;
1322 int _result;
1323 wxListItem * _arg0;
1324 PyObject * _argo0 = 0;
1325 char *_kwnames[] = { "self", NULL };
1326
1327 self = self;
1328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0))
1329 return NULL;
1330 if (_argo0) {
1331 if (_argo0 == Py_None) { _arg0 = NULL; }
1332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1334 return NULL;
1335 }
1336 }
1337{
1338 wxPy_BEGIN_ALLOW_THREADS;
1339 _result = (int )wxListItem_GetWidth(_arg0);
1340
1341 wxPy_END_ALLOW_THREADS;
1342 if (PyErr_Occurred()) return NULL;
1343} _resultobj = Py_BuildValue("i",_result);
1344 return _resultobj;
1345}
1346
1347#define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1348static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject * _resultobj;
1350 wxListColumnFormat _result;
1351 wxListItem * _arg0;
1352 PyObject * _argo0 = 0;
1353 char *_kwnames[] = { "self", NULL };
1354
1355 self = self;
1356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0))
1357 return NULL;
1358 if (_argo0) {
1359 if (_argo0 == Py_None) { _arg0 = NULL; }
1360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1362 return NULL;
1363 }
1364 }
1365{
1366 wxPy_BEGIN_ALLOW_THREADS;
1367 _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0);
1368
1369 wxPy_END_ALLOW_THREADS;
1370 if (PyErr_Occurred()) return NULL;
1371} _resultobj = Py_BuildValue("i",_result);
1372 return _resultobj;
1373}
1374
1375#define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1376static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject * _resultobj;
1378 wxListItemAttr * _result;
1379 wxListItem * _arg0;
1380 PyObject * _argo0 = 0;
1381 char *_kwnames[] = { "self", NULL };
1382 char _ptemp[128];
1383
1384 self = self;
1385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0))
1386 return NULL;
1387 if (_argo0) {
1388 if (_argo0 == Py_None) { _arg0 = NULL; }
1389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1391 return NULL;
1392 }
1393 }
1394{
1395 wxPy_BEGIN_ALLOW_THREADS;
1396 _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0);
1397
1398 wxPy_END_ALLOW_THREADS;
1399 if (PyErr_Occurred()) return NULL;
1400} if (_result) {
1401 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p");
1402 _resultobj = Py_BuildValue("s",_ptemp);
1403 } else {
1404 Py_INCREF(Py_None);
1405 _resultobj = Py_None;
1406 }
1407 return _resultobj;
1408}
1409
1410#define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1411static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1412 PyObject * _resultobj;
1413 bool _result;
1414 wxListItem * _arg0;
1415 PyObject * _argo0 = 0;
1416 char *_kwnames[] = { "self", NULL };
1417
1418 self = self;
1419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0))
1420 return NULL;
1421 if (_argo0) {
1422 if (_argo0 == Py_None) { _arg0 = NULL; }
1423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1425 return NULL;
1426 }
1427 }
1428{
1429 wxPy_BEGIN_ALLOW_THREADS;
1430 _result = (bool )wxListItem_HasAttributes(_arg0);
1431
1432 wxPy_END_ALLOW_THREADS;
1433 if (PyErr_Occurred()) return NULL;
1434} _resultobj = Py_BuildValue("i",_result);
1435 return _resultobj;
1436}
1437
1438#define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1439static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1440 PyObject * _resultobj;
1441 wxColour * _result;
1442 wxListItem * _arg0;
1443 PyObject * _argo0 = 0;
1444 char *_kwnames[] = { "self", NULL };
1445 char _ptemp[128];
1446
1447 self = self;
1448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0))
1449 return NULL;
1450 if (_argo0) {
1451 if (_argo0 == Py_None) { _arg0 = NULL; }
1452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1454 return NULL;
1455 }
1456 }
1457{
1458 wxPy_BEGIN_ALLOW_THREADS;
1459 _result = new wxColour (wxListItem_GetTextColour(_arg0));
1460
1461 wxPy_END_ALLOW_THREADS;
1462 if (PyErr_Occurred()) return NULL;
1463} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1464 _resultobj = Py_BuildValue("s",_ptemp);
1465 return _resultobj;
1466}
1467
1468#define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1469static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1470 PyObject * _resultobj;
1471 wxColour * _result;
1472 wxListItem * _arg0;
1473 PyObject * _argo0 = 0;
1474 char *_kwnames[] = { "self", NULL };
1475 char _ptemp[128];
1476
1477 self = self;
1478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0))
1479 return NULL;
1480 if (_argo0) {
1481 if (_argo0 == Py_None) { _arg0 = NULL; }
1482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1484 return NULL;
1485 }
1486 }
1487{
1488 wxPy_BEGIN_ALLOW_THREADS;
1489 _result = new wxColour (wxListItem_GetBackgroundColour(_arg0));
1490
1491 wxPy_END_ALLOW_THREADS;
1492 if (PyErr_Occurred()) return NULL;
1493} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1494 _resultobj = Py_BuildValue("s",_ptemp);
1495 return _resultobj;
1496}
1497
1498#define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1499static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject * _resultobj;
1501 wxFont * _result;
1502 wxListItem * _arg0;
1503 PyObject * _argo0 = 0;
1504 char *_kwnames[] = { "self", NULL };
1505 char _ptemp[128];
1506
1507 self = self;
1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0))
1509 return NULL;
1510 if (_argo0) {
1511 if (_argo0 == Py_None) { _arg0 = NULL; }
1512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1514 return NULL;
1515 }
1516 }
1517{
1518 wxPy_BEGIN_ALLOW_THREADS;
1519 _result = new wxFont (wxListItem_GetFont(_arg0));
1520
1521 wxPy_END_ALLOW_THREADS;
1522 if (PyErr_Occurred()) return NULL;
1523} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1524 _resultobj = Py_BuildValue("s",_ptemp);
1525 return _resultobj;
1526}
1527
1528#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1529static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1530 PyObject * _resultobj;
1531 long _result;
1532 wxListItem * _arg0;
1533 long _arg1;
1534 PyObject * _argo0 = 0;
1535 char *_kwnames[] = { "self","m_mask", NULL };
1536
1537 self = self;
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1))
1539 return NULL;
1540 if (_argo0) {
1541 if (_argo0 == Py_None) { _arg0 = NULL; }
1542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1544 return NULL;
1545 }
1546 }
1547{
1548 wxPy_BEGIN_ALLOW_THREADS;
1549 _result = (long )wxListItem_m_mask_set(_arg0,_arg1);
1550
1551 wxPy_END_ALLOW_THREADS;
1552 if (PyErr_Occurred()) return NULL;
1553} _resultobj = Py_BuildValue("l",_result);
1554 return _resultobj;
1555}
1556
1557#define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1558static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject * _resultobj;
1560 long _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_mask_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_mask_get. Expected _wxListItem_p.");
1572 return NULL;
1573 }
1574 }
1575{
1576 wxPy_BEGIN_ALLOW_THREADS;
1577 _result = (long )wxListItem_m_mask_get(_arg0);
1578
1579 wxPy_END_ALLOW_THREADS;
1580 if (PyErr_Occurred()) return NULL;
1581} _resultobj = Py_BuildValue("l",_result);
1582 return _resultobj;
1583}
1584
1585#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1586static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject * _resultobj;
1588 long _result;
1589 wxListItem * _arg0;
1590 long _arg1;
1591 PyObject * _argo0 = 0;
1592 char *_kwnames[] = { "self","m_itemId", NULL };
1593
1594 self = self;
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1))
1596 return NULL;
1597 if (_argo0) {
1598 if (_argo0 == Py_None) { _arg0 = NULL; }
1599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1601 return NULL;
1602 }
1603 }
1604{
1605 wxPy_BEGIN_ALLOW_THREADS;
1606 _result = (long )wxListItem_m_itemId_set(_arg0,_arg1);
1607
1608 wxPy_END_ALLOW_THREADS;
1609 if (PyErr_Occurred()) return NULL;
1610} _resultobj = Py_BuildValue("l",_result);
1611 return _resultobj;
1612}
1613
1614#define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1615static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1616 PyObject * _resultobj;
1617 long _result;
1618 wxListItem * _arg0;
1619 PyObject * _argo0 = 0;
1620 char *_kwnames[] = { "self", NULL };
1621
1622 self = self;
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0))
1624 return NULL;
1625 if (_argo0) {
1626 if (_argo0 == Py_None) { _arg0 = NULL; }
1627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1629 return NULL;
1630 }
1631 }
1632{
1633 wxPy_BEGIN_ALLOW_THREADS;
1634 _result = (long )wxListItem_m_itemId_get(_arg0);
1635
1636 wxPy_END_ALLOW_THREADS;
1637 if (PyErr_Occurred()) return NULL;
1638} _resultobj = Py_BuildValue("l",_result);
1639 return _resultobj;
1640}
1641
1642#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1643static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1644 PyObject * _resultobj;
1645 int _result;
1646 wxListItem * _arg0;
1647 int _arg1;
1648 PyObject * _argo0 = 0;
1649 char *_kwnames[] = { "self","m_col", NULL };
1650
1651 self = self;
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1))
1653 return NULL;
1654 if (_argo0) {
1655 if (_argo0 == Py_None) { _arg0 = NULL; }
1656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1658 return NULL;
1659 }
1660 }
1661{
1662 wxPy_BEGIN_ALLOW_THREADS;
1663 _result = (int )wxListItem_m_col_set(_arg0,_arg1);
1664
1665 wxPy_END_ALLOW_THREADS;
1666 if (PyErr_Occurred()) return NULL;
1667} _resultobj = Py_BuildValue("i",_result);
1668 return _resultobj;
1669}
1670
1671#define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1672static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1673 PyObject * _resultobj;
1674 int _result;
1675 wxListItem * _arg0;
1676 PyObject * _argo0 = 0;
1677 char *_kwnames[] = { "self", NULL };
1678
1679 self = self;
1680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0))
1681 return NULL;
1682 if (_argo0) {
1683 if (_argo0 == Py_None) { _arg0 = NULL; }
1684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1686 return NULL;
1687 }
1688 }
1689{
1690 wxPy_BEGIN_ALLOW_THREADS;
1691 _result = (int )wxListItem_m_col_get(_arg0);
1692
1693 wxPy_END_ALLOW_THREADS;
1694 if (PyErr_Occurred()) return NULL;
1695} _resultobj = Py_BuildValue("i",_result);
1696 return _resultobj;
1697}
1698
1699#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1700static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1701 PyObject * _resultobj;
1702 long _result;
1703 wxListItem * _arg0;
1704 long _arg1;
1705 PyObject * _argo0 = 0;
1706 char *_kwnames[] = { "self","m_state", NULL };
1707
1708 self = self;
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1))
1710 return NULL;
1711 if (_argo0) {
1712 if (_argo0 == Py_None) { _arg0 = NULL; }
1713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1715 return NULL;
1716 }
1717 }
1718{
1719 wxPy_BEGIN_ALLOW_THREADS;
1720 _result = (long )wxListItem_m_state_set(_arg0,_arg1);
1721
1722 wxPy_END_ALLOW_THREADS;
1723 if (PyErr_Occurred()) return NULL;
1724} _resultobj = Py_BuildValue("l",_result);
1725 return _resultobj;
1726}
1727
1728#define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1729static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject * _resultobj;
1731 long _result;
1732 wxListItem * _arg0;
1733 PyObject * _argo0 = 0;
1734 char *_kwnames[] = { "self", NULL };
1735
1736 self = self;
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0))
1738 return NULL;
1739 if (_argo0) {
1740 if (_argo0 == Py_None) { _arg0 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1743 return NULL;
1744 }
1745 }
1746{
1747 wxPy_BEGIN_ALLOW_THREADS;
1748 _result = (long )wxListItem_m_state_get(_arg0);
1749
1750 wxPy_END_ALLOW_THREADS;
1751 if (PyErr_Occurred()) return NULL;
1752} _resultobj = Py_BuildValue("l",_result);
1753 return _resultobj;
1754}
1755
1756#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1757static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1758 PyObject * _resultobj;
1759 long _result;
1760 wxListItem * _arg0;
1761 long _arg1;
1762 PyObject * _argo0 = 0;
1763 char *_kwnames[] = { "self","m_stateMask", NULL };
1764
1765 self = self;
1766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1))
1767 return NULL;
1768 if (_argo0) {
1769 if (_argo0 == Py_None) { _arg0 = NULL; }
1770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1772 return NULL;
1773 }
1774 }
1775{
1776 wxPy_BEGIN_ALLOW_THREADS;
1777 _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1);
1778
1779 wxPy_END_ALLOW_THREADS;
1780 if (PyErr_Occurred()) return NULL;
1781} _resultobj = Py_BuildValue("l",_result);
1782 return _resultobj;
1783}
1784
1785#define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1786static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1787 PyObject * _resultobj;
1788 long _result;
1789 wxListItem * _arg0;
1790 PyObject * _argo0 = 0;
1791 char *_kwnames[] = { "self", NULL };
1792
1793 self = self;
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0))
1795 return NULL;
1796 if (_argo0) {
1797 if (_argo0 == Py_None) { _arg0 = NULL; }
1798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1800 return NULL;
1801 }
1802 }
1803{
1804 wxPy_BEGIN_ALLOW_THREADS;
1805 _result = (long )wxListItem_m_stateMask_get(_arg0);
1806
1807 wxPy_END_ALLOW_THREADS;
1808 if (PyErr_Occurred()) return NULL;
1809} _resultobj = Py_BuildValue("l",_result);
1810 return _resultobj;
1811}
1812
1813#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1814static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject * _resultobj;
1816 wxString * _result;
1817 wxListItem * _arg0;
1818 wxString * _arg1;
1819 PyObject * _argo0 = 0;
1820 PyObject * _obj1 = 0;
1821 char *_kwnames[] = { "self","m_text", NULL };
1822
1823 self = self;
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1))
1825 return NULL;
1826 if (_argo0) {
1827 if (_argo0 == Py_None) { _arg0 = NULL; }
1828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1830 return NULL;
1831 }
1832 }
1833{
1834#if PYTHON_API_VERSION >= 1009
1835 char* tmpPtr; int tmpSize;
1836 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1837 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1838 return NULL;
1839 }
1840 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1841 return NULL;
1842 _arg1 = new wxString(tmpPtr, tmpSize);
1843#else
1844 if (!PyString_Check(_obj1)) {
1845 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1846 return NULL;
1847 }
1848 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1849#endif
1850}
1851{
1852 wxPy_BEGIN_ALLOW_THREADS;
1853 _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1);
1854
1855 wxPy_END_ALLOW_THREADS;
1856 if (PyErr_Occurred()) return NULL;
1857}{
1858 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1859}
1860{
1861 if (_obj1)
1862 delete _arg1;
1863}
1864 return _resultobj;
1865}
1866
1867#define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1868static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject * _resultobj;
1870 wxString * _result;
1871 wxListItem * _arg0;
1872 PyObject * _argo0 = 0;
1873 char *_kwnames[] = { "self", NULL };
1874
1875 self = self;
1876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0))
1877 return NULL;
1878 if (_argo0) {
1879 if (_argo0 == Py_None) { _arg0 = NULL; }
1880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1882 return NULL;
1883 }
1884 }
1885{
1886 wxPy_BEGIN_ALLOW_THREADS;
1887 _result = (wxString *)wxListItem_m_text_get(_arg0);
1888
1889 wxPy_END_ALLOW_THREADS;
1890 if (PyErr_Occurred()) return NULL;
1891}{
1892 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1893}
1894 return _resultobj;
1895}
1896
1897#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1898static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1899 PyObject * _resultobj;
1900 int _result;
1901 wxListItem * _arg0;
1902 int _arg1;
1903 PyObject * _argo0 = 0;
1904 char *_kwnames[] = { "self","m_image", NULL };
1905
1906 self = self;
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1))
1908 return NULL;
1909 if (_argo0) {
1910 if (_argo0 == Py_None) { _arg0 = NULL; }
1911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1913 return NULL;
1914 }
1915 }
1916{
1917 wxPy_BEGIN_ALLOW_THREADS;
1918 _result = (int )wxListItem_m_image_set(_arg0,_arg1);
1919
1920 wxPy_END_ALLOW_THREADS;
1921 if (PyErr_Occurred()) return NULL;
1922} _resultobj = Py_BuildValue("i",_result);
1923 return _resultobj;
1924}
1925
1926#define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1927static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject * _resultobj;
1929 int _result;
1930 wxListItem * _arg0;
1931 PyObject * _argo0 = 0;
1932 char *_kwnames[] = { "self", NULL };
1933
1934 self = self;
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0))
1936 return NULL;
1937 if (_argo0) {
1938 if (_argo0 == Py_None) { _arg0 = NULL; }
1939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1941 return NULL;
1942 }
1943 }
1944{
1945 wxPy_BEGIN_ALLOW_THREADS;
1946 _result = (int )wxListItem_m_image_get(_arg0);
1947
1948 wxPy_END_ALLOW_THREADS;
1949 if (PyErr_Occurred()) return NULL;
1950} _resultobj = Py_BuildValue("i",_result);
1951 return _resultobj;
1952}
1953
1954#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1955static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1956 PyObject * _resultobj;
1957 long _result;
1958 wxListItem * _arg0;
1959 long _arg1;
1960 PyObject * _argo0 = 0;
1961 char *_kwnames[] = { "self","m_data", NULL };
1962
1963 self = self;
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1))
1965 return NULL;
1966 if (_argo0) {
1967 if (_argo0 == Py_None) { _arg0 = NULL; }
1968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1970 return NULL;
1971 }
1972 }
1973{
1974 wxPy_BEGIN_ALLOW_THREADS;
1975 _result = (long )wxListItem_m_data_set(_arg0,_arg1);
1976
1977 wxPy_END_ALLOW_THREADS;
1978 if (PyErr_Occurred()) return NULL;
1979} _resultobj = Py_BuildValue("l",_result);
1980 return _resultobj;
1981}
1982
1983#define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1984static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject * _resultobj;
1986 long _result;
1987 wxListItem * _arg0;
1988 PyObject * _argo0 = 0;
1989 char *_kwnames[] = { "self", NULL };
1990
1991 self = self;
1992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0))
1993 return NULL;
1994 if (_argo0) {
1995 if (_argo0 == Py_None) { _arg0 = NULL; }
1996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
1997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1998 return NULL;
1999 }
2000 }
2001{
2002 wxPy_BEGIN_ALLOW_THREADS;
2003 _result = (long )wxListItem_m_data_get(_arg0);
2004
2005 wxPy_END_ALLOW_THREADS;
2006 if (PyErr_Occurred()) return NULL;
2007} _resultobj = Py_BuildValue("l",_result);
2008 return _resultobj;
2009}
2010
2011#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
2012static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2013 PyObject * _resultobj;
2014 int _result;
2015 wxListItem * _arg0;
2016 int _arg1;
2017 PyObject * _argo0 = 0;
2018 char *_kwnames[] = { "self","m_format", NULL };
2019
2020 self = self;
2021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1))
2022 return NULL;
2023 if (_argo0) {
2024 if (_argo0 == Py_None) { _arg0 = NULL; }
2025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2027 return NULL;
2028 }
2029 }
2030{
2031 wxPy_BEGIN_ALLOW_THREADS;
2032 _result = (int )wxListItem_m_format_set(_arg0,_arg1);
2033
2034 wxPy_END_ALLOW_THREADS;
2035 if (PyErr_Occurred()) return NULL;
2036} _resultobj = Py_BuildValue("i",_result);
2037 return _resultobj;
2038}
2039
2040#define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2041static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2042 PyObject * _resultobj;
2043 int _result;
2044 wxListItem * _arg0;
2045 PyObject * _argo0 = 0;
2046 char *_kwnames[] = { "self", NULL };
2047
2048 self = self;
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0))
2050 return NULL;
2051 if (_argo0) {
2052 if (_argo0 == Py_None) { _arg0 = NULL; }
2053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2055 return NULL;
2056 }
2057 }
2058{
2059 wxPy_BEGIN_ALLOW_THREADS;
2060 _result = (int )wxListItem_m_format_get(_arg0);
2061
2062 wxPy_END_ALLOW_THREADS;
2063 if (PyErr_Occurred()) return NULL;
2064} _resultobj = Py_BuildValue("i",_result);
2065 return _resultobj;
2066}
2067
2068#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2069static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject * _resultobj;
2071 int _result;
2072 wxListItem * _arg0;
2073 int _arg1;
2074 PyObject * _argo0 = 0;
2075 char *_kwnames[] = { "self","m_width", NULL };
2076
2077 self = self;
2078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1))
2079 return NULL;
2080 if (_argo0) {
2081 if (_argo0 == Py_None) { _arg0 = NULL; }
2082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2084 return NULL;
2085 }
2086 }
2087{
2088 wxPy_BEGIN_ALLOW_THREADS;
2089 _result = (int )wxListItem_m_width_set(_arg0,_arg1);
2090
2091 wxPy_END_ALLOW_THREADS;
2092 if (PyErr_Occurred()) return NULL;
2093} _resultobj = Py_BuildValue("i",_result);
2094 return _resultobj;
2095}
2096
2097#define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2098static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2099 PyObject * _resultobj;
2100 int _result;
2101 wxListItem * _arg0;
2102 PyObject * _argo0 = 0;
2103 char *_kwnames[] = { "self", NULL };
2104
2105 self = self;
2106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0))
2107 return NULL;
2108 if (_argo0) {
2109 if (_argo0 == Py_None) { _arg0 = NULL; }
2110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) {
2111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2112 return NULL;
2113 }
2114 }
2115{
2116 wxPy_BEGIN_ALLOW_THREADS;
2117 _result = (int )wxListItem_m_width_get(_arg0);
2118
2119 wxPy_END_ALLOW_THREADS;
2120 if (PyErr_Occurred()) return NULL;
2121} _resultobj = Py_BuildValue("i",_result);
2122 return _resultobj;
2123}
2124
2125static void *SwigwxListEventTowxNotifyEvent(void *ptr) {
2126 wxListEvent *src;
2127 wxNotifyEvent *dest;
2128 src = (wxListEvent *) ptr;
2129 dest = (wxNotifyEvent *) src;
2130 return (void *) dest;
2131}
2132
2133static void *SwigwxListEventTowxCommandEvent(void *ptr) {
2134 wxListEvent *src;
2135 wxCommandEvent *dest;
2136 src = (wxListEvent *) ptr;
2137 dest = (wxCommandEvent *) src;
2138 return (void *) dest;
2139}
2140
2141static void *SwigwxListEventTowxEvent(void *ptr) {
2142 wxListEvent *src;
2143 wxEvent *dest;
2144 src = (wxListEvent *) ptr;
2145 dest = (wxEvent *) src;
2146 return (void *) dest;
2147}
2148
2149static void *SwigwxListEventTowxObject(void *ptr) {
2150 wxListEvent *src;
2151 wxObject *dest;
2152 src = (wxListEvent *) ptr;
2153 dest = (wxObject *) src;
2154 return (void *) dest;
2155}
2156
2157#define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2158static PyObject *_wrap_new_wxListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2159 PyObject * _resultobj;
2160 wxListEvent * _result;
2161 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2162 int _arg1 = (int ) 0;
2163 char *_kwnames[] = { "commandType","id", NULL };
2164 char _ptemp[128];
2165
2166 self = self;
2167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxListEvent",_kwnames,&_arg0,&_arg1))
2168 return NULL;
2169{
2170 wxPy_BEGIN_ALLOW_THREADS;
2171 _result = (wxListEvent *)new_wxListEvent(_arg0,_arg1);
2172
2173 wxPy_END_ALLOW_THREADS;
2174 if (PyErr_Occurred()) return NULL;
2175} if (_result) {
2176 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListEvent_p");
2177 _resultobj = Py_BuildValue("s",_ptemp);
2178 } else {
2179 Py_INCREF(Py_None);
2180 _resultobj = Py_None;
2181 }
2182 return _resultobj;
2183}
2184
2185#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2186static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2187 PyObject * _resultobj;
2188 int _result;
2189 wxListEvent * _arg0;
2190 int _arg1;
2191 PyObject * _argo0 = 0;
2192 char *_kwnames[] = { "self","m_code", NULL };
2193
2194 self = self;
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1))
2196 return NULL;
2197 if (_argo0) {
2198 if (_argo0 == Py_None) { _arg0 = NULL; }
2199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2201 return NULL;
2202 }
2203 }
2204{
2205 wxPy_BEGIN_ALLOW_THREADS;
2206 _result = (int )wxListEvent_m_code_set(_arg0,_arg1);
2207
2208 wxPy_END_ALLOW_THREADS;
2209 if (PyErr_Occurred()) return NULL;
2210} _resultobj = Py_BuildValue("i",_result);
2211 return _resultobj;
2212}
2213
2214#define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2215static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject * _resultobj;
2217 int _result;
2218 wxListEvent * _arg0;
2219 PyObject * _argo0 = 0;
2220 char *_kwnames[] = { "self", NULL };
2221
2222 self = self;
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0))
2224 return NULL;
2225 if (_argo0) {
2226 if (_argo0 == Py_None) { _arg0 = NULL; }
2227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2229 return NULL;
2230 }
2231 }
2232{
2233 wxPy_BEGIN_ALLOW_THREADS;
2234 _result = (int )wxListEvent_m_code_get(_arg0);
2235
2236 wxPy_END_ALLOW_THREADS;
2237 if (PyErr_Occurred()) return NULL;
2238} _resultobj = Py_BuildValue("i",_result);
2239 return _resultobj;
2240}
2241
2242#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2243static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject * _resultobj;
2245 long _result;
2246 wxListEvent * _arg0;
2247 long _arg1;
2248 PyObject * _argo0 = 0;
2249 char *_kwnames[] = { "self","m_itemIndex", NULL };
2250
2251 self = self;
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1))
2253 return NULL;
2254 if (_argo0) {
2255 if (_argo0 == Py_None) { _arg0 = NULL; }
2256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2258 return NULL;
2259 }
2260 }
2261{
2262 wxPy_BEGIN_ALLOW_THREADS;
2263 _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1);
2264
2265 wxPy_END_ALLOW_THREADS;
2266 if (PyErr_Occurred()) return NULL;
2267} _resultobj = Py_BuildValue("l",_result);
2268 return _resultobj;
2269}
2270
2271#define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2272static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2273 PyObject * _resultobj;
2274 long _result;
2275 wxListEvent * _arg0;
2276 PyObject * _argo0 = 0;
2277 char *_kwnames[] = { "self", NULL };
2278
2279 self = self;
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0))
2281 return NULL;
2282 if (_argo0) {
2283 if (_argo0 == Py_None) { _arg0 = NULL; }
2284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2286 return NULL;
2287 }
2288 }
2289{
2290 wxPy_BEGIN_ALLOW_THREADS;
2291 _result = (long )wxListEvent_m_itemIndex_get(_arg0);
2292
2293 wxPy_END_ALLOW_THREADS;
2294 if (PyErr_Occurred()) return NULL;
2295} _resultobj = Py_BuildValue("l",_result);
2296 return _resultobj;
2297}
2298
2299#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2300static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2301 PyObject * _resultobj;
2302 long _result;
2303 wxListEvent * _arg0;
2304 long _arg1;
2305 PyObject * _argo0 = 0;
2306 char *_kwnames[] = { "self","m_oldItemIndex", NULL };
2307
2308 self = self;
2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1))
2310 return NULL;
2311 if (_argo0) {
2312 if (_argo0 == Py_None) { _arg0 = NULL; }
2313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2315 return NULL;
2316 }
2317 }
2318{
2319 wxPy_BEGIN_ALLOW_THREADS;
2320 _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1);
2321
2322 wxPy_END_ALLOW_THREADS;
2323 if (PyErr_Occurred()) return NULL;
2324} _resultobj = Py_BuildValue("l",_result);
2325 return _resultobj;
2326}
2327
2328#define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2329static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2330 PyObject * _resultobj;
2331 long _result;
2332 wxListEvent * _arg0;
2333 PyObject * _argo0 = 0;
2334 char *_kwnames[] = { "self", NULL };
2335
2336 self = self;
2337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0))
2338 return NULL;
2339 if (_argo0) {
2340 if (_argo0 == Py_None) { _arg0 = NULL; }
2341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2343 return NULL;
2344 }
2345 }
2346{
2347 wxPy_BEGIN_ALLOW_THREADS;
2348 _result = (long )wxListEvent_m_oldItemIndex_get(_arg0);
2349
2350 wxPy_END_ALLOW_THREADS;
2351 if (PyErr_Occurred()) return NULL;
2352} _resultobj = Py_BuildValue("l",_result);
2353 return _resultobj;
2354}
2355
2356#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2357static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject * _resultobj;
2359 int _result;
2360 wxListEvent * _arg0;
2361 int _arg1;
2362 PyObject * _argo0 = 0;
2363 char *_kwnames[] = { "self","m_col", NULL };
2364
2365 self = self;
2366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1))
2367 return NULL;
2368 if (_argo0) {
2369 if (_argo0 == Py_None) { _arg0 = NULL; }
2370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2372 return NULL;
2373 }
2374 }
2375{
2376 wxPy_BEGIN_ALLOW_THREADS;
2377 _result = (int )wxListEvent_m_col_set(_arg0,_arg1);
2378
2379 wxPy_END_ALLOW_THREADS;
2380 if (PyErr_Occurred()) return NULL;
2381} _resultobj = Py_BuildValue("i",_result);
2382 return _resultobj;
2383}
2384
2385#define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2386static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2387 PyObject * _resultobj;
2388 int _result;
2389 wxListEvent * _arg0;
2390 PyObject * _argo0 = 0;
2391 char *_kwnames[] = { "self", NULL };
2392
2393 self = self;
2394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0))
2395 return NULL;
2396 if (_argo0) {
2397 if (_argo0 == Py_None) { _arg0 = NULL; }
2398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2400 return NULL;
2401 }
2402 }
2403{
2404 wxPy_BEGIN_ALLOW_THREADS;
2405 _result = (int )wxListEvent_m_col_get(_arg0);
2406
2407 wxPy_END_ALLOW_THREADS;
2408 if (PyErr_Occurred()) return NULL;
2409} _resultobj = Py_BuildValue("i",_result);
2410 return _resultobj;
2411}
2412
2413#define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2414static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2415 PyObject * _resultobj;
2416 bool _result;
2417 wxListEvent * _arg0;
2418 bool _arg1;
2419 PyObject * _argo0 = 0;
2420 int tempbool1;
2421 char *_kwnames[] = { "self","m_cancelled", NULL };
2422
2423 self = self;
2424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1))
2425 return NULL;
2426 if (_argo0) {
2427 if (_argo0 == Py_None) { _arg0 = NULL; }
2428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2430 return NULL;
2431 }
2432 }
2433 _arg1 = (bool ) tempbool1;
2434{
2435 wxPy_BEGIN_ALLOW_THREADS;
2436 _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1);
2437
2438 wxPy_END_ALLOW_THREADS;
2439 if (PyErr_Occurred()) return NULL;
2440} _resultobj = Py_BuildValue("i",_result);
2441 return _resultobj;
2442}
2443
2444#define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2445static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2446 PyObject * _resultobj;
2447 bool _result;
2448 wxListEvent * _arg0;
2449 PyObject * _argo0 = 0;
2450 char *_kwnames[] = { "self", NULL };
2451
2452 self = self;
2453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0))
2454 return NULL;
2455 if (_argo0) {
2456 if (_argo0 == Py_None) { _arg0 = NULL; }
2457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2459 return NULL;
2460 }
2461 }
2462{
2463 wxPy_BEGIN_ALLOW_THREADS;
2464 _result = (bool )wxListEvent_m_cancelled_get(_arg0);
2465
2466 wxPy_END_ALLOW_THREADS;
2467 if (PyErr_Occurred()) return NULL;
2468} _resultobj = Py_BuildValue("i",_result);
2469 return _resultobj;
2470}
2471
2472#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2473static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2474 PyObject * _resultobj;
2475 wxPoint * _result;
2476 wxListEvent * _arg0;
2477 wxPoint * _arg1;
2478 PyObject * _argo0 = 0;
2479 wxPoint temp;
2480 PyObject * _obj1 = 0;
2481 char *_kwnames[] = { "self","m_pointDrag", NULL };
2482 char _ptemp[128];
2483
2484 self = self;
2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1))
2486 return NULL;
2487 if (_argo0) {
2488 if (_argo0 == Py_None) { _arg0 = NULL; }
2489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2491 return NULL;
2492 }
2493 }
2494{
2495 _arg1 = &temp;
2496 if (! wxPoint_helper(_obj1, &_arg1))
2497 return NULL;
2498}
2499{
2500 wxPy_BEGIN_ALLOW_THREADS;
2501 _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1);
2502
2503 wxPy_END_ALLOW_THREADS;
2504 if (PyErr_Occurred()) return NULL;
2505} if (_result) {
2506 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2507 _resultobj = Py_BuildValue("s",_ptemp);
2508 } else {
2509 Py_INCREF(Py_None);
2510 _resultobj = Py_None;
2511 }
2512 return _resultobj;
2513}
2514
2515#define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2516static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2517 PyObject * _resultobj;
2518 wxPoint * _result;
2519 wxListEvent * _arg0;
2520 PyObject * _argo0 = 0;
2521 char *_kwnames[] = { "self", NULL };
2522 char _ptemp[128];
2523
2524 self = self;
2525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0))
2526 return NULL;
2527 if (_argo0) {
2528 if (_argo0 == Py_None) { _arg0 = NULL; }
2529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2531 return NULL;
2532 }
2533 }
2534{
2535 wxPy_BEGIN_ALLOW_THREADS;
2536 _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0);
2537
2538 wxPy_END_ALLOW_THREADS;
2539 if (PyErr_Occurred()) return NULL;
2540} if (_result) {
2541 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2542 _resultobj = Py_BuildValue("s",_ptemp);
2543 } else {
2544 Py_INCREF(Py_None);
2545 _resultobj = Py_None;
2546 }
2547 return _resultobj;
2548}
2549
2550#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2551static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2552 PyObject * _resultobj;
2553 wxListItem * _result;
2554 wxListEvent * _arg0;
2555 wxListItem * _arg1;
2556 PyObject * _argo0 = 0;
2557 PyObject * _argo1 = 0;
2558 char *_kwnames[] = { "self","m_item", NULL };
2559
2560 self = self;
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1))
2562 return NULL;
2563 if (_argo0) {
2564 if (_argo0 == Py_None) { _arg0 = NULL; }
2565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2567 return NULL;
2568 }
2569 }
2570 if (_argo1) {
2571 if (_argo1 == Py_None) { _arg1 = NULL; }
2572 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
2573 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2574 return NULL;
2575 }
2576 }
2577{
2578 wxPy_BEGIN_ALLOW_THREADS;
2579 _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1);
2580
2581 wxPy_END_ALLOW_THREADS;
2582 if (PyErr_Occurred()) return NULL;
2583}{ _resultobj = wxPyMake_wxObject(_result); }
2584 return _resultobj;
2585}
2586
2587#define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2588static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2589 PyObject * _resultobj;
2590 wxListItem * _result;
2591 wxListEvent * _arg0;
2592 PyObject * _argo0 = 0;
2593 char *_kwnames[] = { "self", NULL };
2594
2595 self = self;
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0))
2597 return NULL;
2598 if (_argo0) {
2599 if (_argo0 == Py_None) { _arg0 = NULL; }
2600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2602 return NULL;
2603 }
2604 }
2605{
2606 wxPy_BEGIN_ALLOW_THREADS;
2607 _result = (wxListItem *)wxListEvent_m_item_get(_arg0);
2608
2609 wxPy_END_ALLOW_THREADS;
2610 if (PyErr_Occurred()) return NULL;
2611}{ _resultobj = wxPyMake_wxObject(_result); }
2612 return _resultobj;
2613}
2614
2615#define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2616static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2617 PyObject * _resultobj;
2618 int _result;
2619 wxListEvent * _arg0;
2620 PyObject * _argo0 = 0;
2621 char *_kwnames[] = { "self", NULL };
2622
2623 self = self;
2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0))
2625 return NULL;
2626 if (_argo0) {
2627 if (_argo0 == Py_None) { _arg0 = NULL; }
2628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2630 return NULL;
2631 }
2632 }
2633{
2634 wxPy_BEGIN_ALLOW_THREADS;
2635 _result = (int )wxListEvent_GetCode(_arg0);
2636
2637 wxPy_END_ALLOW_THREADS;
2638 if (PyErr_Occurred()) return NULL;
2639} _resultobj = Py_BuildValue("i",_result);
2640 return _resultobj;
2641}
2642
2643#define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2644static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2645 PyObject * _resultobj;
2646 long _result;
2647 wxListEvent * _arg0;
2648 PyObject * _argo0 = 0;
2649 char *_kwnames[] = { "self", NULL };
2650
2651 self = self;
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0))
2653 return NULL;
2654 if (_argo0) {
2655 if (_argo0 == Py_None) { _arg0 = NULL; }
2656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2658 return NULL;
2659 }
2660 }
2661{
2662 wxPy_BEGIN_ALLOW_THREADS;
2663 _result = (long )wxListEvent_GetIndex(_arg0);
2664
2665 wxPy_END_ALLOW_THREADS;
2666 if (PyErr_Occurred()) return NULL;
2667} _resultobj = Py_BuildValue("l",_result);
2668 return _resultobj;
2669}
2670
2671#define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2672static PyObject *_wrap_wxListEvent_GetOldIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2673 PyObject * _resultobj;
2674 long _result;
2675 wxListEvent * _arg0;
2676 PyObject * _argo0 = 0;
2677 char *_kwnames[] = { "self", NULL };
2678
2679 self = self;
2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldIndex",_kwnames,&_argo0))
2681 return NULL;
2682 if (_argo0) {
2683 if (_argo0 == Py_None) { _arg0 = NULL; }
2684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2686 return NULL;
2687 }
2688 }
2689{
2690 wxPy_BEGIN_ALLOW_THREADS;
2691 _result = (long )wxListEvent_GetOldIndex(_arg0);
2692
2693 wxPy_END_ALLOW_THREADS;
2694 if (PyErr_Occurred()) return NULL;
2695} _resultobj = Py_BuildValue("l",_result);
2696 return _resultobj;
2697}
2698
2699#define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2700static PyObject *_wrap_wxListEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject * _resultobj;
2702 long _result;
2703 wxListEvent * _arg0;
2704 PyObject * _argo0 = 0;
2705 char *_kwnames[] = { "self", NULL };
2706
2707 self = self;
2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldItem",_kwnames,&_argo0))
2709 return NULL;
2710 if (_argo0) {
2711 if (_argo0 == Py_None) { _arg0 = NULL; }
2712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2714 return NULL;
2715 }
2716 }
2717{
2718 wxPy_BEGIN_ALLOW_THREADS;
2719 _result = (long )wxListEvent_GetOldItem(_arg0);
2720
2721 wxPy_END_ALLOW_THREADS;
2722 if (PyErr_Occurred()) return NULL;
2723} _resultobj = Py_BuildValue("l",_result);
2724 return _resultobj;
2725}
2726
2727#define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2728static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject * _resultobj;
2730 int _result;
2731 wxListEvent * _arg0;
2732 PyObject * _argo0 = 0;
2733 char *_kwnames[] = { "self", NULL };
2734
2735 self = self;
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0))
2737 return NULL;
2738 if (_argo0) {
2739 if (_argo0 == Py_None) { _arg0 = NULL; }
2740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2742 return NULL;
2743 }
2744 }
2745{
2746 wxPy_BEGIN_ALLOW_THREADS;
2747 _result = (int )wxListEvent_GetColumn(_arg0);
2748
2749 wxPy_END_ALLOW_THREADS;
2750 if (PyErr_Occurred()) return NULL;
2751} _resultobj = Py_BuildValue("i",_result);
2752 return _resultobj;
2753}
2754
2755#define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2756static PyObject *_wrap_wxListEvent_Cancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject * _resultobj;
2758 bool _result;
2759 wxListEvent * _arg0;
2760 PyObject * _argo0 = 0;
2761 char *_kwnames[] = { "self", NULL };
2762
2763 self = self;
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_Cancelled",_kwnames,&_argo0))
2765 return NULL;
2766 if (_argo0) {
2767 if (_argo0 == Py_None) { _arg0 = NULL; }
2768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2770 return NULL;
2771 }
2772 }
2773{
2774 wxPy_BEGIN_ALLOW_THREADS;
2775 _result = (bool )wxListEvent_Cancelled(_arg0);
2776
2777 wxPy_END_ALLOW_THREADS;
2778 if (PyErr_Occurred()) return NULL;
2779} _resultobj = Py_BuildValue("i",_result);
2780 return _resultobj;
2781}
2782
2783#define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2784static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject * _resultobj;
2786 wxPoint * _result;
2787 wxListEvent * _arg0;
2788 PyObject * _argo0 = 0;
2789 char *_kwnames[] = { "self", NULL };
2790 char _ptemp[128];
2791
2792 self = self;
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0))
2794 return NULL;
2795 if (_argo0) {
2796 if (_argo0 == Py_None) { _arg0 = NULL; }
2797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2799 return NULL;
2800 }
2801 }
2802{
2803 wxPy_BEGIN_ALLOW_THREADS;
2804 _result = new wxPoint (wxListEvent_GetPoint(_arg0));
2805
2806 wxPy_END_ALLOW_THREADS;
2807 if (PyErr_Occurred()) return NULL;
2808} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2809 _resultobj = Py_BuildValue("s",_ptemp);
2810 return _resultobj;
2811}
2812
2813#define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2814static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
2815 PyObject * _resultobj;
2816 wxString * _result;
2817 wxListEvent * _arg0;
2818 PyObject * _argo0 = 0;
2819 char *_kwnames[] = { "self", NULL };
2820
2821 self = self;
2822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0))
2823 return NULL;
2824 if (_argo0) {
2825 if (_argo0 == Py_None) { _arg0 = NULL; }
2826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2828 return NULL;
2829 }
2830 }
2831{
2832 wxPy_BEGIN_ALLOW_THREADS;
2833 const wxString & _result_ref = wxListEvent_GetLabel(_arg0);
2834 _result = (wxString *) &_result_ref;
2835
2836 wxPy_END_ALLOW_THREADS;
2837 if (PyErr_Occurred()) return NULL;
2838}{
2839 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2840}
2841 return _resultobj;
2842}
2843
2844#define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2845static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
2846 PyObject * _resultobj;
2847 wxString * _result;
2848 wxListEvent * _arg0;
2849 PyObject * _argo0 = 0;
2850 char *_kwnames[] = { "self", NULL };
2851
2852 self = self;
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0))
2854 return NULL;
2855 if (_argo0) {
2856 if (_argo0 == Py_None) { _arg0 = NULL; }
2857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2859 return NULL;
2860 }
2861 }
2862{
2863 wxPy_BEGIN_ALLOW_THREADS;
2864 const wxString & _result_ref = wxListEvent_GetText(_arg0);
2865 _result = (wxString *) &_result_ref;
2866
2867 wxPy_END_ALLOW_THREADS;
2868 if (PyErr_Occurred()) return NULL;
2869}{
2870 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2871}
2872 return _resultobj;
2873}
2874
2875#define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2876static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2877 PyObject * _resultobj;
2878 int _result;
2879 wxListEvent * _arg0;
2880 PyObject * _argo0 = 0;
2881 char *_kwnames[] = { "self", NULL };
2882
2883 self = self;
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0))
2885 return NULL;
2886 if (_argo0) {
2887 if (_argo0 == Py_None) { _arg0 = NULL; }
2888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2890 return NULL;
2891 }
2892 }
2893{
2894 wxPy_BEGIN_ALLOW_THREADS;
2895 _result = (int )wxListEvent_GetImage(_arg0);
2896
2897 wxPy_END_ALLOW_THREADS;
2898 if (PyErr_Occurred()) return NULL;
2899} _resultobj = Py_BuildValue("i",_result);
2900 return _resultobj;
2901}
2902
2903#define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2904static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
2905 PyObject * _resultobj;
2906 long _result;
2907 wxListEvent * _arg0;
2908 PyObject * _argo0 = 0;
2909 char *_kwnames[] = { "self", NULL };
2910
2911 self = self;
2912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0))
2913 return NULL;
2914 if (_argo0) {
2915 if (_argo0 == Py_None) { _arg0 = NULL; }
2916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2918 return NULL;
2919 }
2920 }
2921{
2922 wxPy_BEGIN_ALLOW_THREADS;
2923 _result = (long )wxListEvent_GetData(_arg0);
2924
2925 wxPy_END_ALLOW_THREADS;
2926 if (PyErr_Occurred()) return NULL;
2927} _resultobj = Py_BuildValue("l",_result);
2928 return _resultobj;
2929}
2930
2931#define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2932static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2933 PyObject * _resultobj;
2934 long _result;
2935 wxListEvent * _arg0;
2936 PyObject * _argo0 = 0;
2937 char *_kwnames[] = { "self", NULL };
2938
2939 self = self;
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0))
2941 return NULL;
2942 if (_argo0) {
2943 if (_argo0 == Py_None) { _arg0 = NULL; }
2944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2946 return NULL;
2947 }
2948 }
2949{
2950 wxPy_BEGIN_ALLOW_THREADS;
2951 _result = (long )wxListEvent_GetMask(_arg0);
2952
2953 wxPy_END_ALLOW_THREADS;
2954 if (PyErr_Occurred()) return NULL;
2955} _resultobj = Py_BuildValue("l",_result);
2956 return _resultobj;
2957}
2958
2959#define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2960static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2961 PyObject * _resultobj;
2962 wxListItem * _result;
2963 wxListEvent * _arg0;
2964 PyObject * _argo0 = 0;
2965 char *_kwnames[] = { "self", NULL };
2966
2967 self = self;
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0))
2969 return NULL;
2970 if (_argo0) {
2971 if (_argo0 == Py_None) { _arg0 = NULL; }
2972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
2973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2974 return NULL;
2975 }
2976 }
2977{
2978 wxPy_BEGIN_ALLOW_THREADS;
2979 const wxListItem & _result_ref = wxListEvent_GetItem(_arg0);
2980 _result = (wxListItem *) &_result_ref;
2981
2982 wxPy_END_ALLOW_THREADS;
2983 if (PyErr_Occurred()) return NULL;
2984}{ _resultobj = wxPyMake_wxObject(_result); }
2985 return _resultobj;
2986}
2987
2988#define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2989static PyObject *_wrap_wxListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
2990 PyObject * _resultobj;
2991 long _result;
2992 wxListEvent * _arg0;
2993 PyObject * _argo0 = 0;
2994 char *_kwnames[] = { "self", NULL };
2995
2996 self = self;
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheFrom",_kwnames,&_argo0))
2998 return NULL;
2999 if (_argo0) {
3000 if (_argo0 == Py_None) { _arg0 = NULL; }
3001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
3002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
3003 return NULL;
3004 }
3005 }
3006{
3007 wxPy_BEGIN_ALLOW_THREADS;
3008 _result = (long )wxListEvent_GetCacheFrom(_arg0);
3009
3010 wxPy_END_ALLOW_THREADS;
3011 if (PyErr_Occurred()) return NULL;
3012} _resultobj = Py_BuildValue("l",_result);
3013 return _resultobj;
3014}
3015
3016#define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
3017static PyObject *_wrap_wxListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject * _resultobj;
3019 long _result;
3020 wxListEvent * _arg0;
3021 PyObject * _argo0 = 0;
3022 char *_kwnames[] = { "self", NULL };
3023
3024 self = self;
3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCacheTo",_kwnames,&_argo0))
3026 return NULL;
3027 if (_argo0) {
3028 if (_argo0 == Py_None) { _arg0 = NULL; }
3029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) {
3030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
3031 return NULL;
3032 }
3033 }
3034{
3035 wxPy_BEGIN_ALLOW_THREADS;
3036 _result = (long )wxListEvent_GetCacheTo(_arg0);
3037
3038 wxPy_END_ALLOW_THREADS;
3039 if (PyErr_Occurred()) return NULL;
3040} _resultobj = Py_BuildValue("l",_result);
3041 return _resultobj;
3042}
3043
3044static void *SwigwxPyListCtrlTowxControl(void *ptr) {
3045 wxPyListCtrl *src;
3046 wxControl *dest;
3047 src = (wxPyListCtrl *) ptr;
3048 dest = (wxControl *) src;
3049 return (void *) dest;
3050}
3051
3052static void *SwigwxPyListCtrlTowxWindow(void *ptr) {
3053 wxPyListCtrl *src;
3054 wxWindow *dest;
3055 src = (wxPyListCtrl *) ptr;
3056 dest = (wxWindow *) src;
3057 return (void *) dest;
3058}
3059
3060static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr) {
3061 wxPyListCtrl *src;
3062 wxEvtHandler *dest;
3063 src = (wxPyListCtrl *) ptr;
3064 dest = (wxEvtHandler *) src;
3065 return (void *) dest;
3066}
3067
3068static void *SwigwxPyListCtrlTowxObject(void *ptr) {
3069 wxPyListCtrl *src;
3070 wxObject *dest;
3071 src = (wxPyListCtrl *) ptr;
3072 dest = (wxObject *) src;
3073 return (void *) dest;
3074}
3075
3076#define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3077static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
3078 PyObject * _resultobj;
3079 wxPyListCtrl * _result;
3080 wxWindow * _arg0;
3081 wxWindowID _arg1 = (wxWindowID ) -1;
3082 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
3083 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
3084 long _arg4 = (long ) (wxLC_ICON);
3085 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
3086 char * _arg6 = (char *) "listCtrl";
3087 PyObject * _argo0 = 0;
3088 wxPoint temp;
3089 PyObject * _obj2 = 0;
3090 wxSize temp0;
3091 PyObject * _obj3 = 0;
3092 PyObject * _argo5 = 0;
3093 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
3094 char _ptemp[128];
3095
3096 self = self;
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
3098 return NULL;
3099 if (_argo0) {
3100 if (_argo0 == Py_None) { _arg0 = NULL; }
3101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
3103 return NULL;
3104 }
3105 }
3106 if (_obj2)
3107{
3108 _arg2 = &temp;
3109 if (! wxPoint_helper(_obj2, &_arg2))
3110 return NULL;
3111}
3112 if (_obj3)
3113{
3114 _arg3 = &temp0;
3115 if (! wxSize_helper(_obj3, &_arg3))
3116 return NULL;
3117}
3118 if (_argo5) {
3119 if (_argo5 == Py_None) { _arg5 = NULL; }
3120 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
3121 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
3122 return NULL;
3123 }
3124 }
3125{
3126 wxPy_BEGIN_ALLOW_THREADS;
3127 _result = (wxPyListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
3128
3129 wxPy_END_ALLOW_THREADS;
3130 if (PyErr_Occurred()) return NULL;
3131} if (_result) {
3132 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
3133 _resultobj = Py_BuildValue("s",_ptemp);
3134 } else {
3135 Py_INCREF(Py_None);
3136 _resultobj = Py_None;
3137 }
3138 return _resultobj;
3139}
3140
3141#define new_wxPreListCtrl() (new wxPyListCtrl())
3142static PyObject *_wrap_new_wxPreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject * _resultobj;
3144 wxPyListCtrl * _result;
3145 char *_kwnames[] = { NULL };
3146 char _ptemp[128];
3147
3148 self = self;
3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListCtrl",_kwnames))
3150 return NULL;
3151{
3152 wxPy_BEGIN_ALLOW_THREADS;
3153 _result = (wxPyListCtrl *)new_wxPreListCtrl();
3154
3155 wxPy_END_ALLOW_THREADS;
3156 if (PyErr_Occurred()) return NULL;
3157} if (_result) {
3158 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyListCtrl_p");
3159 _resultobj = Py_BuildValue("s",_ptemp);
3160 } else {
3161 Py_INCREF(Py_None);
3162 _resultobj = Py_None;
3163 }
3164 return _resultobj;
3165}
3166
3167#define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3168static PyObject *_wrap_wxListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3169 PyObject * _resultobj;
3170 bool _result;
3171 wxPyListCtrl * _arg0;
3172 wxWindow * _arg1;
3173 wxWindowID _arg2 = (wxWindowID ) -1;
3174 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3175 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3176 long _arg5 = (long ) (wxLC_ICON);
3177 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
3178 char * _arg7 = (char *) "listCtrl";
3179 PyObject * _argo0 = 0;
3180 PyObject * _argo1 = 0;
3181 wxPoint temp;
3182 PyObject * _obj3 = 0;
3183 wxSize temp0;
3184 PyObject * _obj4 = 0;
3185 PyObject * _argo6 = 0;
3186 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
3187
3188 self = self;
3189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
3190 return NULL;
3191 if (_argo0) {
3192 if (_argo0 == Py_None) { _arg0 = NULL; }
3193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3195 return NULL;
3196 }
3197 }
3198 if (_argo1) {
3199 if (_argo1 == Py_None) { _arg1 = NULL; }
3200 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3201 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3202 return NULL;
3203 }
3204 }
3205 if (_obj3)
3206{
3207 _arg3 = &temp;
3208 if (! wxPoint_helper(_obj3, &_arg3))
3209 return NULL;
3210}
3211 if (_obj4)
3212{
3213 _arg4 = &temp0;
3214 if (! wxSize_helper(_obj4, &_arg4))
3215 return NULL;
3216}
3217 if (_argo6) {
3218 if (_argo6 == Py_None) { _arg6 = NULL; }
3219 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3220 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3221 return NULL;
3222 }
3223 }
3224{
3225 wxPy_BEGIN_ALLOW_THREADS;
3226 _result = (bool )wxListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3227
3228 wxPy_END_ALLOW_THREADS;
3229 if (PyErr_Occurred()) return NULL;
3230} _resultobj = Py_BuildValue("i",_result);
3231 return _resultobj;
3232}
3233
3234#define wxListCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3235static PyObject *_wrap_wxListCtrl__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3236 PyObject * _resultobj;
3237 wxPyListCtrl * _arg0;
3238 PyObject * _arg1;
3239 PyObject * _arg2;
3240 PyObject * _argo0 = 0;
3241 PyObject * _obj1 = 0;
3242 PyObject * _obj2 = 0;
3243 char *_kwnames[] = { "self","self","_class", NULL };
3244
3245 self = self;
3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxListCtrl__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
3247 return NULL;
3248 if (_argo0) {
3249 if (_argo0 == Py_None) { _arg0 = NULL; }
3250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl__setSelf. Expected _wxPyListCtrl_p.");
3252 return NULL;
3253 }
3254 }
3255{
3256 _arg1 = _obj1;
3257}
3258{
3259 _arg2 = _obj2;
3260}
3261{
3262 wxPy_BEGIN_ALLOW_THREADS;
3263 wxListCtrl__setSelf(_arg0,_arg1,_arg2);
3264
3265 wxPy_END_ALLOW_THREADS;
3266 if (PyErr_Occurred()) return NULL;
3267} Py_INCREF(Py_None);
3268 _resultobj = Py_None;
3269 return _resultobj;
3270}
3271
3272#define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3273static PyObject *_wrap_wxListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject * _resultobj;
3275 bool _result;
3276 wxPyListCtrl * _arg0;
3277 wxColour * _arg1;
3278 PyObject * _argo0 = 0;
3279 wxColour temp;
3280 PyObject * _obj1 = 0;
3281 char *_kwnames[] = { "self","col", NULL };
3282
3283 self = self;
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetForegroundColour",_kwnames,&_argo0,&_obj1))
3285 return NULL;
3286 if (_argo0) {
3287 if (_argo0 == Py_None) { _arg0 = NULL; }
3288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3290 return NULL;
3291 }
3292 }
3293{
3294 _arg1 = &temp;
3295 if (! wxColour_helper(_obj1, &_arg1))
3296 return NULL;
3297}
3298{
3299 wxPy_BEGIN_ALLOW_THREADS;
3300 _result = (bool )wxListCtrl_SetForegroundColour(_arg0,*_arg1);
3301
3302 wxPy_END_ALLOW_THREADS;
3303 if (PyErr_Occurred()) return NULL;
3304} _resultobj = Py_BuildValue("i",_result);
3305 return _resultobj;
3306}
3307
3308#define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3309static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3310 PyObject * _resultobj;
3311 bool _result;
3312 wxPyListCtrl * _arg0;
3313 wxColour * _arg1;
3314 PyObject * _argo0 = 0;
3315 wxColour temp;
3316 PyObject * _obj1 = 0;
3317 char *_kwnames[] = { "self","col", NULL };
3318
3319 self = self;
3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3321 return NULL;
3322 if (_argo0) {
3323 if (_argo0 == Py_None) { _arg0 = NULL; }
3324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3326 return NULL;
3327 }
3328 }
3329{
3330 _arg1 = &temp;
3331 if (! wxColour_helper(_obj1, &_arg1))
3332 return NULL;
3333}
3334{
3335 wxPy_BEGIN_ALLOW_THREADS;
3336 _result = (bool )wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
3337
3338 wxPy_END_ALLOW_THREADS;
3339 if (PyErr_Occurred()) return NULL;
3340} _resultobj = Py_BuildValue("i",_result);
3341 return _resultobj;
3342}
3343
3344#define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3345static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject * _resultobj;
3347 bool _result;
3348 wxPyListCtrl * _arg0;
3349 int _arg1;
3350 wxListItem * _arg2;
3351 PyObject * _argo0 = 0;
3352 PyObject * _argo2 = 0;
3353 char *_kwnames[] = { "self","col","item", NULL };
3354
3355 self = self;
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
3357 return NULL;
3358 if (_argo0) {
3359 if (_argo0 == Py_None) { _arg0 = NULL; }
3360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3362 return NULL;
3363 }
3364 }
3365 if (_argo2) {
3366 if (_argo2 == Py_None) { _arg2 = NULL; }
3367 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3368 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3369 return NULL;
3370 }
3371 }
3372{
3373 wxPy_BEGIN_ALLOW_THREADS;
3374 _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2);
3375
3376 wxPy_END_ALLOW_THREADS;
3377 if (PyErr_Occurred()) return NULL;
3378} _resultobj = Py_BuildValue("i",_result);
3379 return _resultobj;
3380}
3381
3382#define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3383static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3384 PyObject * _resultobj;
3385 bool _result;
3386 wxPyListCtrl * _arg0;
3387 int _arg1;
3388 wxListItem * _arg2;
3389 PyObject * _argo0 = 0;
3390 PyObject * _argo2 = 0;
3391 char *_kwnames[] = { "self","col","item", NULL };
3392
3393 self = self;
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
3395 return NULL;
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3400 return NULL;
3401 }
3402 }
3403 if (_argo2) {
3404 if (_argo2 == Py_None) { _arg2 = NULL; }
3405 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
3406 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3407 return NULL;
3408 }
3409 }
3410{
3411 wxPy_BEGIN_ALLOW_THREADS;
3412 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
3413
3414 wxPy_END_ALLOW_THREADS;
3415 if (PyErr_Occurred()) return NULL;
3416} _resultobj = Py_BuildValue("i",_result);
3417 return _resultobj;
3418}
3419
3420#define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3421static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject * _resultobj;
3423 int _result;
3424 wxPyListCtrl * _arg0;
3425 int _arg1;
3426 PyObject * _argo0 = 0;
3427 char *_kwnames[] = { "self","col", NULL };
3428
3429 self = self;
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
3431 return NULL;
3432 if (_argo0) {
3433 if (_argo0 == Py_None) { _arg0 = NULL; }
3434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3436 return NULL;
3437 }
3438 }
3439{
3440 wxPy_BEGIN_ALLOW_THREADS;
3441 _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1);
3442
3443 wxPy_END_ALLOW_THREADS;
3444 if (PyErr_Occurred()) return NULL;
3445} _resultobj = Py_BuildValue("i",_result);
3446 return _resultobj;
3447}
3448
3449#define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3450static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3451 PyObject * _resultobj;
3452 bool _result;
3453 wxPyListCtrl * _arg0;
3454 int _arg1;
3455 int _arg2;
3456 PyObject * _argo0 = 0;
3457 char *_kwnames[] = { "self","col","width", NULL };
3458
3459 self = self;
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
3461 return NULL;
3462 if (_argo0) {
3463 if (_argo0 == Py_None) { _arg0 = NULL; }
3464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3466 return NULL;
3467 }
3468 }
3469{
3470 wxPy_BEGIN_ALLOW_THREADS;
3471 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
3472
3473 wxPy_END_ALLOW_THREADS;
3474 if (PyErr_Occurred()) return NULL;
3475} _resultobj = Py_BuildValue("i",_result);
3476 return _resultobj;
3477}
3478
3479#define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3480static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject * _resultobj;
3482 int _result;
3483 wxPyListCtrl * _arg0;
3484 PyObject * _argo0 = 0;
3485 char *_kwnames[] = { "self", NULL };
3486
3487 self = self;
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0))
3489 return NULL;
3490 if (_argo0) {
3491 if (_argo0 == Py_None) { _arg0 = NULL; }
3492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3494 return NULL;
3495 }
3496 }
3497{
3498 wxPy_BEGIN_ALLOW_THREADS;
3499 _result = (int )wxListCtrl_GetCountPerPage(_arg0);
3500
3501 wxPy_END_ALLOW_THREADS;
3502 if (PyErr_Occurred()) return NULL;
3503} _resultobj = Py_BuildValue("i",_result);
3504 return _resultobj;
3505}
3506
3507#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3508static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
3509 PyObject * _resultobj;
3510 wxTextCtrl * _result;
3511 wxPyListCtrl * _arg0;
3512 PyObject * _argo0 = 0;
3513 char *_kwnames[] = { "self", NULL };
3514
3515 self = self;
3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0))
3517 return NULL;
3518 if (_argo0) {
3519 if (_argo0 == Py_None) { _arg0 = NULL; }
3520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3522 return NULL;
3523 }
3524 }
3525{
3526 wxPy_BEGIN_ALLOW_THREADS;
3527 _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0);
3528
3529 wxPy_END_ALLOW_THREADS;
3530 if (PyErr_Occurred()) return NULL;
3531}{ _resultobj = wxPyMake_wxObject(_result); }
3532 return _resultobj;
3533}
3534
3535static wxListItem * wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col) {
3536 wxListItem* info = new wxListItem;
3537 info->m_itemId = itemId;
3538 info->m_col = col;
3539 info->m_mask = 0xFFFF;
3540 self->GetItem(*info);
3541 return info;
3542 }
3543static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3544 PyObject * _resultobj;
3545 wxListItem * _result;
3546 wxPyListCtrl * _arg0;
3547 long _arg1;
3548 int _arg2 = (int ) 0;
3549 PyObject * _argo0 = 0;
3550 char *_kwnames[] = { "self","itemId","col", NULL };
3551
3552 self = self;
3553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2))
3554 return NULL;
3555 if (_argo0) {
3556 if (_argo0 == Py_None) { _arg0 = NULL; }
3557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3559 return NULL;
3560 }
3561 }
3562{
3563 wxPy_BEGIN_ALLOW_THREADS;
3564 _result = (wxListItem *)wxPyListCtrl_GetItem(_arg0,_arg1,_arg2);
3565
3566 wxPy_END_ALLOW_THREADS;
3567 if (PyErr_Occurred()) return NULL;
3568}{ _resultobj = wxPyMake_wxObject(_result); }
3569 return _resultobj;
3570}
3571
3572#define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3573static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject * _resultobj;
3575 bool _result;
3576 wxPyListCtrl * _arg0;
3577 wxListItem * _arg1;
3578 PyObject * _argo0 = 0;
3579 PyObject * _argo1 = 0;
3580 char *_kwnames[] = { "self","info", NULL };
3581
3582 self = self;
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1))
3584 return NULL;
3585 if (_argo0) {
3586 if (_argo0 == Py_None) { _arg0 = NULL; }
3587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3589 return NULL;
3590 }
3591 }
3592 if (_argo1) {
3593 if (_argo1 == Py_None) { _arg1 = NULL; }
3594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
3595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3596 return NULL;
3597 }
3598 }
3599{
3600 wxPy_BEGIN_ALLOW_THREADS;
3601 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
3602
3603 wxPy_END_ALLOW_THREADS;
3604 if (PyErr_Occurred()) return NULL;
3605} _resultobj = Py_BuildValue("i",_result);
3606 return _resultobj;
3607}
3608
3609#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3610static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3611 PyObject * _resultobj;
3612 long _result;
3613 wxPyListCtrl * _arg0;
3614 long _arg1;
3615 int _arg2;
3616 wxString * _arg3;
3617 int _arg4 = (int ) -1;
3618 PyObject * _argo0 = 0;
3619 PyObject * _obj3 = 0;
3620 char *_kwnames[] = { "self","index","col","label","imageId", NULL };
3621
3622 self = self;
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
3624 return NULL;
3625 if (_argo0) {
3626 if (_argo0 == Py_None) { _arg0 = NULL; }
3627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3629 return NULL;
3630 }
3631 }
3632{
3633#if PYTHON_API_VERSION >= 1009
3634 char* tmpPtr; int tmpSize;
3635 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
3636 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3637 return NULL;
3638 }
3639 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3640 return NULL;
3641 _arg3 = new wxString(tmpPtr, tmpSize);
3642#else
3643 if (!PyString_Check(_obj3)) {
3644 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3645 return NULL;
3646 }
3647 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
3648#endif
3649}
3650{
3651 wxPy_BEGIN_ALLOW_THREADS;
3652 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
3653
3654 wxPy_END_ALLOW_THREADS;
3655 if (PyErr_Occurred()) return NULL;
3656} _resultobj = Py_BuildValue("l",_result);
3657{
3658 if (_obj3)
3659 delete _arg3;
3660}
3661 return _resultobj;
3662}
3663
3664#define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3665static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
3666 PyObject * _resultobj;
3667 int _result;
3668 wxPyListCtrl * _arg0;
3669 long _arg1;
3670 long _arg2;
3671 PyObject * _argo0 = 0;
3672 char *_kwnames[] = { "self","item","stateMask", NULL };
3673
3674 self = self;
3675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2))
3676 return NULL;
3677 if (_argo0) {
3678 if (_argo0 == Py_None) { _arg0 = NULL; }
3679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3681 return NULL;
3682 }
3683 }
3684{
3685 wxPy_BEGIN_ALLOW_THREADS;
3686 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
3687
3688 wxPy_END_ALLOW_THREADS;
3689 if (PyErr_Occurred()) return NULL;
3690} _resultobj = Py_BuildValue("i",_result);
3691 return _resultobj;
3692}
3693
3694#define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3695static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject * _resultobj;
3697 bool _result;
3698 wxPyListCtrl * _arg0;
3699 long _arg1;
3700 long _arg2;
3701 long _arg3;
3702 PyObject * _argo0 = 0;
3703 char *_kwnames[] = { "self","item","state","stateMask", NULL };
3704
3705 self = self;
3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3707 return NULL;
3708 if (_argo0) {
3709 if (_argo0 == Py_None) { _arg0 = NULL; }
3710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3712 return NULL;
3713 }
3714 }
3715{
3716 wxPy_BEGIN_ALLOW_THREADS;
3717 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
3718
3719 wxPy_END_ALLOW_THREADS;
3720 if (PyErr_Occurred()) return NULL;
3721} _resultobj = Py_BuildValue("i",_result);
3722 return _resultobj;
3723}
3724
3725#define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3726static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject * _resultobj;
3728 bool _result;
3729 wxPyListCtrl * _arg0;
3730 long _arg1;
3731 int _arg2;
3732 int _arg3;
3733 PyObject * _argo0 = 0;
3734 char *_kwnames[] = { "self","item","image","selImage", NULL };
3735
3736 self = self;
3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3738 return NULL;
3739 if (_argo0) {
3740 if (_argo0 == Py_None) { _arg0 = NULL; }
3741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3743 return NULL;
3744 }
3745 }
3746{
3747 wxPy_BEGIN_ALLOW_THREADS;
3748 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
3749
3750 wxPy_END_ALLOW_THREADS;
3751 if (PyErr_Occurred()) return NULL;
3752} _resultobj = Py_BuildValue("i",_result);
3753 return _resultobj;
3754}
3755
3756#define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3757static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3758 PyObject * _resultobj;
3759 wxString * _result;
3760 wxPyListCtrl * _arg0;
3761 long _arg1;
3762 PyObject * _argo0 = 0;
3763 char *_kwnames[] = { "self","item", NULL };
3764
3765 self = self;
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1))
3767 return NULL;
3768 if (_argo0) {
3769 if (_argo0 == Py_None) { _arg0 = NULL; }
3770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3772 return NULL;
3773 }
3774 }
3775{
3776 wxPy_BEGIN_ALLOW_THREADS;
3777 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
3778
3779 wxPy_END_ALLOW_THREADS;
3780 if (PyErr_Occurred()) return NULL;
3781}{
3782 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3783}
3784{
3785 delete _result;
3786}
3787 return _resultobj;
3788}
3789
3790#define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3791static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
3792 PyObject * _resultobj;
3793 wxPyListCtrl * _arg0;
3794 long _arg1;
3795 wxString * _arg2;
3796 PyObject * _argo0 = 0;
3797 PyObject * _obj2 = 0;
3798 char *_kwnames[] = { "self","item","str", NULL };
3799
3800 self = self;
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2))
3802 return NULL;
3803 if (_argo0) {
3804 if (_argo0 == Py_None) { _arg0 = NULL; }
3805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3807 return NULL;
3808 }
3809 }
3810{
3811#if PYTHON_API_VERSION >= 1009
3812 char* tmpPtr; int tmpSize;
3813 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3814 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3815 return NULL;
3816 }
3817 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3818 return NULL;
3819 _arg2 = new wxString(tmpPtr, tmpSize);
3820#else
3821 if (!PyString_Check(_obj2)) {
3822 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3823 return NULL;
3824 }
3825 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3826#endif
3827}
3828{
3829 wxPy_BEGIN_ALLOW_THREADS;
3830 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
3831
3832 wxPy_END_ALLOW_THREADS;
3833 if (PyErr_Occurred()) return NULL;
3834} Py_INCREF(Py_None);
3835 _resultobj = Py_None;
3836{
3837 if (_obj2)
3838 delete _arg2;
3839}
3840 return _resultobj;
3841}
3842
3843#define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3844static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3845 PyObject * _resultobj;
3846 long _result;
3847 wxPyListCtrl * _arg0;
3848 long _arg1;
3849 PyObject * _argo0 = 0;
3850 char *_kwnames[] = { "self","item", NULL };
3851
3852 self = self;
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1))
3854 return NULL;
3855 if (_argo0) {
3856 if (_argo0 == Py_None) { _arg0 = NULL; }
3857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3859 return NULL;
3860 }
3861 }
3862{
3863 wxPy_BEGIN_ALLOW_THREADS;
3864 _result = (long )wxListCtrl_GetItemData(_arg0,_arg1);
3865
3866 wxPy_END_ALLOW_THREADS;
3867 if (PyErr_Occurred()) return NULL;
3868} _resultobj = Py_BuildValue("l",_result);
3869 return _resultobj;
3870}
3871
3872#define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3873static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject * _resultobj;
3875 bool _result;
3876 wxPyListCtrl * _arg0;
3877 long _arg1;
3878 long _arg2;
3879 PyObject * _argo0 = 0;
3880 char *_kwnames[] = { "self","item","data", NULL };
3881
3882 self = self;
3883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2))
3884 return NULL;
3885 if (_argo0) {
3886 if (_argo0 == Py_None) { _arg0 = NULL; }
3887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3889 return NULL;
3890 }
3891 }
3892{
3893 wxPy_BEGIN_ALLOW_THREADS;
3894 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
3895
3896 wxPy_END_ALLOW_THREADS;
3897 if (PyErr_Occurred()) return NULL;
3898} _resultobj = Py_BuildValue("i",_result);
3899 return _resultobj;
3900}
3901
3902static wxPoint * wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item) {
3903 wxPoint* pos = new wxPoint;
3904 self->GetItemPosition(item, *pos);
3905 return pos;
3906 }
3907static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3908 PyObject * _resultobj;
3909 wxPoint * _result;
3910 wxPyListCtrl * _arg0;
3911 long _arg1;
3912 PyObject * _argo0 = 0;
3913 char *_kwnames[] = { "self","item", NULL };
3914 char _ptemp[128];
3915
3916 self = self;
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1))
3918 return NULL;
3919 if (_argo0) {
3920 if (_argo0 == Py_None) { _arg0 = NULL; }
3921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3923 return NULL;
3924 }
3925 }
3926{
3927 wxPy_BEGIN_ALLOW_THREADS;
3928 _result = (wxPoint *)wxPyListCtrl_GetItemPosition(_arg0,_arg1);
3929
3930 wxPy_END_ALLOW_THREADS;
3931 if (PyErr_Occurred()) return NULL;
3932} if (_result) {
3933 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
3934 _resultobj = Py_BuildValue("s",_ptemp);
3935 } else {
3936 Py_INCREF(Py_None);
3937 _resultobj = Py_None;
3938 }
3939 return _resultobj;
3940}
3941
3942static wxRect * wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code) {
3943 wxRect* rect= new wxRect;
3944 self->GetItemRect(item, *rect, code);
3945 return rect;
3946 }
3947static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3948 PyObject * _resultobj;
3949 wxRect * _result;
3950 wxPyListCtrl * _arg0;
3951 long _arg1;
3952 int _arg2 = (int ) (wxLIST_RECT_BOUNDS);
3953 PyObject * _argo0 = 0;
3954 char *_kwnames[] = { "self","item","code", NULL };
3955 char _ptemp[128];
3956
3957 self = self;
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2))
3959 return NULL;
3960 if (_argo0) {
3961 if (_argo0 == Py_None) { _arg0 = NULL; }
3962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
3963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3964 return NULL;
3965 }
3966 }
3967{
3968 wxPy_BEGIN_ALLOW_THREADS;
3969 _result = (wxRect *)wxPyListCtrl_GetItemRect(_arg0,_arg1,_arg2);
3970
3971 wxPy_END_ALLOW_THREADS;
3972 if (PyErr_Occurred()) return NULL;
3973} if (_result) {
3974 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
3975 _resultobj = Py_BuildValue("s",_ptemp);
3976 } else {
3977 Py_INCREF(Py_None);
3978 _resultobj = Py_None;
3979 }
3980 return _resultobj;
3981}
3982
3983#define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3984static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3985 PyObject * _resultobj;
3986 bool _result;
3987 wxPyListCtrl * _arg0;
3988 long _arg1;
3989 wxPoint * _arg2;
3990 PyObject * _argo0 = 0;
3991 wxPoint temp;
3992 PyObject * _obj2 = 0;
3993 char *_kwnames[] = { "self","item","pos", NULL };
3994
3995 self = self;
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2))
3997 return NULL;
3998 if (_argo0) {
3999 if (_argo0 == Py_None) { _arg0 = NULL; }
4000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
4002 return NULL;
4003 }
4004 }
4005{
4006 _arg2 = &temp;
4007 if (! wxPoint_helper(_obj2, &_arg2))
4008 return NULL;
4009}
4010{
4011 wxPy_BEGIN_ALLOW_THREADS;
4012 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
4013
4014 wxPy_END_ALLOW_THREADS;
4015 if (PyErr_Occurred()) return NULL;
4016} _resultobj = Py_BuildValue("i",_result);
4017 return _resultobj;
4018}
4019
4020#define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
4021static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject * _resultobj;
4023 int _result;
4024 wxPyListCtrl * _arg0;
4025 PyObject * _argo0 = 0;
4026 char *_kwnames[] = { "self", NULL };
4027
4028 self = self;
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0))
4030 return NULL;
4031 if (_argo0) {
4032 if (_argo0 == Py_None) { _arg0 = NULL; }
4033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
4035 return NULL;
4036 }
4037 }
4038{
4039 wxPy_BEGIN_ALLOW_THREADS;
4040 _result = (int )wxListCtrl_GetItemCount(_arg0);
4041
4042 wxPy_END_ALLOW_THREADS;
4043 if (PyErr_Occurred()) return NULL;
4044} _resultobj = Py_BuildValue("i",_result);
4045 return _resultobj;
4046}
4047
4048#define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
4049static PyObject *_wrap_wxListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject * _resultobj;
4051 int _result;
4052 wxPyListCtrl * _arg0;
4053 PyObject * _argo0 = 0;
4054 char *_kwnames[] = { "self", NULL };
4055
4056 self = self;
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetColumnCount",_kwnames,&_argo0))
4058 return NULL;
4059 if (_argo0) {
4060 if (_argo0 == Py_None) { _arg0 = NULL; }
4061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
4063 return NULL;
4064 }
4065 }
4066{
4067 wxPy_BEGIN_ALLOW_THREADS;
4068 _result = (int )wxListCtrl_GetColumnCount(_arg0);
4069
4070 wxPy_END_ALLOW_THREADS;
4071 if (PyErr_Occurred()) return NULL;
4072} _resultobj = Py_BuildValue("i",_result);
4073 return _resultobj;
4074}
4075
4076#define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
4077static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject * _resultobj;
4079 int _result;
4080 wxPyListCtrl * _arg0;
4081 bool _arg1;
4082 PyObject * _argo0 = 0;
4083 int tempbool1;
4084 char *_kwnames[] = { "self","isSmall", NULL };
4085
4086 self = self;
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1))
4088 return NULL;
4089 if (_argo0) {
4090 if (_argo0 == Py_None) { _arg0 = NULL; }
4091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
4093 return NULL;
4094 }
4095 }
4096 _arg1 = (bool ) tempbool1;
4097{
4098 wxPy_BEGIN_ALLOW_THREADS;
4099 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
4100
4101 wxPy_END_ALLOW_THREADS;
4102 if (PyErr_Occurred()) return NULL;
4103} _resultobj = Py_BuildValue("i",_result);
4104 return _resultobj;
4105}
4106
4107#define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
4108static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4109 PyObject * _resultobj;
4110 int _result;
4111 wxPyListCtrl * _arg0;
4112 PyObject * _argo0 = 0;
4113 char *_kwnames[] = { "self", NULL };
4114
4115 self = self;
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0))
4117 return NULL;
4118 if (_argo0) {
4119 if (_argo0 == Py_None) { _arg0 = NULL; }
4120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
4122 return NULL;
4123 }
4124 }
4125{
4126 wxPy_BEGIN_ALLOW_THREADS;
4127 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
4128
4129 wxPy_END_ALLOW_THREADS;
4130 if (PyErr_Occurred()) return NULL;
4131} _resultobj = Py_BuildValue("i",_result);
4132 return _resultobj;
4133}
4134
4135#define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4136static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject * _resultobj;
4138 wxColour * _result;
4139 wxPyListCtrl * _arg0;
4140 PyObject * _argo0 = 0;
4141 char *_kwnames[] = { "self", NULL };
4142 char _ptemp[128];
4143
4144 self = self;
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0))
4146 return NULL;
4147 if (_argo0) {
4148 if (_argo0 == Py_None) { _arg0 = NULL; }
4149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
4151 return NULL;
4152 }
4153 }
4154{
4155 wxPy_BEGIN_ALLOW_THREADS;
4156 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
4157
4158 wxPy_END_ALLOW_THREADS;
4159 if (PyErr_Occurred()) return NULL;
4160} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4161 _resultobj = Py_BuildValue("s",_ptemp);
4162 return _resultobj;
4163}
4164
4165#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4166static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4167 PyObject * _resultobj;
4168 wxPyListCtrl * _arg0;
4169 wxColour * _arg1;
4170 PyObject * _argo0 = 0;
4171 wxColour temp;
4172 PyObject * _obj1 = 0;
4173 char *_kwnames[] = { "self","col", NULL };
4174
4175 self = self;
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1))
4177 return NULL;
4178 if (_argo0) {
4179 if (_argo0 == Py_None) { _arg0 = NULL; }
4180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4182 return NULL;
4183 }
4184 }
4185{
4186 _arg1 = &temp;
4187 if (! wxColour_helper(_obj1, &_arg1))
4188 return NULL;
4189}
4190{
4191 wxPy_BEGIN_ALLOW_THREADS;
4192 wxListCtrl_SetTextColour(_arg0,*_arg1);
4193
4194 wxPy_END_ALLOW_THREADS;
4195 if (PyErr_Occurred()) return NULL;
4196} Py_INCREF(Py_None);
4197 _resultobj = Py_None;
4198 return _resultobj;
4199}
4200
4201#define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4202static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject * _resultobj;
4204 long _result;
4205 wxPyListCtrl * _arg0;
4206 PyObject * _argo0 = 0;
4207 char *_kwnames[] = { "self", NULL };
4208
4209 self = self;
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0))
4211 return NULL;
4212 if (_argo0) {
4213 if (_argo0 == Py_None) { _arg0 = NULL; }
4214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4216 return NULL;
4217 }
4218 }
4219{
4220 wxPy_BEGIN_ALLOW_THREADS;
4221 _result = (long )wxListCtrl_GetTopItem(_arg0);
4222
4223 wxPy_END_ALLOW_THREADS;
4224 if (PyErr_Occurred()) return NULL;
4225} _resultobj = Py_BuildValue("l",_result);
4226 return _resultobj;
4227}
4228
4229#define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4230static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4231 PyObject * _resultobj;
4232 wxPyListCtrl * _arg0;
4233 long _arg1;
4234 bool _arg2 = (bool ) TRUE;
4235 PyObject * _argo0 = 0;
4236 int tempbool2 = (int) TRUE;
4237 char *_kwnames[] = { "self","style","add", NULL };
4238
4239 self = self;
4240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2))
4241 return NULL;
4242 if (_argo0) {
4243 if (_argo0 == Py_None) { _arg0 = NULL; }
4244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4246 return NULL;
4247 }
4248 }
4249 _arg2 = (bool ) tempbool2;
4250{
4251 wxPy_BEGIN_ALLOW_THREADS;
4252 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
4253
4254 wxPy_END_ALLOW_THREADS;
4255 if (PyErr_Occurred()) return NULL;
4256} Py_INCREF(Py_None);
4257 _resultobj = Py_None;
4258 return _resultobj;
4259}
4260
4261#define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4262static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject * _resultobj;
4264 wxPyListCtrl * _arg0;
4265 long _arg1;
4266 PyObject * _argo0 = 0;
4267 char *_kwnames[] = { "self","style", NULL };
4268
4269 self = self;
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1))
4271 return NULL;
4272 if (_argo0) {
4273 if (_argo0 == Py_None) { _arg0 = NULL; }
4274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4276 return NULL;
4277 }
4278 }
4279{
4280 wxPy_BEGIN_ALLOW_THREADS;
4281 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
4282
4283 wxPy_END_ALLOW_THREADS;
4284 if (PyErr_Occurred()) return NULL;
4285} Py_INCREF(Py_None);
4286 _resultobj = Py_None;
4287 return _resultobj;
4288}
4289
4290#define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4291static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject * _resultobj;
4293 long _result;
4294 wxPyListCtrl * _arg0;
4295 long _arg1;
4296 int _arg2 = (int ) (wxLIST_NEXT_ALL);
4297 int _arg3 = (int ) (wxLIST_STATE_DONTCARE);
4298 PyObject * _argo0 = 0;
4299 char *_kwnames[] = { "self","item","geometry","state", NULL };
4300
4301 self = self;
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4303 return NULL;
4304 if (_argo0) {
4305 if (_argo0 == Py_None) { _arg0 = NULL; }
4306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4308 return NULL;
4309 }
4310 }
4311{
4312 wxPy_BEGIN_ALLOW_THREADS;
4313 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
4314
4315 wxPy_END_ALLOW_THREADS;
4316 if (PyErr_Occurred()) return NULL;
4317} _resultobj = Py_BuildValue("l",_result);
4318 return _resultobj;
4319}
4320
4321#define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4322static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject * _resultobj;
4324 wxImageList * _result;
4325 wxPyListCtrl * _arg0;
4326 int _arg1;
4327 PyObject * _argo0 = 0;
4328 char *_kwnames[] = { "self","which", NULL };
4329
4330 self = self;
4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1))
4332 return NULL;
4333 if (_argo0) {
4334 if (_argo0 == Py_None) { _arg0 = NULL; }
4335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4337 return NULL;
4338 }
4339 }
4340{
4341 wxPy_BEGIN_ALLOW_THREADS;
4342 _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1);
4343
4344 wxPy_END_ALLOW_THREADS;
4345 if (PyErr_Occurred()) return NULL;
4346}{ _resultobj = wxPyMake_wxObject(_result); }
4347 return _resultobj;
4348}
4349
4350#define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4351static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject * _resultobj;
4353 wxPyListCtrl * _arg0;
4354 wxImageList * _arg1;
4355 int _arg2;
4356 PyObject * _argo0 = 0;
4357 PyObject * _argo1 = 0;
4358 char *_kwnames[] = { "self","imageList","which", NULL };
4359
4360 self = self;
4361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2))
4362 return NULL;
4363 if (_argo0) {
4364 if (_argo0 == Py_None) { _arg0 = NULL; }
4365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4367 return NULL;
4368 }
4369 }
4370 if (_argo1) {
4371 if (_argo1 == Py_None) { _arg1 = NULL; }
4372 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4373 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4374 return NULL;
4375 }
4376 }
4377{
4378 wxPy_BEGIN_ALLOW_THREADS;
4379 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
4380
4381 wxPy_END_ALLOW_THREADS;
4382 if (PyErr_Occurred()) return NULL;
4383} Py_INCREF(Py_None);
4384 _resultobj = Py_None;
4385 return _resultobj;
4386}
4387
4388#define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4389static PyObject *_wrap_wxListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject * _resultobj;
4391 wxPyListCtrl * _arg0;
4392 wxImageList * _arg1;
4393 int _arg2;
4394 PyObject * _argo0 = 0;
4395 PyObject * _argo1 = 0;
4396 char *_kwnames[] = { "self","imageList","which", NULL };
4397
4398 self = self;
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1,&_arg2))
4400 return NULL;
4401 if (_argo0) {
4402 if (_argo0 == Py_None) { _arg0 = NULL; }
4403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4405 return NULL;
4406 }
4407 }
4408 if (_argo1) {
4409 if (_argo1 == Py_None) { _arg1 = NULL; }
4410 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
4411 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4412 return NULL;
4413 }
4414 }
4415{
4416 wxPy_BEGIN_ALLOW_THREADS;
4417 wxListCtrl_AssignImageList(_arg0,_arg1,_arg2);
4418
4419 wxPy_END_ALLOW_THREADS;
4420 if (PyErr_Occurred()) return NULL;
4421} Py_INCREF(Py_None);
4422 _resultobj = Py_None;
4423 return _resultobj;
4424}
4425
4426#define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4427static PyObject *_wrap_wxListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
4428 PyObject * _resultobj;
4429 bool _result;
4430 wxPyListCtrl * _arg0;
4431 PyObject * _argo0 = 0;
4432 char *_kwnames[] = { "self", NULL };
4433
4434 self = self;
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_IsVirtual",_kwnames,&_argo0))
4436 return NULL;
4437 if (_argo0) {
4438 if (_argo0 == Py_None) { _arg0 = NULL; }
4439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4441 return NULL;
4442 }
4443 }
4444{
4445 wxPy_BEGIN_ALLOW_THREADS;
4446 _result = (bool )wxListCtrl_IsVirtual(_arg0);
4447
4448 wxPy_END_ALLOW_THREADS;
4449 if (PyErr_Occurred()) return NULL;
4450} _resultobj = Py_BuildValue("i",_result);
4451 return _resultobj;
4452}
4453
4454#define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4455static PyObject *_wrap_wxListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4456 PyObject * _resultobj;
4457 wxPyListCtrl * _arg0;
4458 long _arg1;
4459 PyObject * _argo0 = 0;
4460 char *_kwnames[] = { "self","item", NULL };
4461
4462 self = self;
4463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_RefreshItem",_kwnames,&_argo0,&_arg1))
4464 return NULL;
4465 if (_argo0) {
4466 if (_argo0 == Py_None) { _arg0 = NULL; }
4467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4469 return NULL;
4470 }
4471 }
4472{
4473 wxPy_BEGIN_ALLOW_THREADS;
4474 wxListCtrl_RefreshItem(_arg0,_arg1);
4475
4476 wxPy_END_ALLOW_THREADS;
4477 if (PyErr_Occurred()) return NULL;
4478} Py_INCREF(Py_None);
4479 _resultobj = Py_None;
4480 return _resultobj;
4481}
4482
4483#define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4484static PyObject *_wrap_wxListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject * _resultobj;
4486 wxPyListCtrl * _arg0;
4487 long _arg1;
4488 long _arg2;
4489 PyObject * _argo0 = 0;
4490 char *_kwnames[] = { "self","itemFrom","itemTo", NULL };
4491
4492 self = self;
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_RefreshItems",_kwnames,&_argo0,&_arg1,&_arg2))
4494 return NULL;
4495 if (_argo0) {
4496 if (_argo0 == Py_None) { _arg0 = NULL; }
4497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4499 return NULL;
4500 }
4501 }
4502{
4503 wxPy_BEGIN_ALLOW_THREADS;
4504 wxListCtrl_RefreshItems(_arg0,_arg1,_arg2);
4505
4506 wxPy_END_ALLOW_THREADS;
4507 if (PyErr_Occurred()) return NULL;
4508} Py_INCREF(Py_None);
4509 _resultobj = Py_None;
4510 return _resultobj;
4511}
4512
4513#define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4514static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
4515 PyObject * _resultobj;
4516 bool _result;
4517 wxPyListCtrl * _arg0;
4518 int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT);
4519 PyObject * _argo0 = 0;
4520 char *_kwnames[] = { "self","flag", NULL };
4521
4522 self = self;
4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1))
4524 return NULL;
4525 if (_argo0) {
4526 if (_argo0 == Py_None) { _arg0 = NULL; }
4527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4529 return NULL;
4530 }
4531 }
4532{
4533 wxPy_BEGIN_ALLOW_THREADS;
4534 _result = (bool )wxListCtrl_Arrange(_arg0,_arg1);
4535
4536 wxPy_END_ALLOW_THREADS;
4537 if (PyErr_Occurred()) return NULL;
4538} _resultobj = Py_BuildValue("i",_result);
4539 return _resultobj;
4540}
4541
4542#define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4543static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4544 PyObject * _resultobj;
4545 bool _result;
4546 wxPyListCtrl * _arg0;
4547 long _arg1;
4548 PyObject * _argo0 = 0;
4549 char *_kwnames[] = { "self","item", NULL };
4550
4551 self = self;
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1))
4553 return NULL;
4554 if (_argo0) {
4555 if (_argo0 == Py_None) { _arg0 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4558 return NULL;
4559 }
4560 }
4561{
4562 wxPy_BEGIN_ALLOW_THREADS;
4563 _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1);
4564
4565 wxPy_END_ALLOW_THREADS;
4566 if (PyErr_Occurred()) return NULL;
4567} _resultobj = Py_BuildValue("i",_result);
4568 return _resultobj;
4569}
4570
4571#define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4572static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject * _resultobj;
4574 bool _result;
4575 wxPyListCtrl * _arg0;
4576 PyObject * _argo0 = 0;
4577 char *_kwnames[] = { "self", NULL };
4578
4579 self = self;
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0))
4581 return NULL;
4582 if (_argo0) {
4583 if (_argo0 == Py_None) { _arg0 = NULL; }
4584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4586 return NULL;
4587 }
4588 }
4589{
4590 wxPy_BEGIN_ALLOW_THREADS;
4591 _result = (bool )wxListCtrl_DeleteAllItems(_arg0);
4592
4593 wxPy_END_ALLOW_THREADS;
4594 if (PyErr_Occurred()) return NULL;
4595} _resultobj = Py_BuildValue("i",_result);
4596 return _resultobj;
4597}
4598
4599#define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4600static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4601 PyObject * _resultobj;
4602 bool _result;
4603 wxPyListCtrl * _arg0;
4604 int _arg1;
4605 PyObject * _argo0 = 0;
4606 char *_kwnames[] = { "self","col", NULL };
4607
4608 self = self;
4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1))
4610 return NULL;
4611 if (_argo0) {
4612 if (_argo0 == Py_None) { _arg0 = NULL; }
4613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4615 return NULL;
4616 }
4617 }
4618{
4619 wxPy_BEGIN_ALLOW_THREADS;
4620 _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1);
4621
4622 wxPy_END_ALLOW_THREADS;
4623 if (PyErr_Occurred()) return NULL;
4624} _resultobj = Py_BuildValue("i",_result);
4625 return _resultobj;
4626}
4627
4628#define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4629static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
4630 PyObject * _resultobj;
4631 bool _result;
4632 wxPyListCtrl * _arg0;
4633 PyObject * _argo0 = 0;
4634 char *_kwnames[] = { "self", NULL };
4635
4636 self = self;
4637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0))
4638 return NULL;
4639 if (_argo0) {
4640 if (_argo0 == Py_None) { _arg0 = NULL; }
4641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4643 return NULL;
4644 }
4645 }
4646{
4647 wxPy_BEGIN_ALLOW_THREADS;
4648 _result = (bool )wxListCtrl_DeleteAllColumns(_arg0);
4649
4650 wxPy_END_ALLOW_THREADS;
4651 if (PyErr_Occurred()) return NULL;
4652} _resultobj = Py_BuildValue("i",_result);
4653 return _resultobj;
4654}
4655
4656#define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4657static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4658 PyObject * _resultobj;
4659 wxPyListCtrl * _arg0;
4660 PyObject * _argo0 = 0;
4661 char *_kwnames[] = { "self", NULL };
4662
4663 self = self;
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0))
4665 return NULL;
4666 if (_argo0) {
4667 if (_argo0 == Py_None) { _arg0 = NULL; }
4668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4670 return NULL;
4671 }
4672 }
4673{
4674 wxPy_BEGIN_ALLOW_THREADS;
4675 wxListCtrl_ClearAll(_arg0);
4676
4677 wxPy_END_ALLOW_THREADS;
4678 if (PyErr_Occurred()) return NULL;
4679} Py_INCREF(Py_None);
4680 _resultobj = Py_None;
4681 return _resultobj;
4682}
4683
4684#define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4685static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4686 PyObject * _resultobj;
4687 wxTextCtrl * _result;
4688 wxPyListCtrl * _arg0;
4689 long _arg1;
4690 PyObject * _argo0 = 0;
4691 char *_kwnames[] = { "self","item", NULL };
4692
4693 self = self;
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1))
4695 return NULL;
4696 if (_argo0) {
4697 if (_argo0 == Py_None) { _arg0 = NULL; }
4698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4700 return NULL;
4701 }
4702 }
4703{
4704 wxPy_BEGIN_ALLOW_THREADS;
4705 _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1);
4706
4707 wxPy_END_ALLOW_THREADS;
4708 if (PyErr_Occurred()) return NULL;
4709}{ _resultobj = wxPyMake_wxObject(_result); }
4710 return _resultobj;
4711}
4712
4713#define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4714static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject * _resultobj;
4716 bool _result;
4717 wxPyListCtrl * _arg0;
4718 bool _arg1;
4719 PyObject * _argo0 = 0;
4720 int tempbool1;
4721 char *_kwnames[] = { "self","cancel", NULL };
4722
4723 self = self;
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1))
4725 return NULL;
4726 if (_argo0) {
4727 if (_argo0 == Py_None) { _arg0 = NULL; }
4728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4730 return NULL;
4731 }
4732 }
4733 _arg1 = (bool ) tempbool1;
4734{
4735 wxPy_BEGIN_ALLOW_THREADS;
4736 _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1);
4737
4738 wxPy_END_ALLOW_THREADS;
4739 if (PyErr_Occurred()) return NULL;
4740} _resultobj = Py_BuildValue("i",_result);
4741 return _resultobj;
4742}
4743
4744#define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4745static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject * _resultobj;
4747 bool _result;
4748 wxPyListCtrl * _arg0;
4749 long _arg1;
4750 PyObject * _argo0 = 0;
4751 char *_kwnames[] = { "self","item", NULL };
4752
4753 self = self;
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
4755 return NULL;
4756 if (_argo0) {
4757 if (_argo0 == Py_None) { _arg0 = NULL; }
4758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4760 return NULL;
4761 }
4762 }
4763{
4764 wxPy_BEGIN_ALLOW_THREADS;
4765 _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1);
4766
4767 wxPy_END_ALLOW_THREADS;
4768 if (PyErr_Occurred()) return NULL;
4769} _resultobj = Py_BuildValue("i",_result);
4770 return _resultobj;
4771}
4772
4773#define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4774static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject * _resultobj;
4776 long _result;
4777 wxPyListCtrl * _arg0;
4778 long _arg1;
4779 wxString * _arg2;
4780 bool _arg3 = (bool ) FALSE;
4781 PyObject * _argo0 = 0;
4782 PyObject * _obj2 = 0;
4783 int tempbool3 = (int) FALSE;
4784 char *_kwnames[] = { "self","start","str","partial", NULL };
4785
4786 self = self;
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
4788 return NULL;
4789 if (_argo0) {
4790 if (_argo0 == Py_None) { _arg0 = NULL; }
4791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4793 return NULL;
4794 }
4795 }
4796{
4797#if PYTHON_API_VERSION >= 1009
4798 char* tmpPtr; int tmpSize;
4799 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4800 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4801 return NULL;
4802 }
4803 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4804 return NULL;
4805 _arg2 = new wxString(tmpPtr, tmpSize);
4806#else
4807 if (!PyString_Check(_obj2)) {
4808 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4809 return NULL;
4810 }
4811 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4812#endif
4813}
4814 _arg3 = (bool ) tempbool3;
4815{
4816 wxPy_BEGIN_ALLOW_THREADS;
4817 _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3);
4818
4819 wxPy_END_ALLOW_THREADS;
4820 if (PyErr_Occurred()) return NULL;
4821} _resultobj = Py_BuildValue("l",_result);
4822{
4823 if (_obj2)
4824 delete _arg2;
4825}
4826 return _resultobj;
4827}
4828
4829#define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4830static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
4831 PyObject * _resultobj;
4832 long _result;
4833 wxPyListCtrl * _arg0;
4834 long _arg1;
4835 long _arg2;
4836 PyObject * _argo0 = 0;
4837 char *_kwnames[] = { "self","start","data", NULL };
4838
4839 self = self;
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2))
4841 return NULL;
4842 if (_argo0) {
4843 if (_argo0 == Py_None) { _arg0 = NULL; }
4844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4846 return NULL;
4847 }
4848 }
4849{
4850 wxPy_BEGIN_ALLOW_THREADS;
4851 _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2);
4852
4853 wxPy_END_ALLOW_THREADS;
4854 if (PyErr_Occurred()) return NULL;
4855} _resultobj = Py_BuildValue("l",_result);
4856 return _resultobj;
4857}
4858
4859#define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4860static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4861 PyObject * _resultobj;
4862 long _result;
4863 wxPyListCtrl * _arg0;
4864 long _arg1;
4865 wxPoint * _arg2;
4866 int _arg3;
4867 PyObject * _argo0 = 0;
4868 wxPoint temp;
4869 PyObject * _obj2 = 0;
4870 char *_kwnames[] = { "self","start","pt","direction", NULL };
4871
4872 self = self;
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
4874 return NULL;
4875 if (_argo0) {
4876 if (_argo0 == Py_None) { _arg0 = NULL; }
4877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4879 return NULL;
4880 }
4881 }
4882{
4883 _arg2 = &temp;
4884 if (! wxPoint_helper(_obj2, &_arg2))
4885 return NULL;
4886}
4887{
4888 wxPy_BEGIN_ALLOW_THREADS;
4889 _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3);
4890
4891 wxPy_END_ALLOW_THREADS;
4892 if (PyErr_Occurred()) return NULL;
4893} _resultobj = Py_BuildValue("l",_result);
4894 return _resultobj;
4895}
4896
4897#define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4898static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4899 PyObject * _resultobj;
4900 long _result;
4901 wxPyListCtrl * _arg0;
4902 wxPoint * _arg1;
4903 int * _arg2;
4904 int temp;
4905 PyObject * _argo0 = 0;
4906 wxPoint temp0;
4907 PyObject * _obj1 = 0;
4908 char *_kwnames[] = { "self","point", NULL };
4909
4910 self = self;
4911{
4912 _arg2 = &temp;
4913}
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
4915 return NULL;
4916 if (_argo0) {
4917 if (_argo0 == Py_None) { _arg0 = NULL; }
4918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4920 return NULL;
4921 }
4922 }
4923{
4924 _arg1 = &temp0;
4925 if (! wxPoint_helper(_obj1, &_arg1))
4926 return NULL;
4927}
4928{
4929 wxPy_BEGIN_ALLOW_THREADS;
4930 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
4931
4932 wxPy_END_ALLOW_THREADS;
4933 if (PyErr_Occurred()) return NULL;
4934} _resultobj = Py_BuildValue("l",_result);
4935{
4936 PyObject *o;
4937 o = PyInt_FromLong((long) (*_arg2));
4938 _resultobj = t_output_helper(_resultobj, o);
4939}
4940 return _resultobj;
4941}
4942
4943#define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4944static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject * _resultobj;
4946 long _result;
4947 wxPyListCtrl * _arg0;
4948 wxListItem * _arg1;
4949 PyObject * _argo0 = 0;
4950 PyObject * _argo1 = 0;
4951 char *_kwnames[] = { "self","info", NULL };
4952
4953 self = self;
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1))
4955 return NULL;
4956 if (_argo0) {
4957 if (_argo0 == Py_None) { _arg0 = NULL; }
4958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4960 return NULL;
4961 }
4962 }
4963 if (_argo1) {
4964 if (_argo1 == Py_None) { _arg1 = NULL; }
4965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) {
4966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4967 return NULL;
4968 }
4969 }
4970{
4971 wxPy_BEGIN_ALLOW_THREADS;
4972 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
4973
4974 wxPy_END_ALLOW_THREADS;
4975 if (PyErr_Occurred()) return NULL;
4976} _resultobj = Py_BuildValue("l",_result);
4977 return _resultobj;
4978}
4979
4980#define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4981static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4982 PyObject * _resultobj;
4983 long _result;
4984 wxPyListCtrl * _arg0;
4985 long _arg1;
4986 wxString * _arg2;
4987 PyObject * _argo0 = 0;
4988 PyObject * _obj2 = 0;
4989 char *_kwnames[] = { "self","index","label", NULL };
4990
4991 self = self;
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2))
4993 return NULL;
4994 if (_argo0) {
4995 if (_argo0 == Py_None) { _arg0 = NULL; }
4996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
4997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4998 return NULL;
4999 }
5000 }
5001{
5002#if PYTHON_API_VERSION >= 1009
5003 char* tmpPtr; int tmpSize;
5004 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5005 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5006 return NULL;
5007 }
5008 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5009 return NULL;
5010 _arg2 = new wxString(tmpPtr, tmpSize);
5011#else
5012 if (!PyString_Check(_obj2)) {
5013 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5014 return NULL;
5015 }
5016 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5017#endif
5018}
5019{
5020 wxPy_BEGIN_ALLOW_THREADS;
5021 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
5022
5023 wxPy_END_ALLOW_THREADS;
5024 if (PyErr_Occurred()) return NULL;
5025} _resultobj = Py_BuildValue("l",_result);
5026{
5027 if (_obj2)
5028 delete _arg2;
5029}
5030 return _resultobj;
5031}
5032
5033#define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
5034static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5035 PyObject * _resultobj;
5036 long _result;
5037 wxPyListCtrl * _arg0;
5038 long _arg1;
5039 int _arg2;
5040 PyObject * _argo0 = 0;
5041 char *_kwnames[] = { "self","index","imageIndex", NULL };
5042
5043 self = self;
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2))
5045 return NULL;
5046 if (_argo0) {
5047 if (_argo0 == Py_None) { _arg0 = NULL; }
5048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
5050 return NULL;
5051 }
5052 }
5053{
5054 wxPy_BEGIN_ALLOW_THREADS;
5055 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
5056
5057 wxPy_END_ALLOW_THREADS;
5058 if (PyErr_Occurred()) return NULL;
5059} _resultobj = Py_BuildValue("l",_result);
5060 return _resultobj;
5061}
5062
5063#define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
5064static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5065 PyObject * _resultobj;
5066 long _result;
5067 wxPyListCtrl * _arg0;
5068 long _arg1;
5069 wxString * _arg2;
5070 int _arg3;
5071 PyObject * _argo0 = 0;
5072 PyObject * _obj2 = 0;
5073 char *_kwnames[] = { "self","index","label","imageIndex", NULL };
5074
5075 self = self;
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
5077 return NULL;
5078 if (_argo0) {
5079 if (_argo0 == Py_None) { _arg0 = NULL; }
5080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
5082 return NULL;
5083 }
5084 }
5085{
5086#if PYTHON_API_VERSION >= 1009
5087 char* tmpPtr; int tmpSize;
5088 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5089 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5090 return NULL;
5091 }
5092 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5093 return NULL;
5094 _arg2 = new wxString(tmpPtr, tmpSize);
5095#else
5096 if (!PyString_Check(_obj2)) {
5097 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5098 return NULL;
5099 }
5100 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5101#endif
5102}
5103{
5104 wxPy_BEGIN_ALLOW_THREADS;
5105 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
5106
5107 wxPy_END_ALLOW_THREADS;
5108 if (PyErr_Occurred()) return NULL;
5109} _resultobj = Py_BuildValue("l",_result);
5110{
5111 if (_obj2)
5112 delete _arg2;
5113}
5114 return _resultobj;
5115}
5116
5117#define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
5118static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject * _resultobj;
5120 long _result;
5121 wxPyListCtrl * _arg0;
5122 long _arg1;
5123 wxListItem * _arg2;
5124 PyObject * _argo0 = 0;
5125 PyObject * _argo2 = 0;
5126 char *_kwnames[] = { "self","col","info", NULL };
5127
5128 self = self;
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
5130 return NULL;
5131 if (_argo0) {
5132 if (_argo0 == Py_None) { _arg0 = NULL; }
5133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
5135 return NULL;
5136 }
5137 }
5138 if (_argo2) {
5139 if (_argo2 == Py_None) { _arg2 = NULL; }
5140 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) {
5141 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
5142 return NULL;
5143 }
5144 }
5145{
5146 wxPy_BEGIN_ALLOW_THREADS;
5147 _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
5148
5149 wxPy_END_ALLOW_THREADS;
5150 if (PyErr_Occurred()) return NULL;
5151} _resultobj = Py_BuildValue("l",_result);
5152 return _resultobj;
5153}
5154
5155#define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5156static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject * _resultobj;
5158 long _result;
5159 wxPyListCtrl * _arg0;
5160 long _arg1;
5161 wxString * _arg2;
5162 int _arg3 = (int ) (wxLIST_FORMAT_LEFT);
5163 int _arg4 = (int ) -1;
5164 PyObject * _argo0 = 0;
5165 PyObject * _obj2 = 0;
5166 char *_kwnames[] = { "self","col","heading","format","width", NULL };
5167
5168 self = self;
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4))
5170 return NULL;
5171 if (_argo0) {
5172 if (_argo0 == Py_None) { _arg0 = NULL; }
5173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
5175 return NULL;
5176 }
5177 }
5178{
5179#if PYTHON_API_VERSION >= 1009
5180 char* tmpPtr; int tmpSize;
5181 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5182 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5183 return NULL;
5184 }
5185 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5186 return NULL;
5187 _arg2 = new wxString(tmpPtr, tmpSize);
5188#else
5189 if (!PyString_Check(_obj2)) {
5190 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5191 return NULL;
5192 }
5193 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5194#endif
5195}
5196{
5197 wxPy_BEGIN_ALLOW_THREADS;
5198 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
5199
5200 wxPy_END_ALLOW_THREADS;
5201 if (PyErr_Occurred()) return NULL;
5202} _resultobj = Py_BuildValue("l",_result);
5203{
5204 if (_obj2)
5205 delete _arg2;
5206}
5207 return _resultobj;
5208}
5209
5210#define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5211static PyObject *_wrap_wxListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject * _resultobj;
5213 wxPyListCtrl * _arg0;
5214 long _arg1;
5215 PyObject * _argo0 = 0;
5216 char *_kwnames[] = { "self","count", NULL };
5217
5218 self = self;
5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetItemCount",_kwnames,&_argo0,&_arg1))
5220 return NULL;
5221 if (_argo0) {
5222 if (_argo0 == Py_None) { _arg0 = NULL; }
5223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5225 return NULL;
5226 }
5227 }
5228{
5229 wxPy_BEGIN_ALLOW_THREADS;
5230 wxListCtrl_SetItemCount(_arg0,_arg1);
5231
5232 wxPy_END_ALLOW_THREADS;
5233 if (PyErr_Occurred()) return NULL;
5234} Py_INCREF(Py_None);
5235 _resultobj = Py_None;
5236 return _resultobj;
5237}
5238
5239#define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5240static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
5241 PyObject * _resultobj;
5242 bool _result;
5243 wxPyListCtrl * _arg0;
5244 int _arg1;
5245 int _arg2;
5246 PyObject * _argo0 = 0;
5247 char *_kwnames[] = { "self","dx","dy", NULL };
5248
5249 self = self;
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2))
5251 return NULL;
5252 if (_argo0) {
5253 if (_argo0 == Py_None) { _arg0 = NULL; }
5254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5256 return NULL;
5257 }
5258 }
5259{
5260 wxPy_BEGIN_ALLOW_THREADS;
5261 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
5262
5263 wxPy_END_ALLOW_THREADS;
5264 if (PyErr_Occurred()) return NULL;
5265} _resultobj = Py_BuildValue("i",_result);
5266 return _resultobj;
5267}
5268
5269static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject * func) {
5270 if (!PyCallable_Check(func))
5271 return FALSE;
5272 return self->SortItems(wxPyListCtrl_SortItems, (long)func);
5273 }
5274static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5275 PyObject * _resultobj;
5276 bool _result;
5277 wxPyListCtrl * _arg0;
5278 PyObject * _arg1;
5279 PyObject * _argo0 = 0;
5280 PyObject * _obj1 = 0;
5281 char *_kwnames[] = { "self","func", NULL };
5282
5283 self = self;
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1))
5285 return NULL;
5286 if (_argo0) {
5287 if (_argo0 == Py_None) { _arg0 = NULL; }
5288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyListCtrl_p")) {
5289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5290 return NULL;
5291 }
5292 }
5293{
5294 _arg1 = _obj1;
5295}
5296{
5297 wxPy_BEGIN_ALLOW_THREADS;
5298 _result = (bool )wxPyListCtrl_SortItems(_arg0,_arg1);
5299
5300 wxPy_END_ALLOW_THREADS;
5301 if (PyErr_Occurred()) return NULL;
5302} _resultobj = Py_BuildValue("i",_result);
5303 return _resultobj;
5304}
5305
5306static void *SwigwxListViewTowxPyListCtrl(void *ptr) {
5307 wxListView *src;
5308 wxPyListCtrl *dest;
5309 src = (wxListView *) ptr;
5310 dest = (wxPyListCtrl *) src;
5311 return (void *) dest;
5312}
5313
5314static void *SwigwxListViewTowxControl(void *ptr) {
5315 wxListView *src;
5316 wxControl *dest;
5317 src = (wxListView *) ptr;
5318 dest = (wxControl *) src;
5319 return (void *) dest;
5320}
5321
5322static void *SwigwxListViewTowxWindow(void *ptr) {
5323 wxListView *src;
5324 wxWindow *dest;
5325 src = (wxListView *) ptr;
5326 dest = (wxWindow *) src;
5327 return (void *) dest;
5328}
5329
5330static void *SwigwxListViewTowxEvtHandler(void *ptr) {
5331 wxListView *src;
5332 wxEvtHandler *dest;
5333 src = (wxListView *) ptr;
5334 dest = (wxEvtHandler *) src;
5335 return (void *) dest;
5336}
5337
5338static void *SwigwxListViewTowxObject(void *ptr) {
5339 wxListView *src;
5340 wxObject *dest;
5341 src = (wxListView *) ptr;
5342 dest = (wxObject *) src;
5343 return (void *) dest;
5344}
5345
5346#define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5347static PyObject *_wrap_new_wxListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5348 PyObject * _resultobj;
5349 wxListView * _result;
5350 wxWindow * _arg0;
5351 wxWindowID _arg1 = (wxWindowID ) -1;
5352 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5353 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5354 long _arg4 = (long ) (wxLC_REPORT);
5355 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
5356 wxString * _arg6 = (wxString *) &"listctrl";
5357 PyObject * _argo0 = 0;
5358 wxPoint temp;
5359 PyObject * _obj2 = 0;
5360 wxSize temp0;
5361 PyObject * _obj3 = 0;
5362 PyObject * _argo5 = 0;
5363 PyObject * _obj6 = 0;
5364 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5365 char _ptemp[128];
5366
5367 self = self;
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxListView",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
5369 return NULL;
5370 if (_argo0) {
5371 if (_argo0 == Py_None) { _arg0 = NULL; }
5372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5374 return NULL;
5375 }
5376 }
5377 if (_obj2)
5378{
5379 _arg2 = &temp;
5380 if (! wxPoint_helper(_obj2, &_arg2))
5381 return NULL;
5382}
5383 if (_obj3)
5384{
5385 _arg3 = &temp0;
5386 if (! wxSize_helper(_obj3, &_arg3))
5387 return NULL;
5388}
5389 if (_argo5) {
5390 if (_argo5 == Py_None) { _arg5 = NULL; }
5391 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5392 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5393 return NULL;
5394 }
5395 }
5396 if (_obj6)
5397{
5398#if PYTHON_API_VERSION >= 1009
5399 char* tmpPtr; int tmpSize;
5400 if (!PyString_Check(_obj6) && !PyUnicode_Check(_obj6)) {
5401 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5402 return NULL;
5403 }
5404 if (PyString_AsStringAndSize(_obj6, &tmpPtr, &tmpSize) == -1)
5405 return NULL;
5406 _arg6 = new wxString(tmpPtr, tmpSize);
5407#else
5408 if (!PyString_Check(_obj6)) {
5409 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5410 return NULL;
5411 }
5412 _arg6 = new wxString(PyString_AS_STRING(_obj6), PyString_GET_SIZE(_obj6));
5413#endif
5414}
5415{
5416 wxPy_BEGIN_ALLOW_THREADS;
5417 _result = (wxListView *)new_wxListView(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
5418
5419 wxPy_END_ALLOW_THREADS;
5420 if (PyErr_Occurred()) return NULL;
5421} if (_result) {
5422 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5423 _resultobj = Py_BuildValue("s",_ptemp);
5424 } else {
5425 Py_INCREF(Py_None);
5426 _resultobj = Py_None;
5427 }
5428{
5429 if (_obj6)
5430 delete _arg6;
5431}
5432 return _resultobj;
5433}
5434
5435#define new_wxPreListView() (new wxListView())
5436static PyObject *_wrap_new_wxPreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject * _resultobj;
5438 wxListView * _result;
5439 char *_kwnames[] = { NULL };
5440 char _ptemp[128];
5441
5442 self = self;
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListView",_kwnames))
5444 return NULL;
5445{
5446 wxPy_BEGIN_ALLOW_THREADS;
5447 _result = (wxListView *)new_wxPreListView();
5448
5449 wxPy_END_ALLOW_THREADS;
5450 if (PyErr_Occurred()) return NULL;
5451} if (_result) {
5452 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListView_p");
5453 _resultobj = Py_BuildValue("s",_ptemp);
5454 } else {
5455 Py_INCREF(Py_None);
5456 _resultobj = Py_None;
5457 }
5458 return _resultobj;
5459}
5460
5461#define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5462static PyObject *_wrap_wxListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5463 PyObject * _resultobj;
5464 bool _result;
5465 wxListView * _arg0;
5466 wxWindow * _arg1;
5467 wxWindowID _arg2 = (wxWindowID ) -1;
5468 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5469 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5470 long _arg5 = (long ) (wxLC_REPORT);
5471 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
5472 wxString * _arg7 = (wxString *) &"listctrl";
5473 PyObject * _argo0 = 0;
5474 PyObject * _argo1 = 0;
5475 wxPoint temp;
5476 PyObject * _obj3 = 0;
5477 wxSize temp0;
5478 PyObject * _obj4 = 0;
5479 PyObject * _argo6 = 0;
5480 PyObject * _obj7 = 0;
5481 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
5482
5483 self = self;
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxListView_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
5485 return NULL;
5486 if (_argo0) {
5487 if (_argo0 == Py_None) { _arg0 = NULL; }
5488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5490 return NULL;
5491 }
5492 }
5493 if (_argo1) {
5494 if (_argo1 == Py_None) { _arg1 = NULL; }
5495 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5496 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5497 return NULL;
5498 }
5499 }
5500 if (_obj3)
5501{
5502 _arg3 = &temp;
5503 if (! wxPoint_helper(_obj3, &_arg3))
5504 return NULL;
5505}
5506 if (_obj4)
5507{
5508 _arg4 = &temp0;
5509 if (! wxSize_helper(_obj4, &_arg4))
5510 return NULL;
5511}
5512 if (_argo6) {
5513 if (_argo6 == Py_None) { _arg6 = NULL; }
5514 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
5515 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5516 return NULL;
5517 }
5518 }
5519 if (_obj7)
5520{
5521#if PYTHON_API_VERSION >= 1009
5522 char* tmpPtr; int tmpSize;
5523 if (!PyString_Check(_obj7) && !PyUnicode_Check(_obj7)) {
5524 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5525 return NULL;
5526 }
5527 if (PyString_AsStringAndSize(_obj7, &tmpPtr, &tmpSize) == -1)
5528 return NULL;
5529 _arg7 = new wxString(tmpPtr, tmpSize);
5530#else
5531 if (!PyString_Check(_obj7)) {
5532 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5533 return NULL;
5534 }
5535 _arg7 = new wxString(PyString_AS_STRING(_obj7), PyString_GET_SIZE(_obj7));
5536#endif
5537}
5538{
5539 wxPy_BEGIN_ALLOW_THREADS;
5540 _result = (bool )wxListView_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
5541
5542 wxPy_END_ALLOW_THREADS;
5543 if (PyErr_Occurred()) return NULL;
5544} _resultobj = Py_BuildValue("i",_result);
5545{
5546 if (_obj7)
5547 delete _arg7;
5548}
5549 return _resultobj;
5550}
5551
5552#define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5553static PyObject *_wrap_wxListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5554 PyObject * _resultobj;
5555 wxListView * _arg0;
5556 long _arg1;
5557 bool _arg2 = (bool ) TRUE;
5558 PyObject * _argo0 = 0;
5559 int tempbool2 = (int) TRUE;
5560 char *_kwnames[] = { "self","n","on", NULL };
5561
5562 self = self;
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListView_Select",_kwnames,&_argo0,&_arg1,&tempbool2))
5564 return NULL;
5565 if (_argo0) {
5566 if (_argo0 == Py_None) { _arg0 = NULL; }
5567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5569 return NULL;
5570 }
5571 }
5572 _arg2 = (bool ) tempbool2;
5573{
5574 wxPy_BEGIN_ALLOW_THREADS;
5575 wxListView_Select(_arg0,_arg1,_arg2);
5576
5577 wxPy_END_ALLOW_THREADS;
5578 if (PyErr_Occurred()) return NULL;
5579} Py_INCREF(Py_None);
5580 _resultobj = Py_None;
5581 return _resultobj;
5582}
5583
5584#define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5585static PyObject *_wrap_wxListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject * _resultobj;
5587 wxListView * _arg0;
5588 long _arg1;
5589 PyObject * _argo0 = 0;
5590 char *_kwnames[] = { "self","index", NULL };
5591
5592 self = self;
5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_Focus",_kwnames,&_argo0,&_arg1))
5594 return NULL;
5595 if (_argo0) {
5596 if (_argo0 == Py_None) { _arg0 = NULL; }
5597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5599 return NULL;
5600 }
5601 }
5602{
5603 wxPy_BEGIN_ALLOW_THREADS;
5604 wxListView_Focus(_arg0,_arg1);
5605
5606 wxPy_END_ALLOW_THREADS;
5607 if (PyErr_Occurred()) return NULL;
5608} Py_INCREF(Py_None);
5609 _resultobj = Py_None;
5610 return _resultobj;
5611}
5612
5613#define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5614static PyObject *_wrap_wxListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5615 PyObject * _resultobj;
5616 long _result;
5617 wxListView * _arg0;
5618 PyObject * _argo0 = 0;
5619 char *_kwnames[] = { "self", NULL };
5620
5621 self = self;
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFocusedItem",_kwnames,&_argo0))
5623 return NULL;
5624 if (_argo0) {
5625 if (_argo0 == Py_None) { _arg0 = NULL; }
5626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5628 return NULL;
5629 }
5630 }
5631{
5632 wxPy_BEGIN_ALLOW_THREADS;
5633 _result = (long )wxListView_GetFocusedItem(_arg0);
5634
5635 wxPy_END_ALLOW_THREADS;
5636 if (PyErr_Occurred()) return NULL;
5637} _resultobj = Py_BuildValue("l",_result);
5638 return _resultobj;
5639}
5640
5641#define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5642static PyObject *_wrap_wxListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5643 PyObject * _resultobj;
5644 long _result;
5645 wxListView * _arg0;
5646 long _arg1;
5647 PyObject * _argo0 = 0;
5648 char *_kwnames[] = { "self","item", NULL };
5649
5650 self = self;
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_GetNextSelected",_kwnames,&_argo0,&_arg1))
5652 return NULL;
5653 if (_argo0) {
5654 if (_argo0 == Py_None) { _arg0 = NULL; }
5655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5657 return NULL;
5658 }
5659 }
5660{
5661 wxPy_BEGIN_ALLOW_THREADS;
5662 _result = (long )wxListView_GetNextSelected(_arg0,_arg1);
5663
5664 wxPy_END_ALLOW_THREADS;
5665 if (PyErr_Occurred()) return NULL;
5666} _resultobj = Py_BuildValue("l",_result);
5667 return _resultobj;
5668}
5669
5670#define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5671static PyObject *_wrap_wxListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5672 PyObject * _resultobj;
5673 long _result;
5674 wxListView * _arg0;
5675 PyObject * _argo0 = 0;
5676 char *_kwnames[] = { "self", NULL };
5677
5678 self = self;
5679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListView_GetFirstSelected",_kwnames,&_argo0))
5680 return NULL;
5681 if (_argo0) {
5682 if (_argo0 == Py_None) { _arg0 = NULL; }
5683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5685 return NULL;
5686 }
5687 }
5688{
5689 wxPy_BEGIN_ALLOW_THREADS;
5690 _result = (long )wxListView_GetFirstSelected(_arg0);
5691
5692 wxPy_END_ALLOW_THREADS;
5693 if (PyErr_Occurred()) return NULL;
5694} _resultobj = Py_BuildValue("l",_result);
5695 return _resultobj;
5696}
5697
5698#define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5699static PyObject *_wrap_wxListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5700 PyObject * _resultobj;
5701 bool _result;
5702 wxListView * _arg0;
5703 long _arg1;
5704 PyObject * _argo0 = 0;
5705 char *_kwnames[] = { "self","index", NULL };
5706
5707 self = self;
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListView_IsSelected",_kwnames,&_argo0,&_arg1))
5709 return NULL;
5710 if (_argo0) {
5711 if (_argo0 == Py_None) { _arg0 = NULL; }
5712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5714 return NULL;
5715 }
5716 }
5717{
5718 wxPy_BEGIN_ALLOW_THREADS;
5719 _result = (bool )wxListView_IsSelected(_arg0,_arg1);
5720
5721 wxPy_END_ALLOW_THREADS;
5722 if (PyErr_Occurred()) return NULL;
5723} _resultobj = Py_BuildValue("i",_result);
5724 return _resultobj;
5725}
5726
5727#define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5728static PyObject *_wrap_wxListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5729 PyObject * _resultobj;
5730 wxListView * _arg0;
5731 int _arg1;
5732 int _arg2;
5733 PyObject * _argo0 = 0;
5734 char *_kwnames[] = { "self","col","image", NULL };
5735
5736 self = self;
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListView_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
5738 return NULL;
5739 if (_argo0) {
5740 if (_argo0 == Py_None) { _arg0 = NULL; }
5741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5743 return NULL;
5744 }
5745 }
5746{
5747 wxPy_BEGIN_ALLOW_THREADS;
5748 wxListView_SetColumnImage(_arg0,_arg1,_arg2);
5749
5750 wxPy_END_ALLOW_THREADS;
5751 if (PyErr_Occurred()) return NULL;
5752} Py_INCREF(Py_None);
5753 _resultobj = Py_None;
5754 return _resultobj;
5755}
5756
5757#define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5758static PyObject *_wrap_wxListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
5759 PyObject * _resultobj;
5760 wxListView * _arg0;
5761 int _arg1;
5762 PyObject * _argo0 = 0;
5763 char *_kwnames[] = { "self","col", NULL };
5764
5765 self = self;
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListView_ClearColumnImage",_kwnames,&_argo0,&_arg1))
5767 return NULL;
5768 if (_argo0) {
5769 if (_argo0 == Py_None) { _arg0 = NULL; }
5770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListView_p")) {
5771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5772 return NULL;
5773 }
5774 }
5775{
5776 wxPy_BEGIN_ALLOW_THREADS;
5777 wxListView_ClearColumnImage(_arg0,_arg1);
5778
5779 wxPy_END_ALLOW_THREADS;
5780 if (PyErr_Occurred()) return NULL;
5781} Py_INCREF(Py_None);
5782 _resultobj = Py_None;
5783 return _resultobj;
5784}
5785
5786#define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5787static PyObject *_wrap_new_wxTreeItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject * _resultobj;
5789 wxTreeItemAttr * _result;
5790 wxColour * _arg0 = (wxColour *) &wxNullColour;
5791 wxColour * _arg1 = (wxColour *) &wxNullColour;
5792 wxFont * _arg2 = (wxFont *) &wxNullFont;
5793 wxColour temp;
5794 PyObject * _obj0 = 0;
5795 wxColour temp0;
5796 PyObject * _obj1 = 0;
5797 PyObject * _argo2 = 0;
5798 char *_kwnames[] = { "colText","colBack","font", NULL };
5799 char _ptemp[128];
5800
5801 self = self;
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTreeItemAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5803 return NULL;
5804 if (_obj0)
5805{
5806 _arg0 = &temp;
5807 if (! wxColour_helper(_obj0, &_arg0))
5808 return NULL;
5809}
5810 if (_obj1)
5811{
5812 _arg1 = &temp0;
5813 if (! wxColour_helper(_obj1, &_arg1))
5814 return NULL;
5815}
5816 if (_argo2) {
5817 if (_argo2 == Py_None) { _arg2 = NULL; }
5818 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5819 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5820 return NULL;
5821 }
5822 }
5823{
5824 wxPy_BEGIN_ALLOW_THREADS;
5825 _result = (wxTreeItemAttr *)new_wxTreeItemAttr(*_arg0,*_arg1,*_arg2);
5826
5827 wxPy_END_ALLOW_THREADS;
5828 if (PyErr_Occurred()) return NULL;
5829} if (_result) {
5830 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemAttr_p");
5831 _resultobj = Py_BuildValue("s",_ptemp);
5832 } else {
5833 Py_INCREF(Py_None);
5834 _resultobj = Py_None;
5835 }
5836 return _resultobj;
5837}
5838
5839#define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5840static PyObject *_wrap_wxTreeItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5841 PyObject * _resultobj;
5842 wxTreeItemAttr * _arg0;
5843 wxColour * _arg1;
5844 PyObject * _argo0 = 0;
5845 wxColour temp;
5846 PyObject * _obj1 = 0;
5847 char *_kwnames[] = { "self","colText", NULL };
5848
5849 self = self;
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5851 return NULL;
5852 if (_argo0) {
5853 if (_argo0 == Py_None) { _arg0 = NULL; }
5854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5856 return NULL;
5857 }
5858 }
5859{
5860 _arg1 = &temp;
5861 if (! wxColour_helper(_obj1, &_arg1))
5862 return NULL;
5863}
5864{
5865 wxPy_BEGIN_ALLOW_THREADS;
5866 wxTreeItemAttr_SetTextColour(_arg0,*_arg1);
5867
5868 wxPy_END_ALLOW_THREADS;
5869 if (PyErr_Occurred()) return NULL;
5870} Py_INCREF(Py_None);
5871 _resultobj = Py_None;
5872 return _resultobj;
5873}
5874
5875#define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5876static PyObject *_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5877 PyObject * _resultobj;
5878 wxTreeItemAttr * _arg0;
5879 wxColour * _arg1;
5880 PyObject * _argo0 = 0;
5881 wxColour temp;
5882 PyObject * _obj1 = 0;
5883 char *_kwnames[] = { "self","colBack", NULL };
5884
5885 self = self;
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5887 return NULL;
5888 if (_argo0) {
5889 if (_argo0 == Py_None) { _arg0 = NULL; }
5890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5892 return NULL;
5893 }
5894 }
5895{
5896 _arg1 = &temp;
5897 if (! wxColour_helper(_obj1, &_arg1))
5898 return NULL;
5899}
5900{
5901 wxPy_BEGIN_ALLOW_THREADS;
5902 wxTreeItemAttr_SetBackgroundColour(_arg0,*_arg1);
5903
5904 wxPy_END_ALLOW_THREADS;
5905 if (PyErr_Occurred()) return NULL;
5906} Py_INCREF(Py_None);
5907 _resultobj = Py_None;
5908 return _resultobj;
5909}
5910
5911#define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5912static PyObject *_wrap_wxTreeItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject * _resultobj;
5914 wxTreeItemAttr * _arg0;
5915 wxFont * _arg1;
5916 PyObject * _argo0 = 0;
5917 PyObject * _argo1 = 0;
5918 char *_kwnames[] = { "self","font", NULL };
5919
5920 self = self;
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemAttr_SetFont",_kwnames,&_argo0,&_argo1))
5922 return NULL;
5923 if (_argo0) {
5924 if (_argo0 == Py_None) { _arg0 = NULL; }
5925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5927 return NULL;
5928 }
5929 }
5930 if (_argo1) {
5931 if (_argo1 == Py_None) { _arg1 = NULL; }
5932 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5933 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5934 return NULL;
5935 }
5936 }
5937{
5938 wxPy_BEGIN_ALLOW_THREADS;
5939 wxTreeItemAttr_SetFont(_arg0,*_arg1);
5940
5941 wxPy_END_ALLOW_THREADS;
5942 if (PyErr_Occurred()) return NULL;
5943} Py_INCREF(Py_None);
5944 _resultobj = Py_None;
5945 return _resultobj;
5946}
5947
5948#define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5949static PyObject *_wrap_wxTreeItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject * _resultobj;
5951 bool _result;
5952 wxTreeItemAttr * _arg0;
5953 PyObject * _argo0 = 0;
5954 char *_kwnames[] = { "self", NULL };
5955
5956 self = self;
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasTextColour",_kwnames,&_argo0))
5958 return NULL;
5959 if (_argo0) {
5960 if (_argo0 == Py_None) { _arg0 = NULL; }
5961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5963 return NULL;
5964 }
5965 }
5966{
5967 wxPy_BEGIN_ALLOW_THREADS;
5968 _result = (bool )wxTreeItemAttr_HasTextColour(_arg0);
5969
5970 wxPy_END_ALLOW_THREADS;
5971 if (PyErr_Occurred()) return NULL;
5972} _resultobj = Py_BuildValue("i",_result);
5973 return _resultobj;
5974}
5975
5976#define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5977static PyObject *_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject * _resultobj;
5979 bool _result;
5980 wxTreeItemAttr * _arg0;
5981 PyObject * _argo0 = 0;
5982 char *_kwnames[] = { "self", NULL };
5983
5984 self = self;
5985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames,&_argo0))
5986 return NULL;
5987 if (_argo0) {
5988 if (_argo0 == Py_None) { _arg0 = NULL; }
5989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
5990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5991 return NULL;
5992 }
5993 }
5994{
5995 wxPy_BEGIN_ALLOW_THREADS;
5996 _result = (bool )wxTreeItemAttr_HasBackgroundColour(_arg0);
5997
5998 wxPy_END_ALLOW_THREADS;
5999 if (PyErr_Occurred()) return NULL;
6000} _resultobj = Py_BuildValue("i",_result);
6001 return _resultobj;
6002}
6003
6004#define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
6005static PyObject *_wrap_wxTreeItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject * _resultobj;
6007 bool _result;
6008 wxTreeItemAttr * _arg0;
6009 PyObject * _argo0 = 0;
6010 char *_kwnames[] = { "self", NULL };
6011
6012 self = self;
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_HasFont",_kwnames,&_argo0))
6014 return NULL;
6015 if (_argo0) {
6016 if (_argo0 == Py_None) { _arg0 = NULL; }
6017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
6018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
6019 return NULL;
6020 }
6021 }
6022{
6023 wxPy_BEGIN_ALLOW_THREADS;
6024 _result = (bool )wxTreeItemAttr_HasFont(_arg0);
6025
6026 wxPy_END_ALLOW_THREADS;
6027 if (PyErr_Occurred()) return NULL;
6028} _resultobj = Py_BuildValue("i",_result);
6029 return _resultobj;
6030}
6031
6032#define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6033static PyObject *_wrap_wxTreeItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject * _resultobj;
6035 wxColour * _result;
6036 wxTreeItemAttr * _arg0;
6037 PyObject * _argo0 = 0;
6038 char *_kwnames[] = { "self", NULL };
6039 char _ptemp[128];
6040
6041 self = self;
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetTextColour",_kwnames,&_argo0))
6043 return NULL;
6044 if (_argo0) {
6045 if (_argo0 == Py_None) { _arg0 = NULL; }
6046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
6047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
6048 return NULL;
6049 }
6050 }
6051{
6052 wxPy_BEGIN_ALLOW_THREADS;
6053 const wxColour & _result_ref = wxTreeItemAttr_GetTextColour(_arg0);
6054 _result = (wxColour *) &_result_ref;
6055
6056 wxPy_END_ALLOW_THREADS;
6057 if (PyErr_Occurred()) return NULL;
6058} if (_result) {
6059 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
6060 _resultobj = Py_BuildValue("s",_ptemp);
6061 } else {
6062 Py_INCREF(Py_None);
6063 _resultobj = Py_None;
6064 }
6065 return _resultobj;
6066}
6067
6068#define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6069static PyObject *_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject * _resultobj;
6071 wxColour * _result;
6072 wxTreeItemAttr * _arg0;
6073 PyObject * _argo0 = 0;
6074 char *_kwnames[] = { "self", NULL };
6075 char _ptemp[128];
6076
6077 self = self;
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames,&_argo0))
6079 return NULL;
6080 if (_argo0) {
6081 if (_argo0 == Py_None) { _arg0 = NULL; }
6082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
6083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
6084 return NULL;
6085 }
6086 }
6087{
6088 wxPy_BEGIN_ALLOW_THREADS;
6089 const wxColour & _result_ref = wxTreeItemAttr_GetBackgroundColour(_arg0);
6090 _result = (wxColour *) &_result_ref;
6091
6092 wxPy_END_ALLOW_THREADS;
6093 if (PyErr_Occurred()) return NULL;
6094} if (_result) {
6095 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
6096 _resultobj = Py_BuildValue("s",_ptemp);
6097 } else {
6098 Py_INCREF(Py_None);
6099 _resultobj = Py_None;
6100 }
6101 return _resultobj;
6102}
6103
6104#define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
6105static PyObject *_wrap_wxTreeItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject * _resultobj;
6107 wxFont * _result;
6108 wxTreeItemAttr * _arg0;
6109 PyObject * _argo0 = 0;
6110 char *_kwnames[] = { "self", NULL };
6111 char _ptemp[128];
6112
6113 self = self;
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemAttr_GetFont",_kwnames,&_argo0))
6115 return NULL;
6116 if (_argo0) {
6117 if (_argo0 == Py_None) { _arg0 = NULL; }
6118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemAttr_p")) {
6119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
6120 return NULL;
6121 }
6122 }
6123{
6124 wxPy_BEGIN_ALLOW_THREADS;
6125 const wxFont & _result_ref = wxTreeItemAttr_GetFont(_arg0);
6126 _result = (wxFont *) &_result_ref;
6127
6128 wxPy_END_ALLOW_THREADS;
6129 if (PyErr_Occurred()) return NULL;
6130} if (_result) {
6131 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
6132 _resultobj = Py_BuildValue("s",_ptemp);
6133 } else {
6134 Py_INCREF(Py_None);
6135 _resultobj = Py_None;
6136 }
6137 return _resultobj;
6138}
6139
6140#define new_wxTreeItemId() (new wxTreeItemId())
6141static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
6142 PyObject * _resultobj;
6143 wxTreeItemId * _result;
6144 char *_kwnames[] = { NULL };
6145 char _ptemp[128];
6146
6147 self = self;
6148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames))
6149 return NULL;
6150{
6151 wxPy_BEGIN_ALLOW_THREADS;
6152 _result = (wxTreeItemId *)new_wxTreeItemId();
6153
6154 wxPy_END_ALLOW_THREADS;
6155 if (PyErr_Occurred()) return NULL;
6156} if (_result) {
6157 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6158 _resultobj = Py_BuildValue("s",_ptemp);
6159 } else {
6160 Py_INCREF(Py_None);
6161 _resultobj = Py_None;
6162 }
6163 return _resultobj;
6164}
6165
6166#define delete_wxTreeItemId(_swigobj) (delete _swigobj)
6167static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject * _resultobj;
6169 wxTreeItemId * _arg0;
6170 PyObject * _argo0 = 0;
6171 char *_kwnames[] = { "self", NULL };
6172
6173 self = self;
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0))
6175 return NULL;
6176 if (_argo0) {
6177 if (_argo0 == Py_None) { _arg0 = NULL; }
6178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
6179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
6180 return NULL;
6181 }
6182 }
6183{
6184 wxPy_BEGIN_ALLOW_THREADS;
6185 delete_wxTreeItemId(_arg0);
6186
6187 wxPy_END_ALLOW_THREADS;
6188 if (PyErr_Occurred()) return NULL;
6189} Py_INCREF(Py_None);
6190 _resultobj = Py_None;
6191 return _resultobj;
6192}
6193
6194#define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
6195static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject * _resultobj;
6197 bool _result;
6198 wxTreeItemId * _arg0;
6199 PyObject * _argo0 = 0;
6200 char *_kwnames[] = { "self", NULL };
6201
6202 self = self;
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0))
6204 return NULL;
6205 if (_argo0) {
6206 if (_argo0 == Py_None) { _arg0 = NULL; }
6207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
6208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
6209 return NULL;
6210 }
6211 }
6212{
6213 wxPy_BEGIN_ALLOW_THREADS;
6214 _result = (bool )wxTreeItemId_IsOk(_arg0);
6215
6216 wxPy_END_ALLOW_THREADS;
6217 if (PyErr_Occurred()) return NULL;
6218} _resultobj = Py_BuildValue("i",_result);
6219 return _resultobj;
6220}
6221
6222static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) {
6223 if (! other) return -1;
6224 return *self != *other;
6225 }
6226static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6227 PyObject * _resultobj;
6228 int _result;
6229 wxTreeItemId * _arg0;
6230 wxTreeItemId * _arg1;
6231 PyObject * _argo0 = 0;
6232 PyObject * _argo1 = 0;
6233 char *_kwnames[] = { "self","other", NULL };
6234
6235 self = self;
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1))
6237 return NULL;
6238 if (_argo0) {
6239 if (_argo0 == Py_None) { _arg0 = NULL; }
6240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) {
6241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6242 return NULL;
6243 }
6244 }
6245 if (_argo1) {
6246 if (_argo1 == Py_None) { _arg1 = NULL; }
6247 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6248 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6249 return NULL;
6250 }
6251 }
6252{
6253 wxPy_BEGIN_ALLOW_THREADS;
6254 _result = (int )wxTreeItemId___cmp__(_arg0,_arg1);
6255
6256 wxPy_END_ALLOW_THREADS;
6257 if (PyErr_Occurred()) return NULL;
6258} _resultobj = Py_BuildValue("i",_result);
6259 return _resultobj;
6260}
6261
6262static void *SwigwxPyTreeItemDataTowxObject(void *ptr) {
6263 wxPyTreeItemData *src;
6264 wxObject *dest;
6265 src = (wxPyTreeItemData *) ptr;
6266 dest = (wxObject *) src;
6267 return (void *) dest;
6268}
6269
6270#define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6271static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject * _resultobj;
6273 wxPyTreeItemData * _result;
6274 PyObject * _arg0 = (PyObject *) NULL;
6275 PyObject * _obj0 = 0;
6276 char *_kwnames[] = { "obj", NULL };
6277 char _ptemp[128];
6278
6279 self = self;
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0))
6281 return NULL;
6282 if (_obj0)
6283{
6284 _arg0 = _obj0;
6285}
6286{
6287 wxPy_BEGIN_ALLOW_THREADS;
6288 _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0);
6289
6290 wxPy_END_ALLOW_THREADS;
6291 if (PyErr_Occurred()) return NULL;
6292} if (_result) {
6293 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
6294 _resultobj = Py_BuildValue("s",_ptemp);
6295 } else {
6296 Py_INCREF(Py_None);
6297 _resultobj = Py_None;
6298 }
6299 return _resultobj;
6300}
6301
6302#define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6303static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject * _resultobj;
6305 PyObject * _result;
6306 wxPyTreeItemData * _arg0;
6307 PyObject * _argo0 = 0;
6308 char *_kwnames[] = { "self", NULL };
6309
6310 self = self;
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0))
6312 return NULL;
6313 if (_argo0) {
6314 if (_argo0 == Py_None) { _arg0 = NULL; }
6315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6317 return NULL;
6318 }
6319 }
6320{
6321 wxPy_BEGIN_ALLOW_THREADS;
6322 _result = (PyObject *)wxTreeItemData_GetData(_arg0);
6323
6324 wxPy_END_ALLOW_THREADS;
6325 if (PyErr_Occurred()) return NULL;
6326}{
6327 _resultobj = _result;
6328}
6329 return _resultobj;
6330}
6331
6332#define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6333static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
6334 PyObject * _resultobj;
6335 wxPyTreeItemData * _arg0;
6336 PyObject * _arg1;
6337 PyObject * _argo0 = 0;
6338 PyObject * _obj1 = 0;
6339 char *_kwnames[] = { "self","obj", NULL };
6340
6341 self = self;
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1))
6343 return NULL;
6344 if (_argo0) {
6345 if (_argo0 == Py_None) { _arg0 = NULL; }
6346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6348 return NULL;
6349 }
6350 }
6351{
6352 _arg1 = _obj1;
6353}
6354{
6355 wxPy_BEGIN_ALLOW_THREADS;
6356 wxTreeItemData_SetData(_arg0,_arg1);
6357
6358 wxPy_END_ALLOW_THREADS;
6359 if (PyErr_Occurred()) return NULL;
6360} Py_INCREF(Py_None);
6361 _resultobj = Py_None;
6362 return _resultobj;
6363}
6364
6365#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6366static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6367 PyObject * _resultobj;
6368 wxTreeItemId * _result;
6369 wxPyTreeItemData * _arg0;
6370 PyObject * _argo0 = 0;
6371 char *_kwnames[] = { "self", NULL };
6372 char _ptemp[128];
6373
6374 self = self;
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0))
6376 return NULL;
6377 if (_argo0) {
6378 if (_argo0 == Py_None) { _arg0 = NULL; }
6379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6381 return NULL;
6382 }
6383 }
6384{
6385 wxPy_BEGIN_ALLOW_THREADS;
6386 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
6387 _result = (wxTreeItemId *) &_result_ref;
6388
6389 wxPy_END_ALLOW_THREADS;
6390 if (PyErr_Occurred()) return NULL;
6391} if (_result) {
6392 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
6393 _resultobj = Py_BuildValue("s",_ptemp);
6394 } else {
6395 Py_INCREF(Py_None);
6396 _resultobj = Py_None;
6397 }
6398 return _resultobj;
6399}
6400
6401#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6402static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6403 PyObject * _resultobj;
6404 wxPyTreeItemData * _arg0;
6405 wxTreeItemId * _arg1;
6406 PyObject * _argo0 = 0;
6407 PyObject * _argo1 = 0;
6408 char *_kwnames[] = { "self","id", NULL };
6409
6410 self = self;
6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1))
6412 return NULL;
6413 if (_argo0) {
6414 if (_argo0 == Py_None) { _arg0 = NULL; }
6415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) {
6416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6417 return NULL;
6418 }
6419 }
6420 if (_argo1) {
6421 if (_argo1 == Py_None) { _arg1 = NULL; }
6422 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
6423 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6424 return NULL;
6425 }
6426 }
6427{
6428 wxPy_BEGIN_ALLOW_THREADS;
6429 wxTreeItemData_SetId(_arg0,*_arg1);
6430
6431 wxPy_END_ALLOW_THREADS;
6432 if (PyErr_Occurred()) return NULL;
6433} Py_INCREF(Py_None);
6434 _resultobj = Py_None;
6435 return _resultobj;
6436}
6437
6438static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) {
6439 wxTreeEvent *src;
6440 wxNotifyEvent *dest;
6441 src = (wxTreeEvent *) ptr;
6442 dest = (wxNotifyEvent *) src;
6443 return (void *) dest;
6444}
6445
6446static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
6447 wxTreeEvent *src;
6448 wxCommandEvent *dest;
6449 src = (wxTreeEvent *) ptr;
6450 dest = (wxCommandEvent *) src;
6451 return (void *) dest;
6452}
6453
6454static void *SwigwxTreeEventTowxEvent(void *ptr) {
6455 wxTreeEvent *src;
6456 wxEvent *dest;
6457 src = (wxTreeEvent *) ptr;
6458 dest = (wxEvent *) src;
6459 return (void *) dest;
6460}
6461
6462static void *SwigwxTreeEventTowxObject(void *ptr) {
6463 wxTreeEvent *src;
6464 wxObject *dest;
6465 src = (wxTreeEvent *) ptr;
6466 dest = (wxObject *) src;
6467 return (void *) dest;
6468}
6469
6470#define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6471static PyObject *_wrap_new_wxTreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject * _resultobj;
6473 wxTreeEvent * _result;
6474 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
6475 int _arg1 = (int ) 0;
6476 char *_kwnames[] = { "commandType","id", NULL };
6477 char _ptemp[128];
6478
6479 self = self;
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxTreeEvent",_kwnames,&_arg0,&_arg1))
6481 return NULL;
6482{
6483 wxPy_BEGIN_ALLOW_THREADS;
6484 _result = (wxTreeEvent *)new_wxTreeEvent(_arg0,_arg1);
6485
6486 wxPy_END_ALLOW_THREADS;
6487 if (PyErr_Occurred()) return NULL;
6488} if (_result) {
6489 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeEvent_p");
6490 _resultobj = Py_BuildValue("s",_ptemp);
6491 } else {
6492 Py_INCREF(Py_None);
6493 _resultobj = Py_None;
6494 }
6495 return _resultobj;
6496}
6497
6498#define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6499static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject * _resultobj;
6501 wxTreeItemId * _result;
6502 wxTreeEvent * _arg0;
6503 PyObject * _argo0 = 0;
6504 char *_kwnames[] = { "self", NULL };
6505 char _ptemp[128];
6506
6507 self = self;
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0))
6509 return NULL;
6510 if (_argo0) {
6511 if (_argo0 == Py_None) { _arg0 = NULL; }
6512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6514 return NULL;
6515 }
6516 }
6517{
6518 wxPy_BEGIN_ALLOW_THREADS;
6519 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
6520
6521 wxPy_END_ALLOW_THREADS;
6522 if (PyErr_Occurred()) return NULL;
6523} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6524 _resultobj = Py_BuildValue("s",_ptemp);
6525 return _resultobj;
6526}
6527
6528#define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6529static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6530 PyObject * _resultobj;
6531 wxTreeItemId * _result;
6532 wxTreeEvent * _arg0;
6533 PyObject * _argo0 = 0;
6534 char *_kwnames[] = { "self", NULL };
6535 char _ptemp[128];
6536
6537 self = self;
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0))
6539 return NULL;
6540 if (_argo0) {
6541 if (_argo0 == Py_None) { _arg0 = NULL; }
6542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6544 return NULL;
6545 }
6546 }
6547{
6548 wxPy_BEGIN_ALLOW_THREADS;
6549 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
6550
6551 wxPy_END_ALLOW_THREADS;
6552 if (PyErr_Occurred()) return NULL;
6553} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
6554 _resultobj = Py_BuildValue("s",_ptemp);
6555 return _resultobj;
6556}
6557
6558#define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6559static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject * _resultobj;
6561 wxPoint * _result;
6562 wxTreeEvent * _arg0;
6563 PyObject * _argo0 = 0;
6564 char *_kwnames[] = { "self", NULL };
6565 char _ptemp[128];
6566
6567 self = self;
6568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0))
6569 return NULL;
6570 if (_argo0) {
6571 if (_argo0 == Py_None) { _arg0 = NULL; }
6572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6574 return NULL;
6575 }
6576 }
6577{
6578 wxPy_BEGIN_ALLOW_THREADS;
6579 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
6580
6581 wxPy_END_ALLOW_THREADS;
6582 if (PyErr_Occurred()) return NULL;
6583} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
6584 _resultobj = Py_BuildValue("s",_ptemp);
6585 return _resultobj;
6586}
6587
6588#define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6589static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) {
6590 PyObject * _resultobj;
6591 int _result;
6592 wxTreeEvent * _arg0;
6593 PyObject * _argo0 = 0;
6594 char *_kwnames[] = { "self", NULL };
6595
6596 self = self;
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0))
6598 return NULL;
6599 if (_argo0) {
6600 if (_argo0 == Py_None) { _arg0 = NULL; }
6601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6603 return NULL;
6604 }
6605 }
6606{
6607 wxPy_BEGIN_ALLOW_THREADS;
6608 _result = (int )wxTreeEvent_GetCode(_arg0);
6609
6610 wxPy_END_ALLOW_THREADS;
6611 if (PyErr_Occurred()) return NULL;
6612} _resultobj = Py_BuildValue("i",_result);
6613 return _resultobj;
6614}
6615
6616#define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6617static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6618 PyObject * _resultobj;
6619 wxString * _result;
6620 wxTreeEvent * _arg0;
6621 PyObject * _argo0 = 0;
6622 char *_kwnames[] = { "self", NULL };
6623
6624 self = self;
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0))
6626 return NULL;
6627 if (_argo0) {
6628 if (_argo0 == Py_None) { _arg0 = NULL; }
6629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) {
6630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6631 return NULL;
6632 }
6633 }
6634{
6635 wxPy_BEGIN_ALLOW_THREADS;
6636 const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0);
6637 _result = (wxString *) &_result_ref;
6638
6639 wxPy_END_ALLOW_THREADS;
6640 if (PyErr_Occurred()) return NULL;
6641}{
6642 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6643}
6644 return _resultobj;
6645}
6646
6647static void *SwigwxPyTreeCtrlTowxControl(void *ptr) {
6648 wxPyTreeCtrl *src;
6649 wxControl *dest;
6650 src = (wxPyTreeCtrl *) ptr;
6651 dest = (wxControl *) src;
6652 return (void *) dest;
6653}
6654
6655static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) {
6656 wxPyTreeCtrl *src;
6657 wxWindow *dest;
6658 src = (wxPyTreeCtrl *) ptr;
6659 dest = (wxWindow *) src;
6660 return (void *) dest;
6661}
6662
6663static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) {
6664 wxPyTreeCtrl *src;
6665 wxEvtHandler *dest;
6666 src = (wxPyTreeCtrl *) ptr;
6667 dest = (wxEvtHandler *) src;
6668 return (void *) dest;
6669}
6670
6671static void *SwigwxPyTreeCtrlTowxObject(void *ptr) {
6672 wxPyTreeCtrl *src;
6673 wxObject *dest;
6674 src = (wxPyTreeCtrl *) ptr;
6675 dest = (wxObject *) src;
6676 return (void *) dest;
6677}
6678
6679#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6680static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject * _resultobj;
6682 wxPyTreeCtrl * _result;
6683 wxWindow * _arg0;
6684 wxWindowID _arg1 = (wxWindowID ) -1;
6685 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
6686 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
6687 long _arg4 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6688 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
6689 char * _arg6 = (char *) "wxTreeCtrl";
6690 PyObject * _argo0 = 0;
6691 wxPoint temp;
6692 PyObject * _obj2 = 0;
6693 wxSize temp0;
6694 PyObject * _obj3 = 0;
6695 PyObject * _argo5 = 0;
6696 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
6697 char _ptemp[128];
6698
6699 self = self;
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
6701 return NULL;
6702 if (_argo0) {
6703 if (_argo0 == Py_None) { _arg0 = NULL; }
6704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6706 return NULL;
6707 }
6708 }
6709 if (_obj2)
6710{
6711 _arg2 = &temp;
6712 if (! wxPoint_helper(_obj2, &_arg2))
6713 return NULL;
6714}
6715 if (_obj3)
6716{
6717 _arg3 = &temp0;
6718 if (! wxSize_helper(_obj3, &_arg3))
6719 return NULL;
6720}
6721 if (_argo5) {
6722 if (_argo5 == Py_None) { _arg5 = NULL; }
6723 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
6724 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6725 return NULL;
6726 }
6727 }
6728{
6729 wxPy_BEGIN_ALLOW_THREADS;
6730 _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
6731
6732 wxPy_END_ALLOW_THREADS;
6733 if (PyErr_Occurred()) return NULL;
6734} if (_result) {
6735 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6736 _resultobj = Py_BuildValue("s",_ptemp);
6737 } else {
6738 Py_INCREF(Py_None);
6739 _resultobj = Py_None;
6740 }
6741 return _resultobj;
6742}
6743
6744#define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6745static PyObject *_wrap_new_wxPreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject * _resultobj;
6747 wxPyTreeCtrl * _result;
6748 char *_kwnames[] = { NULL };
6749 char _ptemp[128];
6750
6751 self = self;
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeCtrl",_kwnames))
6753 return NULL;
6754{
6755 wxPy_BEGIN_ALLOW_THREADS;
6756 _result = (wxPyTreeCtrl *)new_wxPreTreeCtrl();
6757
6758 wxPy_END_ALLOW_THREADS;
6759 if (PyErr_Occurred()) return NULL;
6760} if (_result) {
6761 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p");
6762 _resultobj = Py_BuildValue("s",_ptemp);
6763 } else {
6764 Py_INCREF(Py_None);
6765 _resultobj = Py_None;
6766 }
6767 return _resultobj;
6768}
6769
6770#define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6771static PyObject *_wrap_wxTreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6772 PyObject * _resultobj;
6773 bool _result;
6774 wxPyTreeCtrl * _arg0;
6775 wxWindow * _arg1;
6776 wxWindowID _arg2 = (wxWindowID ) -1;
6777 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6778 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6779 long _arg5 = (long ) (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
6780 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
6781 char * _arg7 = (char *) "wxTreeCtrl";
6782 PyObject * _argo0 = 0;
6783 PyObject * _argo1 = 0;
6784 wxPoint temp;
6785 PyObject * _obj3 = 0;
6786 wxSize temp0;
6787 PyObject * _obj4 = 0;
6788 PyObject * _argo6 = 0;
6789 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
6790
6791 self = self;
6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
6793 return NULL;
6794 if (_argo0) {
6795 if (_argo0 == Py_None) { _arg0 = NULL; }
6796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6798 return NULL;
6799 }
6800 }
6801 if (_argo1) {
6802 if (_argo1 == Py_None) { _arg1 = NULL; }
6803 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6804 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6805 return NULL;
6806 }
6807 }
6808 if (_obj3)
6809{
6810 _arg3 = &temp;
6811 if (! wxPoint_helper(_obj3, &_arg3))
6812 return NULL;
6813}
6814 if (_obj4)
6815{
6816 _arg4 = &temp0;
6817 if (! wxSize_helper(_obj4, &_arg4))
6818 return NULL;
6819}
6820 if (_argo6) {
6821 if (_argo6 == Py_None) { _arg6 = NULL; }
6822 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6823 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6824 return NULL;
6825 }
6826 }
6827{
6828 wxPy_BEGIN_ALLOW_THREADS;
6829 _result = (bool )wxTreeCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
6830
6831 wxPy_END_ALLOW_THREADS;
6832 if (PyErr_Occurred()) return NULL;
6833} _resultobj = Py_BuildValue("i",_result);
6834 return _resultobj;
6835}
6836
6837#define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
6838static PyObject *_wrap_wxTreeCtrl__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
6839 PyObject * _resultobj;
6840 wxPyTreeCtrl * _arg0;
6841 PyObject * _arg1;
6842 PyObject * _arg2;
6843 PyObject * _argo0 = 0;
6844 PyObject * _obj1 = 0;
6845 PyObject * _obj2 = 0;
6846 char *_kwnames[] = { "self","self","_class", NULL };
6847
6848 self = self;
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
6850 return NULL;
6851 if (_argo0) {
6852 if (_argo0 == Py_None) { _arg0 = NULL; }
6853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
6855 return NULL;
6856 }
6857 }
6858{
6859 _arg1 = _obj1;
6860}
6861{
6862 _arg2 = _obj2;
6863}
6864{
6865 wxPy_BEGIN_ALLOW_THREADS;
6866 wxTreeCtrl__setSelf(_arg0,_arg1,_arg2);
6867
6868 wxPy_END_ALLOW_THREADS;
6869 if (PyErr_Occurred()) return NULL;
6870} Py_INCREF(Py_None);
6871 _resultobj = Py_None;
6872 return _resultobj;
6873}
6874
6875#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6876static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6877 PyObject * _resultobj;
6878 size_t _result;
6879 wxPyTreeCtrl * _arg0;
6880 PyObject * _argo0 = 0;
6881 char *_kwnames[] = { "self", NULL };
6882
6883 self = self;
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0))
6885 return NULL;
6886 if (_argo0) {
6887 if (_argo0 == Py_None) { _arg0 = NULL; }
6888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6890 return NULL;
6891 }
6892 }
6893{
6894 wxPy_BEGIN_ALLOW_THREADS;
6895 _result = (size_t )wxTreeCtrl_GetCount(_arg0);
6896
6897 wxPy_END_ALLOW_THREADS;
6898 if (PyErr_Occurred()) return NULL;
6899} _resultobj = Py_BuildValue("i",_result);
6900 return _resultobj;
6901}
6902
6903#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6904static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6905 PyObject * _resultobj;
6906 unsigned int _result;
6907 wxPyTreeCtrl * _arg0;
6908 PyObject * _argo0 = 0;
6909 char *_kwnames[] = { "self", NULL };
6910
6911 self = self;
6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0))
6913 return NULL;
6914 if (_argo0) {
6915 if (_argo0 == Py_None) { _arg0 = NULL; }
6916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6918 return NULL;
6919 }
6920 }
6921{
6922 wxPy_BEGIN_ALLOW_THREADS;
6923 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
6924
6925 wxPy_END_ALLOW_THREADS;
6926 if (PyErr_Occurred()) return NULL;
6927} _resultobj = Py_BuildValue("i",_result);
6928 return _resultobj;
6929}
6930
6931#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6932static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6933 PyObject * _resultobj;
6934 wxPyTreeCtrl * _arg0;
6935 unsigned int _arg1;
6936 PyObject * _argo0 = 0;
6937 char *_kwnames[] = { "self","indent", NULL };
6938
6939 self = self;
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
6941 return NULL;
6942 if (_argo0) {
6943 if (_argo0 == Py_None) { _arg0 = NULL; }
6944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6946 return NULL;
6947 }
6948 }
6949{
6950 wxPy_BEGIN_ALLOW_THREADS;
6951 wxTreeCtrl_SetIndent(_arg0,_arg1);
6952
6953 wxPy_END_ALLOW_THREADS;
6954 if (PyErr_Occurred()) return NULL;
6955} Py_INCREF(Py_None);
6956 _resultobj = Py_None;
6957 return _resultobj;
6958}
6959
6960#define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6961static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6962 PyObject * _resultobj;
6963 wxImageList * _result;
6964 wxPyTreeCtrl * _arg0;
6965 PyObject * _argo0 = 0;
6966 char *_kwnames[] = { "self", NULL };
6967
6968 self = self;
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0))
6970 return NULL;
6971 if (_argo0) {
6972 if (_argo0 == Py_None) { _arg0 = NULL; }
6973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
6974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6975 return NULL;
6976 }
6977 }
6978{
6979 wxPy_BEGIN_ALLOW_THREADS;
6980 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
6981
6982 wxPy_END_ALLOW_THREADS;
6983 if (PyErr_Occurred()) return NULL;
6984}{ _resultobj = wxPyMake_wxObject(_result); }
6985 return _resultobj;
6986}
6987
6988#define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6989static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
6990 PyObject * _resultobj;
6991 wxImageList * _result;
6992 wxPyTreeCtrl * _arg0;
6993 PyObject * _argo0 = 0;
6994 char *_kwnames[] = { "self", NULL };
6995
6996 self = self;
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0))
6998 return NULL;
6999 if (_argo0) {
7000 if (_argo0 == Py_None) { _arg0 = NULL; }
7001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
7003 return NULL;
7004 }
7005 }
7006{
7007 wxPy_BEGIN_ALLOW_THREADS;
7008 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
7009
7010 wxPy_END_ALLOW_THREADS;
7011 if (PyErr_Occurred()) return NULL;
7012}{ _resultobj = wxPyMake_wxObject(_result); }
7013 return _resultobj;
7014}
7015
7016#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
7017static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject * _resultobj;
7019 wxPyTreeCtrl * _arg0;
7020 wxImageList * _arg1;
7021 PyObject * _argo0 = 0;
7022 PyObject * _argo1 = 0;
7023 char *_kwnames[] = { "self","imageList", NULL };
7024
7025 self = self;
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
7027 return NULL;
7028 if (_argo0) {
7029 if (_argo0 == Py_None) { _arg0 = NULL; }
7030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
7032 return NULL;
7033 }
7034 }
7035 if (_argo1) {
7036 if (_argo1 == Py_None) { _arg1 = NULL; }
7037 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
7038 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
7039 return NULL;
7040 }
7041 }
7042{
7043 wxPy_BEGIN_ALLOW_THREADS;
7044 wxTreeCtrl_SetImageList(_arg0,_arg1);
7045
7046 wxPy_END_ALLOW_THREADS;
7047 if (PyErr_Occurred()) return NULL;
7048} Py_INCREF(Py_None);
7049 _resultobj = Py_None;
7050 return _resultobj;
7051}
7052
7053#define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
7054static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject * _resultobj;
7056 wxPyTreeCtrl * _arg0;
7057 wxImageList * _arg1;
7058 PyObject * _argo0 = 0;
7059 PyObject * _argo1 = 0;
7060 char *_kwnames[] = { "self","imageList", NULL };
7061
7062 self = self;
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
7064 return NULL;
7065 if (_argo0) {
7066 if (_argo0 == Py_None) { _arg0 = NULL; }
7067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
7069 return NULL;
7070 }
7071 }
7072 if (_argo1) {
7073 if (_argo1 == Py_None) { _arg1 = NULL; }
7074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
7075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
7076 return NULL;
7077 }
7078 }
7079{
7080 wxPy_BEGIN_ALLOW_THREADS;
7081 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
7082
7083 wxPy_END_ALLOW_THREADS;
7084 if (PyErr_Occurred()) return NULL;
7085} Py_INCREF(Py_None);
7086 _resultobj = Py_None;
7087 return _resultobj;
7088}
7089
7090#define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
7091static PyObject *_wrap_wxTreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
7092 PyObject * _resultobj;
7093 wxPyTreeCtrl * _arg0;
7094 wxImageList * _arg1;
7095 PyObject * _argo0 = 0;
7096 PyObject * _argo1 = 0;
7097 char *_kwnames[] = { "self","imageList", NULL };
7098
7099 self = self;
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
7101 return NULL;
7102 if (_argo0) {
7103 if (_argo0 == Py_None) { _arg0 = NULL; }
7104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
7106 return NULL;
7107 }
7108 }
7109 if (_argo1) {
7110 if (_argo1 == Py_None) { _arg1 = NULL; }
7111 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
7112 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
7113 return NULL;
7114 }
7115 }
7116{
7117 wxPy_BEGIN_ALLOW_THREADS;
7118 wxTreeCtrl_AssignImageList(_arg0,_arg1);
7119
7120 wxPy_END_ALLOW_THREADS;
7121 if (PyErr_Occurred()) return NULL;
7122} Py_INCREF(Py_None);
7123 _resultobj = Py_None;
7124 return _resultobj;
7125}
7126
7127#define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
7128static PyObject *_wrap_wxTreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject * _resultobj;
7130 wxPyTreeCtrl * _arg0;
7131 wxImageList * _arg1;
7132 PyObject * _argo0 = 0;
7133 PyObject * _argo1 = 0;
7134 char *_kwnames[] = { "self","imageList", NULL };
7135
7136 self = self;
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
7138 return NULL;
7139 if (_argo0) {
7140 if (_argo0 == Py_None) { _arg0 = NULL; }
7141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7143 return NULL;
7144 }
7145 }
7146 if (_argo1) {
7147 if (_argo1 == Py_None) { _arg1 = NULL; }
7148 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
7149 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7150 return NULL;
7151 }
7152 }
7153{
7154 wxPy_BEGIN_ALLOW_THREADS;
7155 wxTreeCtrl_AssignStateImageList(_arg0,_arg1);
7156
7157 wxPy_END_ALLOW_THREADS;
7158 if (PyErr_Occurred()) return NULL;
7159} Py_INCREF(Py_None);
7160 _resultobj = Py_None;
7161 return _resultobj;
7162}
7163
7164#define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7165static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7166 PyObject * _resultobj;
7167 unsigned int _result;
7168 wxPyTreeCtrl * _arg0;
7169 PyObject * _argo0 = 0;
7170 char *_kwnames[] = { "self", NULL };
7171
7172 self = self;
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0))
7174 return NULL;
7175 if (_argo0) {
7176 if (_argo0 == Py_None) { _arg0 = NULL; }
7177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
7179 return NULL;
7180 }
7181 }
7182{
7183 wxPy_BEGIN_ALLOW_THREADS;
7184 _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0);
7185
7186 wxPy_END_ALLOW_THREADS;
7187 if (PyErr_Occurred()) return NULL;
7188} _resultobj = Py_BuildValue("i",_result);
7189 return _resultobj;
7190}
7191
7192#define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7193static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject * _resultobj;
7195 wxPyTreeCtrl * _arg0;
7196 unsigned int _arg1;
7197 PyObject * _argo0 = 0;
7198 char *_kwnames[] = { "self","spacing", NULL };
7199
7200 self = self;
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
7202 return NULL;
7203 if (_argo0) {
7204 if (_argo0 == Py_None) { _arg0 = NULL; }
7205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7207 return NULL;
7208 }
7209 }
7210{
7211 wxPy_BEGIN_ALLOW_THREADS;
7212 wxTreeCtrl_SetSpacing(_arg0,_arg1);
7213
7214 wxPy_END_ALLOW_THREADS;
7215 if (PyErr_Occurred()) return NULL;
7216} Py_INCREF(Py_None);
7217 _resultobj = Py_None;
7218 return _resultobj;
7219}
7220
7221#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7222static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject * _resultobj;
7224 wxString * _result;
7225 wxPyTreeCtrl * _arg0;
7226 wxTreeItemId * _arg1;
7227 PyObject * _argo0 = 0;
7228 PyObject * _argo1 = 0;
7229 char *_kwnames[] = { "self","item", NULL };
7230
7231 self = self;
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1))
7233 return NULL;
7234 if (_argo0) {
7235 if (_argo0 == Py_None) { _arg0 = NULL; }
7236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7238 return NULL;
7239 }
7240 }
7241 if (_argo1) {
7242 if (_argo1 == Py_None) { _arg1 = NULL; }
7243 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7244 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7245 return NULL;
7246 }
7247 }
7248{
7249 wxPy_BEGIN_ALLOW_THREADS;
7250 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
7251
7252 wxPy_END_ALLOW_THREADS;
7253 if (PyErr_Occurred()) return NULL;
7254}{
7255 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7256}
7257{
7258 delete _result;
7259}
7260 return _resultobj;
7261}
7262
7263#define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7264static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7265 PyObject * _resultobj;
7266 int _result;
7267 wxPyTreeCtrl * _arg0;
7268 wxTreeItemId * _arg1;
7269 wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
7270 PyObject * _argo0 = 0;
7271 PyObject * _argo1 = 0;
7272 char *_kwnames[] = { "self","item","which", NULL };
7273
7274 self = self;
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2))
7276 return NULL;
7277 if (_argo0) {
7278 if (_argo0 == Py_None) { _arg0 = NULL; }
7279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7281 return NULL;
7282 }
7283 }
7284 if (_argo1) {
7285 if (_argo1 == Py_None) { _arg1 = NULL; }
7286 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7287 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7288 return NULL;
7289 }
7290 }
7291{
7292 wxPy_BEGIN_ALLOW_THREADS;
7293 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2);
7294
7295 wxPy_END_ALLOW_THREADS;
7296 if (PyErr_Occurred()) return NULL;
7297} _resultobj = Py_BuildValue("i",_result);
7298 return _resultobj;
7299}
7300
7301#define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7302static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject * _resultobj;
7304 int _result;
7305 wxPyTreeCtrl * _arg0;
7306 wxTreeItemId * _arg1;
7307 PyObject * _argo0 = 0;
7308 PyObject * _argo1 = 0;
7309 char *_kwnames[] = { "self","item", NULL };
7310
7311 self = self;
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
7313 return NULL;
7314 if (_argo0) {
7315 if (_argo0 == Py_None) { _arg0 = NULL; }
7316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7318 return NULL;
7319 }
7320 }
7321 if (_argo1) {
7322 if (_argo1 == Py_None) { _arg1 = NULL; }
7323 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7324 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7325 return NULL;
7326 }
7327 }
7328{
7329 wxPy_BEGIN_ALLOW_THREADS;
7330 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
7331
7332 wxPy_END_ALLOW_THREADS;
7333 if (PyErr_Occurred()) return NULL;
7334} _resultobj = Py_BuildValue("i",_result);
7335 return _resultobj;
7336}
7337
7338#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7339static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject * _resultobj;
7341 wxPyTreeCtrl * _arg0;
7342 wxTreeItemId * _arg1;
7343 wxString * _arg2;
7344 PyObject * _argo0 = 0;
7345 PyObject * _argo1 = 0;
7346 PyObject * _obj2 = 0;
7347 char *_kwnames[] = { "self","item","text", NULL };
7348
7349 self = self;
7350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2))
7351 return NULL;
7352 if (_argo0) {
7353 if (_argo0 == Py_None) { _arg0 = NULL; }
7354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7356 return NULL;
7357 }
7358 }
7359 if (_argo1) {
7360 if (_argo1 == Py_None) { _arg1 = NULL; }
7361 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7362 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7363 return NULL;
7364 }
7365 }
7366{
7367#if PYTHON_API_VERSION >= 1009
7368 char* tmpPtr; int tmpSize;
7369 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7370 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7371 return NULL;
7372 }
7373 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7374 return NULL;
7375 _arg2 = new wxString(tmpPtr, tmpSize);
7376#else
7377 if (!PyString_Check(_obj2)) {
7378 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7379 return NULL;
7380 }
7381 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7382#endif
7383}
7384{
7385 wxPy_BEGIN_ALLOW_THREADS;
7386 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
7387
7388 wxPy_END_ALLOW_THREADS;
7389 if (PyErr_Occurred()) return NULL;
7390} Py_INCREF(Py_None);
7391 _resultobj = Py_None;
7392{
7393 if (_obj2)
7394 delete _arg2;
7395}
7396 return _resultobj;
7397}
7398
7399#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7400static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7401 PyObject * _resultobj;
7402 wxPyTreeCtrl * _arg0;
7403 wxTreeItemId * _arg1;
7404 int _arg2;
7405 wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal);
7406 PyObject * _argo0 = 0;
7407 PyObject * _argo1 = 0;
7408 char *_kwnames[] = { "self","item","image","which", NULL };
7409
7410 self = self;
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
7412 return NULL;
7413 if (_argo0) {
7414 if (_argo0 == Py_None) { _arg0 = NULL; }
7415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7417 return NULL;
7418 }
7419 }
7420 if (_argo1) {
7421 if (_argo1 == Py_None) { _arg1 = NULL; }
7422 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7423 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7424 return NULL;
7425 }
7426 }
7427{
7428 wxPy_BEGIN_ALLOW_THREADS;
7429 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3);
7430
7431 wxPy_END_ALLOW_THREADS;
7432 if (PyErr_Occurred()) return NULL;
7433} Py_INCREF(Py_None);
7434 _resultobj = Py_None;
7435 return _resultobj;
7436}
7437
7438#define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7439static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject * _resultobj;
7441 wxPyTreeCtrl * _arg0;
7442 wxTreeItemId * _arg1;
7443 int _arg2;
7444 PyObject * _argo0 = 0;
7445 PyObject * _argo1 = 0;
7446 char *_kwnames[] = { "self","item","image", NULL };
7447
7448 self = self;
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
7450 return NULL;
7451 if (_argo0) {
7452 if (_argo0 == Py_None) { _arg0 = NULL; }
7453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7455 return NULL;
7456 }
7457 }
7458 if (_argo1) {
7459 if (_argo1 == Py_None) { _arg1 = NULL; }
7460 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7461 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7462 return NULL;
7463 }
7464 }
7465{
7466 wxPy_BEGIN_ALLOW_THREADS;
7467 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
7468
7469 wxPy_END_ALLOW_THREADS;
7470 if (PyErr_Occurred()) return NULL;
7471} Py_INCREF(Py_None);
7472 _resultobj = Py_None;
7473 return _resultobj;
7474}
7475
7476#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7477static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
7478 PyObject * _resultobj;
7479 wxPyTreeCtrl * _arg0;
7480 wxTreeItemId * _arg1;
7481 bool _arg2 = (bool ) TRUE;
7482 PyObject * _argo0 = 0;
7483 PyObject * _argo1 = 0;
7484 int tempbool2 = (int) TRUE;
7485 char *_kwnames[] = { "self","item","hasChildren", NULL };
7486
7487 self = self;
7488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
7489 return NULL;
7490 if (_argo0) {
7491 if (_argo0 == Py_None) { _arg0 = NULL; }
7492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7494 return NULL;
7495 }
7496 }
7497 if (_argo1) {
7498 if (_argo1 == Py_None) { _arg1 = NULL; }
7499 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7500 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7501 return NULL;
7502 }
7503 }
7504 _arg2 = (bool ) tempbool2;
7505{
7506 wxPy_BEGIN_ALLOW_THREADS;
7507 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
7508
7509 wxPy_END_ALLOW_THREADS;
7510 if (PyErr_Occurred()) return NULL;
7511} Py_INCREF(Py_None);
7512 _resultobj = Py_None;
7513 return _resultobj;
7514}
7515
7516static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
7517 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7518 if (data == NULL) {
7519 data = new wxPyTreeItemData();
7520 data->SetId(item); // set the id
7521 self->SetItemData(item, data);
7522 }
7523 return data;
7524 }
7525static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
7526 PyObject * _resultobj;
7527 wxPyTreeItemData * _result;
7528 wxPyTreeCtrl * _arg0;
7529 wxTreeItemId * _arg1;
7530 PyObject * _argo0 = 0;
7531 PyObject * _argo1 = 0;
7532 char *_kwnames[] = { "self","item", NULL };
7533 char _ptemp[128];
7534
7535 self = self;
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
7537 return NULL;
7538 if (_argo0) {
7539 if (_argo0 == Py_None) { _arg0 = NULL; }
7540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7542 return NULL;
7543 }
7544 }
7545 if (_argo1) {
7546 if (_argo1 == Py_None) { _arg1 = NULL; }
7547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7549 return NULL;
7550 }
7551 }
7552{
7553 wxPy_BEGIN_ALLOW_THREADS;
7554 _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1);
7555
7556 wxPy_END_ALLOW_THREADS;
7557 if (PyErr_Occurred()) return NULL;
7558} if (_result) {
7559 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
7560 _resultobj = Py_BuildValue("s",_ptemp);
7561 } else {
7562 Py_INCREF(Py_None);
7563 _resultobj = Py_None;
7564 }
7565 return _resultobj;
7566}
7567
7568static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
7569 data->SetId(item); // set the id
7570 self->SetItemData(item, data);
7571 }
7572static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
7573 PyObject * _resultobj;
7574 wxPyTreeCtrl * _arg0;
7575 wxTreeItemId * _arg1;
7576 wxPyTreeItemData * _arg2;
7577 PyObject * _argo0 = 0;
7578 PyObject * _argo1 = 0;
7579 PyObject * _argo2 = 0;
7580 char *_kwnames[] = { "self","item","data", NULL };
7581
7582 self = self;
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
7584 return NULL;
7585 if (_argo0) {
7586 if (_argo0 == Py_None) { _arg0 = NULL; }
7587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7589 return NULL;
7590 }
7591 }
7592 if (_argo1) {
7593 if (_argo1 == Py_None) { _arg1 = NULL; }
7594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7596 return NULL;
7597 }
7598 }
7599 if (_argo2) {
7600 if (_argo2 == Py_None) { _arg2 = NULL; }
7601 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
7602 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7603 return NULL;
7604 }
7605 }
7606{
7607 wxPy_BEGIN_ALLOW_THREADS;
7608 wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
7609
7610 wxPy_END_ALLOW_THREADS;
7611 if (PyErr_Occurred()) return NULL;
7612} Py_INCREF(Py_None);
7613 _resultobj = Py_None;
7614 return _resultobj;
7615}
7616
7617static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) {
7618 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7619 if (data == NULL) {
7620 data = new wxPyTreeItemData();
7621 data->SetId(item); // set the id
7622 self->SetItemData(item, data);
7623 }
7624 return data->GetData();
7625 }
7626static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject * _resultobj;
7628 PyObject * _result;
7629 wxPyTreeCtrl * _arg0;
7630 wxTreeItemId * _arg1;
7631 PyObject * _argo0 = 0;
7632 PyObject * _argo1 = 0;
7633 char *_kwnames[] = { "self","item", NULL };
7634
7635 self = self;
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
7637 return NULL;
7638 if (_argo0) {
7639 if (_argo0 == Py_None) { _arg0 = NULL; }
7640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7642 return NULL;
7643 }
7644 }
7645 if (_argo1) {
7646 if (_argo1 == Py_None) { _arg1 = NULL; }
7647 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7648 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7649 return NULL;
7650 }
7651 }
7652{
7653 wxPy_BEGIN_ALLOW_THREADS;
7654 _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1);
7655
7656 wxPy_END_ALLOW_THREADS;
7657 if (PyErr_Occurred()) return NULL;
7658}{
7659 _resultobj = _result;
7660}
7661 return _resultobj;
7662}
7663
7664static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) {
7665 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
7666 if (data == NULL) {
7667 data = new wxPyTreeItemData(obj);
7668 data->SetId(item); // set the id
7669 self->SetItemData(item, data);
7670 } else
7671 data->SetData(obj);
7672 }
7673static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject * _resultobj;
7675 wxPyTreeCtrl * _arg0;
7676 wxTreeItemId * _arg1;
7677 PyObject * _arg2;
7678 PyObject * _argo0 = 0;
7679 PyObject * _argo1 = 0;
7680 PyObject * _obj2 = 0;
7681 char *_kwnames[] = { "self","item","obj", NULL };
7682
7683 self = self;
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
7685 return NULL;
7686 if (_argo0) {
7687 if (_argo0 == Py_None) { _arg0 = NULL; }
7688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7690 return NULL;
7691 }
7692 }
7693 if (_argo1) {
7694 if (_argo1 == Py_None) { _arg1 = NULL; }
7695 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7696 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7697 return NULL;
7698 }
7699 }
7700{
7701 _arg2 = _obj2;
7702}
7703{
7704 wxPy_BEGIN_ALLOW_THREADS;
7705 wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2);
7706
7707 wxPy_END_ALLOW_THREADS;
7708 if (PyErr_Occurred()) return NULL;
7709} Py_INCREF(Py_None);
7710 _resultobj = Py_None;
7711 return _resultobj;
7712}
7713
7714#define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7715static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject * _resultobj;
7717 bool _result;
7718 wxPyTreeCtrl * _arg0;
7719 wxTreeItemId * _arg1;
7720 PyObject * _argo0 = 0;
7721 PyObject * _argo1 = 0;
7722 char *_kwnames[] = { "self","item", NULL };
7723
7724 self = self;
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
7726 return NULL;
7727 if (_argo0) {
7728 if (_argo0 == Py_None) { _arg0 = NULL; }
7729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7731 return NULL;
7732 }
7733 }
7734 if (_argo1) {
7735 if (_argo1 == Py_None) { _arg1 = NULL; }
7736 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7737 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7738 return NULL;
7739 }
7740 }
7741{
7742 wxPy_BEGIN_ALLOW_THREADS;
7743 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
7744
7745 wxPy_END_ALLOW_THREADS;
7746 if (PyErr_Occurred()) return NULL;
7747} _resultobj = Py_BuildValue("i",_result);
7748 return _resultobj;
7749}
7750
7751#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7752static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject * _resultobj;
7754 bool _result;
7755 wxPyTreeCtrl * _arg0;
7756 wxTreeItemId * _arg1;
7757 PyObject * _argo0 = 0;
7758 PyObject * _argo1 = 0;
7759 char *_kwnames[] = { "self","item", NULL };
7760
7761 self = self;
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
7763 return NULL;
7764 if (_argo0) {
7765 if (_argo0 == Py_None) { _arg0 = NULL; }
7766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7768 return NULL;
7769 }
7770 }
7771 if (_argo1) {
7772 if (_argo1 == Py_None) { _arg1 = NULL; }
7773 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7775 return NULL;
7776 }
7777 }
7778{
7779 wxPy_BEGIN_ALLOW_THREADS;
7780 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
7781
7782 wxPy_END_ALLOW_THREADS;
7783 if (PyErr_Occurred()) return NULL;
7784} _resultobj = Py_BuildValue("i",_result);
7785 return _resultobj;
7786}
7787
7788#define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7789static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7790 PyObject * _resultobj;
7791 bool _result;
7792 wxPyTreeCtrl * _arg0;
7793 wxTreeItemId * _arg1;
7794 PyObject * _argo0 = 0;
7795 PyObject * _argo1 = 0;
7796 char *_kwnames[] = { "self","item", NULL };
7797
7798 self = self;
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
7800 return NULL;
7801 if (_argo0) {
7802 if (_argo0 == Py_None) { _arg0 = NULL; }
7803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7805 return NULL;
7806 }
7807 }
7808 if (_argo1) {
7809 if (_argo1 == Py_None) { _arg1 = NULL; }
7810 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7811 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7812 return NULL;
7813 }
7814 }
7815{
7816 wxPy_BEGIN_ALLOW_THREADS;
7817 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
7818
7819 wxPy_END_ALLOW_THREADS;
7820 if (PyErr_Occurred()) return NULL;
7821} _resultobj = Py_BuildValue("i",_result);
7822 return _resultobj;
7823}
7824
7825#define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7826static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject * _resultobj;
7828 bool _result;
7829 wxPyTreeCtrl * _arg0;
7830 wxTreeItemId * _arg1;
7831 PyObject * _argo0 = 0;
7832 PyObject * _argo1 = 0;
7833 char *_kwnames[] = { "self","item", NULL };
7834
7835 self = self;
7836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
7837 return NULL;
7838 if (_argo0) {
7839 if (_argo0 == Py_None) { _arg0 = NULL; }
7840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7842 return NULL;
7843 }
7844 }
7845 if (_argo1) {
7846 if (_argo1 == Py_None) { _arg1 = NULL; }
7847 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7848 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7849 return NULL;
7850 }
7851 }
7852{
7853 wxPy_BEGIN_ALLOW_THREADS;
7854 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
7855
7856 wxPy_END_ALLOW_THREADS;
7857 if (PyErr_Occurred()) return NULL;
7858} _resultobj = Py_BuildValue("i",_result);
7859 return _resultobj;
7860}
7861
7862#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7863static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
7864 PyObject * _resultobj;
7865 wxTreeItemId * _result;
7866 wxPyTreeCtrl * _arg0;
7867 PyObject * _argo0 = 0;
7868 char *_kwnames[] = { "self", NULL };
7869 char _ptemp[128];
7870
7871 self = self;
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0))
7873 return NULL;
7874 if (_argo0) {
7875 if (_argo0 == Py_None) { _arg0 = NULL; }
7876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7878 return NULL;
7879 }
7880 }
7881{
7882 wxPy_BEGIN_ALLOW_THREADS;
7883 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
7884
7885 wxPy_END_ALLOW_THREADS;
7886 if (PyErr_Occurred()) return NULL;
7887} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
7888 _resultobj = Py_BuildValue("s",_ptemp);
7889 return _resultobj;
7890}
7891
7892#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7893static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7894 PyObject * _resultobj;
7895 wxTreeItemId * _result;
7896 wxPyTreeCtrl * _arg0;
7897 PyObject * _argo0 = 0;
7898 char *_kwnames[] = { "self", NULL };
7899 char _ptemp[128];
7900
7901 self = self;
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0))
7903 return NULL;
7904 if (_argo0) {
7905 if (_argo0 == Py_None) { _arg0 = NULL; }
7906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7908 return NULL;
7909 }
7910 }
7911{
7912 wxPy_BEGIN_ALLOW_THREADS;
7913 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
7914
7915 wxPy_END_ALLOW_THREADS;
7916 if (PyErr_Occurred()) return NULL;
7917} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
7918 _resultobj = Py_BuildValue("s",_ptemp);
7919 return _resultobj;
7920}
7921
7922#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7923static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject * _resultobj;
7925 wxTreeItemId * _result;
7926 wxPyTreeCtrl * _arg0;
7927 wxTreeItemId * _arg1;
7928 PyObject * _argo0 = 0;
7929 PyObject * _argo1 = 0;
7930 char *_kwnames[] = { "self","item", NULL };
7931 char _ptemp[128];
7932
7933 self = self;
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
7935 return NULL;
7936 if (_argo0) {
7937 if (_argo0 == Py_None) { _arg0 = NULL; }
7938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7940 return NULL;
7941 }
7942 }
7943 if (_argo1) {
7944 if (_argo1 == Py_None) { _arg1 = NULL; }
7945 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
7946 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7947 return NULL;
7948 }
7949 }
7950{
7951 wxPy_BEGIN_ALLOW_THREADS;
7952 _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1));
7953
7954 wxPy_END_ALLOW_THREADS;
7955 if (PyErr_Occurred()) return NULL;
7956} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
7957 _resultobj = Py_BuildValue("s",_ptemp);
7958 return _resultobj;
7959}
7960
7961static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) {
7962 bool doSave = wxPyRestoreThread();
7963 PyObject* rval = PyList_New(0);
7964 wxArrayTreeItemIds array;
7965 size_t num, x;
7966 num = self->GetSelections(array);
7967 for (x=0; x < num; x++) {
7968 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
7969 PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE);
7970 PyList_Append(rval, item);
7971 }
7972 wxPySaveThread(doSave);
7973 return rval;
7974 }
7975static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
7976 PyObject * _resultobj;
7977 PyObject * _result;
7978 wxPyTreeCtrl * _arg0;
7979 PyObject * _argo0 = 0;
7980 char *_kwnames[] = { "self", NULL };
7981
7982 self = self;
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0))
7984 return NULL;
7985 if (_argo0) {
7986 if (_argo0 == Py_None) { _arg0 = NULL; }
7987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
7988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7989 return NULL;
7990 }
7991 }
7992{
7993 wxPy_BEGIN_ALLOW_THREADS;
7994 _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0);
7995
7996 wxPy_END_ALLOW_THREADS;
7997 if (PyErr_Occurred()) return NULL;
7998}{
7999 _resultobj = _result;
8000}
8001 return _resultobj;
8002}
8003
8004#define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
8005static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject * _resultobj;
8007 size_t _result;
8008 wxPyTreeCtrl * _arg0;
8009 wxTreeItemId * _arg1;
8010 bool _arg2 = (bool ) TRUE;
8011 PyObject * _argo0 = 0;
8012 PyObject * _argo1 = 0;
8013 int tempbool2 = (int) TRUE;
8014 char *_kwnames[] = { "self","item","recursively", NULL };
8015
8016 self = self;
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
8018 return NULL;
8019 if (_argo0) {
8020 if (_argo0 == Py_None) { _arg0 = NULL; }
8021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
8023 return NULL;
8024 }
8025 }
8026 if (_argo1) {
8027 if (_argo1 == Py_None) { _arg1 = NULL; }
8028 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8029 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
8030 return NULL;
8031 }
8032 }
8033 _arg2 = (bool ) tempbool2;
8034{
8035 wxPy_BEGIN_ALLOW_THREADS;
8036 _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
8037
8038 wxPy_END_ALLOW_THREADS;
8039 if (PyErr_Occurred()) return NULL;
8040} _resultobj = Py_BuildValue("i",_result);
8041 return _resultobj;
8042}
8043
8044#define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
8045static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8046 PyObject * _resultobj;
8047 wxTreeItemId * _result;
8048 wxPyTreeCtrl * _arg0;
8049 wxTreeItemId * _arg1;
8050 long * _arg2;
8051 PyObject * _argo0 = 0;
8052 PyObject * _argo1 = 0;
8053 long temp;
8054 PyObject * _obj2 = 0;
8055 char *_kwnames[] = { "self","item","INOUT", NULL };
8056 char _ptemp[128];
8057
8058 self = self;
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
8060 return NULL;
8061 if (_argo0) {
8062 if (_argo0 == Py_None) { _arg0 = NULL; }
8063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8065 return NULL;
8066 }
8067 }
8068 if (_argo1) {
8069 if (_argo1 == Py_None) { _arg1 = NULL; }
8070 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8071 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8072 return NULL;
8073 }
8074 }
8075{
8076 temp = (long) PyInt_AsLong(_obj2);
8077 _arg2 = &temp;
8078}
8079{
8080 wxPy_BEGIN_ALLOW_THREADS;
8081 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
8082
8083 wxPy_END_ALLOW_THREADS;
8084 if (PyErr_Occurred()) return NULL;
8085} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8086 _resultobj = Py_BuildValue("s",_ptemp);
8087{
8088 PyObject *o;
8089 o = PyInt_FromLong((long) (*_arg2));
8090 _resultobj = t_output_helper(_resultobj, o);
8091}
8092 return _resultobj;
8093}
8094
8095#define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
8096static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8097 PyObject * _resultobj;
8098 wxTreeItemId * _result;
8099 wxPyTreeCtrl * _arg0;
8100 wxTreeItemId * _arg1;
8101 long * _arg2;
8102 PyObject * _argo0 = 0;
8103 PyObject * _argo1 = 0;
8104 long temp;
8105 PyObject * _obj2 = 0;
8106 char *_kwnames[] = { "self","item","INOUT", NULL };
8107 char _ptemp[128];
8108
8109 self = self;
8110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
8111 return NULL;
8112 if (_argo0) {
8113 if (_argo0 == Py_None) { _arg0 = NULL; }
8114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8116 return NULL;
8117 }
8118 }
8119 if (_argo1) {
8120 if (_argo1 == Py_None) { _arg1 = NULL; }
8121 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8122 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8123 return NULL;
8124 }
8125 }
8126{
8127 temp = (long) PyInt_AsLong(_obj2);
8128 _arg2 = &temp;
8129}
8130{
8131 wxPy_BEGIN_ALLOW_THREADS;
8132 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
8133
8134 wxPy_END_ALLOW_THREADS;
8135 if (PyErr_Occurred()) return NULL;
8136} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8137 _resultobj = Py_BuildValue("s",_ptemp);
8138{
8139 PyObject *o;
8140 o = PyInt_FromLong((long) (*_arg2));
8141 _resultobj = t_output_helper(_resultobj, o);
8142}
8143 return _resultobj;
8144}
8145
8146#define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8147static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8148 PyObject * _resultobj;
8149 wxTreeItemId * _result;
8150 wxPyTreeCtrl * _arg0;
8151 wxTreeItemId * _arg1;
8152 PyObject * _argo0 = 0;
8153 PyObject * _argo1 = 0;
8154 char *_kwnames[] = { "self","item", NULL };
8155 char _ptemp[128];
8156
8157 self = self;
8158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
8159 return NULL;
8160 if (_argo0) {
8161 if (_argo0 == Py_None) { _arg0 = NULL; }
8162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8164 return NULL;
8165 }
8166 }
8167 if (_argo1) {
8168 if (_argo1 == Py_None) { _arg1 = NULL; }
8169 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8170 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8171 return NULL;
8172 }
8173 }
8174{
8175 wxPy_BEGIN_ALLOW_THREADS;
8176 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
8177
8178 wxPy_END_ALLOW_THREADS;
8179 if (PyErr_Occurred()) return NULL;
8180} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8181 _resultobj = Py_BuildValue("s",_ptemp);
8182 return _resultobj;
8183}
8184
8185#define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8186static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
8187 PyObject * _resultobj;
8188 wxTreeItemId * _result;
8189 wxPyTreeCtrl * _arg0;
8190 wxTreeItemId * _arg1;
8191 PyObject * _argo0 = 0;
8192 PyObject * _argo1 = 0;
8193 char *_kwnames[] = { "self","item", NULL };
8194 char _ptemp[128];
8195
8196 self = self;
8197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
8198 return NULL;
8199 if (_argo0) {
8200 if (_argo0 == Py_None) { _arg0 = NULL; }
8201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8203 return NULL;
8204 }
8205 }
8206 if (_argo1) {
8207 if (_argo1 == Py_None) { _arg1 = NULL; }
8208 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8209 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8210 return NULL;
8211 }
8212 }
8213{
8214 wxPy_BEGIN_ALLOW_THREADS;
8215 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
8216
8217 wxPy_END_ALLOW_THREADS;
8218 if (PyErr_Occurred()) return NULL;
8219} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8220 _resultobj = Py_BuildValue("s",_ptemp);
8221 return _resultobj;
8222}
8223
8224#define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8225static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8226 PyObject * _resultobj;
8227 wxTreeItemId * _result;
8228 wxPyTreeCtrl * _arg0;
8229 PyObject * _argo0 = 0;
8230 char *_kwnames[] = { "self", NULL };
8231 char _ptemp[128];
8232
8233 self = self;
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
8235 return NULL;
8236 if (_argo0) {
8237 if (_argo0 == Py_None) { _arg0 = NULL; }
8238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8240 return NULL;
8241 }
8242 }
8243{
8244 wxPy_BEGIN_ALLOW_THREADS;
8245 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
8246
8247 wxPy_END_ALLOW_THREADS;
8248 if (PyErr_Occurred()) return NULL;
8249} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8250 _resultobj = Py_BuildValue("s",_ptemp);
8251 return _resultobj;
8252}
8253
8254#define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8255static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8256 PyObject * _resultobj;
8257 wxTreeItemId * _result;
8258 wxPyTreeCtrl * _arg0;
8259 wxTreeItemId * _arg1;
8260 PyObject * _argo0 = 0;
8261 PyObject * _argo1 = 0;
8262 char *_kwnames[] = { "self","item", NULL };
8263 char _ptemp[128];
8264
8265 self = self;
8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
8267 return NULL;
8268 if (_argo0) {
8269 if (_argo0 == Py_None) { _arg0 = NULL; }
8270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8272 return NULL;
8273 }
8274 }
8275 if (_argo1) {
8276 if (_argo1 == Py_None) { _arg1 = NULL; }
8277 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8278 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8279 return NULL;
8280 }
8281 }
8282{
8283 wxPy_BEGIN_ALLOW_THREADS;
8284 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
8285
8286 wxPy_END_ALLOW_THREADS;
8287 if (PyErr_Occurred()) return NULL;
8288} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8289 _resultobj = Py_BuildValue("s",_ptemp);
8290 return _resultobj;
8291}
8292
8293#define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8294static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8295 PyObject * _resultobj;
8296 wxTreeItemId * _result;
8297 wxPyTreeCtrl * _arg0;
8298 wxTreeItemId * _arg1;
8299 PyObject * _argo0 = 0;
8300 PyObject * _argo1 = 0;
8301 char *_kwnames[] = { "self","item", NULL };
8302 char _ptemp[128];
8303
8304 self = self;
8305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
8306 return NULL;
8307 if (_argo0) {
8308 if (_argo0 == Py_None) { _arg0 = NULL; }
8309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8311 return NULL;
8312 }
8313 }
8314 if (_argo1) {
8315 if (_argo1 == Py_None) { _arg1 = NULL; }
8316 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8317 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8318 return NULL;
8319 }
8320 }
8321{
8322 wxPy_BEGIN_ALLOW_THREADS;
8323 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
8324
8325 wxPy_END_ALLOW_THREADS;
8326 if (PyErr_Occurred()) return NULL;
8327} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8328 _resultobj = Py_BuildValue("s",_ptemp);
8329 return _resultobj;
8330}
8331
8332#define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8333static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8334 PyObject * _resultobj;
8335 wxTreeItemId * _result;
8336 wxPyTreeCtrl * _arg0;
8337 wxTreeItemId * _arg1;
8338 PyObject * _argo0 = 0;
8339 PyObject * _argo1 = 0;
8340 char *_kwnames[] = { "self","item", NULL };
8341 char _ptemp[128];
8342
8343 self = self;
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
8345 return NULL;
8346 if (_argo0) {
8347 if (_argo0 == Py_None) { _arg0 = NULL; }
8348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8350 return NULL;
8351 }
8352 }
8353 if (_argo1) {
8354 if (_argo1 == Py_None) { _arg1 = NULL; }
8355 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8356 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8357 return NULL;
8358 }
8359 }
8360{
8361 wxPy_BEGIN_ALLOW_THREADS;
8362 _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1));
8363
8364 wxPy_END_ALLOW_THREADS;
8365 if (PyErr_Occurred()) return NULL;
8366} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8367 _resultobj = Py_BuildValue("s",_ptemp);
8368 return _resultobj;
8369}
8370
8371#define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8372static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
8373 PyObject * _resultobj;
8374 wxTreeItemId * _result;
8375 wxPyTreeCtrl * _arg0;
8376 wxString * _arg1;
8377 int _arg2 = (int ) -1;
8378 int _arg3 = (int ) -1;
8379 wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
8380 PyObject * _argo0 = 0;
8381 PyObject * _obj1 = 0;
8382 PyObject * _argo4 = 0;
8383 char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
8384 char _ptemp[128];
8385
8386 self = self;
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
8388 return NULL;
8389 if (_argo0) {
8390 if (_argo0 == Py_None) { _arg0 = NULL; }
8391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8393 return NULL;
8394 }
8395 }
8396{
8397#if PYTHON_API_VERSION >= 1009
8398 char* tmpPtr; int tmpSize;
8399 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8400 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8401 return NULL;
8402 }
8403 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8404 return NULL;
8405 _arg1 = new wxString(tmpPtr, tmpSize);
8406#else
8407 if (!PyString_Check(_obj1)) {
8408 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8409 return NULL;
8410 }
8411 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8412#endif
8413}
8414 if (_argo4) {
8415 if (_argo4 == Py_None) { _arg4 = NULL; }
8416 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
8417 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8418 return NULL;
8419 }
8420 }
8421{
8422 wxPy_BEGIN_ALLOW_THREADS;
8423 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
8424
8425 wxPy_END_ALLOW_THREADS;
8426 if (PyErr_Occurred()) return NULL;
8427} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8428 _resultobj = Py_BuildValue("s",_ptemp);
8429{
8430 if (_obj1)
8431 delete _arg1;
8432}
8433 return _resultobj;
8434}
8435
8436#define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8437static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8438 PyObject * _resultobj;
8439 wxTreeItemId * _result;
8440 wxPyTreeCtrl * _arg0;
8441 wxTreeItemId * _arg1;
8442 wxString * _arg2;
8443 int _arg3 = (int ) -1;
8444 int _arg4 = (int ) -1;
8445 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8446 PyObject * _argo0 = 0;
8447 PyObject * _argo1 = 0;
8448 PyObject * _obj2 = 0;
8449 PyObject * _argo5 = 0;
8450 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
8451 char _ptemp[128];
8452
8453 self = self;
8454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8455 return NULL;
8456 if (_argo0) {
8457 if (_argo0 == Py_None) { _arg0 = NULL; }
8458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8460 return NULL;
8461 }
8462 }
8463 if (_argo1) {
8464 if (_argo1 == Py_None) { _arg1 = NULL; }
8465 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8466 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8467 return NULL;
8468 }
8469 }
8470{
8471#if PYTHON_API_VERSION >= 1009
8472 char* tmpPtr; int tmpSize;
8473 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8474 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8475 return NULL;
8476 }
8477 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8478 return NULL;
8479 _arg2 = new wxString(tmpPtr, tmpSize);
8480#else
8481 if (!PyString_Check(_obj2)) {
8482 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8483 return NULL;
8484 }
8485 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8486#endif
8487}
8488 if (_argo5) {
8489 if (_argo5 == Py_None) { _arg5 = NULL; }
8490 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
8491 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8492 return NULL;
8493 }
8494 }
8495{
8496 wxPy_BEGIN_ALLOW_THREADS;
8497 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
8498
8499 wxPy_END_ALLOW_THREADS;
8500 if (PyErr_Occurred()) return NULL;
8501} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8502 _resultobj = Py_BuildValue("s",_ptemp);
8503{
8504 if (_obj2)
8505 delete _arg2;
8506}
8507 return _resultobj;
8508}
8509
8510#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8511static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject * _resultobj;
8513 wxTreeItemId * _result;
8514 wxPyTreeCtrl * _arg0;
8515 wxTreeItemId * _arg1;
8516 wxTreeItemId * _arg2;
8517 wxString * _arg3;
8518 int _arg4 = (int ) -1;
8519 int _arg5 = (int ) -1;
8520 wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
8521 PyObject * _argo0 = 0;
8522 PyObject * _argo1 = 0;
8523 PyObject * _argo2 = 0;
8524 PyObject * _obj3 = 0;
8525 PyObject * _argo6 = 0;
8526 char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
8527 char _ptemp[128];
8528
8529 self = self;
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
8531 return NULL;
8532 if (_argo0) {
8533 if (_argo0 == Py_None) { _arg0 = NULL; }
8534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8536 return NULL;
8537 }
8538 }
8539 if (_argo1) {
8540 if (_argo1 == Py_None) { _arg1 = NULL; }
8541 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8542 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8543 return NULL;
8544 }
8545 }
8546 if (_argo2) {
8547 if (_argo2 == Py_None) { _arg2 = NULL; }
8548 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
8549 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8550 return NULL;
8551 }
8552 }
8553{
8554#if PYTHON_API_VERSION >= 1009
8555 char* tmpPtr; int tmpSize;
8556 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
8557 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8558 return NULL;
8559 }
8560 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8561 return NULL;
8562 _arg3 = new wxString(tmpPtr, tmpSize);
8563#else
8564 if (!PyString_Check(_obj3)) {
8565 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8566 return NULL;
8567 }
8568 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8569#endif
8570}
8571 if (_argo6) {
8572 if (_argo6 == Py_None) { _arg6 = NULL; }
8573 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
8574 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8575 return NULL;
8576 }
8577 }
8578{
8579 wxPy_BEGIN_ALLOW_THREADS;
8580 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
8581
8582 wxPy_END_ALLOW_THREADS;
8583 if (PyErr_Occurred()) return NULL;
8584} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8585 _resultobj = Py_BuildValue("s",_ptemp);
8586{
8587 if (_obj3)
8588 delete _arg3;
8589}
8590 return _resultobj;
8591}
8592
8593#define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8594static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject * _resultobj;
8596 wxTreeItemId * _result;
8597 wxPyTreeCtrl * _arg0;
8598 wxTreeItemId * _arg1;
8599 size_t _arg2;
8600 wxString * _arg3;
8601 int _arg4 = (int ) -1;
8602 int _arg5 = (int ) -1;
8603 wxTreeItemData * _arg6 = (wxTreeItemData *) NULL;
8604 PyObject * _argo0 = 0;
8605 PyObject * _argo1 = 0;
8606 PyObject * _obj3 = 0;
8607 PyObject * _argo6 = 0;
8608 char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL };
8609 char _ptemp[128];
8610
8611 self = self;
8612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
8613 return NULL;
8614 if (_argo0) {
8615 if (_argo0 == Py_None) { _arg0 = NULL; }
8616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8618 return NULL;
8619 }
8620 }
8621 if (_argo1) {
8622 if (_argo1 == Py_None) { _arg1 = NULL; }
8623 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8624 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8625 return NULL;
8626 }
8627 }
8628{
8629#if PYTHON_API_VERSION >= 1009
8630 char* tmpPtr; int tmpSize;
8631 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
8632 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8633 return NULL;
8634 }
8635 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8636 return NULL;
8637 _arg3 = new wxString(tmpPtr, tmpSize);
8638#else
8639 if (!PyString_Check(_obj3)) {
8640 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8641 return NULL;
8642 }
8643 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8644#endif
8645}
8646 if (_argo6) {
8647 if (_argo6 == Py_None) { _arg6 = NULL; }
8648 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxTreeItemData_p")) {
8649 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8650 return NULL;
8651 }
8652 }
8653{
8654 wxPy_BEGIN_ALLOW_THREADS;
8655 _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
8656
8657 wxPy_END_ALLOW_THREADS;
8658 if (PyErr_Occurred()) return NULL;
8659} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8660 _resultobj = Py_BuildValue("s",_ptemp);
8661{
8662 if (_obj3)
8663 delete _arg3;
8664}
8665 return _resultobj;
8666}
8667
8668#define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8669static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject * _resultobj;
8671 wxTreeItemId * _result;
8672 wxPyTreeCtrl * _arg0;
8673 wxTreeItemId * _arg1;
8674 wxString * _arg2;
8675 int _arg3 = (int ) -1;
8676 int _arg4 = (int ) -1;
8677 wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
8678 PyObject * _argo0 = 0;
8679 PyObject * _argo1 = 0;
8680 PyObject * _obj2 = 0;
8681 PyObject * _argo5 = 0;
8682 char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
8683 char _ptemp[128];
8684
8685 self = self;
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
8687 return NULL;
8688 if (_argo0) {
8689 if (_argo0 == Py_None) { _arg0 = NULL; }
8690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8692 return NULL;
8693 }
8694 }
8695 if (_argo1) {
8696 if (_argo1 == Py_None) { _arg1 = NULL; }
8697 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8698 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8699 return NULL;
8700 }
8701 }
8702{
8703#if PYTHON_API_VERSION >= 1009
8704 char* tmpPtr; int tmpSize;
8705 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8706 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8707 return NULL;
8708 }
8709 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8710 return NULL;
8711 _arg2 = new wxString(tmpPtr, tmpSize);
8712#else
8713 if (!PyString_Check(_obj2)) {
8714 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8715 return NULL;
8716 }
8717 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8718#endif
8719}
8720 if (_argo5) {
8721 if (_argo5 == Py_None) { _arg5 = NULL; }
8722 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
8723 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8724 return NULL;
8725 }
8726 }
8727{
8728 wxPy_BEGIN_ALLOW_THREADS;
8729 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
8730
8731 wxPy_END_ALLOW_THREADS;
8732 if (PyErr_Occurred()) return NULL;
8733} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
8734 _resultobj = Py_BuildValue("s",_ptemp);
8735{
8736 if (_obj2)
8737 delete _arg2;
8738}
8739 return _resultobj;
8740}
8741
8742#define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8743static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
8744 PyObject * _resultobj;
8745 wxPyTreeCtrl * _arg0;
8746 wxTreeItemId * _arg1;
8747 PyObject * _argo0 = 0;
8748 PyObject * _argo1 = 0;
8749 char *_kwnames[] = { "self","item", NULL };
8750
8751 self = self;
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1))
8753 return NULL;
8754 if (_argo0) {
8755 if (_argo0 == Py_None) { _arg0 = NULL; }
8756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8758 return NULL;
8759 }
8760 }
8761 if (_argo1) {
8762 if (_argo1 == Py_None) { _arg1 = NULL; }
8763 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8764 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8765 return NULL;
8766 }
8767 }
8768{
8769 wxPy_BEGIN_ALLOW_THREADS;
8770 wxTreeCtrl_Delete(_arg0,*_arg1);
8771
8772 wxPy_END_ALLOW_THREADS;
8773 if (PyErr_Occurred()) return NULL;
8774} Py_INCREF(Py_None);
8775 _resultobj = Py_None;
8776 return _resultobj;
8777}
8778
8779#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8780static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
8781 PyObject * _resultobj;
8782 wxPyTreeCtrl * _arg0;
8783 wxTreeItemId * _arg1;
8784 PyObject * _argo0 = 0;
8785 PyObject * _argo1 = 0;
8786 char *_kwnames[] = { "self","item", NULL };
8787
8788 self = self;
8789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
8790 return NULL;
8791 if (_argo0) {
8792 if (_argo0 == Py_None) { _arg0 = NULL; }
8793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8795 return NULL;
8796 }
8797 }
8798 if (_argo1) {
8799 if (_argo1 == Py_None) { _arg1 = NULL; }
8800 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8801 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8802 return NULL;
8803 }
8804 }
8805{
8806 wxPy_BEGIN_ALLOW_THREADS;
8807 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
8808
8809 wxPy_END_ALLOW_THREADS;
8810 if (PyErr_Occurred()) return NULL;
8811} Py_INCREF(Py_None);
8812 _resultobj = Py_None;
8813 return _resultobj;
8814}
8815
8816#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8817static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
8818 PyObject * _resultobj;
8819 wxPyTreeCtrl * _arg0;
8820 PyObject * _argo0 = 0;
8821 char *_kwnames[] = { "self", NULL };
8822
8823 self = self;
8824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0))
8825 return NULL;
8826 if (_argo0) {
8827 if (_argo0 == Py_None) { _arg0 = NULL; }
8828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8830 return NULL;
8831 }
8832 }
8833{
8834 wxPy_BEGIN_ALLOW_THREADS;
8835 wxTreeCtrl_DeleteAllItems(_arg0);
8836
8837 wxPy_END_ALLOW_THREADS;
8838 if (PyErr_Occurred()) return NULL;
8839} Py_INCREF(Py_None);
8840 _resultobj = Py_None;
8841 return _resultobj;
8842}
8843
8844#define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8845static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
8846 PyObject * _resultobj;
8847 wxPyTreeCtrl * _arg0;
8848 wxTreeItemId * _arg1;
8849 PyObject * _argo0 = 0;
8850 PyObject * _argo1 = 0;
8851 char *_kwnames[] = { "self","item", NULL };
8852
8853 self = self;
8854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1))
8855 return NULL;
8856 if (_argo0) {
8857 if (_argo0 == Py_None) { _arg0 = NULL; }
8858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8860 return NULL;
8861 }
8862 }
8863 if (_argo1) {
8864 if (_argo1 == Py_None) { _arg1 = NULL; }
8865 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8866 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8867 return NULL;
8868 }
8869 }
8870{
8871 wxPy_BEGIN_ALLOW_THREADS;
8872 wxTreeCtrl_Expand(_arg0,*_arg1);
8873
8874 wxPy_END_ALLOW_THREADS;
8875 if (PyErr_Occurred()) return NULL;
8876} Py_INCREF(Py_None);
8877 _resultobj = Py_None;
8878 return _resultobj;
8879}
8880
8881#define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8882static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject * _resultobj;
8884 wxPyTreeCtrl * _arg0;
8885 wxTreeItemId * _arg1;
8886 PyObject * _argo0 = 0;
8887 PyObject * _argo1 = 0;
8888 char *_kwnames[] = { "self","item", NULL };
8889
8890 self = self;
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1))
8892 return NULL;
8893 if (_argo0) {
8894 if (_argo0 == Py_None) { _arg0 = NULL; }
8895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8897 return NULL;
8898 }
8899 }
8900 if (_argo1) {
8901 if (_argo1 == Py_None) { _arg1 = NULL; }
8902 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8903 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8904 return NULL;
8905 }
8906 }
8907{
8908 wxPy_BEGIN_ALLOW_THREADS;
8909 wxTreeCtrl_Collapse(_arg0,*_arg1);
8910
8911 wxPy_END_ALLOW_THREADS;
8912 if (PyErr_Occurred()) return NULL;
8913} Py_INCREF(Py_None);
8914 _resultobj = Py_None;
8915 return _resultobj;
8916}
8917
8918#define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8919static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject * _resultobj;
8921 wxPyTreeCtrl * _arg0;
8922 wxTreeItemId * _arg1;
8923 PyObject * _argo0 = 0;
8924 PyObject * _argo1 = 0;
8925 char *_kwnames[] = { "self","item", NULL };
8926
8927 self = self;
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
8929 return NULL;
8930 if (_argo0) {
8931 if (_argo0 == Py_None) { _arg0 = NULL; }
8932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8934 return NULL;
8935 }
8936 }
8937 if (_argo1) {
8938 if (_argo1 == Py_None) { _arg1 = NULL; }
8939 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8940 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8941 return NULL;
8942 }
8943 }
8944{
8945 wxPy_BEGIN_ALLOW_THREADS;
8946 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
8947
8948 wxPy_END_ALLOW_THREADS;
8949 if (PyErr_Occurred()) return NULL;
8950} Py_INCREF(Py_None);
8951 _resultobj = Py_None;
8952 return _resultobj;
8953}
8954
8955#define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8956static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8957 PyObject * _resultobj;
8958 wxPyTreeCtrl * _arg0;
8959 wxTreeItemId * _arg1;
8960 PyObject * _argo0 = 0;
8961 PyObject * _argo1 = 0;
8962 char *_kwnames[] = { "self","item", NULL };
8963
8964 self = self;
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1))
8966 return NULL;
8967 if (_argo0) {
8968 if (_argo0 == Py_None) { _arg0 = NULL; }
8969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
8970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8971 return NULL;
8972 }
8973 }
8974 if (_argo1) {
8975 if (_argo1 == Py_None) { _arg1 = NULL; }
8976 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
8977 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8978 return NULL;
8979 }
8980 }
8981{
8982 wxPy_BEGIN_ALLOW_THREADS;
8983 wxTreeCtrl_Toggle(_arg0,*_arg1);
8984
8985 wxPy_END_ALLOW_THREADS;
8986 if (PyErr_Occurred()) return NULL;
8987} Py_INCREF(Py_None);
8988 _resultobj = Py_None;
8989 return _resultobj;
8990}
8991
8992#define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8993static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject * _resultobj;
8995 wxPyTreeCtrl * _arg0;
8996 PyObject * _argo0 = 0;
8997 char *_kwnames[] = { "self", NULL };
8998
8999 self = self;
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0))
9001 return NULL;
9002 if (_argo0) {
9003 if (_argo0 == Py_None) { _arg0 = NULL; }
9004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
9006 return NULL;
9007 }
9008 }
9009{
9010 wxPy_BEGIN_ALLOW_THREADS;
9011 wxTreeCtrl_Unselect(_arg0);
9012
9013 wxPy_END_ALLOW_THREADS;
9014 if (PyErr_Occurred()) return NULL;
9015} Py_INCREF(Py_None);
9016 _resultobj = Py_None;
9017 return _resultobj;
9018}
9019
9020#define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
9021static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9022 PyObject * _resultobj;
9023 wxPyTreeCtrl * _arg0;
9024 PyObject * _argo0 = 0;
9025 char *_kwnames[] = { "self", NULL };
9026
9027 self = self;
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0))
9029 return NULL;
9030 if (_argo0) {
9031 if (_argo0 == Py_None) { _arg0 = NULL; }
9032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
9034 return NULL;
9035 }
9036 }
9037{
9038 wxPy_BEGIN_ALLOW_THREADS;
9039 wxTreeCtrl_UnselectAll(_arg0);
9040
9041 wxPy_END_ALLOW_THREADS;
9042 if (PyErr_Occurred()) return NULL;
9043} Py_INCREF(Py_None);
9044 _resultobj = Py_None;
9045 return _resultobj;
9046}
9047
9048#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
9049static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9050 PyObject * _resultobj;
9051 wxPyTreeCtrl * _arg0;
9052 wxTreeItemId * _arg1;
9053 PyObject * _argo0 = 0;
9054 PyObject * _argo1 = 0;
9055 char *_kwnames[] = { "self","item", NULL };
9056
9057 self = self;
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1))
9059 return NULL;
9060 if (_argo0) {
9061 if (_argo0 == Py_None) { _arg0 = NULL; }
9062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
9064 return NULL;
9065 }
9066 }
9067 if (_argo1) {
9068 if (_argo1 == Py_None) { _arg1 = NULL; }
9069 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9070 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
9071 return NULL;
9072 }
9073 }
9074{
9075 wxPy_BEGIN_ALLOW_THREADS;
9076 wxTreeCtrl_SelectItem(_arg0,*_arg1);
9077
9078 wxPy_END_ALLOW_THREADS;
9079 if (PyErr_Occurred()) return NULL;
9080} Py_INCREF(Py_None);
9081 _resultobj = Py_None;
9082 return _resultobj;
9083}
9084
9085#define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
9086static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9087 PyObject * _resultobj;
9088 wxPyTreeCtrl * _arg0;
9089 wxTreeItemId * _arg1;
9090 PyObject * _argo0 = 0;
9091 PyObject * _argo1 = 0;
9092 char *_kwnames[] = { "self","item", NULL };
9093
9094 self = self;
9095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
9096 return NULL;
9097 if (_argo0) {
9098 if (_argo0 == Py_None) { _arg0 = NULL; }
9099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
9101 return NULL;
9102 }
9103 }
9104 if (_argo1) {
9105 if (_argo1 == Py_None) { _arg1 = NULL; }
9106 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9107 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
9108 return NULL;
9109 }
9110 }
9111{
9112 wxPy_BEGIN_ALLOW_THREADS;
9113 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
9114
9115 wxPy_END_ALLOW_THREADS;
9116 if (PyErr_Occurred()) return NULL;
9117} Py_INCREF(Py_None);
9118 _resultobj = Py_None;
9119 return _resultobj;
9120}
9121
9122#define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
9123static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
9124 PyObject * _resultobj;
9125 wxPyTreeCtrl * _arg0;
9126 wxTreeItemId * _arg1;
9127 PyObject * _argo0 = 0;
9128 PyObject * _argo1 = 0;
9129 char *_kwnames[] = { "self","item", NULL };
9130
9131 self = self;
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
9133 return NULL;
9134 if (_argo0) {
9135 if (_argo0 == Py_None) { _arg0 = NULL; }
9136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
9138 return NULL;
9139 }
9140 }
9141 if (_argo1) {
9142 if (_argo1 == Py_None) { _arg1 = NULL; }
9143 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9144 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9145 return NULL;
9146 }
9147 }
9148{
9149 wxPy_BEGIN_ALLOW_THREADS;
9150 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
9151
9152 wxPy_END_ALLOW_THREADS;
9153 if (PyErr_Occurred()) return NULL;
9154} Py_INCREF(Py_None);
9155 _resultobj = Py_None;
9156 return _resultobj;
9157}
9158
9159#define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9160static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject * _resultobj;
9162 wxTextCtrl * _result;
9163 wxPyTreeCtrl * _arg0;
9164 wxTreeItemId * _arg1;
9165 PyObject * _argo0 = 0;
9166 PyObject * _argo1 = 0;
9167 char *_kwnames[] = { "self","item", NULL };
9168
9169 self = self;
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
9171 return NULL;
9172 if (_argo0) {
9173 if (_argo0 == Py_None) { _arg0 = NULL; }
9174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9176 return NULL;
9177 }
9178 }
9179 if (_argo1) {
9180 if (_argo1 == Py_None) { _arg1 = NULL; }
9181 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9182 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9183 return NULL;
9184 }
9185 }
9186{
9187 wxPy_BEGIN_ALLOW_THREADS;
9188 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
9189
9190 wxPy_END_ALLOW_THREADS;
9191 if (PyErr_Occurred()) return NULL;
9192}{ _resultobj = wxPyMake_wxObject(_result); }
9193 return _resultobj;
9194}
9195
9196#define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
9197static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9198 PyObject * _resultobj;
9199 wxTextCtrl * _result;
9200 wxPyTreeCtrl * _arg0;
9201 PyObject * _argo0 = 0;
9202 char *_kwnames[] = { "self", NULL };
9203
9204 self = self;
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0))
9206 return NULL;
9207 if (_argo0) {
9208 if (_argo0 == Py_None) { _arg0 = NULL; }
9209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
9211 return NULL;
9212 }
9213 }
9214{
9215 wxPy_BEGIN_ALLOW_THREADS;
9216 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
9217
9218 wxPy_END_ALLOW_THREADS;
9219 if (PyErr_Occurred()) return NULL;
9220}{ _resultobj = wxPyMake_wxObject(_result); }
9221 return _resultobj;
9222}
9223
9224#define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
9225static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject * _resultobj;
9227 wxPyTreeCtrl * _arg0;
9228 wxTreeItemId * _arg1;
9229 int _arg2 = (int ) FALSE;
9230 PyObject * _argo0 = 0;
9231 PyObject * _argo1 = 0;
9232 char *_kwnames[] = { "self","item","discardChanges", NULL };
9233
9234 self = self;
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2))
9236 return NULL;
9237 if (_argo0) {
9238 if (_argo0 == Py_None) { _arg0 = NULL; }
9239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
9241 return NULL;
9242 }
9243 }
9244 if (_argo1) {
9245 if (_argo1 == Py_None) { _arg1 = NULL; }
9246 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9247 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9248 return NULL;
9249 }
9250 }
9251{
9252 wxPy_BEGIN_ALLOW_THREADS;
9253 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
9254
9255 wxPy_END_ALLOW_THREADS;
9256 if (PyErr_Occurred()) return NULL;
9257} Py_INCREF(Py_None);
9258 _resultobj = Py_None;
9259 return _resultobj;
9260}
9261
9262#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9263static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject * _resultobj;
9265 wxPyTreeCtrl * _arg0;
9266 wxTreeItemId * _arg1;
9267 PyObject * _argo0 = 0;
9268 PyObject * _argo1 = 0;
9269 char *_kwnames[] = { "self","item", NULL };
9270
9271 self = self;
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
9273 return NULL;
9274 if (_argo0) {
9275 if (_argo0 == Py_None) { _arg0 = NULL; }
9276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9278 return NULL;
9279 }
9280 }
9281 if (_argo1) {
9282 if (_argo1 == Py_None) { _arg1 = NULL; }
9283 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9284 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9285 return NULL;
9286 }
9287 }
9288{
9289 wxPy_BEGIN_ALLOW_THREADS;
9290 wxTreeCtrl_SortChildren(_arg0,*_arg1);
9291
9292 wxPy_END_ALLOW_THREADS;
9293 if (PyErr_Occurred()) return NULL;
9294} Py_INCREF(Py_None);
9295 _resultobj = Py_None;
9296 return _resultobj;
9297}
9298
9299#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9300static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
9301 PyObject * _resultobj;
9302 wxPyTreeCtrl * _arg0;
9303 wxTreeItemId * _arg1;
9304 int _arg2 = (int ) TRUE;
9305 PyObject * _argo0 = 0;
9306 PyObject * _argo1 = 0;
9307 char *_kwnames[] = { "self","item","bold", NULL };
9308
9309 self = self;
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2))
9311 return NULL;
9312 if (_argo0) {
9313 if (_argo0 == Py_None) { _arg0 = NULL; }
9314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9316 return NULL;
9317 }
9318 }
9319 if (_argo1) {
9320 if (_argo1 == Py_None) { _arg1 = NULL; }
9321 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9322 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9323 return NULL;
9324 }
9325 }
9326{
9327 wxPy_BEGIN_ALLOW_THREADS;
9328 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
9329
9330 wxPy_END_ALLOW_THREADS;
9331 if (PyErr_Occurred()) return NULL;
9332} Py_INCREF(Py_None);
9333 _resultobj = Py_None;
9334 return _resultobj;
9335}
9336
9337#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9338static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject * _resultobj;
9340 bool _result;
9341 wxPyTreeCtrl * _arg0;
9342 wxTreeItemId * _arg1;
9343 PyObject * _argo0 = 0;
9344 PyObject * _argo1 = 0;
9345 char *_kwnames[] = { "self","item", NULL };
9346
9347 self = self;
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1))
9349 return NULL;
9350 if (_argo0) {
9351 if (_argo0 == Py_None) { _arg0 = NULL; }
9352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9354 return NULL;
9355 }
9356 }
9357 if (_argo1) {
9358 if (_argo1 == Py_None) { _arg1 = NULL; }
9359 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9360 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9361 return NULL;
9362 }
9363 }
9364{
9365 wxPy_BEGIN_ALLOW_THREADS;
9366 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
9367
9368 wxPy_END_ALLOW_THREADS;
9369 if (PyErr_Occurred()) return NULL;
9370} _resultobj = Py_BuildValue("i",_result);
9371 return _resultobj;
9372}
9373
9374#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9375static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject * _resultobj;
9377 wxTreeItemId * _result;
9378 wxPyTreeCtrl * _arg0;
9379 wxPoint * _arg1;
9380 int * _arg2;
9381 int temp;
9382 PyObject * _argo0 = 0;
9383 wxPoint temp0;
9384 PyObject * _obj1 = 0;
9385 char *_kwnames[] = { "self","point", NULL };
9386 char _ptemp[128];
9387
9388 self = self;
9389{
9390 _arg2 = &temp;
9391}
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1))
9393 return NULL;
9394 if (_argo0) {
9395 if (_argo0 == Py_None) { _arg0 = NULL; }
9396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9398 return NULL;
9399 }
9400 }
9401{
9402 _arg1 = &temp0;
9403 if (! wxPoint_helper(_obj1, &_arg1))
9404 return NULL;
9405}
9406{
9407 wxPy_BEGIN_ALLOW_THREADS;
9408 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2));
9409
9410 wxPy_END_ALLOW_THREADS;
9411 if (PyErr_Occurred()) return NULL;
9412} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
9413 _resultobj = Py_BuildValue("s",_ptemp);
9414{
9415 PyObject *o;
9416 o = PyInt_FromLong((long) (*_arg2));
9417 _resultobj = t_output_helper(_resultobj, o);
9418}
9419 return _resultobj;
9420}
9421
9422#define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9423static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9424 PyObject * _resultobj;
9425 wxPyTreeCtrl * _arg0;
9426 wxTreeItemId * _arg1;
9427 wxColour * _arg2;
9428 PyObject * _argo0 = 0;
9429 PyObject * _argo1 = 0;
9430 wxColour temp;
9431 PyObject * _obj2 = 0;
9432 char *_kwnames[] = { "self","item","col", NULL };
9433
9434 self = self;
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
9436 return NULL;
9437 if (_argo0) {
9438 if (_argo0 == Py_None) { _arg0 = NULL; }
9439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9441 return NULL;
9442 }
9443 }
9444 if (_argo1) {
9445 if (_argo1 == Py_None) { _arg1 = NULL; }
9446 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9447 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9448 return NULL;
9449 }
9450 }
9451{
9452 _arg2 = &temp;
9453 if (! wxColour_helper(_obj2, &_arg2))
9454 return NULL;
9455}
9456{
9457 wxPy_BEGIN_ALLOW_THREADS;
9458 wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
9459
9460 wxPy_END_ALLOW_THREADS;
9461 if (PyErr_Occurred()) return NULL;
9462} Py_INCREF(Py_None);
9463 _resultobj = Py_None;
9464 return _resultobj;
9465}
9466
9467#define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9468static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9469 PyObject * _resultobj;
9470 wxPyTreeCtrl * _arg0;
9471 wxTreeItemId * _arg1;
9472 wxColour * _arg2;
9473 PyObject * _argo0 = 0;
9474 PyObject * _argo1 = 0;
9475 wxColour temp;
9476 PyObject * _obj2 = 0;
9477 char *_kwnames[] = { "self","item","col", NULL };
9478
9479 self = self;
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
9481 return NULL;
9482 if (_argo0) {
9483 if (_argo0 == Py_None) { _arg0 = NULL; }
9484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9486 return NULL;
9487 }
9488 }
9489 if (_argo1) {
9490 if (_argo1 == Py_None) { _arg1 = NULL; }
9491 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9492 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9493 return NULL;
9494 }
9495 }
9496{
9497 _arg2 = &temp;
9498 if (! wxColour_helper(_obj2, &_arg2))
9499 return NULL;
9500}
9501{
9502 wxPy_BEGIN_ALLOW_THREADS;
9503 wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
9504
9505 wxPy_END_ALLOW_THREADS;
9506 if (PyErr_Occurred()) return NULL;
9507} Py_INCREF(Py_None);
9508 _resultobj = Py_None;
9509 return _resultobj;
9510}
9511
9512#define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9513static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9514 PyObject * _resultobj;
9515 wxPyTreeCtrl * _arg0;
9516 wxTreeItemId * _arg1;
9517 wxFont * _arg2;
9518 PyObject * _argo0 = 0;
9519 PyObject * _argo1 = 0;
9520 PyObject * _argo2 = 0;
9521 char *_kwnames[] = { "self","item","font", NULL };
9522
9523 self = self;
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
9525 return NULL;
9526 if (_argo0) {
9527 if (_argo0 == Py_None) { _arg0 = NULL; }
9528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9530 return NULL;
9531 }
9532 }
9533 if (_argo1) {
9534 if (_argo1 == Py_None) { _arg1 = NULL; }
9535 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9536 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9537 return NULL;
9538 }
9539 }
9540 if (_argo2) {
9541 if (_argo2 == Py_None) { _arg2 = NULL; }
9542 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9543 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9544 return NULL;
9545 }
9546 }
9547{
9548 wxPy_BEGIN_ALLOW_THREADS;
9549 wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
9550
9551 wxPy_END_ALLOW_THREADS;
9552 if (PyErr_Occurred()) return NULL;
9553} Py_INCREF(Py_None);
9554 _resultobj = Py_None;
9555 return _resultobj;
9556}
9557
9558#define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9559static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject * _resultobj;
9561 wxPyTreeCtrl * _arg0;
9562 wxTreeItemId * _arg1;
9563 int _arg2 = (int ) TRUE;
9564 PyObject * _argo0 = 0;
9565 PyObject * _argo1 = 0;
9566 char *_kwnames[] = { "self","item","highlight", NULL };
9567
9568 self = self;
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2))
9570 return NULL;
9571 if (_argo0) {
9572 if (_argo0 == Py_None) { _arg0 = NULL; }
9573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9575 return NULL;
9576 }
9577 }
9578 if (_argo1) {
9579 if (_argo1 == Py_None) { _arg1 = NULL; }
9580 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9581 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9582 return NULL;
9583 }
9584 }
9585{
9586 wxPy_BEGIN_ALLOW_THREADS;
9587 wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2);
9588
9589 wxPy_END_ALLOW_THREADS;
9590 if (PyErr_Occurred()) return NULL;
9591} Py_INCREF(Py_None);
9592 _resultobj = Py_None;
9593 return _resultobj;
9594}
9595
9596static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) {
9597 wxRect rect;
9598 if (self->GetBoundingRect(item, rect, textOnly)) {
9599 bool doSave = wxPyRestoreThread();
9600 wxRect* r = new wxRect(rect);
9601 PyObject* val = wxPyConstructObject((void*)r, "wxRect");
9602 wxPySaveThread(doSave);
9603 return val;
9604 }
9605 else {
9606 Py_INCREF(Py_None);
9607 return Py_None;
9608 }
9609 }
9610static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9611 PyObject * _resultobj;
9612 PyObject * _result;
9613 wxPyTreeCtrl * _arg0;
9614 wxTreeItemId * _arg1;
9615 int _arg2 = (int ) FALSE;
9616 PyObject * _argo0 = 0;
9617 PyObject * _argo1 = 0;
9618 char *_kwnames[] = { "self","item","textOnly", NULL };
9619
9620 self = self;
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2))
9622 return NULL;
9623 if (_argo0) {
9624 if (_argo0 == Py_None) { _arg0 = NULL; }
9625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) {
9626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9627 return NULL;
9628 }
9629 }
9630 if (_argo1) {
9631 if (_argo1 == Py_None) { _arg1 = NULL; }
9632 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
9633 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9634 return NULL;
9635 }
9636 }
9637{
9638 wxPy_BEGIN_ALLOW_THREADS;
9639 _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
9640
9641 wxPy_END_ALLOW_THREADS;
9642 if (PyErr_Occurred()) return NULL;
9643}{
9644 _resultobj = _result;
9645}
9646 return _resultobj;
9647}
9648
9649static PyMethodDef controls2cMethods[] = {
9650 { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
9651 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
9652 { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
9653 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9654 { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
9655 { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
9656 { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
9657 { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
9658 { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
9659 { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
9660 { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
9661 { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
9662 { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
9663 { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
9664 { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
9665 { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
9666 { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
9667 { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
9668 { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
9669 { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
9670 { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
9671 { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
9672 { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
9673 { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
9674 { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
9675 { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
9676 { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
9677 { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
9678 { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
9679 { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
9680 { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
9681 { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
9682 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
9683 { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
9684 { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
9685 { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
9686 { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
9687 { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
9688 { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
9689 { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
9690 { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
9691 { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
9692 { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
9693 { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
9694 { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
9695 { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
9696 { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
9697 { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
9698 { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
9699 { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
9700 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
9701 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
9702 { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
9703 { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
9704 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
9705 { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
9706 { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
9707 { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
9708 { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
9709 { "wxTreeCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
9710 { "wxTreeCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
9711 { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
9712 { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
9713 { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
9714 { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
9715 { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
9716 { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
9717 { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
9718 { "wxTreeCtrl__setSelf", (PyCFunction) _wrap_wxTreeCtrl__setSelf, METH_VARARGS | METH_KEYWORDS },
9719 { "wxTreeCtrl_Create", (PyCFunction) _wrap_wxTreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
9720 { "new_wxPreTreeCtrl", (PyCFunction) _wrap_new_wxPreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
9721 { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS },
9722 { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
9723 { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
9724 { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
9725 { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
9726 { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
9727 { "new_wxTreeEvent", (PyCFunction) _wrap_new_wxTreeEvent, METH_VARARGS | METH_KEYWORDS },
9728 { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
9729 { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
9730 { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
9731 { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
9732 { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS },
9733 { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS },
9734 { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
9735 { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
9736 { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS },
9737 { "wxTreeItemAttr_GetFont", (PyCFunction) _wrap_wxTreeItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
9738 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9739 { "wxTreeItemAttr_GetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9740 { "wxTreeItemAttr_HasFont", (PyCFunction) _wrap_wxTreeItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
9741 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9742 { "wxTreeItemAttr_HasTextColour", (PyCFunction) _wrap_wxTreeItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
9743 { "wxTreeItemAttr_SetFont", (PyCFunction) _wrap_wxTreeItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
9744 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTreeItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9745 { "wxTreeItemAttr_SetTextColour", (PyCFunction) _wrap_wxTreeItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
9746 { "new_wxTreeItemAttr", (PyCFunction) _wrap_new_wxTreeItemAttr, METH_VARARGS | METH_KEYWORDS },
9747 { "wxListView_ClearColumnImage", (PyCFunction) _wrap_wxListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
9748 { "wxListView_SetColumnImage", (PyCFunction) _wrap_wxListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
9749 { "wxListView_IsSelected", (PyCFunction) _wrap_wxListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
9750 { "wxListView_GetFirstSelected", (PyCFunction) _wrap_wxListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
9751 { "wxListView_GetNextSelected", (PyCFunction) _wrap_wxListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
9752 { "wxListView_GetFocusedItem", (PyCFunction) _wrap_wxListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
9753 { "wxListView_Focus", (PyCFunction) _wrap_wxListView_Focus, METH_VARARGS | METH_KEYWORDS },
9754 { "wxListView_Select", (PyCFunction) _wrap_wxListView_Select, METH_VARARGS | METH_KEYWORDS },
9755 { "wxListView_Create", (PyCFunction) _wrap_wxListView_Create, METH_VARARGS | METH_KEYWORDS },
9756 { "new_wxPreListView", (PyCFunction) _wrap_new_wxPreListView, METH_VARARGS | METH_KEYWORDS },
9757 { "new_wxListView", (PyCFunction) _wrap_new_wxListView, METH_VARARGS | METH_KEYWORDS },
9758 { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
9759 { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
9760 { "wxListCtrl_SetItemCount", (PyCFunction) _wrap_wxListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
9761 { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
9762 { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
9763 { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
9764 { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
9765 { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
9766 { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
9767 { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
9768 { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
9769 { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
9770 { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
9771 { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
9772 { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
9773 { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
9774 { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
9775 { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
9776 { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
9777 { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
9778 { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
9779 { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
9780 { "wxListCtrl_RefreshItems", (PyCFunction) _wrap_wxListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
9781 { "wxListCtrl_RefreshItem", (PyCFunction) _wrap_wxListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
9782 { "wxListCtrl_IsVirtual", (PyCFunction) _wrap_wxListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
9783 { "wxListCtrl_AssignImageList", (PyCFunction) _wrap_wxListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
9784 { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
9785 { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
9786 { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
9787 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
9788 { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
9789 { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
9790 { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
9791 { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9792 { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
9793 { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
9794 { "wxListCtrl_GetColumnCount", (PyCFunction) _wrap_wxListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
9795 { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
9796 { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
9797 { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
9798 { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
9799 { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
9800 { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
9801 { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
9802 { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
9803 { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
9804 { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
9805 { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
9806 { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
9807 { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
9808 { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
9809 { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
9810 { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
9811 { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
9812 { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
9813 { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
9814 { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
9815 { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9816 { "wxListCtrl_SetForegroundColour", (PyCFunction) _wrap_wxListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
9817 { "wxListCtrl__setSelf", (PyCFunction) _wrap_wxListCtrl__setSelf, METH_VARARGS | METH_KEYWORDS },
9818 { "wxListCtrl_Create", (PyCFunction) _wrap_wxListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
9819 { "new_wxPreListCtrl", (PyCFunction) _wrap_new_wxPreListCtrl, METH_VARARGS | METH_KEYWORDS },
9820 { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS },
9821 { "wxListEvent_GetCacheTo", (PyCFunction) _wrap_wxListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
9822 { "wxListEvent_GetCacheFrom", (PyCFunction) _wrap_wxListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
9823 { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
9824 { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
9825 { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
9826 { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
9827 { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
9828 { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
9829 { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
9830 { "wxListEvent_Cancelled", (PyCFunction) _wrap_wxListEvent_Cancelled, METH_VARARGS | METH_KEYWORDS },
9831 { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
9832 { "wxListEvent_GetOldItem", (PyCFunction) _wrap_wxListEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
9833 { "wxListEvent_GetOldIndex", (PyCFunction) _wrap_wxListEvent_GetOldIndex, METH_VARARGS | METH_KEYWORDS },
9834 { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
9835 { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS },
9836 { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
9837 { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS },
9838 { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
9839 { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
9840 { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS },
9841 { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS },
9842 { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
9843 { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
9844 { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
9845 { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
9846 { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
9847 { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
9848 { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
9849 { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
9850 { "new_wxListEvent", (PyCFunction) _wrap_new_wxListEvent, METH_VARARGS | METH_KEYWORDS },
9851 { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
9852 { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
9853 { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
9854 { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
9855 { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
9856 { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
9857 { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
9858 { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
9859 { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
9860 { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
9861 { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
9862 { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
9863 { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
9864 { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
9865 { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
9866 { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
9867 { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
9868 { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
9869 { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
9870 { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
9871 { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
9872 { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9873 { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9874 { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
9875 { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
9876 { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
9877 { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
9878 { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS },
9879 { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
9880 { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS },
9881 { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS },
9882 { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
9883 { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS },
9884 { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
9885 { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
9886 { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9887 { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
9888 { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
9889 { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
9890 { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS },
9891 { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
9892 { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS },
9893 { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
9894 { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS },
9895 { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
9896 { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS },
9897 { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
9898 { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
9899 { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS },
9900 { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS },
9901 { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS },
9902 { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
9903 { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9904 { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
9905 { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
9906 { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9907 { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
9908 { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
9909 { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9910 { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
9911 { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS },
9912 { NULL, NULL }
9913};
9914#ifdef __cplusplus
9915}
9916#endif
9917/*
9918 * This table is used by the pointer type-checker
9919 */
9920static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
9921 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent},
9922 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent},
9923 { "_signed_long","_long",0},
9924 { "_wxPrintQuality","_wxCoord",0},
9925 { "_wxPrintQuality","_int",0},
9926 { "_wxPrintQuality","_signed_int",0},
9927 { "_wxPrintQuality","_unsigned_int",0},
9928 { "_wxPrintQuality","_wxWindowID",0},
9929 { "_wxPrintQuality","_uint",0},
9930 { "_wxPrintQuality","_EBool",0},
9931 { "_wxPrintQuality","_size_t",0},
9932 { "_wxPrintQuality","_time_t",0},
9933 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent},
9934 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent},
9935 { "_byte","_unsigned_char",0},
9936 { "_long","_unsigned_long",0},
9937 { "_long","_signed_long",0},
9938 { "_size_t","_wxCoord",0},
9939 { "_size_t","_wxPrintQuality",0},
9940 { "_size_t","_time_t",0},
9941 { "_size_t","_unsigned_int",0},
9942 { "_size_t","_int",0},
9943 { "_size_t","_wxWindowID",0},
9944 { "_size_t","_uint",0},
9945 { "_uint","_wxCoord",0},
9946 { "_uint","_wxPrintQuality",0},
9947 { "_uint","_time_t",0},
9948 { "_uint","_size_t",0},
9949 { "_uint","_unsigned_int",0},
9950 { "_uint","_int",0},
9951 { "_uint","_wxWindowID",0},
9952 { "_wxChar","_char",0},
9953 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent},
9954 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent},
9955 { "_char","_wxChar",0},
9956 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
9957 { "_EBool","_wxCoord",0},
9958 { "_EBool","_wxPrintQuality",0},
9959 { "_EBool","_signed_int",0},
9960 { "_EBool","_int",0},
9961 { "_EBool","_wxWindowID",0},
9962 { "_unsigned_long","_long",0},
9963 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
9964 { "_signed_int","_wxCoord",0},
9965 { "_signed_int","_wxPrintQuality",0},
9966 { "_signed_int","_EBool",0},
9967 { "_signed_int","_wxWindowID",0},
9968 { "_signed_int","_int",0},
9969 { "_WXTYPE","_short",0},
9970 { "_WXTYPE","_signed_short",0},
9971 { "_WXTYPE","_unsigned_short",0},
9972 { "_unsigned_short","_WXTYPE",0},
9973 { "_unsigned_short","_short",0},
9974 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject},
9975 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject},
9976 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject},
9977 { "_wxObject","_wxListView",SwigwxListViewTowxObject},
9978 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject},
9979 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject},
9980 { "_wxObject","_wxListItem",SwigwxListItemTowxObject},
9981 { "_signed_short","_WXTYPE",0},
9982 { "_signed_short","_short",0},
9983 { "_unsigned_char","_byte",0},
9984 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl},
9985 { "_wxControl","_wxListView",SwigwxListViewTowxControl},
9986 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl},
9987 { "_unsigned_int","_wxCoord",0},
9988 { "_unsigned_int","_wxPrintQuality",0},
9989 { "_unsigned_int","_time_t",0},
9990 { "_unsigned_int","_size_t",0},
9991 { "_unsigned_int","_uint",0},
9992 { "_unsigned_int","_wxWindowID",0},
9993 { "_unsigned_int","_int",0},
9994 { "_short","_WXTYPE",0},
9995 { "_short","_unsigned_short",0},
9996 { "_short","_signed_short",0},
9997 { "_wxWindowID","_wxCoord",0},
9998 { "_wxWindowID","_wxPrintQuality",0},
9999 { "_wxWindowID","_time_t",0},
10000 { "_wxWindowID","_size_t",0},
10001 { "_wxWindowID","_EBool",0},
10002 { "_wxWindowID","_uint",0},
10003 { "_wxWindowID","_int",0},
10004 { "_wxWindowID","_signed_int",0},
10005 { "_wxWindowID","_unsigned_int",0},
10006 { "_int","_wxCoord",0},
10007 { "_int","_wxPrintQuality",0},
10008 { "_int","_time_t",0},
10009 { "_int","_size_t",0},
10010 { "_int","_EBool",0},
10011 { "_int","_uint",0},
10012 { "_int","_wxWindowID",0},
10013 { "_int","_unsigned_int",0},
10014 { "_int","_signed_int",0},
10015 { "_time_t","_wxCoord",0},
10016 { "_time_t","_wxPrintQuality",0},
10017 { "_time_t","_unsigned_int",0},
10018 { "_time_t","_int",0},
10019 { "_time_t","_wxWindowID",0},
10020 { "_time_t","_uint",0},
10021 { "_time_t","_size_t",0},
10022 { "_wxCoord","_int",0},
10023 { "_wxCoord","_signed_int",0},
10024 { "_wxCoord","_unsigned_int",0},
10025 { "_wxCoord","_wxWindowID",0},
10026 { "_wxCoord","_uint",0},
10027 { "_wxCoord","_EBool",0},
10028 { "_wxCoord","_size_t",0},
10029 { "_wxCoord","_time_t",0},
10030 { "_wxCoord","_wxPrintQuality",0},
10031 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl},
10032 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler},
10033 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler},
10034 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler},
10035 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow},
10036 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow},
10037 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow},
10038{0,0,0}};
10039
10040static PyObject *SWIG_globals;
10041#ifdef __cplusplus
10042extern "C"
10043#endif
10044SWIGEXPORT(void) initcontrols2c() {
10045 PyObject *m, *d;
10046 SWIG_globals = SWIG_newvarlink();
10047 m = Py_InitModule("controls2c", controls2cMethods);
10048 d = PyModule_GetDict(m);
10049 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG));
10050 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG));
10051 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
10052 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT));
10053 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM));
10054 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
10055 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO));
10056 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO));
10057 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED));
10058 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED));
10059 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN));
10060 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM));
10061 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK));
10062 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
10063 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
10064 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
10065 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT));
10066 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
10067 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
10068 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING));
10069 PyDict_SetItemString(d,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG));
10070 PyDict_SetItemString(d,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES));
10071 PyDict_SetItemString(d,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES));
10072 PyDict_SetItemString(d,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON));
10073 PyDict_SetItemString(d,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON));
10074 PyDict_SetItemString(d,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST));
10075 PyDict_SetItemString(d,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT));
10076 PyDict_SetItemString(d,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP));
10077 PyDict_SetItemString(d,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT));
10078 PyDict_SetItemString(d,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE));
10079 PyDict_SetItemString(d,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL));
10080 PyDict_SetItemString(d,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS));
10081 PyDict_SetItemString(d,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER));
10082 PyDict_SetItemString(d,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER));
10083 PyDict_SetItemString(d,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL));
10084 PyDict_SetItemString(d,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING));
10085 PyDict_SetItemString(d,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING));
10086 PyDict_SetItemString(d,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE));
10087 PyDict_SetItemString(d,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN));
10088 PyDict_SetItemString(d,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT));
10089 PyDict_SetItemString(d,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT));
10090 PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE));
10091 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
10092 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
10093 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
10094 PyDict_SetItemString(d,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM));
10095 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
10096 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
10097 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
10098 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
10099 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
10100 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
10101 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
10102 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
10103 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
10104 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
10105 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
10106 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
10107 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
10108 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
10109 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
10110 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
10111 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
10112 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
10113 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
10114 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
10115 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
10116 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
10117 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
10118 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
10119 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
10120 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
10121 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
10122 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
10123 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
10124 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
10125 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
10126 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
10127 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
10128 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
10129 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
10130 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
10131 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
10132 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
10133 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
10134 PyDict_SetItemString(d,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS));
10135 PyDict_SetItemString(d,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS));
10136 PyDict_SetItemString(d,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS));
10137 PyDict_SetItemString(d,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES));
10138 PyDict_SetItemString(d,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS));
10139 PyDict_SetItemString(d,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE));
10140 PyDict_SetItemString(d,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE));
10141 PyDict_SetItemString(d,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED));
10142 PyDict_SetItemString(d,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS));
10143 PyDict_SetItemString(d,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT));
10144 PyDict_SetItemString(d,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT));
10145 PyDict_SetItemString(d,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES));
10146 PyDict_SetItemString(d,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT));
10147 PyDict_SetItemString(d,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE));
10148 PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal));
10149 PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected));
10150 PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded));
10151 PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded));
10152 PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max));
10153 PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
10154 PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
10155 PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
10156 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
10157 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
10158 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
10159 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
10160 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
10161 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
10162 PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
10163 PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
10164 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART));
10165 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART));
10166 PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
10167 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG));
10168 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG));
10169 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
10170 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT));
10171 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM));
10172 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO));
10173 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO));
10174 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED));
10175 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING));
10176 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
10177 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
10178 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED));
10179 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING));
10180 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN));
10181 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
10182 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
10183 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
10184 PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
10185
10186 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
10187 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
10188{
10189 int i;
10190 for (i = 0; _swig_mapping[i].n1; i++)
10191 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
10192}
10193}