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