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