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